@stencil/core 4.22.3 → 4.23.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/sys/node",
3
- "version": "4.22.3",
3
+ "version": "4.23.0",
4
4
  "description": "Stencil Node System.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -1,4 +1,4 @@
1
1
  /*!
2
- Stencil Node System Worker v4.22.3 | MIT Licensed | https://stenciljs.com
2
+ Stencil Node System Worker v4.23.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.22.3 | MIT Licensed | https://stenciljs.com
2
+ Stencil Testing v4.23.0 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
 
@@ -1907,6 +1907,12 @@ var formatFlags = (compilerProperty) => {
1907
1907
  if (compilerProperty.reflect) {
1908
1908
  type |= 512 /* ReflectAttr */;
1909
1909
  }
1910
+ if (compilerProperty.getter) {
1911
+ type |= 2048 /* Getter */;
1912
+ }
1913
+ if (compilerProperty.setter) {
1914
+ type |= 4096 /* Setter */;
1915
+ }
1910
1916
  return type;
1911
1917
  };
1912
1918
  var formatAttrName = (compilerProperty) => {
@@ -7119,7 +7125,8 @@ var validateConfig = (userConfig = {}, bootstrapConfig) => {
7119
7125
  "appendChildSlotFix",
7120
7126
  "slotChildNodesFix",
7121
7127
  "cloneNodeFix",
7122
- "scopedSlotTextContentFix"
7128
+ "scopedSlotTextContentFix",
7129
+ "experimentalScopedSlotChanges"
7123
7130
  ];
7124
7131
  const conflictingFlags = possibleFlags.filter((flag) => validatedConfig.extras[flag] === false);
7125
7132
  if (conflictingFlags.length > 0) {
@@ -7136,13 +7143,14 @@ var validateConfig = (userConfig = {}, bootstrapConfig) => {
7136
7143
  validatedConfig.extras.cloneNodeFix = true;
7137
7144
  validatedConfig.extras.slotChildNodesFix = true;
7138
7145
  validatedConfig.extras.scopedSlotTextContentFix = true;
7146
+ validatedConfig.extras.experimentalScopedSlotChanges = true;
7139
7147
  } else {
7140
7148
  validatedConfig.extras.appendChildSlotFix = !!validatedConfig.extras.appendChildSlotFix;
7141
7149
  validatedConfig.extras.cloneNodeFix = !!validatedConfig.extras.cloneNodeFix;
7142
7150
  validatedConfig.extras.slotChildNodesFix = !!validatedConfig.extras.slotChildNodesFix;
7143
7151
  validatedConfig.extras.scopedSlotTextContentFix = !!validatedConfig.extras.scopedSlotTextContentFix;
7152
+ validatedConfig.extras.experimentalScopedSlotChanges = !!validatedConfig.extras.experimentalScopedSlotChanges;
7144
7153
  }
7145
- validatedConfig.extras.experimentalScopedSlotChanges = !!validatedConfig.extras.experimentalScopedSlotChanges;
7146
7154
  setBooleanConfig(
7147
7155
  validatedConfig,
7148
7156
  "sourceMap",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/testing",
3
- "version": "4.22.3",
3
+ "version": "4.23.0",
4
4
  "description": "Stencil testing suite.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",