Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

protodef

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protodef - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

1

dist/datatypes/conditional.js

@@ -33,2 +33,3 @@ 'use strict';

addErrorField(e, caseDefault ? "default" : compareTo);
throw e;
});

@@ -35,0 +36,0 @@ return r;

2

dist/datatypes/structures.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc