@bufbuild/protoc-gen-es 2.2.2 → 2.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,17 +9,13 @@ The code generator plugin for Protocol Buffers for ECMAScript. Learn more about
9
9
  schema. The generated code requires the runtime library [@bufbuild/protobuf](https://www.npmjs.com/package/@bufbuild/protobuf).
10
10
  It's compatible with Protocol Buffer compilers like [buf](https://github.com/bufbuild/buf) and [protoc](https://github.com/protocolbuffers/protobuf/releases).
11
11
 
12
- To install the plugin and the runtime library, run:
12
+ To install the runtime library and the plugin, run:
13
13
 
14
14
  ```shell
15
- npm install --save-dev @bufbuild/protoc-gen-es
16
15
  npm install @bufbuild/protobuf
16
+ npm install --save-dev @bufbuild/protoc-gen-es
17
17
  ```
18
18
 
19
- We use peer dependencies to ensure that the code generator and runtime library are
20
- compatible with each other. Note that npm installs them automatically, but Yarn
21
- and pnpm do not.
22
-
23
19
  ## Generating code
24
20
 
25
21
  ### With buf
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bufbuild/protoc-gen-es",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Protocol Buffers code generator for ECMAScript",
6
6
  "keywords": [
@@ -30,11 +30,11 @@
30
30
  },
31
31
  "preferUnplugged": true,
32
32
  "dependencies": {
33
- "@bufbuild/protobuf": "^2.2.2",
34
- "@bufbuild/protoplugin": "2.2.2"
33
+ "@bufbuild/protobuf": "^2.2.4",
34
+ "@bufbuild/protoplugin": "2.2.4"
35
35
  },
36
36
  "peerDependencies": {
37
- "@bufbuild/protobuf": "2.2.2"
37
+ "@bufbuild/protobuf": "2.2.4"
38
38
  },
39
39
  "peerDependenciesMeta": {
40
40
  "@bufbuild/protobuf": {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2021-2024 Buf Technologies, Inc.
2
+ // Copyright 2021-2025 Buf Technologies, Inc.
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2021-2024 Buf Technologies, Inc.
2
+ // Copyright 2021-2025 Buf Technologies, Inc.
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bufbuild/protoc-gen-es",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Protocol Buffers code generator for ECMAScript",
6
6
  "keywords": [
@@ -30,11 +30,11 @@
30
30
  },
31
31
  "preferUnplugged": true,
32
32
  "dependencies": {
33
- "@bufbuild/protobuf": "^2.2.2",
34
- "@bufbuild/protoplugin": "2.2.2"
33
+ "@bufbuild/protobuf": "^2.2.4",
34
+ "@bufbuild/protoplugin": "2.2.4"
35
35
  },
36
36
  "peerDependencies": {
37
- "@bufbuild/protobuf": "2.2.2"
37
+ "@bufbuild/protobuf": "2.2.4"
38
38
  },
39
39
  "peerDependenciesMeta": {
40
40
  "@bufbuild/protobuf": {