Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: remix-run/web-std-io
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @remix-run/[email protected]
Choose a base ref
...
head repository: remix-run/web-std-io
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Mar 17, 2023

  1. Copy the full SHA
    1bbaad9 View commit details
  2. Copy the full SHA
    d2a003f View commit details

Commits on Apr 20, 2023

  1. fix: "ERR_INVALID_THIS" on Node 20 (#32)

    * fix: node 20
    
    pnpm/node-fetch#1
    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    
    * ci: test against more node versions
    
    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    
    * ci: update action versions
    
    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    
    * chore: remove nested .github dir
    
    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    
    * ci: disable fail fast
    
    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    
    * ci: new server per test
    
    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    
    * test: update family agent option test
    
    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    
    * Create polite-eggs-jam.md
    
    * test: use ipv4
    
    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    
    * test: use family 0
    
    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    
    ---------
    
    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored Apr 20, 2023
    Copy the full SHA
    7f91c87 View commit details
  2. chore: Update version for release (#34)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Apr 20, 2023
    Copy the full SHA
    9cabb20 View commit details

Commits on Jul 12, 2023

  1. fix: empty filename should not be treated as string (#28)

    Co-authored-by: Jacob Ebey <jacob.ebey@live.com>
    Co-authored-by: Matt Brophy <matt@brophy.org>
    3 people authored Jul 12, 2023
    Copy the full SHA
    cf9ee6f View commit details
  2. Copy the full SHA
    3e4d588 View commit details

Commits on Aug 1, 2023

  1. remove socket listeners on “abort” (#29)

    Co-authored-by: Matt Brophy <matt@brophy.org>
    donavon and brophdawg11 authored Aug 1, 2023
    Copy the full SHA
    5d1e12a View commit details
  2. Copy the full SHA
    43c6ce2 View commit details
  3. chore: Update version for release (#37)

    * chore: Update version for release
    
    * Standardize changelogs
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Matt Brophy <matt@brophy.org>
    3 people authored Aug 1, 2023
    Copy the full SHA
    4fc5047 View commit details

Commits on Aug 16, 2023

  1. Fix headers.entries/values/forEach handling of setCookie (#39)

    * Fix headers.entries/values/forEach handling of setCookie
    
    * Add changeset
    brophdawg11 authored Aug 16, 2023
    Copy the full SHA
    f6ac353 View commit details
  2. Copy the full SHA
    68eadc6 View commit details
  3. chore: Update version for release (#41)

    * chore: Update version for release
    
    * Update changelog
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Matt Brophy <matt@brophy.org>
    3 people authored Aug 16, 2023
    Copy the full SHA
    5a3703c View commit details

Commits on Aug 29, 2023

  1. Copy the full SHA
    48e09a6 View commit details
  2. fix(fetch): bind fetch to Window object (#45)

    * fix: fetch called on non Window object (web-std#65)
    
    ```
    TypeError: 'fetch' called on an object that does not implement interface Window.
    ```
    
    * chore: add changeset
    
    ---------
    
    Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>
    MichaelDeBoey and Alan Shaw authored Aug 29, 2023
    Copy the full SHA
    8ea9e6c View commit details
  3. chore: Update version for release (#47)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Aug 29, 2023
    Copy the full SHA
    208877b View commit details

Commits on Sep 1, 2023

  1. Copy the full SHA
    d3a1ffd View commit details
  2. Copy the full SHA
    807fc63 View commit details
  3. Enter prerelease mode

    brophdawg11 committed Sep 1, 2023
    Copy the full SHA
    918efee View commit details
  4. chore: Update version for release (pre) (#49)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Sep 1, 2023
    Copy the full SHA
    e5fa794 View commit details

Commits on Sep 13, 2023

  1. Exit prerelease mode

    brophdawg11 committed Sep 13, 2023
    Copy the full SHA
    ff8f185 View commit details
  2. Copy the full SHA
    e841853 View commit details

Commits on Sep 18, 2023

  1. Copy the full SHA
    15868ef View commit details
  2. chore: Update version for release (#53)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Sep 18, 2023
    Copy the full SHA
    d4cdb8f View commit details

Commits on Dec 5, 2023

  1. Add support for HTTP2 pseudo headers (#55)

    * fix(headers): do not depend on `http` for header name validation
    
    Node internally uses undici instead anyway
    
    * fix(headers): support HTTP2 pseudo-headers
    
    which begin with `:` e.g. `:authority`, `:method`, etc.
    
    * test(headers): check that pseudo-headers are allowed
    pcattori authored Dec 5, 2023
    Copy the full SHA
    3986fb3 View commit details

Commits on Dec 6, 2023

  1. Enter prerelease mode

    brophdawg11 committed Dec 6, 2023
    Copy the full SHA
    77b8f70 View commit details
  2. chore: Update version for release (pre) (#56)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Dec 6, 2023
    Copy the full SHA
    d2ec185 View commit details
  3. Exit prerelease mode

    brophdawg11 committed Dec 6, 2023
    Copy the full SHA
    bead326 View commit details
  4. chore: Update version for release (#57)

    * chore: Update version for release
    
    * Update changelog
    
    * Update changelog
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Matt Brophy <matt@brophy.org>
    3 people authored Dec 6, 2023
    Copy the full SHA
    a46bcdd View commit details

Commits on Feb 14, 2024

  1. Copy the full SHA
    6ce472d View commit details
  2. fix: Remove content-encoding header from already decompressed respons…

    …es (#54)
    
    When the `compress` flag is set to true, the fetch implementation sends an Accept-Encoding header and decompresses the response.
    
    However, the decompressed body is put into a `Response` that still has a `Content-Encoding` that no longer matches the actual encoding of the body.
    
    This causes issues if this `Response` object is used downstream (i.e. sent back to a browser), and there is another attempt to decode the body based on the content-encoding header.
    
    Co-authored-by: Jacob Ebey <jacob.ebey@live.com>
    benbrandt and jacob-ebey authored Feb 14, 2024
    Copy the full SHA
    822a3c3 View commit details

Commits on Mar 18, 2024

  1. Revert "fix: Remove content-encoding header from already decompressed…

    … respons…" (#61)
    
    This reverts commit 822a3c3.
    jacob-ebey authored Mar 18, 2024
    Copy the full SHA
    050356b View commit details
  2. Copy the full SHA
    7a8596e View commit details

Commits on Apr 7, 2025

  1. Copy the full SHA
    9590a5e View commit details
  2. Copy the full SHA
    eeac5aa View commit details
  3. Copy the full SHA
    32e85f4 View commit details
Showing with 1,945 additions and 1,993 deletions.
  1. +5 −0 .changeset/healthy-buckets-drum.md
  2. +6 −0 .github/dependabot.yml
  3. +0 −74 .github/workflows/blob.yml
  4. +0 −86 .github/workflows/fetch.yml
  5. +0 −74 .github/workflows/file.yml
  6. +0 −75 .github/workflows/form-data.yml
  7. +20 −13 .github/workflows/release.yml
  8. +0 −98 .github/workflows/stream.yml
  9. +74 −0 .github/workflows/validate.yml
  10. +27 −14 packages/blob/CHANGELOG.md
  11. +10 −7 packages/blob/package.json
  12. +0 −12 packages/fetch/.github/FUNDING.yml
  13. +0 −40 packages/fetch/.github/ISSUE_TEMPLATE/bug_report.md
  14. +0 −5 packages/fetch/.github/ISSUE_TEMPLATE/config.yml
  15. +0 −21 packages/fetch/.github/ISSUE_TEMPLATE/feature-request.md
  16. +0 −40 packages/fetch/.github/ISSUE_TEMPLATE/support-or-usage.md
  17. +0 −20 packages/fetch/.github/PULL_REQUEST_TEMPLATE.md
  18. +0 −65 packages/fetch/.github/workflows/ci.yml
  19. +0 −30 packages/fetch/.github/workflows/commonjs.yml
  20. +0 −20 packages/fetch/.github/workflows/lint.yml
  21. +0 −20 packages/fetch/.github/workflows/types.yml
  22. +76 −4 packages/fetch/CHANGELOG.md
  23. +22 −17 packages/fetch/package.json
  24. +31 −14 packages/fetch/rollup.config.js
  25. +14 −2 packages/fetch/src/fetch.js
  26. +44 −25 packages/fetch/src/headers.js
  27. +2 −5 packages/fetch/src/lib.js
  28. +2 −2 packages/fetch/src/lib.node.js
  29. +1 −0 packages/fetch/src/package.js
  30. +1 −1 packages/fetch/src/package.ts
  31. +20 −12 packages/fetch/src/request.js
  32. +5 −3 packages/fetch/src/utils/form-data.js
  33. +70 −0 packages/fetch/test/headers.js
  34. +1,311 −1,155 packages/fetch/test/main.js
  35. +101 −0 packages/fetch/test/request.js
  36. +6 −0 packages/fetch/test/utils/server.js
  37. +36 −10 packages/file/CHANGELOG.md
  38. +10 −6 packages/file/package.json
  39. +14 −2 packages/form-data/CHANGELOG.md
  40. +11 −7 packages/form-data/package.json
  41. +18 −9 packages/stream/CHANGELOG.md
  42. +8 −5 packages/stream/package.json
5 changes: 5 additions & 0 deletions .changeset/healthy-buckets-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@remix-run/web-fetch": patch
---

If locationURL’s scheme is not an HTTP(S) scheme, then return a network error. https://fetch.spec.whatwg.org/#http-redirect-fetch
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
74 changes: 0 additions & 74 deletions .github/workflows/blob.yml

This file was deleted.

86 changes: 0 additions & 86 deletions .github/workflows/fetch.yml

This file was deleted.

74 changes: 0 additions & 74 deletions .github/workflows/file.yml

This file was deleted.

75 changes: 0 additions & 75 deletions .github/workflows/form-data.yml

This file was deleted.

33 changes: 20 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,36 @@
name: release
name: 🦋 Changesets Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}
env:
CI: true

jobs:
release:
name: release
name: 🦋 Changesets Release

if: ${{ github.repository == 'remix-run/web-std-io' }}

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3

- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
cache: yarn
node-version: 16
cache: 'yarn'
- name: Install
run: yarn install --frozen-lockfile
- name: Auth

- name: 📥 Install deps
run: yarn --frozen-lockfile

- name: 🔐 Setup npm auth
run: |
echo "registry=https://registry.npmjs.org" >> ~/.npmrc
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
@@ -33,7 +40,7 @@ jobs:
# to `main` with the related changes for the new version. After the PR
# is merged, the workflow will run again and this action will publish to
# npm.
- name: PR / Publish
- name: 🚀 PR / Publish
id: changesets
uses: changesets/action@v1
with:
Loading