Skip to content

Commit cb5cc1f

Browse files
committed
chore: update dependencies (Node v12)
1 parent ec558b5 commit cb5cc1f

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.eslintrc.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
root: true
22

33
extends:
4-
- plugin:@mysticatea/es2020
4+
- plugin:@eslint-community/mysticatea/es2020
55

66
rules:
7-
"@mysticatea/prettier": "off"
7+
"@eslint-community/mysticatea/prettier": "off"
88

99
overrides:
1010
- files:
1111
- src/**/*.js
1212
- test/**/*.js
1313
extends:
14-
- plugin:@mysticatea/+modules
14+
- plugin:@eslint-community/mysticatea/+modules
1515
rules:
1616
init-declarations: "off"
17-
"@mysticatea/node/no-unsupported-features/es-syntax":
17+
"@eslint-community/mysticatea/node/no-unsupported-features/es-syntax":
1818
- error
1919
- ignores: [modules]

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@
1919
"./package.json": "./package.json"
2020
},
2121
"dependencies": {
22-
"eslint-visitor-keys": "^2.1.0"
22+
"eslint-visitor-keys": "^3.3.0"
2323
},
2424
"devDependencies": {
25-
"@mysticatea/eslint-plugin": "^13.0.0",
26-
"dot-prop": "^4.2.1",
25+
"@eslint-community/eslint-plugin-mysticatea": "^15.2.0",
26+
"dot-prop": "^6.0.1",
2727
"eslint": "^7.32.0",
2828
"esm": "^3.2.25",
2929
"espree": "github:eslint/espree#1c744b3a602b783926344811a9459b92afe57444",
30-
"mocha": "^6.2.3",
30+
"mocha": "^8.4.0",
3131
"npm-run-all": "^4.1.5",
32-
"nyc": "^14.1.1",
32+
"nyc": "^15.1.0",
3333
"opener": "^1.5.2",
3434
"prettier": "2.7.1",
3535
"rimraf": "^3.0.2",
@@ -53,7 +53,7 @@
5353
"format": "npm run -s format:prettier -- --write",
5454
"format:prettier": "prettier docs/.vuepress/config.js src/**/*.js test/**/*.js rollup.config.js .vscode/*.json *.json .github/**/*.yml *.yml docs/**/*.md *.md",
5555
"format:check": "npm run -s format:prettier -- --check",
56-
"lint": "eslint docs/.vuepress/config.js src test rollup.config.js",
56+
"lint": "eslint .",
5757
"test": "nyc mocha --reporter dot \"test/*.js\"",
5858
"preversion": "npm test && npm run -s build",
5959
"postversion": "git push && git push --tags",

src/get-static-value.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ const operations = Object.freeze({
228228
case "%":
229229
return { value: left.value % right.value }
230230
case "**":
231-
return { value: Math.pow(left.value, right.value) }
231+
return { value: left.value ** right.value }
232232
case "|":
233233
return { value: left.value | right.value }
234234
case "^":

src/has-side-effect.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import evk from "eslint-visitor-keys"
1+
import * as evk from "eslint-visitor-keys"
22

33
const typeConversionBinaryOps = Object.freeze(
44
new Set([

0 commit comments

Comments
 (0)