You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,24 @@
6
6
7
7
- Updated Node.js support to `^18.18.0 || ^20.9.0 || >=22.0.0`.
8
8
- Updated dev dependencies, some of which require newer Node.js versions than previously supported.
9
+
- Use the TypeScript v5.5+ JSDoc tag `@import` to import types in modules.
10
+
- Removed JSDoc tag `@typedef` that were unintentionally re-exporting types; to migrate import TypeScript types from the correct module:
11
+
12
+
```diff
13
+
- import type { GraphQLUpload } from "graphql-upload/Upload.mjs";
14
+
+ import type GraphQLUpload from "graphql-upload/GraphQLUpload.mjs";
15
+
```
16
+
17
+
```diff
18
+
- import type { processRequest } from "graphql-upload/Upload.mjs";
19
+
+ import type processRequest from "graphql-upload/processRequest.mjs";
20
+
```
21
+
22
+
```diff
23
+
- import type { GraphQLUpload } from "graphql-upload/processRequest.mjs";
24
+
+ import type GraphQLUpload from "graphql-upload/GraphQLUpload.mjs";
25
+
```
26
+
9
27
- Refactored tests to use the standard `AbortController`, `fetch`, `File`, and `FormData` APIs available in modern Node.js and removed the dev dependencies [`node-abort-controller`](https://npm.im/node-abort-controller) and [`node-fetch`](https://npm.im/node-fetch).
10
28
- Replaced the test utility function `streamToString` with the function `text` from `node:stream/consumers` that’s available in modern Node.js.
11
29
- Use the Node.js test runner API and remove the dev dependency [`test-director`](https://npm.im/test-director).
0 commit comments