asset-pipe-sink-fs
Advanced tools
Comparing version 1.0.0-beta.2 to 1.0.0-beta.3
'use strict'; | ||
const EventEmitter = require('events'); | ||
const JSONStream = require('JSONStream'); | ||
@@ -65,4 +66,5 @@ const common = require('asset-pipe-common'); | ||
module.exports = class SinkFs { | ||
module.exports = class SinkFs extends EventEmitter { | ||
constructor (options = {}) { | ||
super(); | ||
assert(options.path, '"options.path" is missing'); | ||
@@ -69,0 +71,0 @@ this.options = Object.assign({}, options); |
{ | ||
"name": "asset-pipe-sink-fs", | ||
"version": "1.0.0-beta.2", | ||
"version": "1.0.0-beta.3", | ||
"author": { | ||
@@ -30,3 +30,3 @@ "name": "Trygve Lie", | ||
"asset-pipe-common": "1.0.0-beta.3", | ||
"readable-stream": "2.2.6" | ||
"readable-stream": "2.2.7" | ||
}, | ||
@@ -33,0 +33,0 @@ "devDependencies": { |
6529
67
+ Addedreadable-stream@2.2.7(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedstring_decoder@1.0.3(transitive)
Updatedreadable-stream@2.2.7