Socket
Socket
Sign inDemoInstall

json-stream-combiner

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-stream-combiner - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

13

package.json
{
"name": "json-stream-combiner",
"version": "1.0.2",
"version": "1.0.3",
"description": "Easey way to take json objects or files and write them to a destination file.",
"main": "src/index.js",
"scripts": {
"test": "find ./tests -name '*.spec.js' | xargs mocha "
"test": "find ./test -name '*.spec.js' | xargs mocha "
},

@@ -14,8 +14,11 @@ "keywords": [

],
"engines": {
"node": ">=16.x"
},
"author": "Stefan Hayden",
"license": "ISC",
"dependencies": {
"JSONStream": "^1.1.1",
"JSONStream": "^1.3.5",
"stream-array": "^1.1.2",
"stream-transform": "^0.1.1"
"stream-transform": "^3.3.1"
},

@@ -25,4 +28,4 @@ "devDependencies": {

"chai-as-promised": "^5.3.0",
"mocha": "^2.4.5"
"mocha": "^10.4.0"
}
}
var fs = require('fs');
var transform = require('stream-transform');
var { transform } = require('stream-transform');
var JSONStream = require('JSONStream');

@@ -4,0 +4,0 @@ var streamify = require('stream-array')

@@ -21,3 +21,3 @@ var chai = require('chai');

var outputData = fs.readFileSync(output).toString();
fs.unlink(output);
fs.unlinkSync(output);
return outputData;

@@ -36,3 +36,3 @@ }).should.eventually.equal(expectedOutput);

var outputData = fs.readFileSync(output).toString();
fs.unlink(output);
fs.unlinkSync(output);
return outputData;

@@ -55,3 +55,3 @@ }).should.eventually.equal(expectedOutput);

var outputData = fs.readFileSync(output).toString();
fs.unlink(output);
fs.unlinkSync(output);
return outputData;

@@ -58,0 +58,0 @@ }).should.eventually.equal(expectedOutput);

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