protobufjs 7.5.8 → 7.6.0
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/dist/light/protobuf.js +193 -157
- package/dist/light/protobuf.js.map +1 -1
- package/dist/light/protobuf.min.js +3 -3
- package/dist/light/protobuf.min.js.map +1 -1
- package/dist/minimal/protobuf.js +14 -5
- package/dist/minimal/protobuf.js.map +1 -1
- package/dist/minimal/protobuf.min.js +3 -3
- package/dist/minimal/protobuf.min.js.map +1 -1
- package/dist/protobuf.js +213 -177
- package/dist/protobuf.js.map +1 -1
- package/dist/protobuf.min.js +3 -3
- package/dist/protobuf.min.js.map +1 -1
- package/index.d.ts +2 -1
- package/package.json +7 -4
- package/src/converter.js +5 -3
- package/src/type.js +1 -1
- package/src/util/fs.js +11 -0
- package/src/util/minimal.js +10 -2
- package/src/util.js +1 -1
package/README.md
CHANGED
|
@@ -184,7 +184,7 @@ With that in mind and again for performance reasons, each message class provides
|
|
|
184
184
|
```js
|
|
185
185
|
var object = AwesomeMessage.toObject(message, {
|
|
186
186
|
enums: String, // enums as string names
|
|
187
|
-
longs: String, // longs as strings (
|
|
187
|
+
longs: String, // longs as strings (or BigInt for bigint values)
|
|
188
188
|
bytes: String, // bytes as base64 encoded strings
|
|
189
189
|
defaults: true, // includes default values
|
|
190
190
|
arrays: true, // populates empty arrays (repeated fields) even if defaults=false
|