Comparing version 0.3.1 to 0.3.3
@@ -8,3 +8,3 @@ (function (exportName) { | ||
* zswang (http://weibo.com/zswang) | ||
* @version 0.3.1 | ||
* @version 0.3.3 | ||
* @date 2015-11-03 | ||
@@ -11,0 +11,0 @@ */ |
@@ -8,3 +8,3 @@ (function (exportName) { | ||
* zswang (http://weibo.com/zswang) | ||
* @version 0.3.1 | ||
* @version 0.3.3 | ||
* @date 2015-11-03 | ||
@@ -11,0 +11,0 @@ */ |
@@ -5,3 +5,3 @@ { | ||
"description": "Binary data packing and unpacking.", | ||
"version": "0.3.1", | ||
"version": "0.3.3", | ||
"homepage": "http://github.com/zswang/jpacks", | ||
@@ -41,10 +41,10 @@ "main": "jpacks.js", | ||
"scripts": { | ||
"_update_version": "jdists version.jdists", | ||
"_dist_dev": "jdists src/jpacks.js -o jpacks.dev.js -r deubg,test,remove", | ||
"_dist": "jdists src/jpacks.js -o jpacks.js -r debug,test,remove,safe", | ||
"_compress": "uglifyjs jpacks.js -o jpacks.min.js -p 5 -c -m", | ||
"example": "jdists example.jdists.js -o test/example.js", | ||
"test": "istanbul cover --hook-run-in-context node_modules/mocha/bin/_mocha -- -R spec", | ||
"mocha": "jdists example.jdists.js -o test/example.js && mocha", | ||
"dist": "npm run example && npm run _dist_dev && npm run _dist && npm run _compress && npm run test", | ||
"dist": "npm run _update_version && npm run example && npm run _dist_dev && npm run _dist && npm run _compress && npm run test", | ||
"lint": "jshint src/**/*.js src/*.js *.json" | ||
@@ -51,0 +51,0 @@ }, |
@@ -27,3 +27,3 @@ var zlib = require('zlib'); | ||
console.log(buffer.join(' ')); | ||
// > 2 42 0 31 139 8 0 0 0 0 0 0 11 19 121 178 119 193 211 165 123 159 236 152 246 124 106 207 251 61 141 30 169 57 57 249 0 183 181 133 147 21 0 0 0 | ||
// > 2 42 0 31 139 8 0 0 0 0 0 0 3 19 121 178 119 193 211 165 123 159 236 152 246 124 106 207 251 61 141 30 169 57 57 249 0 183 181 133 147 21 0 0 0 | ||
@@ -30,0 +30,0 @@ console.log(JSON.stringify(_.unpack(_schema, buffer))); |
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
89417