Skip to content

Releases: publint/publint

publint@0.3.21

Choose a tag to compare

@github-actions github-actions released this 13 May 00:28
3de8eb3

Patch Changes

  • Suggest adding "sideEffects": false when bundler-oriented package fields or conditions are detected and the field is missing. (#228)

publint@0.3.20

Choose a tag to compare

@github-actions github-actions released this 08 May 10:13
05278fa

Patch Changes

  • Suggest adding engines.node when it is missing from detected Node.js packages (#226)

  • Loosen "breaking change" wording in lint messages (7bb3f4f)

publint@0.3.19

Choose a tag to compare

@github-actions github-actions released this 05 May 13:38
2412a19

Patch Changes

  • Add NESTED_PACKAGE_JSON_FIELD_IGNORED to warn when published nested package.json files define "exports" or "imports", which Node.js ignores outside the package root. (#224)

  • Fix internal browser directory traversal logic (#224)

publint@0.3.18

Choose a tag to compare

@github-actions github-actions released this 01 Mar 16:45
9808a56

Patch Changes

  • Fix deprecated subpath mapping check crash and make getPkgPathValue from publint/utils return undefined if the path is invalid (ad2aa9c)

@publint/pack@0.1.4

Choose a tag to compare

@github-actions github-actions released this 05 Feb 17:07
9b0a22d

Patch Changes

  • Allow passing Uint8Array in unpack() (30016ac)

publint@0.3.17

Choose a tag to compare

@github-actions github-actions released this 21 Jan 15:50
0b5c272

Patch Changes

  • Fix packing packages with pnpm when publishConfig.directory is set (#216)

  • Updated dependencies [2dcb107]:

    • @publint/pack@0.1.3

@publint/pack@0.1.3

Choose a tag to compare

@github-actions github-actions released this 21 Jan 15:50
0b5c272

Patch Changes

  • Add new getPackDirectory() API to get the directory that is being packed by the package manager (#216)

publint@0.3.16

Choose a tag to compare

@github-actions github-actions released this 10 Dec 02:21
9ef31c5

Patch Changes

  • Re-enable file existence checks for TS and TSX files if they do not use custom conditions. In v0.3.10, this was done unconditionally instead which missed catching possible file typos if only common conditions are used. (7b1408e)

publint@0.3.15

Choose a tag to compare

@github-actions github-actions released this 20 Oct 06:32
fa7e5a5

Patch Changes

  • Skip file existence checks when crawling subpath imports as they may be dev-only and not used after bundling or publish. This check may be improved in the future when publint can scan for files to see if the subpath imports are used. (0d72997)

  • Handle exports["default"] and exports['default'] for CJS_WITH_ESMODULE_DEFAULT_EXPORT rule (8285f77)

publint@0.3.14

Choose a tag to compare

@github-actions github-actions released this 06 Oct 04:36
d4bed91

Patch Changes

  • Add a new warning when an entrypoint is exported as CJS-only, has a default export, and has the __esModule marker. This setup has different interpretations by bundlers and runtimes, and implicit handling detection that may not be obvious for both package authors and users, hence it is discouraged. (#201)