protoc 36.2.0 → 37.0.0-rc1
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 +1 -1
- package/assets.json +10 -10
- package/bin/protoc-linux-aarch_64 +0 -0
- package/bin/protoc-linux-x86_64 +0 -0
- package/bin/protoc-osx-aarch_64 +0 -0
- package/bin/protoc-osx-x86_64 +0 -0
- package/bin/protoc-win64.exe +0 -0
- package/include/google/protobuf/descriptor.proto +33 -7
- package/include/google/protobuf/json_enumvalue_options.proto +1 -0
- package/include/google/protobuf/json_options.proto +1 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
protoc
|
|
2
2
|
======
|
|
3
3
|
|
|
4
|
-
This package provides the Protobuf compiler `protoc` <!-- inject: release.tag_name -->
|
|
4
|
+
This package provides the Protobuf compiler `protoc` <!-- inject: release.tag_name -->v37.0-rc1<!-- end -->.
|
|
5
5
|
|
|
6
6
|
```shell script
|
|
7
7
|
npm install --save-dev protoc
|
package/assets.json
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"name": "protoc-
|
|
4
|
-
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/
|
|
3
|
+
"name": "protoc-37.0-rc-1-linux-aarch_64.zip",
|
|
4
|
+
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v37.0-rc1/protoc-37.0-rc-1-linux-aarch_64.zip",
|
|
5
5
|
"platform": "linux",
|
|
6
6
|
"arch": "arm64",
|
|
7
7
|
"dotExe": false,
|
|
8
8
|
"executable": "protoc-linux-aarch_64"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
|
-
"name": "protoc-
|
|
12
|
-
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/
|
|
11
|
+
"name": "protoc-37.0-rc-1-linux-x86_64.zip",
|
|
12
|
+
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v37.0-rc1/protoc-37.0-rc-1-linux-x86_64.zip",
|
|
13
13
|
"platform": "linux",
|
|
14
14
|
"arch": "x64",
|
|
15
15
|
"dotExe": false,
|
|
16
16
|
"executable": "protoc-linux-x86_64"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
"name": "protoc-
|
|
20
|
-
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/
|
|
19
|
+
"name": "protoc-37.0-rc-1-osx-aarch_64.zip",
|
|
20
|
+
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v37.0-rc1/protoc-37.0-rc-1-osx-aarch_64.zip",
|
|
21
21
|
"platform": "darwin",
|
|
22
22
|
"arch": "arm64",
|
|
23
23
|
"dotExe": false,
|
|
24
24
|
"executable": "protoc-osx-aarch_64"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
|
-
"name": "protoc-
|
|
28
|
-
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/
|
|
27
|
+
"name": "protoc-37.0-rc-1-osx-x86_64.zip",
|
|
28
|
+
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v37.0-rc1/protoc-37.0-rc-1-osx-x86_64.zip",
|
|
29
29
|
"platform": "darwin",
|
|
30
30
|
"arch": "x64",
|
|
31
31
|
"dotExe": false,
|
|
32
32
|
"executable": "protoc-osx-x86_64"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
|
-
"name": "protoc-
|
|
36
|
-
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/
|
|
35
|
+
"name": "protoc-37.0-rc-1-win64.zip",
|
|
36
|
+
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v37.0-rc1/protoc-37.0-rc-1-win64.zip",
|
|
37
37
|
"platform": "win32",
|
|
38
38
|
"arch": "x64",
|
|
39
39
|
"dotExe": true,
|
|
Binary file
|
package/bin/protoc-linux-x86_64
CHANGED
|
Binary file
|
package/bin/protoc-osx-aarch_64
CHANGED
|
Binary file
|
package/bin/protoc-osx-x86_64
CHANGED
|
Binary file
|
package/bin/protoc-win64.exe
CHANGED
|
Binary file
|
|
@@ -1406,13 +1406,39 @@ message SourceCodeInfo {
|
|
|
1406
1406
|
// .options() // 7
|
|
1407
1407
|
// .my_opt() // 10101
|
|
1408
1408
|
//
|
|
1409
|
-
//
|
|
1410
|
-
// `UninterpretedOption
|
|
1411
|
-
//
|
|
1412
|
-
//
|
|
1413
|
-
//
|
|
1414
|
-
//
|
|
1415
|
-
//
|
|
1409
|
+
// Option parts, e.g. name and value are also appended using field numbers
|
|
1410
|
+
// from `UninterpretedOption`, which deviates from the actual
|
|
1411
|
+
// FileDescriptorProto path and uses negative values.
|
|
1412
|
+
// E.g., for `(my_opt) = "foo"` the name `(my_opt)` is:
|
|
1413
|
+
// [ 4, 3, 7, 10101, -2 ]
|
|
1414
|
+
// where -2 is negative of `UninterpretedOption.name`.
|
|
1415
|
+
// The value "foo" is:
|
|
1416
|
+
// [ 4, 3, 7, 10101, -7 ]
|
|
1417
|
+
// where -7 is the negative of `UninterpretedOption.string_value`.
|
|
1418
|
+
//
|
|
1419
|
+
// For complex options (e.g., "(my_opt) = {a: 100}"), the path
|
|
1420
|
+
// will include -UninterpretedOption.aggregate_value (field number -8) as a
|
|
1421
|
+
// marker for each level of nesting.
|
|
1422
|
+
//
|
|
1423
|
+
// For example, given:
|
|
1424
|
+
// option (my_opt) = {a: 100};
|
|
1425
|
+
//
|
|
1426
|
+
// The path for the `a` identifier would look like:
|
|
1427
|
+
// [ 4, 3, 7, 10101, -8, 1, -2 ]
|
|
1428
|
+
//
|
|
1429
|
+
// And for the value 100:
|
|
1430
|
+
// [ 4, 3, 7, 10101, -8, 1, -4 ]
|
|
1431
|
+
//
|
|
1432
|
+
// Where:
|
|
1433
|
+
// -8: UninterpretedOption.aggregate_value marker
|
|
1434
|
+
// 1: The field number of "a" inside "my_opt"
|
|
1435
|
+
// -2: UninterpretedOption.name
|
|
1436
|
+
// -4: UninterpretedOption.positive_int_value
|
|
1437
|
+
//
|
|
1438
|
+
// We use negative values for UninterpretedOption due to keep it backward
|
|
1439
|
+
// compatible with pre-existing undocumented behavior where options using
|
|
1440
|
+
// dot-notation (e.g. `(my_opt).a = 100`) also produce a path like
|
|
1441
|
+
// [ 4, 3, 7, 10101, 1] that spans the entire option.
|
|
1416
1442
|
repeated int32 path = 1 [packed = true];
|
|
1417
1443
|
|
|
1418
1444
|
// Always has exactly three or four elements: start line, start column,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "protoc",
|
|
3
|
-
"version": "
|
|
4
|
-
"upstreamVersion": "
|
|
3
|
+
"version": "37.0.0-rc1",
|
|
4
|
+
"upstreamVersion": "v37.0-rc1",
|
|
5
5
|
"description": "Installs the protocol buffer compiler \"protoc\" for you.",
|
|
6
6
|
"bin": {
|
|
7
7
|
"protoc": "protoc.cjs"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"installation"
|
|
37
37
|
],
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"tsx": "^4.23.
|
|
39
|
+
"tsx": "^4.23.15",
|
|
40
40
|
"fflate": "^0.8.3"
|
|
41
41
|
}
|
|
42
42
|
}
|