bin-protocol
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -86,4 +86,8 @@ 'use strict'; | ||
_P.define = function (name, config, namespace) { | ||
Reader.define(name, config.read, namespace, _Reader); | ||
Writer.define(name, config.write, namespace, _Writer); | ||
if (config.read) { | ||
Reader.define(name, config.read, namespace, _Reader); | ||
} | ||
if (config.write) { | ||
Writer.define(name, config.write, namespace, _Writer); | ||
} | ||
}; | ||
@@ -90,0 +94,0 @@ |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"main": "./lib/index.js", | ||
@@ -12,0 +12,0 @@ "keywords": ["buffer", "raw", "binary", "protocol", "parser", "reader", "builder"], |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2062
0
135740