@stencil/core 3.0.0-alpha.2 → 3.0.0-beta.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/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 +46 -25
- 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/index.cjs +4 -0
- package/internal/app-data/index.js +4 -0
- 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 +20 -3
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +15 -2
- package/internal/client/patch-esm.js +3 -1
- package/internal/client/shadow-css.js +1 -1
- package/internal/hydrate/package.json +1 -1
- package/internal/package.json +1 -1
- package/internal/stencil-public-compiler.d.ts +16 -8
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/hydrate",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-beta.0",
|
|
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
|
package/internal/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-beta.0",
|
|
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",
|
|
@@ -245,13 +245,18 @@ export interface ConfigExtras {
|
|
|
245
245
|
/**
|
|
246
246
|
* Include the CSS Custom Property polyfill/shim for legacy browsers. ESM builds will
|
|
247
247
|
* not include the css vars shim. Defaults to `false`
|
|
248
|
+
*
|
|
249
|
+
* @deprecated Since Stencil v3.0.0. IE 11, Edge <= 18, and old Safari
|
|
250
|
+
* versions are no longer supported.
|
|
248
251
|
*/
|
|
249
|
-
|
|
252
|
+
__deprecated__cssVarsShim?: boolean;
|
|
250
253
|
/**
|
|
251
|
-
* Dynamic `import()` shim. This is only needed for Edge 18 and below, and
|
|
252
|
-
* and below. Defaults to `false`.
|
|
254
|
+
* Dynamic `import()` shim. This is only needed for Edge 18 and below, and
|
|
255
|
+
* Firefox 67 and below. Defaults to `false`.
|
|
256
|
+
* @deprecated Since Stencil v3.0.0. IE 11, Edge <= 18, and old Safari
|
|
257
|
+
* versions are no longer supported.
|
|
253
258
|
*/
|
|
254
|
-
|
|
259
|
+
__deprecated__dynamicImportShim?: boolean;
|
|
255
260
|
/**
|
|
256
261
|
* Experimental flag. Projects that use a Stencil library built using the `dist` output target may have trouble lazily
|
|
257
262
|
* loading components when using a bundler such as Vite or Parcel. Setting this flag to `true` will change how Stencil
|
|
@@ -268,8 +273,10 @@ export interface ConfigExtras {
|
|
|
268
273
|
* `<script nomodule>`. When set to `true`, the runtime will patch support for Safari 10
|
|
269
274
|
* due to its lack of `nomodule` support.
|
|
270
275
|
* Defaults to `false`.
|
|
276
|
+
*
|
|
277
|
+
* @deprecated Since Stencil v3.0.0, Safari 10 is no longer supported.
|
|
271
278
|
*/
|
|
272
|
-
|
|
279
|
+
__deprecated__safari10?: boolean;
|
|
273
280
|
/**
|
|
274
281
|
* It is possible to assign data to the actual `<script>` element's `data-opts` property,
|
|
275
282
|
* which then gets passed to Stencil's initial bootstrap. This feature is only required
|
|
@@ -286,8 +293,11 @@ export interface ConfigExtras {
|
|
|
286
293
|
* if it's determined that shadow dom is already natively supported by the browser then
|
|
287
294
|
* it does not request the shim. When set to `false` it will avoid all shadow dom tests.
|
|
288
295
|
* Defaults to `false`.
|
|
296
|
+
*
|
|
297
|
+
* @deprecated Since Stencil v3.0.0. IE 11, Edge <= 18, and old Safari versions
|
|
298
|
+
* are no longer supported.
|
|
289
299
|
*/
|
|
290
|
-
|
|
300
|
+
__deprecated__shadowDomShim?: boolean;
|
|
291
301
|
/**
|
|
292
302
|
* When a component is first attached to the DOM, this setting will wait a single tick before
|
|
293
303
|
* rendering. This works around an Angular issue, where Angular attaches the elements before
|
|
@@ -1885,7 +1895,6 @@ export interface OutputTargetDistCustomElements extends OutputTargetBaseNext {
|
|
|
1885
1895
|
*/
|
|
1886
1896
|
externalRuntime?: boolean;
|
|
1887
1897
|
copy?: CopyTask[];
|
|
1888
|
-
inlineDynamicImports?: boolean;
|
|
1889
1898
|
includeGlobalScripts?: boolean;
|
|
1890
1899
|
minify?: boolean;
|
|
1891
1900
|
/**
|
|
@@ -1904,7 +1913,6 @@ export interface OutputTargetDistCustomElementsBundle extends OutputTargetBaseNe
|
|
|
1904
1913
|
empty?: boolean;
|
|
1905
1914
|
externalRuntime?: boolean;
|
|
1906
1915
|
copy?: CopyTask[];
|
|
1907
|
-
inlineDynamicImports?: boolean;
|
|
1908
1916
|
includeGlobalScripts?: boolean;
|
|
1909
1917
|
minify?: boolean;
|
|
1910
1918
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/testing",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-beta.0",
|
|
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
|
package/mock-doc/index.cjs
CHANGED
package/mock-doc/index.js
CHANGED
package/mock-doc/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-beta.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./internal/stencil-core/index.cjs",
|
|
6
6
|
"module": "./internal/stencil-core/index.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
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",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"postcss": "^8.2.8",
|
|
117
117
|
"prettier": "2.8.1",
|
|
118
118
|
"prompts": "2.4.2",
|
|
119
|
-
"puppeteer": "^19.
|
|
119
|
+
"puppeteer": "^19.4.1",
|
|
120
120
|
"rollup": "2.42.3",
|
|
121
121
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
122
122
|
"semver": "^7.3.7",
|
package/screenshot/package.json
CHANGED
package/sys/node/index.js
CHANGED
package/sys/node/package.json
CHANGED
package/sys/node/worker.js
CHANGED
package/testing/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Testing v3.0.0-
|
|
2
|
+
Stencil Testing v3.0.0-beta.0 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
function _lazyRequire(e) {
|
|
5
5
|
return new Proxy({}, {
|
|
@@ -3148,7 +3148,7 @@ const COMMON_DIR_MODULE_EXTS = [ ".tsx", ".ts", ".mjs", ".js", ".jsx", ".json",
|
|
|
3148
3148
|
d("/");
|
|
3149
3149
|
const C = {
|
|
3150
3150
|
name: "in-memory",
|
|
3151
|
-
version: "3.0.0-
|
|
3151
|
+
version: "3.0.0-beta.0",
|
|
3152
3152
|
events: a,
|
|
3153
3153
|
access: async e => u(e),
|
|
3154
3154
|
accessSync: u,
|