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.50
to
0.1.52
+7
-3
bin/fit-codegen.js

@@ -23,5 +23,9 @@ #!/usr/bin/env node

const { version: VERSION } = JSON.parse(
readFileSync(new URL("../package.json", import.meta.url), "utf8"),
);
// `bun build --compile` injects FIT_CODEGEN_VERSION via --define, eliminating
// the readFileSync branch in the compiled binary (which would ENOENT against
// the bunfs virtual mount). Source execution falls through to package.json.
const VERSION =
process.env.FIT_CODEGEN_VERSION ||
JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"))
.version;

@@ -28,0 +32,0 @@ const definition = {

{
"name": "@forwardimpact/libcodegen",
"version": "0.1.50",
"version": "0.1.52",
"description": "Protobuf code generation — keep types in sync with proto definitions without hand-writing.",

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

"@forwardimpact/libutil": "^0.1.64",
"@grpc/proto-loader": "^0.8.0",
"@grpc/proto-loader": "^0.8.1",
"mustache": "^4.2.0",

@@ -55,0 +55,0 @@ "protobufjs": "^7.5.6",