@bufbuild/protobuf 2.8.0 → 2.9.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.
@@ -27,7 +27,8 @@ function makeInt64Support() {
27
27
  typeof dv.getBigUint64 === "function" &&
28
28
  typeof dv.setBigInt64 === "function" &&
29
29
  typeof dv.setBigUint64 === "function" &&
30
- (typeof process != "object" ||
30
+ (!!globalThis.Deno ||
31
+ typeof process != "object" ||
31
32
  typeof process.env != "object" ||
32
33
  process.env.BUF_BIGINT_DISABLE !== "1");
33
34
  if (ok) {
@@ -24,7 +24,8 @@ function makeInt64Support() {
24
24
  typeof dv.getBigUint64 === "function" &&
25
25
  typeof dv.setBigInt64 === "function" &&
26
26
  typeof dv.setBigUint64 === "function" &&
27
- (typeof process != "object" ||
27
+ (!!globalThis.Deno ||
28
+ typeof process != "object" ||
28
29
  typeof process.env != "object" ||
29
30
  process.env.BUF_BIGINT_DISABLE !== "1");
30
31
  if (ok) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bufbuild/protobuf",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
4
4
  "license": "(Apache-2.0 AND BSD-3-Clause)",
5
5
  "description": "A complete implementation of Protocol Buffers in TypeScript, suitable for web browsers and Node.js.",
6
6
  "keywords": ["protobuf", "schema", "typescript", "ecmascript"],