@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 +8 -1
- package/cli/index.cjs +2 -2
- package/cli/index.js +2 -2
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +17 -6
- package/compiler/stencil.min.js +2 -2
- package/dependencies.json +1 -1
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +2 -2
- package/internal/app-data/package.json +1 -1
- package/internal/client/css-shim.js +1 -1
- package/internal/client/dom.js +1 -1
- package/internal/client/index.js +1 -1
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/client/patch-esm.js +1 -1
- package/internal/client/shadow-css.js +1 -1
- package/internal/hydrate/package.json +1 -1
- package/internal/package.json +1 -1
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +1 -1
- package/mock-doc/index.js +1 -1
- package/mock-doc/package.json +1 -1
- package/package.json +3 -3
- package/screenshot/package.json +1 -1
- package/sys/node/index.js +1 -1
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +2 -2
- package/testing/package.json +1 -1
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(
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
492
|
+
version: "2.14.2",
|
|
493
493
|
main: "compiler/stencil.js",
|
|
494
494
|
resources: [
|
|
495
495
|
"package.json",
|
package/cli/package.json
CHANGED
package/compiler/package.json
CHANGED
package/compiler/stencil.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Compiler v2.14.
|
|
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 = '
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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;
|