Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require Node.js 12.20.0 and move to ESM #1141

Merged
merged 47 commits into from Jul 18, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
9d37412
Use ESM import in runkit example file
xxczaki May 3, 2021
ce6d0b2
Update dependencies, version and transition to ESM
xxczaki May 3, 2021
c00d18e
Use ESM imports, add ESM-related info
xxczaki May 3, 2021
73a2a03
Remove rollup
xxczaki May 3, 2021
a12c148
Lint TypeScript-related files
xxczaki May 3, 2021
5ad707e
Update dependency
xxczaki May 3, 2021
efd811d
Lint & update dependency
xxczaki May 3, 2021
42ae6d7
Lint
xxczaki May 3, 2021
dfbb45f
Remove commonjs tests
xxczaki May 3, 2021
d1e0e5e
chore: update changelog
xxczaki May 3, 2021
3e80f90
Remove commonjs GitHub action
xxczaki May 3, 2021
c4018af
Update funding.yml
xxczaki May 3, 2021
75f3e9d
Update linter rules
xxczaki May 5, 2021
eb0426a
Lint
xxczaki May 5, 2021
57f3f2a
Fix tsd
xxczaki May 5, 2021
1305178
Remove unnecessary types
xxczaki May 5, 2021
659044e
Simplify
xxczaki May 5, 2021
cb63877
Use top-level await
xxczaki May 19, 2021
c11eefb
Update GitHub Actions
xxczaki May 19, 2021
a43fe25
Use Mocha with ESM
xxczaki May 19, 2021
4d794ca
Revamp
xxczaki May 19, 2021
94755a8
specify what node version
jimmywarting May 25, 2021
ca4f4cf
update formdata-node dep
jimmywarting May 25, 2021
c2814ad
remove lint from example using top await
jimmywarting May 25, 2021
48bdd14
updated name and link to formdata-polyfill
jimmywarting May 25, 2021
a30a6ee
Stop recommend form-data
jimmywarting May 25, 2021
09deb1e
filter example - it has many duplicate variables
jimmywarting May 25, 2021
f0a6287
Update type definitions to ESM
LinusU May 25, 2021
1c4d1ac
Remove unused lint rule disable comment
LinusU May 25, 2021
10228a9
Remove leftover rollup and dist folder
LinusU May 25, 2021
653ddae
updated depn
jimmywarting May 29, 2021
dc992a3
updated d.ts
jimmywarting May 29, 2021
b80842b
lint
jimmywarting May 29, 2021
fd39435
Fix breaking changes with blob v3 stream()
jimmywarting Jun 12, 2021
d50ad4a
revert eslint comment
jimmywarting Jun 12, 2021
3f94ba7
revert back to xo 0.39
jimmywarting Jun 12, 2021
370a111
none TS fan trying to fix type definition
jimmywarting Jun 12, 2021
930c018
Give me a break
jimmywarting Jun 12, 2021
44c899f
Test on all minimum supported Node.js versions (#1170)
LinusU Jul 16, 2021
ca5e8b7
bumped fetch-blob version
jimmywarting Jul 16, 2021
83b4565
import from dom lib
jimmywarting Jul 16, 2021
74e7d3a
rm unused comment
jimmywarting Jul 16, 2021
aba6a61
updated required version in docs
jimmywarting Jul 16, 2021
e92f07f
fixed named import
jimmywarting Jul 16, 2021
0ae7ecb
set lowest support to 12.20.0
jimmywarting Jul 16, 2021
0ff6298
comment explaining both
jimmywarting Jul 16, 2021
5f0500d
rm log
jimmywarting Jul 17, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -389,7 +389,8 @@ node-fetch also supports spec-compliant FormData implementations such as [formda

```js
import fetch from 'node-fetch';
import FormData from 'formdata-node';
import {FormData} from 'formdata-polyfill/esm-min.js';
import {FormData} from 'formdata-node';
jimmywarting marked this conversation as resolved.
Show resolved Hide resolved

const form = new FormData();
form.set('greeting', 'Hello, world!');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -55,7 +55,7 @@
"coveralls": "^3.1.0",
"delay": "^5.0.0",
"form-data": "^4.0.0",
"formdata-node": "^3.5.3",
"formdata-node": "^3.5.4",
"mocha": "^8.3.2",
"p-timeout": "^5.0.0",
"tsd": "^0.14.0",
Expand Down