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

protodef

Package Overview
Dependencies
Maintainers
2
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 1.3.1 to 1.4.0

2

dist/protodef.js

@@ -103,3 +103,3 @@ 'use strict';

this.types[name] = extendType(this.types[type], typeArgs);
this.types[name] = typeArgs ? extendType(this.types[type], typeArgs) : this.types[type];
} else {

@@ -106,0 +106,0 @@ if (functions[3]) {

# History
## 1.4.0
* implement aliases
## 1.3.1

@@ -4,0 +8,0 @@

{
"name": "protodef",
"version": "1.3.1",
"version": "1.4.0",
"description": "A simple yet powerful way to define binary protocols",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -92,3 +92,3 @@ const { getFieldInfo, tryCatch } = require('./utils');

let {type,typeArgs} = getFieldInfo(functions);
this.types[name] = extendType(this.types[type], typeArgs);
this.types[name] = typeArgs ? extendType(this.types[type], typeArgs) : this.types[type];
}

@@ -95,0 +95,0 @@ else {

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