Skip to content

Commit 67fe592

Browse files
authoredSep 12, 2022
Update CDN (RawGit EOL) (#1806)
Issue: #1794
1 parent 6254efb commit 67fe592

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed
 

‎README.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,16 @@ $> npm install protobufjs-cli [--save --save-prefix=~]
6565
Development:
6666

6767
```
68-
<script src="//cdn.rawgit.com/dcodeIO/protobuf.js/6.X.X/dist/protobuf.js"></script>
68+
<script src="//cdn.jsdelivr.net/npm/protobufjs@7.X.X/dist/protobuf.js"></script>
6969
```
7070

7171
Production:
7272

7373
```
74-
<script src="//cdn.rawgit.com/dcodeIO/protobuf.js/6.X.X/dist/protobuf.min.js"></script>
74+
<script src="//cdn.jsdelivr.net/npm/protobufjs@7.X.X/dist/protobuf.min.js"></script>
7575
```
7676

77-
**Remember** to replace the version tag with the exact [release](https://github.com/dcodeIO/protobuf.js/tags) your project depends upon.
77+
**Remember** to replace the version tag with the exact [release](https://github.com/protobufjs/protobuf.js/tags) your project depends upon.
7878

7979
The library supports CommonJS and AMD loaders and also exports globally as `protobuf`.
8080

@@ -94,9 +94,11 @@ Where bundle size is a factor, there are additional stripped-down versions of th
9494
var protobuf = require("protobufjs/minimal");
9595
```
9696

97-
[dist-full]: https://github.com/dcodeIO/protobuf.js/tree/master/dist
98-
[dist-light]: https://github.com/dcodeIO/protobuf.js/tree/master/dist/light
99-
[dist-minimal]: https://github.com/dcodeIO/protobuf.js/tree/master/dist/minimal
97+
| Distribution | Location
98+
|------------|-----------------------------------
99+
| Full | <https://cdn.jsdelivr.net/npm/protobufjs/dist/>
100+
| Light | <https://cdn.jsdelivr.net/npm/protobufjs/dist/light/>
101+
| Minimal | <https://cdn.jsdelivr.net/npm/protobufjs/dist/minimal/>
100102

101103
Usage
102104
-----

0 commit comments

Comments
 (0)
Please sign in to comment.