@stencil/core 2.12.1 → 2.14.1

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.
Files changed (59) hide show
  1. package/cli/index.cjs +15 -6
  2. package/cli/index.js +15 -6
  3. package/cli/package.json +1 -1
  4. package/compiler/lib.dom.d.ts +2855 -4909
  5. package/compiler/lib.dom.iterable.d.ts +42 -66
  6. package/compiler/lib.es2015.core.d.ts +60 -18
  7. package/compiler/lib.es2015.iterable.d.ts +3 -11
  8. package/compiler/lib.es2015.promise.d.ts +2 -74
  9. package/compiler/lib.es2015.symbol.wellknown.d.ts +3 -3
  10. package/compiler/lib.es2018.intl.d.ts +23 -11
  11. package/compiler/lib.es2019.string.d.ts +8 -2
  12. package/compiler/lib.es2020.bigint.d.ts +2 -2
  13. package/compiler/lib.es2020.intl.d.ts +173 -114
  14. package/compiler/lib.es2020.promise.d.ts +2 -3
  15. package/compiler/lib.es2021.d.ts +1 -0
  16. package/compiler/lib.es2021.intl.d.ts +44 -0
  17. package/compiler/lib.es2021.promise.d.ts +8 -1
  18. package/compiler/lib.es5.d.ts +112 -52
  19. package/compiler/lib.esnext.intl.d.ts +1 -10
  20. package/compiler/lib.webworker.d.ts +1013 -1267
  21. package/compiler/lib.webworker.iterable.d.ts +28 -34
  22. package/compiler/package.json +1 -1
  23. package/compiler/stencil.js +399 -78
  24. package/compiler/stencil.min.js +2 -2
  25. package/dependencies.json +2 -1
  26. package/dev-server/client/index.js +1 -1
  27. package/dev-server/client/package.json +1 -1
  28. package/dev-server/connector.html +3 -3
  29. package/dev-server/index.js +1 -1
  30. package/dev-server/package.json +1 -1
  31. package/dev-server/server-process.js +16 -5
  32. package/internal/app-data/package.json +1 -1
  33. package/internal/client/css-shim.js +2 -2
  34. package/internal/client/dom.js +1 -1
  35. package/internal/client/index.js +28 -2
  36. package/internal/client/package.json +1 -1
  37. package/internal/client/patch-browser.js +5 -1
  38. package/internal/client/patch-esm.js +1 -1
  39. package/internal/client/polyfills/css-shim.js +1 -1
  40. package/internal/client/shadow-css.js +1 -1
  41. package/internal/hydrate/index.js +3 -1
  42. package/internal/hydrate/package.json +1 -1
  43. package/internal/hydrate/runner.js +1 -1
  44. package/internal/package.json +1 -1
  45. package/internal/testing/index.js +3 -1
  46. package/internal/testing/package.json +1 -1
  47. package/mock-doc/index.cjs +29 -2
  48. package/mock-doc/index.d.ts +4 -3
  49. package/mock-doc/index.js +29 -2
  50. package/mock-doc/package.json +1 -1
  51. package/package.json +7 -8
  52. package/screenshot/package.json +1 -1
  53. package/sys/node/index.js +9 -6
  54. package/sys/node/package.json +1 -1
  55. package/sys/node/worker.js +1 -1
  56. package/testing/index.js +365 -345
  57. package/testing/jest/jest-config.d.ts +11 -0
  58. package/testing/jest/jest-runner.d.ts +4 -0
  59. package/testing/package.json +1 -1
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.substr(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\."+t,"."+r)}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t=s.scopeId+"-"+this.count,o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
1
+ var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.substr(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
@@ -1,5 +1,5 @@
1
1
  /*
2
- Stencil Client Platform v2.12.1 | MIT Licensed | https://stenciljs.com
2
+ Stencil Client Platform v2.14.1 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  /**
5
5
  * @license
@@ -594,7 +594,9 @@ const callRender = (e, t, o) => {
594
594
  }
595
595
  }, parsePropertyValue = (e, t) => null == e || isComplexType(e) ? e : BUILD.propBoolean && 4 & t ? "false" !== e && ("" === e || !!e) : BUILD.propNumber && 2 & t ? parseFloat(e) : BUILD.propString && 1 & t ? String(e) : e, getValue = (e, t) => getHostRef(e).$instanceValues$.get(t), setValue = (e, t, o, n) => {
596
596
  const s = getHostRef(e), l = BUILD.lazyLoad ? s.$hostElement$ : e, a = s.$instanceValues$.get(t), r = s.$flags$, i = BUILD.lazyLoad ? s.$lazyInstance$ : l;
597
- if (o = parsePropertyValue(o, n.$members$[t][0]), !(BUILD.lazyLoad && 8 & r && void 0 !== a || o === a) && (s.$instanceValues$.set(t, o),
597
+ o = parsePropertyValue(o, n.$members$[t][0]);
598
+ const d = Number.isNaN(a) && Number.isNaN(o), c = o !== a && !d;
599
+ if ((!BUILD.lazyLoad || !(8 & r) || void 0 === a) && c && (s.$instanceValues$.set(t, o),
598
600
  BUILD.isDev && (1024 & s.$flags$ || s.$flags$), !BUILD.lazyLoad || i)) {
599
601
  if (BUILD.watchCallback && n.$watchers$ && 128 & r) {
600
602
  const e = n.$watchers$[t];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/internal/hydrate",
3
- "version": "2.12.1",
3
+ "version": "2.14.1",
4
4
  "description": "Stencil internal hydrate platform to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
5
5
  "main": "./index.js",
6
6
  "private": true
@@ -305,7 +305,7 @@ function finalizeHydrate(e, t, r, s, n) {
305
305
  absFilePath: null,
306
306
  lines: []
307
307
  };
308
- null != t && (null != t.stack ? s.messageText = t.stack.toString() : null != t.message ? s.messageText = t.message.toString() : s.messageText = t.toString()),
308
+ null != t && (null != t.stack ? s.messageText = t.stack.toString() : null != t.message ? s.messageText = t.message.length ? t.message : "UNKNOWN ERROR" : s.messageText = t.toString()),
309
309
  null == e || shouldIgnoreError(s.messageText) || e.push(s);
310
310
  })(t, e);
311
311
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/internal",
3
- "version": "2.12.1",
3
+ "version": "2.14.1",
4
4
  "description": "Stencil internals only to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -537,7 +537,9 @@ const callRender = (e, t, a) => {
537
537
  }
538
538
  }, parsePropertyValue = (e, t) => null == e || isComplexType(e) ? e : appData.BUILD.propBoolean && 4 & t ? "false" !== e && ("" === e || !!e) : appData.BUILD.propNumber && 2 & t ? parseFloat(e) : appData.BUILD.propString && 1 & t ? String(e) : e, getValue = (e, t) => getHostRef(e).$instanceValues$.get(t), setValue = (e, t, a, o) => {
539
539
  const s = getHostRef(e), n = appData.BUILD.lazyLoad ? s.$hostElement$ : e, l = s.$instanceValues$.get(t), r = s.$flags$, p = appData.BUILD.lazyLoad ? s.$lazyInstance$ : n;
540
- if (a = parsePropertyValue(a, o.$members$[t][0]), !(appData.BUILD.lazyLoad && 8 & r && void 0 !== l || a === l) && (s.$instanceValues$.set(t, a),
540
+ a = parsePropertyValue(a, o.$members$[t][0]);
541
+ const i = Number.isNaN(l) && Number.isNaN(a), d = a !== l && !i;
542
+ if ((!appData.BUILD.lazyLoad || !(8 & r) || void 0 === l) && d && (s.$instanceValues$.set(t, a),
541
543
  appData.BUILD.isDev && (1024 & s.$flags$ ? consoleDevWarn(`The state/prop "${t}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`, "\nElement", n, "\nNew value", a, "\nOld value", l) : 2048 & s.$flags$ && consoleDevWarn(`The state/prop "${t}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`, "\nElement", n, "\nNew value", a, "\nOld value", l)),
542
544
  !appData.BUILD.lazyLoad || p)) {
543
545
  if (appData.BUILD.watchCallback && o.$watchers$ && 128 & r) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/internal/testing",
3
- "version": "2.12.1",
3
+ "version": "2.14.1",
4
4
  "description": "Stencil internal testing platform to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
5
5
  "main": "./index.js",
6
6
  "private": true
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Mock Doc (CommonJS) v2.12.1 | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc (CommonJS) v2.14.1 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  var mockDoc = (function(exports) {
5
5
  'use strict';
@@ -222,7 +222,7 @@ class MockCustomElementRegistry {
222
222
  whenDefined(tagName) {
223
223
  tagName = tagName.toLowerCase();
224
224
  if (this.__registry != null && this.__registry.has(tagName) === true) {
225
- return Promise.resolve();
225
+ return Promise.resolve(this.__registry.get(tagName).cstr);
226
226
  }
227
227
  return new Promise((resolve) => {
228
228
  if (this.__whenDefined == null) {
@@ -629,6 +629,21 @@ class MockEvent {
629
629
  stopImmediatePropagation() {
630
630
  this.cancelBubble = true;
631
631
  }
632
+ composedPath() {
633
+ const composedPath = [];
634
+ let currentElement = this.target;
635
+ while (currentElement) {
636
+ composedPath.push(currentElement);
637
+ if (!currentElement.parentElement && currentElement.nodeName === "#document" /* DOCUMENT_NODE */) {
638
+ // the current element doesn't have a parent, but we've detected it's our root document node. push the window
639
+ // object associated with the document onto the path
640
+ composedPath.push(currentElement.defaultView);
641
+ break;
642
+ }
643
+ currentElement = currentElement.parentElement;
644
+ }
645
+ return composedPath;
646
+ }
632
647
  }
