@stencil/core 2.12.1 → 2.13.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 +2 -2
- package/cli/index.js +2 -2
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +20 -5
- package/compiler/stencil.min.js +2 -2
- package/dependencies.json +1 -1
- 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/client/css-shim.js +1 -1
- package/internal/client/dom.js +1 -1
- package/internal/client/index.js +1 -1
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/client/patch-esm.js +1 -1
- package/internal/client/shadow-css.js +1 -1
- package/internal/hydrate/package.json +1 -1
- package/internal/package.json +1 -1
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +16 -1
- package/mock-doc/index.d.ts +1 -0
- package/mock-doc/index.js +16 -1
- package/mock-doc/package.json +1 -1
- package/package.json +6 -7
- package/screenshot/package.json +1 -1
- package/sys/node/index.js +4 -4
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +354 -333
- package/testing/jest/jest-config.d.ts +11 -0
- package/testing/jest/jest-runner.d.ts +4 -0
- package/testing/package.json +1 -1
package/cli/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil CLI (CommonJS) v2.
|
|
2
|
+
Stencil CLI (CommonJS) v2.13.0 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
@@ -506,7 +506,7 @@ const getNpmConfigEnvArgs = (sys) => {
|
|
|
506
506
|
const dependencies = [
|
|
507
507
|
{
|
|
508
508
|
name: "@stencil/core",
|
|
509
|
-
version: "2.
|
|
509
|
+
version: "2.13.0",
|
|
510
510
|
main: "compiler/stencil.js",
|
|
511
511
|
resources: [
|
|
512
512
|
"package.json",
|
package/cli/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil CLI v2.
|
|
2
|
+
Stencil CLI v2.13.0 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
const toLowerCase = (str) => str.toLowerCase();
|
|
5
5
|
const dashToPascalCase = (str) => toLowerCase(str)
|
|
@@ -482,7 +482,7 @@ const getNpmConfigEnvArgs = (sys) => {
|
|
|
482
482
|
const dependencies = [
|
|
483
483
|
{
|
|
484
484
|
name: "@stencil/core",
|
|
485
|
-
version: "2.
|
|
485
|
+
version: "2.13.0",
|
|
486
486
|
main: "compiler/stencil.js",
|
|
487
487
|
resources: [
|
|
488
488
|
"package.json",
|
package/cli/package.json
CHANGED
package/compiler/package.json
CHANGED
package/compiler/stencil.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Compiler v2.
|
|
2
|
+
Stencil Compiler v2.13.0 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
(function(exports) {
|
|
5
5
|
'use strict';
|
|
@@ -3977,7 +3977,7 @@ const createCustomResolverAsync = (sys, inMemoryFs, exts) => {
|
|
|
3977
3977
|
};
|
|
3978
3978
|
};
|
|
3979
3979
|
|
|
3980
|
-
const buildId = '
|
|
3980
|
+
const buildId = '20220124181123';
|
|
3981
3981
|
const minfyJsId = 'terser5.6.1_7';
|
|
3982
3982
|
const optimizeCssId = 'autoprefixer10.2.5_postcss8.2.8_7';
|
|
3983
3983
|
const parse5Version = '6.0.1';
|
|
@@ -3985,8 +3985,8 @@ const rollupVersion = '2.42.3';
|
|
|
3985
3985
|
const sizzleVersion = '2.42.3';
|
|
3986
3986
|
const terserVersion = '5.6.1';
|
|
3987
3987
|
const typescriptVersion = '4.3.5';
|
|
3988
|
-
const vermoji = '
|
|
3989
|
-
const version$3 = '2.
|
|
3988
|
+
const vermoji = '🍣';
|
|
3989
|
+
const version$3 = '2.13.0';
|
|
3990
3990
|
const versions = {
|
|
3991
3991
|
stencil: version$3,
|
|
3992
3992
|
parse5: parse5Version,
|
|
@@ -14612,6 +14612,21 @@ class MockEvent {
|
|
|
14612
14612
|
stopImmediatePropagation() {
|
|
14613
14613
|
this.cancelBubble = true;
|
|
14614
14614
|
}
|
|
14615
|
+
composedPath() {
|
|
14616
|
+
const composedPath = [];
|
|
14617
|
+
let currentElement = this.target;
|
|
14618
|
+
while (currentElement) {
|
|
14619
|
+
composedPath.push(currentElement);
|
|
14620
|
+
if (!currentElement.parentElement && currentElement.nodeName === "#document" /* DOCUMENT_NODE */) {
|
|
14621
|
+
// the current element doesn't have a parent, but we've detected it's our root document node. push the window
|
|
14622
|
+
// object associated with the document onto the path
|
|
14623
|
+
composedPath.push(currentElement.defaultView);
|
|
14624
|
+
break;
|
|
14625
|
+
}
|
|
14626
|
+
currentElement = currentElement.parentElement;
|
|
14627
|
+
}
|
|
14628
|
+
return composedPath;
|
|
14629
|
+
}
|
|
14615
14630
|
}
|
|
14616
14631
|
class MockCustomEvent extends MockEvent {
|
|
14617
14632
|
constructor(type, customEventInitDic) {
|
|
@@ -63658,7 +63673,7 @@ const getComponentPathContent = (componentGraph, outputTarget) => {
|
|
|
63658
63673
|
const dependencies = [
|
|
63659
63674
|
{
|
|
63660
63675
|
name: "@stencil/core",
|
|
63661
|
-
version: "2.
|
|
63676
|
+
version: "2.13.0",
|
|
63662
63677
|
main: "compiler/stencil.js",
|
|
63663
63678
|
resources: [
|
|
63664
63679
|
"package.json",
|