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

fix(deps): update dependency formdata-node to v4.4.1 #325

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 2, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
formdata-node 4.3.2 -> 4.4.1 age adoption passing confidence

Release Notes

octet-stream/form-data

v4.4.1: 4.4.1

Compare Source

Update
  • Bump web-streams-polyfill to 4.0.0-beta.3 (#​59)

All changes: octet-stream/form-data@v4.4.0...v4.4.1

v4.4.0: 4.4.0

Compare Source

Update
  • Backport File.webkitRelativePath property for better types compatibility with native FormData

  • Backport improvements for instanceof checks on File object: It now will recognize File-ish objects and Files as File instance, but not Blob or Blob-ish objects:

    Old behaviour:

    import {Blob, File} from "formdata-node"
    
    const file = new File(["File content"], "file.txt")
    const blob = new Blob()
    
    file instanceof Blob // -> true
    file instanceof File // -> true
    
    blob instanceof Blob // -> true
    blob instanceof File // -> true
    
    const fileLike = {
      [Symbol.toStringTag]: "File",
      name: "file.txt",
      stream() { }
    }
    
    const blobLike = {
      [Symbol.toStringTag]: "Blob",
      stream() { }
    }
    
    fileLike instanceof Blob // -> true
    fileLike instanceof File // -> true
    
    blobLike instanceof Blob // -> true
    blobLike instanceof File // -> true

    New behaviour:

    import {Blob, File} from "formdata-node"
    
    const file = new File(["File content"], "file.txt")
    const blob = new Blob()
    
    file instanceof Blob // -> true
    file instanceof File // -> true
    
    blob instanceof Blob // -> true
    blob instanceof File // -> false
    
    const fileLike = {
      [Symbol.toStringTag]: "File",
      name: "file.txt",
      stream() { }
    }
    
    const blobLike = {
      [Symbol.toStringTag]: "Blob",
      stream() { }
    }
    
    fileLike instanceof Blob // -> true
    fileLike instanceof File // -> true
    
    blobLike instanceof Blob // -> true
    blobLike instanceof File // -> false
  • Backport File values normalization for better alignment with the spec. FormData instances will store Files added via .set() and .append() methods as is.

    Old behaviour:

    import {FormData, File} from "formdata-node"
    
    const file = new File(["File content"], "file.txt")
    const form = new FormData()
    
    form.set("file", file) // will create a new File, then store that new object
    form.get("file") === file // -> false
    
    form.set("file", file, "renamed-file.txt") // will also create a new File (with the new name), then store that new object
    form.get("file") === file // -> false

    New behaviour:

    import {FormData, File} from "formdata-node"
    
    const file = new File(["File content"], "file.txt")
    const form = new FormData()
    
    form.set("file", file) // will store this File instance as is
    form.get("file") === file // -> true
    
    form.set("file", file, "renamed-file.txt") // will create a new File (with the new name), then store that new object
    form.get("file") === file // -> false

All changes: octet-stream/form-data@v4.3.3...v4.4.0

v4.3.3: 4.3.3

Compare Source

Update
  • Remove duplicate row from comparison table (#​53)

All changes: v4.3.2...v4.3.3


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/formdata-node-4.x-lockfile branch 14 times, most recently from ded63ef to e11df4b Compare April 5, 2023 18:23
@renovate renovate bot force-pushed the renovate/formdata-node-4.x-lockfile branch from e11df4b to 0cba9bb Compare April 5, 2023 18:24
@DanielRamosAcosta DanielRamosAcosta merged commit fb3a9ff into main Apr 5, 2023
@DanielRamosAcosta DanielRamosAcosta deleted the renovate/formdata-node-4.x-lockfile branch April 5, 2023 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant