Comparing version 0.4.12 to 0.4.13
@@ -1,3 +0,2 @@ | ||
var stream = require("stream"), | ||
util = require("util"); | ||
var stream = require("stream"); | ||
@@ -7,3 +6,3 @@ var Decoder = module.exports = function Decoder() { | ||
}; | ||
util.inherits(Decoder, stream.Transform); | ||
Decoder.prototype = Object.create(stream.Transform.prototype, {constructor: {value: Decoder}}); | ||
@@ -10,0 +9,0 @@ Decoder.prototype._transform = function _transform(chunk, encoding, done) { |
@@ -1,3 +0,2 @@ | ||
var stream = require("stream"), | ||
util = require("util"); | ||
var stream = require("stream"); | ||
@@ -7,3 +6,3 @@ var Encoder = module.exports = function Encoder() { | ||
}; | ||
util.inherits(Encoder, stream.Transform); | ||
Encoder.prototype = Object.create(stream.Transform.prototype, {constructor: {value: Encoder}}); | ||
@@ -10,0 +9,0 @@ Encoder.prototype._transform = function _transform(obj, encoding, callback) { |
@@ -1,3 +0,2 @@ | ||
var stream = require("stream"), | ||
util = require("util"); | ||
var stream = require("stream"); | ||
@@ -7,3 +6,3 @@ var Framer = module.exports = function Framer() { | ||
}; | ||
util.inherits(Framer, stream.Transform); | ||
Framer.prototype = Object.create(stream.Transform.prototype, {constructor: {value: Framer}}); | ||
@@ -10,0 +9,0 @@ Framer.prototype._transform = function _transform(chunk, encoding, done) { |
@@ -1,3 +0,2 @@ | ||
var stream = require("stream"), | ||
util = require("util"); | ||
var stream = require("stream"); | ||
@@ -9,3 +8,3 @@ var Unframer = module.exports = function Unframer() { | ||
}; | ||
util.inherits(Unframer, stream.Transform); | ||
Unframer.prototype = Object.create(stream.Transform.prototype, {constructor: {value: Unframer}}); | ||
@@ -12,0 +11,0 @@ Unframer.prototype._transform = function _transform(chunk, encoding, done) { |
{ | ||
"name": "burro", | ||
"version": "0.4.12", | ||
"version": "0.4.13", | ||
"description": "auto-packaged, length-prefixed JSON byte streams", | ||
@@ -20,3 +20,3 @@ "main": "lib/burro", | ||
"engines": { | ||
"node": "~0.10.0" | ||
"node": "~0.10.12" | ||
}, | ||
@@ -26,8 +26,8 @@ "author": "Naomi Kyoto <nakyoto@gmail.com>", | ||
"devDependencies": { | ||
"mocha": "~1.8.1", | ||
"mocha": "~1.11.0", | ||
"hiccup": "~0.1.4" | ||
}, | ||
"dependencies": { | ||
"bun": "~0.0.5" | ||
"bun": "~0.0.6" | ||
} | ||
} |
@@ -83,3 +83,3 @@ Burro ![build status][build_status] | ||
```js | ||
var socket = burro.wrap([duplexStream]); | ||
var socket = burro.wrap(duplexStream); | ||
``` | ||
@@ -86,0 +86,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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
0
17631
18
454
Updatedbun@~0.0.6