@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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil CLI (CommonJS) v2.12.1 | MIT Licensed | https://stenciljs.com
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.12.1",
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.12.1 | MIT Licensed | https://stenciljs.com
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.12.1",
485
+ version: "2.13.0",
486
486
  main: "compiler/stencil.js",
487
487
  resources: [
488
488
  "package.json",
package/cli/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/cli",
3
- "version": "2.12.1",
3
+ "version": "2.13.0",
4
4
  "description": "Stencil CLI.",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/compiler",
3
- "version": "2.12.1",
3
+ "version": "2.13.0",
4
4
  "description": "Stencil Compiler.",
5
5
  "main": "./stencil.js",
6
6
  "types": "./stencil.d.ts",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Compiler v2.12.1 | MIT Licensed | https://stenciljs.com
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 = '20220104181231';
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.12.1';
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.12.1",
63676
+ version: "2.13.0",
63662
63677
  main: "compiler/stencil.js",
63663
63678
  resources: [
63664
63679
  "package.json",