Back to Explore

ljharb/safe-array-concat

GitHub
1 updates · last 90 days2 watchersOpen source

Last release:

safe-array-concat provides a safer alternative to Array.prototype.concat by ignoring Symbol.isConcatSpreadable so it will not spread values that normal concat would treat as spreadable. It is useful when you want consistent concatenation behavior regardless of Symbol.isConcatSpreadable being set on strings or arrays.

Project status

  • The repository appears actively maintained, with the most recent update being v1.1.4 on 2026-04-20, and earlier updates continuing through 2024, though release note details are often missing.
  • Update cadence looks sporadic rather than frequent, with v1.1.4 (2026-04-20) following v1.1.3 (2024-12-12), then earlier releases in 2024-03 and 2024-01, and releases in 2023.

AI summary generated

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

Recent updates

  • v1.1.4

    Release v1.1.4 bumps the package version and updates TypeScript types for `safeArrayConcat`, mainly to accept `readonly` arrays. The diff also includes CI workflow permission changes and several dependency version bumps, but the release notes provided are empty.

  • v1.1.3

    v1.1.3 updates the package internals and build/test tooling, including switching from `call-bind/callBound` to `call-bound`, and adjusting GitHub Actions CI matrices to split Node 10-20 and Node 20+. No publisher release notes were provided, so the behavioral impact for consumers must be inferred from the diff and dependency changes.

  • v1.1.2

    Release v1.1.2 was published on 2024-03-09, but no release notes or change log details were provided by the publisher. As a result, there is not enough information here to identify specific new features, breaking changes, bug fixes, security or performance improvements, or dependency updates.

  • v1.1.1

    v1.1.1 updates the project version to 1.1.1 and introduces changes primarily around TypeScript declarations, build/type-check tooling, and dependency versions. Release notes from the publisher are not provided, so none of these changes are documented there.

    Features
  • v1.1.0

    No release notes were provided for v1.1.0 (the publisher notes section is empty). The diff shows the main functional runtime logic is effectively unchanged, but the project adds a TypeScript type generation workflow and publishes generated .d.ts files, alongside some dependency and tooling updates.

    Features
  • v1.0.1

    v1.0.1 makes a small internal optimization in safe-array-concat’s concat wrapper. There is no documented change in the provided release notes (none were supplied), and the code diff shows only a logic tweak plus dependency version bumps.

  • v1.0.0

    No release notes were provided for v1.0.0, so there is insufficient information to identify specific code changes, API changes, or behavioral differences. Developers should review the tagged release diff and changelog in the repository to determine what to test before upgrading.