Comparing version 0.2.0 to 0.2.1
@@ -33,2 +33,3 @@ 'use strict'; | ||
addErrorField(e, caseDefault ? "default" : compareTo); | ||
throw e; | ||
}); | ||
@@ -35,0 +36,0 @@ return r; |
@@ -117,3 +117,3 @@ 'use strict'; | ||
if (typeArg.anon) { | ||
_Object$keys(readResults.value).forEach(function (key) { | ||
if (readResults.value !== undefined) _Object$keys(readResults.value).forEach(function (key) { | ||
results.value[key] = readResults.value[key]; | ||
@@ -120,0 +120,0 @@ }); |
{ | ||
"name": "protodef", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A simple yet powerful way to define binary protocols", | ||
@@ -19,8 +19,8 @@ "main": "index.js", | ||
"bugs": { | ||
"url": "https://github.com/roblabla/Protocols/issues" | ||
"url": "https://github.com/roblabla/ProtoDef/issues" | ||
}, | ||
"homepage": "https://github.com/roblabla/Protocols", | ||
"homepage": "https://github.com/roblabla/ProtoDef", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/roblabla/Protocols.git" | ||
"url": "https://github.com/roblabla/ProtoDef.git" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
@@ -107,2 +107,6 @@ # ProtoDef | ||
### 0.2.1 | ||
* Anon fields may now be null/undefined. | ||
### 0.2.0 | ||
@@ -109,0 +113,0 @@ |
@@ -29,2 +29,3 @@ var { getField, getFieldInfo, tryCatch , addErrorField} = require('../utils'); | ||
addErrorField(e, caseDefault ? "default" : compareTo); | ||
throw e; | ||
}); | ||
@@ -31,0 +32,0 @@ return r; |
@@ -110,3 +110,3 @@ var { getField, tryCatch, addErrorField } = require("../utils"); | ||
if (typeArg.anon) { | ||
Object.keys(readResults.value).forEach(function(key) { | ||
if(readResults.value !== undefined) Object.keys(readResults.value).forEach(function(key) { | ||
results.value[key] = readResults.value[key]; | ||
@@ -113,0 +113,0 @@ }); |
Sorry, the diff of this file is not supported yet
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
196721
2743
126