decord/source/__polyfill/08xxx/module_8231.js
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

16 lines
346 B
JavaScript

// Module ID: 8231
// Function ID: 8232
// Dependencies: []
// Module 8231
const re0 = /[|\\{}()[\]^$+*?.-]/g;
export default (str) => {
if (typeof str !== "string") {
const _TypeError = TypeError;
const typeError = new TypeError("Expected a string");
throw typeError;
} else {
return str.replace(closure_0, "\\$&");
}
};