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

Remove polyfills and re-exports for built-ins on node >= 18 #60

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
8 changes: 8 additions & 0 deletions .changeset/itchy-roses-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@remix-run/web-fetch": major
"@remix-run/web-file": major
"@remix-run/web-form-data": major
"@remix-run/web-stream": major
---

Remove polyfills / re-exports for built-ins on node >= 18. This includes but not limited to TextEncoder, TextDecoder 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@v3
with:
cache: yarn
node-version: 16
node-version: 18

- name: 📥 Install deps
run: yarn --frozen-lockfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/setup-node@v3
with:
cache: yarn
node-version: 16
node-version: 18

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

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

Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "@remix-run/web-std-io",
"private": true,
"workspaces": [
"packages/blob",
"packages/file",
"packages/form-data",
"packages/fetch",
Expand All @@ -13,13 +12,11 @@
"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:stream && 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",
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