Skip to content
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/poor-trees-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@remix-run/web-form-data": major
"@remix-run/web-fetch": major
"@remix-run/web-file": major
---

Remove polyfills / re-exports for built-ins on node >= 18. This includes but not limited to TextEncoder, TextDecoder, ReadableStreams and Blob.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/setup-node@v4
with:
cache: yarn
node-version: 16
node-version: 18

- name: 📥 Install deps
run: yarn --frozen-lockfile
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false

matrix:
project: [blob, fetch, file, form-data, stream]
project: [fetch, file, form-data]

runs-on: ubuntu-latest

Expand All @@ -26,7 +26,7 @@ jobs:
uses: actions/setup-node@v4
with:
cache: yarn
node-version: 16
node-version: 18

- name: 📥 Install deps
run: yarn --frozen-lockfile
Expand All @@ -42,9 +42,9 @@ jobs:
fail-fast: false

matrix:
node: [16, 18, 20]
node: [18, 20]
os: [ubuntu-latest, windows-latest, macos-latest]
project: [blob, fetch, file, form-data, stream]
project: [fetch, file, form-data]

runs-on: ${{ matrix.os }}

Expand Down
13 changes: 4 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,23 @@
"name": "@remix-run/web-std-io",
"private": true,
"workspaces": [
"packages/blob",
"packages/file",
"packages/form-data",
"packages/fetch",
"packages/stream"
"packages/fetch"
],
"scripts": {
"changeset": "changeset",
"release": "changeset publish",
"version-bump": "changeset version",
"postinstall": "manypkg fix",
"prepare": "yarn prepare:blob && yarn prepare:file && yarn prepare:form-data && yarn prepare:fetch",
"prepare:blob": "yarn --cwd packages/blob prepare",
"prepare": "yarn prepare:file && yarn prepare:form-data && yarn prepare:fetch",
"prepare:file": "yarn --cwd packages/file prepare",
"prepare:form-data": "yarn --cwd packages/form-data prepare",
"prepare:fetch": "yarn --cwd packages/fetch prepare",
"test": "yarn test:stream && yarn test:blob && yarn test:file && yarn test:form-data && yarn test:fetch",
"test:blob": "yarn --cwd packages/blob test",
"test": "yarn test:file && yarn test:form-data && yarn test:fetch",
"test:file": "yarn --cwd packages/file test",
"test:form-data": "yarn --cwd packages/form-data test",
"test:fetch": "yarn --cwd packages/fetch test",
"test:stream": "yarn --cwd packages/stream test"
"test:fetch": "yarn --cwd packages/fetch test"
},
"dependencies": {
"@changesets/changelog-github": "0.4.4",
Expand Down
54 changes: 0 additions & 54 deletions packages/blob/CHANGELOG.md

This file was deleted.

18 changes: 0 additions & 18 deletions packages/blob/License.md

This file was deleted.

75 changes: 0 additions & 75 deletions packages/blob/Readme.md

This file was deleted.

69 changes: 0 additions & 69 deletions packages/blob/package.json

This file was deleted.

17 changes: 0 additions & 17 deletions packages/blob/rollup.config.js

This file was deleted.

Loading