Skip to content

Commit

Permalink
Upgrade: some (dev) deps
Browse files Browse the repository at this point in the history
1. after upgrading eslint-plugin-jsdoc, it reports:
"Invalid JSDoc tag name "template"  jsdoc/check-tag-names"

it was fixed by added setting.jsdoc.mode: typescript
(refs:https://github.com/gajus/eslint-plugin-jsdoc#check-tag-names)

2. the following deps were not upgraded:
* levn (was upgraded in #13140)
* ignore (it has a few breaking change)
  • Loading branch information
aladdin-add committed Apr 7, 2020
1 parent c41de38 commit 20396ab
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 20 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.js
Expand Up @@ -22,6 +22,11 @@ module.exports = {
parserOptions: {
ecmaVersion: 2020
},
settings: {
jsdoc: {
mode: "typescript"
}
},
rules: {
"eslint-plugin/consistent-output": "error",
"eslint-plugin/no-deprecated-context-methods": "error",
Expand Down
2 changes: 1 addition & 1 deletion lib/shared/relative-module-resolver.js
Expand Up @@ -11,7 +11,7 @@ const Module = require("module");
* `Module.createRequire` is added in v12.2.0. It supports URL as well.
* We only support the case where the argument is a filepath, not a URL.
*/
const createRequire = Module.createRequire || Module.createRequireFromPath;
const createRequire = Module.createRequire || Module.createRequireFromPath; // eslint-disable-line node/no-unsupported-features/node-builtins, node/no-deprecated-api

module.exports = {

Expand Down
38 changes: 19 additions & 19 deletions package.json
Expand Up @@ -48,8 +48,8 @@
"dependencies": {
"@babel/code-frame": "^7.0.0",
"ajv": "^6.10.0",
"chalk": "^3.0.0",
"cross-spawn": "^7.0.1",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.0.1",
"doctrine": "^3.0.0",
"eslint-scope": "^5.0.0",
Expand All @@ -73,12 +73,12 @@
"lodash": "^4.17.14",
"minimatch": "^3.0.4",
"natural-compare": "^1.4.0",
"optionator": "^0.8.3",
"optionator": "^0.9.1",
"progress": "^2.0.0",
"regexpp": "^3.0.0",
"semver": "^7.1.1",
"regexpp": "^3.1.0",
"semver": "^7.2.1",
"strip-ansi": "^6.0.0",
"strip-json-comments": "^3.0.1",
"strip-json-comments": "^3.1.0",
"table": "^5.2.3",
"text-table": "^0.2.0",
"v8-compile-cache": "^2.0.3"
Expand All @@ -93,39 +93,39 @@
"common-tags": "^1.8.0",
"core-js": "^3.1.3",
"dateformat": "^3.0.3",
"ejs": "^2.6.1",
"ejs": "^3.0.2",
"eslint": "file:.",
"eslint-config-eslint": "file:packages/eslint-config-eslint",
"eslint-plugin-eslint-plugin": "^2.2.1",
"eslint-plugin-internal-rules": "file:tools/internal-rules",
"eslint-plugin-jsdoc": "^15.9.5",
"eslint-plugin-node": "^9.0.0",
"eslint-plugin-jsdoc": "^22.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-release": "^1.2.0",
"eslump": "^2.0.0",
"esprima": "^4.0.1",
"glob": "^7.1.3",
"glob": "^7.1.6",
"jsdoc": "^3.5.5",
"karma": "^4.0.1",
"karma-chrome-launcher": "^2.2.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.3",
"karma-webpack": "^4.0.0-rc.6",
"leche": "^2.2.3",
"lint-staged": "^8.1.5",
"lint-staged": "^10.1.2",
"load-perf": "^0.2.0",
"markdownlint": "^0.15.0",
"markdownlint-cli": "^0.17.0",
"markdownlint": "^0.19.0",
"markdownlint-cli": "^0.22.0",
"memfs": "^3.0.1",
"mocha": "^6.1.2",
"mocha": "^7.1.1",
"mocha-junit-reporter": "^1.23.0",
"npm-license": "^0.3.3",
"nyc": "^14.1.1",
"nyc": "^15.0.1",
"proxyquire": "^2.0.1",
"puppeteer": "^1.18.0",
"recast": "^0.18.1",
"puppeteer": "^2.1.1",
"recast": "^0.19.0",
"regenerator-runtime": "^0.13.2",
"shelljs": "^0.8.2",
"sinon": "^7.3.2",
"sinon": "^9.0.1",
"temp": "^0.9.0",
"webpack": "^4.35.0",
"webpack-cli": "^3.3.5",
Expand Down

0 comments on commit 20396ab

Please sign in to comment.