@stencil/core 4.43.5 → 4.44.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/cli/index.cjs +1 -1
- package/cli/index.js +1 -1
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +232 -128
- 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 +2 -2
- package/internal/app-data/package.json +1 -1
- package/internal/app-globals/package.json +1 -1
- package/internal/client/index.js +61 -30
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +44 -26
- 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 +7 -0
- package/internal/stencil-public-compiler.d.ts +4 -0
- package/internal/stencil-public-runtime.d.ts +11 -0
- package/internal/testing/index.js +43 -25
- 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/readme.md +1 -1
- package/screenshot/index.js +1 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/index.js +30 -30
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +6 -1
- package/testing/package.json +1 -1
- /package/{LICENSE.md → LICENSE} +0 -0
package/sys/node/package.json
CHANGED
package/sys/node/worker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Node System Worker v4.
|
|
2
|
+
Stencil Node System Worker v4.44.0 | 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.
|
|
2
|
+
Stencil Testing v4.44.0 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
@@ -9125,6 +9125,7 @@ var validateConfig = (userConfig = {}, bootstrapConfig) => {
|
|
|
9125
9125
|
setBooleanConfig(validatedConfig, "validateTypes", null, !validatedConfig._isTesting);
|
|
9126
9126
|
setBooleanConfig(validatedConfig, "allowInlineScripts", null, true);
|
|
9127
9127
|
setBooleanConfig(validatedConfig, "suppressReservedPublicNameWarnings", null, false);
|
|
9128
|
+
setBooleanConfig(validatedConfig, "suppressReservedEventNameWarnings", null, false);
|
|
9128
9129
|
if (!isString(validatedConfig.taskQueue)) {
|
|
9129
9130
|
validatedConfig.taskQueue = "async";
|
|
9130
9131
|
}
|
|
@@ -10329,6 +10330,7 @@ var stubComponentCompilerMeta = (overrides = {}) => ({
|
|
|
10329
10330
|
hasWatchCallback: false,
|
|
10330
10331
|
htmlAttrNames: [],
|
|
10331
10332
|
htmlParts: [],
|
|
10333
|
+
htmlSlots: [],
|
|
10332
10334
|
htmlTagNames: [],
|
|
10333
10335
|
internal: false,
|
|
10334
10336
|
isCollectionDependency: false,
|
|
@@ -11129,6 +11131,7 @@ function mockValidatedConfig(overrides = {}) {
|
|
|
11129
11131
|
srcDir: "/src",
|
|
11130
11132
|
srcIndexHtml: "src/index.html",
|
|
11131
11133
|
suppressReservedPublicNameWarnings: false,
|
|
11134
|
+
suppressReservedEventNameWarnings: false,
|
|
11132
11135
|
sys: createTestingSystem(),
|
|
11133
11136
|
testing: {},
|
|
11134
11137
|
transformAliasedImportPaths: true,
|
|
@@ -11177,6 +11180,7 @@ function mockConfig(overrides = {}) {
|
|
|
11177
11180
|
rootDir: rootDir4,
|
|
11178
11181
|
sourceMap: true,
|
|
11179
11182
|
suppressReservedPublicNameWarnings: false,
|
|
11183
|
+
suppressReservedEventNameWarnings: false,
|
|
11180
11184
|
sys,
|
|
11181
11185
|
testing: null,
|
|
11182
11186
|
validateTypes: false,
|
|
@@ -11286,6 +11290,7 @@ var mockModule = (mod = {}) => ({
|
|
|
11286
11290
|
htmlAttrNames: [],
|
|
11287
11291
|
htmlTagNames: [],
|
|
11288
11292
|
htmlParts: [],
|
|
11293
|
+
htmlSlots: [],
|
|
11289
11294
|
isCollectionDependency: false,
|
|
11290
11295
|
isLegacy: false,
|
|
11291
11296
|
jsFilePath: "",
|
package/testing/package.json
CHANGED
/package/{LICENSE.md → LICENSE}
RENAMED
|
File without changes
|