Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@forwardimpact/libcodegen

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forwardimpact/libcodegen - npm Package Compare versions

Comparing version
0.1.55
to
0.1.56
+2
-2
package.json
{
"name": "@forwardimpact/libcodegen",
"version": "0.1.55",
"version": "0.1.56",
"description": "Protobuf code generation — keep types in sync with proto definitions without hand-writing.",

@@ -54,3 +54,3 @@ "keywords": [

"mustache": "^4.2.0",
"protobufjs": "^7.5.8",
"protobufjs": "^7.6.1",
"protobufjs-cli": "1.2.2"

@@ -57,0 +57,0 @@ },

@@ -61,2 +61,10 @@ import { createRequire } from "node:module";

'import $protobuf from "protobufjs/minimal.js";',
)
// Statically bind protobufjs's $util.Long to the `long` package. Without
// this, `bun build --compile` tree-shakes `long` (only reached via
// protobufjs's lazy require) and module-init crashes on int64 prototype
// defaults like `Span.prototype.start_time_unix_nano = $util.Long.fromBits(...)`.
.replace(
/(import \$protobuf from "protobufjs\/minimal\.js";)/,
'$1\nimport Long from "long";\n$protobuf.util.Long = Long;\n$protobuf.configure();',
);

@@ -63,0 +71,0 @@