Skip to content

chore: update dependency jest to v26 #1933

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 6, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion @alias/commitlint-config-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"dependencies": {
"@commitlint/config-angular": "^11.0.0"
Expand Down
2 changes: 1 addition & 1 deletion @alias/commitlint-config-lerna-scopes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"dependencies": {
"@commitlint/config-lerna-scopes": "^11.0.0"
Expand Down
2 changes: 1 addition & 1 deletion @alias/commitlint-config-patternplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"dependencies": {
"@commitlint/config-patternplate": "^11.0.0"
Expand Down
2 changes: 1 addition & 1 deletion @alias/commitlint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"pkg": "pkg-check --skip-main"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-angular-type-enum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"devDependencies": {
"@commitlint/utils": "^11.0.0"
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"devDependencies": {
"@commitlint/utils": "^11.0.0"
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-conventional/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"devDependencies": {
"@commitlint/lint": "^11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-lerna-scopes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"lerna": "^3.22.1"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"dependencies": {
"import-from": "3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-patternplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"dependencies": {
"@commitlint/config-angular": "^11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/ensure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/execute-rule/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/format/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/is-ignored/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/load/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/message/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/parse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/prompt-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"devDependencies": {
"@commitlint/test": "^11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/prompt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/read/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/resolve-extends/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/rules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/to-lines/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/top-level/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
Empty file modified @commitlint/travis-cli/cli.js
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion @commitlint/travis-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"pkg": "pkg-check --skip-main"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
4 changes: 1 addition & 3 deletions @packages/babel-preset-commitlint/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const fastAsync = require('fast-async');
const env = require('@babel/preset-env');
const jsx = require('@babel/plugin-transform-react-jsx');
const commonjs = require('@babel/plugin-transform-modules-commonjs');
Expand All @@ -10,7 +9,6 @@ function preset() {
const plugins = [
commonjs,
[jsx, {pragma: 'h'}],
[fastAsync, {spec: true}],
[transformRuntime, {regenerator: false}],
];

Expand All @@ -27,7 +25,7 @@ function preset() {
{
debug: process.env.DEBUG === 'true',
exclude: ['transform-regenerator', 'transform-async-to-generator'],
targets: {node: '6'},
targets: {node: '10'},
modules: false,
},
],
Expand Down
2 changes: 1 addition & 1 deletion @packages/babel-preset-commitlint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"index.js"
],
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @packages/test-environment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lib/"
],
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @packages/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lib/"
],
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @packages/test/src/fix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export async function bootstrap(fixture?: string, directory?: string) {
});

if (typeof fixture !== 'undefined') {
const packageDir = await pkgDir(directory);
var packageDir = await pkgDir(directory);
if (!packageDir) {
throw new Error(`ENOENT, no such file or directory '${packageDir}'`);
}
Expand Down
2 changes: 1 addition & 1 deletion @packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"pkg": "node pkg-check.js --skip-main"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^24.0.0",
"husky": "4.3.6",
"jest": "25.1.0",
"jest": "26.4.2",
"lerna": "^3.22.1",
"lerna-v3": "npm:lerna@3",
"lint-staged": "10.5.3",
Expand Down
Loading