Back to Explore

ljharb/object.assign

GitHub
2 watchersOpen source

Last release: 2024-12-18

ES6 spec-compliant Object.assign shim that provides an Object.assign implementation when it is missing or not compliant. Useful for creating or copying properties from one or more source objects onto a target (requires at least target and one source, and throws a TypeError if target is null or undefined).

Project status

  • Maintenance status: Appears to be maintained upstream (last upstream push reported as 2025-12-30), but the most recently described package updates in the provided summaries are older (late 2024), so it looks more like periodic maintenance than continuous feature work.
  • Update cadence: There is a tight cluster of updates around 2024-12-18 (v4.1.6 and v4.1.7), then a gap until the previously summarized v4.1.5 in 2023-11-30, with several earlier years showing infrequent or packaging-focused updates.

AI summary generated 2026-06-09

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v4.1.7

    2024-12-18

    This release is a small maintenance update to object.assign with only package metadata and dependency changes. The diff shows no changes to the library’s runtime code or public API surface, but it does add a new dependency and adjusts dev tooling dependencies.

  • v4.1.6

    2024-12-18

    v4.1.6 primarily updates internal implementation details for the object.assign polyfill and bumps several dependencies. CI/workflow configuration was also adjusted to test more granular Node.js version ranges (10-20 and 20+).

  • v4.1.5

    2023-11-30

    Release v4.1.5 was published on 2023-11-30, but no release notes were provided by the publisher. As a result, there is no documented information about new features, fixes, or potential breaking changes in this release.

  • v4.1.4

    2022-08-16

    This release (v4.1.4) appears to be a packaging metadata update rather than a runtime code change. The diff removes the repository .npmignore file and adjusts package.json publish include/exclude rules, which changes what gets shipped to npm.

  • v4.1.3

    2022-08-06

    Release v4.1.3 has no publisher-provided release notes, but the diff shows a refactor of the core `Object.assign` shim implementation, plus significant CI and publishing configuration changes. Dependency versions (runtime and dev) were also bumped.

  • v4.1.2

    2020-10-30

    v4.1.2 is a small maintenance release that refactors internal bindings to use the dedicated call-bind package instead of es-abstract. Alongside this, the project updates CI/test coverage tooling and tweaks the SES compatibility test harness.

  • v4.1.1

    2020-09-11

    v4.1.1 refactors the object.assign shim entry point to use es-abstract callBind/callBound helpers, and updates the dependency set and developer tooling. The code diff shows a runtime change to what module.exports returns (now a wrapper function) and internal call sites that were previously bound with function-bind.

  • v4.1.0

    2017-12-21

    v4.1.0 updates the object.assign shim package version and refreshes its symbol-detection strategy and test/build infrastructure. The public runtime change that stands out is switching the internal has-symbols detection implementation, plus adding a new auto entry point.

    BreakingFeatures
  • v4.0.4

    2016-07-04

    v4.0.4 is a small maintenance release with a correctness fix around Symbol handling (caching the original getOwnPropertySymbols) plus dependency and tooling updates. The published changelog also notes some test coverage improvements across older Node versions, but the publisher release notes were not provided.

    Security
  • v4.0.3

    2015-10-21

    Release v4.0.3 was published, but no release notes were provided by the publisher. As a result, there is no documented information on changes, bug fixes, breaking changes, or security updates for this version.