@stencil/core 2.14.1 → 2.14.2

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/bin/stencil CHANGED
@@ -2,6 +2,7 @@
2
2
  'use strict';
3
3
 
4
4
  var minimumVersion = '12.10';
5
+ var futureDeprecationMinVersion = '14.0';
5
6
  var recommendedVersion = '14.5';
6
7
  var currentVersion = process.versions.node;
7
8
 
@@ -22,7 +23,13 @@ if (isNodeLT(minimumVersion)) {
22
23
  process.exit(1);
23
24
  }
24
25
 
25
- if (isNodeLT(recommendedVersion)) {
26
+ if (isNodeLT(futureDeprecationMinVersion)) {
27
+ console.warn(
28
+ '\nIn an upcoming major release of Stencil, Node v' +
29
+ recommendedVersion +
30
+ '.0 or higher will be required.\n'
31
+ );
32
+ } else if (isNodeLT(recommendedVersion)) {
26
33
  console.warn(
27
34
  '\nYour current version of Node is v' +
28
35
  currentVersion +
package/cli/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil CLI (CommonJS) v2.14.1 | MIT Licensed | https://stenciljs.com
2
+ Stencil CLI (CommonJS) v2.14.2 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  'use strict';
5
5
 
@@ -513,7 +513,7 @@ const getNpmConfigEnvArgs = (sys) => {
513
513
  const dependencies = [
514
514
  {
515
515
  name: "@stencil/core",
516
- version: "2.14.1",
516
+ version: "2.14.2",
517
517
  main: "compiler/stencil.js",
518
518
  resources: [
519
519
  "package.json",
package/cli/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil CLI v2.14.1 | MIT Licensed | https://stenciljs.com
2
+ Stencil CLI v2.14.2 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  const toLowerCase = (str) => str.toLowerCase();
5
5
  const dashToPascalCase = (str) => toLowerCase(str)
@@ -489,7 +489,7 @@ const getNpmConfigEnvArgs = (sys) => {
489
489
  const dependencies = [
490
490
  {
491
491
  name: "@stencil/core",
492
- version: "2.14.1",
492
+ version: "2.14.2",
493
493
  main: "compiler/stencil.js",
494
494
  resources: [
495
495
  "package.json",
package/cli/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/cli",
3
- "version": "2.14.1",
3
+ "version": "2.14.2",
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.14.1",
3
+ "version": "2.14.2",
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.14.1 | MIT Licensed | https://stenciljs.com
2
+ Stencil Compiler v2.14.2 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  (function(exports) {
5
5
  'use strict';
@@ -3967,7 +3967,7 @@ const createCustomResolverAsync = (sys, inMemoryFs, exts) => {
3967
3967
  };
3968
3968
  };
3969
3969
 
3970
- const buildId = '20220307172718';
3970
+ const buildId = '20220310222720';
3971
3971
  const minfyJsId = 'terser5.6.1_7';
3972
3972
  const optimizeCssId = 'autoprefixer10.2.5_postcss8.2.8_7';
3973
3973
  const parse5Version = '6.0.1';
@@ -3975,8 +3975,8 @@ const rollupVersion = '2.42.3';
3975
3975
  const sizzleVersion = '2.42.3';
3976
3976
  const terserVersion = '5.6.1';
3977
3977
  const typescriptVersion = '4.5.4';
3978
- const vermoji = '🐦';
3979
- const version$3 = '2.14.1';
3978
+ const vermoji = '😃';
3979
+ const version$3 = '2.14.2';
3980
3980
  const versions = {
3981
3981
  stencil: version$3,
3982
3982
  parse5: parse5Version,
@@ -63978,7 +63978,7 @@ const getComponentPathContent = (componentGraph, outputTarget) => {
63978
63978
  const dependencies = [
63979
63979
  {
63980
63980
  name: "@stencil/core",
63981
- version: "2.14.1",
63981
+ version: "2.14.2",
63982
63982
  main: "compiler/stencil.js",
63983
63983
  resources: [
63984
63984
  "package.json",
@@ -65164,7 +65164,18 @@ const validateTesting = (config, diagnostics) => {
65164
65164
  testing.pixelmatchThreshold = DEFAULT_PIXEL_MATCH_THRESHOLD;
65165
65165
  }
65166
65166
  if (testing.testRegex === undefined) {
65167
- testing.testRegex = '(/__tests__/.*|\\.(test|spec|e2e))\\.(tsx|ts|jsx|js)$';
65167
+ /**
65168
+ * The test regex covers cases of:
65169
+ * - files under a `__tests__` directory
65170
+ * - the case where a test file has a name such as `test.ts`, `spec.ts` or `e2e.ts`.
65171
+ * - these files can use any of the following file extensions: .ts, .tsx, .js, .jsx.
65172
+ * - this regex only handles the entire path of a file, e.g. `/some/path/e2e.ts`
65173
+ * - the case where a test file ends with `.test.ts`, `.spec.ts`, or `.e2e.ts`.
65174
+ * - these files can use any of the following file extensions: .ts, .tsx, .js, .jsx.
65175
+ * - this regex case shall match file names such as `my-cmp.spec.ts`, `test.spec.ts`
65176
+ * - this regex case shall not match file names such as `attest.ts`, `bespec.ts`
65177
+ */
65178
+ testing.testRegex = '(/__tests__/.*|(\\.|/)(test|spec|e2e))\\.[jt]sx?';
65168
65179
  }
65169
65180
  if (Array.isArray(testing.testMatch)) {
65170
65181
  delete testing.testRegex;