@ateam-ai-mobile/plugin-runtime 0.1.22 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-RNA6X65P.mjs → chunk-DD3KH7OI.mjs} +4 -4
- package/dist/chunk-DD3KH7OI.mjs.map +1 -0
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/{loader-GGJ5YO25.mjs → loader-QTQNSXGS.mjs} +2 -2
- package/package.json +2 -2
- package/src/bundles/bundleManager.ts +11 -5
- package/dist/chunk-RNA6X65P.mjs.map +0 -1
- /package/dist/{loader-GGJ5YO25.mjs.map → loader-QTQNSXGS.mjs.map} +0 -0
|
@@ -2939,12 +2939,12 @@ var BundleManager = class {
|
|
|
2939
2939
|
evaluate(content, bundleUrl, verifiedHash) {
|
|
2940
2940
|
assertBundleIntegrity(content, verifiedHash, bundleUrl);
|
|
2941
2941
|
let cleaned = content.replace(
|
|
2942
|
-
/__toESM\(require\(("[^"]+")\)(?:,\s*\d+)?\)/g,
|
|
2942
|
+
/__toESM\((?:__)?require\(("[^"]+")\)(?:,\s*\d+)?\)/g,
|
|
2943
2943
|
"require($1)"
|
|
2944
2944
|
);
|
|
2945
2945
|
cleaned = cleaned.replace(
|
|
2946
|
-
/module\.exports\s
|
|
2947
|
-
"
|
|
2946
|
+
/(module\.exports\s*=|return)\s*__toCommonJS\((\w+)\)/g,
|
|
2947
|
+
"$1 $2"
|
|
2948
2948
|
);
|
|
2949
2949
|
const mod = { exports: {} };
|
|
2950
2950
|
try {
|
|
@@ -3464,4 +3464,4 @@ export {
|
|
|
3464
3464
|
ensureDeviceToolsLoaded,
|
|
3465
3465
|
resetDeviceToolLoader
|
|
3466
3466
|
};
|
|
3467
|
-
//# sourceMappingURL=chunk-
|
|
3467
|
+
//# sourceMappingURL=chunk-DD3KH7OI.mjs.map
|