Skip to content

[Snyk] Upgrade pretty-ms from 7.0.1 to 9.3.1 - #21

Open
mhill-os wants to merge 14 commits into
masterfrom
snyk-upgrade-7a789552a05aea25fad0f83dd7036508
Open

mhill-os wants to merge 14 commits into
masterfrom
snyk-upgrade-7a789552a05aea25fad0f83dd7036508

Conversation

@mhill-os

Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to upgrade pretty-ms from 7.0.1 to 9.3.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 6 versions ahead of your current version.

  • The recommended version was released 21 days ago.

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.

Release notes
Package name: pretty-ms from pretty-ms GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

@mhill-os

Copy link
Copy Markdown
Author

Merge Risk: High

This upgrade spans two major versions (v8 and v9) and introduces significant breaking changes, primarily in version 8.0.0.

Breaking Changes:

  • Pure ESM Package: As of v8.0.0, pretty-ms is a pure ESM (ECMAScript Module) package. You must now use import instead of require() to use the module. This will likely require code changes in CommonJS projects.
  • Node.js Version: Support for Node.js versions older than 14 has been dropped.

Recommendation:
Update your code from CommonJS require('pretty-ms') to use ESM import prettyMilliseconds from 'pretty-ms';. Ensure your project runs on Node.js 14 or newer.

Source: GitHub Releases

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@mhill-os

mhill-os commented Sep 18, 2026 •

Copy link
Copy Markdown
Author

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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.

2 participants