bobe 0.0.54 → 0.0.56
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/bobe.cjs.js +3 -0
- package/dist/bobe.cjs.js.map +1 -1
- package/dist/bobe.compiler.cjs.js +3 -0
- package/dist/bobe.compiler.cjs.js.map +1 -1
- package/dist/bobe.compiler.esm.js +4 -2
- package/dist/bobe.compiler.esm.js.map +1 -1
- package/dist/bobe.esm.js +4 -2
- package/dist/bobe.esm.js.map +1 -1
- package/dist/index.d.ts +5 -15
- package/dist/index.umd.js +3 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Queue, isNum, matchIdStart2, matchId, escapeMap, jsVarRegexp, date32 } from 'bobe-shared';
|
|
2
|
-
import { Signal, Computed, Keys, getPulling, setPulling, deepSignal, toRaw, ScheduleType, runWithPulling, Scope, Store, noopEffect, NoopEffect, Effect, effect as effect$1, shareSignal } from 'aoye';
|
|
2
|
+
import { Signal, Computed, Keys, getPulling, setPulling, deepSignal, toRaw, ScheduleType, runWithPulling, Scope, Store, noopEffect, NoopEffect, Effect, effect as effect$1, shareSignal, flushMicroEffectManual } from 'aoye';
|
|
3
3
|
export { Store } from 'aoye';
|
|
4
4
|
|
|
5
5
|
let TokenType = function (TokenType) {
|
|
@@ -251,6 +251,7 @@ class Tokenizer {
|
|
|
251
251
|
}
|
|
252
252
|
isEof() {
|
|
253
253
|
if (!this.token) return false;
|
|
254
|
+
if (this.i >= this.code.length && !this.waitingTokens.len) return true;
|
|
254
255
|
return this.token.type & TokenType.Identifier && this.token.value === Tokenizer.EofId;
|
|
255
256
|
}
|
|
256
257
|
setToken(type, value, dt = 1) {
|
|
@@ -2450,6 +2451,7 @@ function customRender(option) {
|
|
|
2450
2451
|
tokenizer
|
|
2451
2452
|
};
|
|
2452
2453
|
terp.program(root, componentNode);
|
|
2454
|
+
flushMicroEffectManual();
|
|
2453
2455
|
return [componentNode, store];
|
|
2454
2456
|
};
|
|
2455
2457
|
}
|
|
@@ -2493,5 +2495,5 @@ const effect = (callback, depOrOpt, opt) => {
|
|
|
2493
2495
|
return effect$1(callback, newDeps, option);
|
|
2494
2496
|
};
|
|
2495
2497
|
|
|
2496
|
-
export { Compiler, NodeType, ParseSyntaxError, Tokenizer, bobe, context, customRender, effect };
|
|
2498
|
+
export { Compiler, FakeType, NodeType, ParseSyntaxError, Tokenizer, bobe, context, customRender, effect };
|
|
2497
2499
|
//# sourceMappingURL=bobe.compiler.esm.js.map
|