mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-19 04:58:25 +02:00
Next release of setup-bun
This commit is contained in:
parent
ed9eb0969c
commit
9c14b74b45
1082 changed files with 242557 additions and 173810 deletions
19
node_modules/ts-node/dist/child/argv-payload.js
generated
vendored
Normal file
19
node_modules/ts-node/dist/child/argv-payload.js
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.decompress = exports.compress = exports.argPrefix = void 0;
|
||||
const zlib_1 = require("zlib");
|
||||
/** @internal */
|
||||
exports.argPrefix = '--brotli-base64-config=';
|
||||
/** @internal */
|
||||
function compress(object) {
|
||||
return (0, zlib_1.brotliCompressSync)(Buffer.from(JSON.stringify(object), 'utf8'), {
|
||||
[zlib_1.constants.BROTLI_PARAM_QUALITY]: zlib_1.constants.BROTLI_MIN_QUALITY,
|
||||
}).toString('base64');
|
||||
}
|
||||
exports.compress = compress;
|
||||
/** @internal */
|
||||
function decompress(str) {
|
||||
return JSON.parse((0, zlib_1.brotliDecompressSync)(Buffer.from(str, 'base64')).toString());
|
||||
}
|
||||
exports.decompress = decompress;
|
||||
//# sourceMappingURL=argv-payload.js.map
|
Loading…
Add table
Add a link
Reference in a new issue