Skip to content

fix(deps): bump smol-toml and markdownlint-cli - #933

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-96d1652d81
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-96d1652d81

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 10, 2026

Copy link
Copy Markdown
Contributor

Bumps smol-toml to 1.7.2 and updates ancestor dependency markdownlint-cli. These dependencies need to be updated together.

Updates smol-toml from 1.2.2 to 1.7.2

Release notes

Sourced from smol-toml's releases.

v1.7.2

What's Changed

Full Changelog: squirrelchat/smol-toml@v1.7.1...v1.7.2

v1.7.1

This release includes flagging internal functions as @internal to strip them from the emitted type declarations.

⚠️ Includes a fix for GHSA-7w5x-hrqm-74c2

Full Changelog: squirrelchat/smol-toml@v1.7.0...v1.7.1

v1.7.0

This version slightly changes the behaviour of stringify: integers beyond the safe range are always emitted as float numbers.

String decode logic has been rewritten, it is a bit faster now and uses a single-pass approach instead of a dual-pass approach as it did previously. The code should be a bit smaller too, though I didn't actually measure that.

The package is now published with source-maps, declaration-maps, and a copy of the original TypeScript source files. This will improve your DX if you're like me and like Ctrl+Click'ing things a lot. ;)

What's Changed

New Contributors

Full Changelog: squirrelchat/smol-toml@v1.6.1...v1.7.0

v1.6.1

This release addresses a minor security vulnerability where an attacker-controlled TOML document can exploit an unrestricted recustion and cause a stack overflow error with a document that contains thousands of sucessive commented lines. Security advisory: GHSA-v3rj-xjv7-4jmq

v1.6.0

As of this version, smol-toml now supports the newly released TOML 1.1.0 specification!

Highlights

Multiline inline tables

TOML 1.1.0 now allows inline tables to have newlines, as well as trailing commas.

database = {
  driver = "postgresql",
  server = {
    host = "127.0.0.1",
    port = 3307,
  },
}
</tr></table> 

... (truncated)

Commits
  • 19239d0 chore: bump version
  • 5f55c3a chore: revert sourcemap publishing
  • 5c26f1b chore: update benchmarks
  • 92832d2 refactor: better logic orchestration in structs
  • 2fb9ab8 refactor: ctx object instead of pointer arg + tuple returns
  • e6017c4 ci: use staged publish
  • 3e978a9 chore: bump versions
  • 30f5c36 chore: add some @internal annotations
  • f0e0399 chore(README.md): npmx, use star import
  • a62f06f revert: keep using vite 7
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for smol-toml since your current version.


Updates markdownlint-cli from 0.41.0 to 0.49.1

Release notes

Sourced from markdownlint-cli's releases.

v0.49.1

  • Update markdownlint dependency to 0.41.1
    • Improve MD029
    • Fix module resolution under webpack
    • Update dependencies
  • Update all dependencies via Dependabot

v0.49.0

  • Update markdownlint dependency to 0.41.0
    • Improve MD022/MD028/MD035/MD042/MD051/MD060
    • Remove handling of inline directive syntax (frequent false positives)
    • Remove support for end-of-life Node version 20
  • Update all dependencies via Dependabot

v0.48.0

  • Update all dependencies via Dependabot

v0.47.0

  • Add output and exit code support for warnings
  • Update markdownlint dependency to 0.40.0
    • Improve MD011/MD013/MD051/MD060
  • Update all dependencies via Dependabot

v0.46.0

  • Replace glob dependency with tinyglobby (smaller and fewer dependencies)
  • Update markdownlint dependency to 0.39.0
    • Add MD060/table-column-style
    • Improve MD001/MD007/MD009/MD010/MD029/MD033/MD037/MD059
  • Update all dependencies via Dependabot

