protobufjs 7.1.1 → 7.1.2
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 +8 -6
- package/dist/light/protobuf.js +2 -3
- package/dist/light/protobuf.js.map +1 -1
- package/dist/light/protobuf.min.js +2 -2
- package/dist/light/protobuf.min.js.map +1 -1
- package/dist/minimal/protobuf.js +1 -1
- package/dist/minimal/protobuf.min.js +2 -2
- package/dist/minimal/protobuf.min.js.map +1 -1
- package/dist/protobuf.js +2 -3
- package/dist/protobuf.js.map +1 -1
- package/dist/protobuf.min.js +2 -2
- package/dist/protobuf.min.js.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/namespace.js +1 -2
package/README.md
CHANGED
|
@@ -65,16 +65,16 @@ $> npm install protobufjs-cli [--save --save-prefix=~]
|
|
|
65
65
|
Development:
|
|
66
66
|
|
|
67
67
|
```
|
|
68
|
-
<script src="//cdn.
|
|
68
|
+
<script src="//cdn.jsdelivr.net/npm/protobufjs@7.X.X/dist/protobuf.js"></script>
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
Production:
|
|
72
72
|
|
|
73
73
|
```
|
|
74
|
-
<script src="//cdn.
|
|
74
|
+
<script src="//cdn.jsdelivr.net/npm/protobufjs@7.X.X/dist/protobuf.min.js"></script>
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
-
**Remember** to replace the version tag with the exact [release](https://github.com/
|
|
77
|
+
**Remember** to replace the version tag with the exact [release](https://github.com/protobufjs/protobuf.js/tags) your project depends upon.
|
|
78
78
|
|
|
79
79
|
The library supports CommonJS and AMD loaders and also exports globally as `protobuf`.
|
|
80
80
|
|
|
@@ -94,9 +94,11 @@ Where bundle size is a factor, there are additional stripped-down versions of th
|
|
|
94
94
|
var protobuf = require("protobufjs/minimal");
|
|
95
95
|
```
|
|
96
96
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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/>
|
|
100
102
|
|
|
101
103
|
Usage
|
|
102
104
|
-----
|
package/dist/light/protobuf.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* protobuf.js v7.1.0 (c) 2016, daniel wirtz
|
|
3
|
-
* compiled
|
|
3
|
+
* compiled thu, 22 sep 2022 17:16:10 utc
|
|
4
4
|
* licensed under the bsd-3-clause license
|
|
5
5
|
* see: https://github.com/dcodeio/protobuf.js for details
|
|
6
6
|
*/
|
|
@@ -2941,9 +2941,8 @@ Object.defineProperty(Namespace.prototype, "nestedArray", {
|
|
|
2941
2941
|
/**
|
|
2942
2942
|
* Any nested object descriptor.
|
|
2943
2943
|
* @typedef AnyNestedObject
|
|
2944
|
-
* @type {IEnum|IType|IService|AnyExtensionField|INamespace}
|
|
2944
|
+
* @type {IEnum|IType|IService|AnyExtensionField|INamespace|IOneOf}
|
|
2945
2945
|
*/
|
|
2946
|
-
// ^ BEWARE: VSCode hangs forever when using more than 5 types (that's why AnyExtensionField exists in the first place)
|
|
2947
2946
|
|
|
2948
2947
|
/**
|
|
2949
2948
|
* Converts this namespace to a namespace descriptor.
|