Comparing version 1.0.2 to 1.0.3
# Changelog | ||
## 1.0.3 | ||
- Updated package dependencies. | ||
## 1.0.1 | ||
@@ -4,0 +8,0 @@ |
@@ -85,17 +85,15 @@ #! /usr/bin/env node | ||
} else { | ||
(function () { | ||
var lines = []; | ||
var rl = readline.createInterface({ | ||
input: process.stdin, | ||
output: process.stdout, | ||
terminal: false | ||
}); | ||
var lines = []; | ||
var rl = readline.createInterface({ | ||
input: process.stdin, | ||
output: process.stdout, | ||
terminal: false | ||
}); | ||
rl.on('line', function (line) { | ||
return lines.push(line); | ||
}); | ||
rl.on('close', function () { | ||
return exec(lines); | ||
}); | ||
})(); | ||
rl.on('line', function (line) { | ||
return lines.push(line); | ||
}); | ||
rl.on('close', function () { | ||
return exec(lines); | ||
}); | ||
} | ||
@@ -102,0 +100,0 @@ } |
@@ -17,13 +17,11 @@ 'use strict'; | ||
if (stats.isFile()) { | ||
(function () { | ||
var stream = fs.createReadStream(file); | ||
var stream = fs.createReadStream(file); | ||
stream.on('open', function () { | ||
callback(null, stream); | ||
}); | ||
stream.on('open', function () { | ||
callback(null, stream); | ||
}); | ||
stream.on('error', function (err) { | ||
callback(err); | ||
}); | ||
})(); | ||
stream.on('error', function (err) { | ||
callback(err); | ||
}); | ||
} else { | ||
@@ -30,0 +28,0 @@ callback(new Error('Not a file: ' + file)); |
{ | ||
"name": "globcat", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Concatenate files from command line with glob pattern.", | ||
@@ -33,4 +33,4 @@ "keywords": [ | ||
"combined-stream2": "^1.1.2", | ||
"command-line-args": "^3.0.0", | ||
"command-line-usage": "^3.0.3", | ||
"command-line-args": "^4.0.3", | ||
"command-line-usage": "^4.0.0", | ||
"glob": "^7.0.5" | ||
@@ -44,3 +44,3 @@ }, | ||
"onchange": "^3.0.0", | ||
"standard": "^8.0.0", | ||
"standard": "^10.0.2", | ||
"tap-spec": "^4.1.1", | ||
@@ -47,0 +47,0 @@ "tape": "^4.6.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16669
342
+ Addedansi-escape-sequences@4.1.0(transitive)
+ Addedarray-back@2.0.03.1.0(transitive)
+ Addedcommand-line-args@4.0.7(transitive)
+ Addedcommand-line-usage@4.1.0(transitive)
+ Addeddeep-extend@0.6.0(transitive)
+ Addedlodash.padend@4.6.1(transitive)
+ Addedtable-layout@0.4.5(transitive)
+ Addedwordwrapjs@3.0.0(transitive)
- Removedansi-escape-sequences@3.0.0(transitive)
- Removedcommand-line-args@3.0.5(transitive)
- Removedcommand-line-usage@3.0.8(transitive)
- Removedcore-js@2.6.12(transitive)
- Removeddeep-extend@0.4.2(transitive)
- Removedfeature-detect-es6@1.5.0(transitive)
- Removedtable-layout@0.3.0(transitive)
- Removedwordwrapjs@2.0.0(transitive)
Updatedcommand-line-args@^4.0.3
Updatedcommand-line-usage@^4.0.0