main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | # 3.0.0
|
---|
2 |
|
---|
3 | Removes default exports for AbortController. You must now import the `AbortController` object explicitly. This is a breaking change for some users relying on default exports. Upgrading to 3.0 is a one line change:
|
---|
4 |
|
---|
5 | ```js
|
---|
6 | // ES Modules Users
|
---|
7 | // v2
|
---|
8 | import AbortController from "node-abort-controller";
|
---|
9 |
|
---|
10 | // v3
|
---|
11 | import { AbortController } from "node-abort-controller";
|
---|
12 |
|
---|
13 | // Common JS Users
|
---|
14 | // v2
|
---|
15 | const AbortController = require("node-abort-controller");
|
---|
16 |
|
---|
17 | // v3
|
---|
18 | const { AbortController } = require("node-abort-controller");
|
---|
19 | ```
|
---|
20 |
|
---|
21 | Other changes:
|
---|
22 |
|
---|
23 | - Fix typos in docs
|
---|
24 | - Update all dev dependencies to resolve deprecation warnings
|
---|
25 |
|
---|
26 | # 2.0.0
|
---|
27 |
|
---|
28 | - Export AbortSignal class. This is a non-breaking change for JavaScript users and almost surely a non-breaking change for TypeScript users but we are doing a major version bump to be safe.
|
---|
29 |
|
---|
30 | # 1.2.0
|
---|
31 |
|
---|
32 | - Remove dependency on lib.dom for types that was conflicting with NodeJS types
|
---|
33 |
|
---|
34 | # 1.1.0
|
---|
35 |
|
---|
36 | - Add proper EventTarget support to signal and `signal.onabort`
|
---|
37 |
|
---|
38 | # 1.0.4
|
---|
39 |
|
---|
40 | - Initial Stable Release
|
---|
Note:
See
TracBrowser
for help on using the repository browser.