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

@protobufjs/codegen

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@protobufjs/codegen - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

2

index.d.ts

@@ -27,3 +27,3 @@ export = codegen;

namespace codegen {
declare namespace codegen {

@@ -30,0 +30,0 @@ /** When set to `true`, codegen will log generated code to console. Useful for debugging. */

@@ -50,6 +50,5 @@ "use strict";

scopeParams[scopeOffset] = source;
return Function.apply(null, scopeParams)
.apply(null, scopeValues);
return Function.apply(null, scopeParams).apply(null, scopeValues); // eslint-disable-line no-new-func
}
return Function(source)();
return Function(source)(); // eslint-disable-line no-new-func
}

@@ -81,3 +80,3 @@

return "function " + (functionNameOverride || functionName || "") + "(" + (functionParams && functionParams.join(",") || "") + "){\n " + body.join("\n ") + "\n}";
};
}

@@ -84,0 +83,0 @@ Codegen.toString = toString;

{
"name": "@protobufjs/codegen",
"description": "A minimalistic code generation utility.",
"version": "2.0.3",
"version": "2.0.4",
"author": "Daniel Wirtz <dcode+protobufjs@dcode.io>",

@@ -6,0 +6,0 @@ "repository": {

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