Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

globcat

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

globcat - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

CHANGELOG.md
# Changelog
## 1.0.3
- Updated package dependencies.
## 1.0.1

@@ -4,0 +8,0 @@

26

dist/bin/globcat.js

@@ -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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc