Skip to content

Commit

Permalink
chore(deps): update dependencies (#338)
Browse files Browse the repository at this point in the history
### dependencies

* "@typescript-eslint/parser": "^3.0.0"
* "eslint": "^6.8.0"
* "typescript": "^3.9.3"
* "vue-eslint-parser": "~7.1.0"

### devDependencies

* "ajv": "^6.12.2"
* "babel-jest": "^25.0.0"
* "jest": "^25.0.0"
* "jest-cli": "^25.0.0"
* "prettier-eslint-cli": "^5.0.0"

Jest 26 dropped node 8 support
jestjs/jest#9423
  • Loading branch information
hamzahamidi committed May 22, 2020
1 parent fb19c6e commit 29e9d1e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 15 deletions.
21 changes: 10 additions & 11 deletions package.json
Expand Up @@ -18,37 +18,36 @@
],
"license": "MIT",
"dependencies": {
"@typescript-eslint/parser": "^1.10.2",
"@typescript-eslint/parser": "^3.0.0",
"common-tags": "^1.4.0",
"core-js": "^3.1.4",
"dlv": "^1.1.0",
"eslint": "~6.6.0",
"eslint": "^6.8.0",
"indent-string": "^4.0.0",
"lodash.merge": "^4.6.0",
"loglevel-colored-level-prefix": "^1.0.0",
"prettier": "^1.7.0",
"pretty-format": "^23.0.1",
"require-relative": "^0.8.7",
"typescript": "^3.2.1",
"vue-eslint-parser": "^2.0.2"
"typescript": "^3.9.3",
"vue-eslint-parser": "~7.1.0"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"acorn": "^6.1.1",
"ajv": "^5.5.2",
"ajv": "^6.12.2",
"all-contributors-cli": "^6.7.0",
"babel-jest": "^24.8.0",
"babel-jest": "^25.0.0",
"chalk": "^2.1.0",
"eslint-config-kentcdodds": "14.4.1",
"eslint-config-kentcdodds": "~14.13.0",
"husky": "^2.4.1",
"jest": "^24.8.0",
"jest-cli": "^24.8.0",
"jest": "^25.0.0",
"jest-cli": "^25.0.0",
"nps": "^5.7.1",
"nps-utils": "^1.3.0",
"opt-cli": "^1.5.2",
"prettier-eslint-cli": "^4.2.1",
"prettier-eslint-cli": "^5.0.0",
"rimraf": "^2.5.4",
"semantic-release": "^15.13.16",
"strip-indent": "^3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion src/__mocks__/eslint.js
@@ -1,7 +1,7 @@
// this mock file is so eslint doesn't attempt to actually
// search around the file system for stuff

const eslint = require.requireActual('eslint');
const eslint = jest.requireActual('eslint');
const { CLIEngine } = eslint;

const mockGetConfigForFileSpy = jest.fn(mockGetConfigForFile);
Expand Down
2 changes: 1 addition & 1 deletion src/__mocks__/fs.js
@@ -1,4 +1,4 @@
const fs = require.requireActual('fs');
const fs = jest.requireActual('fs');
module.exports = {
...fs,
readFileSync: jest.fn(filename => {
Expand Down
2 changes: 1 addition & 1 deletion src/__mocks__/prettier.js
@@ -1,4 +1,4 @@
const prettier = require.requireActual('prettier');
const prettier = jest.requireActual('prettier');
const { format } = prettier;

module.exports = prettier;
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/index.js
Expand Up @@ -126,7 +126,7 @@ const tests = [
rules: { 'no-var': 'error' },
ignorePattern: 'should-be-ignored'
},
filePath: 'should-be-ignored.js'
filePath: path.resolve('should-be-ignored.js')
},
output: 'var x = 0;'
},
Expand Down

0 comments on commit 29e9d1e

Please sign in to comment.