@stencil/core 2.5.0 → 2.6.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/CHANGELOG.md +19 -181
- package/NOTICE.md +109 -2
- 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 +871 -419
- 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 +5 -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/shadow-css.js +1 -1
- package/internal/hydrate/index.js +3 -1
- package/internal/hydrate/package.json +1 -1
- package/internal/package.json +1 -1
- package/internal/stencil-core/index.d.ts +1 -0
- package/internal/stencil-core/index.js +1 -0
- package/internal/stencil-public-runtime.d.ts +7 -0
- package/internal/testing/index.js +3 -2
- 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 +2 -3
- package/screenshot/compare/.DS_Store +0 -0
- package/screenshot/package.json +1 -1
- package/sys/.DS_Store +0 -0
- package/sys/deno/index.js +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 +275 -140
- package/testing/package.json +1 -1
- package/screenshot/connector-base.d.ts +0 -42
- package/screenshot/connector-local.d.ts +0 -7
- package/screenshot/index.d.ts +0 -3
- package/screenshot/pixel-match.d.ts +0 -1
- package/screenshot/screenshot-compare.d.ts +0 -3
- package/screenshot/screenshot-fs.d.ts +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
# 📟 [2.6.0](https://github.com/ionic-team/stencil/compare/v2.6.0-0...v2.6.0) (2021-06-02)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **platform:** add setPlatformHelpers() api ([f09abe6](https://github.com/ionic-team/stencil/commit/f09abe6455887025d508e645e7c8c024a5c42fa2))
|
|
6
|
+
|
|
7
|
+
## 🛥 [2.5.2](https://github.com/ionic-team/stencil/compare/v2.5.1...v2.5.2) (2021-03-30)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- worker support for safari ([#2869](https://github.com/ionic-team/stencil/issues/2869)) ([f91548f](https://github.com/ionic-team/stencil/commit/f91548fa90da39937a8f7b7320134a2ca8db71e0))
|
|
12
|
+
|
|
13
|
+
## 🐭 [2.5.1](https://github.com/ionic-team/stencil/compare/v2.5.0...v2.5.1) (2021-03-25)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
- worker transferable work both ways ([#2866](https://github.com/ionic-team/stencil/issues/2866)) ([46ee1a2](https://github.com/ionic-team/stencil/commit/46ee1a2520b31636e2f58ea37ced71c852a5d2e8))
|
|
18
|
+
- **worker-plugin:** transfer OffscreenCanvas ([#2849](https://github.com/ionic-team/stencil/issues/2849)) ([969da47](https://github.com/ionic-team/stencil/commit/969da47ef752cfb74a84f0bb7cea017854205071))
|
|
19
|
+
|
|
1
20
|
# 🎠 [2.5.0](https://github.com/ionic-team/stencil/compare/v2.4.0...v2.5.0) (2021-03-22)
|
|
2
21
|
|
|
3
22
|
### Features
|
|
@@ -362,184 +381,3 @@ The `Context` object was originally added in the `0.x.x` versions of Stencil, be
|
|
|
362
381
|
- **resolve:** fix typescript resolve patch ([1ef8097](https://github.com/ionic-team/stencil/commit/1ef8097ebab16a1475958ab3580c690f767036de))
|
|
363
382
|
- **screenshot:** update compare.html in e2e screenshot ([#2585](https://github.com/ionic-team/stencil/issues/2585)) ([85f6504](https://github.com/ionic-team/stencil/commit/85f6504bf89a05321a1990f6b4e1244044244fb4))
|
|
364
383
|
- **sys:** ensure in-memory sys checks file data ([f7c03c2](https://github.com/ionic-team/stencil/commit/f7c03c2708aab1953a4536fbd9c3b927ebfb6fcd))
|
|
365
|
-
|
|
366
|
-
## 🐬 [1.16.5](https://github.com/ionic-team/stencil/compare/v1.16.4...v1.16.5) (2020-07-22)
|
|
367
|
-
|
|
368
|
-
### Bug Fixes
|
|
369
|
-
|
|
370
|
-
- **watch:** close all processes on sigint ([2f923e0](https://github.com/ionic-team/stencil/commit/2f923e0d053c29a389faf0a6242344aef2e57aa7))
|
|
371
|
-
|
|
372
|
-
## 🏜 [1.16.4](https://github.com/ionic-team/stencil/compare/v1.16.3...v1.16.4) (2020-07-18)
|
|
373
|
-
|
|
374
|
-
- TypeScript 3.9.7
|
|
375
|
-
- @rollup/plugin-node-resolve 8.4.0
|
|
376
|
-
|
|
377
|
-
### Bug Fixes
|
|
378
|
-
|
|
379
|
-
- **resolve:** fix rollup node resolve realpath checks ([d3f4c4f](https://github.com/ionic-team/stencil/commit/d3f4c4f03cb54c7ef2a0e89273161f731db9bcba))
|
|
380
|
-
|
|
381
|
-
## 🚁 [1.16.3](https://github.com/ionic-team/stencil/compare/v1.16.2...v1.16.3) (2020-07-15)
|
|
382
|
-
|
|
383
|
-
### Bug Fixes
|
|
384
|
-
|
|
385
|
-
- **cli:** export parseFlags api ([3bd1904](https://github.com/ionic-team/stencil/commit/3bd190460120cde9d5def74a7cb9e928d1fb5546))
|
|
386
|
-
- **commonjs:** bump commonjs plugin to 14.0.0 ([7eee192](https://github.com/ionic-team/stencil/commit/7eee19286c8878cee498c61418db502ede17b33c))
|
|
387
|
-
- **compiler:** check reference type text ([fdc271c](https://github.com/ionic-team/stencil/commit/fdc271c47b8d0e540469077ff495b35c0633e7e0)), closes [#2569](https://github.com/ionic-team/stencil/issues/2569)
|
|
388
|
-
- **hydrated:** fix custom hydratedFlag config ([013ca8c](https://github.com/ionic-team/stencil/commit/013ca8c8ae79ea76ae8fe78daf4d856c96cb6454)), closes [#2574](https://github.com/ionic-team/stencil/issues/2574)
|
|
389
|
-
- **prerender:** await hashed template html ([f4b1799](https://github.com/ionic-team/stencil/commit/f4b17994d43106f3e6e54b5db1bca3244692794d))
|
|
390
|
-
- **sys-node:** improve os.cpu() checks to read model ([05ea6df](https://github.com/ionic-team/stencil/commit/05ea6dfb61be3cd64dad1abc86e4d88a338ee961)), closes [#2565](https://github.com/ionic-team/stencil/issues/2565)
|
|
391
|
-
- **test:** fix testing.testEnvironment setting ([645f3a0](https://github.com/ionic-team/stencil/commit/645f3a0ba98ec322b1f2f21feb68caa813ab30e5)), closes [#2425](https://github.com/ionic-team/stencil/issues/2425)
|
|
392
|
-
- **type definition:** add abbr to ThHTMLAttributes ([#2568](https://github.com/ionic-team/stencil/issues/2568)) ([d0f7ff1](https://github.com/ionic-team/stencil/commit/d0f7ff145973bbb397eb9801b3c13faff683eda3))
|
|
393
|
-
|
|
394
|
-
### Features
|
|
395
|
-
|
|
396
|
-
- **prerendering:** pass results to afterHydrate ([#2567](https://github.com/ionic-team/stencil/issues/2567)) ([135d49e](https://github.com/ionic-team/stencil/commit/135d49e6d0621fa9f0143f0b67cf2e0bc2ea6ddc))
|
|
397
|
-
- **transpile:** add styleImportData option to not include style import queryparams ([38d5821](https://github.com/ionic-team/stencil/commit/38d582139ba06951a2e0509ca1153bf980291c87))
|
|
398
|
-
|
|
399
|
-
## 🍷 [1.16.2](https://github.com/ionic-team/stencil/compare/v1.16.1...v1.16.2) (2020-07-10)
|
|
400
|
-
|
|
401
|
-
### Bug Fixes
|
|
402
|
-
|
|
403
|
-
- **checker:** fix how often to check for stencil updates ([eb0da10](https://github.com/ionic-team/stencil/commit/eb0da107b531287b5fcce712f49b6198b52781c6))
|
|
404
|
-
|
|
405
|
-
## 🎱 [1.16.1](https://github.com/ionic-team/stencil/compare/v1.16.0...v1.16.1) (2020-07-09)
|
|
406
|
-
|
|
407
|
-
### Bug Fixes
|
|
408
|
-
|
|
409
|
-
- **cli:** export cli types and runTask, move checkVersion to sys, add tests ([02c62b5](https://github.com/ionic-team/stencil/commit/02c62b5e23322c3e46d92514d1abceed870727b6))
|
|
410
|
-
- **sys:** ensure typescript sys patched for initial load ([90913df](https://github.com/ionic-team/stencil/commit/90913df7fee5ccf1b17cbebda2c5e9edaaaa5648))
|
|
411
|
-
- **typescript:** correctly patch typescript import ([b24933d](https://github.com/ionic-team/stencil/commit/b24933dfe9b285578d90e15846ea4f5991254415)), closes [#2561](https://github.com/ionic-team/stencil/issues/2561)
|
|
412
|
-
|
|
413
|
-
- Rollup 2.21.0
|
|
414
|
-
|
|
415
|
-
# 🏊 [1.16.0](https://github.com/ionic-team/stencil/compare/v1.15.0...v1.16.0) (2020-07-06)
|
|
416
|
-
|
|
417
|
-
### Features
|
|
418
|
-
|
|
419
|
-
- TypeScript 3.9.6
|
|
420
|
-
- Rollup 2.19.0
|
|
421
|
-
- **deno:** create deno system to run cli and compiler from [Deno](https://deno.land/) _Experimental!!_ ([b3d79c6](https://github.com/ionic-team/stencil/commit/b3d79c681d22d6c9aac51f70215e909f82b89048))
|
|
422
|
-
|
|
423
|
-
### Bug Fixes
|
|
424
|
-
|
|
425
|
-
- **compiler:** fix transitive module dependencies in unit tests ([#2178](https://github.com/ionic-team/stencil/issues/2178)) ([#2549](https://github.com/ionic-team/stencil/issues/2549)) ([6585dd1](https://github.com/ionic-team/stencil/commit/6585dd1f9b0d4c2ad122cc4c8d568365de0a2873))
|
|
426
|
-
- **e2e:** readiness flag on slow or overloaded computers ([#2525](https://github.com/ionic-team/stencil/issues/2525)) ([a19ac90](https://github.com/ionic-team/stencil/commit/a19ac9085af62b831ff78d515b92d5789f015c60))
|
|
427
|
-
- **jest:** correctly set coverageThreshold ([#2529](https://github.com/ionic-team/stencil/issues/2529)) ([915bfce](https://github.com/ionic-team/stencil/commit/915bfce417630b71806c4a1a1d90ad5e86ed0093))
|
|
428
|
-
- **jsx:** add autocomplete to `<select>` ([69ccbf1](https://github.com/ionic-team/stencil/commit/69ccbf1fcffed429257349ea269da90fbd9acc73))
|
|
429
|
-
- **worker:** use importScript() to load cross-origin worker ([d6b73b1](https://github.com/ionic-team/stencil/commit/d6b73b1bbf0024ab93baa8577193408db9801f85))
|
|
430
|
-
- **compiler:** ensure event emitters defined before user statements ([1b52d43](https://github.com/ionic-team/stencil/commit/1b52d435f204a3241b69e37973c56741d2050e22))
|
|
431
|
-
- **runtime:** correctly set isWatchReady flag for custom elements build ([36b4978](https://github.com/ionic-team/stencil/commit/36b4978e467383d8ea4181c7104fd46654c06698))
|
|
432
|
-
- **treeshaking:** update build conditional treeskaking optimization ([2ba24b1](https://github.com/ionic-team/stencil/commit/2ba24b1e109b27daa69a8e9a4571a3a6d0577e70))
|
|
433
|
-
|
|
434
|
-
# 🎙 [1.15.0](https://github.com/ionic-team/stencil/compare/v1.14.0...v1.15.0) (2020-06-25)
|
|
435
|
-
|
|
436
|
-
### Features
|
|
437
|
-
|
|
438
|
-
- **compiler:** auto detect css parts ([#2510](https://github.com/ionic-team/stencil/issues/2510)) ([bce12b9](https://github.com/ionic-team/stencil/commit/bce12b92c560d3d90335ad43125969e913ea6e8d))
|
|
439
|
-
- **types:** add `componentShouldUpdate` docs ([#2505](https://github.com/ionic-team/stencil/issues/2505)) ([0425a78](https://github.com/ionic-team/stencil/commit/0425a78ecec6c6f2fe047b9c9ba6f77b46cc554a)), closes [#2489](https://github.com/ionic-team/stencil/issues/2489)
|
|
440
|
-
- **typescript:** update to typescript 3.9.5 ([2a8cd7d](https://github.com/ionic-team/stencil/commit/2a8cd7d9a27b1f14f0da8b95ac03307f384cd65d))
|
|
441
|
-
|
|
442
|
-
* Rollup 2.18.0
|
|
443
|
-
|
|
444
|
-
### Bug Fixes
|
|
445
|
-
|
|
446
|
-
- **css:** fix compilation of multiple styleURLs ([#2493](https://github.com/ionic-team/stencil/issues/2493)) ([d91819c](https://github.com/ionic-team/stencil/commit/d91819ccf8a4d91af2e9a1a01bb5cbb7160a9236)), closes [#2432](https://github.com/ionic-team/stencil/issues/2432)
|
|
447
|
-
- **jsx:** fix refX / refY types ([6cec36e](https://github.com/ionic-team/stencil/commit/6cec36eb792b9af9d1d3367916273b3a320c327d)), closes [#2503](https://github.com/ionic-team/stencil/issues/2503)
|
|
448
|
-
- change autocapitalize types to any to avoid conflicts ([#2509](https://github.com/ionic-team/stencil/issues/2509)) ([19746d6](https://github.com/ionic-team/stencil/commit/19746d6ab99b26ccb1b7b13ca5af2b7d2d362220))
|
|
449
|
-
- **cli:** correct import in generated spec tests ([#2486](https://github.com/ionic-team/stencil/issues/2486)) ([9a80c41](https://github.com/ionic-team/stencil/commit/9a80c4158a488b57bfdd1244d1ba126dc4a586ff))
|
|
450
|
-
- **client:** import client platform from patch ([dbacafc](https://github.com/ionic-team/stencil/commit/dbacafc443f3819ba05f3bd4f79c75965b5de0bd))
|
|
451
|
-
- **compiler:** types should not be based on package.json ([65cdfbd](https://github.com/ionic-team/stencil/commit/65cdfbd10f28299465dab8897849cd6e1a6a823e)), closes [#2460](https://github.com/ionic-team/stencil/issues/2460)
|
|
452
|
-
- **dist:** copy assets to the dist folder ([2a8b1f1](https://github.com/ionic-team/stencil/commit/2a8b1f1381a8cd7f6008dd9873ebe6784a47ba48))
|
|
453
|
-
- **worker:** inline worker if there is a dist output target ([#2450](https://github.com/ionic-team/stencil/issues/2450)) ([a96b346](https://github.com/ionic-team/stencil/commit/a96b346d55c560e9990b6b4628f1aca34730918e)), closes [#2438](https://github.com/ionic-team/stencil/issues/2438)
|
|
454
|
-
- do not emit nomodule script of es5 is disabled ([39c51db](https://github.com/ionic-team/stencil/commit/39c51db66886846b0d224f8c02affd6933dd096b))
|
|
455
|
-
- **runtime:** enumerated boolean attributes ([0d72aee](https://github.com/ionic-team/stencil/commit/0d72aeea51cb754615fed74020b035b1853ad740))
|
|
456
|
-
- **watch:** fix watch callbacks in custom elements build ([d052fe4](https://github.com/ionic-team/stencil/commit/d052fe40a1007e39d636455d1dbbb3eb171cea16)), closes [#2478](https://github.com/ionic-team/stencil/issues/2478)
|
|
457
|
-
- **#2366:** rehydrate slot child ([e152773](https://github.com/ionic-team/stencil/commit/e1527738bcbac87d9cfbdcf492a681a72f56d699)), closes [#2366](https://github.com/ionic-team/stencil/issues/2366)
|
|
458
|
-
- **dev-server:** fix dev-server on ie11 ([db19ba7](https://github.com/ionic-team/stencil/commit/db19ba7420729051b0ad277703097175a93e74a8))
|
|
459
|
-
- **hydrate:** fix hydrate attach styles ([d891537](https://github.com/ionic-team/stencil/commit/d891537fcb7fab309f3c2ba5d15f22e68d7d1c87))
|
|
460
|
-
- **polyfill:** add proper url base to import shim ([#2410](https://github.com/ionic-team/stencil/issues/2410)) ([96dd746](https://github.com/ionic-team/stencil/commit/96dd746798895a6200981d253c358bee90d4c6cc))
|
|
461
|
-
- **resolve:** fix rollup and commonjs resolve ([0ea9c71](https://github.com/ionic-team/stencil/commit/0ea9c714ed9bb4cfb85492c0d9afbb92cf3c2985)), closes [#2461](https://github.com/ionic-team/stencil/issues/2461)
|
|
462
|
-
- **sass:** fix sass imports for scoped packages ([e551be2](https://github.com/ionic-team/stencil/commit/e551be263150c34a9c339db18416677085b2e4fe)), closes [#2521](https://github.com/ionic-team/stencil/issues/2521)
|
|
463
|
-
|
|
464
|
-
### Performance Improvements
|
|
465
|
-
|
|
466
|
-
- reenable const class optimization ([438c6b3](https://github.com/ionic-team/stencil/commit/438c6b310f24d93dc82aba1614e0f9d91dbccd7a))
|
|
467
|
-
|
|
468
|
-
### Internal Changes
|
|
469
|
-
|
|
470
|
-
- Move browser patch fns out of `@stencil/core/internal/client`
|
|
471
|
-
- Created `@stencil/core/internal/client/patch` to be used for lazy load builds
|
|
472
|
-
- Internal packages now use `index.cjs.js` for CommonJS builds, and `index.js` for ESM builds
|
|
473
|
-
- Updated internal package.json's `main` property to `index.cjs.js`
|
|
474
|
-
- Removed `require('url')` from Node builds now that `URL` is global since Node v10
|
|
475
|
-
- Custom Elements output target will default to build to `index.js` instead of `index.mjs`
|
|
476
|
-
|
|
477
|
-
# 🏒 [1.14.0](https://github.com/ionic-team/stencil/compare/v1.13.0...v1.14.0) (2020-05-29)
|
|
478
|
-
|
|
479
|
-
### Features
|
|
480
|
-
|
|
481
|
-
- `dist-custom-elements-bundle` output target improvements/fixes
|
|
482
|
-
- TypeScript 3.9.3
|
|
483
|
-
- Rollup 2.10.9
|
|
484
|
-
- Requires NodeJS >= 10.13.0
|
|
485
|
-
- **import-format:** text and url format import param ([4f1f39a](https://github.com/ionic-team/stencil/commit/4f1f39a4e4d76d55952df1724448164aa3730f3f))
|
|
486
|
-
- add focusin and focusout event declarations ([#2436](https://github.com/ionic-team/stencil/issues/2436)) ([0d730d6](https://github.com/ionic-team/stencil/commit/0d730d672ef477266b12b31cf93bc98fc86ba8f0)), closes [#2435](https://github.com/ionic-team/stencil/issues/2435)
|
|
487
|
-
|
|
488
|
-
### Performance Improvements
|
|
489
|
-
|
|
490
|
-
- **compiler:** do not build hydrated in dev mode ([#2448](https://github.com/ionic-team/stencil/issues/2448)) ([8e65201](https://github.com/ionic-team/stencil/commit/8e6520175e48eee729a372ca9304ffbf586518f0))
|
|
491
|
-
- **transpile:** skip component.d.ts formatting ([#2304](https://github.com/ionic-team/stencil/issues/2304)) ([e3f2700](https://github.com/ionic-team/stencil/commit/e3f270037dc39c9026d28803ed35c2c1c4117c31))
|
|
492
|
-
|
|
493
|
-
### Bug Fixes
|
|
494
|
-
|
|
495
|
-
- **runtime:** schedule update when value change in ref() ([54ee75f](https://github.com/ionic-team/stencil/commit/54ee75f6cb8130276a00af6fff479ea8e0741833))
|
|
496
|
-
- emit private types in local component.d.ts ([#2447](https://github.com/ionic-team/stencil/issues/2447)) ([9d444ff](https://github.com/ionic-team/stencil/commit/9d444ff9dfa13f961c95fc067f280972a75599b5)), closes [#2440](https://github.com/ionic-team/stencil/issues/2440)
|
|
497
|
-
- **cli:** fix --version and --help flags ([40baa54](https://github.com/ionic-team/stencil/commit/40baa54a5f02233afaf559d6163754463d2d9dfb))
|
|
498
|
-
- **compiler:** components without mode should never get mode suffix ([#2445](https://github.com/ionic-team/stencil/issues/2445)) ([11e1ccb](https://github.com/ionic-team/stencil/commit/11e1ccb73034f09e625d2bef2e5e4886bb900199))
|
|
499
|
-
- **compiler:** use transformed css to check changed imports of globalStyle ([#2422](https://github.com/ionic-team/stencil/issues/2422)) ([7742a87](https://github.com/ionic-team/stencil/commit/7742a87be0b204fb7e59e2185188efef157a51fe))
|
|
500
|
-
- **dev-server:** allow no trailing slash for custom base url ([0fae632](https://github.com/ionic-team/stencil/commit/0fae632c703604a53a76a488a8905e270baf4f38))
|
|
501
|
-
- **compiler:** disable const class optimization ([eac02cb](https://github.com/ionic-team/stencil/commit/eac02cb06cb7b3507aa5fc89c0bc3c804ac66936)), closes [#2462](https://github.com/ionic-team/stencil/issues/2462)
|
|
502
|
-
- **custom-elements:** generate types for ce build, fix import paths ([22f3f23](https://github.com/ionic-team/stencil/commit/22f3f23783e5bd0790c13c0e7f3720c0d7be28c0))
|
|
503
|
-
- **transform:** always update lazy class declaration ([6dd59b3](https://github.com/ionic-team/stencil/commit/6dd59b3b1fa922518e96335efe42f75f311583e0))
|
|
504
|
-
- **ts:** ts resolve failedLookupLocations fix ([30203b8](https://github.com/ionic-team/stencil/commit/30203b86b0bb2f43706d55ba6d07f6867f81ce38))
|
|
505
|
-
- **spellcheck:** put an any on it ([#2476](https://github.com/ionic-team/stencil/issues/2476)) ([1418c04](https://github.com/ionic-team/stencil/commit/1418c04ec88df877c8f7539a9e5103bc6f9ed0ba))
|
|
506
|
-
- **custom-elements:** fix copy tasks ([d810649](https://github.com/ionic-team/stencil/commit/d810649a70b133776ee07cd41e4f9150487e8586))
|
|
507
|
-
|
|
508
|
-
# 🚂 [1.13.0](https://github.com/ionic-team/stencil/compare/v1.12.7...v1.13.0) (2020-05-11)
|
|
509
|
-
|
|
510
|
-
### Features
|
|
511
|
-
|
|
512
|
-
- **ssg:** static site generation ([2a38293](https://github.com/ionic-team/stencil/commit/2a382933f6cef826084e91610833165fb6e8e7fa))
|
|
513
|
-
- **prerender:** parse typed prerender config ([7b6aaf7](https://github.com/ionic-team/stencil/commit/7b6aaf7b0c6ec7e7050f7494fc7d475fe0db5bf8))
|
|
514
|
-
|
|
515
|
-
* Add `staticSite` to `prerender.config.ts`
|
|
516
|
-
* Add `staticDocument` to `PrerenderHydrateOptions`
|
|
517
|
-
* Add `staticComponents` to `HydrateDocumentOptions`
|
|
518
|
-
* Assume a static site build when `index.html` does not include scripts
|
|
519
|
-
* Do not define custom element for static only components
|
|
520
|
-
* Do not add link rel=modulepreload for static only components
|
|
521
|
-
* Do not minify inline script/styles if already minified within template
|
|
522
|
-
* Ensure valid "src" URL within mock-doc
|
|
523
|
-
|
|
524
|
-
### Bug Fixes
|
|
525
|
-
|
|
526
|
-
- **docs:** include parts in top level docs json ([#2412](https://github.com/ionic-team/stencil/issues/2412)) ([131904f](https://github.com/ionic-team/stencil/commit/131904f33e8a57c2219b6d4e17f5193a781c2139))
|
|
527
|
-
- **gatsby:** prevent clientside for ssr/ssg node env ([6bec727](https://github.com/ionic-team/stencil/commit/6bec7275fb8870f552f682a3b26814984a6641fe)), closes [#2411](https://github.com/ionic-team/stencil/issues/2411)
|
|
528
|
-
- **jest:** change package used to import runCli ([#2387](https://github.com/ionic-team/stencil/issues/2387)) ([620d350](https://github.com/ionic-team/stencil/commit/620d35008323312f5e8898beb295dc527a7b4bdf))
|
|
529
|
-
- **jest:** jest testing updates ([6d69f53](https://github.com/ionic-team/stencil/commit/6d69f53b84e087217fd49a5914d6799ebc366e70))
|
|
530
|
-
- **jest:** ensure jest-cli, set presets ([0d3ed7d](https://github.com/ionic-team/stencil/commit/0d3ed7d4cb7983f1e949d3a9d31c7b5ecfe58f1a))
|
|
531
|
-
- **polyfill:** slot child fix ([#2375](https://github.com/ionic-team/stencil/issues/2375)) ([654d753](https://github.com/ionic-team/stencil/commit/654d75353cf13e511f54d10208c03f7a6d8a2e89)), closes [#2373](https://github.com/ionic-team/stencil/issues/2373)
|
|
532
|
-
- **runtime:** fix lifecycle state values ([#2414](https://github.com/ionic-team/stencil/issues/2414)) ([8302fed](https://github.com/ionic-team/stencil/commit/8302fed01b13b18436dc1a8d6bde231643f8f448))
|
|
533
|
-
- **dev-mode:** always add dist-types ([#2402](https://github.com/ionic-team/stencil/issues/2402)) ([f523461](https://github.com/ionic-team/stencil/commit/f523461c325aacc28aa6141097ff94b8fbd8550f))
|
|
534
|
-
- **e2e:** fix puppeteer types ([4b38e7d](https://github.com/ionic-team/stencil/commit/4b38e7dc40078a2f8ffb2cda65114dbea9b062d7))
|
|
535
|
-
- **hydrate:** set shadowRoot property on host element ([28128df](https://github.com/ionic-team/stencil/commit/28128dfb3c1edbb7d7b1acf9fae132b9dfe2ac8f)), closes [#2301](https://github.com/ionic-team/stencil/issues/2301)
|
|
536
|
-
- **jsx:** add missing 'as' attribute to LinkHTMLAttributes ([#2404](https://github.com/ionic-team/stencil/issues/2404)) ([28f6cc5](https://github.com/ionic-team/stencil/commit/28f6cc5ec47443516be54e3c3594dfeb32fad647))
|
|
537
|
-
- **jsx:** expose exportparts ([180e890](https://github.com/ionic-team/stencil/commit/180e890d0b86f0156dd57759ddb7ab60f472ed34)), closes [#2383](https://github.com/ionic-team/stencil/issues/2383)
|
|
538
|
-
- **prerender:** fix prerender.config.ts transpiling ([763c0be](https://github.com/ionic-team/stencil/commit/763c0bea7b636b2387b3efa0c1c0513ec0fdbf4c))
|
|
539
|
-
- **types:** spellcheck is an string attribute ([caf03fa](https://github.com/ionic-team/stencil/commit/caf03faca3fc1bab6cfb5df0fea2675ea37f4807)), closes [#2186](https://github.com/ionic-team/stencil/issues/2186) [#2181](https://github.com/ionic-team/stencil/issues/2181)
|
|
540
|
-
- add types for toggle event of html5 details ([#2421](https://github.com/ionic-team/stencil/issues/2421)) ([ebf42cf](https://github.com/ionic-team/stencil/commit/ebf42cfc238a77b8c224a95fcdedfe0a56a006eb)), closes [#2398](https://github.com/ionic-team/stencil/issues/2398)
|
|
541
|
-
- **test:** allow setRequestInterception to ba called from user tests ([#2330](https://github.com/ionic-team/stencil/issues/2330)) ([ff7fb41](https://github.com/ionic-team/stencil/commit/ff7fb41185bac5510b429551a2808249f4547c23))
|
|
542
|
-
- **testing:** MockResponse404 is not ok ([#2420](https://github.com/ionic-team/stencil/issues/2420)) ([43d30dc](https://github.com/ionic-team/stencil/commit/43d30dc5bb25caef747ec6e6398371888b6034e6))
|
|
543
|
-
- add warning for missing include of the srcDir ([c6b954c](https://github.com/ionic-team/stencil/commit/c6b954ca6ddb25f90123a841726c4f8f8daf9c9b)), closes [#2380](https://github.com/ionic-team/stencil/issues/2380)
|
|
544
|
-
- **output:** fix custom elements build for plain cmps ([1a5095a](https://github.com/ionic-team/stencil/commit/1a5095ac36fbcff8566f77dff551a776a2e0dce1))
|
|
545
|
-
- **testing:** don't remove request interceptor ([8a18112](https://github.com/ionic-team/stencil/commit/8a18112de392dfdd70529dcefdd8436cec29402a))
|
package/NOTICE.md
CHANGED
|
@@ -330,11 +330,11 @@ License: MIT
|
|
|
330
330
|
|
|
331
331
|
License: MIT
|
|
332
332
|
|
|
333
|
-
Author: [Sindre Sorhus](sindresorhus.com)
|
|
333
|
+
Author: [Sindre Sorhus](https://sindresorhus.com)
|
|
334
334
|
|
|
335
335
|
> MIT License
|
|
336
336
|
>
|
|
337
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
337
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
338
338
|
>
|
|
339
339
|
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
340
340
|
>
|
|
@@ -928,6 +928,13 @@ License: MIT
|
|
|
928
928
|
|
|
929
929
|
Author: Rich Harris
|
|
930
930
|
|
|
931
|
+
> Copyright (c) 2015-20 [these people](https://github.com/Rich-Harris/estree-walker/graphs/contributors)
|
|
932
|
+
>
|
|
933
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
934
|
+
>
|
|
935
|
+
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
936
|
+
>
|
|
937
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
931
938
|
|
|
932
939
|
--------
|
|
933
940
|
|
|
@@ -1080,6 +1087,38 @@ Author: Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)
|
|
|
1080
1087
|
|
|
1081
1088
|
--------
|
|
1082
1089
|
|
|
1090
|
+
## `function-bind`
|
|
1091
|
+
|
|
1092
|
+
License: MIT
|
|
1093
|
+
|
|
1094
|
+
Author: Raynos <raynos2@gmail.com>
|
|
1095
|
+
|
|
1096
|
+
Contributors: Raynos, [Jordan Harband](https://github.com/ljharb)
|
|
1097
|
+
|
|
1098
|
+
Homepage: https://github.com/Raynos/function-bind
|
|
1099
|
+
|
|
1100
|
+
> Copyright (c) 2013 Raynos.
|
|
1101
|
+
>
|
|
1102
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1103
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
1104
|
+
> in the Software without restriction, including without limitation the rights
|
|
1105
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1106
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
1107
|
+
> furnished to do so, subject to the following conditions:
|
|
1108
|
+
>
|
|
1109
|
+
> The above copyright notice and this permission notice shall be included in
|
|
1110
|
+
> all copies or substantial portions of the Software.
|
|
1111
|
+
>
|
|
1112
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1113
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1114
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1115
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1116
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1117
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1118
|
+
> THE SOFTWARE.
|
|
1119
|
+
|
|
1120
|
+
--------
|
|
1121
|
+
|
|
1083
1122
|
## `glob`
|
|
1084
1123
|
|
|
1085
1124
|
License: ISC
|
|
@@ -1132,6 +1171,43 @@ License: ISC
|
|
|
1132
1171
|
|
|
1133
1172
|
--------
|
|
1134
1173
|
|
|
1174
|
+
## `has`
|
|
1175
|
+
|
|
1176
|
+
License: MIT
|
|
1177
|
+
|
|
1178
|
+
License: MIT
|
|
1179
|
+
|
|
1180
|
+
Author: Thiago de Arruda
|
|
1181
|
+
|
|
1182
|
+
Contributors: [Jordan Harband](http://ljharb.codes)
|
|
1183
|
+
|
|
1184
|
+
Homepage: https://github.com/tarruda/has
|
|
1185
|
+
|
|
1186
|
+
> Copyright (c) 2013 Thiago de Arruda
|
|
1187
|
+
>
|
|
1188
|
+
> Permission is hereby granted, free of charge, to any person
|
|
1189
|
+
> obtaining a copy of this software and associated documentation
|
|
1190
|
+
> files (the "Software"), to deal in the Software without
|
|
1191
|
+
> restriction, including without limitation the rights to use,
|
|
1192
|
+
> copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1193
|
+
> copies of the Software, and to permit persons to whom the
|
|
1194
|
+
> Software is furnished to do so, subject to the following
|
|
1195
|
+
> conditions:
|
|
1196
|
+
>
|
|
1197
|
+
> The above copyright notice and this permission notice shall be
|
|
1198
|
+
> included in all copies or substantial portions of the Software.
|
|
1199
|
+
>
|
|
1200
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
1201
|
+
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
1202
|
+
> OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
1203
|
+
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
1204
|
+
> HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
1205
|
+
> WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
1206
|
+
> FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
1207
|
+
> OTHER DEALINGS IN THE SOFTWARE.
|
|
1208
|
+
|
|
1209
|
+
--------
|
|
1210
|
+
|
|
1135
1211
|
## `inflight`
|
|
1136
1212
|
|
|
1137
1213
|
License: ISC
|
|
@@ -1180,6 +1256,37 @@ License: ISC
|
|
|
1180
1256
|
|
|
1181
1257
|
--------
|
|
1182
1258
|
|
|
1259
|
+
## `is-core-module`
|
|
1260
|
+
|
|
1261
|
+
License: MIT
|
|
1262
|
+
|
|
1263
|
+
Author: Jordan Harband <ljharb@gmail.com>
|
|
1264
|
+
|
|
1265
|
+
Homepage: https://github.com/inspect-js/is-core-module
|
|
1266
|
+
|
|
1267
|
+
> The MIT License (MIT)
|
|
1268
|
+
>
|
|
1269
|
+
> Copyright (c) 2014 Dave Justice
|
|
1270
|
+
>
|
|
1271
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
1272
|
+
> this software and associated documentation files (the "Software"), to deal in
|
|
1273
|
+
> the Software without restriction, including without limitation the rights to
|
|
1274
|
+
> use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
1275
|
+
> the Software, and to permit persons to whom the Software is furnished to do so,
|
|
1276
|
+
> subject to the following conditions:
|
|
1277
|
+
>
|
|
1278
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
1279
|
+
> copies or substantial portions of the Software.
|
|
1280
|
+
>
|
|
1281
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1282
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
1283
|
+
> FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
1284
|
+
> COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
1285
|
+
> IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
1286
|
+
> CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1287
|
+
|
|
1288
|
+
--------
|
|
1289
|
+
|
|
1183
1290
|
## `is-docker`
|
|
1184
1291
|
|
|
1185
1292
|
License: MIT
|
package/cli/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil CLI (CommonJS) v2.
|
|
2
|
+
Stencil CLI (CommonJS) v2.6.0 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
@@ -478,7 +478,7 @@ const getNpmConfigEnvArgs = (sys) => {
|
|
|
478
478
|
const dependencies = [
|
|
479
479
|
{
|
|
480
480
|
name: "@stencil/core",
|
|
481
|
-
version: "2.
|
|
481
|
+
version: "2.6.0",
|
|
482
482
|
main: "compiler/stencil.js",
|
|
483
483
|
resources: [
|
|
484
484
|
"package.json",
|
package/cli/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil CLI v2.
|
|
2
|
+
Stencil CLI v2.6.0 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
const toLowerCase = (str) => str.toLowerCase();
|
|
5
5
|
const dashToPascalCase = (str) => toLowerCase(str)
|
|
@@ -454,7 +454,7 @@ const getNpmConfigEnvArgs = (sys) => {
|
|
|
454
454
|
const dependencies = [
|
|
455
455
|
{
|
|
456
456
|
name: "@stencil/core",
|
|
457
|
-
version: "2.
|
|
457
|
+
version: "2.6.0",
|
|
458
458
|
main: "compiler/stencil.js",
|
|
459
459
|
resources: [
|
|
460
460
|
"package.json",
|
package/cli/package.json
CHANGED