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

@replit/river-codegen

Package Overview
Dependencies
Maintainers
29
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@replit/river-codegen - npm Package Compare versions

Comparing version 0.0.25 to 0.0.26

5

dist/codegen.js

@@ -257,3 +257,4 @@ import { mkdir, mkdtemp, readFile, rm, unlink, writeFile, } from "fs/promises";

}
messageChunks.push(` ${toCamelCase(oneOf.name)}: Type.Union([`);
// Oneofs are not required to have a value.
messageChunks.push(` ${toCamelCase(oneOf.name)}: Type.Optional(Type.Union([`);
for (const [fieldIndex, field] of fields.entries()) {

@@ -274,3 +275,3 @@ const fieldComment = leadingComments.get([

}
messageChunks.push(`]),`);
messageChunks.push(`])),`);
}

@@ -277,0 +278,0 @@ if (recursiveFields.size > 0) {

17

package.json
{
"name": "@replit/river-codegen",
"description": "codegenning river from grpc",
"version": "0.0.25",
"scripts": {
"codegen": "tsx ./src/cli.ts",
"prepack": "pnpm build",
"build": "rm -rf ./dist && tsc -p tsconfig.json && tsc-alias",
"test": "vitest run",
"release": "npm publish --access public"
},
"version": "0.0.26",
"type": "module",

@@ -33,3 +26,9 @@ "bin": {

"tsx": "^4.6.1"
},
"scripts": {
"codegen": "tsx ./src/cli.ts",
"build": "rm -rf ./dist && tsc -p tsconfig.json && tsc-alias",
"test": "vitest run",
"release": "npm publish --access public"
}
}
}

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