Skip to content

chore(deps): bump fast-copy from 4.0.3 to 4.1.2 - #3981

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/fast-copy-4.1.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/fast-copy-4.1.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Bumps fast-copy from 4.0.3 to 4.1.2.

Release notes

Sourced from fast-copy's releases.

Release 4.1.2

  • Update CHANGELOG (2c19569)
  • [Bugfix] Preserve DataView byte offset and length when copying (#143) (851526c)
  • docs: correct strict and recursive copier examples (#142) (3b447e0)

Release 4.1.1

  • [Bugfix] Audit for edge-case gaps (#141) (decb094)
  • [Maintenance] Update build tools (#140) (74edf81)

Release 4.1.0

  • [Security] Unbounded recursion on deep instances (#137) (caa7caa)

Release 4.0.4

  • [Enhancement] Micro-optimizations (#136) (ceb5366)
  • [Maintenance] Update build tools (#135) (949215c)
  • Bump the npm_and_yarn group across 1 directory with 3 updates (#134) (5acb8f5)
  • Bump vite from 7.3.2 to 7.3.5 in the npm_and_yarn group across 1 directory (#133) (572108e)
  • Bump postcss from 8.5.9 to 8.5.14 in the npm_and_yarn group across 1 directory (#132) (e82e93c)
  • Bump ip-address from 10.1.0 to 10.2.0 in the npm_and_yarn group across 1 directory (#131) (c0a0a45)
Changelog

Sourced from fast-copy's changelog.

4.1.2

  • #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.

4.1.1

  • #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.

4.1.0

  • #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.

4.0.4

  • #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
Commits

@github-actions github-actions Bot added type: chore Routine tasks like conversions, reorganization, and maintenance work. and removed dependencies labels Oct 6, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/fast-copy-4.1.2 branch 2 times, most recently from bffbbf5 to a200641 Compare October 7, 2026 01:49
Bumps [fast-copy](https://github.com/planttheidea/fast-copy) from 4.0.3 to 4.1.2.
- [Release notes](https://github.com/planttheidea/fast-copy/releases)
- [Changelog](https://github.com/planttheidea/fast-copy/blob/main/CHANGELOG.md)
- [Commits](planttheidea/fast-copy@v4.0.3...v4.1.2)

---
updated-dependencies:
- dependency-name: fast-copy
  dependency-version: 4.1.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/fast-copy-4.1.2 branch from a200641 to 6ffe676 Compare October 7, 2026 04:39

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

type: chore Routine tasks like conversions, reorganization, and maintenance work.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants