Update dependencies and release as 4.1.0 (#247)
* Releasing version 4.1.0 --------- Co-authored-by: Frederik Braun <fbraun+github@mozilla.com>
This commit is contained in:
Родитель
7835bfdd6f
Коммит
73fd741e82
|
@ -15,10 +15,10 @@ jobs:
|
|||
eslint-version: [9.x, 8.x]
|
||||
node-version: [20.x, 18.x]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
|
|
10
package.json
10
package.json
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "eslint-plugin-no-unsanitized",
|
||||
"description": "ESLint rule to disallow unsanitized code",
|
||||
"version": "4.0.2",
|
||||
"version": "4.1.0",
|
||||
"author": {
|
||||
"name": "Frederik Braun et al."
|
||||
},
|
||||
|
@ -11,18 +11,16 @@
|
|||
"devDependencies": {
|
||||
"@babel/core": "^7.15.8",
|
||||
"@babel/eslint-parser": "^7.15.8",
|
||||
"@babel/plugin-proposal-logical-assignment-operators": "^7.11.0",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
|
||||
"@babel/plugin-syntax-flow": "^7.16.0",
|
||||
"@typescript-eslint/parser": "^5.2.0",
|
||||
"eslint": "9.0.0",
|
||||
"@typescript-eslint/parser": "^8.0.0",
|
||||
"eslint": "9.0.0 || ^8.57.0",
|
||||
"eslint-config-prettier": "9.1.0",
|
||||
"eslint-plugin-jsdoc": "48.2.3",
|
||||
"globals": "^15.0.0",
|
||||
"mocha": "^9.2.0",
|
||||
"nyc": "^15.1.0",
|
||||
"prettier": "3.2.5",
|
||||
"typescript": "^3.9.7"
|
||||
"typescript": ">=4.7.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"eslint": "^8 || ^9"
|
||||
|
|
|
@ -14,7 +14,9 @@ const { ESLint } = require("eslint");
|
|||
const preESLintv9 = ESLint.version.split(".")[0] < 9;
|
||||
|
||||
const PATH_TO_BABEL_ESLINT = `${process.cwd()}/node_modules/@babel/eslint-parser/`;
|
||||
const PATH_TO_TYPESCRIPT_ESLINT = `${process.cwd()}/node_modules/@typescript-eslint/parser/`;
|
||||
const PATH_TO_TYPESCRIPT_ESLINT = preESLintv9
|
||||
? `${process.cwd()}/node_modules/@typescript-eslint/parser/dist`
|
||||
: `@typescript-eslint/parser`;
|
||||
|
||||
const babelParser = require(PATH_TO_BABEL_ESLINT);
|
||||
const typescriptParser = require(PATH_TO_TYPESCRIPT_ESLINT);
|
||||
|
|
|
@ -14,7 +14,9 @@ const { ESLint } = require("eslint");
|
|||
const preESLintv9 = ESLint.version.split(".")[0] < 9;
|
||||
|
||||
const PATH_TO_BABEL_ESLINT = `${process.cwd()}/node_modules/@babel/eslint-parser/`;
|
||||
const PATH_TO_TYPESCRIPT_ESLINT = `${process.cwd()}/node_modules/@typescript-eslint/parser/`;
|
||||
const PATH_TO_TYPESCRIPT_ESLINT = preESLintv9
|
||||
? `${process.cwd()}/node_modules/@typescript-eslint/parser/dist`
|
||||
: `@typescript-eslint/parser`;
|
||||
|
||||
const babelParser = require(PATH_TO_BABEL_ESLINT);
|
||||
const typescriptParser = require(PATH_TO_TYPESCRIPT_ESLINT);
|
||||
|
|
1120
yarn.lock
1120
yarn.lock
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче