@stencil/core 2.19.3 → 2.21.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.
- package/cli/config-flags.d.ts +16 -16
- package/cli/index.cjs +6 -4
- package/cli/index.js +6 -4
- package/cli/package.json +1 -1
- package/compiler/lib.dom.d.ts +434 -251
- package/compiler/lib.dom.iterable.d.ts +7 -13
- package/compiler/lib.es2015.collection.d.ts +62 -1
- package/compiler/lib.es2015.promise.d.ts +9 -4
- package/compiler/lib.es2015.proxy.d.ts +91 -2
- package/compiler/lib.es2015.reflect.d.ts +25 -2
- package/compiler/lib.es2015.symbol.wellknown.d.ts +3 -3
- package/compiler/lib.es2017.intl.d.ts +16 -1
- package/compiler/lib.es2019.d.ts +1 -0
- package/compiler/lib.es2019.intl.d.ts +25 -0
- package/compiler/lib.es2020.intl.d.ts +31 -6
- package/compiler/lib.es2021.intl.d.ts +11 -3
- package/compiler/lib.es2022.d.ts +1 -0
- package/compiler/lib.es2022.error.d.ts +2 -2
- package/compiler/lib.es2022.sharedmemory.d.ts +27 -0
- package/compiler/lib.es5.d.ts +39 -14
- package/compiler/lib.esnext.intl.d.ts +5 -1
- package/compiler/lib.webworker.d.ts +318 -55
- package/compiler/lib.webworker.iterable.d.ts +11 -3
- package/compiler/package.json +1 -1
- package/compiler/stencil.d.ts +1 -23
- package/compiler/stencil.js +6307 -5165
- package/compiler/stencil.min.js +2 -2
- package/compiler/sys/in-memory-fs.d.ts +3 -3
- package/compiler/transpile.d.ts +32 -0
- package/dependencies.json +3 -1
- package/dev-server/client/app-error.d.ts +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/open-in-editor-api.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 +2 -2
- package/internal/client/dom.js +1 -1
- package/internal/client/index.js +8 -2
- 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/polyfills/css-shim.js +1 -1
- package/internal/client/shadow-css.js +1 -1
- package/internal/hydrate/index.js +2 -2
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.d.ts +1 -1
- package/internal/hydrate/runner.js +4 -4
- package/internal/package.json +1 -1
- package/internal/stencil-private.d.ts +37 -37
- package/internal/stencil-public-compiler.d.ts +26 -26
- package/internal/stencil-public-runtime.d.ts +39 -3
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +6 -6
- package/mock-doc/index.d.ts +2 -2
- package/mock-doc/index.js +6 -6
- package/mock-doc/package.json +1 -1
- package/package.json +17 -17
- package/screenshot/package.json +1 -1
- package/sys/node/autoprefixer.js +1 -1
- package/sys/node/glob.js +1 -1
- package/sys/node/index.js +29 -42
- package/sys/node/package.json +1 -1
- package/sys/node/prompts.js +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +30 -22
- package/testing/jest/jest-preprocessor.d.ts +3 -3
- package/testing/package.json +1 -1
- package/testing/puppeteer/puppeteer-declarations.d.ts +5 -5
- package/testing/testing-utils.d.ts +1 -1
package/mock-doc/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.21.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./internal/stencil-core/index.cjs",
|
|
6
6
|
"module": "./internal/stencil-core/index.js",
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
"testing/"
|
|
25
25
|
],
|
|
26
26
|
"scripts": {
|
|
27
|
-
"build": "
|
|
27
|
+
"build": "npm run tsc.scripts && npm run tsc.prod && npm run rollup.prod.ci",
|
|
28
28
|
"clean": "rm -rf build/ cli/ compiler/ dev-server/ internal/ mock-doc/ sys/ testing/ && npm run clean-scripts",
|
|
29
29
|
"clean-scripts": "rm -rf scripts/build",
|
|
30
|
-
"license": "node scripts --license",
|
|
30
|
+
"license": "node scripts/build --license",
|
|
31
31
|
"lint": "eslint 'bin/*' 'scripts/*.ts' 'scripts/**/*.ts' 'src/*.ts' 'src/**/*.ts' 'src/**/*.tsx'",
|
|
32
32
|
"prettier": "npm run prettier.base -- --write",
|
|
33
|
-
"prettier.base": "prettier \"./({bin,scripts,src,test}/**/*.{ts,tsx,js,jsx})|bin/stencil|.github/(**/)?*.(yml|yaml)|*.js\"",
|
|
33
|
+
"prettier.base": "prettier --cache \"./({bin,scripts,src,test}/**/*.{ts,tsx,js,jsx})|bin/stencil|.github/(**/)?*.(yml|yaml)|*.js\"",
|
|
34
34
|
"prettier.dry-run": "npm run prettier.base -- --list-different",
|
|
35
|
-
"release": "node scripts --release --publish",
|
|
36
|
-
"release.prepare": "node scripts --release --prepare",
|
|
35
|
+
"release": "npm run tsc.scripts && node scripts/build --release --publish",
|
|
36
|
+
"release.prepare": "npm run tsc.scripts && node scripts/build --release --prepare",
|
|
37
37
|
"rollup": "rollup --config",
|
|
38
38
|
"rollup.prod": "rollup --config --config-prod",
|
|
39
39
|
"rollup.prod.ci": "rollup --config --config-prod --config-ci",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"test": "jest --coverage",
|
|
43
43
|
"test.analysis": "cd test && npm run analysis.build-and-analyze",
|
|
44
44
|
"test.bundlers": "cd test && npm run bundlers",
|
|
45
|
-
"test.dist": "node scripts --validate-build",
|
|
45
|
+
"test.dist": "node scripts/build --validate-build",
|
|
46
46
|
"test.end-to-end": "cd test/end-to-end && npm ci && npm test && npm run test.dist",
|
|
47
47
|
"test.jest": "jest",
|
|
48
48
|
"test.karma": "cd test/karma && npm ci && npm run karma",
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
"test.watch-all": "jest --watchAll --coverage",
|
|
54
54
|
"tsc": "tsc --incremental",
|
|
55
55
|
"tsc.prod": "tsc",
|
|
56
|
-
"tsc.scripts": "tsc
|
|
56
|
+
"tsc.scripts": "tsc --build --force scripts/tsconfig.json",
|
|
57
57
|
"tsc.watch": "tsc --incremental --watch"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@ionic/prettier-config": "^2.0.0",
|
|
61
61
|
"@rollup/plugin-commonjs": "15.1.0",
|
|
62
|
-
"@rollup/plugin-json": "
|
|
62
|
+
"@rollup/plugin-json": "6.0.0",
|
|
63
63
|
"@rollup/plugin-node-resolve": "9.0.0",
|
|
64
64
|
"@rollup/plugin-replace": "2.3.4",
|
|
65
65
|
"@rollup/pluginutils": "5.0.2",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"ansi-colors": "4.1.3",
|
|
87
87
|
"autoprefixer": "10.4.13",
|
|
88
88
|
"conventional-changelog-cli": "^2.2.2",
|
|
89
|
-
"dts-bundle-generator": "~7.
|
|
89
|
+
"dts-bundle-generator": "~7.1.0",
|
|
90
90
|
"eslint": "^8.23.1",
|
|
91
91
|
"eslint-config-prettier": "^8.5.0",
|
|
92
92
|
"eslint-plugin-jest": "^27.0.4",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
95
95
|
"execa": "4.1.0",
|
|
96
96
|
"exit": "^0.1.2",
|
|
97
|
-
"fs-extra": "^
|
|
97
|
+
"fs-extra": "^11.0.0",
|
|
98
98
|
"glob": "8.0.3",
|
|
99
99
|
"graceful-fs": "~4.2.6",
|
|
100
100
|
"hash.js": "^1.1.7",
|
|
@@ -103,26 +103,26 @@
|
|
|
103
103
|
"jest-cli": "^27.4.5",
|
|
104
104
|
"jest-environment-node": "^27.4.4",
|
|
105
105
|
"listr": "^0.14.3",
|
|
106
|
-
"magic-string": "^0.
|
|
106
|
+
"magic-string": "^0.27.0",
|
|
107
107
|
"merge-source-map": "^1.1.0",
|
|
108
108
|
"mime-db": "^1.46.0",
|
|
109
|
-
"minimatch": "5.1.
|
|
109
|
+
"minimatch": "5.1.2",
|
|
110
110
|
"node-fetch": "2.6.7",
|
|
111
111
|
"open": "^8.4.0",
|
|
112
112
|
"open-in-editor": "2.2.0",
|
|
113
|
-
"parse5": "7.1.
|
|
113
|
+
"parse5": "7.1.2",
|
|
114
114
|
"path-browserify": "^1.0.1",
|
|
115
115
|
"pixelmatch": "5.3.0",
|
|
116
116
|
"postcss": "^8.2.8",
|
|
117
|
-
"prettier": "2.
|
|
117
|
+
"prettier": "2.8.1",
|
|
118
118
|
"prompts": "2.4.2",
|
|
119
119
|
"puppeteer": "~10.0.0",
|
|
120
120
|
"rollup": "2.42.3",
|
|
121
121
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
122
122
|
"semver": "^7.3.7",
|
|
123
123
|
"sizzle": "^2.3.6",
|
|
124
|
-
"terser": "5.
|
|
125
|
-
"typescript": "4.
|
|
124
|
+
"terser": "5.16.1",
|
|
125
|
+
"typescript": "4.9.4",
|
|
126
126
|
"webpack": "^4.46.0",
|
|
127
127
|
"ws": "7.4.6"
|
|
128
128
|
},
|