Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency publint to v0.3.3 (master) #783

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 23, 2023

This PR contains the following updates:

Package Type Update Change OpenSSF
publint (source) devDependencies minor 0.2.6 -> 0.3.3 OpenSSF Scorecard

Release Notes

publint/publint (publint)

v0.3.3

Compare Source

Patch Changes
  • Rename EXPORT_TYPES_INVALID_FORMAT message to EXPORTS_TYPES_INVALID_FORMAT (#​139)

  • Allow versioned types conditions (e.g. "types@>=5.2") in "exports" when checking for "types" condition ordering (#​138)

v0.3.2

Compare Source

Patch Changes
  • (Potentially breaking) Disable running lifecycle scripts, such as prepare, prepack, and postpack, when running the pack command internally. This returns to the behavior in v0.2. (Note that this change does not apply to yarn as it does not support ignoring lifecycle scripts for local projects) (#​128)

    This change is made as running lifecycle scripts was an unintentional behavior during the v0.3 breaking change, which could cause the linting process to take longer than expected, or even cause infinite loops if publint is used in a lifecycle script.

  • Update repository and bugs URLs to point to the new publint organization (1eda033)

  • Updated dependencies [1eda033, 10e3891]:

v0.3.1

Compare Source

Patch Changes
  • Correctly process the pack option (#​124)

v0.3.0

Compare Source

Minor Changes
  • The vfs option is removed in favour of an extended support of pack: { tarball: ArrayBuffer | ReadableStream } and pack: { files: PackFile[] } APIs. Now, it is even easier to use publint in the browser or against a packed .tgz file in Node.js. See the docs for more examples of how to use these new options. (#​122)

  • Bump node version support to >=18 (cb2ed8b)

  • publint now runs your project's package manager's pack command to get the list of packed files for linting. The previous npm-packlist dependency is now removed. (#​120)

    A new pack option is added to the node API to allow configuring this. It defaults to 'auto' and will automatically detect your project's package manager using package-manager-detector. See its JSDoc for more information of the option.

    This change is made as package managers have different behaviors for packing files, so running their pack command directly allows for more accurate linting. However, as a result of executing these commands in a child process, it may take 200-500ms longer to lint depending on the package manager used and the project size. The new handling also does not support yarn 1. See this comment for more information.

    If you use yarn 1, you should upgrade to the latest yarn version or a different package manager. Otherwise, no other changes are required for this new behavior.

Patch Changes
  • Initial setup to publish with Changesets (24a62f5)

  • When a dependency with the file: or link: protocol is specified in the package.json, it will now error to prevent accidentally publishing dependencies that will likely not work when installed by end-users (6e6ab33)

  • Fix EXPORT_TYPES_INVALID_FORMAT linting to detect .d.mts and .d.cts files (af5e88b)

  • Updated dependencies [d0b406b]:

v0.2.12

Compare Source

Features
Bug fixes
Site

Full Changelog: publint/publint@v0.2.11...v0.2.12

v0.2.11

Compare Source

Features
New Contributors

Full Changelog: publint/publint@v0.2.10...v0.2.11

v0.2.10

Compare Source

Features
  • Adds a new rule that validates the "repository" field (https://github.com/bluwy/publint/pull/106)
    • If "repository" is a string, it must be one of the supported shorthand strings from the docs.
    • If "repository" is an object with "type": "git", the "url" must be a valid git URL and can be parsed by npm.
    • The git:// protocol for GitHub repos should not be used due security concerns.
    • GitHub or GitLab links should be prefixed with git+ and postfixed with .git. (This is also warned by npm when publishing a package).
New Contributors

Full Changelog: publint/publint@v0.2.9...v0.2.10

v0.2.9

Compare Source

Bug fixes
New Contributors

Full Changelog: publint/publint@v0.2.8...v0.2.9

v0.2.8

Compare Source

Bug fixes

Full Changelog: publint/publint@v0.2.7...v0.2.8

v0.2.7

Compare Source

Features
  • If the library exports from both "main"/"module" and "exports" fields, but the "exports" field doesn't export the root entrypoint, warn about the inconsistency. When "exports" is defined, it takes the highest priority, so all the library's entrypoint (root and deep) needs to be specified here. (https://github.com/bluwy/publint/issues/88)
  • Suggest using the "type" field. In Node.js v20.10.0, it introduces a new --experimental-default-type flag to flip the default module system from "CJS-as-default" to "ESM-as-default". It's recommended for libraries to specify the "type" field explicitly to prevent CJS files from being incorrectly interpreted as ESM. This suggestion helps push towards a better ESM experience in the future. (https://github.com/bluwy/publint/issues/83)

Full Changelog: publint/publint@v0.2.6...v0.2.7


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

codecov bot commented Dec 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (1f8cde0) to head (3f21b2a).

Current head 3f21b2a differs from pull request most recent head 0816b04

Please upload reports for the commit 0816b04 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #783   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            6         6           
=========================================
  Hits             6         6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/master-publint-0.x branch from 3f21b2a to 0816b04 Compare May 18, 2024 12:56
@renovate renovate bot changed the title chore(deps): update dependency publint to v0.2.7 (master) chore(deps): update dependency publint to v0.2.8 (master) May 18, 2024
@renovate renovate bot force-pushed the renovate/master-publint-0.x branch from 0816b04 to 6fa7d5f Compare July 17, 2024 07:04
@renovate renovate bot changed the title chore(deps): update dependency publint to v0.2.8 (master) chore(deps): update dependency publint to v0.2.9 (master) Jul 17, 2024
@renovate renovate bot force-pushed the renovate/master-publint-0.x branch from 6fa7d5f to 7a44f3f Compare August 15, 2024 09:24
@renovate renovate bot changed the title chore(deps): update dependency publint to v0.2.9 (master) chore(deps): update dependency publint to v0.2.10 (master) Aug 15, 2024
@renovate renovate bot changed the title chore(deps): update dependency publint to v0.2.10 (master) chore(deps): update dependency publint to v0.2.11 (master) Sep 16, 2024
@renovate renovate bot force-pushed the renovate/master-publint-0.x branch from 7a44f3f to 7e8f771 Compare September 16, 2024 14:55
@renovate renovate bot changed the title chore(deps): update dependency publint to v0.2.11 (master) chore(deps): update dependency publint to v0.2.12 (master) Oct 24, 2024
@renovate renovate bot force-pushed the renovate/master-publint-0.x branch from 7e8f771 to 1454027 Compare October 24, 2024 10:43
@renovate renovate bot force-pushed the renovate/master-publint-0.x branch from 1454027 to 51e16c5 Compare January 6, 2025 17:38
@renovate renovate bot changed the title chore(deps): update dependency publint to v0.2.12 (master) chore(deps): update dependency publint to v0.3.0 (master) Jan 6, 2025
@renovate renovate bot force-pushed the renovate/master-publint-0.x branch from 51e16c5 to 2691752 Compare January 11, 2025 18:17
@renovate renovate bot changed the title chore(deps): update dependency publint to v0.3.0 (master) chore(deps): update dependency publint to v0.3.1 (master) Jan 11, 2025
@renovate renovate bot force-pushed the renovate/master-publint-0.x branch from 2691752 to d33f261 Compare January 13, 2025 17:50
@renovate renovate bot changed the title chore(deps): update dependency publint to v0.3.1 (master) chore(deps): update dependency publint to v0.3.2 (master) Jan 13, 2025
@renovate renovate bot changed the title chore(deps): update dependency publint to v0.3.2 (master) chore(deps): update dependency publint to v0.3.3 (master) Feb 5, 2025
@renovate renovate bot force-pushed the renovate/master-publint-0.x branch from d33f261 to 7c8e155 Compare February 5, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants