Compare commits

..

2 Commits

Author SHA1 Message Date
gowridurgad
b30ec2846d Check failure fix 2026-01-29 16:59:28 +05:30
dependabot[bot]
9799cba2a7 Bump eslint from 8.57.1 to 9.39.2
Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 9.39.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v8.57.1...v9.39.2)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.39.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-19 07:34:44 +00:00
3 changed files with 459 additions and 561 deletions

View File

@@ -8,6 +8,8 @@ import fs from 'fs';
import path from 'path';
import osm from 'os';
import each from 'jest-each';
import * as main from '../src/main';
import * as util from '../src/util';
import OfficialBuilds from '../src/distributions/official_builds/official_builds';
@@ -91,7 +93,7 @@ describe('main tests', () => {
}, 100000);
describe('getNodeVersionFromFile', () => {
it.each`
each`
contents | expected
${'12'} | ${'12'}
${'12.3'} | ${'12.3'}
@@ -108,7 +110,7 @@ describe('main tests', () => {
${'{"volta": {"extends": "./package.json"}}'}| ${'18.0.0'}
${'{"engines": {"node": "17.0.0"}}'} | ${'17.0.0'}
${'{}'} | ${null}
`('parses "$contents"', ({contents, expected}) => {
`.it('parses "$contents"', ({contents, expected}) => {
const existsSpy = jest.spyOn(fs, 'existsSync');
existsSpy.mockImplementation(() => true);

1005
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -43,15 +43,16 @@
"@types/jest": "^29.5.14",
"@types/node": "^24.1.0",
"@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"@vercel/ncc": "^0.38.3",
"eslint": "^8.57.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jest": "^28.14.0",
"eslint-plugin-node": "^11.1.0",
"jest": "^29.7.0",
"jest-circus": "^29.7.0",
"jest-each": "^29.7.0",
"prettier": "^3.6.2",
"ts-jest": "^29.4.1",
"typescript": "^5.4.2"