protobufjs-cli
Advanced tools
+7
-0
| # Changelog | ||
| ## [1.3.1](https://github.com/protobufjs/protobuf.js/compare/protobufjs-cli-v1.3.0...protobufjs-cli-v1.3.1) (2026-05-22) | ||
| ### Bug Fixes | ||
| * Treat fixed64 as unsigned in converters ([#2266](https://github.com/protobufjs/protobuf.js/issues/2266)) ([479dfdc](https://github.com/protobufjs/protobuf.js/commit/479dfdcc690feb9f71986049d3d38c7a0f979abb)) | ||
| ## [1.3.0](https://github.com/protobufjs/protobuf.js/compare/protobufjs-cli-v1.2.2...protobufjs-cli-v1.3.0) (2026-05-18) | ||
@@ -4,0 +11,0 @@ |
+2
-2
| { | ||
| "name": "protobufjs-cli", | ||
| "description": "Translates between file formats and generates static code as well as TypeScript definitions.", | ||
| "version": "1.3.0", | ||
| "version": "1.3.1", | ||
| "author": "Daniel Wirtz <dcode+protobufjs@dcode.io>", | ||
@@ -24,3 +24,3 @@ "repository": { | ||
| "peerDependencies": { | ||
| "protobufjs": ">=7.6.0 <8" | ||
| "protobufjs": "^7.6.1" | ||
| }, | ||
@@ -27,0 +27,0 @@ "dependencies": { |
@@ -477,3 +477,3 @@ "use strict"; | ||
| + JSON.stringify(field.typeDefault.unsigned) | ||
| + ") : " + field.typeDefault.toNumber(field.type.charAt(0) === "u") + ";"); | ||
| + ") : " + field.typeDefault.toNumber(field.type === "uint64" || field.type === "fixed64") + ";"); | ||
| else if (field.bytes) { | ||
@@ -480,0 +480,0 @@ push(escapeName(type.name) + ".prototype" + prop + " = $util.newBuffer(" + JSON.stringify(Array.prototype.slice.call(field.typeDefault)) + ");"); |
119560
0.31%