@stencil/core 4.39.0-dev.1766120789.792acf5 → 4.39.0-dev.1766380053.d3b8b7a
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/cli/index.cjs +2 -1
- package/cli/index.js +2 -1
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +30 -12
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +3 -2
- package/internal/app-data/index.cjs +1 -0
- package/internal/app-data/index.js +1 -0
- package/internal/app-data/package.json +1 -1
- package/internal/app-globals/package.json +1 -1
- package/internal/client/index.js +20 -15
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +20 -15
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +1 -1
- package/internal/package.json +1 -1
- package/internal/stencil-private.d.ts +6 -0
- package/internal/stencil-public-compiler.d.ts +8 -3
- package/internal/stencil-public-runtime.d.ts +8 -2
- package/internal/testing/index.js +19 -14
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +1 -1
- package/mock-doc/index.js +1 -1
- package/mock-doc/package.json +1 -1
- package/package.json +1 -1
- package/screenshot/index.js +2 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/index.js +28 -28
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +8 -7
- package/testing/package.json +1 -1
package/sys/node/package.json
CHANGED
package/sys/node/worker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Node System Worker v4.39.0-dev.
|
|
2
|
+
Stencil Node System Worker v4.39.0-dev.1766380053.d3b8b7a | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
"use strict";var f=Object.create;var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,R=Object.prototype.hasOwnProperty;var g=(n,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of E(t))!R.call(n,e)&&e!==r&&d(n,e,{get:()=>t[e],enumerable:!(s=p(t,e))||s.enumerable});return n};var c=(n,t,r)=>(r=n!=null?f(y(n)):{},g(t||!n||!n.__esModule?d(r,"default",{value:n,enumerable:!0}):r,n));var l=c(require("../../compiler/stencil.js")),m=c(require("../../sys/node/index.js"));var a=(n,t)=>{let r=e=>{e&&e.code==="ERR_IPC_CHANNEL_CLOSED"&&n.exit(0)},s=(e,o)=>{let i={stencilId:e,stencilRtnValue:null,stencilRtnError:"Error"};typeof o=="string"?i.stencilRtnError+=": "+o:o&&(o.stack?i.stencilRtnError+=": "+o.stack:o.message&&(i.stencilRtnError+=":"+o.message)),n.send(i,r)};n.on("message",async e=>{if(e&&typeof e.stencilId=="number")try{let o={stencilId:e.stencilId,stencilRtnValue:await t(e),stencilRtnError:null};n.send(o,r)}catch(o){s(e.stencilId,o)}}),n.on("unhandledRejection",e=>{s(-1,e)})};var k=m.createNodeSys({process}),M=l.createWorkerMessageHandler(k);a(process,M);
|
package/testing/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Testing v4.39.0-dev.
|
|
2
|
+
Stencil Testing v4.39.0-dev.1766380053.d3b8b7a | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
@@ -2124,6 +2124,9 @@ var formatComponentRuntimeMeta = (compilerMeta, includeMethods) => {
|
|
|
2124
2124
|
if (compilerMeta.shadowDelegatesFocus) {
|
|
2125
2125
|
flags |= 16 /* shadowDelegatesFocus */;
|
|
2126
2126
|
}
|
|
2127
|
+
if (compilerMeta.slotAssignment === "manual") {
|
|
2128
|
+
flags |= 1024 /* shadowSlotAssignmentManual */;
|
|
2129
|
+
}
|
|
2127
2130
|
} else if (compilerMeta.encapsulation === "scoped") {
|
|
2128
2131
|
flags |= 2 /* scopedCssEncapsulation */;
|
|
2129
2132
|
}
|
|
@@ -8789,6 +8792,7 @@ var validateConfig = (userConfig = {}, bootstrapConfig) => {
|
|
|
8789
8792
|
minifyJs: (_e = config.minifyJs) != null ? _e : !devMode,
|
|
8790
8793
|
outputTargets: (_f = config.outputTargets) != null ? _f : [],
|
|
8791
8794
|
rollupConfig: validateRollupConfig(config),
|
|
8795
|
+
sourceMap: config.sourceMap === true || devMode && (config.sourceMap === "dev" || typeof config.sourceMap === "undefined"),
|
|
8792
8796
|
sys: (_h = (_g = config.sys) != null ? _g : bootstrapConfig.sys) != null ? _h : (0, import_sys_api_node.createNodeSys)({ logger }),
|
|
8793
8797
|
testing: (_i = config.testing) != null ? _i : {},
|
|
8794
8798
|
docs: validateDocs2(config, logger),
|
|
@@ -8834,12 +8838,6 @@ var validateConfig = (userConfig = {}, bootstrapConfig) => {
|
|
|
8834
8838
|
validatedConfig.extras.scopedSlotTextContentFix = !!validatedConfig.extras.scopedSlotTextContentFix;
|
|
8835
8839
|
validatedConfig.extras.experimentalScopedSlotChanges = !!validatedConfig.extras.experimentalScopedSlotChanges;
|
|
8836
8840
|
}
|
|
8837
|
-
setBooleanConfig(
|
|
8838
|
-
validatedConfig,
|
|
8839
|
-
"sourceMap",
|
|
8840
|
-
null,
|
|
8841
|
-
typeof validatedConfig.sourceMap === "undefined" ? true : validatedConfig.sourceMap
|
|
8842
|
-
);
|
|
8843
8841
|
setBooleanConfig(validatedConfig, "watch", "watch", false);
|
|
8844
8842
|
setBooleanConfig(validatedConfig, "buildDocs", "docs", !validatedConfig.devMode);
|
|
8845
8843
|
setBooleanConfig(validatedConfig, "buildDist", "esm", !validatedConfig.devMode || !!validatedConfig.buildEs5);
|
|
@@ -10053,6 +10051,7 @@ var stubComponentCompilerMeta = (overrides = {}) => ({
|
|
|
10053
10051
|
properties: [],
|
|
10054
10052
|
serializers: [],
|
|
10055
10053
|
shadowDelegatesFocus: false,
|
|
10054
|
+
slotAssignment: null,
|
|
10056
10055
|
sourceFilePath: "/some/stubbed/path/my-component.tsx",
|
|
10057
10056
|
sourceMapPath: "/some/stubbed/path/my-component.js.map",
|
|
10058
10057
|
states: [],
|
|
@@ -10838,6 +10837,7 @@ function mockValidatedConfig(overrides = {}) {
|
|
|
10838
10837
|
outputTargets: (_a = baseConfig.outputTargets) != null ? _a : [],
|
|
10839
10838
|
packageJsonFilePath: import_path24.default.join(rootDir4, "package.json"),
|
|
10840
10839
|
rootDir: rootDir4,
|
|
10840
|
+
sourceMap: true,
|
|
10841
10841
|
srcDir: "/src",
|
|
10842
10842
|
srcIndexHtml: "src/index.html",
|
|
10843
10843
|
suppressReservedPublicNameWarnings: false,
|
|
@@ -12443,6 +12443,7 @@ var getBuildFeatures = (cmps) => {
|
|
|
12443
12443
|
serializer: cmps.some((c) => c.hasSerializer),
|
|
12444
12444
|
shadowDom,
|
|
12445
12445
|
shadowDelegatesFocus: shadowDom && cmps.some((c) => c.shadowDelegatesFocus),
|
|
12446
|
+
shadowSlotAssignmentManual: shadowDom && cmps.some((c) => c.slotAssignment === "manual"),
|
|
12446
12447
|
slot,
|
|
12447
12448
|
slotRelocation,
|
|
12448
12449
|
state: cmps.some((c) => c.hasState),
|