633
648
  class MockCustomEvent extends MockEvent {
634
649
  constructor(type, customEventInitDic) {
@@ -3455,9 +3470,19 @@ class MockPerformance {
3455
3470
  getEntriesByType() {
3456
3471
  return [];
3457
3472
  }
3473
+ // Stencil's implementation of `mark` is non-compliant with the `Performance` interface. Because Stencil will
3474
+ // instantiate an instance of this class and may attempt to assign it to a variable of type `Performance`, the return
3475
+ // type must match the `Performance` interface (rather than typing this function as returning `void` and ignoring the
3476
+ // associated errors returned by the type checker)
3477
+ // @ts-ignore
3458
3478
  mark() {
3459
3479
  //
3460
3480
  }
3481
+ // Stencil's implementation of `measure` is non-compliant with the `Performance` interface. Because Stencil will
3482
+ // instantiate an instance of this class and may attempt to assign it to a variable of type `Performance`, the return
3483
+ // type must match the `Performance` interface (rather than typing this function as returning `void` and ignoring the
3484
+ // associated errors returned by the type checker)
3485
+ // @ts-ignore
3461
3486
  measure() {
3462
3487
  //
3463
3488
  }
@@ -4207,6 +4232,8 @@ function cloneWindow(srcWin, opts = {}) {
4207
4232
  }
4208
4233
  const clonedWin = new MockWindow(false);
4209
4234
  if (!opts.customElementProxy) {
4235
+ // TODO(STENCIL-345) - Evaluate reconciling MockWindow, Window differences
4236
+ // @ts-ignore
4210
4237
  srcWin.customElements = null;
4211
4238
  }
4212
4239
  if (srcWin.document != null) {
@@ -103,7 +103,7 @@ declare class MockCustomElementRegistry implements CustomElementRegistry {
103
103
  get(tagName: string): any;
104
104
  upgrade(_rootNode: any): void;
105
105
  clear(): void;
106
- whenDefined(tagName: string): Promise<void>;
106
+ whenDefined(tagName: string): Promise<CustomElementConstructor>;
107
107
  }
108
108
  declare function createCustomElement(customElements: MockCustomElementRegistry, ownerDocument: any, tagName: string): any;
109
109
  declare function connectNode(ownerDocument: any, node: MockNode): void;
@@ -283,6 +283,7 @@ declare class MockEvent {
283
283
  preventDefault(): void;
284
284
  stopPropagation(): void;
285
285
  stopImmediatePropagation(): void;
286
+ composedPath(): MockElement[];
286
287
  }
287
288
  declare class MockCustomEvent extends MockEvent {
288
289
  detail: any;
@@ -637,8 +638,8 @@ declare class MockPerformance implements Performance {
637
638
  getEntries(): any;
638
639
  getEntriesByName(): any;
639
640
  getEntriesByType(): any;
640
- mark(): void;
641
- measure(): void;
641
+ mark(): PerformanceMark;
642
+ measure(): PerformanceMeasure;
642
643
  get navigation(): any;
643
644
  now(): number;
644
645
  get onresourcetimingbufferfull(): any;
package/mock-doc/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Mock Doc v2.12.1 | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc v2.14.1 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  const CONTENT_REF_ID = 'r';
5
5
  const ORG_LOCATION_ID = 'o';
@@ -219,7 +219,7 @@ class MockCustomElementRegistry {
219
219
  whenDefined(tagName) {
220
220
  tagName = tagName.toLowerCase();
221
221
  if (this.__registry != null && this.__registry.has(tagName) === true) {
222
- return Promise.resolve();
222
+ return Promise.resolve(this.__registry.get(tagName).cstr);
223
223
  }
224
224
  return new Promise((resolve) => {
225
225
  if (this.__whenDefined == null) {
@@ -626,6 +626,21 @@ class MockEvent {
626
626
  stopImmediatePropagation() {
627
627
  this.cancelBubble = true;
628
628
  }
629
+ composedPath() {
630
+ const composedPath = [];
631
+ let currentElement = this.target;
632
+ while (currentElement) {
633
+ composedPath.push(currentElement);
634
+ if (!currentElement.parentElement && currentElement.nodeName === "#document" /* DOCUMENT_NODE */) {
635
+ // the current element doesn't have a parent, but we've detected it's our root document node. push the window
636
+ // object associated with the document onto the path
637
+ composedPath.push(currentElement.defaultView);
638
+ break;
639
+ }
640
+ currentElement = currentElement.parentElement;
641
+ }
642
+ return composedPath;
643
+ }
629
644
  }
630
645
  class MockCustomEvent extends MockEvent {
631
646
  constructor(type, customEventInitDic) {
@@ -3452,9 +3467,19 @@ class MockPerformance {
3452
3467
  getEntriesByType() {
3453
3468
  return [];
3454
3469
  }
3470
+ // Stencil's implementation of `mark` is non-compliant with the `Performance` interface. Because Stencil will
3471
+ // instantiate an instance of this class and may attempt to assign it to a variable of type `Performance`, the return
3472
+ // type must match the `Performance` interface (rather than typing this function as returning `void` and ignoring the
3473
+ // associated errors returned by the type checker)
3474
+ // @ts-ignore
3455
3475
  mark() {
3456
3476
  //
3457
3477
  }
3478
+ // Stencil's implementation of `measure` is non-compliant with the `Performance` interface. Because Stencil will
3479
+ // instantiate an instance of this class and may attempt to assign it to a variable of type `Performance`, the return
3480
+ // type must match the `Performance` interface (rather than typing this function as returning `void` and ignoring the
3481
+ // associated errors returned by the type checker)
3482
+ // @ts-ignore
3458
3483
  measure() {
3459
3484
  //
3460
3485
  }
@@ -4204,6 +4229,8 @@ function cloneWindow(srcWin, opts = {}) {
4204
4229
  }
4205
4230
  const clonedWin = new MockWindow(false);
4206
4231
  if (!opts.customElementProxy) {
4232
+ // TODO(STENCIL-345) - Evaluate reconciling MockWindow, Window differences
4233
+ // @ts-ignore
4207
4234
  srcWin.customElements = null;
4208
4235
  }
4209
4236
  if (srcWin.document != null) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/mock-doc",
3
- "version": "2.12.1",
3
+ "version": "2.14.1",
4
4
  "description": "Mock window, document and DOM outside of a browser environment.",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core",
3
- "version": "2.12.1",
3
+ "version": "2.14.1",
4
4
  "license": "MIT",
5
5
  "main": "./internal/stencil-core/index.cjs",
6
6
  "module": "./internal/stencil-core/index.js",
@@ -44,8 +44,7 @@
44
44
  "test": "jest --coverage",
45
45
  "test.analysis": "cd test && npm run build",
46
46
  "test.dist": "node scripts --validate-build",
47
- "//": "TODO(STENCIL-71): Add 'npm test &&' to the 'test.end-to-end' test",
48
- "test.end-to-end": "cd test/end-to-end && npm ci && npm run test.dist",
47
+ "test.end-to-end": "cd test/end-to-end && npm ci && npm test && npm run test.dist",
49
48
  "test.jest": "jest",
50
49
  "test.karma": "cd test/karma && npm ci && npm run karma",
51
50
  "test.karma.prod": "cd test/karma && npm ci && npm run karma.prod",
@@ -69,7 +68,7 @@
69
68
  "@types/graceful-fs": "^4.1.5",
70
69
  "@types/inquirer": "^7.3.1",
71
70
  "@types/is-glob": "^4.0.1",
72
- "@types/jest": "^26.0.21",
71
+ "@types/jest": "^27.0.3",
73
72
  "@types/listr": "^0.14.2",
74
73
  "@types/mime-types": "^2.1.0",
75
74
  "@types/node": "^14.14.35",
@@ -99,9 +98,9 @@
99
98
  "graceful-fs": "~4.2.6",
100
99
  "hash.js": "^1.1.7",
101
100
  "inquirer": "^7.3.3",
102
- "jest": "^27.4.3",
103
- "jest-cli": "^27.4.3",
104
- "jest-environment-node": "^27.4.2",
101
+ "jest": "^27.4.5",
102
+ "jest-cli": "^27.4.5",
103
+ "jest-environment-node": "^27.4.4",
105
104
  "listr": "^0.14.3",
106
105
  "magic-string": "^0.25.7",
107
106
  "merge-source-map": "^1.1.0",
@@ -124,7 +123,7 @@
124
123
  "sizzle": "^2.3.6",
125
124
  "terser": "5.6.1",
126
125
  "tslib": "^2.1.0",
127
- "typescript": "4.3.5",
126
+ "typescript": "4.5.4",
128
127
  "webpack": "^4.46.0",
129
128
  "ws": "7.4.6"
130
129
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/screenshot",
3
- "version": "2.12.1",
3
+ "version": "2.14.1",
4
4
  "description": "Stencil Screenshot.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
package/sys/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Node System v2.12.1 | MIT Licensed | https://stenciljs.com
2
+ Stencil Node System v2.14.1 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  function _interopDefaultLegacy(e) {
5
5
  return e && "object" == typeof e && "default" in e ? e : {
@@ -139,7 +139,10 @@ async function processCopyTask(e, t, r) {
139
139
  return e = e.trim().toLowerCase(), IGNORE.some((t => e.endsWith(t)));
140
140
  }(r.src) || (e.filePaths.includes(r.dest) || e.filePaths.push(r.dest), t.push(r));
141
141
  } catch (t) {
142
- !1 !== r.warn && (buildError(e.diagnostics).messageText = t.message);
142
+ if (!1 !== r.warn) {
143
+ const r = buildError(e.diagnostics);
144
+ t instanceof Error && (r.messageText = t.message);
145
+ }
143
146
  }
144
147
  }
145
148
 
@@ -624,7 +627,7 @@ const noop = () => {}, isString = e => "string" == typeof e, buildError = e => {
624
627
  absFilePath: null,
625
628
  lines: []
626
629
  };
627
- return isString(r) ? n.messageText = r : null != t && (null != t.stack ? n.messageText = t.stack.toString() : null != t.message ? n.messageText = t.message.toString() : n.messageText = t.toString()),
630
+ return isString(r) ? n.messageText = r.length ? r : "UNKNOWN ERROR" : null != t && (null != t.stack ? n.messageText = t.stack.toString() : null != t.message ? n.messageText = t.message.length ? t.message : "UNKNOWN ERROR" : n.messageText = t.toString()),
628
631
  null == e || shouldIgnoreError(n.messageText) || e.push(n), n;
629
632
  }, shouldIgnoreError = e => e === TASK_CANCELED_MSG, TASK_CANCELED_MSG = "task canceled", normalizePath = e => {
630
633
  if ("string" != typeof e) throw new Error("invalid path to normalize");
@@ -5394,9 +5397,9 @@ exports.createNodeLogger = e => {
5394
5397
  }
5395
5398
  }, f = new NodeResolveModule;
5396
5399
  return u.lazyRequire = new NodeLazyRequire(f, {
5397
- "@types/jest": [ "24.9.1", "26.0.21" ],
5398
- jest: [ "24.9.0", "26.6.3" ],
5399
- "jest-cli": [ "24.9.0", "26.6.3" ],
5400
+ "@types/jest": [ "24.9.1", "27.0.3" ],
5401
+ jest: [ "24.9.0", "27.4.5" ],
5402
+ "jest-cli": [ "24.9.0", "27.4.5" ],
5400
5403
  pixelmatch: [ "4.0.2", "4.0.2" ],
5401
5404
  puppeteer: [ "1.19.0", "10.0.0" ],
5402
5405
  "puppeteer-core": [ "1.19.0", "5.2.1" ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/sys/node",
3
- "version": "2.12.1",
3
+ "version": "2.14.1",
4
4
  "description": "Stencil Node System.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Node System Worker v2.12.1 | MIT Licensed | https://stenciljs.com
2
+ Stencil Node System Worker v2.14.1 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  function _interopNamespace(e) {
5
5
  if (e && e.__esModule) return e;