decord/source/__polyfill/08xxx/module_8301.js
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

16 lines
346 B
JavaScript

// Module ID: 8301
// Function ID: 8302
// Dependencies: []
// Module 8301
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, "\\$&");
}
};