Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 3, 2025

Bumps publint from 0.2.12 to 0.3.8.

Release notes

Sourced from publint's releases.

[email protected]

Patch Changes

  • Support passing a tarball path to the publint CLI. This allows to easily lint any tarball files at hand. (#166)

    npx publint ./mylib-1.0.0.tgz
  • The publint API now returns a pkg object as a convenience to pass it to formatMessage (#166)

  • Updated dependencies [02d169b]:

    • @​publint/pack@​0.1.2

[email protected]

Patch Changes

  • The "imports" field is now linted with the following rules: (#162)

    • IMPORTS_KEY_INVALID: Ensure the imports key starts with a #
    • IMPORTS_VALUE_INVALID: Ensure the imports value is a valid path that starts with a ./
    • IMPORTS_GLOB_NO_MATCHED_FILES: Ensure the imports glob matches at least one file
    • IMPORTS_DEFAULT_SHOULD_BE_LAST: Ensure the "default" condition is last in an entrypoint's object
    • IMPORTS_MODULE_SHOULD_BE_ESM: Ensure the "module" condition file is ESM
    • IMPORTS_MODULE_SHOULD_PRECEDE_REQUIRE: Ensure the "module" condition precedes the "require" condition in an entrypoint's object
  • Improve SSH git URL detection when checking the "repository" field. Values like "[email protected]:user/project.git" is now detected as a valid git URL, but will be suggested to use a full git URL instead, like "git+ssh://[email protected]/user/project.git" (28da844)

  • Fix exports types message when the "require" or "import" condition already exists but the dts file format is still invalid (a731ec3)

[email protected]

Patch Changes

  • Fix checking bin field file path that omits .js or /index.js (04f289e)

[email protected]

Patch Changes

  • Check the "bin" field if the referenced file exists, has the correct JS format, and can be executed (#150)

  • Deprecate the deps command. The command has been tricky to maintain and incomplete (e.g. doesn't lint recursively). A separate tool can be used to run publint on dependencies instead, e.g. npx renoma --filter-rules "publint". (#149)

[email protected]

Patch Changes

  • When globbing "exports" values that contains *, also respect "exports" keys that mark paths as null. For example: (b9605ae)

    {
      "exports": {

... (truncated)

Changelog

Sourced from publint's changelog.

0.3.8

Patch Changes

  • Support passing a tarball path to the publint CLI. This allows to easily lint any tarball files at hand. (#166)

    npx publint ./mylib-1.0.0.tgz
  • The publint API now returns a pkg object as a convenience to pass it to formatMessage (#166)

  • Updated dependencies [02d169b]:

    • @​publint/pack@​0.1.2

0.3.7

Patch Changes

  • The "imports" field is now linted with the following rules: (#162)

    • IMPORTS_KEY_INVALID: Ensure the imports key starts with a #
    • IMPORTS_VALUE_INVALID: Ensure the imports value is a valid path that starts with a ./
    • IMPORTS_GLOB_NO_MATCHED_FILES: Ensure the imports glob matches at least one file
    • IMPORTS_DEFAULT_SHOULD_BE_LAST: Ensure the "default" condition is last in an entrypoint's object
    • IMPORTS_MODULE_SHOULD_BE_ESM: Ensure the "module" condition file is ESM
    • IMPORTS_MODULE_SHOULD_PRECEDE_REQUIRE: Ensure the "module" condition precedes the "require" condition in an entrypoint's object
  • Improve SSH git URL detection when checking the "repository" field. Values like "[email protected]:user/project.git" is now detected as a valid git URL, but will be suggested to use a full git URL instead, like "git+ssh://[email protected]/user/project.git" (28da844)

  • Fix exports types message when the "require" or "import" condition already exists but the dts file format is still invalid (a731ec3)

0.3.6

Patch Changes

  • Fix checking bin field file path that omits .js or /index.js (04f289e)

0.3.5

Patch Changes

  • Check the "bin" field if the referenced file exists, has the correct JS format, and can be executed (#150)

  • Deprecate the deps command. The command has been tricky to maintain and incomplete (e.g. doesn't lint recursively). A separate tool can be used to run publint on dependencies instead, e.g. npx renoma --filter-rules "publint". (#149)

0.3.4

Patch Changes

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [publint](https://github.com/publint/publint/tree/HEAD/packages/publint) from 0.2.12 to 0.3.8.
- [Release notes](https://github.com/publint/publint/releases)
- [Changelog](https://github.com/publint/publint/blob/master/packages/publint/CHANGELOG.md)
- [Commits](https://github.com/publint/publint/commits/[email protected]/packages/publint)

---
updated-dependencies:
- dependency-name: publint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 3, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 10, 2025

Superseded by #240.

@dependabot dependabot bot closed this Mar 10, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/publint-0.3.8 branch March 10, 2025 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant