@stencil/core 2.15.2 → 2.16.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.
Files changed (47) hide show
  1. package/cli/index.cjs +6 -6
  2. package/cli/index.js +6 -6
  3. package/cli/package.json +1 -1
  4. package/compiler/package.json +1 -1
  5. package/compiler/stencil.js +439 -102
  6. package/compiler/stencil.min.js +2 -2
  7. package/dependencies.json +1 -1
  8. package/dev-server/client/index.js +1 -1
  9. package/dev-server/client/package.json +1 -1
  10. package/dev-server/client/test/hmr-util.spec.d.ts +1 -0
  11. package/dev-server/client/test/status.spec.d.ts +1 -0
  12. package/dev-server/connector.html +2 -2
  13. package/dev-server/index.js +1 -1
  14. package/dev-server/package.json +1 -1
  15. package/dev-server/server-process.js +3 -3
  16. package/internal/app-data/package.json +1 -1
  17. package/internal/client/css-shim.js +1 -1
  18. package/internal/client/dom.js +1 -1
  19. package/internal/client/index.js +11 -9
  20. package/internal/client/package.json +1 -1
  21. package/internal/client/patch-browser.js +1 -1
  22. package/internal/client/patch-esm.js +1 -1
  23. package/internal/client/shadow-css.js +2 -3
  24. package/internal/hydrate/index.js +34 -29
  25. package/internal/hydrate/package.json +1 -1
  26. package/internal/hydrate/shadow-css.js +9 -9
  27. package/internal/package.json +1 -1
  28. package/internal/stencil-public-compiler.d.ts +66 -2
  29. package/internal/stencil-public-docs.d.ts +3 -0
  30. package/internal/testing/index.js +34 -29
  31. package/internal/testing/package.json +1 -1
  32. package/internal/testing/shadow-css.js +9 -9
  33. package/mock-doc/index.cjs +6 -2
  34. package/mock-doc/index.d.ts +8 -2
  35. package/mock-doc/index.js +6 -2
  36. package/mock-doc/package.json +1 -1
  37. package/package.json +21 -14
  38. package/screenshot/package.json +1 -1
  39. package/sys/node/index.js +1 -1
  40. package/sys/node/package.json +1 -1
  41. package/sys/node/worker.js +1 -1
  42. package/testing/index.js +2 -2
  43. package/testing/jest/test/jest-config.spec.d.ts +1 -0
  44. package/testing/jest/test/jest-preprocessor.spec.d.ts +1 -0
  45. package/testing/jest/test/jest-runner.spec.d.ts +1 -0
  46. package/testing/jest/test/jest-serializer.spec.d.ts +1 -0
  47. package/testing/package.json +1 -1
package/cli/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil CLI (CommonJS) v2.15.2 | MIT Licensed | https://stenciljs.com
2
+ Stencil CLI (CommonJS) v2.16.0 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  'use strict';
5
5
 
@@ -530,7 +530,7 @@ const getNpmConfigEnvArgs = (sys) => {
530
530
  const dependencies = [
531
531
  {
532
532
  name: "@stencil/core",
533
- version: "2.15.2",
533
+ version: "2.16.0",
534
534
  main: "compiler/stencil.js",
535
535
  resources: [
536
536
  "package.json",
@@ -967,10 +967,10 @@ async function updateConfig(sys, newOptions) {
967
967
 
968
968
  const isOutputTargetDocs = (o) => o.type === DOCS_README || o.type === DOCS_JSON || o.type === DOCS_CUSTOM || o.type === DOCS_VSCODE;
969
969
  const DOCS_CUSTOM = 'docs-custom';
970
- const DOCS_JSON = `docs-json`;
971
- const DOCS_README = `docs-readme`;
972
- const DOCS_VSCODE = `docs-vscode`;
973
- const WWW = `www`;
970
+ const DOCS_JSON = 'docs-json';
971
+ const DOCS_README = 'docs-readme';
972
+ const DOCS_VSCODE = 'docs-vscode';
973
+ const WWW = 'www';
974
974
 
975
975
  /**
976
976
  * Used to within taskBuild to provide the component_count property.
package/cli/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil CLI v2.15.2 | MIT Licensed | https://stenciljs.com
2
+ Stencil CLI v2.16.0 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  const toLowerCase = (str) => str.toLowerCase();
5
5
  const dashToPascalCase = (str) => toLowerCase(str)
@@ -506,7 +506,7 @@ const getNpmConfigEnvArgs = (sys) => {
506
506
  const dependencies = [
507
507
  {
508
508
  name: "@stencil/core",
509
- version: "2.15.2",
509
+ version: "2.16.0",
510
510
  main: "compiler/stencil.js",
511
511
  resources: [
512
512
  "package.json",
@@ -943,10 +943,10 @@ async function updateConfig(sys, newOptions) {
943
943
 
944
944
  const isOutputTargetDocs = (o) => o.type === DOCS_README || o.type === DOCS_JSON || o.type === DOCS_CUSTOM || o.type === DOCS_VSCODE;
945
945
  const DOCS_CUSTOM = 'docs-custom';
946
- const DOCS_JSON = `docs-json`;
947
- const DOCS_README = `docs-readme`;
948
- const DOCS_VSCODE = `docs-vscode`;
949
- const WWW = `www`;
946
+ const DOCS_JSON = 'docs-json';
947
+ const DOCS_README = 'docs-readme';
948
+ const DOCS_VSCODE = 'docs-vscode';
949
+ const WWW = 'www';
950
950
 
951
951
  /**
952
952
  * Used to within taskBuild to provide the component_count property.
package/cli/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/cli",
3
- "version": "2.15.2",
3
+ "version": "2.16.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.15.2",
3
+ "version": "2.16.0",
4
4
  "description": "Stencil Compiler.",
5
5
  "main": "./stencil.js",
6
6
  "types": "./stencil.d.ts",