Skip to content

Bump js-yaml and mocha - #12

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/multi-255ced0874
Open

Bump js-yaml and mocha#12
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/multi-255ced0874

Conversation

@dependabot

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

Copy link
Copy Markdown

Bumps js-yaml to 5.4.1 and updates ancestor dependency mocha. These dependencies need to be updated together.

Updates js-yaml from 3.13.1 to 5.4.1

Changelog

Sourced from js-yaml's changelog.

[5.4.1] - 2026-08-26

Changed

  • Hard-limit merge sequence size to 100.

Security

  • Count empty mappings in merge sequences toward maxTotalMergeKeys to limit CPU usage, #797.

[5.4.0] - 2026-08-25

Added

  • Added the scalarStyleRules dumper option to customize string formatting. See Scalar styling for details.

Changed

  • [breaking] Flattened the low-level AST node style representation. Scalar and collection nodes now use SCALAR_STYLE and COLLECTION_STYLE values; explicit tags use the separate tagged property. Alias nodes now contain only kind and anchor. This only affects code that directly constructs or edits AST nodes.
  • [breaking] The sortKeys option was rewritten using AST mutation to avoid side effects.
  • Reworked scalar style selection. This can change formatting without changing loaded values; in particular, whitespace-only strings are now double-quoted.

Fixed

  • Accept a byte order mark at the start of each document in a stream, #791.
  • Produce valid flow mappings with quoteFlowKeys and flowSkipColonSpace, including alias and property-only keys, #786.
  • Preserve empty scalar items when converting block sequences to flow style.
  • Do not apply the 1024-character simple-key limit to flow mapping keys.
  • Count Unicode code points, rather than UTF-16 code units, for the 1024-character simple-key limit.
  • Add an explicit document-end marker after keep-chomped block scalars when needed to preserve trailing newlines.

[5.3.0] - 2026-08-14

This release focuses on reworking the documentation and making small architectural improvements before moving forward.

Added

  • Added completely new documentation.
  • Exported DUMP_SCHEMA, the default schema used by the dumper.
  • Added YAMLException.throwAt() for throwing an error at a source position.

Changed

... (truncated)

Commits

Updates mocha from 6.2.2 to 12.0.1

Release notes

Sourced from mocha's releases.

v12.0.1

12.0.1 (2026-09-08)

