Skip to content

Releases: cyberuni/path-equal

path-equal@1.2.8

Choose a tag to compare

@github-actions github-actions released this 06 Sep 05:13
6451d2c

Patch Changes

  • e2cb9c7: Serve CJS type declarations to CJS consumers.

    The exports map carried one top-level types pointing at ./esm/index.d.ts, and no require condition. A CommonJS consumer resolving under node16/nodenext was therefore handed the ESM declarations and told the package was ESM, failing with TS1479: the referenced file is an ECMAScript module and cannot be imported with 'require'.

    Nothing was wrong with the emitted code — cjs/package.json already declares {"type":"commonjs"} and cjs/index.d.ts already shipped. The manifest simply never pointed at it. moduleResolution: "node" ignores exports maps entirely, which is why this went unnoticed.

    exports now resolves require and import separately, each with the declarations that match its format, and the top-level types agrees with main instead of contradicting it.

path-equal@1.2.7

Choose a tag to compare

@github-actions github-actions released this 01 Sep 08:21
067c2d6

Patch Changes

  • 8403d02: Build the published cjs/ and esm/ output with tsdown instead of two tsc passes.

    Every published path is unchanged (esm/index.js, cjs/index.js, the .d.ts and .d.ts.map
    beside each, and cjs/package.json). Two things about the emitted output do change:

    • The CJS build targets ES2015 rather than ES5. rolldown's floor is ES2015, and the only
      down-levelled syntax in this package is one arrow function.
    • An esm/index.js.map now ships alongside the ESM output. The TypeScript sources already
      shipped, so this adds no information — only a working sourcemap.

    Also points homepage and repository at the repository's current home, cyberuni/path-equal.

path-equal@1.2.6

Choose a tag to compare

@github-actions github-actions released this 01 Sep 07:39
af05fdc

Patch Changes

  • 0d4e3e1: Move the release pipeline to GitHub OIDC trusted publishing on cyberuni, removing the
    NPM_TOKEN and CI_GITHUB_TOKEN dependency, and point the package metadata at the new
    repository home.

v1.2.5

Choose a tag to compare

@unional unional released this 27 Nov 02:19

1.2.5 (2022-11-27)

Bug Fixes

  • remove extra files from distribution (91f833c)

v1.2.4

Choose a tag to compare

@unional unional released this 28 Oct 03:36

1.2.4 (2022-10-28)

Bug Fixes

v1.2.2

Choose a tag to compare

@unional unional released this 13 Jun 16:21

1.2.2 (2022-06-13)

Bug Fixes

v1.2.1

Choose a tag to compare

@github-actions github-actions released this 04 Jun 21:32

Patch Changes

  • cf4f7ef: remove extra source files

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 30 May 09:28

Minor Changes

Patch Changes

  • 25f89bd: Remove tslib phantom dependency

v1.1.3

Choose a tag to compare

@github-actions github-actions released this 04 Jan 07:07
daa37e1

1.1.3 (2022-01-04)

Bug Fixes

v1.1.2

Choose a tag to compare

@github-actions github-actions released this 28 Mar 20:37

1.1.2 (2021-03-28)

Bug Fixes

  • improve parent folder detection (4657943)