Skip to content

chore(deps): update dependency fast-copy to v4 - #2774

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/fast-copy-4.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/fast-copy-4.x

Conversation

@renovate

@renovate renovate Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
fast-copy ^3.0.2 → ^4.0.0 age confidence

Release Notes

planttheidea/fast-copy (fast-copy)

v4.3.1

Compare Source

Bug fixes
  • #​157 - Copy SharedArrayBuffers with the arrayBuffer method,
    preserving their contents; they previously fell through to the object copier, so copies were empty, and a strict
    copy of an object containing both a SharedArrayBuffer and a DataView over it could throw (thanks
    @​mayankdhingra02)
  • #​159 - Copy the buffer of a DataView with the arrayBuffer
    method, so that a custom arrayBuffer override is honored; the default copier was previously always used
  • #​158 - Preserve the subclass of copied resizable ArrayBuffers
    and growable SharedArrayBuffers; copies were previously instances of the base class (thanks
    @​umtong)
  • #​160 - Preserve the subclass of copied empty, fixed-length
    SharedArrayBuffers; copies were previously instances of the base class

v4.3.0

Compare Source

Enhancements
  • #​155 - Preserve own RegExp properties in strict mode (thanks
    @​blueDaydreaming725)
  • #​156 - Preserve own properties in strict mode for all
    remaining copied types: ArrayBuffer, typed arrays (including Buffer), Blob, DataView, and primitive wrappers
    (Boolean, Number, and String)
  • #​156 - In strict mode, circular and repeated references to any
    of these types now resolve to a single copy, including a DataView and the buffer it views
Bug fixes
  • #​156 - Keep copies of resizable ArrayBuffers and growable
    SharedArrayBuffers resizable, with the same maxByteLength; copies were previously fixed-length

v4.2.0

Compare Source

Enhancements
Bug fixes
  • #​146 - Ensure Constructor is a function before performing
    native code check, preventing edge case throw condition (thanks @​fhgffy)
  • #​147 - Preserve own __proto__ properties when copying objects
    (thanks @​feritcemkahraman)

v4.1.2

Compare Source

  • #​143 - Preserve the byteOffset and byteLength of a copied
    DataView. The copy previously covered the entire backing buffer, so a view over part of a buffer read from the wrong
    position, and reads beyond its original bounds no longer threw.

Thanks to @​pralav-25 for identifying and fixing this.

v4.1.1

Compare Source

  • #​141 - Copy the contents of a Buffer into memory it owns,
    instead of returning a view over the original's memory. Buffer overrides slice with one that does not copy, so
    mutating the copy previously mutated the original.
  • #​141 - Use a null prototype for the internal map of
    tag-specific copiers, so that a value carrying a custom Symbol.toStringTag cannot resolve to an inherited
    Object.prototype member as its copier. Tags such as toString, valueOf, or hasOwnProperty previously produced a
    garbage copy or threw.

v4.1.0

Compare Source

  • #​137 - Add maxDepth option to createCopier, bounding the
    number of nested objects traversed (defaults to 1000, pass Infinity to traverse without a limit)
  • #​137 - Throw the new MaxDepthExceededError when a value is
    nested more deeply than maxDepth, instead of exhausting the call stack with a native RangeError; the error extends
    RangeError, so existing handling continues to work

Thanks to @​lenny-ts for identifying this.

Internal changes
  • The State object passed to custom methods now includes a depth property. This is maintained internally and
    should not be modified, but it is a required property on the exported State type, so any code constructing a State
    directly (such as a test mock) will need to provide it.

v4.0.4

Compare Source

  • #​136 - Change for...in loop with hasOwnProperty check to
    just use Object.keys (slight hit to small object iterations, but big win in large objects)
  • #​136 - Change for loops to instead be for...of (flat or
    improved across the board)
  • #​136 - Change .forEach() loops to instead be for...of

v4.0.3

Compare Source

  • #​130 - Remove invalid Uint64Array in favor of BigInt64Array
    / BigUint64Array) (fixes #​128)

v4.0.2

Compare Source

  • #​112 - Prevent generators from attempting to be copied (fixes
    #​111)

v4.0.1

Compare Source

  • #​110 - Fix legacy types not aligning with types from build
    package

v4.0.0

Compare Source

BREAKING CHANGES
  • The default copy method is now a named export, and the default export has been removed.
  • Legacy environment support has been removed; Symbol, WeakMap, and RegExp.prototype.flags are now expected to be
    present.
  • createCopier now receives an object of options. The methods passed previously are namespaced under the methods key
    in that options object.
  • createStrictCopier has been removed; please use the strict option passed to createCopier

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies Pull requests that update a dependency file renovate labels Oct 20, 2026
@renovate
renovate Bot enabled auto-merge (squash) October 20, 2026 23:32
@bito-code-review

bito-code-review Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Review Skipped - Label Excluded

Bito didn't auto-review this change because the PR contains excluded label: renovate.
No action is needed if you didn't intend for the agent to review it. To trigger a review manually, type /review in a comment and save.

You can change this by removing the label from Filters → Exclude Labels setting here, or from the labels_excluded field in the .bito.yaml file (if repo-level configurations are enabled), or contact your workspace admin at michael.pearce@contentful.com.

@renovate
renovate Bot force-pushed the renovate/fast-copy-4.x branch 2 times, most recently from c498f13 to d1b15fd Compare October 27, 2026 23:07
@renovate
renovate Bot force-pushed the renovate/fast-copy-4.x branch from d1b15fd to 4737fee Compare October 28, 2026 01:34
@renovate
renovate Bot force-pushed the renovate/fast-copy-4.x branch from 4737fee to f4bb0d0 Compare October 28, 2026 22:50
@renovate renovate Bot added the wizexclude label Nov 5, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file renovate wizexclude

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants