aboutsummaryrefslogtreecommitdiff
path: root/src/api/schema.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/schema.js')
-rw-r--r--src/api/schema.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/api/schema.js b/src/api/schema.js
index 270eb9a62..f1e68031e 100644
--- a/src/api/schema.js
+++ b/src/api/schema.js
@@ -3048,6 +3048,10 @@ function decodeBunInstall(bb) {
result["frozen_lockfile"] = !!bb.readByte();
break;
+ case 20:
+ result["exact"] = !!bb.readByte();
+ break;
+
default:
throw new Error("Attempted to parse invalid message");
}
@@ -3174,6 +3178,12 @@ function encodeBunInstall(message, bb) {
bb.writeByte(19);
bb.writeByte(value);
}
+
+ var value = message["exact"];
+ if (value != null) {
+ bb.writeByte(20);
+ bb.writeByte(value);
+ }
bb.writeByte(0);
}