Update dependencies to the most recent versions

Note that the new version of `eslint-plugin-import` contains support
for ESLint 9.

Moreover, the new version of Babel removed the leading space for import
comments (see https://github.com/babel/babel/pull/16780), so we update
the corresponding test expectation to match this.

Fixes a part of #17928.
This commit is contained in:
Tim van der Meij 2024-10-05 18:12:17 +02:00
parent 5a25c477b7
commit 78bf5287d1
No known key found for this signature in database
GPG Key ID: 8C3FD2925A5F2762
3 changed files with 624 additions and 613 deletions

View File

@ -1,4 +1,4 @@
import { Test } from "import-name"; import { Test } from "import-name";
import { Test2 } from './non-alias'; import { Test2 } from './non-alias';
export { Test3 } from "import-name"; export { Test3 } from "import-name";
await import( /*webpackIgnore: true*/"./non-alias"); await import(/*webpackIgnore: true*/"./non-alias");

1215
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -2,9 +2,9 @@
"name": "pdf.js", "name": "pdf.js",
"type": "module", "type": "module",
"devDependencies": { "devDependencies": {
"@babel/core": "^7.25.2", "@babel/core": "^7.25.7",
"@babel/preset-env": "^7.25.4", "@babel/preset-env": "^7.25.7",
"@babel/runtime": "^7.25.6", "@babel/runtime": "^7.25.7",
"@fluent/bundle": "^0.18.0", "@fluent/bundle": "^0.18.0",
"@fluent/dom": "^0.10.0", "@fluent/dom": "^0.10.0",
"@jazzer.js/core": "^2.1.0", "@jazzer.js/core": "^2.1.0",
@ -12,17 +12,17 @@
"@metalsmith/markdown": "^1.10.0", "@metalsmith/markdown": "^1.10.0",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
"babel-loader": "^9.2.1", "babel-loader": "^9.2.1",
"caniuse-lite": "^1.0.30001662", "caniuse-lite": "^1.0.30001667",
"canvas": "^2.11.2", "canvas": "^2.11.2",
"core-js": "^3.38.1", "core-js": "^3.38.1",
"eslint": "^8.57.0", "eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-fetch-options": "^0.0.5", "eslint-plugin-fetch-options": "^0.0.5",
"eslint-plugin-html": "^8.1.1", "eslint-plugin-html": "^8.1.2",
"eslint-plugin-import": "^2.30.0", "eslint-plugin-import": "^2.31.0",
"eslint-plugin-jasmine": "^4.2.2", "eslint-plugin-jasmine": "^4.2.2",
"eslint-plugin-json": "^3.1.0", "eslint-plugin-json": "^3.1.0",
"eslint-plugin-no-unsanitized": "^4.1.0", "eslint-plugin-no-unsanitized": "^4.1.2",
"eslint-plugin-prettier": "^5.2.1", "eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-sort-exports": "^0.9.1", "eslint-plugin-sort-exports": "^0.9.1",
"eslint-plugin-unicorn": "^55.0.0", "eslint-plugin-unicorn": "^55.0.0",
@ -33,7 +33,7 @@
"gulp-replace": "^1.1.4", "gulp-replace": "^1.1.4",
"gulp-zip": "^6.0.0", "gulp-zip": "^6.0.0",
"highlight.js": "^11.10.0", "highlight.js": "^11.10.0",
"jasmine": "^5.3.0", "jasmine": "^5.3.1",
"jsdoc": "^4.0.3", "jsdoc": "^4.0.3",
"jstransformer-nunjucks": "^1.2.0", "jstransformer-nunjucks": "^1.2.0",
"metalsmith": "^2.6.3", "metalsmith": "^2.6.3",
@ -56,7 +56,7 @@
"ttest": "^4.0.0", "ttest": "^4.0.0",
"typescript": "^5.6.2", "typescript": "^5.6.2",
"vinyl": "^3.0.0", "vinyl": "^3.0.0",
"webpack": "^5.94.0", "webpack": "^5.95.0",
"webpack-stream": "^7.0.0", "webpack-stream": "^7.0.0",
"yargs": "^17.7.2" "yargs": "^17.7.2"
}, },