Skip to content

Commit 241a7c5

Browse files
jacob-ebeyMichaelDeBoey
authored andcommitted
feat!: remove built-ins polyfills on node >= 18
1 parent 32e85f4 commit 241a7c5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2662
-3800
lines changed

.changeset/poor-trees-hunt.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@remix-run/web-form-data": major
3+
"@remix-run/web-fetch": major
4+
"@remix-run/web-file": major
5+
---
6+
7+
Remove polyfills / re-exports for built-ins on node >= 18. This includes but not limited to TextEncoder, TextDecoder, ReadableStreams and Blob.

package.json

+4-9
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,23 @@
22
"name": "@remix-run/web-std-io",
33
"private": true,
44
"workspaces": [
5-
"packages/blob",
65
"packages/file",
76
"packages/form-data",
8-
"packages/fetch",
9-
"packages/stream"
7+
"packages/fetch"
108
],
119
"scripts": {
1210
"changeset": "changeset",
1311
"release": "changeset publish",
1412
"version-bump": "changeset version",
1513
"postinstall": "manypkg fix",
16-
"prepare": "yarn prepare:blob && yarn prepare:file && yarn prepare:form-data && yarn prepare:fetch",
17-
"prepare:blob": "yarn --cwd packages/blob prepare",
14+
"prepare": "yarn prepare:file && yarn prepare:form-data && yarn prepare:fetch",
1815
"prepare:file": "yarn --cwd packages/file prepare",
1916
"prepare:form-data": "yarn --cwd packages/form-data prepare",
2017
"prepare:fetch": "yarn --cwd packages/fetch prepare",
21-
"test": "yarn test:stream && yarn test:blob && yarn test:file && yarn test:form-data && yarn test:fetch",
22-
"test:blob": "yarn --cwd packages/blob test",
18+
"test": "yarn test:file && yarn test:form-data && yarn test:fetch",
2319
"test:file": "yarn --cwd packages/file test",
2420
"test:form-data": "yarn --cwd packages/form-data test",
25-
"test:fetch": "yarn --cwd packages/fetch test",
26-
"test:stream": "yarn --cwd packages/stream test"
21+
"test:fetch": "yarn --cwd packages/fetch test"
2722
},
2823
"dependencies": {
2924
"@changesets/changelog-github": "0.4.4",

packages/blob/CHANGELOG.md

-54
This file was deleted.

packages/blob/License.md

-18
This file was deleted.

packages/blob/Readme.md

-75
This file was deleted.

packages/blob/package.json

-69
This file was deleted.

packages/blob/rollup.config.js

-17
This file was deleted.

0 commit comments

Comments
 (0)