Bump js-yaml, eslint, eslint-config-airbnb-base and eslint-plugin-import
Bumps js-yaml to 4.1.1 and updates ancestor dependencies js-yaml, eslint, eslint-config-airbnb-base and eslint-plugin-import. These dependencies need to be updated together.
Updates js-yaml from 3.13.1 to 4.1.1
Changelog
Sourced from js-yaml's changelog.
[4.1.1] - 2025-11-12
Security
- Fix prototype pollution issue in yaml merge (<<) operator.
[4.1.0] - 2021-04-15
Added
- Types are now exported as
yaml.types.XXX.- Every type now has
optionsproperty with original arguments kept as they were (seeyaml.types.int.optionsas an example).Changed
Schema.extend()now keeps old type order in case of conflicts (e.g. Schema.extend([ a, b, c ]).extend([ b, a, d ]) is now ordered asabcdinstead ofcbad).[4.0.0] - 2021-01-03
Changed
- Check migration guide to see details for all breaking changes.
- Breaking: "unsafe" tags
!!js/function,!!js/regexp,!!js/undefinedare moved to js-yaml-js-types package.- Breaking: removed
safe*functions. Useload,loadAll,dumpinstead which are all now safe by default.yaml.DEFAULT_SAFE_SCHEMAandyaml.DEFAULT_FULL_SCHEMAare removed, useyaml.DEFAULT_SCHEMAinstead.yaml.Schema.create(schema, tags)is removed, useschema.extend(tags)instead.!!binarynow always mapped toUint8Arrayon load.- Reduced nesting of
/libfolder.- Parse numbers according to YAML 1.2 instead of YAML 1.1 (
01234is now decimal,0o1234is octal,1:23is parsed as string instead of base60).dump()no longer quotes:,[,],(,)except when necessary, #470, #557.- Line and column in exceptions are now formatted as
(X:Y)instead ofat line X, column Y(also present in compact format), #332.- Code snippet created in exceptions now contains multiple lines with line numbers.
dump()now serializesundefinedasnullin collections and removes keys withundefinedin mappings, #571.dump()withskipInvalid=truenow serializes invalid items in collections as null.- Custom tags starting with
!are now dumped as!taginstead of!<!tag>, #576.- Custom tags starting with
tag:yaml.org,2002:are now shorthanded using!!, #258.Added
- Added
.mjs(es modules) support.- Added
quotingTypeandforceQuotesoptions for dumper to configure string literal style, #290, #529.- Added
styles: { '!!null': 'empty' }option for dumper (serializes{ foo: null }as "foo:"), #570.- Added
replaceroption (similar to option in JSON.stringify), #339.- Custom
Tagcan now handle all tags or multiple tags with the same prefix, #385.Fixed
... (truncated)
Commits
cc482e74.1.1 released50968b8dist rebuildd092d86lint fix383665ffix prototype pollution in merge (<<)0d3ca7aREADME.md: HTTP => HTTPS (#678)49baadddoc: 'empty' style option for !!nullba3460eFix demo link (#618)2cef47b4.1.0 released810b149dist rebuild2b5620eExport built-in types, type override now preserves order- Additional commits viewable in compare view
Updates eslint from 6.8.0 to 9.39.1
Release notes
Sourced from eslint's releases.
v9.39.1
Bug Fixes
Documentation
51b51f4docs: add a section on when to use extends vs cascading (#20268) (Tanuj Kanti)b44d426docs: Update README (GitHub Actions Bot)Chores
92db329chore: update@eslint/jsversion to 9.39.1 (#20284) (Francesco Trotta)c7ebefcchore: package.json update for@eslint/jsrelease (Jenkins)61778f6chore: update eslint-config-eslint dependency@eslint/jsto ^9.39.0 (#20275) (renovate[bot])d9ca2fcci: Add rangeStrategy to eslint group in renovate config (#20266) (唯然)009e507test: fix version tests for ESLint v10 (#20274) (Milos Djermanovic)v9.39.0
Features
cc57d87feat: update error loc to key inno-dupe-class-members(#20259) (Tanuj Kanti)126552ffeat: update error location infor-directionandno-dupe-args(#20258) (Tanuj Kanti)167d097feat: updatecomplexityrule to highlight only static block header (#20245) (jaymarvelz)Bug Fixes
15f5c7cfix: forward traversalstep.argsto visitors (#20253) (jaymarvelz)5a1a534fix: allow JSDoc comments in object-shorthand rule (#20167) (Nitin Kumar)e86b813fix: Use more types from@eslint/core(#20257) (Nicholas C. Zakas)927272dfix: correctScopetypings (#20198) (jaymarvelz)37f76d9fix: useAST.Programtype for Program node (#20244) (Francesco Trotta)ae07f0bfix: unify timing report for concurrent linting (#20188) (jaymarvelz)b165d47fix: correctRuletypings (#20199) (jaymarvelz)fb97cdafix: improve error message for missing fix function in suggestions (#20218) (jaymarvelz)Documentation
d3e81e3docs: Always recommend to include a files property (#20158) (Percy Ma)0f0385fdocs: use consistent naming recommendation (#20250) (Alex M. Spieslechner)a3b1456docs: Update README (GitHub Actions Bot)cf5f2dddocs: fix correct tag ofno-useless-constructor(#20255) (Tanuj Kanti)10b995cdocs: add TS options and examples fornofuncinno-use-before-define(#20249) (Tanuj Kanti)2584187docs: remove repetitive word in comment (#20242) (reddaisyy)637216bdocs: update CLI flags migration instructions (#20238) (jaymarvelz)e7cda3bdocs: Update README (GitHub Actions Bot)7b9446fdocs: handle empty flags sections on the feature flags page (#20222) (sethamus)Chores
dfe3c1bchore: update@eslint/jsversion to 9.39.0 (#20270) (Francesco Trotta)2375a6dchore: package.json update for@eslint/jsrelease (Jenkins)a1f4e52chore: update@eslintdependencies (#20265) (Francesco Trotta)c7d3229chore: update dependency@eslint/coreto ^0.17.0 (#20256) (renovate[bot])27549bcchore: update fuzz testing to not error if code sample minimizer fails (#20252) (Milos Djermanovic)a1370eeci: bump actions/setup-node from 5 to 6 (#20230) (dependabot[bot])9e7fad4chore: add script to auto-generate eslint:recommended configuration (#20208) (唯然)
... (truncated)
Commits
e2772819.39.14cdf397Build: changelog update for 9.39.192db329chore: update@eslint/jsversion to 9.39.1 (#20284)c7ebefcchore: package.json update for@eslint/jsrelease650753efix: Only pass node to JS lang visitor methods (#20283)51b51f4docs: add a section on when to use extends vs cascading (#20268)61778f6chore: update eslint-config-eslint dependency@eslint/jsto ^9.39.0 (#20275)d9ca2fcci: Add rangeStrategy to eslint group in renovate config (#20266)009e507test: fix version tests for ESLint v10 (#20274)b44d426docs: Update README- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by eslintbot, a new releaser for eslint since your current version.
Updates eslint-config-airbnb-base from 14.0.0 to 15.0.0
Commits
366bfa6[eslint config] [base] v15.0.0f3d3a07[eslint config] [base] [breaking] drop eslint < 7, add eslint 8eac8cc6[eslint config] [base] [breaking] addexportsbe6966b[eslint-config] [meta] add--no-saveto link scripts4fc997b[readme] some updates96f11d8[actions] run prepublishOnly in prepublish testsc12a08c[actions] fix action working directories10a6d02[meta] useprepublishOnlyscript for npm 7+ef6c478[eslint config] [*] [dev deps] update@babel/runtime6734b78[eslint config] [*] [deps] updateeslint-plugin-import,object.entries- Additional commits viewable in compare view
Updates eslint-plugin-import from 2.20.0 to 2.32.0
Release notes
Sourced from eslint-plugin-import's releases.
v2.32.0
Added
- add
enforce-node-protocol-usagerule andimport/node-versionsetting (#3024, thanks [@GoldStrikeArch] and [@sevenc-nanashi])- add TypeScript types (#3097, thanks [
@G-Rath])extensions: add `pathGroupOverrides to allow enforcement decision overrides based on specifier (#3105, thanks [@Xunnamius])- [
order]: addsortTypesGroupoption to allow intragroup sorting of type-only imports (#3104, thanks [@Xunnamius])- [
order]: addnewlines-between-typesoption to control intragroup sorting of type-only imports (#3127, thanks [@Xunnamius])- [
order]: addconsolidateIslandsoption to collapse excess spacing for aesthetically pleasing imports (#3129, thanks [@Xunnamius])Fixed
- [
no-unused-modules]: provide more meaningful error message when no .eslintrc is present (#3116, thanks [@michaelfaith])- configs: added missing name attribute for eslint config inspector (#3151, thanks [
@NishargShah])- [
order]: ensure arcane imports do not cause undefined behavior (#3128, thanks [@Xunnamius])- [
order]: resolve undefined property access issue when usingnamedordering (#3166, thanks [@Xunnamius])enforce-node-protocol-usage: avoid a crash with some TS code (#3173, thanks [@ljharb])- [
order]: codify invariants from docs into config schema (#3152, thanks [@Xunnamius])Changed
- [Docs]
extensions, [order]: improve documentation (#3106, thanks [@Xunnamius])- [Docs] add flat config guide for using
tseslint.config()(#3125, thanks [@lnuvy])- [Docs] add missing comma (#3122, thanks [
@RyanGst])- [readme] Update flatConfig example to include typescript config (#3138, thanks [
@intellix])- [Refactor] [
order]: remove unnecessary negative check (#3167, thanks [@JounQin])- [Docs] [
no-unused-modules]: add missing double quote (#3191, thanks [@albertpastrana])- [Docs]
no-restricted-paths: clarify wording and fix errors (#3172, thanks [@greim])
... (truncated)
Changelog
Sourced from eslint-plugin-import's changelog.
[2.32.0] - 2025-06-20
Added
- add [
enforce-node-protocol-usage] rule andimport/node-versionsetting (#3024, thanks [@GoldStrikeArch] and [@sevenc-nanashi])- add TypeScript types (#3097, thanks [
@G-Rath])- [
extensions]: add `pathGroupOverrides to allow enforcement decision overrides based on specifier (#3105, thanks [@Xunnamius])- [
order]: addsortTypesGroupoption to allow intragroup sorting of type-only imports (#3104, thanks [@Xunnamius])- [
order]: addnewlines-between-typesoption to control intragroup sorting of type-only imports (#3127, thanks [@Xunnamius])- [
order]: addconsolidateIslandsoption to collapse excess spacing for aesthetically pleasing imports (#3129, thanks [@Xunnamius])Fixed
- [
no-unused-modules]: provide more meaningful error message when no .eslintrc is present (#3116, thanks [@michaelfaith])- configs: added missing name attribute for eslint config inspector (#3151, thanks [
@NishargShah])- [
order]: ensure arcane imports do not cause undefined behavior (#3128, thanks [@Xunnamius])- [
order]: resolve undefined property access issue when usingnamedordering (#3166, thanks [@Xunnamius])- [
enforce-node-protocol-usage]: avoid a crash with some TS code (#3173, thanks [@ljharb])- [
order]: codify invariants from docs into config schema (#3152, thanks [@Xunnamius])Changed
- [Docs] [
extensions], [order]: improve documentation (#3106, thanks [@Xunnamius])- [Docs] add flat config guide for using
tseslint.config()(#3125, thanks [@lnuvy])- [Docs] add missing comma (#3122, thanks [
@RyanGst])- [readme] Update flatConfig example to include typescript config (#3138, thanks [
@intellix])- [Refactor] [
order]: remove unnecessary negative check (#3167, thanks [@JounQin])- [Docs] [
no-unused-modules]: add missing double quote (#3191, thanks [@albertpastrana])- [Docs]
no-restricted-paths: clarify wording and fix errors (#3172, thanks [@greim])[2.31.0] - 2024-10-03
Added
- support eslint v9 (#2996, thanks [
@G-Rath] [@michaelfaith])- [
order]: allow validating named imports (#3043, thanks [@manuth])- [
extensions]: add thecheckTypeImportsoption (#2817, thanks [@phryneas])Fixed
ExportMap/ flat config: includelanguageOptionsin context (#3052, thanks [@michaelfaith])- [
no-named-as-default]: Allow using an identifier if the export is both a named and a default export (#3032, thanks [@akwodkiewicz])- [
export]: False positive for exported overloaded functions in TS (#3065, thanks [@liuxingbaoyu])exportMap: export map cache is tainted by unreliable parse results (#3062, thanks [@michaelfaith])exportMap: improve cacheKey when using flat config (#3072, thanks [@michaelfaith])- adjust "is source type module" checks for flat config (#2996, thanks [
@G-Rath])Changed
- [Docs] [
no-relative-packages]: fix typo (#3066, thanks [@joshuaobrien])- [Performance] [
no-cycle]: dont scc for each linted file (#3068, thanks [@soryy708])- [Docs] [
no-cycle]: adddisableSccto docs (#3070, thanks [@soryy708])- [Tests] use re-exported
RuleTester(#3071, thanks [@G-Rath])- [Docs] [
no-restricted-paths]: fix grammar (#3073, thanks [@unbeauvoyage])- [Tests] [
no-default-export], [no-named-export]: add test case (thanks [@G-Rath])
... (truncated)
Commits
01c9eb0v2.32.0ae57cc1[Deps] updatearray-includes,array.prototype.findlastindex, `eslint-modu...9e1ad6b[Fix]order: codify invariants from docs into config schemaf017790[Docs]no-restricted-paths: clarify wording and fix errors7d83a57[Docs]no-unused-modules: add missing double quote519eb94[utils] v2.12.171ad145[actions] split out tests into new vs old eslint9b096c4[utils] [dev deps] update@arethetypeswrong/cli,@ljharb/tsconfig, `@type...da5f6ec[Fix]enforce-node-protocol-usage: avoid a crash with some TS code6e49a58[Refactor]order: remove unnecessary negative check- 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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.