🩹 Fixes

  • bump serialize-javascript to ^7.1.1 (#6278) (02558a3)
  • deps: update dependency find-up to v8 (#5747) (ee11d29)
  • deps: update dependency is-path-inside to v4 (#5748) (5b27e3a)
  • deps: update dependency starlight-blog to ^0.29.0 (#6248) (532b82b)
  • keep unknown config values from becoming test specs (#6244) (15aa7d1)
  • only reject positional args that are entirely numeric (#6222) (1633779)
  • reporter: split err.stack at trailing frame block so embedded stacks render once (#5997) (90f48e4)

📚 Documentation

🧹 Chores

  • auto-add GitHub items to project (#5686) (d24c320)
  • convert lib/runner.js to ESM (#6260) (123b2d5)
  • deps: update actions/add-to-project action to v2 (#6276) (00f873b)
  • deps: update actions/github-script action to v9 (#6277) (49ed525)
  • deps: update dependency astro to v7.2.9 (#6223) (513bd50)
  • deps: update dependency eslint to v10.9.1 (#6251) (e28b90c)
  • deps: update dependency eslint-plugin-n to v18.3.0 (#6240) (3a11840)
  • deps: update dependency globals to v17.11.0 (#6243) (1cf345b)
  • deps: update dependency globals to v17.12.0 (#6288) (97b8df6)
  • deps: update dependency js-yaml to v5.4.1 (#6247) (9593caa)
  • deps: update dependency knip to v6.32.3 (#6224) (6781fa1)
  • deps: update dependency knip to v6.34.0 (#6279) (85ff1b6)
  • deps: update dependency rollup to v4.63.1 (#6274) (e5a779e)
  • deps: update dependency serialize-javascript to v7.1.0 (#6239) (77e4d4a)
  • deps: update dependency webpack to v5.110.1 (#6275) (ec436d5)
  • deps: update matteogabriele/agentscan-action action to v2.5.0 (#6280) (0bb7925)
  • remove unused .lintstagedrc.json (#6270) (d84fdbf)
  • update spam filter (#6271) (b932787)
  • use a junction to link the config fixture on Windows (#6218) (a6b5d98)

v12.0.0

12.0.0 (2026-08-31)

🩹 Fixes

... (truncated)

Changelog

Sourced from mocha's changelog.

12.0.1 (2026-09-08)

🩹 Fixes

  • bump serialize-javascript to ^7.1.1 (#6278) (02558a3)
  • deps: update dependency find-up to v8 (#5747) (ee11d29)
  • deps: update dependency is-path-inside to v4 (#5748) (5b27e3a)
  • deps: update dependency starlight-blog to ^0.29.0 (#6248) (532b82b)
  • keep unknown config values from becoming test specs (#6244) (15aa7d1)
  • only reject positional args that are entirely numeric (#6222) (1633779)
  • reporter: split err.stack at trailing frame block so embedded stacks render once (#5997) (90f48e4)

📚 Documentation

🧹 Chores

  • auto-add GitHub items to project (#5686) (d24c320)
  • convert lib/runner.js to ESM (#6260) (123b2d5)
  • deps: update actions/add-to-project action to v2 (#6276) (00f873b)
  • deps: update actions/github-script action to v9 (#6277) (49ed525)
  • deps: update dependency astro to v7.2.9 (#6223) (513bd50)
  • deps: update dependency eslint to v10.9.1 (#6251) (e28b90c)
  • deps: update dependency eslint-plugin-n to v18.3.0 (#6240) (3a11840)
  • deps: update dependency globals to v17.11.0 (#6243) (1cf345b)
  • deps: update dependency globals to v17.12.0 (#6288) (97b8df6)
  • deps: update dependency js-yaml to v5.4.1 (#6247) (9593caa)
  • deps: update dependency knip to v6.32.3 (#6224) (6781fa1)
  • deps: update dependency knip to v6.34.0 (#6279) (85ff1b6)
  • deps: update dependency rollup to v4.63.1 (#6274) (e5a779e)
  • deps: update dependency serialize-javascript to v7.1.0 (#6239) (77e4d4a)
  • deps: update dependency webpack to v5.110.1 (#6275) (ec436d5)
  • deps: update matteogabriele/agentscan-action action to v2.5.0 (#6280) (0bb7925)
  • remove unused .lintstagedrc.json (#6270) (d84fdbf)
  • update spam filter (#6271) (b932787)
  • use a junction to link the config fixture on Windows (#6218) (a6b5d98)

12.0.0 (2026-08-31)

🩹 Fixes

  • fixup parsing negative numbers and quoted strings (#6250) (2962875)
  • preserve FIFO descriptors when respawning (#6254) (3bb317d)

... (truncated)

Commits
Maintainer changes

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


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 [js-yaml](https://github.com/nodeca/js-yaml) to 5.4.1 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together.


Updates `js-yaml` from 3.13.1 to 5.4.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@3.13.1...5.4.1)

Updates `mocha` from 6.2.2 to 12.0.1
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](mochajs/mocha@v6.2.2...v12.0.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 5.4.1
  dependency-type: indirect
- dependency-name: mocha
  dependency-version: 12.0.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 12, 2026
@dependabot dependabot Bot mentioned this pull request Sep 12, 2026
Comment thread package-lock.json
"safe-buffer": "^5.0.1"
}
},
"ejs": {
"node_modules/ejs": {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Medium severity vulnerability may affect your project—review required:
Line 1271 lists a dependency (ejs) with a known Medium severity vulnerability.

ℹ️ Why this matters

Affected versions of ejs are vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') / Protection Mechanism Failure. ejs before 3.1.10 lacks prototype-pollution protection when handling template options, so a polluted Object.prototype can inject options such as client and escapeFunction into the template compiler and reach arbitrary-code paths. Any code that compiles or renders a template through render, renderFile, compile, or the Template constructor exercises the vulnerable options handling.

References: https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-1209, GHSA, CVE

To resolve this comment:
Check if you are using ejs on the CLI.

  • If you're affected, upgrade this dependency to at least version 3.1.10 at package-lock.json.
  • If you're not affected, comment /fp we don't use this [condition]
💬 Ignore this finding

To ignore this, reply with:

  • /fp <comment> for false positive
  • /ar <comment> for acceptable risk
  • /other <comment> for all other reasons

You can view more details on this finding in the Semgrep AppSec Platform here.

Comment thread package-lock.json
},
"jsonwebtoken": {
"node_modules/jsonwebtoken": {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Medium severity vulnerability may affect your project—review required:
Line 2278 lists a dependency (jsonwebtoken) with a known Medium severity vulnerability.

ℹ️ Why this matters

Affected versions of jsonwebtoken are vulnerable to Improper Authentication. Insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC.

References: https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-7650, GHSA, CVE

To resolve this comment:
Check if you are using a poorly implemented key retrieval function and your application is supporting usage of both symmetric key and asymmetric key in jwt.verify() implementation with the same key retrieval function..

  • If you're affected, upgrade this dependency to at least version 9.0.0 at package-lock.json.
  • If you're not affected, comment /fp we don't use this [condition]
💬 Ignore this finding

To ignore this, reply with:

  • /fp <comment> for false positive
  • /ar <comment> for acceptable risk
  • /other <comment> for all other reasons

You can view more details on this finding in the Semgrep AppSec Platform here.

Comment thread package-lock.json
},
"jsonwebtoken": {
"node_modules/jsonwebtoken": {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

High severity vulnerability may affect your project—review required:
Line 2278 lists a dependency (jsonwebtoken) with a known High severity vulnerability.

ℹ️ Why this matters

Affected versions of jsonwebtoken are vulnerable to Use Of A Broken Or Risky Cryptographic Algorithm. The library could be misconfigured so that legacy, insecure key types are used for signature verification. For example, DSA keys could be used with the RS256 algorithm.

References: https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-7563, GHSA, CVE

To resolve this comment:
Check if you are using a legacy, insecure key type with a supported algorithm; for example, DSA keys could be used with the RS256 algorithm.

  • If you're affected, upgrade this dependency to at least version 9.0.0 at package-lock.json.
  • If you're not affected, comment /fp we don't use this [condition]
💬 Ignore this finding

To ignore this, reply with:

  • /fp <comment> for false positive
  • /ar <comment> for acceptable risk
  • /other <comment> for all other reasons

You can view more details on this finding in the Semgrep AppSec Platform here.

Comment thread package-lock.json
},
"get-func-name": {
"node_modules/get-func-name": {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

High severity vulnerability introduced by a package you're using:
Line 1643 lists a dependency (get-func-name) with a known High severity vulnerability. Fixing requires upgrading or replacing the dependency.

ℹ️ Why this matters

Affected version of get-func-name is vulnerable to Uncontrolled Resource Consumption / Inefficient Regular Expression Complexity. The current regex implementation for parsing values in the module is susceptible to excessive backtracking, leading to potential DoS attacks.

References: https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-2419, GHSA, CVE

To resolve this comment:
Upgrade this dependency to at least version 2.0.1 at package-lock.json.

💬 Ignore this finding

To ignore this, reply with:

  • /fp <comment> for false positive
  • /ar <comment> for acceptable risk
  • /other <comment> for all other reasons

You can view more details on this finding in the Semgrep AppSec Platform here.

Comment thread package-lock.json
}
},
"knex": {
"node_modules/knex": {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Critical severity vulnerability may affect your project—review required:
Line 2361 lists a dependency (knex) with a known Critical severity vulnerability.

ℹ️ Why this matters

Affected version of knex is vulnerable to Improper Neutralization Of Special Elements Used In An Sql Command ('Sql Injection'). Identifiers are escaped incorrectly as part of the MSSQL dialect, allowing attackers to craft a malicious query to the host DB.

References: https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-0687, GHSA, CVE

To resolve this comment:
Check if you are using MSSQL.

  • If you're affected, upgrade this dependency to at least version 0.19.5 at package-lock.json.
  • If you're not affected, comment /fp we don't use this [condition]
💬 Ignore this finding

To ignore this, reply with:

  • /fp <comment> for false positive
  • /ar <comment> for acceptable risk
  • /other <comment> for all other reasons

You can view more details on this finding in the Semgrep AppSec Platform here.

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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants