ember-repl 7.0.1 → 7.1.0
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/declarations/services/known-modules.d.ts.map +1 -1
- package/dist/{babel-8wMrbxkT.js → babel-DbH-RlNa.js} +62593 -66125
- package/dist/babel-DbH-RlNa.js.map +1 -0
- package/dist/compile/state.js.map +1 -1
- package/dist/{index-C4AyeeIa.js → index-Bm1Y84Cu.js} +2 -2
- package/dist/{index-C4AyeeIa.js.map → index-Bm1Y84Cu.js.map} +1 -1
- package/dist/{index-CCcIVEUK.js → index-Bo3xsMqx.js} +8 -7
- package/dist/index-Bo3xsMqx.js.map +1 -0
- package/dist/{index-DejgrVqh.js → index-C-twRw93.js} +16 -1327
- package/dist/index-C-twRw93.js.map +1 -0
- package/dist/{index-C8S2G0FH.js → index-CGDqu098.js} +111 -139
- package/dist/index-CGDqu098.js.map +1 -0
- package/dist/index-DIRpUv6Z.js +2 -0
- package/dist/index-DIRpUv6Z.js.map +1 -0
- package/dist/{index-DBBNT106.js → index-DMSCybEq.js} +7 -11
- package/dist/index-DMSCybEq.js.map +1 -0
- package/dist/{index-BTx1k6gT.js → index-DNPwtadt.js} +2 -2
- package/dist/{index-BTx1k6gT.js.map → index-DNPwtadt.js.map} +1 -1
- package/dist/{index-DxolpiGq.js → index-F3Sr0JFE.js} +57 -54
- package/dist/index-F3Sr0JFE.js.map +1 -0
- package/dist/plugin-DATxmrFU.js +9110 -0
- package/dist/plugin-DATxmrFU.js.map +1 -0
- package/dist/services/compiler.js +2 -3
- package/dist/services/compiler.js.map +1 -1
- package/dist/services/known-modules.js +11 -13
- package/dist/services/known-modules.js.map +1 -1
- package/package.json +40 -41
- package/src/services/compiler.ts +1 -1
- package/src/services/known-modules.ts +5 -4
- package/dist/babel-8wMrbxkT.js.map +0 -1
- package/dist/index-C8S2G0FH.js.map +0 -1
- package/dist/index-CCcIVEUK.js.map +0 -1
- package/dist/index-D8szzCn3.js +0 -2
- package/dist/index-D8szzCn3.js.map +0 -1
- package/dist/index-DBBNT106.js.map +0 -1
- package/dist/index-DejgrVqh.js.map +0 -1
- package/dist/index-DxolpiGq.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sources":["../../src/compile/state.ts"],"sourcesContent":["import { tracked } from '@glimmer/tracking';\n\nimport type { ComponentLike } from '@glint/template';\n\nexport const RESOLVE = Symbol('CompileState::resolve');\nexport const REJECT = Symbol('CompileState::reject');\n\ninterface State {\n component: ComponentLike | undefined;\n error: Error | undefined;\n isReady: boolean;\n reason: string | undefined;\n promise: Promise<ComponentLike>;\n format: string;\n}\n\ninterface Data {\n format: string;\n flavor?: string;\n}\n\nexport class CompileState implements State {\n @tracked component: undefined | ComponentLike;\n @tracked error: undefined | Error;\n\n @tracked isReady = false;\n\n #data: Data;\n #resolve: undefined | ((value: ComponentLike) => void);\n #reject: undefined | ((reason?: any) => void);\n #promise = new Promise<ComponentLike>((resolve, reject) => {\n this.#resolve = resolve;\n this.#reject = reject;\n });\n\n constructor(data: Data) {\n this.#data = data;\n }\n\n get format() {\n return this.#data.format;\n }\n\n get reason() {\n return this.error?.message;\n }\n\n get isWaiting() {\n return !this.isReady && !this.error;\n }\n\n get promise() {\n return this.#promise;\n }\n\n /**\n * @private\n */\n [RESOLVE](component: ComponentLike) {\n this.isReady = true;\n this.component = component;\n this.#resolve?.(component);\n }\n /**\n * @private\n */\n [REJECT](error: Error) {\n this.error = error;\n this.#reject?.(error);\n }\n}\n\nexport class MissingTextState extends CompileState {}\n\nexport class CachedCompileState extends CompileState {\n #resolvedPromise: Promise<ComponentLike>;\n constructor(data: Data, component: ComponentLike) {\n super(data);\n\n this.component = component;\n this.#resolvedPromise = Promise.resolve(component);\n this.isReady = true;\n }\n\n get promise() {\n return this.#resolvedPromise;\n }\n}\n"],"names":["RESOLVE","Symbol","REJECT","CompileState","g","prototype","tracked","i","
|
|
1
|
+
{"version":3,"file":"state.js","sources":["../../src/compile/state.ts"],"sourcesContent":["import { tracked } from '@glimmer/tracking';\n\nimport type { ComponentLike } from '@glint/template';\n\nexport const RESOLVE = Symbol('CompileState::resolve');\nexport const REJECT = Symbol('CompileState::reject');\n\ninterface State {\n component: ComponentLike | undefined;\n error: Error | undefined;\n isReady: boolean;\n reason: string | undefined;\n promise: Promise<ComponentLike>;\n format: string;\n}\n\ninterface Data {\n format: string;\n flavor?: string;\n}\n\nexport class CompileState implements State {\n @tracked component: undefined | ComponentLike;\n @tracked error: undefined | Error;\n\n @tracked isReady = false;\n\n #data: Data;\n #resolve: undefined | ((value: ComponentLike) => void);\n #reject: undefined | ((reason?: any) => void);\n #promise = new Promise<ComponentLike>((resolve, reject) => {\n this.#resolve = resolve;\n this.#reject = reject;\n });\n\n constructor(data: Data) {\n this.#data = data;\n }\n\n get format() {\n return this.#data.format;\n }\n\n get reason() {\n return this.error?.message;\n }\n\n get isWaiting() {\n return !this.isReady && !this.error;\n }\n\n get promise() {\n return this.#promise;\n }\n\n /**\n * @private\n */\n [RESOLVE](component: ComponentLike) {\n this.isReady = true;\n this.component = component;\n this.#resolve?.(component);\n }\n /**\n * @private\n */\n [REJECT](error: Error) {\n this.error = error;\n this.#reject?.(error);\n }\n}\n\nexport class MissingTextState extends CompileState {}\n\nexport class CachedCompileState extends CompileState {\n #resolvedPromise: Promise<ComponentLike>;\n constructor(data: Data, component: ComponentLike) {\n super(data);\n\n this.component = component;\n this.#resolvedPromise = Promise.resolve(component);\n this.isReady = true;\n }\n\n get promise() {\n return this.#resolvedPromise;\n }\n}\n"],"names":["RESOLVE","Symbol","REJECT","CompileState","g","prototype","tracked","i","Promise","resolve","reject","constructor","data","format","reason","error","message","isWaiting","isReady","promise","component","MissingTextState","CachedCompileState"],"mappings":";;;MAIaA,OAAO,GAAGC,MAAM,CAAC,uBAAuB;MACxCC,MAAM,GAAGD,MAAM,CAAC,sBAAsB;AAgB5C,MAAME,YAAY,CAAkB;AAAA,EAAA;IAAAC,CAAA,CA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AA,CAAEoB,SAAwB,EAAE;IAClC,IAAI,CAACF,OAAO,GAAG,IAAI;IACnB,IAAI,CAACE,SAAS,GAAGA,SAAS;AAC1B,IAAA,IAAI,CAAC,QAAQ,GAAGA,SAAS,CAAC;AAC5B,EAAA;AACA;AACF;AACA;EACE,CAAClB,MAAM,CAAA,CAAEa,KAAY,EAAE;IACrB,IAAI,CAACA,KAAK,GAAGA,KAAK;AAClB,IAAA,IAAI,CAAC,OAAO,GAAGA,KAAK,CAAC;AACvB,EAAA;AACF;AAEO,MAAMM,gBAAgB,SAASlB,YAAY,CAAC;AAE5C,MAAMmB,kBAAkB,SAASnB,YAAY,CAAC;AACnD,EAAA,gBAAgB;AAChBQ,EAAAA,WAAWA,CAACC,IAAU,EAAEQ,SAAwB,EAAE;IAChD,KAAK,CAACR,IAAI,CAAC;IAEX,IAAI,CAACQ,SAAS,GAAGA,SAAS;IAC1B,IAAI,CAAC,gBAAgB,GAAGZ,OAAO,CAACC,OAAO,CAACW,SAAS,CAAC;IAClD,IAAI,CAACF,OAAO,GAAG,IAAI;AACrB,EAAA;EAEA,IAAIC,OAAOA,GAAG;IACZ,OAAO,IAAI,CAAC,gBAAgB;AAC9B,EAAA;AACF;;;;"}
|
|
@@ -2,7 +2,7 @@ import { n as normalizeIdentifier, c as classifyCharacter, t as toString, b as b
|
|
|
2
2
|
import { u as unicodeWhitespace, a as unicodePunctuation, b as asciiAlphanumeric, c as asciiAlpha, m as markdownLineEndingOrSpace, d as asciiControl, e as markdownLineEnding, f as markdownSpace } from './index-ZyJlPFQY.js';
|
|
3
3
|
import { c as ccount } from './index-k6CfLgeq.js';
|
|
4
4
|
import { o as ok } from './default-CoqAuVeH.js';
|
|
5
|
-
import { c as convert, a as visitParents, v as visit, E as EXIT } from './index-
|
|
5
|
+
import { c as convert, a as visitParents, v as visit, E as EXIT } from './index-Bo3xsMqx.js';
|
|
6
6
|
|
|
7
7
|
function escapeStringRegexp(string) {
|
|
8
8
|
if (typeof string !== 'string') {
|
|
@@ -5718,4 +5718,4 @@ function remarkGfm(options) {
|
|
|
5718
5718
|
}
|
|
5719
5719
|
|
|
5720
5720
|
export { remarkGfm as default };
|
|
5721
|
-
//# sourceMappingURL=index-
|
|
5721
|
+
//# sourceMappingURL=index-Bm1Y84Cu.js.map
|