v0.45.0

  • Update markdownlint dependency to 0.38.0
    • Add MD059/descriptive-link-text
    • Improve MD025/MD027/MD036/MD038/MD041/MD043/MD045/MD051/MD052
    • Remove support for end-of-life Node version 18
  • Update all dependencies via Dependabot

v0.44.0

  • Update markdownlint dependency to 0.37.4
    • Convert module to ECMAScript (breaking change)
    • Stop using require, convert to import
    • Improve MD032
  • Update all dependencies via Dependabot

v0.43.0

  • Update markdownlint dependency to 0.36.1
    • Improve MD051
    • Make micromark parser available to custom rules
    • Improve performance
  • Update all dependencies via Dependabot

... (truncated)

Commits
  • 5b5dddc Bump version 0.49.1
  • 4e83bdd Bump run-con from 1.3.2 to 1.3.3
  • 4f2127b Bump actions/setup-node from 6 to 7
  • cc62492 Manually address new violations reported by xo.
  • 678b7ee Bump xo from 3.0.2 to 4.0.0
  • 06602e9 Bump ignore from 7.0.5 to 7.0.6
  • eac32dd Bump markdownlint from 0.41.0 to 0.41.1
  • 2864eb0 Bump js-yaml from 5.2.0 to 5.2.1
  • 2748661 Bump markdown-it from 14.2.0 to 14.3.0
  • 0144ebe Manually address new violations reported by xo.
  • Additional commits viewable in compare view

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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [smol-toml](https://github.com/squirrelchat/smol-toml) to 1.7.2 and updates ancestor dependency [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli). These dependencies need to be updated together.


Updates `smol-toml` from 1.2.2 to 1.7.2
- [Release notes](https://github.com/squirrelchat/smol-toml/releases)
- [Commits](squirrelchat/smol-toml@v1.2.2...v1.7.2)

Updates `markdownlint-cli` from 0.41.0 to 0.49.1
- [Release notes](https://github.com/igorshubovych/markdownlint-cli/releases)
- [Commits](igorshubovych/markdownlint-cli@v0.41.0...v0.49.1)

---
updated-dependencies:
- dependency-name: smol-toml
  dependency-version: 1.7.2
  dependency-type: indirect
- dependency-name: markdownlint-cli
  dependency-version: 0.49.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 10, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 10, 2026
@netlify

netlify Bot commented Sep 10, 2026

Copy link
Copy Markdown

Deploy Preview for phillips-seldon ready!

Name Link
🔨 Latest commit 2890a13
🔍 Latest deploy log https://app.netlify.com/projects/phillips-seldon/deploys/6aa33b6c4dbede000819c58e
😎 Deploy Preview https://deploy-preview-933--phillips-seldon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@phillips-pr-review-agent phillips-pr-review-agent Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependency bump: markdownlint-cli@0.41.0 → 0.49.1 + smol-toml@1.2.2 → 1.7.2

Security context — why this bump matters

smol-toml carries two patched CVEs that are fixed by this update:

  • GHSA-v3rj-xjv7-4jmq (v1.6.1): stack overflow via attacker-controlled TOML with thousands of consecutive commented lines — fixed in 1.6.1.
  • GHSA-7w5x-hrqm-74c2 (v1.7.1): additional security advisory — fixed in 1.7.1.

Both are devDependencies, so the blast radius is limited to build/lint tooling, not the published package. The update is still the right call.


❌ Blocking issue: lint.yml pins Node.js to 18.x

The new markdownlint-cli@0.49.1 (and its transitive deps) require Node ≥ 22:

Package Old engine requirement New engine requirement
markdownlint-cli >=18 >=22
markdownlint >=18 >=22
ini (in run-con) ^14.17.0 || ^16.13.0 || >=18 ^22.22.2 || ^24.15.0 || >=26.0.0
commander@15 (top-level) >=18 >=22.12.0

.nvmrc is already pinned to v22.23.1build.yml and test.yml correctly use node-version-file: '.nvmrc'. But lint.yml hardcodes node-version: '18.x' and does not reference .nvmrc. With Node 18 the npm ci step will succeed (npm doesn't enforce engine ranges by default), but if markdownlint or any transitive dep uses a Node ≥ 22 API at runtime, the lint step will fail or silently misbehave.

Fix: change lint.yml to use node-version-file: '.nvmrc' (same pattern as build.yml and test.yml):

- name: Setup Node.js
  uses: actions/setup-node@v3
  with:
    node-version-file: '.nvmrc'
    cache: 'npm'

This PR should not be merged until either:

  1. lint.yml is updated to use Node 22 (preferred — aligns with .nvmrc), or
  2. The team confirms that CI runs markdownlint on Node ≥ 22 via another mechanism.

Non-blocking observations

New heavy transitive deps (katex, the full micromark family): markdownlint 0.41.x replaces its custom markdownlint-micromark shim with the full upstream micromark stack and adds micromark-extension-math + katex for math block support. All devDependencies — zero production/bundle impact on the published @phillips/seldon package.

deep-extend promoted to direct dep of markdownlint-cli (was already an indirect dep via run-con). No concern.

dequal loses its "peer": true lockfile marker — it becomes a regular devDependency instead of a peer. Harmless.


Summary

I would request changes. The security fixes in smol-toml are worth landing quickly, but lint.yml must be updated to Node 22 before merging — otherwise the lint CI job will run the new markdownlint toolchain under an unsupported Node version. The fix is a one-line change in lint.yml.

@chromatic-com

chromatic-com Bot commented Sep 10, 2026

Copy link
Copy Markdown

Tip

All tests passed and all changes approved!

🟢 UI Tests: 490 tests unchanged
🟢 UI Review: 251 stories published -- no changes
Storybook icon Storybook Publish: 251 stories published

@github-actions

Copy link
Copy Markdown

🚀 Storybook preview is ready.

• Preview: undefined
• Chromatic build: undefined

Copy link
Copy Markdown
Contributor

Dependency Upgrade Risk Assessment: dependency-upgrade-risk:low

What are smol-toml and markdownlint-cli?

markdownlint-cli (0.41.0 → 0.49.1) is a command-line linting tool for Markdown files. It is used via the lint:md script (markdownlint "src/**/*.{md,mdx}" --fix) to enforce Markdown style consistency across documentation and source files.

smol-toml (1.2.2 → 1.7.2) is a fast, minimal TOML parser. It is a transitive dependency of markdownlint-cli — it is pulled in automatically by markdownlint-cli and is not imported directly by any seldon source code.

How are they used in this codebase?

Both are devDependencies used only during development and CI for linting Markdown content in src/. Neither package appears in the built @phillips/seldon output.

Why LOW risk?

Both packages are dev-tooling only with no runtime impact:

  • markdownlint-cli is a CLI tool — it cannot affect the library output regardless of version
  • smol-toml is never directly imported by seldon code (transitive dep only)
  • The markdownlint-cli jump (0.41 → 0.49) introduces several improved lint rules, but the --fix flag handles auto-fixable issues. New rules would only surface as CI failures, not runtime issues.

Key factors:

  • ✅ Both are devDependency only — zero runtime risk to consumers
  • ✅ smol-toml is a transitive dep and not directly imported
  • ✅ No impact on @phillips/seldon built output
  • ⚠️ markdownlint-cli added rules (MD059, MD060, improved MD022/MD028/MD035 etc.) — may flag existing Markdown on first run

Regression Tests to Run Before Merging

  • Run npm run lint:md (or equivalent) and verify it passes cleanly
  • If new lint violations appear, confirm they are auto-fixed by --fix or manually address them before merging
  • Spot-check any src/**/*.md or src/**/*.mdx files for unintended formatting changes after --fix runs
  • Confirm CI completes successfully with the updated linting tools

Generated by Claude Code

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 dependency-upgrade-risk:low javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant