@stencil/core 5.0.0-alpha.6 → 5.0.0-alpha.8
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/{client-fWOou5EW.mjs → client-Dd-NB5Ei.mjs} +1 -1
- package/dist/compiler/index.d.mts +2 -2
- package/dist/compiler/index.mjs +2 -2
- package/dist/compiler/utils/index.d.mts +2 -2
- package/dist/compiler/utils/index.mjs +3 -3
- package/dist/{compiler-CdUbDTbV.mjs → compiler-B3pUYg_P.mjs} +224 -120
- package/dist/declarations/stencil-public-compiler.d.ts +56 -60
- package/dist/{index-Dap2E02-.d.ts → index-BuveMLxy.d.ts} +1 -1
- package/dist/{index-D8vvsppY.d.mts → index-CVhWFUM0.d.mts} +59 -62
- package/dist/{index-UUlemGuu.d.mts → index-ch-cf-bZ.d.mts} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/jsx-runtime.mjs +1 -1
- package/dist/{node-klLZLdDe.mjs → node-10UamZmn.mjs} +3 -3
- package/dist/{regular-expression-DUdhF3Ei.mjs → regular-expression-CFVJOTUh.mjs} +13 -4
- package/dist/runtime/app-data/index.d.ts +1 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/signals/index.d.ts +1 -1
- package/dist/signals/index.js +2 -2
- package/dist/sys/node/index.d.mts +1 -1
- package/dist/sys/node/index.mjs +1 -1
- package/dist/sys/node/worker.mjs +2 -2
- package/dist/testing/index.d.mts +2 -2
- package/dist/testing/index.mjs +9 -12
- package/dist/{validation-2QipI30K.mjs → validation-ByxKj8bC.mjs} +2 -2
- package/package.json +4 -4
package/dist/testing/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $r as
|
|
2
|
-
import { a as h, b as Env, d as getMode, g as getElement, h as createEvent, i as Host, m as Fragment, o as forceUpdate, p as Mixin, s as getRenderingRef, v as getAssetPath, y as setAssetPath } from "../index-
|
|
1
|
+
import { $r as LogLevel, B as ComponentCompilerMeta, Br as Diagnostic, Dt as HostRef, E as CompilerCtx, Et as HostElement, Nt as Module, Rt as NewSpecPageOptions, Zn as Compiler, Zr as LoadConfigInit, a as BuildCtx, aa as ValidatedConfig, cn as RuntimeRef, ei as Logger, fa as RafCallback, ha as UserBuildConditionals, ia as UnvalidatedConfig, kr as Config, mt as ComponentRuntimeMeta, ni as LoggerTimeSpan, pn as SpecPage, ua as ErrorHandler, vr as CompilerSystem } from "../index-CVhWFUM0.mjs";
|
|
2
|
+
import { a as h, b as Env, d as getMode, g as getElement, h as createEvent, i as Host, m as Fragment, o as forceUpdate, p as Mixin, s as getRenderingRef, v as getAssetPath, y as setAssetPath } from "../index-ch-cf-bZ.mjs";
|
|
3
3
|
import { Mock } from "vitest";
|
|
4
4
|
|
|
5
5
|
//#region src/testing/testing-logger.d.ts
|
package/dist/testing/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as setAssetPath, S as getAssetPath, U as BUILD, W as Env, _ as getRenderingRef, b as getElement, c as Mixin, d as getMode, g as forceUpdate, h, k as reWireGetterSetter, l as Fragment, m as Host, t as insertVdomAnnotations, u as bootstrapLazy, v as renderVdom, y as createEvent } from "../client-
|
|
2
|
-
import {
|
|
3
|
-
import { _ as getBuildFeatures, c as createWorkerContext, g as BuildContext, h as Cache, i as createSystem, o as loadConfig, p as createInMemoryFs, s as createCompiler } from "../compiler-
|
|
4
|
-
import { wt as formatLazyBundleRuntimeMeta } from "../validation-
|
|
5
|
-
import { o as buildEvents } from "../node-
|
|
1
|
+
import { C as setAssetPath, S as getAssetPath, U as BUILD, W as Env, _ as getRenderingRef, b as getElement, c as Mixin, d as getMode, g as forceUpdate, h, k as reWireGetterSetter, l as Fragment, m as Host, t as insertVdomAnnotations, u as bootstrapLazy, v as renderVdom, y as createEvent } from "../client-Dd-NB5Ei.mjs";
|
|
2
|
+
import { L as EVENT_FLAGS, h as noop, w as CMP_FLAGS } from "../regular-expression-CFVJOTUh.mjs";
|
|
3
|
+
import { _ as getBuildFeatures, c as createWorkerContext, g as BuildContext, h as Cache, i as createSystem, o as loadConfig, p as createInMemoryFs, s as createCompiler } from "../compiler-B3pUYg_P.mjs";
|
|
4
|
+
import { wt as formatLazyBundleRuntimeMeta } from "../validation-ByxKj8bC.mjs";
|
|
5
|
+
import { o as buildEvents } from "../node-10UamZmn.mjs";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { fileURLToPath } from "node:url";
|
|
@@ -270,7 +270,7 @@ function mockValidatedConfig(overrides = {}) {
|
|
|
270
270
|
cacheDir: ".stencil",
|
|
271
271
|
devMode: true,
|
|
272
272
|
devServer: {},
|
|
273
|
-
|
|
273
|
+
compat: {},
|
|
274
274
|
fsNamespace: "testing",
|
|
275
275
|
hydratedFlag: null,
|
|
276
276
|
logLevel: "info",
|
|
@@ -309,7 +309,7 @@ function mockConfig(overrides = {}) {
|
|
|
309
309
|
bundles: null,
|
|
310
310
|
devMode: true,
|
|
311
311
|
enableCache: false,
|
|
312
|
-
|
|
312
|
+
compat: {},
|
|
313
313
|
globalScript: null,
|
|
314
314
|
logger: new TestingLogger(),
|
|
315
315
|
maxConcurrentWorkers: 0,
|
|
@@ -344,7 +344,6 @@ const mockLoadConfigInit = (overrides) => {
|
|
|
344
344
|
return {
|
|
345
345
|
config: {},
|
|
346
346
|
configPath: void 0,
|
|
347
|
-
initTsConfig: true,
|
|
348
347
|
logger: void 0,
|
|
349
348
|
sys: void 0,
|
|
350
349
|
...overrides
|
|
@@ -572,8 +571,7 @@ const prepareTestCompiler = async (options = {}) => {
|
|
|
572
571
|
namespace: "Testing",
|
|
573
572
|
tsconfig: tsconfigPath,
|
|
574
573
|
...options.config
|
|
575
|
-
}
|
|
576
|
-
initTsConfig: false
|
|
574
|
+
}
|
|
577
575
|
});
|
|
578
576
|
return {
|
|
579
577
|
_validatedConfig: validatedConfig,
|
|
@@ -624,8 +622,7 @@ const createTestCompiler = async (options = {}) => {
|
|
|
624
622
|
namespace: "Testing",
|
|
625
623
|
tsconfig: tsconfigPath,
|
|
626
624
|
...options.config
|
|
627
|
-
}
|
|
628
|
-
initTsConfig: false
|
|
625
|
+
}
|
|
629
626
|
});
|
|
630
627
|
validatedConfig = config;
|
|
631
628
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-z9aeyW2b.mjs";
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as VALID_CONFIG_OUTPUT_TARGETS, C as ASSETS, F as DOCS_README, H as LISTENER_FLAGS, I as DOCS_VSCODE, J as STANDALONE, M as DOCS_CUSTOM, N as DOCS_CUSTOM_ELEMENTS_MANIFEST, O as COPY, P as DOCS_JSON, Q as TYPES, R as GENERATED_DTS, T as COLLECTION, U as LOADER_BUNDLE, W as MEMBER_FLAGS, Y as STATS, _ as sortBy, b as toTitleCase, et as WATCH_FLAGS, i as flatOne, j as DIST_LAZY, k as CUSTOM, n as dashToPascalCase, p as isString, q as SSR_WASM, r as escapeWithPattern, u as isIterable, w as CMP_FLAGS, y as toDashCase, z as GLOBAL_STYLE } from "./regular-expression-CFVJOTUh.mjs";
|
|
3
3
|
import path, { basename, dirname, relative } from "node:path";
|
|
4
4
|
import picomatch from "picomatch";
|
|
5
5
|
//#region src/utils/byte-size.ts
|
|
@@ -1043,7 +1043,7 @@ const isOutputTargetLoaderBundle = (o) => o.type === LOADER_BUNDLE;
|
|
|
1043
1043
|
const isOutputTargetStandalone = (o) => o.type === STANDALONE;
|
|
1044
1044
|
const isOutputTargetSsr = (o) => o.type === "ssr";
|
|
1045
1045
|
const isOutputTargetSsrWasm = (o) => o.type === SSR_WASM;
|
|
1046
|
-
const isOutputTargetCollection = (o) => o.type ===
|
|
1046
|
+
const isOutputTargetCollection = (o) => o.type === COLLECTION;
|
|
1047
1047
|
const isOutputTargetTypes = (o) => o.type === TYPES;
|
|
1048
1048
|
const isOutputTargetGlobalStyle = (o) => o.type === GLOBAL_STYLE;
|
|
1049
1049
|
const isOutputTargetAssets = (o) => o.type === ASSETS;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.8",
|
|
4
4
|
"description": "A Compiler for Web Components and Progressive Web Apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -121,9 +121,9 @@
|
|
|
121
121
|
"terser": "^5.0.0",
|
|
122
122
|
"tinyglobby": "^0.2.0",
|
|
123
123
|
"typescript": ">4.0.0 <7.0.0",
|
|
124
|
-
"@stencil/
|
|
125
|
-
"@stencil/
|
|
126
|
-
"@stencil/
|
|
124
|
+
"@stencil/mock-doc": "5.0.0-alpha.8",
|
|
125
|
+
"@stencil/dev-server": "5.0.0-alpha.8",
|
|
126
|
+
"@stencil/cli": "5.0.0-alpha.8"
|
|
127
127
|
},
|
|
128
128
|
"devDependencies": {
|
|
129
129
|
"@ionic/prettier-config": "^4.0.0",
|