protobufjs 6.10.0-beta.2 → 6.10.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/CHANGELOG.md +36 -0
- package/README.md +9 -5
- package/cli/targets/static.js +4 -1
- package/dist/light/protobuf.js +19 -12
- 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 +19 -12
- 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 +19 -12
- 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 +6 -3
- package/package-lock.json +276 -129
- package/package.json +7 -7
- package/src/method.js +12 -3
- package/src/util/minimal.js +17 -10
package/index.d.ts
CHANGED
|
@@ -1951,15 +1951,18 @@ export namespace util {
|
|
|
1951
1951
|
public length(): number;
|
|
1952
1952
|
}
|
|
1953
1953
|
|
|
1954
|
+
/** Whether running within node or not. */
|
|
1955
|
+
let isNode: boolean;
|
|
1956
|
+
|
|
1957
|
+
/** Global object reference. */
|
|
1958
|
+
let global: object;
|
|
1959
|
+
|
|
1954
1960
|
/** An immuable empty array. */
|
|
1955
1961
|
const emptyArray: any[];
|
|
1956
1962
|
|
|
1957
1963
|
/** An immutable empty object. */
|
|
1958
1964
|
const emptyObject: object;
|
|
1959
1965
|
|
|
1960
|
-
/** Whether running within node or not. */
|
|
1961
|
-
const isNode: boolean;
|
|
1962
|
-
|
|
1963
1966
|
/**
|
|
1964
1967
|
* Tests if the specified value is an integer.
|
|
1965
1968
|
* @param value Value to test
|