2022-12-08 17:38:04 +01:00
|
|
|
diff --git a/dist/squirrelly.cjs.js b/dist/squirrelly.cjs.js
|
2023-05-31 22:21:42 +02:00
|
|
|
index b87580be5da8a9a5af4cf60c8c5acf910c8f9ed2..e037b8a986d331f7075bbd448c80104de8a3453c 100644
|
2022-12-08 17:38:04 +01:00
|
|
|
--- a/dist/squirrelly.cjs.js
|
|
|
|
+++ b/dist/squirrelly.cjs.js
|
2021-07-15 19:59:34 +02:00
|
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
// TODO: allow '-' to trim up until newline. Use [^\S\n\r] instead of \s
|
|
|
|
// TODO: only include trimLeft polyfill if not in ES6
|
|
|
|
/* END TYPES */
|
|
|
|
-var promiseImpl = new Function('return this')().Promise;
|
|
|
|
+var promiseImpl = globalThis.Promise;
|
|
|
|
var asyncFunc = false;
|
|
|
|
try {
|
|
|
|
asyncFunc = new Function('return (async function(){}).constructor')();
|