Comparing version 0.3.3 to 0.3.11
@@ -8,4 +8,4 @@ (function (exportName) { | ||
* zswang (http://weibo.com/zswang) | ||
* @version 0.3.3 | ||
* @date 2015-11-03 | ||
* @version 0.3.11 | ||
* @date 2015-11-04 | ||
*/ | ||
@@ -250,4 +250,2 @@ function createSchema() { | ||
``` | ||
'''</example>''' | ||
'''<example>''' | ||
* @example together():hook | ||
@@ -486,4 +484,2 @@ ```js | ||
``` | ||
'''</example>''' | ||
'''<example>''' | ||
* @example arrayCreator():dynamic array | ||
@@ -573,3 +569,3 @@ ```js | ||
for (var i = 0; i < length; i++) { | ||
Schema.pack(itemSchema, value[i], options, buffer); | ||
Schema.pack(itemSchema, (value || [])[i], options, buffer); | ||
} | ||
@@ -618,2 +614,3 @@ }, | ||
``` | ||
'''</example>''' | ||
*/ | ||
@@ -642,4 +639,2 @@ function bytes(count) { | ||
``` | ||
'''</example>''' | ||
'''<example>''' | ||
* @example objectCreator:object | ||
@@ -803,4 +798,2 @@ ```js | ||
``` | ||
'''</example>''' | ||
'''<example>''' | ||
* @example enumsCreator():map is object | ||
@@ -825,4 +818,2 @@ ```js | ||
``` | ||
'''</example>''' | ||
'''<example>''' | ||
* @example enumsCreator():fault tolerant | ||
@@ -1101,4 +1092,2 @@ var _ = jpacks; | ||
``` | ||
'''</example>''' | ||
'''<example>''' | ||
* @example cstringCreator():pchar | ||
@@ -1105,0 +1094,0 @@ ```js |
@@ -8,4 +8,4 @@ (function (exportName) { | ||
* zswang (http://weibo.com/zswang) | ||
* @version 0.3.3 | ||
* @date 2015-11-03 | ||
* @version 0.3.11 | ||
* @date 2015-11-04 | ||
*/ | ||
@@ -229,4 +229,2 @@ function createSchema() { | ||
``` | ||
'''</example>''' | ||
'''<example>''' | ||
* @example together():hook | ||
@@ -465,4 +463,2 @@ ```js | ||
``` | ||
'''</example>''' | ||
'''<example>''' | ||
* @example arrayCreator():dynamic array | ||
@@ -539,3 +535,3 @@ ```js | ||
for (var i = 0; i < length; i++) { | ||
Schema.pack(itemSchema, value[i], options, buffer); | ||
Schema.pack(itemSchema, (value || [])[i], options, buffer); | ||
} | ||
@@ -584,2 +580,3 @@ }, | ||
``` | ||
'''</example>''' | ||
*/ | ||
@@ -608,4 +605,2 @@ function bytes(count) { | ||
``` | ||
'''</example>''' | ||
'''<example>''' | ||
* @example objectCreator:object | ||
@@ -756,4 +751,2 @@ ```js | ||
``` | ||
'''</example>''' | ||
'''<example>''' | ||
* @example enumsCreator():map is object | ||
@@ -778,4 +771,2 @@ ```js | ||
``` | ||
'''</example>''' | ||
'''<example>''' | ||
* @example enumsCreator():fault tolerant | ||
@@ -1043,4 +1034,2 @@ var _ = jpacks; | ||
``` | ||
'''</example>''' | ||
'''<example>''' | ||
* @example cstringCreator():pchar | ||
@@ -1047,0 +1036,0 @@ ```js |
@@ -5,5 +5,5 @@ { | ||
"description": "Binary data packing and unpacking.", | ||
"version": "0.3.3", | ||
"version": "0.3.11", | ||
"homepage": "http://github.com/zswang/jpacks", | ||
"main": "jpacks.js", | ||
"main": "src/jpacks.js", | ||
"author": { | ||
@@ -30,2 +30,3 @@ "name": "zswang", | ||
"dependencies": { | ||
"protobufjs": "^4.1.2", | ||
"jints": "^0.0.4" | ||
@@ -32,0 +33,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
95778
7
3052
2
+ Addedprotobufjs@^4.1.2
+ Addedansi-regex@2.1.1(transitive)
+ Addedascli@1.0.1(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedbufferview@1.0.1(transitive)
+ Addedbytebuffer@4.1.0(transitive)
+ Addedcamelcase@2.1.1(transitive)
+ Addedcliui@3.2.0(transitive)
+ Addedcode-point-at@1.1.0(transitive)
+ Addedcolour@0.7.1(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addeddecamelize@1.2.0(transitive)
+ Addedglob@5.0.15(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedinvert-kv@1.0.0(transitive)
+ Addedis-fullwidth-code-point@1.0.0(transitive)
+ Addedlcid@1.0.0(transitive)
+ Addedlong@2.4.0(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addednumber-is-nan@1.0.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedoptjs@3.2.2(transitive)
+ Addedos-locale@1.4.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedprotobufjs@4.1.3(transitive)
+ Addedstring-width@1.0.2(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedwindow-size@0.1.4(transitive)
+ Addedwrap-ansi@2.1.0(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedy18n@3.2.2(transitive)
+ Addedyargs@3.32.0(transitive)