Skip to content

Commit

Permalink
0.0.159
Browse files Browse the repository at this point in the history
  • Loading branch information
wessberg committed May 5, 2022
1 parent 23e9a41 commit f0895bc
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [0.0.159](https://github.com/wessberg/polyfiller/compare/v0.0.158...v0.0.159) (2022-05-05)


### Features

* add the 'lit' option that can be passed to the shadow-dom feature or any of its aliases such as web-components to include its polyfill support layer ([23e9a41](https://github.com/wessberg/polyfiller/commit/23e9a4153984847888269b37f79bc0cad764b269))



## [0.0.158](https://github.com/wessberg/polyfiller/compare/v0.0.157...v0.0.158) (2022-05-05)


Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,10 @@ For example: `systemjs|variant=s` selects the _s_ variant, while `systemjs|varia

#### Extra options for `shadow-dom`

| Option | Description |
| ---------------- | -------------------------------------------------------------------------------------------------- |
| `experimental` | You can pass the `experimental` option to `shadow-dom` (or any of its aliases such as `web-components`) to base it on some experimental features that may reduce bugs in older browsers such as IE and Edge <= 15. |
| `lit` | If you're going to be using [Lit](https://lit.dev/), you can also pass the `lit` option to `shadow-dom` (or any of its aliases such as `web-components`) to include its [polyfill support layer](https://lit.dev/docs/releases/upgrade/#load-polyfill-support-when-using-web-components-polyfills). |
| Option | Description |
| -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `experimental` | You can pass the `experimental` option to `shadow-dom` (or any of its aliases such as `web-components`) to base it on some experimental features that may reduce bugs in older browsers such as IE and Edge <= 15. |
| `lit` | If you're going to be using [Lit](https://lit.dev/), you can also pass the `lit` option to `shadow-dom` (or any of its aliases such as `web-components`) to include its [polyfill support layer](https://lit.dev/docs/releases/upgrade/#load-polyfill-support-when-using-web-components-polyfills). |

### Usage in a Web Worker/Service Worker

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wessberg/polyfiller",
"version": "0.0.158",
"version": "0.0.159",
"description": "Never worry about polyfills again.",
"files": [
"dist/**/*.*",
Expand Down

0 comments on commit f0895bc

Please sign in to comment.