aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Derrick Farris <mr.dcfarris@gmail.com> 2023-03-08 14:04:21 -0800
committerGravatar GitHub <noreply@github.com> 2023-03-08 14:04:21 -0800
commit42edcaae8cffa64af76828a9b970de2081e0db86 (patch)
tree2ea6fdee6d927864e315a4edb5a67c5ca26b5f75
parentab02ab25b1ea37f2861099f91e3783591e08efdd (diff)
downloadbun-42edcaae8cffa64af76828a9b970de2081e0db86.tar.gz
bun-42edcaae8cffa64af76828a9b970de2081e0db86.tar.zst
bun-42edcaae8cffa64af76828a9b970de2081e0db86.zip
fix(node:child_process): fix missing primordial `StringPrototypeSlice` (#2352)
-rw-r--r--src/bun.js/child_process.exports.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bun.js/child_process.exports.js b/src/bun.js/child_process.exports.js
index 18ade51b3..39f9380de 100644
--- a/src/bun.js/child_process.exports.js
+++ b/src/bun.js/child_process.exports.js
@@ -37,6 +37,7 @@ var MathAbs = Math.abs;
var StringPrototypeToUpperCase = String.prototype.toUpperCase;
var StringPrototypeIncludes = String.prototype.includes;
+var StringPrototypeSlice = String.prototype.slice;
var Uint8ArrayPrototypeIncludes = Uint8Array.prototype.includes;
const MAX_BUFFER = 1024 * 1024;