Skip to content

Commit 347e1ca

Browse files
committed
Sync from Piper @441896533
PROTOBUF_SYNC_PIPER
2 parents 60300de + 03ccbf6 commit 347e1ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ a pre-built binary from [https://github.com/protocolbuffers/protobuf/releases](h
3535

3636
If you want, you can compile `protoc` from source instead. To do this
3737
follow the instructions in [the top-level
38-
README](https://github.com/protocolbuffers/protobuf/blob/master/src/README.md).
38+
README](https://github.com/protocolbuffers/protobuf/blob/main/src/README.md).
3939

4040
Once you have `protoc` compiled, you can run the tests provided along with our project to examine whether it can run successfully. In order to do this, you should download the Protocol Buffer source code from the release page with the link above. Then extract the source code and navigate to the folder named `js` containing a `package.json` file and a series of test files. In this folder, you can run the commands below to run the tests automatically.
4141

@@ -129,7 +129,7 @@ The syntax of the `--js_out` flag is:
129129
Where `OPTIONS` are separated by commas. Options are either `opt=val` or
130130
just `opt` (for options that don't take a value). The available options
131131
are specified and documented in the `GeneratorOptions` struct in
132-
[src/google/protobuf/compiler/js/js_generator.h](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/compiler/js/js_generator.h#L53).
132+
[src/google/protobuf/compiler/js/js_generator.h](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/compiler/js/js_generator.h#L53).
133133

134134
Some examples:
135135

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "google-protobuf",
3-
"version": "3.20.0-rc.1",
3+
"version": "3.20.1-rc.1",
44
"description": "Protocol Buffers for JavaScript",
55
"main": "google-protobuf.js",
66
"files": [
@@ -20,7 +20,7 @@
2020
},
2121
"repository": {
2222
"type": "git",
23-
"url": "https://github.com/protocolbuffers/protobuf/tree/master/js"
23+
"url": "https://github.com/protocolbuffers/protobuf/tree/main/js"
2424
},
2525
"author": "Google Protocol Buffers Team",
2626
"license": "BSD-3-Clause"

0 commit comments

Comments
 (0)