Skip to content

Commit dd00f68

Browse files
authored
feat(*): Upgrade to Angular 13, enable partial-Ivy compilation (#235)
- Updgrade to Angular 13, enable partial-Ivy compilation - Remove polyfills - Update README BREAKING CHANGE: The upgrade to Angular 13 breaks compatibility with Angular 12. The library is now published as partial-Ivy code.
1 parent 7291eae commit dd00f68

File tree

11 files changed

+5714
-12912
lines changed

11 files changed

+5714
-12912
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/.angular/cache
2+
13
# Created by https://www.toptal.com/developers/gitignore/api/node,vscode
24
# Edit at https://www.toptal.com/developers/gitignore?templates=node,vscode
35

README.md

Lines changed: 13 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -31,36 +31,19 @@ npm install angular-notifier
3131

3232
The following list describes the compatibility with Angular:
3333

34-
| Angular Notifier | Angular |
35-
| ---------------- | ------- |
36-
| `1.x` | `2.x` |
37-
| `2.x` | `4.x` |
38-
| `3.x` | `5.x` |
39-
| `4.x` | `6.x` |
40-
| `5.x` | `7.x` |
41-
| `6.x` | `8.x` |
42-
| `7.x` | `9.x` |
43-
| `8.x` | `10.x` |
44-
| `9.x` | `11.x` |
45-
| `10.x` | `12.x` |
46-
47-
<br>
48-
49-
### Browser support & polyfills
50-
51-
By default, meaning without any polyfills, **angular-notifier** is compatible with **the latest versions of Chrome, Firefox, and Opera**.
52-
Bringing in the following polyfills will improve browser support:
53-
54-
- To be able to use the latest and greatest JavaScript features in older browsers (e.g. older version of IE & Safari), you might want to
55-
add **[core-js](https://github.com/zloirock/core-js)** to your polyfills.
56-
- For animation support (in particular, for better
57-
**[Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API)** support), you might want to use the **[web-animations-js](https://github.com/web-animations/web-animations-js)** polyfill. For details, see the corresponding
58-
**[CanIUse page](http://caniuse.com/#feat=web-animation)**.
59-
60-
> For detailed information about the Angular browser support read the
61-
> **[official Angular browser support documentation](https://angular.io/docs/ts/latest/guide/browser-support.html)**. If you generated your
62-
> Angular project with the **[Angular CLI](https://github.com/angular/angular-cli)**, all the polyfills mentioned above do already exist in
63-
> your `polyfills.ts` file - waiting for you to enable and install them.
34+
| Angular Notifier | Angular | Compilation |
35+
| ---------------- | ------- | ------------------ |
36+
| `1.x` | `2.x` | View Engine |
37+
| `2.x` | `4.x` | View Engine |
38+
| `3.x` | `5.x` | View Engine |
39+
| `4.x` | `6.x` | View Engine |
40+
| `5.x` | `7.x` | View Engine |
41+
| `6.x` | `8.x` | View Engine |
42+
| `7.x` | `9.x` | View Engine |
43+
| `8.x` | `10.x` | View Engine |
44+
| `9.x` | `11.x` | View Engine |
45+
| `10.x` | `12.x` | View Engine |
46+
| `11.x` | `13.x` | Ivy (partial mode) |
6447

6548
<br><br><br>
6649

0 commit comments

Comments
 (0)