@ball-lang/engine 1.5.3 → 1.5.5
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/compiled_engine.d.ts.map +1 -1
- package/dist/compiled_engine.js +161 -105
- package/dist/compiled_engine.js.map +1 -1
- package/dist/engine_setup.d.ts.map +1 -1
- package/dist/engine_setup.js +5 -3
- package/dist/engine_setup.js.map +1 -1
- package/package.json +2 -2
- package/src/compiled_engine.ts +150 -101
- package/src/engine_setup.ts +5 -3
package/src/engine_setup.ts
CHANGED
|
@@ -1709,9 +1709,11 @@ export function createEngineSetup(mod: EngineModule) {
|
|
|
1709
1709
|
};
|
|
1710
1710
|
}
|
|
1711
1711
|
|
|
1712
|
-
// Patch __bts (ball-to-string) to unwrap BallFuture/BallGenerator
|
|
1713
|
-
//
|
|
1714
|
-
//
|
|
1712
|
+
// Patch __bts (ball-to-string) to unwrap BallFuture/BallGenerator, IF the
|
|
1713
|
+
// compiled engine has installed one on globalThis. As of the current
|
|
1714
|
+
// compiled_engine.ts, it never does (grepped: zero assignments to
|
|
1715
|
+
// globalThis.__bts) — this is a defensive no-op guarding against a future
|
|
1716
|
+
// preamble that starts exposing one, not an active code path today.
|
|
1715
1717
|
const origBts = (globalThis as any).__bts;
|
|
1716
1718
|
if (typeof origBts === 'function') {
|
|
1717
1719
|
(globalThis as any).__bts = function(v: any): string {
|