Skip to content

Commit

Permalink
chore: update dependencies (Node v12)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Nov 22, 2022
1 parent e80fcab commit 64bcf6e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
root: true

extends:
- plugin:@mysticatea/es2020
- plugin:@eslint-community/mysticatea/es2020

rules:
"@mysticatea/prettier": "off"
"@eslint-community/mysticatea/prettier": "off"

overrides:
- files:
- src/**/*.js
- test/**/*.js
extends:
- plugin:@mysticatea/+modules
- plugin:@eslint-community/mysticatea/+modules
rules:
init-declarations: "off"
"@mysticatea/node/no-unsupported-features/es-syntax":
"@eslint-community/mysticatea/node/no-unsupported-features/es-syntax":
- error
- ignores: [modules]
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@
"./package.json": "./package.json"
},
"dependencies": {
"eslint-visitor-keys": "^2.1.0"
"eslint-visitor-keys": "^3.3.0"
},
"devDependencies": {
"@mysticatea/eslint-plugin": "^13.0.0",
"dot-prop": "^4.2.1",
"@eslint-community/eslint-plugin-mysticatea": "^15.2.0",
"dot-prop": "^6.0.1",
"eslint": "^7.32.0",
"esm": "^3.2.25",
"espree": "github:eslint/espree#1c744b3a602b783926344811a9459b92afe57444",
"mocha": "^6.2.3",
"mocha": "^8.4.0",
"npm-run-all": "^4.1.5",
"nyc": "^14.1.1",
"nyc": "^15.1.0",
"opener": "^1.5.2",
"prettier": "2.7.1",
"rimraf": "^3.0.2",
Expand All @@ -53,7 +53,7 @@
"format": "npm run -s format:prettier -- --write",
"format:prettier": "prettier docs/.vuepress/config.js src/**/*.js test/**/*.js rollup.config.js .vscode/*.json *.json .github/**/*.yml *.yml docs/**/*.md *.md",
"format:check": "npm run -s format:prettier -- --check",
"lint": "eslint docs/.vuepress/config.js src test rollup.config.js",
"lint": "eslint .",
"test": "nyc mocha --reporter dot \"test/*.js\"",
"preversion": "npm test && npm run -s build",
"postversion": "git push && git push --tags",
Expand Down
2 changes: 1 addition & 1 deletion src/get-static-value.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ const operations = Object.freeze({
case "%":
return { value: left.value % right.value }
case "**":
return { value: Math.pow(left.value, right.value) }
return { value: left.value ** right.value }
case "|":
return { value: left.value | right.value }
case "^":
Expand Down
2 changes: 1 addition & 1 deletion src/has-side-effect.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import evk from "eslint-visitor-keys"
import * as evk from "eslint-visitor-keys"

const typeConversionBinaryOps = Object.freeze(
new Set([
Expand Down

0 comments on commit 64bcf6e

Please # to comment.