New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bufbuild/protoc-gen-es

Package Overview
Dependencies
Maintainers
10
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bufbuild/protoc-gen-es - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

6

dist/cjs/package.json
{
"name": "@bufbuild/protoc-gen-es",
"version": "1.1.1",
"version": "1.2.0",
"description": "Protocol Buffers code generator for ECMAScript",

@@ -23,6 +23,6 @@ "license": "Apache-2.0",

"dependencies": {
"@bufbuild/protoplugin": "1.1.1"
"@bufbuild/protoplugin": "1.2.0"
},
"peerDependencies": {
"@bufbuild/protobuf": "1.1.1"
"@bufbuild/protobuf": "1.2.0"
},

@@ -29,0 +29,0 @@ "peerDependenciesMeta": {

{
"name": "@bufbuild/protoc-gen-es",
"version": "1.1.1",
"version": "1.2.0",
"description": "Protocol Buffers code generator for ECMAScript",

@@ -23,6 +23,6 @@ "license": "Apache-2.0",

"dependencies": {
"@bufbuild/protoplugin": "1.1.1"
"@bufbuild/protoplugin": "1.2.0"
},
"peerDependencies": {
"@bufbuild/protobuf": "1.1.1"
"@bufbuild/protobuf": "1.2.0"
},

@@ -29,0 +29,0 @@ "peerDependenciesMeta": {

@@ -18,3 +18,4 @@ # @bufbuild/protoc-gen-es

We use peer dependencies to ensure that code generator and runtime library are
compatible with each other. Note that yarn and pnpm only emit a warning in this case.
compatible with each other. Note that npm installs them automatically, but yarn
and pnpm do not.

@@ -26,2 +27,6 @@

```bash
npm install --save-dev @bufbuild/buf
```
Add a new configuration file `buf.gen.yaml`:

@@ -37,22 +42,11 @@

out: src/gen
opt: target=ts
opt:
# Add more plugin options here
- target=ts
```
Add the following script to your `package.json`:
```json
{
"name": "your-package",
"version": "1.0.0",
"scripts": {
"generate": "buf generate"
},
// ...
}
```
To generate code for all protobuf files within your project, simply run:
```bash
npm run generate
npx buf generate
```

@@ -59,0 +53,0 @@

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