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
package/dist/bobe.esm.js
CHANGED
|
@@ -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) {
|
|
@@ -242,6 +242,7 @@ class Tokenizer {
|
|
|
242
242
|
}
|
|
243
243
|
isEof() {
|
|
244
244
|
if (!this.token) return false;
|
|
245
|
+
if (this.i >= this.code.length && !this.waitingTokens.len) return true;
|
|
245
246
|
return this.token.type & TokenType.Identifier && this.token.value === Tokenizer.EofId;
|
|
246
247
|
}
|
|
247
248
|
setToken(type, value, dt = 1) {
|
|
@@ -2423,6 +2424,7 @@ function customRender(option) {
|
|
|
2423
2424
|
tokenizer
|
|
2424
2425
|
};
|
|
2425
2426
|
terp.program(root, componentNode);
|
|
2427
|
+
flushMicroEffectManual();
|
|
2426
2428
|
return [componentNode, store];
|
|
2427
2429
|
};
|
|
2428
2430
|
}
|
|
@@ -2466,5 +2468,5 @@ const effect = (callback, depOrOpt, opt) => {
|
|
|
2466
2468
|
return effect$1(callback, newDeps, option);
|
|
2467
2469
|
};
|
|
2468
2470
|
|
|
2469
|
-
export { Compiler, NodeType, ParseSyntaxError, Tokenizer, bobe, context, customRender, effect };
|
|
2471
|
+
export { Compiler, FakeType, NodeType, ParseSyntaxError, Tokenizer, bobe, context, customRender, effect };
|
|
2470
2472
|
//# sourceMappingURL=bobe.esm.js.map
|