@bufbuild/protoplugin 1.7.0 → 1.7.1

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.
@@ -323,7 +323,7 @@ function literalBigint(value, runtimeImports) {
323
323
  }
324
324
  return [
325
325
  runtimeImports.protoInt64,
326
- ".parse(",
326
+ value > 0 ? ".uParse(" : ".parse(",
327
327
  (0, gencommon_js_1.literalString)(value.toString()),
328
328
  ")",
329
329
  ];
@@ -319,7 +319,7 @@ function literalBigint(value, runtimeImports) {
319
319
  }
320
320
  return [
321
321
  runtimeImports.protoInt64,
322
- ".parse(",
322
+ value > 0 ? ".uParse(" : ".parse(",
323
323
  literalString(value.toString()),
324
324
  ")",
325
325
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bufbuild/protoplugin",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "license": "(Apache-2.0 AND BSD-3-Clause)",
5
5
  "description": "Helps to create your own Protocol Buffers code generators.",
6
6
  "repository": {
@@ -47,7 +47,7 @@
47
47
  }
48
48
  },
49
49
  "dependencies": {
50
- "@bufbuild/protobuf": "1.7.0",
50
+ "@bufbuild/protobuf": "1.7.1",
51
51
  "@typescript/vfs": "^1.4.0",
52
52
  "typescript": "4.5.2"
53
53
  },