json-stream-combiner
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"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); |
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
7507
11
+ Addedstream-transform@3.3.2(transitive)
- Removedstream-transform@0.1.2(transitive)
UpdatedJSONStream@^1.3.5
Updatedstream-transform@^3.3.1