diff options
author | 2023-06-26 01:43:39 +0200 | |
---|---|---|
committer | 2023-06-25 16:43:39 -0700 | |
commit | d8817c2d32a237440a7677622ba351aa95f47c22 (patch) | |
tree | 7dd24039b7c56f0e59b14e3b3f2a6debc2ed8985 /src/api/demo/schema.js | |
parent | 15ac08474ef0b18b94bbf4863b2497e18e968379 (diff) | |
download | bun-d8817c2d32a237440a7677622ba351aa95f47c22.tar.gz bun-d8817c2d32a237440a7677622ba351aa95f47c22.tar.zst bun-d8817c2d32a237440a7677622ba351aa95f47c22.zip |
Add support for install with --frozen-lockfile (#3365)
* Add support for install with --frozen-lockfile
* Add test
* Add test for frozenLockfile in config file
Diffstat (limited to 'src/api/demo/schema.js')
-rw-r--r-- | src/api/demo/schema.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/api/demo/schema.js b/src/api/demo/schema.js index 7bdd13b65..d23d64a14 100644 --- a/src/api/demo/schema.js +++ b/src/api/demo/schema.js @@ -2992,6 +2992,10 @@ function decodeBunInstall(bb) { result["global_bin_dir"] = bb.readString(); break; + case 19: + result["frozen-lockfile"] = !!bb.readByte(); + break; + default: throw new Error("Attempted to parse invalid message"); } |