[Pkg-javascript-commits] [node-read] 01/05: Imported Upstream version 1.0.7
Paolo Greppi
paolog-guest at moszumanska.debian.org
Fri Dec 23 12:48:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
paolog-guest pushed a commit to branch master
in repository node-read.
commit a5d438b647fd71e6912b2807d0d5c63151cc9bfb
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date: Fri Dec 23 13:39:07 2016 +0100
Imported Upstream version 1.0.7
---
.travis.yml | 9 +++++++++
LICENCE | 25 -------------------------
LICENSE | 15 +++++++++++++++
package.json | 11 +++++++----
test/basic.js | 2 +-
test/defaults.js | 2 +-
test/many.js | 2 +-
7 files changed, 34 insertions(+), 32 deletions(-)
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..99f2bbf
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,9 @@
+language: node_js
+language: node_js
+node_js:
+ - '0.8'
+ - '0.10'
+ - '0.12'
+ - 'iojs'
+before_install:
+ - npm install -g npm at latest
diff --git a/LICENCE b/LICENCE
deleted file mode 100644
index 74489e2..0000000
--- a/LICENCE
+++ /dev/null
@@ -1,25 +0,0 @@
-Copyright (c) Isaac Z. Schlueter
-All rights reserved.
-
-The BSD License
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
-``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
-BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..19129e3
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,15 @@
+The ISC License
+
+Copyright (c) Isaac Z. Schlueter and Contributors
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/package.json b/package.json
index f9cb646..3b480aa 100644
--- a/package.json
+++ b/package.json
@@ -1,12 +1,12 @@
{
"name": "read",
- "version": "1.0.5",
+ "version": "1.0.7",
"main": "lib/read.js",
"dependencies": {
"mute-stream": "~0.0.4"
},
"devDependencies": {
- "tap": "*"
+ "tap": "^1.2.0"
},
"engines": {
"node": ">=0.8"
@@ -17,8 +17,11 @@
"type": "git",
"url": "git://github.com/isaacs/read.git"
},
- "license": "BSD",
+ "license": "ISC",
"scripts": {
"test": "tap test/*.js"
- }
+ },
+ "files": [
+ "lib/read.js"
+ ]
}
diff --git a/test/basic.js b/test/basic.js
index f0926f3..52e96d5 100644
--- a/test/basic.js
+++ b/test/basic.js
@@ -1,10 +1,10 @@
-var tap = require('tap')
var read = require('../lib/read.js')
if (process.argv[2] === 'child') {
return child()
}
+var tap = require('tap')
var CLOSE = 'close'
if (process.version.match(/^v0\.6/)) {
CLOSE = 'exit'
diff --git a/test/defaults.js b/test/defaults.js
index e3d2ac7..f4606ed 100644
--- a/test/defaults.js
+++ b/test/defaults.js
@@ -1,10 +1,10 @@
-var tap = require('tap')
var read = require('../lib/read.js')
if (process.argv[2] === 'child') {
return child()
}
+var tap = require('tap')
var CLOSE = 'close'
if (process.version.match(/^v0\.6/)) {
CLOSE = 'exit'
diff --git a/test/many.js b/test/many.js
index 6a2f87b..80c5a96 100644
--- a/test/many.js
+++ b/test/many.js
@@ -1,4 +1,3 @@
-var tap = require('tap')
var read = require('../lib/read.js')
var CLOSE = 'close'
@@ -10,6 +9,7 @@ if (process.argv[2] === 'child') {
return child()
}
+var tap = require('tap')
var spawn = require('child_process').spawn
function child () {
read({prompt:'1'}, function (er, r1) {if (er) throw er
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-read.git
More information about the Pkg-javascript-commits
mailing list