Skip to content

Releases: cyberuni/find-installed-packages

find-installed-packages@4.0.1

Choose a tag to compare

@github-actions github-actions released this 02 Sep 02:08
9a63e5f

Patch Changes

  • 9f54c4f: Include the LICENSE file in the published package. Previously the package declared "license": "MIT" but shipped no license text because the root LICENSE file was never copied into the package directory.
  • 25d73e8: Upgrade @changesets/cli to v3, the version matched to the changesets/action@v2
    pinned by the shared release workflow.

find-installed-packages@4.0.0

Choose a tag to compare

@github-actions github-actions released this 12 Aug 15:21
dc617b2

Major Changes

  • dc80869: ESM only, Node >= 20.19, and take lockfile names from package-manager-detector.

    BREAKING CHANGES:

    • The package is now ESM only. The CJS build is gone, so
      require('find-installed-packages') no longer resolves on Node versions without
      require(esm). Use import, or stay on 3.x.
    • engines.node is now >=20.19, up from >=14.

    The cache stamp now takes its lockfile names from
    package-manager-detector
    instead of a list maintained here. That list was missing nub.lock,
    aube-lock.yaml and aube-workspace.yaml, so under those package managers the
    stamp fell back to package.json and top-level node_modules alone — an install
    that changed a transitive package without touching either would not invalidate the
    cache. New package managers now arrive with a dependency bump.

    Yarn PnP's .pnp.cjs and .pnp.data.json are still watched separately, as they
    change with the installed tree but are not lockfiles.

find-installed-packages@3.2.0

Choose a tag to compare

@github-actions github-actions released this 12 Aug 08:53
97dcd42

Minor Changes

  • b6b687a: Find packages by resolving the dependency graph instead of scanning node_modules.

    Packages are now located by walking the declared dependency graph from cwd and
    asking the host runtime's module resolver where each one lives. This fixes layouts
    the folder scan could not handle:

    • Workspaces (npm, yarn, bun, pnpm) — the tree is hoisted to the repo root, so
      scanning from a workspace package found nothing at all.
    • Yarn Plug'n'Play — there is no node_modules to scan.
    • pnpm and bun --linker=isolated — previously these worked only by stumbling
      into undocumented store internals, and over-reported the whole virtual store.

    When cwd has no readable package.json, or one that declares no dependencies,
    the previous node_modules scan is still used as a fallback.

    Two behaviour notes:

    • Only declared dependencies are reported now. A package sitting in
      node_modules without being listed in anyone's dependencies, devDependencies
      (root only), peerDependencies, or optionalDependencies used to be returned as
      a side effect of how the folders were walked, and no longer is.
    • Under Yarn PnP this must run inside the PnP-enabled process, which is the normal
      case for a library loaded by your app.

    Also fixes the cache stamp: it is now derived from the lockfile, package.json, and
    top-level node_modules instead of the ctime of every installed package, so the
    cache can skip the walk entirely rather than only the manifest reads. Lockfiles are
    looked up from cwd upwards so workspaces are handled.

find-installed-packages@3.1.2

Choose a tag to compare

@github-actions github-actions released this 09 Aug 08:41
8166ad8

Patch Changes

  • 1bad1eb: Point repository, homepage and bugs at cyberuni/find-installed-packages.

    repository is read when generating provenance attestations, so it has to be correct
    at publish time — not merely correct in the repo.

find-installed-packages@3.1.1

Choose a tag to compare

@unional unional released this 08 May 08:10
f905e5d

Patch Changes

  • 8c1e930: Restore missing readme file.

v3.1.0

Choose a tag to compare

@unional unional released this 07 May 05:51

3.1.0 (2026-05-07)

Features

  • add source field to exports and update files configuration (e18253c)

v3.0.4

Choose a tag to compare

@unional unional released this 07 May 05:42

3.0.4 (2026-05-07)

Performance Improvements

  • convert file system operations to async and add memory cache (71990e7)

v3.0.3

Choose a tag to compare

@unional unional released this 03 Jun 04:26

3.0.3 (2023-06-03)

Bug Fixes

  • deps: update dependency unpartial to v1.0.5 (#197) (e218017)

v3.0.2

Choose a tag to compare

@unional unional released this 15 Mar 20:25

3.0.2 (2023-03-15)

Bug Fixes

  • deps: update dependency unpartial to v1.0.4 (#156) (24d462f)

v3.0.1

Choose a tag to compare

@unional unional released this 08 Sep 05:01

3.0.1 (2022-09-08)

Bug Fixes