From 6b3b9a9820b119bc0432db64a9bcad6decfcef4b Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Fri, 3 Jan 2020 19:51:59 +0100 Subject: [PATCH 0001/2192] fix(commitlint): use new read pkg syntax (#888) --- @alias/commitlint/cli.js | 2 +- @packages/utils/pkg-check.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/@alias/commitlint/cli.js b/@alias/commitlint/cli.js index ca3bb2f16b..6fd6c3ff4a 100755 --- a/@alias/commitlint/cli.js +++ b/@alias/commitlint/cli.js @@ -4,7 +4,7 @@ const resolvePkg = require('resolve-pkg'); const readPkg = require('read-pkg'); const pkgDir = resolvePkg('@commitlint/cli', {cwd: __dirname}); -const manifest = readPkg.sync(path.join(pkgDir, 'package.json')); +const manifest = readPkg.sync({cwd: pkgDir}); const bin = path.join(pkgDir, manifest.bin.commitlint); require(bin); diff --git a/@packages/utils/pkg-check.js b/@packages/utils/pkg-check.js index b7dde148fa..3122ae80a6 100755 --- a/@packages/utils/pkg-check.js +++ b/@packages/utils/pkg-check.js @@ -43,7 +43,7 @@ function main(cli) { const skipImport = typeof cli.flags.skipImport === 'boolean' ? cli.flags.skipImport : false; - return readPkg(cwd).then(pkg => { + return readPkg({cwd}).then(pkg => { return getTarballFiles(cwd, {write: !skipImport}).then(tarball => { return getPackageFiles(cwd).then(pkgFiles => { let problems = []; From 3fce33999e1e5f23b15545f1c6f3e7bd78e8d37b Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Fri, 3 Jan 2020 18:57:29 +0000 Subject: [PATCH 0002/2192] v8.3.4 --- @alias/commitlint-config-angular/CHANGELOG.md | 8 ++++++++ @alias/commitlint-config-angular/package.json | 6 +++--- @alias/commitlint-config-lerna-scopes/CHANGELOG.md | 8 ++++++++ @alias/commitlint-config-lerna-scopes/package.json | 6 +++--- @alias/commitlint-config-patternplate/CHANGELOG.md | 8 ++++++++ @alias/commitlint-config-patternplate/package.json | 6 +++--- @alias/commitlint/CHANGELOG.md | 11 +++++++++++ @alias/commitlint/package.json | 6 +++--- @commitlint/cli/CHANGELOG.md | 8 ++++++++ @commitlint/cli/package.json | 12 ++++++------ @commitlint/config-angular-type-enum/CHANGELOG.md | 8 ++++++++ @commitlint/config-angular-type-enum/package.json | 4 ++-- @commitlint/config-angular/CHANGELOG.md | 8 ++++++++ @commitlint/config-angular/package.json | 6 +++--- @commitlint/config-conventional/CHANGELOG.md | 8 ++++++++ @commitlint/config-conventional/package.json | 4 ++-- @commitlint/config-lerna-scopes/CHANGELOG.md | 8 ++++++++ @commitlint/config-lerna-scopes/package.json | 4 ++-- @commitlint/config-patternplate/CHANGELOG.md | 8 ++++++++ @commitlint/config-patternplate/package.json | 6 +++--- @commitlint/core/CHANGELOG.md | 8 ++++++++ @commitlint/core/package.json | 10 +++++----- @commitlint/ensure/CHANGELOG.md | 8 ++++++++ @commitlint/ensure/package.json | 4 ++-- @commitlint/execute-rule/CHANGELOG.md | 8 ++++++++ @commitlint/execute-rule/package.json | 6 +++--- @commitlint/format/CHANGELOG.md | 8 ++++++++ @commitlint/format/package.json | 4 ++-- @commitlint/is-ignored/CHANGELOG.md | 8 ++++++++ @commitlint/is-ignored/package.json | 6 +++--- @commitlint/lint/CHANGELOG.md | 8 ++++++++ @commitlint/lint/package.json | 10 +++++----- @commitlint/load/CHANGELOG.md | 8 ++++++++ @commitlint/load/package.json | 8 ++++---- @commitlint/message/CHANGELOG.md | 8 ++++++++ @commitlint/message/package.json | 4 ++-- @commitlint/parse/CHANGELOG.md | 8 ++++++++ @commitlint/parse/package.json | 4 ++-- @commitlint/prompt-cli/CHANGELOG.md | 8 ++++++++ @commitlint/prompt-cli/package.json | 6 +++--- @commitlint/prompt/CHANGELOG.md | 8 ++++++++ @commitlint/prompt/package.json | 6 +++--- @commitlint/read/CHANGELOG.md | 8 ++++++++ @commitlint/read/package.json | 6 +++--- @commitlint/resolve-extends/CHANGELOG.md | 8 ++++++++ @commitlint/resolve-extends/package.json | 6 +++--- @commitlint/rules/CHANGELOG.md | 8 ++++++++ @commitlint/rules/package.json | 12 ++++++------ @commitlint/to-lines/CHANGELOG.md | 8 ++++++++ @commitlint/to-lines/package.json | 6 +++--- @commitlint/top-level/CHANGELOG.md | 8 ++++++++ @commitlint/top-level/package.json | 4 ++-- @commitlint/travis-cli/CHANGELOG.md | 8 ++++++++ @commitlint/travis-cli/package.json | 6 +++--- @packages/utils/CHANGELOG.md | 11 +++++++++++ @packages/utils/package.json | 2 +- CHANGELOG.md | 11 +++++++++++ lerna.json | 2 +- 58 files changed, 327 insertions(+), 86 deletions(-) diff --git a/@alias/commitlint-config-angular/CHANGELOG.md b/@alias/commitlint-config-angular/CHANGELOG.md index 5193139270..80eb60279d 100644 --- a/@alias/commitlint-config-angular/CHANGELOG.md +++ b/@alias/commitlint-config-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package commitlint-config-angular + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package commitlint-config-angular diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index 9715994a36..a09b5dcdfc 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-angular", - "version": "8.3.0", + "version": "8.3.4", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -28,9 +28,9 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "dependencies": { - "@commitlint/config-angular": "^8.3.0" + "@commitlint/config-angular": "^8.3.4" }, "devDependencies": { - "@commitlint/utils": "^8.3.0" + "@commitlint/utils": "^8.3.4" } } diff --git a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md index b9a8d5d83e..d6ef88fcc1 100644 --- a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md +++ b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package commitlint-config-lerna-scopes + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package commitlint-config-lerna-scopes diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index 0215e1f9e8..b6dc6846ab 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-lerna-scopes", - "version": "8.3.2", + "version": "8.3.4", "description": "Shareable commitlint config enforcing lerna package names as scopes", "files": [ "index.js" @@ -28,9 +28,9 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "dependencies": { - "@commitlint/config-lerna-scopes": "^8.3.2" + "@commitlint/config-lerna-scopes": "^8.3.4" }, "devDependencies": { - "@commitlint/utils": "^8.3.0" + "@commitlint/utils": "^8.3.4" } } diff --git a/@alias/commitlint-config-patternplate/CHANGELOG.md b/@alias/commitlint-config-patternplate/CHANGELOG.md index 48f08f9f6e..c1683d9085 100644 --- a/@alias/commitlint-config-patternplate/CHANGELOG.md +++ b/@alias/commitlint-config-patternplate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package commitlint-config-patternplate + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package commitlint-config-patternplate diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index 538faa76e2..8e450cebc3 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-patternplate", - "version": "8.3.0", + "version": "8.3.4", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "dependencies": { - "@commitlint/config-patternplate": "^8.3.0", - "@commitlint/utils": "^8.3.0" + "@commitlint/config-patternplate": "^8.3.4", + "@commitlint/utils": "^8.3.4" } } diff --git a/@alias/commitlint/CHANGELOG.md b/@alias/commitlint/CHANGELOG.md index 87fe834d94..301736ad42 100644 --- a/@alias/commitlint/CHANGELOG.md +++ b/@alias/commitlint/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + + +### Bug Fixes + +* **commitlint:** use new read pkg syntax ([#888](https://github.com/conventional-changelog/commitlint/issues/888)) ([6b3b9a9](https://github.com/conventional-changelog/commitlint/commit/6b3b9a9)) + + + + + ## [8.3.1](https://github.com/conventional-changelog/commitlint/compare/v8.3.0...v8.3.1) (2019-10-16) **Note:** Version bump only for package commitlint diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 96e2367302..91821eef27 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -1,6 +1,6 @@ { "name": "commitlint", - "version": "8.3.3", + "version": "8.3.4", "description": "Lint your commit messages", "files": [ "cli.js" @@ -34,11 +34,11 @@ }, "license": "MIT", "dependencies": { - "@commitlint/cli": "^8.3.3", + "@commitlint/cli": "^8.3.4", "read-pkg": "5.2.0", "resolve-pkg": "2.0.0" }, "devDependencies": { - "@commitlint/utils": "^8.3.0" + "@commitlint/utils": "^8.3.4" } } diff --git a/@commitlint/cli/CHANGELOG.md b/@commitlint/cli/CHANGELOG.md index 97f715d4d8..c73959a9e0 100644 --- a/@commitlint/cli/CHANGELOG.md +++ b/@commitlint/cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/cli + + + + + ## [8.3.1](https://github.com/conventional-changelog/commitlint/compare/v8.3.0...v8.3.1) (2019-10-16) **Note:** Version bump only for package @commitlint/cli diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 7fb0c1048e..1042955e7b 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/cli", - "version": "8.3.3", + "version": "8.3.4", "description": "Lint your commit messages", "files": [ "index.js", @@ -54,7 +54,7 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.0", + "@commitlint/utils": "^8.3.4", "ava": "0.18.2", "babel-cli": "6.26.0", "babel-preset-commitlint": "^8.2.0", @@ -70,10 +70,10 @@ "tmp": "0.1.0" }, "dependencies": { - "@commitlint/format": "^8.3.2", - "@commitlint/lint": "^8.3.2", - "@commitlint/load": "^8.3.3", - "@commitlint/read": "^8.3.2", + "@commitlint/format": "^8.3.4", + "@commitlint/lint": "^8.3.4", + "@commitlint/load": "^8.3.4", + "@commitlint/read": "^8.3.4", "babel-polyfill": "6.26.0", "chalk": "2.4.2", "get-stdin": "7.0.0", diff --git a/@commitlint/config-angular-type-enum/CHANGELOG.md b/@commitlint/config-angular-type-enum/CHANGELOG.md index d22f405829..8d6aeb4421 100644 --- a/@commitlint/config-angular-type-enum/CHANGELOG.md +++ b/@commitlint/config-angular-type-enum/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/config-angular-type-enum + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/config-angular-type-enum diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 00bb921ddc..65cc3b0a0e 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular-type-enum", - "version": "8.3.0", + "version": "8.3.4", "description": "Shareable commitlint config enforcing the angular commit convention types", "files": [ "index.js" @@ -29,6 +29,6 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "devDependencies": { - "@commitlint/utils": "^8.3.0" + "@commitlint/utils": "^8.3.4" } } diff --git a/@commitlint/config-angular/CHANGELOG.md b/@commitlint/config-angular/CHANGELOG.md index 4b3aa67b63..3c5378707d 100644 --- a/@commitlint/config-angular/CHANGELOG.md +++ b/@commitlint/config-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/config-angular + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/config-angular diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index 694e52e5cf..0f17a56526 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular", - "version": "8.3.0", + "version": "8.3.4", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -29,9 +29,9 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "devDependencies": { - "@commitlint/utils": "^8.3.0" + "@commitlint/utils": "^8.3.4" }, "dependencies": { - "@commitlint/config-angular-type-enum": "^8.3.0" + "@commitlint/config-angular-type-enum": "^8.3.4" } } diff --git a/@commitlint/config-conventional/CHANGELOG.md b/@commitlint/config-conventional/CHANGELOG.md index 2c2b86ab5d..8becaef667 100644 --- a/@commitlint/config-conventional/CHANGELOG.md +++ b/@commitlint/config-conventional/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/config-conventional + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index 8eee1d63b6..d5e029c1e9 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-conventional", - "version": "8.3.3", + "version": "8.3.4", "description": "Shareable commitlint config enforcing conventional commits", "files": [ "index.js" @@ -32,7 +32,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "devDependencies": { - "@commitlint/utils": "^8.3.0" + "@commitlint/utils": "^8.3.4" }, "dependencies": { "conventional-changelog-conventionalcommits": "4.2.1" diff --git a/@commitlint/config-lerna-scopes/CHANGELOG.md b/@commitlint/config-lerna-scopes/CHANGELOG.md index 147c27ecaa..5526103f2d 100644 --- a/@commitlint/config-lerna-scopes/CHANGELOG.md +++ b/@commitlint/config-lerna-scopes/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/config-lerna-scopes + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/config-lerna-scopes diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index b66a669c49..e1e7a71389 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-lerna-scopes", - "version": "8.3.2", + "version": "8.3.4", "description": "Shareable commitlint config enforcing lerna package names as scopes", "files": [ "index.js" @@ -47,7 +47,7 @@ }, "devDependencies": { "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.0", + "@commitlint/utils": "^8.3.4", "@lerna/project": "3.18.0", "ava": "0.22.0", "lerna": "3.18.3" diff --git a/@commitlint/config-patternplate/CHANGELOG.md b/@commitlint/config-patternplate/CHANGELOG.md index 6bf7728a1e..41b0983538 100644 --- a/@commitlint/config-patternplate/CHANGELOG.md +++ b/@commitlint/config-patternplate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/config-patternplate + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/config-patternplate diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index fcea5410f4..e1e2061f24 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-patternplate", - "version": "8.3.0", + "version": "8.3.4", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -29,11 +29,11 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "dependencies": { - "@commitlint/config-angular": "^8.3.0", + "@commitlint/config-angular": "^8.3.4", "globby": "10.0.1", "lodash": "4.17.15" }, "devDependencies": { - "@commitlint/utils": "^8.3.0" + "@commitlint/utils": "^8.3.4" } } diff --git a/@commitlint/core/CHANGELOG.md b/@commitlint/core/CHANGELOG.md index 4a4d70edff..a037296ba4 100644 --- a/@commitlint/core/CHANGELOG.md +++ b/@commitlint/core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/core + + + + + ## [8.3.1](https://github.com/conventional-changelog/commitlint/compare/v8.3.0...v8.3.1) (2019-10-16) **Note:** Version bump only for package @commitlint/core diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index 2e6dbcdc57..2e556304d1 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/core", - "version": "8.3.3", + "version": "8.3.4", "description": "Lint your commit messages", "files": [ "index.js" @@ -32,9 +32,9 @@ }, "license": "MIT", "dependencies": { - "@commitlint/format": "^8.3.2", - "@commitlint/lint": "^8.3.2", - "@commitlint/load": "^8.3.3", - "@commitlint/read": "^8.3.2" + "@commitlint/format": "^8.3.4", + "@commitlint/lint": "^8.3.4", + "@commitlint/load": "^8.3.4", + "@commitlint/read": "^8.3.4" } } diff --git a/@commitlint/ensure/CHANGELOG.md b/@commitlint/ensure/CHANGELOG.md index 0ca7a4d9d7..a3b1f21000 100644 --- a/@commitlint/ensure/CHANGELOG.md +++ b/@commitlint/ensure/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/ensure + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/ensure diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 7857aaa4e9..3ee7128da9 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/ensure", - "version": "8.3.0", + "version": "8.3.4", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^8.3.0", + "@commitlint/utils": "^8.3.4", "globby": "10.0.1" }, "dependencies": { diff --git a/@commitlint/execute-rule/CHANGELOG.md b/@commitlint/execute-rule/CHANGELOG.md index 2c6cae3be2..1889724478 100644 --- a/@commitlint/execute-rule/CHANGELOG.md +++ b/@commitlint/execute-rule/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/execute-rule + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/execute-rule diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index d1d89ca1b6..dd71fed909 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/execute-rule", - "version": "8.3.2", + "version": "8.3.4", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,8 +34,8 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^8.3.2", - "@commitlint/utils": "^8.3.0", + "@commitlint/parse": "^8.3.4", + "@commitlint/utils": "^8.3.4", "@types/jest": "24.0.19", "@types/lodash": "4.14.144", "jest": "24.8.0", diff --git a/@commitlint/format/CHANGELOG.md b/@commitlint/format/CHANGELOG.md index a402944a5d..cb8c044780 100644 --- a/@commitlint/format/CHANGELOG.md +++ b/@commitlint/format/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/format + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/format diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index f67fc0ceed..c8911fe512 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/format", - "version": "8.3.2", + "version": "8.3.4", "description": "Format commitlint reports", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^8.3.0", + "@commitlint/utils": "^8.3.4", "@types/lodash": "4.14.144", "lodash": "4.17.15", "typescript": "3.6.4" diff --git a/@commitlint/is-ignored/CHANGELOG.md b/@commitlint/is-ignored/CHANGELOG.md index 24c005a345..13c8dc80fc 100644 --- a/@commitlint/is-ignored/CHANGELOG.md +++ b/@commitlint/is-ignored/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/is-ignored + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/is-ignored diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index ecd843420d..f02430eae7 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/is-ignored", - "version": "8.3.2", + "version": "8.3.4", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,9 +34,9 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^8.3.2", + "@commitlint/parse": "^8.3.4", "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.0" + "@commitlint/utils": "^8.3.4" }, "dependencies": { "@types/semver": "^6.0.1", diff --git a/@commitlint/lint/CHANGELOG.md b/@commitlint/lint/CHANGELOG.md index 6aded60364..3bf98cb742 100644 --- a/@commitlint/lint/CHANGELOG.md +++ b/@commitlint/lint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/lint + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/lint diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 8b5b1f1baa..011ddf0472 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/lint", - "version": "8.3.2", + "version": "8.3.4", "description": "Lint a string against commitlint rules", "main": "lib/index.js", "files": [ @@ -57,7 +57,7 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.0", + "@commitlint/utils": "^8.3.4", "ava": "0.22.0", "babel-cli": "6.26.0", "babel-preset-commitlint": "^8.2.0", @@ -69,9 +69,9 @@ "proxyquire": "2.1.3" }, "dependencies": { - "@commitlint/is-ignored": "^8.3.2", - "@commitlint/parse": "^8.3.2", - "@commitlint/rules": "^8.3.2", + "@commitlint/is-ignored": "^8.3.4", + "@commitlint/parse": "^8.3.4", + "@commitlint/rules": "^8.3.4", "babel-runtime": "^6.23.0", "lodash": "4.17.15" } diff --git a/@commitlint/load/CHANGELOG.md b/@commitlint/load/CHANGELOG.md index e071785f63..88880db4b8 100644 --- a/@commitlint/load/CHANGELOG.md +++ b/@commitlint/load/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/load + + + + + ## [8.3.1](https://github.com/conventional-changelog/commitlint/compare/v8.3.0...v8.3.1) (2019-10-16) diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 0ced037eea..c359eec4e5 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/load", - "version": "8.3.3", + "version": "8.3.4", "description": "Load shared commitlint configuration", "main": "lib/index.js", "files": [ @@ -57,7 +57,7 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.0", + "@commitlint/utils": "^8.3.4", "ava": "0.22.0", "babel-cli": "6.26.0", "babel-preset-commitlint": "^8.2.0", @@ -68,8 +68,8 @@ "globby": "10.0.1" }, "dependencies": { - "@commitlint/execute-rule": "^8.3.2", - "@commitlint/resolve-extends": "^8.3.2", + "@commitlint/execute-rule": "^8.3.4", + "@commitlint/resolve-extends": "^8.3.4", "babel-runtime": "^6.23.0", "chalk": "2.4.2", "cosmiconfig": "^5.2.0", diff --git a/@commitlint/message/CHANGELOG.md b/@commitlint/message/CHANGELOG.md index 26b8702c8d..afbd7b1549 100644 --- a/@commitlint/message/CHANGELOG.md +++ b/@commitlint/message/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/message + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/message diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index 8032d00a84..14b385a1cb 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/message", - "version": "8.3.2", + "version": "8.3.4", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -35,7 +35,7 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.0", + "@commitlint/utils": "^8.3.4", "typescript": "3.6.4" } } diff --git a/@commitlint/parse/CHANGELOG.md b/@commitlint/parse/CHANGELOG.md index 8488672ec4..f1e094ade4 100644 --- a/@commitlint/parse/CHANGELOG.md +++ b/@commitlint/parse/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/parse + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/parse diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 7605d59c20..b95d9c10ea 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/parse", - "version": "8.3.2", + "version": "8.3.4", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -35,7 +35,7 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.0", + "@commitlint/utils": "^8.3.4", "@types/lodash": "4.14.144", "import-from": "3.0.0", "typescript": "3.6.4" diff --git a/@commitlint/prompt-cli/CHANGELOG.md b/@commitlint/prompt-cli/CHANGELOG.md index 84fa8fdf12..2871bfe84f 100644 --- a/@commitlint/prompt-cli/CHANGELOG.md +++ b/@commitlint/prompt-cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/prompt-cli + + + + + ## [8.3.1](https://github.com/conventional-changelog/commitlint/compare/v8.3.0...v8.3.1) (2019-10-16) **Note:** Version bump only for package @commitlint/prompt-cli diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 042e398d19..f70e1a58c0 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt-cli", - "version": "8.3.3", + "version": "8.3.4", "description": "commit prompt using commitlint.config.js", "files": [ "cli.js" @@ -30,11 +30,11 @@ "homepage": "https://github.com/conventional-changelog/commitlint#readme", "devDependencies": { "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.0", + "@commitlint/utils": "^8.3.4", "ava": "0.25.0" }, "dependencies": { - "@commitlint/prompt": "^8.3.3", + "@commitlint/prompt": "^8.3.4", "execa": "0.11.0", "string-to-stream": "3.0.1" } diff --git a/@commitlint/prompt/CHANGELOG.md b/@commitlint/prompt/CHANGELOG.md index 0a85bafb49..f5372a3ba3 100644 --- a/@commitlint/prompt/CHANGELOG.md +++ b/@commitlint/prompt/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/prompt + + + + + ## [8.3.1](https://github.com/conventional-changelog/commitlint/compare/v8.3.0...v8.3.1) (2019-10-16) **Note:** Version bump only for package @commitlint/prompt diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 4a9fc6b99a..05eca91e87 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt", - "version": "8.3.3", + "version": "8.3.4", "description": "commitizen prompt using commitlint.config.js", "main": "./lib/index.js", "files": [ @@ -55,7 +55,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "devDependencies": { - "@commitlint/utils": "^8.3.0", + "@commitlint/utils": "^8.3.4", "ava": "0.20.0", "babel-cli": "6.26.0", "babel-preset-commitlint": "^8.2.0", @@ -65,7 +65,7 @@ "cross-env": "6.0.3" }, "dependencies": { - "@commitlint/load": "^8.3.3", + "@commitlint/load": "^8.3.4", "babel-runtime": "^6.23.0", "chalk": "^2.0.0", "lodash": "4.17.15", diff --git a/@commitlint/read/CHANGELOG.md b/@commitlint/read/CHANGELOG.md index 1c57d49616..26f8592e3c 100644 --- a/@commitlint/read/CHANGELOG.md +++ b/@commitlint/read/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/read + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/read diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index e21196468c..3272b3b3a1 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/read", - "version": "8.3.2", + "version": "8.3.4", "description": "Read commit messages from a specified range or last edit", "main": "lib/index.js", "files": [ @@ -57,7 +57,7 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.0", + "@commitlint/utils": "^8.3.4", "ava": "0.22.0", "babel-cli": "6.26.0", "babel-preset-commitlint": "^8.2.0", @@ -67,7 +67,7 @@ "execa": "0.11.0" }, "dependencies": { - "@commitlint/top-level": "^8.3.2", + "@commitlint/top-level": "^8.3.4", "@marionebl/sander": "^0.6.0", "babel-runtime": "^6.23.0", "git-raw-commits": "^2.0.0" diff --git a/@commitlint/resolve-extends/CHANGELOG.md b/@commitlint/resolve-extends/CHANGELOG.md index 5254760658..3862d34f80 100644 --- a/@commitlint/resolve-extends/CHANGELOG.md +++ b/@commitlint/resolve-extends/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/resolve-extends + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index 73f3b60874..54195f55a0 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/resolve-extends", - "version": "8.3.2", + "version": "8.3.4", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,8 +34,8 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^8.3.2", - "@commitlint/utils": "^8.3.0", + "@commitlint/parse": "^8.3.4", + "@commitlint/utils": "^8.3.4", "@types/lodash": "4.14.144", "@types/resolve-from": "5.0.1" }, diff --git a/@commitlint/rules/CHANGELOG.md b/@commitlint/rules/CHANGELOG.md index 07e59b6ff0..6eae808b8b 100644 --- a/@commitlint/rules/CHANGELOG.md +++ b/@commitlint/rules/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/rules + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/rules diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index 31c066a23f..c5d219ca1b 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/rules", - "version": "8.3.2", + "version": "8.3.4", "description": "Lint your commit messages", "main": "lib/index.js", "files": [ @@ -56,9 +56,9 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^8.3.2", + "@commitlint/parse": "^8.3.4", "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.0", + "@commitlint/utils": "^8.3.4", "ava": "0.22.0", "babel-cli": "6.26.0", "babel-preset-commitlint": "^8.2.0", @@ -70,9 +70,9 @@ "lodash": "4.17.15" }, "dependencies": { - "@commitlint/ensure": "^8.3.0", - "@commitlint/message": "^8.3.2", - "@commitlint/to-lines": "^8.3.2", + "@commitlint/ensure": "^8.3.4", + "@commitlint/message": "^8.3.4", + "@commitlint/to-lines": "^8.3.4", "babel-runtime": "^6.23.0" } } diff --git a/@commitlint/to-lines/CHANGELOG.md b/@commitlint/to-lines/CHANGELOG.md index fcf5828b5e..4ec4242c56 100644 --- a/@commitlint/to-lines/CHANGELOG.md +++ b/@commitlint/to-lines/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/to-lines + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/to-lines diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index f3f31b6b89..9384d03831 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/to-lines", - "version": "8.3.2", + "version": "8.3.4", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^8.3.2", - "@commitlint/utils": "^8.3.0" + "@commitlint/parse": "^8.3.4", + "@commitlint/utils": "^8.3.4" } } diff --git a/@commitlint/top-level/CHANGELOG.md b/@commitlint/top-level/CHANGELOG.md index be0265f7ed..3bc1ea054a 100644 --- a/@commitlint/top-level/CHANGELOG.md +++ b/@commitlint/top-level/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/top-level + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/top-level diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index bc4d1e68eb..c14176a082 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/top-level", - "version": "8.3.2", + "version": "8.3.4", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -39,7 +39,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^8.3.0", + "@commitlint/utils": "^8.3.4", "@types/find-up": "2.1.1", "@types/node": "12.11.5" }, diff --git a/@commitlint/travis-cli/CHANGELOG.md b/@commitlint/travis-cli/CHANGELOG.md index 5526d5980f..192da4d9f9 100644 --- a/@commitlint/travis-cli/CHANGELOG.md +++ b/@commitlint/travis-cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + +**Note:** Version bump only for package @commitlint/travis-cli + + + + + ## [8.3.1](https://github.com/conventional-changelog/commitlint/compare/v8.3.0...v8.3.1) (2019-10-16) **Note:** Version bump only for package @commitlint/travis-cli diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 6074efd543..02eea3fd30 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/travis-cli", - "version": "8.3.3", + "version": "8.3.4", "description": "Lint all relevant commits for a change or PR on Travis CI", "files": [ "lib/" @@ -56,7 +56,7 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.0", + "@commitlint/utils": "^8.3.4", "ava": "0.18.2", "babel-cli": "6.26.0", "babel-preset-commitlint": "^8.2.0", @@ -65,7 +65,7 @@ "which": "2.0.1" }, "dependencies": { - "@commitlint/cli": "^8.3.3", + "@commitlint/cli": "^8.3.4", "babel-runtime": "6.26.0", "execa": "0.11.0" } diff --git a/@packages/utils/CHANGELOG.md b/@packages/utils/CHANGELOG.md index 19208d6338..4c266e13d1 100644 --- a/@packages/utils/CHANGELOG.md +++ b/@packages/utils/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + + +### Bug Fixes + +* **commitlint:** use new read pkg syntax ([#888](https://github.com/conventional-changelog/commitlint/issues/888)) ([6b3b9a9](https://github.com/conventional-changelog/commitlint/commit/6b3b9a9)) + + + + + # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) **Note:** Version bump only for package @commitlint/utils diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 311a5ff062..ace86a6130 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/utils", - "version": "8.3.0", + "version": "8.3.4", "description": "Development utilities for @commitlint", "files": [ "dep-check.js", diff --git a/CHANGELOG.md b/CHANGELOG.md index 28fb72b626..6eb766e782 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) + + +### Bug Fixes + +* **commitlint:** use new read pkg syntax ([#888](https://github.com/conventional-changelog/commitlint/issues/888)) ([6b3b9a9](https://github.com/conventional-changelog/commitlint/commit/6b3b9a9)) + + + + + ## [8.3.1](https://github.com/conventional-changelog/commitlint/compare/v8.3.0...v8.3.1) (2019-10-16) diff --git a/lerna.json b/lerna.json index 32dbd2cec4..b92b5f373b 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "lerna": "2", "npmClient": "yarn", "useWorkspaces": true, - "version": "8.3.3" + "version": "8.3.4" } From b131a18babe2052e5a004ef0e9a7ede251931d81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C5=A0ilhan?= Date: Wed, 15 Jan 2020 14:59:33 +0100 Subject: [PATCH 0003/2192] fix(resolve-extends): move node types to dev dependencies (#883) Fixes #874 --- @commitlint/resolve-extends/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index 54195f55a0..d0ba8732eb 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -37,10 +37,10 @@ "@commitlint/parse": "^8.3.4", "@commitlint/utils": "^8.3.4", "@types/lodash": "4.14.144", + "@types/node": "^12.12.22", "@types/resolve-from": "5.0.1" }, "dependencies": { - "@types/node": "^12.0.2", "import-fresh": "^3.0.0", "lodash": "4.17.15", "resolve-from": "^5.0.0", From 5d6bf9a179c85952286b22691bdce5c5270bce63 Mon Sep 17 00:00:00 2001 From: Wagner Santos Date: Wed, 15 Jan 2020 11:00:16 -0300 Subject: [PATCH 0004/2192] docs: add options parameter for load function (#867) --- docs/reference-api.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/reference-api.md b/docs/reference-api.md index 22e0d86579..f4a4749bb0 100644 --- a/docs/reference-api.md +++ b/docs/reference-api.md @@ -217,7 +217,18 @@ type Config = { rules: {[ruleName: string]: Rule}; }; -load(seed: Seed = {}) => Promise; +type LoadOptions = { + /* + * Path to the config file to load. + */ + file?: string; + /* + * The cwd to use when loading config from file parameter. + */ + cwd: string; +}; + +load(seed: Seed = {}, options?: LoadOptions = {cwd: process.cwd()}) => Promise; ``` * **Example** @@ -240,6 +251,10 @@ load({extends: ['./package']}) load({parserPreset: './parser-preset.js'}) .then(config => console.log(config)); // => { extends: [], rules: {}, parserPreset: {name: './parser-preset.js', path: './parser-preset.js', opts: {}}} + +load({}, {file: '.commitlintrc.yml', cwd: process.cwd()}) +.then(config => console.log(config)); +// => { extends: [], rules: { 'body-leading-blank': [ 1, 'always' ] }, formatter: '@commitlint/format', plugins: {} } ``` ### @commitlint/read From 02b5899839f45d0940f70ba035be8bbf12cf705b Mon Sep 17 00:00:00 2001 From: Vojtech Ruzicka Date: Wed, 15 Jan 2020 15:02:22 +0100 Subject: [PATCH 0005/2192] docs: use latest node in travis guide (#871) The original Travis config does not use high enough version of node so the commitlint does not work. Updated docs accordingly --- docs/guides-ci-setup.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/guides-ci-setup.md b/docs/guides-ci-setup.md index fa8861fe10..02ae38ce86 100644 --- a/docs/guides-ci-setup.md +++ b/docs/guides-ci-setup.md @@ -14,6 +14,8 @@ npm install --save-dev @commitlint/travis-cli ```yml # travis.yml language: node_js +node_js: + - node script: - commitlint-travis ``` From aabc54922791ba5183d1d8560fa518611de05859 Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Wed, 15 Jan 2020 16:29:17 +0100 Subject: [PATCH 0006/2192] fix(is-ignored): move types to dev dependencies (#897) --- @commitlint/is-ignored/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index f02430eae7..5d2d873b67 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -36,10 +36,10 @@ "devDependencies": { "@commitlint/parse": "^8.3.4", "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4" + "@commitlint/utils": "^8.3.4", + "@types/semver": "^6.0.1" }, "dependencies": { - "@types/semver": "^6.0.1", "semver": "6.3.0" } } From 09e9cde33d7809b4076b2cc55122e462543779be Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Wed, 15 Jan 2020 15:33:00 +0000 Subject: [PATCH 0007/2192] chore: update lockfile with updated types dependencies --- yarn.lock | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index f8f9f3fab8..5f7c3f59e2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1301,7 +1301,7 @@ resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== -"@types/node@*", "@types/node@^12.0.2": +"@types/node@*": version "12.0.2" resolved "https://registry.npmjs.org/@types/node/-/node-12.0.2.tgz#3452a24edf9fea138b48fad4a0a028a683da1e40" integrity sha512-5tabW/i+9mhrfEOUcLDu2xBPsHJ+X5Orqy9FKpale3SjDA17j5AEpYq5vfy3oAeAHGcvANRCO3NV3d2D6q3NiA== @@ -1311,6 +1311,11 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.11.5.tgz#6c3c8dc84988aff11fd2a63d7b5fbf39eaaab7b1" integrity sha512-LC8ALj/24PhByn39nr5jnTvpE7MujK8y7LQmV74kHYF5iQ0odCPkMH4IZNZw+cobKfSXqaC8GgegcbIsQpffdA== +"@types/node@^12.12.22": + version "12.12.24" + resolved "https://registry.npmjs.org/@types/node/-/node-12.12.24.tgz#d4606afd8cf6c609036b854360367d1b2c78931f" + integrity sha512-1Ciqv9pqwVtW6FsIUKSZNB82E5Cu1I2bBTj1xuIHXLe/1zYLl3956Nbhg2MzSYHVfl9/rmanjbQIb7LibfCnug== + "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" From b39e1ade668e1560cdebc94c4fe18a6dba5e5dda Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Wed, 15 Jan 2020 15:33:19 +0000 Subject: [PATCH 0008/2192] v8.3.5 --- @alias/commitlint/CHANGELOG.md | 8 ++++++++ @alias/commitlint/package.json | 4 ++-- @commitlint/cli/CHANGELOG.md | 8 ++++++++ @commitlint/cli/package.json | 6 +++--- @commitlint/core/CHANGELOG.md | 8 ++++++++ @commitlint/core/package.json | 6 +++--- @commitlint/is-ignored/CHANGELOG.md | 11 +++++++++++ @commitlint/is-ignored/package.json | 2 +- @commitlint/lint/CHANGELOG.md | 8 ++++++++ @commitlint/lint/package.json | 4 ++-- @commitlint/load/CHANGELOG.md | 8 ++++++++ @commitlint/load/package.json | 4 ++-- @commitlint/prompt-cli/CHANGELOG.md | 8 ++++++++ @commitlint/prompt-cli/package.json | 4 ++-- @commitlint/prompt/CHANGELOG.md | 8 ++++++++ @commitlint/prompt/package.json | 4 ++-- @commitlint/resolve-extends/CHANGELOG.md | 11 +++++++++++ @commitlint/resolve-extends/package.json | 2 +- @commitlint/travis-cli/CHANGELOG.md | 8 ++++++++ @commitlint/travis-cli/package.json | 4 ++-- CHANGELOG.md | 12 ++++++++++++ lerna.json | 2 +- 22 files changed, 119 insertions(+), 21 deletions(-) diff --git a/@alias/commitlint/CHANGELOG.md b/@alias/commitlint/CHANGELOG.md index 301736ad42..9c10631d33 100644 --- a/@alias/commitlint/CHANGELOG.md +++ b/@alias/commitlint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) + +**Note:** Version bump only for package commitlint + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 91821eef27..959d93da7e 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -1,6 +1,6 @@ { "name": "commitlint", - "version": "8.3.4", + "version": "8.3.5", "description": "Lint your commit messages", "files": [ "cli.js" @@ -34,7 +34,7 @@ }, "license": "MIT", "dependencies": { - "@commitlint/cli": "^8.3.4", + "@commitlint/cli": "^8.3.5", "read-pkg": "5.2.0", "resolve-pkg": "2.0.0" }, diff --git a/@commitlint/cli/CHANGELOG.md b/@commitlint/cli/CHANGELOG.md index c73959a9e0..4c08abe8d5 100644 --- a/@commitlint/cli/CHANGELOG.md +++ b/@commitlint/cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) + +**Note:** Version bump only for package @commitlint/cli + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/cli diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 1042955e7b..c16b3eddae 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/cli", - "version": "8.3.4", + "version": "8.3.5", "description": "Lint your commit messages", "files": [ "index.js", @@ -71,8 +71,8 @@ }, "dependencies": { "@commitlint/format": "^8.3.4", - "@commitlint/lint": "^8.3.4", - "@commitlint/load": "^8.3.4", + "@commitlint/lint": "^8.3.5", + "@commitlint/load": "^8.3.5", "@commitlint/read": "^8.3.4", "babel-polyfill": "6.26.0", "chalk": "2.4.2", diff --git a/@commitlint/core/CHANGELOG.md b/@commitlint/core/CHANGELOG.md index a037296ba4..21cedc02fd 100644 --- a/@commitlint/core/CHANGELOG.md +++ b/@commitlint/core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) + +**Note:** Version bump only for package @commitlint/core + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/core diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index 2e556304d1..20f7394d48 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/core", - "version": "8.3.4", + "version": "8.3.5", "description": "Lint your commit messages", "files": [ "index.js" @@ -33,8 +33,8 @@ "license": "MIT", "dependencies": { "@commitlint/format": "^8.3.4", - "@commitlint/lint": "^8.3.4", - "@commitlint/load": "^8.3.4", + "@commitlint/lint": "^8.3.5", + "@commitlint/load": "^8.3.5", "@commitlint/read": "^8.3.4" } } diff --git a/@commitlint/is-ignored/CHANGELOG.md b/@commitlint/is-ignored/CHANGELOG.md index 13c8dc80fc..22be2207dd 100644 --- a/@commitlint/is-ignored/CHANGELOG.md +++ b/@commitlint/is-ignored/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) + + +### Bug Fixes + +* **is-ignored:** move types to dev dependencies ([#897](https://github.com/conventional-changelog/commitlint/issues/897)) ([aabc549](https://github.com/conventional-changelog/commitlint/commit/aabc549)) + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/is-ignored diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index 5d2d873b67..482a60b5a2 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/is-ignored", - "version": "8.3.4", + "version": "8.3.5", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/@commitlint/lint/CHANGELOG.md b/@commitlint/lint/CHANGELOG.md index 3bf98cb742..0a0305ecf6 100644 --- a/@commitlint/lint/CHANGELOG.md +++ b/@commitlint/lint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) + +**Note:** Version bump only for package @commitlint/lint + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/lint diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 011ddf0472..60a1543811 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/lint", - "version": "8.3.4", + "version": "8.3.5", "description": "Lint a string against commitlint rules", "main": "lib/index.js", "files": [ @@ -69,7 +69,7 @@ "proxyquire": "2.1.3" }, "dependencies": { - "@commitlint/is-ignored": "^8.3.4", + "@commitlint/is-ignored": "^8.3.5", "@commitlint/parse": "^8.3.4", "@commitlint/rules": "^8.3.4", "babel-runtime": "^6.23.0", diff --git a/@commitlint/load/CHANGELOG.md b/@commitlint/load/CHANGELOG.md index 88880db4b8..6f266397b0 100644 --- a/@commitlint/load/CHANGELOG.md +++ b/@commitlint/load/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) + +**Note:** Version bump only for package @commitlint/load + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/load diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index c359eec4e5..4287001ae4 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/load", - "version": "8.3.4", + "version": "8.3.5", "description": "Load shared commitlint configuration", "main": "lib/index.js", "files": [ @@ -69,7 +69,7 @@ }, "dependencies": { "@commitlint/execute-rule": "^8.3.4", - "@commitlint/resolve-extends": "^8.3.4", + "@commitlint/resolve-extends": "^8.3.5", "babel-runtime": "^6.23.0", "chalk": "2.4.2", "cosmiconfig": "^5.2.0", diff --git a/@commitlint/prompt-cli/CHANGELOG.md b/@commitlint/prompt-cli/CHANGELOG.md index 2871bfe84f..b217a1334b 100644 --- a/@commitlint/prompt-cli/CHANGELOG.md +++ b/@commitlint/prompt-cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) + +**Note:** Version bump only for package @commitlint/prompt-cli + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/prompt-cli diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index f70e1a58c0..e8513dfebb 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt-cli", - "version": "8.3.4", + "version": "8.3.5", "description": "commit prompt using commitlint.config.js", "files": [ "cli.js" @@ -34,7 +34,7 @@ "ava": "0.25.0" }, "dependencies": { - "@commitlint/prompt": "^8.3.4", + "@commitlint/prompt": "^8.3.5", "execa": "0.11.0", "string-to-stream": "3.0.1" } diff --git a/@commitlint/prompt/CHANGELOG.md b/@commitlint/prompt/CHANGELOG.md index f5372a3ba3..bece6ef5c7 100644 --- a/@commitlint/prompt/CHANGELOG.md +++ b/@commitlint/prompt/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) + +**Note:** Version bump only for package @commitlint/prompt + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/prompt diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 05eca91e87..0fa48cde6d 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt", - "version": "8.3.4", + "version": "8.3.5", "description": "commitizen prompt using commitlint.config.js", "main": "./lib/index.js", "files": [ @@ -65,7 +65,7 @@ "cross-env": "6.0.3" }, "dependencies": { - "@commitlint/load": "^8.3.4", + "@commitlint/load": "^8.3.5", "babel-runtime": "^6.23.0", "chalk": "^2.0.0", "lodash": "4.17.15", diff --git a/@commitlint/resolve-extends/CHANGELOG.md b/@commitlint/resolve-extends/CHANGELOG.md index 3862d34f80..3b22f4fcdb 100644 --- a/@commitlint/resolve-extends/CHANGELOG.md +++ b/@commitlint/resolve-extends/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) + + +### Bug Fixes + +* **resolve-extends:** move node types to dev dependencies ([#883](https://github.com/conventional-changelog/commitlint/issues/883)) ([b131a18](https://github.com/conventional-changelog/commitlint/commit/b131a18)), closes [#874](https://github.com/conventional-changelog/commitlint/issues/874) + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/resolve-extends diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index d0ba8732eb..733c80e525 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/resolve-extends", - "version": "8.3.4", + "version": "8.3.5", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/@commitlint/travis-cli/CHANGELOG.md b/@commitlint/travis-cli/CHANGELOG.md index 192da4d9f9..110c62b08e 100644 --- a/@commitlint/travis-cli/CHANGELOG.md +++ b/@commitlint/travis-cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) + +**Note:** Version bump only for package @commitlint/travis-cli + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/travis-cli diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 02eea3fd30..88cf319c49 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/travis-cli", - "version": "8.3.4", + "version": "8.3.5", "description": "Lint all relevant commits for a change or PR on Travis CI", "files": [ "lib/" @@ -65,7 +65,7 @@ "which": "2.0.1" }, "dependencies": { - "@commitlint/cli": "^8.3.4", + "@commitlint/cli": "^8.3.5", "babel-runtime": "6.26.0", "execa": "0.11.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 6eb766e782..6b6b35800a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) + + +### Bug Fixes + +* **is-ignored:** move types to dev dependencies ([#897](https://github.com/conventional-changelog/commitlint/issues/897)) ([aabc549](https://github.com/conventional-changelog/commitlint/commit/aabc549)) +* **resolve-extends:** move node types to dev dependencies ([#883](https://github.com/conventional-changelog/commitlint/issues/883)) ([b131a18](https://github.com/conventional-changelog/commitlint/commit/b131a18)), closes [#874](https://github.com/conventional-changelog/commitlint/issues/874) + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) diff --git a/lerna.json b/lerna.json index b92b5f373b..20492c3264 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "lerna": "2", "npmClient": "yarn", "useWorkspaces": true, - "version": "8.3.4" + "version": "8.3.5" } From 2549f79698f672569ecfeb622c511eb1561054a4 Mon Sep 17 00:00:00 2001 From: Armano Date: Sun, 26 Jan 2020 14:16:46 +0100 Subject: [PATCH 0009/2192] refactor: upgrade babel from 6 to 7 (#886) * feat: upgrade babel from 6 to 7 corejs@2 is deprecated * fix: add promise.finally * fix: rollback mistaken execa upgrade * chore: update rule names (import) * test: remove unnecessary arrow function * chore: remove unnecessary `/index` * chore: remove some leftovers from merge conflict * test: drop unnecessary notThrowsAsync * Revert "test: drop unnecessary notThrowsAsync" This reverts commit eba4002892d33c482a39f81cd9df15d5f9060d6a. * fix: drop some trash files after merge --- @commitlint/cli/package.json | 9 +- @commitlint/cli/src/cli.js | 25 +- @commitlint/cli/src/cli.test.js | 165 +- @commitlint/config-lerna-scopes/package.json | 2 +- @commitlint/config-lerna-scopes/test.js | 2 +- @commitlint/ensure/src/index.test.ts | 2 +- @commitlint/lint/package.json | 18 +- @commitlint/lint/src/index.test.js | 20 +- @commitlint/load/package.json | 20 +- @commitlint/load/src/index.test.js | 6 +- @commitlint/load/src/utils/loadPlugin.test.js | 2 +- @commitlint/parse/package.json | 4 +- @commitlint/prompt-cli/package.json | 2 +- @commitlint/prompt/package.json | 18 +- @commitlint/read/package.json | 18 +- @commitlint/read/src/index.js | 4 +- @commitlint/rules/package.json | 20 +- @commitlint/rules/src/index.js | 97 +- @commitlint/rules/src/index.test.js | 2 +- @commitlint/travis-cli/package.json | 18 +- @commitlint/travis-cli/src/cli.js | 4 +- @commitlint/travis-cli/src/cli.test.js | 12 +- @packages/babel-preset-commitlint/index.js | 15 +- .../babel-preset-commitlint/package.json | 14 +- @packages/test/package.json | 19 +- @packages/test/src/git.js | 8 +- package.json | 2 +- yarn.lock | 7529 +++++++---------- 28 files changed, 3442 insertions(+), 4615 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index c16b3eddae..b166b30672 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -53,12 +53,13 @@ }, "license": "MIT", "devDependencies": { + "@babel/cli": "^7.7.7", + "@babel/core": "^7.7.7", + "@babel/register": "^7.7.7", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "ava": "0.18.2", - "babel-cli": "6.26.0", + "ava": "2.4.0", "babel-preset-commitlint": "^8.2.0", - "babel-register": "6.26.0", "concurrently": "3.6.1", "cross-env": "6.0.3", "execa": "0.11.0", @@ -74,8 +75,8 @@ "@commitlint/lint": "^8.3.5", "@commitlint/load": "^8.3.5", "@commitlint/read": "^8.3.4", - "babel-polyfill": "6.26.0", "chalk": "2.4.2", + "core-js": "^3.6.1", "get-stdin": "7.0.0", "lodash": "4.17.15", "meow": "5.0.0", diff --git a/@commitlint/cli/src/cli.js b/@commitlint/cli/src/cli.js index b71c030c9f..5ed1444564 100755 --- a/@commitlint/cli/src/cli.js +++ b/@commitlint/cli/src/cli.js @@ -1,17 +1,18 @@ #!/usr/bin/env node -require('babel-polyfill'); // eslint-disable-line import/no-unassigned-import - -const load = require('@commitlint/load'); -const lint = require('@commitlint/lint'); -const read = require('@commitlint/read'); -const meow = require('meow'); -const {merge, pick, isFunction} = require('lodash'); -const stdin = require('get-stdin'); -const resolveFrom = require('resolve-from'); -const resolveGlobal = require('resolve-global'); - +import 'core-js/stable'; // eslint-disable-line import/no-unassigned-import +import 'regenerator-runtime/runtime'; // eslint-disable-line import/no-unassigned-import + +import load from '@commitlint/load'; +import lint from '@commitlint/lint'; +import read from '@commitlint/read'; +import meow from 'meow'; +import {merge, pick, isFunction} from 'lodash'; +import stdin from 'get-stdin'; +import resolveFrom from 'resolve-from'; +import resolveGlobal from 'resolve-global'; + +import help from './help'; const pkg = require('../package'); -const help = require('./help'); const flags = { color: { diff --git a/@commitlint/cli/src/cli.test.js b/@commitlint/cli/src/cli.test.js index 2ea093e8be..19eb02b21a 100644 --- a/@commitlint/cli/src/cli.test.js +++ b/@commitlint/cli/src/cli.test.js @@ -135,65 +135,86 @@ test('should produce no error output with -q flag', async t => { t.is(actual.code, 1); }); -test('should work with husky commitmsg hook and git commit', async () => { - const cwd = await git.bootstrap('fixtures/husky/integration'); - await writePkg({scripts: {commitmsg: `'${bin}' -e`}}, {cwd}); - - await execa('npm', ['install'], {cwd}); - await execa('git', ['add', 'package.json'], {cwd}); - await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); -}); - -test('should work with husky commitmsg hook in sub packages', async () => { - const upper = await git.bootstrap('fixtures/husky'); - const cwd = path.join(upper, 'integration'); - await writePkg({scripts: {commitmsg: `'${bin}' -e`}}, {cwd: upper}); - - await execa('npm', ['install'], {cwd}); - await execa('git', ['add', 'package.json'], {cwd}); - await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); -}); - -test('should work with husky via commitlint -e $GIT_PARAMS', async () => { - const cwd = await git.bootstrap('fixtures/husky/integration'); - await writePkg({scripts: {commitmsg: `'${bin}' -e $GIT_PARAMS`}}, {cwd}); - - await execa('npm', ['install'], {cwd}); - await execa('git', ['add', 'package.json'], {cwd}); - await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); -}); - -test('should work with husky via commitlint -e %GIT_PARAMS%', async () => { - const cwd = await git.bootstrap('fixtures/husky/integration'); - await writePkg({scripts: {commitmsg: `'${bin}' -e %GIT_PARAMS%`}}, {cwd}); - - await execa('npm', ['install'], {cwd}); - await execa('git', ['add', 'package.json'], {cwd}); - await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); -}); - -test('should work with husky via commitlint -e $HUSKY_GIT_PARAMS', async () => { - const cwd = await git.bootstrap('fixtures/husky/integration'); - await writePkg( - {scripts: {commitmsg: `'${bin}' -e $HUSKY_GIT_PARAMS`}}, - {cwd} - ); - - await execa('npm', ['install'], {cwd}); - await execa('git', ['add', 'package.json'], {cwd}); - await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); -}); - -test('should work with husky via commitlint -e %HUSKY_GIT_PARAMS%', async () => { - const cwd = await git.bootstrap('fixtures/husky/integration'); - await writePkg( - {scripts: {commitmsg: `'${bin}' -e %HUSKY_GIT_PARAMS%`}}, - {cwd} - ); - - await execa('npm', ['install'], {cwd}); - await execa('git', ['add', 'package.json'], {cwd}); - await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); +test('should work with husky commitmsg hook and git commit', async t => { + await t.notThrowsAsync(async () => { + const cwd = await git.bootstrap('fixtures/husky/integration'); + await writePkg({husky: {hooks: {'commit-msg': `'${bin}' -e`}}}, {cwd}); + + await execa('npm', ['install'], {cwd}); + await execa('git', ['add', 'package.json'], {cwd}); + await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); + }); +}); + +test('should work with husky commitmsg hook in sub packages', async t => { + await t.notThrowsAsync(async () => { + const upper = await git.bootstrap('fixtures/husky'); + const cwd = path.join(upper, 'integration'); + await writePkg( + {husky: {hooks: {'commit-msg': `'${bin}' -e`}}}, + {cwd: upper} + ); + + await execa('npm', ['install'], {cwd}); + await execa('git', ['add', 'package.json'], {cwd}); + await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); + }); +}); + +test('should work with husky via commitlint -e $GIT_PARAMS', async t => { + await t.notThrowsAsync(async () => { + const cwd = await git.bootstrap('fixtures/husky/integration'); + await writePkg( + {husky: {hooks: {'commit-msg': `'${bin}' -e $GIT_PARAMS`}}}, + {cwd} + ); + + await execa('npm', ['install'], {cwd}); + await execa('git', ['add', 'package.json'], {cwd}); + await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); + }); +}); + +test('should work with husky via commitlint -e %GIT_PARAMS%', async t => { + await t.notThrowsAsync(async () => { + const cwd = await git.bootstrap('fixtures/husky/integration'); + await writePkg( + {husky: {hooks: {'commit-msg': `'${bin}' -e %GIT_PARAMS%`}}}, + {cwd} + ); + + await execa('npm', ['install'], {cwd}); + await execa('git', ['add', 'package.json'], {cwd}); + await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); + }); +}); + +test('should work with husky via commitlint -e $HUSKY_GIT_PARAMS', async t => { + await t.notThrowsAsync(async () => { + const cwd = await git.bootstrap('fixtures/husky/integration'); + await writePkg( + {husky: {hooks: {'commit-msg': `'${bin}' -e $HUSKY_GIT_PARAMS`}}}, + {cwd} + ); + + await execa('npm', ['install'], {cwd}); + await execa('git', ['add', 'package.json'], {cwd}); + await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); + }); +}); + +test('should work with husky via commitlint -e %HUSKY_GIT_PARAMS%', async t => { + await t.notThrowsAsync(async () => { + const cwd = await git.bootstrap('fixtures/husky/integration'); + await writePkg( + {husky: {hooks: {'commit-msg': `'${bin}' -e %HUSKY_GIT_PARAMS%`}}}, + {cwd} + ); + + await execa('npm', ['install'], {cwd}); + await execa('git', ['add', 'package.json'], {cwd}); + await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); + }); }); test('should allow reading of environment variables for edit file, succeeding if valid', async t => { @@ -269,18 +290,20 @@ test('should pick up config from inside git repo with precedence and fail accord t.is(actual.code, 1); }); -test('should handle --amend with signoff', async () => { - const cwd = await git.bootstrap('fixtures/signoff'); - await writePkg({scripts: {commitmsg: `'${bin}' -e`}}, {cwd}); - - await execa('npm', ['install'], {cwd}); - await execa('git', ['add', 'package.json'], {cwd}); - await execa( - 'git', - ['commit', '-m', '"test: this should work"', '--signoff'], - {cwd} - ); - await execa('git', ['commit', '--amend', '--no-edit'], {cwd}); +test('should handle --amend with signoff', async t => { + await t.notThrowsAsync(async () => { + const cwd = await git.bootstrap('fixtures/signoff'); + await writePkg({husky: {hooks: {'commit-msg': `'${bin}' -e`}}}, {cwd}); + + await execa('npm', ['install'], {cwd}); + await execa('git', ['add', 'package.json'], {cwd}); + await execa( + 'git', + ['commit', '-m', '"test: this should work"', '--signoff'], + {cwd} + ); + await execa('git', ['commit', '--amend', '--no-edit'], {cwd}); + }); }); test('should handle linting with issue prefixes', async t => { diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index e1e7a71389..635e817eab 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -49,7 +49,7 @@ "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "@lerna/project": "3.18.0", - "ava": "0.22.0", + "ava": "2.4.0", "lerna": "3.18.3" } } diff --git a/@commitlint/config-lerna-scopes/test.js b/@commitlint/config-lerna-scopes/test.js index 9a8aa6035c..95e7caab69 100644 --- a/@commitlint/config-lerna-scopes/test.js +++ b/@commitlint/config-lerna-scopes/test.js @@ -65,5 +65,5 @@ test('returns expected value for scoped lerna repository', async t => { test('works with lerna version < 3', async t => { const {'scope-enum': fn} = config.rules; const cwd = await npm.bootstrap('fixtures/lerna-two'); - await t.notThrows(async () => fn({cwd})); + await t.notThrowsAsync(fn({cwd})); }); diff --git a/@commitlint/ensure/src/index.test.ts b/@commitlint/ensure/src/index.test.ts index 6af8313723..e495bf87b4 100644 --- a/@commitlint/ensure/src/index.test.ts +++ b/@commitlint/ensure/src/index.test.ts @@ -15,7 +15,7 @@ test('rules export functions', () => { }); async function glob(pattern: string): Promise { - const files = await globby([path.join(__dirname, pattern)], { + const files = await globby(pattern, { ignore: ['**/index.ts', '**/*.test.ts'], cwd: __dirname }); diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 60a1543811..6868e42474 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -23,9 +23,15 @@ "src/**/*.js", "!lib/**/*" ], - "babel": "inherit", + "babel": { + "testOptions": { + "presets": [ + "babel-preset-commitlint" + ] + } + }, "require": [ - "babel-register" + "@babel/register" ] }, "babel": { @@ -56,12 +62,13 @@ }, "license": "MIT", "devDependencies": { + "@babel/cli": "^7.7.7", + "@babel/core": "^7.7.7", + "@babel/register": "^7.7.7", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "ava": "0.22.0", - "babel-cli": "6.26.0", + "ava": "2.4.0", "babel-preset-commitlint": "^8.2.0", - "babel-register": "6.26.0", "concurrently": "3.6.1", "cross-env": "6.0.3", "execa": "0.11.0", @@ -72,7 +79,6 @@ "@commitlint/is-ignored": "^8.3.5", "@commitlint/parse": "^8.3.4", "@commitlint/rules": "^8.3.4", - "babel-runtime": "^6.23.0", "lodash": "4.17.15" } } diff --git a/@commitlint/lint/src/index.test.js b/@commitlint/lint/src/index.test.js index 80ac3d8e8b..7c9ca8bed5 100644 --- a/@commitlint/lint/src/index.test.js +++ b/@commitlint/lint/src/index.test.js @@ -2,12 +2,12 @@ import test from 'ava'; import lint from '.'; test('throws without params', async t => { - const error = await t.throws(lint()); + const error = await t.throwsAsync(lint()); t.is(error.message, 'Expected a raw commit'); }); test('throws with empty message', async t => { - const error = await t.throws(lint('')); + const error = await t.throwsAsync(lint('')); t.is(error.message, 'Expected a raw commit'); }); @@ -83,7 +83,7 @@ test('positive on stub message and opts', async t => { }); test('throws for invalid rule names', async t => { - const error = await t.throws( + const error = await t.throwsAsync( lint('foo', {foo: [2, 'always'], bar: [1, 'never']}) ); @@ -91,7 +91,7 @@ test('throws for invalid rule names', async t => { }); test('throws for invalid rule config', async t => { - const error = await t.throws( + const error = await t.throwsAsync( lint('type(scope): foo', { 'type-enum': 1, 'scope-enum': {0: 2, 1: 'never', 2: ['foo'], length: 3} @@ -103,11 +103,11 @@ test('throws for invalid rule config', async t => { }); test('allows disable shorthand', async t => { - await t.notThrows(lint('foo', {'type-enum': [0], 'scope-enum': [0]})); + await t.notThrowsAsync(lint('foo', {'type-enum': [0], 'scope-enum': [0]})); }); test('throws for rule with invalid length', async t => { - const error = await t.throws( + const error = await t.throwsAsync( lint('type(scope): foo', {'scope-enum': [1, 2, 3, 4]}) ); @@ -115,7 +115,7 @@ test('throws for rule with invalid length', async t => { }); test('throws for rule with invalid level', async t => { - const error = await t.throws( + const error = await t.throwsAsync( lint('type(scope): foo', { 'type-enum': ['2', 'always'], 'header-max-length': [{}, 'always'] @@ -127,7 +127,7 @@ test('throws for rule with invalid level', async t => { }); test('throws for rule with out of range level', async t => { - const error = await t.throws( + const error = await t.throwsAsync( lint('type(scope): foo', { 'type-enum': [-1, 'always'], 'header-max-length': [3, 'always'] @@ -139,7 +139,7 @@ test('throws for rule with out of range level', async t => { }); test('throws for rule with invalid condition', async t => { - const error = await t.throws( + const error = await t.throwsAsync( lint('type(scope): foo', { 'type-enum': [1, 2], 'header-max-length': [1, {}] @@ -151,7 +151,7 @@ test('throws for rule with invalid condition', async t => { }); test('throws for rule with out of range condition', async t => { - const error = await t.throws( + const error = await t.throwsAsync( lint('type(scope): foo', { 'type-enum': [1, 'foo'], 'header-max-length': [1, 'bar'] diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 4287001ae4..0d8cbddadf 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -11,7 +11,7 @@ "deps": "dep-check", "pkg": "pkg-check --skip-import", "start": "concurrently \"ava -c 4 --verbose --watch\" \"yarn run watch\"", - "test": "ava -c 4 --verbose && ava \"src/*.serial-test.js\" --verbose", + "test": "ava -c 4 --verbose && ava src/index.serial-test.js --verbose", "watch": "babel src --out-dir lib --watch --source-maps" }, "ava": { @@ -23,9 +23,15 @@ "src/**/*.js", "!lib/**/*" ], - "babel": "inherit", + "babel": { + "testOptions": { + "presets": [ + "babel-preset-commitlint" + ] + } + }, "require": [ - "babel-register" + "@babel/register" ] }, "babel": { @@ -56,12 +62,13 @@ }, "license": "MIT", "devDependencies": { + "@babel/core": "7.7.7", + "@babel/cli": "7.7.7", + "@babel/register": "7.7.7", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "ava": "0.22.0", - "babel-cli": "6.26.0", + "ava": "2.4.0", "babel-preset-commitlint": "^8.2.0", - "babel-register": "6.26.0", "concurrently": "3.6.1", "cross-env": "6.0.3", "execa": "0.11.0", @@ -70,7 +77,6 @@ "dependencies": { "@commitlint/execute-rule": "^8.3.4", "@commitlint/resolve-extends": "^8.3.5", - "babel-runtime": "^6.23.0", "chalk": "2.4.2", "cosmiconfig": "^5.2.0", "lodash": "4.17.15", diff --git a/@commitlint/load/src/index.test.js b/@commitlint/load/src/index.test.js index 35c35e384f..5407d33edf 100644 --- a/@commitlint/load/src/index.test.js +++ b/@commitlint/load/src/index.test.js @@ -42,7 +42,7 @@ test('plugins should be loaded from seed', async t => { const stubbedLoad = proxyquire('.', { 'commitlint-plugin-example': plugin, '@scope/commitlint-plugin-example': scopedPlugin - }); + }).default; const cwd = await git.bootstrap('fixtures/extends-empty'); const actual = await stubbedLoad( @@ -61,7 +61,7 @@ test('plugins should be loaded from config', async t => { const stubbedLoad = proxyquire('.', { 'commitlint-plugin-example': plugin, '@scope/commitlint-plugin-example': scopedPlugin - }); + }).default; const cwd = await git.bootstrap('fixtures/extends-plugins'); const actual = await stubbedLoad({}, {cwd}); @@ -87,7 +87,7 @@ test('uses seed with parserPreset', async t => { test('invalid extend should throw', async t => { const cwd = await git.bootstrap('fixtures/extends-invalid'); - await t.throws(load({}, {cwd})); + await t.throwsAsync(load({}, {cwd})); }); test('empty file should have no rules', async t => { diff --git a/@commitlint/load/src/utils/loadPlugin.test.js b/@commitlint/load/src/utils/loadPlugin.test.js index 9af7382f72..e4e188732a 100644 --- a/@commitlint/load/src/utils/loadPlugin.test.js +++ b/@commitlint/load/src/utils/loadPlugin.test.js @@ -10,7 +10,7 @@ test.beforeEach(t => { const stubbedLoadPlugin = proxyquire('./loadPlugin', { 'commitlint-plugin-example': plugin, '@scope/commitlint-plugin-example': scopedPlugin - }); + }).default; t.context.data = { plugins, plugin, diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index b95d9c10ea..99e0a5e471 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -36,13 +36,13 @@ "devDependencies": { "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "@types/lodash": "4.14.144", + "@types/lodash": "4.14.149", "import-from": "3.0.0", "typescript": "3.6.4" }, "dependencies": { "conventional-changelog-angular": "^1.3.3", "conventional-commits-parser": "^3.0.0", - "lodash": "^4.17.11" + "lodash": "4.17.15" } } diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index e8513dfebb..b04d14f1bd 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -31,7 +31,7 @@ "devDependencies": { "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "ava": "0.25.0" + "ava": "2.4.0" }, "dependencies": { "@commitlint/prompt": "^8.3.5", diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 0fa48cde6d..960618658d 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -16,9 +16,15 @@ "watch": "babel src --out-dir lib --watch --source-maps" }, "ava": { - "babel": "inherit", + "babel": { + "testOptions": { + "presets": [ + "babel-preset-commitlint" + ] + } + }, "require": [ - "babel-register" + "@babel/register" ], "files": [ "src/**/*.test.js" @@ -55,18 +61,18 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "devDependencies": { + "@babel/cli": "^7.7.7", + "@babel/core": "^7.7.7", + "@babel/register": "^7.7.7", "@commitlint/utils": "^8.3.4", - "ava": "0.20.0", - "babel-cli": "6.26.0", + "ava": "2.4.0", "babel-preset-commitlint": "^8.2.0", - "babel-register": "6.26.0", "commitizen": "3.1.2", "concurrently": "3.6.1", "cross-env": "6.0.3" }, "dependencies": { "@commitlint/load": "^8.3.5", - "babel-runtime": "^6.23.0", "chalk": "^2.0.0", "lodash": "4.17.15", "throat": "^5.0.0", diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 3272b3b3a1..89b93d8928 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -23,9 +23,15 @@ "src/**/*.js", "!lib/**/*" ], - "babel": "inherit", + "babel": { + "testOptions": { + "presets": [ + "babel-preset-commitlint" + ] + } + }, "require": [ - "babel-register" + "@babel/register" ] }, "babel": { @@ -56,12 +62,13 @@ }, "license": "MIT", "devDependencies": { + "@babel/core": "7.7.7", + "@babel/cli": "7.7.7", + "@babel/register": "7.7.7", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "ava": "0.22.0", - "babel-cli": "6.26.0", + "ava": "2.4.0", "babel-preset-commitlint": "^8.2.0", - "babel-register": "6.26.0", "concurrently": "3.6.1", "cross-env": "6.0.3", "execa": "0.11.0" @@ -69,7 +76,6 @@ "dependencies": { "@commitlint/top-level": "^8.3.4", "@marionebl/sander": "^0.6.0", - "babel-runtime": "^6.23.0", "git-raw-commits": "^2.0.0" } } diff --git a/@commitlint/read/src/index.js b/@commitlint/read/src/index.js index b9ae72e0b4..4d09b3fd36 100644 --- a/@commitlint/read/src/index.js +++ b/@commitlint/read/src/index.js @@ -4,11 +4,9 @@ import * as sander from '@marionebl/sander'; import toplevel from '@commitlint/top-level'; -export default getCommitMessages; - // Get commit messages // Object => Promise> -async function getCommitMessages(settings) { +export default async function getCommitMessages(settings) { const {cwd, from, to, edit} = settings; if (edit) { diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index c5d219ca1b..d6342973ff 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -23,9 +23,15 @@ "src/**/*.js", "!lib/**/*" ], - "babel": "inherit", + "babel": { + "testOptions": { + "presets": [ + "babel-preset-commitlint" + ] + } + }, "require": [ - "babel-register" + "@babel/register" ] }, "babel": { @@ -56,13 +62,14 @@ }, "license": "MIT", "devDependencies": { + "@babel/core": "7.7.7", + "@babel/cli": "7.7.7", + "@babel/register": "7.7.7", "@commitlint/parse": "^8.3.4", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "ava": "0.22.0", - "babel-cli": "6.26.0", + "ava": "2.4.0", "babel-preset-commitlint": "^8.2.0", - "babel-register": "6.26.0", "concurrently": "3.6.1", "conventional-changelog-angular": "1.6.6", "cross-env": "6.0.3", @@ -72,7 +79,6 @@ "dependencies": { "@commitlint/ensure": "^8.3.4", "@commitlint/message": "^8.3.4", - "@commitlint/to-lines": "^8.3.4", - "babel-runtime": "^6.23.0" + "@commitlint/to-lines": "^8.3.4" } } diff --git a/@commitlint/rules/src/index.js b/@commitlint/rules/src/index.js index 4d61033f57..bfdc11ac5e 100644 --- a/@commitlint/rules/src/index.js +++ b/@commitlint/rules/src/index.js @@ -1,34 +1,67 @@ +import bodyCase from './body-case'; +import bodyEmpty from './body-empty'; +import bodyLeadingBlank from './body-leading-blank'; +import bodyMaxLength from './body-max-length'; +import bodyMaxLineLength from './body-max-line-length'; +import bodyMinLength from './body-min-length'; +import footerEmpty from './footer-empty'; +import footerLeadingBlank from './footer-leading-blank'; +import footerMaxLength from './footer-max-length'; +import footerMaxLineLength from './footer-max-line-length'; +import footerMinLength from './footer-min-length'; +import headerCase from './header-case'; +import headerFullStop from './header-full-stop'; +import headerMaxLength from './header-max-length'; +import headerMinLength from './header-min-length'; +import referencesEmpty from './references-empty'; +import scopeCase from './scope-case'; +import scopeEmpty from './scope-empty'; +import scopeEnum from './scope-enum'; +import scopeMaxLength from './scope-max-length'; +import scopeMinLength from './scope-min-length'; +import signedOffBy from './signed-off-by'; +import subjectCase from './subject-case'; +import subjectEmpty from './subject-empty'; +import subjectFullStop from './subject-full-stop'; +import subjectMaxLength from './subject-max-length'; +import subjectMinLength from './subject-min-length'; +import typeCase from './type-case'; +import typeEmpty from './type-empty'; +import typeEnum from './type-enum'; +import typeMaxLength from './type-max-length'; +import typeMinLength from './type-min-length'; + export default { - 'body-case': require('./body-case'), - 'body-empty': require('./body-empty'), - 'body-leading-blank': require('./body-leading-blank'), - 'body-max-length': require('./body-max-length'), - 'body-max-line-length': require('./body-max-line-length'), - 'body-min-length': require('./body-min-length'), - 'footer-empty': require('./footer-empty'), - 'footer-leading-blank': require('./footer-leading-blank'), - 'footer-max-length': require('./footer-max-length'), - 'footer-max-line-length': require('./footer-max-line-length'), - 'footer-min-length': require('./footer-min-length'), - 'header-case': require('./header-case'), - 'header-full-stop': require('./header-full-stop'), - 'header-max-length': require('./header-max-length'), - 'header-min-length': require('./header-min-length'), - 'references-empty': require('./references-empty'), - 'scope-case': require('./scope-case'), - 'scope-empty': require('./scope-empty'), - 'scope-enum': require('./scope-enum'), - 'scope-max-length': require('./scope-max-length'), - 'scope-min-length': require('./scope-min-length'), - 'signed-off-by': require('./signed-off-by'), - 'subject-case': require('./subject-case'), - 'subject-empty': require('./subject-empty'), - 'subject-full-stop': require('./subject-full-stop'), - 'subject-max-length': require('./subject-max-length'), - 'subject-min-length': require('./subject-min-length'), - 'type-case': require('./type-case'), - 'type-empty': require('./type-empty'), - 'type-enum': require('./type-enum'), - 'type-max-length': require('./type-max-length'), - 'type-min-length': require('./type-min-length') + 'body-case': bodyCase, + 'body-empty': bodyEmpty, + 'body-leading-blank': bodyLeadingBlank, + 'body-max-length': bodyMaxLength, + 'body-max-line-length': bodyMaxLineLength, + 'body-min-length': bodyMinLength, + 'footer-empty': footerEmpty, + 'footer-leading-blank': footerLeadingBlank, + 'footer-max-length': footerMaxLength, + 'footer-max-line-length': footerMaxLineLength, + 'footer-min-length': footerMinLength, + 'header-case': headerCase, + 'header-full-stop': headerFullStop, + 'header-max-length': headerMaxLength, + 'header-min-length': headerMinLength, + 'references-empty': referencesEmpty, + 'scope-case': scopeCase, + 'scope-empty': scopeEmpty, + 'scope-enum': scopeEnum, + 'scope-max-length': scopeMaxLength, + 'scope-min-length': scopeMinLength, + 'signed-off-by': signedOffBy, + 'subject-case': subjectCase, + 'subject-empty': subjectEmpty, + 'subject-full-stop': subjectFullStop, + 'subject-max-length': subjectMaxLength, + 'subject-min-length': subjectMinLength, + 'type-case': typeCase, + 'type-empty': typeEmpty, + 'type-enum': typeEnum, + 'type-max-length': typeMaxLength, + 'type-min-length': typeMinLength }; diff --git a/@commitlint/rules/src/index.test.js b/@commitlint/rules/src/index.test.js index 9176e6008f..026e282619 100644 --- a/@commitlint/rules/src/index.test.js +++ b/@commitlint/rules/src/index.test.js @@ -16,7 +16,7 @@ test('rules export functions', t => { }); async function glob(pattern) { - const files = await globby([path.join(__dirname, pattern)], { + const files = await globby(pattern, { ignore: ['**/index.js', '**/*.test.js'], cwd: __dirname }); diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 88cf319c49..65a7348399 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -23,9 +23,15 @@ "source": [ "lib/**/*.js" ], - "babel": "inherit", + "babel": { + "testOptions": { + "presets": [ + "babel-preset-commitlint" + ] + } + }, "require": [ - "babel-register" + "@babel/register" ] }, "babel": { @@ -55,18 +61,18 @@ }, "license": "MIT", "devDependencies": { + "@babel/core": "7.7.7", + "@babel/cli": "7.7.7", + "@babel/register": "7.7.7", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "ava": "0.18.2", - "babel-cli": "6.26.0", + "ava": "2.4.0", "babel-preset-commitlint": "^8.2.0", - "babel-register": "6.26.0", "cross-env": "6.0.3", "which": "2.0.1" }, "dependencies": { "@commitlint/cli": "^8.3.5", - "babel-runtime": "6.26.0", "execa": "0.11.0" } } diff --git a/@commitlint/travis-cli/src/cli.js b/@commitlint/travis-cli/src/cli.js index b209185434..085ecd4a9e 100755 --- a/@commitlint/travis-cli/src/cli.js +++ b/@commitlint/travis-cli/src/cli.js @@ -1,6 +1,6 @@ #!/usr/bin/env node -const execa = require('execa'); -const commitlint = require('@commitlint/cli'); +import execa from 'execa'; +import commitlint from '@commitlint/cli'; // Allow to override used bins for testing purposes const GIT = process.env.TRAVIS_COMMITLINT_GIT_BIN || 'git'; diff --git a/@commitlint/travis-cli/src/cli.test.js b/@commitlint/travis-cli/src/cli.test.js index 78800ac0f5..bf26a03b14 100644 --- a/@commitlint/travis-cli/src/cli.test.js +++ b/@commitlint/travis-cli/src/cli.test.js @@ -1,8 +1,8 @@ // Disable ftb // const os = require('os'); // const {git} = require('@commitlint/test'); -const test = require('ava'); -const execa = require('execa'); +import test from 'ava'; +import execa from 'execa'; // Disable ftb // const which = require('which'); @@ -30,7 +30,7 @@ test('should throw when not on travis ci', async t => { TRAVIS: false }; - await t.throws( + await t.throwsAsync( bin({env}), /@commitlint\/travis-cli is intended to be used on Travis CI/ ); @@ -44,7 +44,7 @@ test('should throw when not on travis ci', async t => { CI: true }; - await t.throws(bin({env}), /TRAVIS_COMMIT, TRAVIS_BRANCH/); + await t.throwsAsync(bin({env}), /TRAVIS_COMMIT, TRAVIS_BRANCH/); } ); */ @@ -54,7 +54,7 @@ test('should throw when on travis ci, but TRAVIS_COMMIT is missing', async t => CI: true }; - await t.throws(bin({env}), /TRAVIS_COMMIT/); + await t.throwsAsync(bin({env}), /TRAVIS_COMMIT/); }); /* Test.failing( @@ -65,7 +65,7 @@ test('should throw when on travis ci, but TRAVIS_COMMIT is missing', async t => CI: true }; - await t.throws(bin({env}), /TRAVIS_BRANCH/); + await t.throwsAsync(bin({env}), /TRAVIS_BRANCH/); } ); diff --git a/@packages/babel-preset-commitlint/index.js b/@packages/babel-preset-commitlint/index.js index 6271fc6542..60efe67b13 100644 --- a/@packages/babel-preset-commitlint/index.js +++ b/@packages/babel-preset-commitlint/index.js @@ -1,17 +1,17 @@ -const addModuleExports = require('babel-plugin-add-module-exports'); const fastAsync = require('fast-async'); -const jsx = require('babel-plugin-transform-react-jsx'); -const transformRuntime = require('babel-plugin-transform-runtime').default; -const env = require('babel-preset-env').default; +const env = require('@babel/preset-env'); +const jsx = require('@babel/plugin-transform-react-jsx'); +const commonjs = require('@babel/plugin-transform-modules-commonjs'); +const transformRuntime = require('@babel/plugin-transform-runtime'); module.exports = preset; function preset() { const plugins = [ - addModuleExports, + commonjs, [jsx, {pragma: 'h'}], [fastAsync, {spec: true}], - [transformRuntime, {polyfill: false, regenerator: false}] + [transformRuntime, {regenerator: false}] ]; return { @@ -27,7 +27,8 @@ function preset() { { debug: process.env.DEBUG === 'true', exclude: ['transform-regenerator', 'transform-async-to-generator'], - targets: {node: '6'} + targets: {node: '6'}, + modules: false } ] ] diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index 181a30e1a2..5c09763c33 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -43,14 +43,14 @@ }, "license": "MIT", "devDependencies": { - "ava": "0.22.0", - "babel-core": "6.26.3" + "@babel/core": "^7.7.7", + "ava": "2.4.0" }, "dependencies": { - "babel-plugin-add-module-exports": "^0.3.0", - "babel-plugin-transform-react-jsx": "^6.24.1", - "babel-plugin-transform-runtime": "^6.23.0", - "babel-preset-env": "^1.6.0", - "fast-async": "^6.3.0" + "@babel/plugin-transform-modules-commonjs": "^7.7.5", + "@babel/plugin-transform-react-jsx": "^7.7.7", + "@babel/plugin-transform-runtime": "^7.7.6", + "@babel/preset-env": "^7.7.7", + "fast-async": "^7.0.6" } } diff --git a/@packages/test/package.json b/@packages/test/package.json index 96856114a7..eb0f52e2bd 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -21,9 +21,15 @@ "src/**/*.js", "!lib/**/*" ], - "babel": "inherit", + "babel": { + "testOptions": { + "presets": [ + "babel-preset-commitlint" + ] + } + }, "require": [ - "babel-register" + "@babel/register" ] }, "babel": { @@ -54,13 +60,14 @@ "license": "MIT", "dependencies": { "@marionebl/sander": "0.6.1", - "execa": "0.9.0", - "pkg-dir": "2.0.0" + "execa": "0.11.0", + "pkg-dir": "4.2.0" }, "devDependencies": { - "babel-cli": "6.26.0", + "@babel/core": "^7.7.7", + "@babel/cli": "^7.7.7", + "@babel/register": "^7.7.7", "babel-preset-commitlint": "^8.2.0", - "babel-register": "6.26.0", "concurrently": "3.5.1", "cross-env": "5.1.1" } diff --git a/@packages/test/src/git.js b/@packages/test/src/git.js index cc331802de..b83167235b 100644 --- a/@packages/test/src/git.js +++ b/@packages/test/src/git.js @@ -6,9 +6,7 @@ import * as sander from '@marionebl/sander'; import execa from 'execa'; import pkgDir from 'pkg-dir'; -export {bootstrap, clone, init}; - -async function bootstrap(fixture) { +export async function bootstrap(fixture) { const cwd = path.join(os.tmpdir(), rand()); if (typeof fixture !== 'undefined') { @@ -19,14 +17,14 @@ async function bootstrap(fixture) { return cwd; } -async function clone(source, ...args) { +export async function clone(source, ...args) { const cwd = path.join(os.tmpdir(), rand()); await execa('git', ['clone', ...args, source, cwd]); await setup(cwd); return cwd; } -async function init(cwd) { +export async function init(cwd) { await execa('git', ['init', cwd]); await setup(cwd); return cwd; diff --git a/package.json b/package.json index 3ade3fc104..bb77a9c11d 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,7 @@ } }, "resolutions": { - "**/lodash": "4.17.14", + "**/lodash": "4.17.15", "docsify-cli/**/randomatic": "3", "docsify-cli/**/stringstream": "0.0.6", "docsify-cli/**/sshpk": "1.14.1", diff --git a/yarn.lock b/yarn.lock index 5f7c3f59e2..d4baf247a7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,197 +2,744 @@ # yarn lockfile v1 -"@ava/babel-plugin-throws-helper@^2.0.0": - version "2.0.0" - resolved "https://registry.npmjs.org/@ava/babel-plugin-throws-helper/-/babel-plugin-throws-helper-2.0.0.tgz#2fc1fe3c211a71071a4eca7b8f7af5842cd1ae7c" - integrity sha1-L8H+PCEacQcaTsp7j3r1hCzRrnw= - -"@ava/babel-preset-stage-4@^1.0.0", "@ava/babel-preset-stage-4@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@ava/babel-preset-stage-4/-/babel-preset-stage-4-1.1.0.tgz#ae60be881a0babf7d35f52aba770d1f6194f76bd" - integrity sha512-oWqTnIGXW3k72UFidXzW0ONlO7hnO9x02S/QReJ7NBGeiBH9cUHY9+EfV6C8PXC6YJH++WrliEq03wMSJGNZFg== - dependencies: - babel-plugin-check-es2015-constants "^6.8.0" - babel-plugin-syntax-trailing-function-commas "^6.20.0" - babel-plugin-transform-async-to-generator "^6.16.0" - babel-plugin-transform-es2015-destructuring "^6.19.0" - babel-plugin-transform-es2015-function-name "^6.9.0" - babel-plugin-transform-es2015-modules-commonjs "^6.18.0" - babel-plugin-transform-es2015-parameters "^6.21.0" - babel-plugin-transform-es2015-spread "^6.8.0" - babel-plugin-transform-es2015-sticky-regex "^6.8.0" - babel-plugin-transform-es2015-unicode-regex "^6.11.0" - babel-plugin-transform-exponentiation-operator "^6.8.0" - package-hash "^1.2.0" - -"@ava/babel-preset-transform-test-files@^2.0.0": - version "2.0.1" - resolved "https://registry.npmjs.org/@ava/babel-preset-transform-test-files/-/babel-preset-transform-test-files-2.0.1.tgz#d75232cc6d71dc9c7eae4b76a9004fd81501d0c1" - integrity sha1-11IyzG1x3Jx+rkt2qQBP2BUB0ME= - dependencies: - babel-plugin-ava-throws-helper "^1.0.0" - babel-plugin-espower "^2.3.2" - package-hash "^1.2.0" +"@ava/babel-plugin-throws-helper@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@ava/babel-plugin-throws-helper/-/babel-plugin-throws-helper-4.0.0.tgz#8f5b45b7a0a79c6f4032de2101e0c221847efb62" + integrity sha512-3diBLIVBPPh3j4+hb5lo0I1D+S/O/VDJPI4Y502apBxmwEqjyXG4gTSPFUlm41sSZeZzMarT/Gzovw9kV7An0w== -"@ava/babel-preset-transform-test-files@^3.0.0": - version "3.0.0" - resolved "https://registry.npmjs.org/@ava/babel-preset-transform-test-files/-/babel-preset-transform-test-files-3.0.0.tgz#cded1196a8d8d9381a509240ab92e91a5ec069f7" - integrity sha1-ze0RlqjY2TgaUJJAq5LpGl7Aafc= +"@ava/babel-preset-stage-4@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@ava/babel-preset-stage-4/-/babel-preset-stage-4-4.0.0.tgz#9be5a59ead170062e228bb6ffd2b29f0489424fd" + integrity sha512-lZEV1ZANzfzSYBU6WHSErsy7jLPbD1iIgAboASPMcKo7woVni5/5IKWeT0RxC8rY802MFktur3OKEw2JY1Tv2w== dependencies: - "@ava/babel-plugin-throws-helper" "^2.0.0" - babel-plugin-espower "^2.3.2" + "@babel/plugin-proposal-async-generator-functions" "^7.2.0" + "@babel/plugin-proposal-dynamic-import" "^7.5.0" + "@babel/plugin-proposal-optional-catch-binding" "^7.2.0" + "@babel/plugin-transform-dotall-regex" "^7.4.4" + "@babel/plugin-transform-modules-commonjs" "^7.5.0" -"@ava/pretty-format@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@ava/pretty-format/-/pretty-format-1.1.0.tgz#d0a57d25eb9aeab9643bdd1a030642b91c123e28" - integrity sha1-0KV9Jeua6rlkO90aAwZCuRwSPig= +"@ava/babel-preset-transform-test-files@^6.0.0": + version "6.0.0" + resolved "https://registry.npmjs.org/@ava/babel-preset-transform-test-files/-/babel-preset-transform-test-files-6.0.0.tgz#639e8929d2cdc8863c1f16020ce644c525723cd4" + integrity sha512-8eKhFzZp7Qcq1VLfoC75ggGT8nQs9q8fIxltU47yCB7Wi7Y8Qf6oqY1Bm0z04fIec24vEgr0ENhDHEOUGVDqnA== dependencies: - ansi-styles "^2.2.1" - esutils "^2.0.2" + "@ava/babel-plugin-throws-helper" "^4.0.0" + babel-plugin-espower "^3.0.1" -"@ava/write-file-atomic@^2.2.0": - version "2.2.0" - resolved "https://registry.npmjs.org/@ava/write-file-atomic/-/write-file-atomic-2.2.0.tgz#d625046f3495f1f5e372135f473909684b429247" - integrity sha512-BTNB3nGbEfJT+69wuqXFr/bQH7Vr7ihx2xGOMNqPgDGhwspoZhiWumDDZNjBy7AScmqS5CELIOGtPVXESyrnDA== +"@babel/cli@7.7.7", "@babel/cli@^7.7.7": + version "7.7.7" + resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.7.7.tgz#56849acbf81d1a970dd3d1b3097c8ebf5da3f534" + integrity sha512-XQw5KyCZyu/M8/0rYiZyuwbgIQNzOrJzs9dDLX+MieSgBwTLvTj4QVbLmxJACAIvQIDT7PtyHN2sC48EOWTgaA== dependencies: - graceful-fs "^4.1.11" - imurmurhash "^0.1.4" - slide "^1.1.5" + commander "^4.0.1" + convert-source-map "^1.1.0" + fs-readdir-recursive "^1.1.0" + glob "^7.0.0" + lodash "^4.17.13" + make-dir "^2.1.0" + slash "^2.0.0" + source-map "^0.5.0" + optionalDependencies: + chokidar "^2.1.8" -"@babel/code-frame@^7.0.0": - version "7.0.0" - resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz#06e2ab19bdb535385559aabb5ba59729482800f8" - integrity sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA== +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5": + version "7.5.5" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49531219699b988f669a8f9d" + integrity sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw== dependencies: "@babel/highlight" "^7.0.0" -"@babel/core@^7.1.0": - version "7.4.4" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.4.4.tgz#84055750b05fcd50f9915a826b44fa347a825250" - integrity sha512-lQgGX3FPRgbz2SKmhMtYgJvVzGZrmjaF4apZ2bLwofAKiSjxU0drPh4S/VasyYXwaTs+A1gvQ45BN8SQJzHsQQ== - dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/generator" "^7.4.4" - "@babel/helpers" "^7.4.4" - "@babel/parser" "^7.4.4" - "@babel/template" "^7.4.4" - "@babel/traverse" "^7.4.4" - "@babel/types" "^7.4.4" - convert-source-map "^1.1.0" +"@babel/core@7.7.7", "@babel/core@^7.1.0", "@babel/core@^7.6.0", "@babel/core@^7.7.7": + version "7.7.7" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.7.7.tgz#ee155d2e12300bcc0cff6a8ad46f2af5063803e9" + integrity sha512-jlSjuj/7z138NLZALxVgrx13AOtqip42ATZP7+kYl53GvDV6+4dCek1mVUo8z8c8Xnw/mx2q3d9HWh3griuesQ== + dependencies: + "@babel/code-frame" "^7.5.5" + "@babel/generator" "^7.7.7" + "@babel/helpers" "^7.7.4" + "@babel/parser" "^7.7.7" + "@babel/template" "^7.7.4" + "@babel/traverse" "^7.7.4" + "@babel/types" "^7.7.4" + convert-source-map "^1.7.0" debug "^4.1.0" json5 "^2.1.0" - lodash "^4.17.11" + lodash "^4.17.13" resolve "^1.3.2" semver "^5.4.1" source-map "^0.5.0" -"@babel/generator@^7.4.0", "@babel/generator@^7.4.4": - version "7.4.4" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.4.4.tgz#174a215eb843fc392c7edcaabeaa873de6e8f041" - integrity sha512-53UOLK6TVNqKxf7RUh8NE851EHRxOOeVXKbK2bivdb+iziMyk03Sr4eaE9OELCbyZAAafAKPDwF2TPUES5QbxQ== +"@babel/generator@^7.0.0", "@babel/generator@^7.0.0-beta.44", "@babel/generator@^7.4.0", "@babel/generator@^7.6.0", "@babel/generator@^7.7.4", "@babel/generator@^7.7.7": + version "7.7.7" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.7.7.tgz#859ac733c44c74148e1a72980a64ec84b85f4f45" + integrity sha512-/AOIBpHh/JU1l0ZFS4kiRCBnLi6OTHzh0RPk3h9isBxkkqELtQNFi1Vr/tiG9p1yfoUdKVwISuXWQR+hwwM4VQ== dependencies: - "@babel/types" "^7.4.4" + "@babel/types" "^7.7.4" jsesc "^2.5.1" - lodash "^4.17.11" + lodash "^4.17.13" source-map "^0.5.0" - trim-right "^1.0.1" -"@babel/helper-function-name@^7.1.0": - version "7.1.0" - resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz#a0ceb01685f73355d4360c1247f582bfafc8ff53" - integrity sha512-A95XEoCpb3TO+KZzJ4S/5uW5fNe26DjBGqf1o9ucyLyCmi1dXq/B3c8iaWTfBk3VvetUxl16e8tIrd5teOCfGw== +"@babel/helper-annotate-as-pure@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.7.4.tgz#bb3faf1e74b74bd547e867e48f551fa6b098b6ce" + integrity sha512-2BQmQgECKzYKFPpiycoF9tlb5HA4lrVyAmLLVK177EcQAqjVLciUb2/R+n1boQ9y5ENV3uz2ZqiNw7QMBBw1Og== dependencies: - "@babel/helper-get-function-arity" "^7.0.0" - "@babel/template" "^7.1.0" - "@babel/types" "^7.0.0" + "@babel/types" "^7.7.4" -"@babel/helper-get-function-arity@^7.0.0": - version "7.0.0" - resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz#83572d4320e2a4657263734113c42868b64e49c3" - integrity sha512-r2DbJeg4svYvt3HOS74U4eWKsUAMRH01Z1ds1zx8KNTPtpTL5JAsdFv8BNyOpVqdFhHkkRDIg5B4AsxmkjAlmQ== +"@babel/helper-builder-binary-assignment-operator-visitor@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.7.4.tgz#5f73f2b28580e224b5b9bd03146a4015d6217f5f" + integrity sha512-Biq/d/WtvfftWZ9Uf39hbPBYDUo986m5Bb4zhkeYDGUllF43D+nUe5M6Vuo6/8JDK/0YX/uBdeoQpyaNhNugZQ== dependencies: - "@babel/types" "^7.0.0" + "@babel/helper-explode-assignable-expression" "^7.7.4" + "@babel/types" "^7.7.4" + +"@babel/helper-builder-react-jsx@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.7.4.tgz#da188d247508b65375b2c30cf59de187be6b0c66" + integrity sha512-kvbfHJNN9dg4rkEM4xn1s8d1/h6TYNvajy9L1wx4qLn9HFg0IkTsQi4rfBe92nxrPUFcMsHoMV+8rU7MJb3fCA== + dependencies: + "@babel/types" "^7.7.4" + esutils "^2.0.0" + +"@babel/helper-call-delegate@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.7.4.tgz#621b83e596722b50c0066f9dc37d3232e461b801" + integrity sha512-8JH9/B7J7tCYJ2PpWVpw9JhPuEVHztagNVuQAFBVFYluRMlpG7F1CgKEgGeL6KFqcsIa92ZYVj6DSc0XwmN1ZA== + dependencies: + "@babel/helper-hoist-variables" "^7.7.4" + "@babel/traverse" "^7.7.4" + "@babel/types" "^7.7.4" + +"@babel/helper-create-regexp-features-plugin@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.7.4.tgz#6d5762359fd34f4da1500e4cff9955b5299aaf59" + integrity sha512-Mt+jBKaxL0zfOIWrfQpnfYCN7/rS6GKx6CCCfuoqVVd+17R8zNDlzVYmIi9qyb2wOk002NsmSTDymkIygDUH7A== + dependencies: + "@babel/helper-regex" "^7.4.4" + regexpu-core "^4.6.0" + +"@babel/helper-define-map@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.7.4.tgz#2841bf92eb8bd9c906851546fe6b9d45e162f176" + integrity sha512-v5LorqOa0nVQUvAUTUF3KPastvUt/HzByXNamKQ6RdJRTV7j8rLL+WB5C/MzzWAwOomxDhYFb1wLLxHqox86lg== + dependencies: + "@babel/helper-function-name" "^7.7.4" + "@babel/types" "^7.7.4" + lodash "^4.17.13" + +"@babel/helper-explode-assignable-expression@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.7.4.tgz#fa700878e008d85dc51ba43e9fb835cddfe05c84" + integrity sha512-2/SicuFrNSXsZNBxe5UGdLr+HZg+raWBLE9vC98bdYOKX/U6PY0mdGlYUJdtTDPSU0Lw0PNbKKDpwYHJLn2jLg== + dependencies: + "@babel/traverse" "^7.7.4" + "@babel/types" "^7.7.4" + +"@babel/helper-function-name@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.7.4.tgz#ab6e041e7135d436d8f0a3eca15de5b67a341a2e" + integrity sha512-AnkGIdiBhEuiwdoMnKm7jfPfqItZhgRaZfMg1XX3bS25INOnLPjPG1Ppnajh8eqgt5kPJnfqrRHqFqmjKDZLzQ== + dependencies: + "@babel/helper-get-function-arity" "^7.7.4" + "@babel/template" "^7.7.4" + "@babel/types" "^7.7.4" + +"@babel/helper-get-function-arity@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.7.4.tgz#cb46348d2f8808e632f0ab048172130e636005f0" + integrity sha512-QTGKEdCkjgzgfJ3bAyRwF4yyT3pg+vDgan8DSivq1eS0gwi+KGKE5x8kRcbeFTb/673mkO5SN1IZfmCfA5o+EA== + dependencies: + "@babel/types" "^7.7.4" + +"@babel/helper-hoist-variables@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.7.4.tgz#612384e3d823fdfaaf9fce31550fe5d4db0f3d12" + integrity sha512-wQC4xyvc1Jo/FnLirL6CEgPgPCa8M74tOdjWpRhQYapz5JC7u3NYU1zCVoVAGCE3EaIP9T1A3iW0WLJ+reZlpQ== + dependencies: + "@babel/types" "^7.7.4" + +"@babel/helper-member-expression-to-functions@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.7.4.tgz#356438e2569df7321a8326644d4b790d2122cb74" + integrity sha512-9KcA1X2E3OjXl/ykfMMInBK+uVdfIVakVe7W7Lg3wfXUNyS3Q1HWLFRwZIjhqiCGbslummPDnmb7vIekS0C1vw== + dependencies: + "@babel/types" "^7.7.4" + +"@babel/helper-module-imports@^7.0.0-beta.44", "@babel/helper-module-imports@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.7.4.tgz#e5a92529f8888bf319a6376abfbd1cebc491ad91" + integrity sha512-dGcrX6K9l8258WFjyDLJwuVKxR4XZfU0/vTUgOQYWEnRD8mgr+p4d6fCUMq/ys0h4CCt/S5JhbvtyErjWouAUQ== + dependencies: + "@babel/types" "^7.7.4" + +"@babel/helper-module-transforms@^7.7.4", "@babel/helper-module-transforms@^7.7.5": + version "7.7.5" + resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.7.5.tgz#d044da7ffd91ec967db25cd6748f704b6b244835" + integrity sha512-A7pSxyJf1gN5qXVcidwLWydjftUN878VkalhXX5iQDuGyiGK3sOrrKKHF4/A4fwHtnsotv/NipwAeLzY4KQPvw== + dependencies: + "@babel/helper-module-imports" "^7.7.4" + "@babel/helper-simple-access" "^7.7.4" + "@babel/helper-split-export-declaration" "^7.7.4" + "@babel/template" "^7.7.4" + "@babel/types" "^7.7.4" + lodash "^4.17.13" + +"@babel/helper-optimise-call-expression@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.7.4.tgz#034af31370d2995242aa4df402c3b7794b2dcdf2" + integrity sha512-VB7gWZ2fDkSuqW6b1AKXkJWO5NyNI3bFL/kK79/30moK57blr6NbH8xcl2XcKCwOmJosftWunZqfO84IGq3ZZg== + dependencies: + "@babel/types" "^7.7.4" "@babel/helper-plugin-utils@^7.0.0": version "7.0.0" resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250" integrity sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA== -"@babel/helper-split-export-declaration@^7.4.4": - version "7.4.4" - resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz#ff94894a340be78f53f06af038b205c49d993677" - integrity sha512-Ro/XkzLf3JFITkW6b+hNxzZ1n5OQ80NvIUdmHspih1XAhtN3vPTuUFT4eQnela+2MaZ5ulH+iyP513KJrxbN7Q== +"@babel/helper-regex@^7.0.0", "@babel/helper-regex@^7.4.4": + version "7.5.5" + resolved "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.5.5.tgz#0aa6824f7100a2e0e89c1527c23936c152cab351" + integrity sha512-CkCYQLkfkiugbRDO8eZn6lRuR8kzZoGXCg3149iTk5se7g6qykSpy3+hELSwquhu+TgHn8nkLiBwHvNX8Hofcw== + dependencies: + lodash "^4.17.13" + +"@babel/helper-remap-async-to-generator@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.7.4.tgz#c68c2407350d9af0e061ed6726afb4fff16d0234" + integrity sha512-Sk4xmtVdM9sA/jCI80f+KS+Md+ZHIpjuqmYPk1M7F/upHou5e4ReYmExAiu6PVe65BhJPZA2CY9x9k4BqE5klw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.7.4" + "@babel/helper-wrap-function" "^7.7.4" + "@babel/template" "^7.7.4" + "@babel/traverse" "^7.7.4" + "@babel/types" "^7.7.4" + +"@babel/helper-replace-supers@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.7.4.tgz#3c881a6a6a7571275a72d82e6107126ec9e2cdd2" + integrity sha512-pP0tfgg9hsZWo5ZboYGuBn/bbYT/hdLPVSS4NMmiRJdwWhP0IznPwN9AE1JwyGsjSPLC364I0Qh5p+EPkGPNpg== + dependencies: + "@babel/helper-member-expression-to-functions" "^7.7.4" + "@babel/helper-optimise-call-expression" "^7.7.4" + "@babel/traverse" "^7.7.4" + "@babel/types" "^7.7.4" + +"@babel/helper-simple-access@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.7.4.tgz#a169a0adb1b5f418cfc19f22586b2ebf58a9a294" + integrity sha512-zK7THeEXfan7UlWsG2A6CI/L9jVnI5+xxKZOdej39Y0YtDYKx9raHk5F2EtK9K8DHRTihYwg20ADt9S36GR78A== + dependencies: + "@babel/template" "^7.7.4" + "@babel/types" "^7.7.4" + +"@babel/helper-split-export-declaration@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.7.4.tgz#57292af60443c4a3622cf74040ddc28e68336fd8" + integrity sha512-guAg1SXFcVr04Guk9eq0S4/rWS++sbmyqosJzVs8+1fH5NI+ZcmkaSkc7dmtAFbHFva6yRJnjW3yAcGxjueDug== dependencies: - "@babel/types" "^7.4.4" + "@babel/types" "^7.7.4" -"@babel/helpers@^7.4.4": - version "7.4.4" - resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.4.4.tgz#868b0ef59c1dd4e78744562d5ce1b59c89f2f2a5" - integrity sha512-igczbR/0SeuPR8RFfC7tGrbdTbFL3QTvH6D+Z6zNxnTe//GyqmtHmDkzrqDmyZ3eSwPqB/LhyKoU5DXsp+Vp2A== +"@babel/helper-wrap-function@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.7.4.tgz#37ab7fed5150e22d9d7266e830072c0cdd8baace" + integrity sha512-VsfzZt6wmsocOaVU0OokwrIytHND55yvyT4BPB9AIIgwr8+x7617hetdJTsuGwygN5RC6mxA9EJztTjuwm2ofg== dependencies: - "@babel/template" "^7.4.4" - "@babel/traverse" "^7.4.4" - "@babel/types" "^7.4.4" + "@babel/helper-function-name" "^7.7.4" + "@babel/template" "^7.7.4" + "@babel/traverse" "^7.7.4" + "@babel/types" "^7.7.4" + +"@babel/helpers@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.7.4.tgz#62c215b9e6c712dadc15a9a0dcab76c92a940302" + integrity sha512-ak5NGZGJ6LV85Q1Zc9gn2n+ayXOizryhjSUBTdu5ih1tlVCJeuQENzc4ItyCVhINVXvIT/ZQ4mheGIsfBkpskg== + dependencies: + "@babel/template" "^7.7.4" + "@babel/traverse" "^7.7.4" + "@babel/types" "^7.7.4" "@babel/highlight@^7.0.0": - version "7.0.0" - resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0.tgz#f710c38c8d458e6dd9a201afb637fcb781ce99e4" - integrity sha512-UFMC4ZeFC48Tpvj7C8UgLvtkaUuovQX+5xNWrsIoMG8o2z+XFKjKaN9iVmS84dPwVN00W4wPmqvYoZF3EGAsfw== + version "7.5.0" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa619591d02472be6e8cb32540" + integrity sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ== dependencies: chalk "^2.0.0" esutils "^2.0.2" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.4.3", "@babel/parser@^7.4.4": - version "7.4.4" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.4.4.tgz#5977129431b8fe33471730d255ce8654ae1250b6" - integrity sha512-5pCS4mOsL+ANsFZGdvNLybx4wtqAZJ0MJjMHxvzI3bvIsz6sQvzW8XX92EYIkiPtIvcfG3Aj+Ir5VNyjnZhP7w== +"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.4.3", "@babel/parser@^7.7.4", "@babel/parser@^7.7.7": + version "7.7.7" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.7.7.tgz#1b886595419cf92d811316d5b715a53ff38b4937" + integrity sha512-WtTZMZAZLbeymhkd/sEaPD8IQyGAhmuTuvTzLiCFM7iXiVdY0gc0IaI+cW0fh1BnSMbJSzXX6/fHllgHKwHhXw== -"@babel/plugin-syntax-object-rest-spread@^7.0.0": - version "7.2.0" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.2.0.tgz#3b7a3e733510c57e820b9142a6579ac8b0dfad2e" - integrity sha512-t0JKGgqk2We+9may3t0xDdmneaXmyxq0xieYcKHxIsrJO64n1OiMWNUtc5gQK1PA0NpdCRrtZp4z+IUaKugrSA== +"@babel/plugin-proposal-async-generator-functions@^7.2.0", "@babel/plugin-proposal-async-generator-functions@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.7.4.tgz#0351c5ac0a9e927845fffd5b82af476947b7ce6d" + integrity sha512-1ypyZvGRXriY/QP668+s8sFr2mqinhkRDMPSQLNghCQE+GAkFtp+wkHVvg2+Hdki8gwP+NFzJBJ/N1BfzCCDEw== dependencies: "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-remap-async-to-generator" "^7.7.4" + "@babel/plugin-syntax-async-generators" "^7.7.4" -"@babel/runtime@^7.0.0": - version "7.4.4" - resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.4.4.tgz#dc2e34982eb236803aa27a07fea6857af1b9171d" - integrity sha512-w0+uT71b6Yi7i5SE0co4NioIpSYS6lLiXvCzWzGSKvpK5vdQtCbICHMj+gbAKAOtxiV6HsVh/MBdaF9EQ6faSg== +"@babel/plugin-proposal-dynamic-import@^7.5.0", "@babel/plugin-proposal-dynamic-import@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.7.4.tgz#dde64a7f127691758cbfed6cf70de0fa5879d52d" + integrity sha512-StH+nGAdO6qDB1l8sZ5UBV8AC3F2VW2I8Vfld73TMKyptMU9DY5YsJAS8U81+vEtxcH3Y/La0wG0btDrhpnhjQ== dependencies: - regenerator-runtime "^0.13.2" + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/plugin-syntax-dynamic-import" "^7.7.4" -"@babel/template@^7.1.0", "@babel/template@^7.4.0", "@babel/template@^7.4.4": - version "7.4.4" - resolved "https://registry.npmjs.org/@babel/template/-/template-7.4.4.tgz#f4b88d1225689a08f5bc3a17483545be9e4ed237" - integrity sha512-CiGzLN9KgAvgZsnivND7rkA+AeJ9JB0ciPOD4U59GKbQP2iQl+olF1l76kJOupqidozfZ32ghwBEJDhnk9MEcw== +"@babel/plugin-proposal-json-strings@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.7.4.tgz#7700a6bfda771d8dc81973249eac416c6b4c697d" + integrity sha512-wQvt3akcBTfLU/wYoqm/ws7YOAQKu8EVJEvHip/mzkNtjaclQoCCIqKXFP5/eyfnfbQCDV3OLRIK3mIVyXuZlw== dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/parser" "^7.4.4" - "@babel/types" "^7.4.4" + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/plugin-syntax-json-strings" "^7.7.4" + +"@babel/plugin-proposal-object-rest-spread@^7.7.7": + version "7.7.7" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.7.7.tgz#9f27075004ab99be08c5c1bd653a2985813cb370" + integrity sha512-3qp9I8lelgzNedI3hrhkvhaEYree6+WHnyA/q4Dza9z7iEIs1eyhWyJnetk3jJ69RT0AT4G0UhEGwyGFJ7GUuQ== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/plugin-syntax-object-rest-spread" "^7.7.4" + +"@babel/plugin-proposal-optional-catch-binding@^7.2.0", "@babel/plugin-proposal-optional-catch-binding@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.7.4.tgz#ec21e8aeb09ec6711bc0a39ca49520abee1de379" + integrity sha512-DyM7U2bnsQerCQ+sejcTNZh8KQEUuC3ufzdnVnSiUv/qoGJp2Z3hanKL18KDhsBT5Wj6a7CMT5mdyCNJsEaA9w== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/plugin-syntax-optional-catch-binding" "^7.7.4" + +"@babel/plugin-proposal-unicode-property-regex@^7.7.7": + version "7.7.7" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.7.7.tgz#433fa9dac64f953c12578b29633f456b68831c4e" + integrity sha512-80PbkKyORBUVm1fbTLrHpYdJxMThzM1UqFGh0ALEhO9TYbG86Ah9zQYAB/84axz2vcxefDLdZwWwZNlYARlu9w== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.7.4" + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-syntax-async-generators@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.7.4.tgz#331aaf310a10c80c44a66b238b6e49132bd3c889" + integrity sha512-Li4+EjSpBgxcsmeEF8IFcfV/+yJGxHXDirDkEoyFjumuwbmfCVHUt0HuowD/iGM7OhIRyXJH9YXxqiH6N815+g== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-syntax-dynamic-import@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.7.4.tgz#29ca3b4415abfe4a5ec381e903862ad1a54c3aec" + integrity sha512-jHQW0vbRGvwQNgyVxwDh4yuXu4bH1f5/EICJLAhl1SblLs2CDhrsmCk+v5XLdE9wxtAFRyxx+P//Iw+a5L/tTg== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-syntax-json-strings@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.7.4.tgz#86e63f7d2e22f9e27129ac4e83ea989a382e86cc" + integrity sha512-QpGupahTQW1mHRXddMG5srgpHWqRLwJnJZKXTigB9RPFCCGbDGCgBeM/iC82ICXp414WeYx/tD54w7M2qRqTMg== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-syntax-jsx@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.7.4.tgz#dab2b56a36fb6c3c222a1fbc71f7bf97f327a9ec" + integrity sha512-wuy6fiMe9y7HeZBWXYCGt2RGxZOj0BImZ9EyXJVnVGBKO/Br592rbR3rtIQn0eQhAk9vqaKP5n8tVqEFBQMfLg== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.7.4.tgz#47cf220d19d6d0d7b154304701f468fc1cc6ff46" + integrity sha512-mObR+r+KZq0XhRVS2BrBKBpr5jqrqzlPvS9C9vuOf5ilSwzloAl7RPWLrgKdWS6IreaVrjHxTjtyqFiOisaCwg== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-syntax-optional-catch-binding@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.7.4.tgz#a3e38f59f4b6233867b4a92dcb0ee05b2c334aa6" + integrity sha512-4ZSuzWgFxqHRE31Glu+fEr/MirNZOMYmD/0BhBWyLyOOQz/gTAl7QmWm2hX1QxEIXsr2vkdlwxIzTyiYRC4xcQ== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-syntax-top-level-await@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.7.4.tgz#bd7d8fa7b9fee793a36e4027fd6dd1aa32f946da" + integrity sha512-wdsOw0MvkL1UIgiQ/IFr3ETcfv1xb8RMM0H9wbiDyLaJFyiDg5oZvDLCXosIXmFeIlweML5iOBXAkqddkYNizg== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-arrow-functions@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.7.4.tgz#76309bd578addd8aee3b379d809c802305a98a12" + integrity sha512-zUXy3e8jBNPiffmqkHRNDdZM2r8DWhCB7HhcoyZjiK1TxYEluLHAvQuYnTT+ARqRpabWqy/NHkO6e3MsYB5YfA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-async-to-generator@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.7.4.tgz#694cbeae6d613a34ef0292713fa42fb45c4470ba" + integrity sha512-zpUTZphp5nHokuy8yLlyafxCJ0rSlFoSHypTUWgpdwoDXWQcseaect7cJ8Ppk6nunOM6+5rPMkod4OYKPR5MUg== + dependencies: + "@babel/helper-module-imports" "^7.7.4" + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-remap-async-to-generator" "^7.7.4" + +"@babel/plugin-transform-block-scoped-functions@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.7.4.tgz#d0d9d5c269c78eaea76227ace214b8d01e4d837b" + integrity sha512-kqtQzwtKcpPclHYjLK//3lH8OFsCDuDJBaFhVwf8kqdnF6MN4l618UDlcA7TfRs3FayrHj+svYnSX8MC9zmUyQ== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-block-scoping@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.7.4.tgz#200aad0dcd6bb80372f94d9e628ea062c58bf224" + integrity sha512-2VBe9u0G+fDt9B5OV5DQH4KBf5DoiNkwFKOz0TCvBWvdAN2rOykCTkrL+jTLxfCAm76l9Qo5OqL7HBOx2dWggg== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + lodash "^4.17.13" + +"@babel/plugin-transform-classes@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.7.4.tgz#c92c14be0a1399e15df72667067a8f510c9400ec" + integrity sha512-sK1mjWat7K+buWRuImEzjNf68qrKcrddtpQo3swi9j7dUcG6y6R6+Di039QN2bD1dykeswlagupEmpOatFHHUg== + dependencies: + "@babel/helper-annotate-as-pure" "^7.7.4" + "@babel/helper-define-map" "^7.7.4" + "@babel/helper-function-name" "^7.7.4" + "@babel/helper-optimise-call-expression" "^7.7.4" + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-replace-supers" "^7.7.4" + "@babel/helper-split-export-declaration" "^7.7.4" + globals "^11.1.0" + +"@babel/plugin-transform-computed-properties@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.7.4.tgz#e856c1628d3238ffe12d668eb42559f79a81910d" + integrity sha512-bSNsOsZnlpLLyQew35rl4Fma3yKWqK3ImWMSC/Nc+6nGjC9s5NFWAer1YQ899/6s9HxO2zQC1WoFNfkOqRkqRQ== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-destructuring@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.7.4.tgz#2b713729e5054a1135097b6a67da1b6fe8789267" + integrity sha512-4jFMXI1Cu2aXbcXXl8Lr6YubCn6Oc7k9lLsu8v61TZh+1jny2BWmdtvY9zSUlLdGUvcy9DMAWyZEOqjsbeg/wA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-dotall-regex@^7.4.4", "@babel/plugin-transform-dotall-regex@^7.7.7": + version "7.7.7" + resolved "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.7.7.tgz#3e9713f1b69f339e87fa796b097d73ded16b937b" + integrity sha512-b4in+YlTeE/QmTgrllnb3bHA0HntYvjz8O3Mcbx75UBPJA2xhb5A8nle498VhxSXJHQefjtQxpnLPehDJ4TRlg== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.7.4" + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-duplicate-keys@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.7.4.tgz#3d21731a42e3f598a73835299dd0169c3b90ac91" + integrity sha512-g1y4/G6xGWMD85Tlft5XedGaZBCIVN+/P0bs6eabmcPP9egFleMAo65OOjlhcz1njpwagyY3t0nsQC9oTFegJA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-exponentiation-operator@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.7.4.tgz#dd30c0191e3a1ba19bcc7e389bdfddc0729d5db9" + integrity sha512-MCqiLfCKm6KEA1dglf6Uqq1ElDIZwFuzz1WH5mTf8k2uQSxEJMbOIEh7IZv7uichr7PMfi5YVSrr1vz+ipp7AQ== + dependencies: + "@babel/helper-builder-binary-assignment-operator-visitor" "^7.7.4" + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-for-of@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.7.4.tgz#248800e3a5e507b1f103d8b4ca998e77c63932bc" + integrity sha512-zZ1fD1B8keYtEcKF+M1TROfeHTKnijcVQm0yO/Yu1f7qoDoxEIc/+GX6Go430Bg84eM/xwPFp0+h4EbZg7epAA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-function-name@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.7.4.tgz#75a6d3303d50db638ff8b5385d12451c865025b1" + integrity sha512-E/x09TvjHNhsULs2IusN+aJNRV5zKwxu1cpirZyRPw+FyyIKEHPXTsadj48bVpc1R5Qq1B5ZkzumuFLytnbT6g== + dependencies: + "@babel/helper-function-name" "^7.7.4" + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-literals@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.7.4.tgz#27fe87d2b5017a2a5a34d1c41a6b9f6a6262643e" + integrity sha512-X2MSV7LfJFm4aZfxd0yLVFrEXAgPqYoDG53Br/tCKiKYfX0MjVjQeWPIhPHHsCqzwQANq+FLN786fF5rgLS+gw== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-member-expression-literals@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.7.4.tgz#aee127f2f3339fc34ce5e3055d7ffbf7aa26f19a" + integrity sha512-9VMwMO7i69LHTesL0RdGy93JU6a+qOPuvB4F4d0kR0zyVjJRVJRaoaGjhtki6SzQUu8yen/vxPKN6CWnCUw6bA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-modules-amd@^7.7.5": + version "7.7.5" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.7.5.tgz#39e0fb717224b59475b306402bb8eedab01e729c" + integrity sha512-CT57FG4A2ZUNU1v+HdvDSDrjNWBrtCmSH6YbbgN3Lrf0Di/q/lWRxZrE72p3+HCCz9UjfZOEBdphgC0nzOS6DQ== + dependencies: + "@babel/helper-module-transforms" "^7.7.5" + "@babel/helper-plugin-utils" "^7.0.0" + babel-plugin-dynamic-import-node "^2.3.0" + +"@babel/plugin-transform-modules-commonjs@^7.5.0", "@babel/plugin-transform-modules-commonjs@^7.7.5": + version "7.7.5" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.7.5.tgz#1d27f5eb0bcf7543e774950e5b2fa782e637b345" + integrity sha512-9Cq4zTFExwFhQI6MT1aFxgqhIsMWQWDVwOgLzl7PTWJHsNaqFvklAU+Oz6AQLAS0dJKTwZSOCo20INwktxpi3Q== + dependencies: + "@babel/helper-module-transforms" "^7.7.5" + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-simple-access" "^7.7.4" + babel-plugin-dynamic-import-node "^2.3.0" + +"@babel/plugin-transform-modules-systemjs@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.7.4.tgz#cd98152339d3e763dfe838b7d4273edaf520bb30" + integrity sha512-y2c96hmcsUi6LrMqvmNDPBBiGCiQu0aYqpHatVVu6kD4mFEXKjyNxd/drc18XXAf9dv7UXjrZwBVmTTGaGP8iw== + dependencies: + "@babel/helper-hoist-variables" "^7.7.4" + "@babel/helper-plugin-utils" "^7.0.0" + babel-plugin-dynamic-import-node "^2.3.0" + +"@babel/plugin-transform-modules-umd@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.7.4.tgz#1027c355a118de0aae9fee00ad7813c584d9061f" + integrity sha512-u2B8TIi0qZI4j8q4C51ktfO7E3cQ0qnaXFI1/OXITordD40tt17g/sXqgNNCcMTcBFKrUPcGDx+TBJuZxLx7tw== + dependencies: + "@babel/helper-module-transforms" "^7.7.4" + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-named-capturing-groups-regex@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.7.4.tgz#fb3bcc4ee4198e7385805007373d6b6f42c98220" + integrity sha512-jBUkiqLKvUWpv9GLSuHUFYdmHg0ujC1JEYoZUfeOOfNydZXp1sXObgyPatpcwjWgsdBGsagWW0cdJpX/DO2jMw== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.7.4" + +"@babel/plugin-transform-new-target@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.7.4.tgz#4a0753d2d60639437be07b592a9e58ee00720167" + integrity sha512-CnPRiNtOG1vRodnsyGX37bHQleHE14B9dnnlgSeEs3ek3fHN1A1SScglTCg1sfbe7sRQ2BUcpgpTpWSfMKz3gg== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-object-super@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.7.4.tgz#48488937a2d586c0148451bf51af9d7dda567262" + integrity sha512-ho+dAEhC2aRnff2JCA0SAK7V2R62zJd/7dmtoe7MHcso4C2mS+vZjn1Pb1pCVZvJs1mgsvv5+7sT+m3Bysb6eg== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-replace-supers" "^7.7.4" + +"@babel/plugin-transform-parameters@^7.7.7": + version "7.7.7" + resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.7.7.tgz#7a884b2460164dc5f194f668332736584c760007" + integrity sha512-OhGSrf9ZBrr1fw84oFXj5hgi8Nmg+E2w5L7NhnG0lPvpDtqd7dbyilM2/vR8CKbJ907RyxPh2kj6sBCSSfI9Ew== + dependencies: + "@babel/helper-call-delegate" "^7.7.4" + "@babel/helper-get-function-arity" "^7.7.4" + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-property-literals@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.7.4.tgz#2388d6505ef89b266103f450f9167e6bd73f98c2" + integrity sha512-MatJhlC4iHsIskWYyawl53KuHrt+kALSADLQQ/HkhTjX954fkxIEh4q5slL4oRAnsm/eDoZ4q0CIZpcqBuxhJQ== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-react-jsx@^7.7.7": + version "7.7.7" + resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.7.7.tgz#5cbaa7445b4a09f774029f3cc7bb448ff3122a5d" + integrity sha512-SlPjWPbva2+7/ZJbGcoqjl4LsQaLpKEzxW9hcxU7675s24JmdotJOSJ4cgAbV82W3FcZpHIGmRZIlUL8ayMvjw== + dependencies: + "@babel/helper-builder-react-jsx" "^7.7.4" + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/plugin-syntax-jsx" "^7.7.4" + +"@babel/plugin-transform-regenerator@^7.7.5": + version "7.7.5" + resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.7.5.tgz#3a8757ee1a2780f390e89f246065ecf59c26fce9" + integrity sha512-/8I8tPvX2FkuEyWbjRCt4qTAgZK0DVy8QRguhA524UH48RfGJy94On2ri+dCuwOpcerPRl9O4ebQkRcVzIaGBw== + dependencies: + regenerator-transform "^0.14.0" + +"@babel/plugin-transform-reserved-words@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.7.4.tgz#6a7cf123ad175bb5c69aec8f6f0770387ed3f1eb" + integrity sha512-OrPiUB5s5XvkCO1lS7D8ZtHcswIC57j62acAnJZKqGGnHP+TIc/ljQSrgdX/QyOTdEK5COAhuc820Hi1q2UgLQ== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-runtime@^7.7.6": + version "7.7.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.7.6.tgz#4f2b548c88922fb98ec1c242afd4733ee3e12f61" + integrity sha512-tajQY+YmXR7JjTwRvwL4HePqoL3DYxpYXIHKVvrOIvJmeHe2y1w4tz5qz9ObUDC9m76rCzIMPyn4eERuwA4a4A== + dependencies: + "@babel/helper-module-imports" "^7.7.4" + "@babel/helper-plugin-utils" "^7.0.0" + resolve "^1.8.1" + semver "^5.5.1" + +"@babel/plugin-transform-shorthand-properties@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.7.4.tgz#74a0a9b2f6d67a684c6fbfd5f0458eb7ba99891e" + integrity sha512-q+suddWRfIcnyG5YiDP58sT65AJDZSUhXQDZE3r04AuqD6d/XLaQPPXSBzP2zGerkgBivqtQm9XKGLuHqBID6Q== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-spread@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.7.4.tgz#aa673b356fe6b7e70d69b6e33a17fef641008578" + integrity sha512-8OSs0FLe5/80cndziPlg4R0K6HcWSM0zyNhHhLsmw/Nc5MaA49cAsnoJ/t/YZf8qkG7fD+UjTRaApVDB526d7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-sticky-regex@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.7.4.tgz#ffb68c05090c30732076b1285dc1401b404a123c" + integrity sha512-Ls2NASyL6qtVe1H1hXts9yuEeONV2TJZmplLONkMPUG158CtmnrzW5Q5teibM5UVOFjG0D3IC5mzXR6pPpUY7A== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-regex" "^7.0.0" -"@babel/traverse@^7.1.0", "@babel/traverse@^7.4.3", "@babel/traverse@^7.4.4": - version "7.4.4" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.4.4.tgz#0776f038f6d78361860b6823887d4f3937133fe8" - integrity sha512-Gw6qqkw/e6AGzlyj9KnkabJX7VcubqPtkUQVAwkc0wUMldr3A/hezNB3Rc5eIvId95iSGkGIOe5hh1kMKf951A== +"@babel/plugin-transform-template-literals@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.7.4.tgz#1eb6411736dd3fe87dbd20cc6668e5121c17d604" + integrity sha512-sA+KxLwF3QwGj5abMHkHgshp9+rRz+oY9uoRil4CyLtgEuE/88dpkeWgNk5qKVsJE9iSfly3nvHapdRiIS2wnQ== + dependencies: + "@babel/helper-annotate-as-pure" "^7.7.4" + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-typeof-symbol@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.7.4.tgz#3174626214f2d6de322882e498a38e8371b2140e" + integrity sha512-KQPUQ/7mqe2m0B8VecdyaW5XcQYaePyl9R7IsKd+irzj6jvbhoGnRE+M0aNkyAzI07VfUQ9266L5xMARitV3wg== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-unicode-regex@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.7.4.tgz#a3c0f65b117c4c81c5b6484f2a5e7b95346b83ae" + integrity sha512-N77UUIV+WCvE+5yHw+oks3m18/umd7y392Zv7mYTpFqHtkpcc+QUz+gLJNTWVlWROIWeLqY0f3OjZxV5TcXnRw== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.7.4" + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/preset-env@^7.7.7": + version "7.7.7" + resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.7.7.tgz#c294167b91e53e7e36d820e943ece8d0c7fe46ac" + integrity sha512-pCu0hrSSDVI7kCVUOdcMNQEbOPJ52E+LrQ14sN8uL2ALfSqePZQlKrOy+tM4uhEdYlCHi4imr8Zz2cZe9oSdIg== + dependencies: + "@babel/helper-module-imports" "^7.7.4" + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/plugin-proposal-async-generator-functions" "^7.7.4" + "@babel/plugin-proposal-dynamic-import" "^7.7.4" + "@babel/plugin-proposal-json-strings" "^7.7.4" + "@babel/plugin-proposal-object-rest-spread" "^7.7.7" + "@babel/plugin-proposal-optional-catch-binding" "^7.7.4" + "@babel/plugin-proposal-unicode-property-regex" "^7.7.7" + "@babel/plugin-syntax-async-generators" "^7.7.4" + "@babel/plugin-syntax-dynamic-import" "^7.7.4" + "@babel/plugin-syntax-json-strings" "^7.7.4" + "@babel/plugin-syntax-object-rest-spread" "^7.7.4" + "@babel/plugin-syntax-optional-catch-binding" "^7.7.4" + "@babel/plugin-syntax-top-level-await" "^7.7.4" + "@babel/plugin-transform-arrow-functions" "^7.7.4" + "@babel/plugin-transform-async-to-generator" "^7.7.4" + "@babel/plugin-transform-block-scoped-functions" "^7.7.4" + "@babel/plugin-transform-block-scoping" "^7.7.4" + "@babel/plugin-transform-classes" "^7.7.4" + "@babel/plugin-transform-computed-properties" "^7.7.4" + "@babel/plugin-transform-destructuring" "^7.7.4" + "@babel/plugin-transform-dotall-regex" "^7.7.7" + "@babel/plugin-transform-duplicate-keys" "^7.7.4" + "@babel/plugin-transform-exponentiation-operator" "^7.7.4" + "@babel/plugin-transform-for-of" "^7.7.4" + "@babel/plugin-transform-function-name" "^7.7.4" + "@babel/plugin-transform-literals" "^7.7.4" + "@babel/plugin-transform-member-expression-literals" "^7.7.4" + "@babel/plugin-transform-modules-amd" "^7.7.5" + "@babel/plugin-transform-modules-commonjs" "^7.7.5" + "@babel/plugin-transform-modules-systemjs" "^7.7.4" + "@babel/plugin-transform-modules-umd" "^7.7.4" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.7.4" + "@babel/plugin-transform-new-target" "^7.7.4" + "@babel/plugin-transform-object-super" "^7.7.4" + "@babel/plugin-transform-parameters" "^7.7.7" + "@babel/plugin-transform-property-literals" "^7.7.4" + "@babel/plugin-transform-regenerator" "^7.7.5" + "@babel/plugin-transform-reserved-words" "^7.7.4" + "@babel/plugin-transform-shorthand-properties" "^7.7.4" + "@babel/plugin-transform-spread" "^7.7.4" + "@babel/plugin-transform-sticky-regex" "^7.7.4" + "@babel/plugin-transform-template-literals" "^7.7.4" + "@babel/plugin-transform-typeof-symbol" "^7.7.4" + "@babel/plugin-transform-unicode-regex" "^7.7.4" + "@babel/types" "^7.7.4" + browserslist "^4.6.0" + core-js-compat "^3.6.0" + invariant "^2.2.2" + js-levenshtein "^1.1.3" + semver "^5.5.0" + +"@babel/register@7.7.7", "@babel/register@^7.7.7": + version "7.7.7" + resolved "https://registry.npmjs.org/@babel/register/-/register-7.7.7.tgz#46910c4d1926b9c6096421b23d1f9e159c1dcee1" + integrity sha512-S2mv9a5dc2pcpg/ConlKZx/6wXaEwHeqfo7x/QbXsdCAZm+WJC1ekVvL1TVxNsedTs5y/gG63MhJTEsmwmjtiA== + dependencies: + find-cache-dir "^2.0.0" + lodash "^4.17.13" + make-dir "^2.1.0" + pirates "^4.0.0" + source-map-support "^0.5.16" + +"@babel/runtime@^7.0.0": + version "7.7.7" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.7.7.tgz#194769ca8d6d7790ec23605af9ee3e42a0aa79cf" + integrity sha512-uCnC2JEVAu8AKB5do1WRIsvrdJ0flYx/A/9f/6chdacnEZ7LmavjdsDXr5ksYBegxtuTPR5Va9/+13QF/kFkCA== + dependencies: + regenerator-runtime "^0.13.2" + +"@babel/template@^7.4.0", "@babel/template@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/template/-/template-7.7.4.tgz#428a7d9eecffe27deac0a98e23bf8e3675d2a77b" + integrity sha512-qUzihgVPguAzXCK7WXw8pqs6cEwi54s3E+HrejlkuWO6ivMKx9hZl3Y2fSXp9i5HgyWmj7RKP+ulaYnKM4yYxw== dependencies: "@babel/code-frame" "^7.0.0" - "@babel/generator" "^7.4.4" - "@babel/helper-function-name" "^7.1.0" - "@babel/helper-split-export-declaration" "^7.4.4" - "@babel/parser" "^7.4.4" - "@babel/types" "^7.4.4" + "@babel/parser" "^7.7.4" + "@babel/types" "^7.7.4" + +"@babel/traverse@^7.1.0", "@babel/traverse@^7.4.3", "@babel/traverse@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.7.4.tgz#9c1e7c60fb679fe4fcfaa42500833333c2058558" + integrity sha512-P1L58hQyupn8+ezVA2z5KBm4/Zr4lCC8dwKCMYzsa5jFMDMQAzaBNy9W5VjB+KAmBjb40U7a/H6ao+Xo+9saIw== + dependencies: + "@babel/code-frame" "^7.5.5" + "@babel/generator" "^7.7.4" + "@babel/helper-function-name" "^7.7.4" + "@babel/helper-split-export-declaration" "^7.7.4" + "@babel/parser" "^7.7.4" + "@babel/types" "^7.7.4" debug "^4.1.0" globals "^11.1.0" - lodash "^4.17.11" + lodash "^4.17.13" -"@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.4.0", "@babel/types@^7.4.4": - version "7.4.4" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.4.4.tgz#8db9e9a629bb7c29370009b4b779ed93fe57d5f0" - integrity sha512-dOllgYdnEFOebhkKCjzSVFqw/PmmB8pH6RGOWkY4GsboQNd47b1fBThBSwlHAq9alF9vc1M3+6oqR47R50L0tQ== +"@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.4.0", "@babel/types@^7.7.4": + version "7.7.4" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz#516570d539e44ddf308c07569c258ff94fde9193" + integrity sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA== dependencies: esutils "^2.0.2" - lodash "^4.17.11" + lodash "^4.17.13" to-fast-properties "^2.0.0" "@cnakazawa/watch@^1.0.3": @@ -203,10 +750,10 @@ exec-sh "^0.3.2" minimist "^1.2.0" -"@concordance/react@^1.0.0": - version "1.0.0" - resolved "https://registry.npmjs.org/@concordance/react/-/react-1.0.0.tgz#fcf3cad020e5121bfd1c61d05bc3516aac25f734" - integrity sha512-htrsRaQX8Iixlsek8zQU7tE8wcsTQJ5UhZkSPEA8slCDAisKpC/2VgU/ucPn32M5/LjGGXRaUEKvEw1Wiuu4zQ== +"@concordance/react@^2.0.0": + version "2.0.0" + resolved "https://registry.npmjs.org/@concordance/react/-/react-2.0.0.tgz#aef913f27474c53731f4fd79cc2f54897de90fde" + integrity sha512-huLSkUuM2/P+U0uy2WwlKuixMsTODD8p4JVQBI4VKeopkiN0C7M3N9XYVawb4M+4spN5RrO/eLhk7KoQX6nsfA== dependencies: arrify "^1.0.1" @@ -284,76 +831,77 @@ unique-filename "^1.1.1" which "^1.3.1" -"@jest/console@^24.7.1": - version "24.7.1" - resolved "https://registry.npmjs.org/@jest/console/-/console-24.7.1.tgz#32a9e42535a97aedfe037e725bd67e954b459545" - integrity sha512-iNhtIy2M8bXlAOULWVTUxmnelTLFneTNEkHCgPmgd+zNwy9zVddJ6oS5rZ9iwoscNdT5mMwUd0C51v/fSlzItg== +"@jest/console@^24.7.1", "@jest/console@^24.9.0": + version "24.9.0" + resolved "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz#79b1bc06fb74a8cfb01cbdedf945584b1b9707f0" + integrity sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ== dependencies: - "@jest/source-map" "^24.3.0" + "@jest/source-map" "^24.9.0" chalk "^2.0.1" slash "^2.0.0" -"@jest/core@^24.8.0": - version "24.8.0" - resolved "https://registry.npmjs.org/@jest/core/-/core-24.8.0.tgz#fbbdcd42a41d0d39cddbc9f520c8bab0c33eed5b" - integrity sha512-R9rhAJwCBQzaRnrRgAdVfnglUuATXdwTRsYqs6NMdVcAl5euG8LtWDe+fVkN27YfKVBW61IojVsXKaOmSnqd/A== +"@jest/core@^24.9.0": + version "24.9.0" + resolved "https://registry.npmjs.org/@jest/core/-/core-24.9.0.tgz#2ceccd0b93181f9c4850e74f2a9ad43d351369c4" + integrity sha512-Fogg3s4wlAr1VX7q+rhV9RVnUv5tD7VuWfYy1+whMiWUrvl7U3QJSJyWcDio9Lq2prqYsZaeTv2Rz24pWGkJ2A== dependencies: "@jest/console" "^24.7.1" - "@jest/reporters" "^24.8.0" - "@jest/test-result" "^24.8.0" - "@jest/transform" "^24.8.0" - "@jest/types" "^24.8.0" + "@jest/reporters" "^24.9.0" + "@jest/test-result" "^24.9.0" + "@jest/transform" "^24.9.0" + "@jest/types" "^24.9.0" ansi-escapes "^3.0.0" chalk "^2.0.1" exit "^0.1.2" graceful-fs "^4.1.15" - jest-changed-files "^24.8.0" - jest-config "^24.8.0" - jest-haste-map "^24.8.0" - jest-message-util "^24.8.0" + jest-changed-files "^24.9.0" + jest-config "^24.9.0" + jest-haste-map "^24.9.0" + jest-message-util "^24.9.0" jest-regex-util "^24.3.0" - jest-resolve-dependencies "^24.8.0" - jest-runner "^24.8.0" - jest-runtime "^24.8.0" - jest-snapshot "^24.8.0" - jest-util "^24.8.0" - jest-validate "^24.8.0" - jest-watcher "^24.8.0" + jest-resolve "^24.9.0" + jest-resolve-dependencies "^24.9.0" + jest-runner "^24.9.0" + jest-runtime "^24.9.0" + jest-snapshot "^24.9.0" + jest-util "^24.9.0" + jest-validate "^24.9.0" + jest-watcher "^24.9.0" micromatch "^3.1.10" p-each-series "^1.0.0" - pirates "^4.0.1" realpath-native "^1.1.0" rimraf "^2.5.4" + slash "^2.0.0" strip-ansi "^5.0.0" -"@jest/environment@^24.8.0": - version "24.8.0" - resolved "https://registry.npmjs.org/@jest/environment/-/environment-24.8.0.tgz#0342261383c776bdd652168f68065ef144af0eac" - integrity sha512-vlGt2HLg7qM+vtBrSkjDxk9K0YtRBi7HfRFaDxoRtyi+DyVChzhF20duvpdAnKVBV6W5tym8jm0U9EfXbDk1tw== - dependencies: - "@jest/fake-timers" "^24.8.0" - "@jest/transform" "^24.8.0" - "@jest/types" "^24.8.0" - jest-mock "^24.8.0" - -"@jest/fake-timers@^24.8.0": - version "24.8.0" - resolved "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.8.0.tgz#2e5b80a4f78f284bcb4bd5714b8e10dd36a8d3d1" - integrity sha512-2M4d5MufVXwi6VzZhJ9f5S/wU4ud2ck0kxPof1Iz3zWx6Y+V2eJrES9jEktB6O3o/oEyk+il/uNu9PvASjWXQw== - dependencies: - "@jest/types" "^24.8.0" - jest-message-util "^24.8.0" - jest-mock "^24.8.0" - -"@jest/reporters@^24.8.0": - version "24.8.0" - resolved "https://registry.npmjs.org/@jest/reporters/-/reporters-24.8.0.tgz#075169cd029bddec54b8f2c0fc489fd0b9e05729" - integrity sha512-eZ9TyUYpyIIXfYCrw0UHUWUvE35vx5I92HGMgS93Pv7du+GHIzl+/vh8Qj9MCWFK/4TqyttVBPakWMOfZRIfxw== - dependencies: - "@jest/environment" "^24.8.0" - "@jest/test-result" "^24.8.0" - "@jest/transform" "^24.8.0" - "@jest/types" "^24.8.0" +"@jest/environment@^24.9.0": + version "24.9.0" + resolved "https://registry.npmjs.org/@jest/environment/-/environment-24.9.0.tgz#21e3afa2d65c0586cbd6cbefe208bafade44ab18" + integrity sha512-5A1QluTPhvdIPFYnO3sZC3smkNeXPVELz7ikPbhUj0bQjB07EoE9qtLrem14ZUYWdVayYbsjVwIiL4WBIMV4aQ== + dependencies: + "@jest/fake-timers" "^24.9.0" + "@jest/transform" "^24.9.0" + "@jest/types" "^24.9.0" + jest-mock "^24.9.0" + +"@jest/fake-timers@^24.9.0": + version "24.9.0" + resolved "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz#ba3e6bf0eecd09a636049896434d306636540c93" + integrity sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A== + dependencies: + "@jest/types" "^24.9.0" + jest-message-util "^24.9.0" + jest-mock "^24.9.0" + +"@jest/reporters@^24.9.0": + version "24.9.0" + resolved "https://registry.npmjs.org/@jest/reporters/-/reporters-24.9.0.tgz#86660eff8e2b9661d042a8e98a028b8d631a5b43" + integrity sha512-mu4X0yjaHrffOsWmVLzitKmmmWSQ3GGuefgNscUSWNiUNcEOSEQk9k3pERKEQVBb0Cnn88+UESIsZEMH3o88Gw== + dependencies: + "@jest/environment" "^24.9.0" + "@jest/test-result" "^24.9.0" + "@jest/transform" "^24.9.0" + "@jest/types" "^24.9.0" chalk "^2.0.1" exit "^0.1.2" glob "^7.1.2" @@ -361,84 +909,75 @@ istanbul-lib-instrument "^3.0.1" istanbul-lib-report "^2.0.4" istanbul-lib-source-maps "^3.0.1" - istanbul-reports "^2.1.1" - jest-haste-map "^24.8.0" - jest-resolve "^24.8.0" - jest-runtime "^24.8.0" - jest-util "^24.8.0" + istanbul-reports "^2.2.6" + jest-haste-map "^24.9.0" + jest-resolve "^24.9.0" + jest-runtime "^24.9.0" + jest-util "^24.9.0" jest-worker "^24.6.0" - node-notifier "^5.2.1" + node-notifier "^5.4.2" slash "^2.0.0" source-map "^0.6.0" string-length "^2.0.0" -"@jest/source-map@^24.3.0": - version "24.3.0" - resolved "https://registry.npmjs.org/@jest/source-map/-/source-map-24.3.0.tgz#563be3aa4d224caf65ff77edc95cd1ca4da67f28" - integrity sha512-zALZt1t2ou8le/crCeeiRYzvdnTzaIlpOWaet45lNSqNJUnXbppUUFR4ZUAlzgDmKee4Q5P/tKXypI1RiHwgag== +"@jest/source-map@^24.3.0", "@jest/source-map@^24.9.0": + version "24.9.0" + resolved "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz#0e263a94430be4b41da683ccc1e6bffe2a191714" + integrity sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg== dependencies: callsites "^3.0.0" graceful-fs "^4.1.15" source-map "^0.6.0" -"@jest/test-result@^24.8.0": - version "24.8.0" - resolved "https://registry.npmjs.org/@jest/test-result/-/test-result-24.8.0.tgz#7675d0aaf9d2484caa65e048d9b467d160f8e9d3" - integrity sha512-+YdLlxwizlfqkFDh7Mc7ONPQAhA4YylU1s529vVM1rsf67vGZH/2GGm5uO8QzPeVyaVMobCQ7FTxl38QrKRlng== +"@jest/test-result@^24.9.0": + version "24.9.0" + resolved "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz#11796e8aa9dbf88ea025757b3152595ad06ba0ca" + integrity sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA== dependencies: - "@jest/console" "^24.7.1" - "@jest/types" "^24.8.0" + "@jest/console" "^24.9.0" + "@jest/types" "^24.9.0" "@types/istanbul-lib-coverage" "^2.0.0" -"@jest/test-sequencer@^24.8.0": - version "24.8.0" - resolved "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-24.8.0.tgz#2f993bcf6ef5eb4e65e8233a95a3320248cf994b" - integrity sha512-OzL/2yHyPdCHXEzhoBuq37CE99nkme15eHkAzXRVqthreWZamEMA0WoetwstsQBCXABhczpK03JNbc4L01vvLg== +"@jest/test-sequencer@^24.9.0": + version "24.9.0" + resolved "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-24.9.0.tgz#f8f334f35b625a4f2f355f2fe7e6036dad2e6b31" + integrity sha512-6qqsU4o0kW1dvA95qfNog8v8gkRN9ph6Lz7r96IvZpHdNipP2cBcb07J1Z45mz/VIS01OHJ3pY8T5fUY38tg4A== dependencies: - "@jest/test-result" "^24.8.0" - jest-haste-map "^24.8.0" - jest-runner "^24.8.0" - jest-runtime "^24.8.0" + "@jest/test-result" "^24.9.0" + jest-haste-map "^24.9.0" + jest-runner "^24.9.0" + jest-runtime "^24.9.0" -"@jest/transform@^24.8.0": - version "24.8.0" - resolved "https://registry.npmjs.org/@jest/transform/-/transform-24.8.0.tgz#628fb99dce4f9d254c6fd9341e3eea262e06fef5" - integrity sha512-xBMfFUP7TortCs0O+Xtez2W7Zu1PLH9bvJgtraN1CDST6LBM/eTOZ9SfwS/lvV8yOfcDpFmwf9bq5cYbXvqsvA== +"@jest/transform@^24.9.0": + version "24.9.0" + resolved "https://registry.npmjs.org/@jest/transform/-/transform-24.9.0.tgz#4ae2768b296553fadab09e9ec119543c90b16c56" + integrity sha512-TcQUmyNRxV94S0QpMOnZl0++6RMiqpbH/ZMccFB/amku6Uwvyb1cjYX7xkp5nGNkbX4QPH/FcB6q1HBTHynLmQ== dependencies: "@babel/core" "^7.1.0" - "@jest/types" "^24.8.0" + "@jest/types" "^24.9.0" babel-plugin-istanbul "^5.1.0" chalk "^2.0.1" convert-source-map "^1.4.0" fast-json-stable-stringify "^2.0.0" graceful-fs "^4.1.15" - jest-haste-map "^24.8.0" - jest-regex-util "^24.3.0" - jest-util "^24.8.0" + jest-haste-map "^24.9.0" + jest-regex-util "^24.9.0" + jest-util "^24.9.0" micromatch "^3.1.10" + pirates "^4.0.1" realpath-native "^1.1.0" slash "^2.0.0" source-map "^0.6.1" write-file-atomic "2.4.1" -"@jest/types@^24.8.0": - version "24.8.0" - resolved "https://registry.npmjs.org/@jest/types/-/types-24.8.0.tgz#f31e25948c58f0abd8c845ae26fcea1491dea7ad" - integrity sha512-g17UxVr2YfBtaMUxn9u/4+siG1ptg9IGYAYwvpwn61nBg779RXnjE/m7CxYcIzEt0AbHZZAHSEZNhkE2WxURVg== +"@jest/types@^24.9.0": + version "24.9.0" + resolved "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz#63cb26cb7500d069e5a389441a7c6ab5e909fc59" + integrity sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw== dependencies: "@types/istanbul-lib-coverage" "^2.0.0" "@types/istanbul-reports" "^1.1.1" - "@types/yargs" "^12.0.9" - -"@ladjs/time-require@^0.1.4": - version "0.1.4" - resolved "https://registry.npmjs.org/@ladjs/time-require/-/time-require-0.1.4.tgz#5c615d75fd647ddd5de9cf6922649558856b21a1" - integrity sha512-weIbJqTMfQ4r1YX85u54DKfjLZs2jwn1XZ6tIOP/pFgMwhIN5BAtaCp/1wn9DzyLsDR9tW0R2NIePcVJ45ivQQ== - dependencies: - chalk "^0.4.0" - date-time "^0.1.1" - pretty-ms "^0.2.1" - text-table "^0.2.0" + "@types/yargs" "^13.0.0" "@lerna/add@3.18.0": version "3.18.0" @@ -1122,37 +1661,38 @@ call-me-maybe "^1.0.1" glob-to-regexp "^0.3.0" -"@nodelib/fs.scandir@2.1.1": - version "2.1.1" - resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.1.tgz#7fa8fed654939e1a39753d286b48b4836d00e0eb" - integrity sha512-NT/skIZjgotDSiXs0WqYhgcuBKhUMgfekCmCGtkUAiLqZdOnrdjmZr9wRl3ll64J9NF79uZ4fk16Dx0yMc/Xbg== +"@nodelib/fs.scandir@2.1.3": + version "2.1.3" + resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b" + integrity sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw== dependencies: - "@nodelib/fs.stat" "2.0.1" + "@nodelib/fs.stat" "2.0.3" run-parallel "^1.1.9" -"@nodelib/fs.stat@2.0.1", "@nodelib/fs.stat@^2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.1.tgz#814f71b1167390cfcb6a6b3d9cdeb0951a192c14" - integrity sha512-+RqhBlLn6YRBGOIoVYthsG0J9dfpO79eJyN7BYBkZJtfqrBwf2KK+rD/M/yjZR6WBmIhAgOV7S60eCgaSWtbFw== +"@nodelib/fs.stat@2.0.3", "@nodelib/fs.stat@^2.0.2": + version "2.0.3" + resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz#34dc5f4cabbc720f4e60f75a747e7ecd6c175bd3" + integrity sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA== "@nodelib/fs.stat@^1.1.2": version "1.1.3" resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b" integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw== -"@nodelib/fs.walk@^1.2.1": - version "1.2.2" - resolved "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.2.tgz#6a6450c5e17012abd81450eb74949a4d970d2807" - integrity sha512-J/DR3+W12uCzAJkw7niXDcqcKBg6+5G5Q/ZpThpGNzAUz70eOR6RV4XnnSN01qHZiVl0eavoxJsBypQoKsV2QQ== +"@nodelib/fs.walk@^1.2.3": + version "1.2.4" + resolved "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.4.tgz#011b9202a70a6366e436ca5c065844528ab04976" + integrity sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ== dependencies: - "@nodelib/fs.scandir" "2.1.1" + "@nodelib/fs.scandir" "2.1.3" fastq "^1.6.0" -"@octokit/endpoint@^5.1.0": - version "5.3.5" - resolved "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-5.3.5.tgz#2822c3b01107806dbdce3863b6205e3eff4289ed" - integrity sha512-f8KqzIrnzPLiezDsZZPB+K8v8YSv6aKFl7eOu59O46lmlW4HagWl1U6NWl6LmT8d1w7NsKBI3paVtzcnRGO1gw== +"@octokit/endpoint@^5.5.0": + version "5.5.1" + resolved "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-5.5.1.tgz#2eea81e110ca754ff2de11c79154ccab4ae16b3f" + integrity sha512-nBFhRUb5YzVTCX/iAK1MgQ4uWo89Gu0TH00qQHoYRCsE12dWcG1OiLd7v2EIo2+tpUKPMOQ62QFy9hy9Vg2ULg== dependencies: + "@octokit/types" "^2.0.0" is-plain-object "^3.0.0" universal-user-agent "^4.0.0" @@ -1162,20 +1702,22 @@ integrity sha512-3wF5eueS5OHQYuAEudkpN+xVeUsg8vYEMMenEzLphUZ7PRZ8OJtDcsreL3ad9zxXmBbaFWzLmFcdob5CLyZftA== "@octokit/request-error@^1.0.1", "@octokit/request-error@^1.0.2": - version "1.0.4" - resolved "https://registry.npmjs.org/@octokit/request-error/-/request-error-1.0.4.tgz#15e1dc22123ba4a9a4391914d80ec1e5303a23be" - integrity sha512-L4JaJDXn8SGT+5G0uX79rZLv0MNJmfGa4vb4vy1NnpjSnWDLJRy6m90udGwvMmavwsStgbv2QNkPzzTCMmL+ig== + version "1.2.0" + resolved "https://registry.npmjs.org/@octokit/request-error/-/request-error-1.2.0.tgz#a64d2a9d7a13555570cd79722de4a4d76371baaa" + integrity sha512-DNBhROBYjjV/I9n7A8kVkmQNkqFAMem90dSxqvPq57e2hBr7mNTX98y3R2zDpqMQHVRpBDjsvsfIGgBzy+4PAg== dependencies: + "@octokit/types" "^2.0.0" deprecation "^2.0.0" once "^1.4.0" -"@octokit/request@^5.0.0": - version "5.1.0" - resolved "https://registry.npmjs.org/@octokit/request/-/request-5.1.0.tgz#5609dcc7b5323e529f29d535214383d9eaf0c05c" - integrity sha512-I15T9PwjFs4tbWyhtFU2Kq7WDPidYMvRB7spmxoQRZfxSmiqullG+Nz+KbSmpkfnlvHwTr1e31R5WReFRKMXjg== +"@octokit/request@^5.2.0": + version "5.3.1" + resolved "https://registry.npmjs.org/@octokit/request/-/request-5.3.1.tgz#3a1ace45e6f88b1be4749c5da963b3a3b4a2f120" + integrity sha512-5/X0AL1ZgoU32fAepTfEoggFinO3rxsMLtzhlUX+RctLrusn/CApJuGFCd0v7GMFhF+8UiCsTTfsu7Fh1HnEJg== dependencies: - "@octokit/endpoint" "^5.1.0" + "@octokit/endpoint" "^5.5.0" "@octokit/request-error" "^1.0.1" + "@octokit/types" "^2.0.0" deprecation "^2.0.0" is-plain-object "^3.0.0" node-fetch "^2.3.0" @@ -1183,11 +1725,11 @@ universal-user-agent "^4.0.0" "@octokit/rest@^16.28.4": - version "16.30.0" - resolved "https://registry.npmjs.org/@octokit/rest/-/rest-16.30.0.tgz#c14f177b7378f330ec6ec6ae49b68af359d09053" - integrity sha512-TN5MbqVuqxT/s87D6tGe3zsMvyHUQSkGFMBHuwBToPQGV3eG2a67rJW2rag2vJr7JusWyERDhQ4g/4HvFo9B1g== + version "16.36.0" + resolved "https://registry.npmjs.org/@octokit/rest/-/rest-16.36.0.tgz#99892c57ba632c2a7b21845584004387b56c2cb7" + integrity sha512-zoZj7Ya4vWBK4fjTwK2Cnmu7XBB1p9ygSvTk2TthN6DVJXM4hQZQoAiknWFLJWSTix4dnA3vuHtjPZbExYoCZA== dependencies: - "@octokit/request" "^5.0.0" + "@octokit/request" "^5.2.0" "@octokit/request-error" "^1.0.2" atob-lite "^2.0.0" before-after-hook "^2.0.0" @@ -1200,6 +1742,13 @@ once "^1.4.0" universal-user-agent "^4.0.0" +"@octokit/types@^2.0.0": + version "2.0.2" + resolved "https://registry.npmjs.org/@octokit/types/-/types-2.0.2.tgz#0888497f5a664e28b0449731d5e88e19b2a74f90" + integrity sha512-StASIL2lgT3TRjxv17z9pAqbnI7HGu9DrJlg3sEBFfCLaMEqp+O3IQPUF6EZtQ4xkAu2ml6kMBBCtGxjvmtmuQ== + dependencies: + "@types/node" ">= 8" + "@samverschueren/stream-to-observable@^0.3.0": version "0.3.0" resolved "https://registry.npmjs.org/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz#ecdf48d532c58ea477acfcab80348424f8d0662f" @@ -1207,10 +1756,22 @@ dependencies: any-observable "^0.3.0" -"@types/babel__core@^7.1.0": - version "7.1.1" - resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.1.tgz#ce9a9e5d92b7031421e1d0d74ae59f572ba48be6" - integrity sha512-+hjBtgcFPYyCTo0A15+nxrCVJL7aC6Acg87TXd5OW3QhHswdrOLoles+ldL2Uk8q++7yIfl4tURtztccdeeyOw== +"@sindresorhus/is@^0.14.0": + version "0.14.0" + resolved "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" + integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== + +"@szmarczak/http-timer@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421" + integrity sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA== + dependencies: + defer-to-connect "^1.0.1" + +"@types/babel__core@^7.1.0": + version "7.1.3" + resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.3.tgz#e441ea7df63cd080dfcd02ab199e6d16a735fc30" + integrity sha512-8fBo0UR2CcwWxeX7WIIgJ7lXjasFxoYgRnFHUj+hRvKkpiBJbxhdAPTCY6/ZKM0uxANFVzt4yObSLuTiTnazDA== dependencies: "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" @@ -1219,9 +1780,9 @@ "@types/babel__traverse" "*" "@types/babel__generator@*": - version "7.0.2" - resolved "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.0.2.tgz#d2112a6b21fad600d7674274293c85dce0cb47fc" - integrity sha512-NHcOfab3Zw4q5sEE2COkpfXjoE7o+PmqD9DQW4koUT3roNxwziUdXGnRndMat/LJNUtePwn1TlP4do3uoe3KZQ== + version "7.6.1" + resolved "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.1.tgz#4901767b397e8711aeb99df8d396d7ba7b7f0e04" + integrity sha512-bBKm+2VPJcMRVwNhxKu8W+5/zT7pwNEqeokFOmbvVSqGzFneNxYcEBro9Ac7/N9tlsaPYnZLK8J1LWKkMsLAew== dependencies: "@babel/types" "^7.0.0" @@ -1234,12 +1795,17 @@ "@babel/types" "^7.0.0" "@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": - version "7.0.6" - resolved "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.0.6.tgz#328dd1a8fc4cfe3c8458be9477b219ea158fd7b2" - integrity sha512-XYVgHF2sQ0YblLRMLNPB3CkFMewzFmlDsH/TneZFHUXDlABQgh88uOxuez7ZcXxayLFrqLwtDH1t+FmlFwNZxw== + version "7.0.8" + resolved "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.0.8.tgz#479a4ee3e291a403a1096106013ec22cf9b64012" + integrity sha512-yGeB2dHEdvxjP0y4UbRtQaSkXJ9649fYCmIdRoul5kfAoGCwxuCbMhag0k3RPfnuh9kPGm8x89btcfDEXdVWGw== dependencies: "@babel/types" "^7.3.0" +"@types/color-name@^1.1.1": + version "1.1.1" + resolved "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" + integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== + "@types/events@*": version "3.0.0" resolved "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" @@ -1280,9 +1846,11 @@ "@types/istanbul-lib-report" "*" "@types/jest-diff@*": - version "20.0.1" - resolved "https://registry.npmjs.org/@types/jest-diff/-/jest-diff-20.0.1.tgz#35cc15b9c4f30a18ef21852e255fdb02f6d59b89" - integrity sha512-yALhelO3i0hqZwhjtcr6dYyaLoCHbAMshwtj6cGxTvHZAKXHsYGdff6E8EPw3xLKY0ELUTQ69Q1rQiJENnccMA== + version "24.3.0" + resolved "https://registry.npmjs.org/@types/jest-diff/-/jest-diff-24.3.0.tgz#29e237a3d954babfe6e23cc59b57ecd8ca8d858d" + integrity sha512-vx1CRDeDUwQ0Pc7v+hS61O1ETA81kD04IMEC0hS1kPyVtHDdZrokAvpF7MT9VI/fVSzicelUZNCepDvhRV1PeA== + dependencies: + jest-diff "*" "@types/jest@24.0.19": version "24.0.19" @@ -1296,6 +1864,11 @@ resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.144.tgz#12e57fc99064bce45e5ab3c8bc4783feb75eab8e" integrity sha512-ogI4g9W5qIQQUhXAclq6zhqgqNUr7UlFaqDHbch7WLSLeeM/7d3CRaw7GLajxvyFvhJqw4Rpcz5bhoaYtIx6Tg== +"@types/lodash@4.14.149": + version "4.14.149" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.149.tgz#1342d63d948c6062838fbf961012f74d4e638440" + integrity sha512-ijGqzZt/b7BfzcK9vTrS6MFljQRPn5BFWOx8oE0GYxribu6uV+aA9zZuXI1zc/etK9E8nrgdoF2+LgUw7+9tJQ== + "@types/minimatch@*": version "3.0.3" resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" @@ -1329,19 +1902,26 @@ resolve-from "*" "@types/semver@^6.0.1": - version "6.0.1" - resolved "https://registry.npmjs.org/@types/semver/-/semver-6.0.1.tgz#a984b405c702fa5a7ec6abc56b37f2ba35ef5af6" - integrity sha512-ffCdcrEE5h8DqVxinQjo+2d1q+FV5z7iNtPofw3JsrltSoSVlOGaW0rY8XxtO9XukdTn8TaCGWmk2VFGhI70mg== + version "6.2.0" + resolved "https://registry.npmjs.org/@types/semver/-/semver-6.2.0.tgz#d688d574400d96c5b0114968705366f431831e1a" + integrity sha512-1OzrNb4RuAzIT7wHSsgZRlMBlNsJl+do6UblR7JMW4oB7bbR+uBEYtUh7gEc/jM84GGilh68lSOokyM/zNUlBA== "@types/stack-utils@^1.0.1": version "1.0.1" resolved "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e" integrity sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw== -"@types/yargs@^12.0.2", "@types/yargs@^12.0.9": - version "12.0.12" - resolved "https://registry.npmjs.org/@types/yargs/-/yargs-12.0.12.tgz#45dd1d0638e8c8f153e87d296907659296873916" - integrity sha512-SOhuU4wNBxhhTHxYaiG5NY4HBhDIDnJF60GU+2LqHAdKKer86//e4yg69aENCtQ04n0ovz+tq2YPME5t5yp4pw== +"@types/yargs-parser@*": + version "13.1.0" + resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-13.1.0.tgz#c563aa192f39350a1d18da36c5a8da382bbd8228" + integrity sha512-gCubfBUZ6KxzoibJ+SCUc/57Ms1jz5NjHe4+dI2krNmU5zCPAphyLJYyTOg06ueIyfj+SaCUqmzun7ImlxDcKg== + +"@types/yargs@^13.0.0": + version "13.0.4" + resolved "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.4.tgz#53d231cebe1a540e7e13727fc1f0d13ad4a9ba3b" + integrity sha512-Ke1WmBbIkVM8bpvsNEcGgQM70XcEh/nbpxQhW7FhrsbCsXSY9BmLB1+LHtD7r9zrsOcFlLiF+a/UeJsdfw3C5A== + dependencies: + "@types/yargs-parser" "*" "@zkochan/cmd-shim@^3.1.0": version "3.1.0" @@ -1352,15 +1932,7 @@ mkdirp-promise "^5.0.1" mz "^2.5.0" -JSONStream@^1.0.4: - version "1.3.1" - resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.1.tgz#707f761e01dae9e16f1bcf93703b78c70966579a" - integrity sha1-cH92HgHa6eFvG8+TcDt4xwlmV5o= - dependencies: - jsonparse "^1.2.0" - through ">=2.2.7 <3" - -JSONStream@^1.3.4: +JSONStream@^1.0.4, JSONStream@^1.3.4: version "1.3.5" resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== @@ -1369,37 +1941,27 @@ JSONStream@^1.3.4: through ">=2.2.7 <3" abab@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/abab/-/abab-2.0.0.tgz#aba0ab4c5eee2d4c79d3487d85450fb2376ebb0f" - integrity sha512-sY5AXXVZv4Y1VACTtR11UJCPHHudgY5i26Qj5TypE6DKlIApbwb5uqhXcJ5UUGbvZNRh7EeIoW+LrJumBsKp7w== + version "2.0.3" + resolved "https://registry.npmjs.org/abab/-/abab-2.0.3.tgz#623e2075e02eb2d3f2475e49f99c91846467907a" + integrity sha512-tsFzPpcttalNjFBCFMqsKYQcWxxen1pgJR56by//QwvJc4/OUS3kPOOttx2tSIfjsylB0pYu7f5D3K1RCxUnUg== abbrev@1: version "1.1.1" resolved "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== -acorn-es7-plugin@>=1.1.6: - version "1.1.7" - resolved "https://registry.npmjs.org/acorn-es7-plugin/-/acorn-es7-plugin-1.1.7.tgz#f2ee1f3228a90eead1245f9ab1922eb2e71d336b" - integrity sha1-8u4fMiipDurRJF+asZIusucdM2s= - acorn-globals@^4.1.0: - version "4.3.2" - resolved "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.2.tgz#4e2c2313a597fd589720395f6354b41cd5ec8006" - integrity sha512-BbzvZhVtZP+Bs1J1HcwrQe8ycfO0wStkSGxuul3He3GkHOIZ6eTqOkPuw9IP1X3+IkOo4wiJmwkobzXYz4wewQ== + version "4.3.4" + resolved "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.4.tgz#9fa1926addc11c97308c4e66d7add0d40c3272e7" + integrity sha512-clfQEh21R+D0leSbUdWf3OcfqyaCSAQ8Ryq00bofSekfr9W8u1jyYZo6ir0xu9Gtcf7BjcHJpnbZH7JOCpP60A== dependencies: acorn "^6.0.1" acorn-walk "^6.0.1" acorn-walk@^6.0.1: - version "6.1.1" - resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.1.1.tgz#d363b66f5fac5f018ff9c3a1e7b6f8e310cc3913" - integrity sha512-OtUw6JUTgxA2QoqqmrmQ7F2NYqiBPi/L2jqHyFtllhOUvXYQXf0Z1CYUinIfyT4bTCGmrA7gX9FvHA81uzCoVw== - -acorn@>=2.5.2: - version "5.2.1" - resolved "https://registry.npmjs.org/acorn/-/acorn-5.2.1.tgz#317ac7821826c22c702d66189ab8359675f135d7" - integrity sha512-jG0u7c4Ly+3QkkW18V+NRDN+4bWHdln30NL1ZL2AvFZZmQe/BfopYCtghCKKVBUSetZ4QKcyA0pY6/4Gw8Pv8w== + version "6.2.0" + resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.2.0.tgz#123cb8f3b84c2171f1f7fb252615b1c78a6b1a8c" + integrity sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA== acorn@^5.5.3: version "5.7.3" @@ -1407,18 +1969,18 @@ acorn@^5.5.3: integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== acorn@^6.0.1: - version "6.1.1" - resolved "https://registry.npmjs.org/acorn/-/acorn-6.1.1.tgz#7d25ae05bb8ad1f9b699108e1094ecd7884adc1f" - integrity sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA== + version "6.4.0" + resolved "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz#b659d2ffbafa24baf5db1cdbb2c94a983ecd2784" + integrity sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw== -agent-base@4, agent-base@^4.1.0: - version "4.1.1" - resolved "https://registry.npmjs.org/agent-base/-/agent-base-4.1.1.tgz#92d8a4fc2524a3b09b3666a33b6c97960f23d6a4" - integrity sha512-yWGUUmCZD/33IRjG2It94PzixT8lX+47Uq8fjmd0cgQWITCMrJuXFaVIMnGDmDnZGGKAGdwTx8UGeU8lMR2urA== +agent-base@4, agent-base@^4.3.0: + version "4.3.0" + resolved "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee" + integrity sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg== dependencies: es6-promisify "^5.0.0" -agent-base@~4.2.0: +agent-base@~4.2.1: version "4.2.1" resolved "https://registry.npmjs.org/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9" integrity sha512-JVwXMr9nHYTUXsBFKUqhJwvlcYU/blreOEUkhNR2eXZIvwd+c+o5V4MgDPKWnMS/56awN3TRzIP+KoPn+roQtg== @@ -1426,37 +1988,22 @@ agent-base@~4.2.0: es6-promisify "^5.0.0" agentkeepalive@^3.4.1: - version "3.5.1" - resolved "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-3.5.1.tgz#4eba75cf2ad258fc09efd506cdb8d8c2971d35a4" - integrity sha512-Cte/sTY9/XcygXjJ0q58v//SnEQ7ViWExKyJpLJlLqomDbQyMLh6Is4KuWJ/wmxzhiwkGRple7Gqv1zf6Syz5w== + version "3.5.2" + resolved "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-3.5.2.tgz#a113924dd3fa24a0bc3b78108c450c2abee00f67" + integrity sha512-e0L/HNe6qkQ7H19kTlRRqUibEAwDK5AFk6y3PtMsuut2VAH6+Q4xZml1tNDJD7kSAyqmbG/K08K5WEJYtUrSlQ== dependencies: humanize-ms "^1.2.1" -ajv@^4.9.1: - version "4.11.8" - resolved "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536" - integrity sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY= - dependencies: - co "^4.6.0" - json-stable-stringify "^1.0.1" - ajv@^6.5.5: - version "6.7.0" - resolved "https://registry.npmjs.org/ajv/-/ajv-6.7.0.tgz#e3ce7bb372d6577bb1839f1dfdfcbf5ad2948d96" - integrity sha512-RZXPviBTtfmtka9n9sy1N5M5b82CbxWIR6HIis4s3WQTXDJamc/0gpCWNGz6EWdWp4DOfjzJfhz/AS9zVPjjWg== + version "6.10.2" + resolved "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" + integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw== dependencies: fast-deep-equal "^2.0.1" fast-json-stable-stringify "^2.0.0" json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ansi-align@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/ansi-align/-/ansi-align-1.1.0.tgz#2f0c1658829739add5ebb15e6b0c6e3423f016ba" - integrity sha1-LwwWWIKXOa3V67FeawxuNCPwFro= - dependencies: - string-width "^1.0.1" - ansi-align@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/ansi-align/-/ansi-align-2.0.0.tgz#c36aeccba563b89ceb556f3690f0b1d9e3547f7f" @@ -1464,26 +2011,30 @@ ansi-align@^2.0.0: dependencies: string-width "^2.0.0" +ansi-align@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz#b536b371cf687caaef236c18d3e21fe3797467cb" + integrity sha512-ZpClVKqXN3RGBmKibdfWzqCY4lnjEuoNzU5T0oEFpfd/z5qJHVarukridD4juLO2FXMiwUQxr9WqQtaYa8XRYw== + dependencies: + string-width "^3.0.0" + ansi-escapes@^1.0.0, ansi-escapes@^1.1.0: version "1.4.0" resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" integrity sha1-06ioOzGapneTZisT52HHkRQiMG4= -ansi-escapes@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-2.0.0.tgz#5bae52be424878dd9783e8910e3fc2922e83c81b" - integrity sha1-W65SvkJIeN2Xg+iRDj/Cki6DyBs= - -ansi-escapes@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.0.0.tgz#ec3e8b4e9f8064fc02c3ac9b65f1c275bda8ef92" - integrity sha512-O/klc27mWNUigtv0F8NJWbLF00OcegQalkqKURWdosW08YZKi4m6CnSUSvIZG1otNJbTWhN01Hhz389DW7mvDQ== - -ansi-escapes@^3.2.0: +ansi-escapes@^3.0.0, ansi-escapes@^3.2.0: version "3.2.0" resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== +ansi-escapes@^4.2.1: + version "4.3.0" + resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.0.tgz#a4ce2b33d6b214b7950d8595c212f12ac9cc569d" + integrity sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg== + dependencies: + type-fest "^0.8.1" + ansi-regex@^0.2.0, ansi-regex@^0.2.1: version "0.2.1" resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-0.2.1.tgz#0d8e946967a3d8143f93e24e298525fc1b2235f9" @@ -1499,16 +2050,16 @@ ansi-regex@^3.0.0: resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= -ansi-regex@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.0.0.tgz#70de791edf021404c3fd615aa89118ae0432e5a9" - integrity sha512-iB5Dda8t/UqpPI/IjsejXu5jOGDrzn41wJyljwPH65VCIbk6+1BzFIMJGFwTNrYXT1CrD+B4l19U7awiQ8rk7w== - -ansi-regex@^4.1.0: +ansi-regex@^4.0.0, ansi-regex@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== +ansi-regex@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" + integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== + ansi-styles@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.1.0.tgz#eaecbf66cd706882760b2f4691582b8f55d7a7de" @@ -1519,24 +2070,20 @@ ansi-styles@^2.2.1: resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= -ansi-styles@^3.1.0, ansi-styles@^3.2.0: - version "3.2.0" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz#c159b8d5be0f9e5a6f346dab94f16ce022161b88" - integrity sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug== - dependencies: - color-convert "^1.9.0" - -ansi-styles@^3.2.1: +ansi-styles@^3.2.0, ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== dependencies: color-convert "^1.9.0" -ansi-styles@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz#cb102df1c56f5123eab8b67cd7b98027a0279178" - integrity sha1-yxAt8cVvUSPquLZ817mAJ6AnkXg= +ansi-styles@^4.0.0, ansi-styles@^4.1.0: + version "4.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359" + integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA== + dependencies: + "@types/color-name" "^1.1.1" + color-convert "^2.0.1" any-observable@^0.3.0: version "0.3.0" @@ -1564,6 +2111,14 @@ anymatch@^2.0.0: micromatch "^3.1.4" normalize-path "^2.1.1" +anymatch@~3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142" + integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + aproba@^1.0.3, aproba@^1.1.1: version "1.2.0" resolved "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" @@ -1575,17 +2130,17 @@ aproba@^2.0.0: integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== are-we-there-yet@~1.1.2: - version "1.1.4" - resolved "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz#bb5dca382bb94f05e15194373d16fd3ba1ca110d" - integrity sha1-u13KOCu5TwXhUZQ3PRb9O6HKEQ0= + version "1.1.5" + resolved "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21" + integrity sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w== dependencies: delegates "^1.0.0" readable-stream "^2.0.6" argparse@^1.0.7: - version "1.0.9" - resolved "https://registry.npmjs.org/argparse/-/argparse-1.0.9.tgz#73d83bc263f86e97f8cc4f6bae1b0e90a7d22c86" - integrity sha1-c9g7wmP4bpf4zE9rrhsOkKfSLIY= + version "1.0.10" + resolved "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" + integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== dependencies: sprintf-js "~1.0.2" @@ -1601,11 +2156,6 @@ arr-diff@^4.0.0: resolved "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" integrity sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA= -arr-exclude@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/arr-exclude/-/arr-exclude-1.0.0.tgz#dfc7c2e552a270723ccda04cf3128c8cbfe5c631" - integrity sha1-38fC5VKicHI8zaBM8xKMjL/lxjE= - arr-flatten@^1.0.1, arr-flatten@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" @@ -1616,11 +2166,6 @@ arr-union@^3.1.0: resolved "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= -array-differ@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz#eff52e3758249d33be402b8bb8e564bb2b5d4031" - integrity sha1-7/UuN1gknTO+QCuLuOVkuytdQDE= - array-differ@^2.0.3: version "2.1.0" resolved "https://registry.npmjs.org/array-differ/-/array-differ-2.1.0.tgz#4b9c1c3f14b906757082925769e8ab904f4801b1" @@ -1653,11 +2198,16 @@ array-union@^2.1.0: resolved "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== -array-uniq@^1.0.1, array-uniq@^1.0.2: +array-uniq@^1.0.1: version "1.0.3" resolved "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY= +array-uniq@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/array-uniq/-/array-uniq-2.1.0.tgz#46603d5e28e79bfd02b046fcc1d77c6820bd8e98" + integrity sha512-bdHxtev7FN6+MXI1YFW0Q8mQ8dTJc2S8AMfju+ZR77pbg2yAdVyDlwkaUI7Har0LyOMRFPHrJ9lYdyjZZswdlQ== + array-unique@^0.2.1: version "0.2.1" resolved "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" @@ -1668,31 +2218,33 @@ array-unique@^0.3.2: resolved "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg= -arrify@^1.0.0, arrify@^1.0.1: +arrify@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= +arrify@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" + integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== + asap@^2.0.0: version "2.0.6" resolved "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= asn1@~0.2.3: - version "0.2.3" - resolved "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" - integrity sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y= + version "0.2.4" + resolved "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136" + integrity sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg== + dependencies: + safer-buffer "~2.1.0" assert-plus@1.0.0, assert-plus@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= -assert-plus@^0.2.0: - version "0.2.0" - resolved "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" - integrity sha1-104bh+ev/A24qttwIfP+SBAasjQ= - assign-symbols@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" @@ -1703,27 +2255,20 @@ astral-regex@^1.0.0: resolved "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg== -async-each@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" - integrity sha1-GdOGodntxufByF04iu28xW0zYC0= +astral-regex@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" + integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== -async-each@^1.0.1: +async-each@^1.0.0, async-each@^1.0.1: version "1.0.3" resolved "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== async-limiter@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" - integrity sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg== - -async@^2.5.0: - version "2.6.2" - resolved "https://registry.npmjs.org/async/-/async-2.6.2.tgz#18330ea7e6e313887f5d2f2a904bac6fe4dd5381" - integrity sha512-H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg== - dependencies: - lodash "^4.17.11" + version "1.0.1" + resolved "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" + integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== asynckit@^0.4.0: version "0.4.0" @@ -1735,652 +2280,127 @@ atob-lite@^2.0.0: resolved "https://registry.npmjs.org/atob-lite/-/atob-lite-2.0.0.tgz#0fef5ad46f1bd7a8502c65727f0367d5ee43d696" integrity sha1-D+9a1G8b16hQLGVyfwNn1e5D1pY= -atob@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/atob/-/atob-2.1.0.tgz#ab2b150e51d7b122b9efc8d7340c06b6c41076bc" - integrity sha512-SuiKH8vbsOyCALjA/+EINmt/Kdl+TQPrtFgW7XZZcwtryFu9e5kQoX3bjCW6mIvGH1fbeAZZuvwGR5IlBRznGw== - -auto-bind@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/auto-bind/-/auto-bind-1.1.0.tgz#93b864dc7ee01a326281775d5c75ca0a751e5961" - integrity sha1-k7hk3H7gGjJigXddXHXKCnUeWWE= - -ava-init@^0.2.0: - version "0.2.1" - resolved "https://registry.npmjs.org/ava-init/-/ava-init-0.2.1.tgz#75ac4c8553326290d2866e63b62fa7035684bd58" - integrity sha512-lXwK5LM+2g1euDRqW1mcSX/tqzY1QU7EjKpqayFPPtNRmbSYZ8RzPO5tqluTToijmtjp2M+pNpVdbcHssC4glg== - dependencies: - arr-exclude "^1.0.0" - execa "^0.7.0" - has-yarn "^1.0.0" - read-pkg-up "^2.0.0" - write-pkg "^3.1.0" - -ava@0.18.2: - version "0.18.2" - resolved "https://registry.npmjs.org/ava/-/ava-0.18.2.tgz#79253d1636077034a2780bb55b5c3e6c3d7f312f" - integrity sha1-eSU9FjYHcDSieAu1W1w+bD1/MS8= - dependencies: - "@ava/babel-preset-stage-4" "^1.0.0" - "@ava/babel-preset-transform-test-files" "^2.0.0" - "@ava/pretty-format" "^1.1.0" - arr-flatten "^1.0.1" - array-union "^1.0.1" - array-uniq "^1.0.2" - arrify "^1.0.0" - auto-bind "^1.1.0" - ava-init "^0.2.0" - babel-code-frame "^6.16.0" - babel-core "^6.17.0" - bluebird "^3.0.0" - caching-transform "^1.0.0" - chalk "^1.0.0" - chokidar "^1.4.2" - clean-stack "^1.1.1" - clean-yaml-object "^0.1.0" - cli-cursor "^2.1.0" - cli-spinners "^1.0.0" - cli-truncate "^0.2.0" - co-with-promise "^4.6.0" - code-excerpt "^2.1.0" - common-path-prefix "^1.0.0" - convert-source-map "^1.2.0" - core-assert "^0.2.0" - currently-unhandled "^0.4.1" - debug "^2.2.0" - diff "^3.0.1" - dot-prop "^4.1.0" - empower-core "^0.6.1" - equal-length "^1.0.0" - figures "^2.0.0" - find-cache-dir "^0.1.1" - fn-name "^2.0.0" - get-port "^2.1.0" - globby "^6.0.0" - has-flag "^2.0.0" - ignore-by-default "^1.0.0" - indent-string "^3.0.0" - is-ci "^1.0.7" - is-generator-fn "^1.0.0" - is-obj "^1.0.0" - is-observable "^0.2.0" - is-promise "^2.1.0" - jest-snapshot "^18.1.0" - last-line-stream "^1.0.0" - lodash.debounce "^4.0.3" - lodash.difference "^4.3.0" - lodash.flatten "^4.2.0" - lodash.isequal "^4.5.0" - loud-rejection "^1.2.0" - matcher "^0.1.1" - max-timeout "^1.0.0" - md5-hex "^2.0.0" - meow "^3.7.0" - ms "^0.7.1" - multimatch "^2.1.0" - observable-to-promise "^0.4.0" - option-chain "^0.1.0" - package-hash "^1.2.0" - pkg-conf "^2.0.0" - plur "^2.0.0" - pretty-ms "^2.0.0" - require-precompiled "^0.1.0" - resolve-cwd "^1.0.0" - slash "^1.0.0" - source-map-support "^0.4.0" - stack-utils "^1.0.0" - strip-ansi "^3.0.1" - strip-bom-buf "^1.0.0" - time-require "^0.1.2" - unique-temp-dir "^1.0.0" - update-notifier "^1.0.0" - -ava@0.20.0: - version "0.20.0" - resolved "https://registry.npmjs.org/ava/-/ava-0.20.0.tgz#bdc0dd36453d7255e9f733305ab370c248381e41" - integrity sha512-/Jw/TwBgptUzDGB4bmpOO9flrUoJBZOA6YpAB6Y1NpH/nDTrS6JEZ/KeeMcgBm3Kk6ytTWsvpYWHK83V1RBzQA== - dependencies: - "@ava/babel-preset-stage-4" "^1.1.0" - "@ava/babel-preset-transform-test-files" "^3.0.0" - "@ava/write-file-atomic" "^2.2.0" - "@concordance/react" "^1.0.0" - ansi-escapes "^2.0.0" - ansi-styles "^3.1.0" - arr-flatten "^1.0.1" - array-union "^1.0.1" - array-uniq "^1.0.2" - arrify "^1.0.0" - auto-bind "^1.1.0" - ava-init "^0.2.0" - babel-core "^6.17.0" - bluebird "^3.0.0" - caching-transform "^1.0.0" - chalk "^1.0.0" - chokidar "^1.4.2" - clean-stack "^1.1.1" - clean-yaml-object "^0.1.0" - cli-cursor "^2.1.0" - cli-spinners "^1.0.0" - cli-truncate "^1.0.0" - co-with-promise "^4.6.0" - code-excerpt "^2.1.0" - common-path-prefix "^1.0.0" - concordance "^2.0.0" - convert-source-map "^1.2.0" - core-assert "^0.2.0" - currently-unhandled "^0.4.1" - debug "^2.2.0" - dot-prop "^4.1.0" - empower-core "^0.6.1" - equal-length "^1.0.0" - figures "^2.0.0" - find-cache-dir "^0.1.1" - fn-name "^2.0.0" - get-port "^3.0.0" - globby "^6.0.0" - has-flag "^2.0.0" - hullabaloo-config-manager "^1.1.0" - ignore-by-default "^1.0.0" - import-local "^0.1.1" - indent-string "^3.0.0" - is-ci "^1.0.7" - is-generator-fn "^1.0.0" - is-obj "^1.0.0" - is-observable "^0.2.0" - is-promise "^2.1.0" - js-yaml "^3.8.2" - last-line-stream "^1.0.0" - lodash.clonedeepwith "^4.5.0" - lodash.debounce "^4.0.3" - lodash.difference "^4.3.0" - lodash.flatten "^4.2.0" - loud-rejection "^1.2.0" - make-dir "^1.0.0" - matcher "^0.1.1" - md5-hex "^2.0.0" - meow "^3.7.0" - ms "^1.0.0" - multimatch "^2.1.0" - observable-to-promise "^0.5.0" - option-chain "^0.1.0" - package-hash "^2.0.0" - pkg-conf "^2.0.0" - plur "^2.0.0" - pretty-ms "^2.0.0" - require-precompiled "^0.1.0" - resolve-cwd "^1.0.0" - slash "^1.0.0" - source-map-support "^0.4.0" - stack-utils "^1.0.0" - strip-ansi "^3.0.1" - strip-bom-buf "^1.0.0" - supports-color "^3.2.3" - time-require "^0.1.2" - trim-off-newlines "^1.0.1" - unique-temp-dir "^1.0.0" - update-notifier "^2.1.0" - -ava@0.22.0: - version "0.22.0" - resolved "https://registry.npmjs.org/ava/-/ava-0.22.0.tgz#4c28a1fdef7e749ba0c8131ac18a7ca489eef049" - integrity sha512-dYxvVDL9CeIcgaQ/FojaBVaL/rnIsXdgPVliDOMe1O5nSsIZEsPYDIzmZ1KnO/cuxeQx1PQbtW6qziiEwQZusg== - dependencies: - "@ava/babel-preset-stage-4" "^1.1.0" - "@ava/babel-preset-transform-test-files" "^3.0.0" - "@ava/write-file-atomic" "^2.2.0" - "@concordance/react" "^1.0.0" - ansi-escapes "^2.0.0" - ansi-styles "^3.1.0" - arr-flatten "^1.0.1" - array-union "^1.0.1" - array-uniq "^1.0.2" - arrify "^1.0.0" - auto-bind "^1.1.0" - ava-init "^0.2.0" - babel-core "^6.17.0" - bluebird "^3.0.0" - caching-transform "^1.0.0" - chalk "^2.0.1" - chokidar "^1.4.2" - clean-stack "^1.1.1" - clean-yaml-object "^0.1.0" - cli-cursor "^2.1.0" - cli-spinners "^1.0.0" - cli-truncate "^1.0.0" - co-with-promise "^4.6.0" - code-excerpt "^2.1.0" - common-path-prefix "^1.0.0" - concordance "^3.0.0" - convert-source-map "^1.2.0" - core-assert "^0.2.0" - currently-unhandled "^0.4.1" - debug "^2.2.0" - dot-prop "^4.1.0" - empower-core "^0.6.1" - equal-length "^1.0.0" - figures "^2.0.0" - find-cache-dir "^1.0.0" - fn-name "^2.0.0" - get-port "^3.0.0" - globby "^6.0.0" - has-flag "^2.0.0" - hullabaloo-config-manager "^1.1.0" - ignore-by-default "^1.0.0" - import-local "^0.1.1" - indent-string "^3.0.0" - is-ci "^1.0.7" - is-generator-fn "^1.0.0" - is-obj "^1.0.0" - is-observable "^0.2.0" - is-promise "^2.1.0" - js-yaml "^3.8.2" - last-line-stream "^1.0.0" - lodash.clonedeepwith "^4.5.0" - lodash.debounce "^4.0.3" - lodash.difference "^4.3.0" - lodash.flatten "^4.2.0" - loud-rejection "^1.2.0" - make-dir "^1.0.0" - matcher "^1.0.0" - md5-hex "^2.0.0" - meow "^3.7.0" - ms "^2.0.0" - multimatch "^2.1.0" - observable-to-promise "^0.5.0" - option-chain "^1.0.0" - package-hash "^2.0.0" - pkg-conf "^2.0.0" - plur "^2.0.0" - pretty-ms "^2.0.0" - require-precompiled "^0.1.0" - resolve-cwd "^2.0.0" - safe-buffer "^5.1.1" - slash "^1.0.0" - source-map-support "^0.4.0" - stack-utils "^1.0.0" - strip-ansi "^4.0.0" - strip-bom-buf "^1.0.0" - supports-color "^4.0.0" - time-require "^0.1.2" - trim-off-newlines "^1.0.1" - unique-temp-dir "^1.0.0" - update-notifier "^2.1.0" +atob@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" + integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== -ava@0.25.0: - version "0.25.0" - resolved "https://registry.npmjs.org/ava/-/ava-0.25.0.tgz#8ac87780514f96a6fd42e1306eaa0752ce3a407f" - integrity sha512-4lGNJCf6xL8SvsKVEKxEE46se7JAUIAZoKHw9itTQuwcsydhpAMkBs5gOOiWiwt0JKNIuXWc2/r4r8ZdcNrBEw== - dependencies: - "@ava/babel-preset-stage-4" "^1.1.0" - "@ava/babel-preset-transform-test-files" "^3.0.0" - "@ava/write-file-atomic" "^2.2.0" - "@concordance/react" "^1.0.0" - "@ladjs/time-require" "^0.1.4" - ansi-escapes "^3.0.0" - ansi-styles "^3.1.0" - arr-flatten "^1.0.1" - array-union "^1.0.1" - array-uniq "^1.0.2" - arrify "^1.0.0" - auto-bind "^1.1.0" - ava-init "^0.2.0" - babel-core "^6.17.0" - babel-generator "^6.26.0" - babel-plugin-syntax-object-rest-spread "^6.13.0" - bluebird "^3.0.0" - caching-transform "^1.0.0" - chalk "^2.0.1" - chokidar "^1.4.2" - clean-stack "^1.1.1" +ava@2.4.0: + version "2.4.0" + resolved "https://registry.npmjs.org/ava/-/ava-2.4.0.tgz#a3bd8b0e01d8826004c91de375eb2313ba5237c3" + integrity sha512-CQWtzZZZeU2g4StojRv6MO9RIRi4sLxGSB9+3C3hv0ttUEG1tkJLTLyrBQeFS4WEeK12Z4ovE3f2iPVhSy8elA== + dependencies: + "@ava/babel-preset-stage-4" "^4.0.0" + "@ava/babel-preset-transform-test-files" "^6.0.0" + "@babel/core" "^7.6.0" + "@babel/generator" "^7.6.0" + "@concordance/react" "^2.0.0" + ansi-escapes "^4.2.1" + ansi-styles "^4.1.0" + arr-flatten "^1.1.0" + array-union "^2.1.0" + array-uniq "^2.1.0" + arrify "^2.0.1" + bluebird "^3.5.5" + chalk "^2.4.2" + chokidar "^3.0.2" + chunkd "^1.0.0" + ci-parallel-vars "^1.0.0" + clean-stack "^2.2.0" clean-yaml-object "^0.1.0" - cli-cursor "^2.1.0" - cli-spinners "^1.0.0" - cli-truncate "^1.0.0" - co-with-promise "^4.6.0" + cli-cursor "^3.1.0" + cli-truncate "^2.0.0" code-excerpt "^2.1.1" common-path-prefix "^1.0.0" - concordance "^3.0.0" - convert-source-map "^1.5.1" - core-assert "^0.2.0" + concordance "^4.0.0" + convert-source-map "^1.6.0" currently-unhandled "^0.4.1" - debug "^3.0.1" - dot-prop "^4.1.0" - empower-core "^0.6.1" + debug "^4.1.1" + del "^4.1.1" + dot-prop "^5.1.0" + emittery "^0.4.1" + empower-core "^1.2.0" equal-length "^1.0.0" - figures "^2.0.0" - find-cache-dir "^1.0.0" - fn-name "^2.0.0" - get-port "^3.0.0" - globby "^6.0.0" - has-flag "^2.0.0" - hullabaloo-config-manager "^1.1.0" + escape-string-regexp "^2.0.0" + esm "^3.2.25" + figures "^3.0.0" + find-up "^4.1.0" + get-port "^5.0.0" + globby "^10.0.1" ignore-by-default "^1.0.0" - import-local "^0.1.1" - indent-string "^3.0.0" - is-ci "^1.0.7" - is-generator-fn "^1.0.0" - is-obj "^1.0.0" - is-observable "^1.0.0" + import-local "^3.0.2" + indent-string "^4.0.0" + is-ci "^2.0.0" + is-error "^2.2.2" + is-observable "^2.0.0" + is-plain-object "^3.0.0" is-promise "^2.1.0" - last-line-stream "^1.0.0" - lodash.clonedeepwith "^4.5.0" - lodash.debounce "^4.0.3" - lodash.difference "^4.3.0" - lodash.flatten "^4.2.0" - loud-rejection "^1.2.0" - make-dir "^1.0.0" - matcher "^1.0.0" - md5-hex "^2.0.0" - meow "^3.7.0" - ms "^2.0.0" - multimatch "^2.1.0" - observable-to-promise "^0.5.0" - option-chain "^1.0.0" - package-hash "^2.0.0" - pkg-conf "^2.0.0" - plur "^2.0.0" - pretty-ms "^3.0.0" + lodash "^4.17.15" + loud-rejection "^2.1.0" + make-dir "^3.0.0" + matcher "^2.0.0" + md5-hex "^3.0.1" + meow "^5.0.0" + micromatch "^4.0.2" + ms "^2.1.2" + observable-to-promise "^1.0.0" + ora "^3.4.0" + package-hash "^4.0.0" + pkg-conf "^3.1.0" + plur "^3.1.1" + pretty-ms "^5.0.0" require-precompiled "^0.1.0" - resolve-cwd "^2.0.0" - safe-buffer "^5.1.1" - semver "^5.4.1" - slash "^1.0.0" - source-map-support "^0.5.0" - stack-utils "^1.0.1" - strip-ansi "^4.0.0" - strip-bom-buf "^1.0.0" + resolve-cwd "^3.0.0" + slash "^3.0.0" + source-map-support "^0.5.13" + stack-utils "^1.0.2" + strip-ansi "^5.2.0" + strip-bom-buf "^2.0.0" supertap "^1.0.0" - supports-color "^5.0.0" + supports-color "^7.0.0" trim-off-newlines "^1.0.1" + trim-right "^1.0.1" unique-temp-dir "^1.0.0" - update-notifier "^2.3.0" - -aws-sign2@~0.6.0: - version "0.6.0" - resolved "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" - integrity sha1-FDQt0428yU0OW4fXY81jYSwOeU8= + update-notifier "^3.0.1" + write-file-atomic "^3.0.0" aws-sign2@~0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg= -aws4@^1.2.1: - version "1.6.0" - resolved "https://registry.npmjs.org/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" - integrity sha1-g+9cqGCysy5KDe7e6MdxudtXRx4= - aws4@^1.8.0: - version "1.8.0" - resolved "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f" - integrity sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ== - -babel-cli@6.26.0: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-cli/-/babel-cli-6.26.0.tgz#502ab54874d7db88ad00b887a06383ce03d002f1" - integrity sha1-UCq1SHTX24itALiHoGODzgPQAvE= - dependencies: - babel-core "^6.26.0" - babel-polyfill "^6.26.0" - babel-register "^6.26.0" - babel-runtime "^6.26.0" - commander "^2.11.0" - convert-source-map "^1.5.0" - fs-readdir-recursive "^1.0.0" - glob "^7.1.2" - lodash "^4.17.4" - output-file-sync "^1.1.2" - path-is-absolute "^1.0.1" - slash "^1.0.0" - source-map "^0.5.6" - v8flags "^2.1.1" - optionalDependencies: - chokidar "^1.6.1" - -babel-code-frame@^6.16.0, babel-code-frame@^6.26.0: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" - integrity sha1-Y/1D99weO7fONZR9uP42mj9Yx0s= - dependencies: - chalk "^1.1.3" - esutils "^2.0.2" - js-tokens "^3.0.2" - -babel-core@6.26.3: - version "6.26.3" - resolved "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz#b2e2f09e342d0f0c88e2f02e067794125e75c207" - integrity sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA== - dependencies: - babel-code-frame "^6.26.0" - babel-generator "^6.26.0" - babel-helpers "^6.24.1" - babel-messages "^6.23.0" - babel-register "^6.26.0" - babel-runtime "^6.26.0" - babel-template "^6.26.0" - babel-traverse "^6.26.0" - babel-types "^6.26.0" - babylon "^6.18.0" - convert-source-map "^1.5.1" - debug "^2.6.9" - json5 "^0.5.1" - lodash "^4.17.4" - minimatch "^3.0.4" - path-is-absolute "^1.0.1" - private "^0.1.8" - slash "^1.0.0" - source-map "^0.5.7" - -babel-core@^6.17.0, babel-core@^6.26.0: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-core/-/babel-core-6.26.0.tgz#af32f78b31a6fcef119c87b0fd8d9753f03a0bb8" - integrity sha1-rzL3izGm/O8RnIew/Y2XU/A6C7g= - dependencies: - babel-code-frame "^6.26.0" - babel-generator "^6.26.0" - babel-helpers "^6.24.1" - babel-messages "^6.23.0" - babel-register "^6.26.0" - babel-runtime "^6.26.0" - babel-template "^6.26.0" - babel-traverse "^6.26.0" - babel-types "^6.26.0" - babylon "^6.18.0" - convert-source-map "^1.5.0" - debug "^2.6.8" - json5 "^0.5.1" - lodash "^4.17.4" - minimatch "^3.0.4" - path-is-absolute "^1.0.1" - private "^0.1.7" - slash "^1.0.0" - source-map "^0.5.6" - -babel-generator@^6.1.0, babel-generator@^6.26.0: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.0.tgz#ac1ae20070b79f6e3ca1d3269613053774f20dc5" - integrity sha1-rBriAHC3n248odMmlhMFN3TyDcU= - dependencies: - babel-messages "^6.23.0" - babel-runtime "^6.26.0" - babel-types "^6.26.0" - detect-indent "^4.0.0" - jsesc "^1.3.0" - lodash "^4.17.4" - source-map "^0.5.6" - trim-right "^1.0.1" - -babel-helper-builder-binary-assignment-operator-visitor@^6.24.1: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz#cce4517ada356f4220bcae8a02c2b346f9a56664" - integrity sha1-zORReto1b0IgvK6KAsKzRvmlZmQ= - dependencies: - babel-helper-explode-assignable-expression "^6.24.1" - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-helper-builder-react-jsx@^6.24.1: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-helper-builder-react-jsx/-/babel-helper-builder-react-jsx-6.26.0.tgz#39ff8313b75c8b65dceff1f31d383e0ff2a408a0" - integrity sha1-Of+DE7dci2Xc7/HzHTg+D/KkCKA= - dependencies: - babel-runtime "^6.26.0" - babel-types "^6.26.0" - esutils "^2.0.2" - -babel-helper-call-delegate@^6.24.1: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz#ece6aacddc76e41c3461f88bfc575bd0daa2df8d" - integrity sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340= - dependencies: - babel-helper-hoist-variables "^6.24.1" - babel-runtime "^6.22.0" - babel-traverse "^6.24.1" - babel-types "^6.24.1" + version "1.9.0" + resolved "https://registry.npmjs.org/aws4/-/aws4-1.9.0.tgz#24390e6ad61386b0a747265754d2a17219de862c" + integrity sha512-Uvq6hVe90D0B2WEnUqtdgY1bATGz3mw33nH9Y+dmA+w5DHvUmBgkr5rM/KCHpCsiFNRUfokW/szpPPgMK2hm4A== -babel-helper-define-map@^6.24.1: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz#a5f56dab41a25f97ecb498c7ebaca9819f95be5f" - integrity sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8= - dependencies: - babel-helper-function-name "^6.24.1" - babel-runtime "^6.26.0" - babel-types "^6.26.0" - lodash "^4.17.4" - -babel-helper-explode-assignable-expression@^6.24.1: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz#f25b82cf7dc10433c55f70592d5746400ac22caa" - integrity sha1-8luCz33BBDPFX3BZLVdGQArCLKo= - dependencies: - babel-runtime "^6.22.0" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-helper-function-name@^6.24.1: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz#d3475b8c03ed98242a25b48351ab18399d3580a9" - integrity sha1-00dbjAPtmCQqJbSDUasYOZ01gKk= - dependencies: - babel-helper-get-function-arity "^6.24.1" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-helper-get-function-arity@^6.24.1: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz#8f7782aa93407c41d3aa50908f89b031b1b6853d" - integrity sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0= - dependencies: - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-helper-hoist-variables@^6.24.1: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz#1ecb27689c9d25513eadbc9914a73f5408be7a76" - integrity sha1-HssnaJydJVE+rbyZFKc/VAi+enY= - dependencies: - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-helper-optimise-call-expression@^6.24.1: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz#f7a13427ba9f73f8f4fa993c54a97882d1244257" - integrity sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc= - dependencies: - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-helper-regex@^6.24.1: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz#325c59f902f82f24b74faceed0363954f6495e72" - integrity sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI= +babel-jest@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-24.9.0.tgz#3fc327cb8467b89d14d7bc70e315104a783ccd54" + integrity sha512-ntuddfyiN+EhMw58PTNL1ph4C9rECiQXjI4nMMBKBaNjXvqLdkXpPRcMSr4iyBrJg/+wz9brFUD6RhOAT6r4Iw== dependencies: - babel-runtime "^6.26.0" - babel-types "^6.26.0" - lodash "^4.17.4" - -babel-helper-remap-async-to-generator@^6.24.1: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz#5ec581827ad723fecdd381f1c928390676e4551b" - integrity sha1-XsWBgnrXI/7N04HxySg5BnbkVRs= - dependencies: - babel-helper-function-name "^6.24.1" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-helper-replace-supers@^6.24.1: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz#bf6dbfe43938d17369a213ca8a8bf74b6a90ab1a" - integrity sha1-v22/5Dk40XNpohPKiov3S2qQqxo= - dependencies: - babel-helper-optimise-call-expression "^6.24.1" - babel-messages "^6.23.0" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-helpers@^6.24.1: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2" - integrity sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI= - dependencies: - babel-runtime "^6.22.0" - babel-template "^6.24.1" - -babel-jest@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-24.8.0.tgz#5c15ff2b28e20b0f45df43fe6b7f2aae93dba589" - integrity sha512-+5/kaZt4I9efoXzPlZASyK/lN9qdRKmmUav9smVc0ruPQD7IsfucQ87gpOE8mn2jbDuS6M/YOW6n3v9ZoIfgnw== - dependencies: - "@jest/transform" "^24.8.0" - "@jest/types" "^24.8.0" + "@jest/transform" "^24.9.0" + "@jest/types" "^24.9.0" "@types/babel__core" "^7.1.0" babel-plugin-istanbul "^5.1.0" - babel-preset-jest "^24.6.0" + babel-preset-jest "^24.9.0" chalk "^2.4.2" slash "^2.0.0" -babel-messages@^6.23.0: - version "6.23.0" - resolved "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" - integrity sha1-8830cDhYA1sqKVHG7F7fbGLyYw4= - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-add-module-exports@^0.3.0: - version "0.3.3" - resolved "https://registry.npmjs.org/babel-plugin-add-module-exports/-/babel-plugin-add-module-exports-0.3.3.tgz#b9f7c0a93b989170dce07c3e97071a905a13fc29" - integrity sha512-hC37mm7aAdEb1n8SgggG8a1QuhZapsY/XLCi4ETSH6AVjXBCWEa50CXlOsAMPPWLnSx5Ns6mzz39uvuseh0Xjg== - optionalDependencies: - chokidar "^2.0.4" - -babel-plugin-ava-throws-helper@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/babel-plugin-ava-throws-helper/-/babel-plugin-ava-throws-helper-1.0.0.tgz#8fe6e79d2fd19838b5c3649f89cfb03fd563e241" - integrity sha1-j+bnnS/RmDi1w2Sfic+wP9Vj4kE= - dependencies: - babel-template "^6.7.0" - babel-types "^6.7.2" - -babel-plugin-check-es2015-constants@^6.22.0, babel-plugin-check-es2015-constants@^6.8.0: - version "6.22.0" - resolved "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz#35157b101426fd2ffd3da3f75c7d1e91835bbf8a" - integrity sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o= +babel-plugin-dynamic-import-node@^2.3.0: + version "2.3.0" + resolved "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.0.tgz#f00f507bdaa3c3e3ff6e7e5e98d90a7acab96f7f" + integrity sha512-o6qFkpeQEBxcqt0XYlWzAVxNCSCZdUgcR8IRlhD/8DylxjjO4foPcvTW0GGKa/cVt3rvxZ7o5ippJ+/0nvLhlQ== dependencies: - babel-runtime "^6.22.0" + object.assign "^4.1.0" -babel-plugin-espower@^2.3.2: - version "2.3.2" - resolved "https://registry.npmjs.org/babel-plugin-espower/-/babel-plugin-espower-2.3.2.tgz#5516b8fcdb26c9f0e1d8160749f6e4c65e71271e" - integrity sha1-VRa4/NsmyfDh2BYHSfbkxl5xJx4= +babel-plugin-espower@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/babel-plugin-espower/-/babel-plugin-espower-3.0.1.tgz#180db17126f88e754105b8b5216d21e520a6bd4e" + integrity sha512-Ms49U7VIAtQ/TtcqRbD6UBmJBUCSxiC3+zPc+eGqxKUIFO1lTshyEDRUjhoAbd2rWfwYf3cZ62oXozrd8W6J0A== dependencies: - babel-generator "^6.1.0" - babylon "^6.1.0" + "@babel/generator" "^7.0.0" + "@babel/parser" "^7.0.0" call-matcher "^1.0.0" core-js "^2.0.0" espower-location-detector "^1.0.0" @@ -2388,295 +2408,23 @@ babel-plugin-espower@^2.3.2: estraverse "^4.1.1" babel-plugin-istanbul@^5.1.0: - version "5.1.4" - resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-5.1.4.tgz#841d16b9a58eeb407a0ddce622ba02fe87a752ba" - integrity sha512-dySz4VJMH+dpndj0wjJ8JPs/7i1TdSPb1nRrn56/92pKOF9VKC1FMFJmMXjzlGGusnCAqujP6PBCiKq0sVA+YQ== + version "5.2.0" + resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-5.2.0.tgz#df4ade83d897a92df069c4d9a25cf2671293c854" + integrity sha512-5LphC0USA8t4i1zCtjbbNb6jJj/9+X6P37Qfirc/70EQ34xKlMW+a1RHGwxGI+SwWpNwZ27HqvzAobeqaXwiZw== dependencies: + "@babel/helper-plugin-utils" "^7.0.0" find-up "^3.0.0" istanbul-lib-instrument "^3.3.0" test-exclude "^5.2.3" -babel-plugin-jest-hoist@^24.6.0: - version "24.6.0" - resolved "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.6.0.tgz#f7f7f7ad150ee96d7a5e8e2c5da8319579e78019" - integrity sha512-3pKNH6hMt9SbOv0F3WVmy5CWQ4uogS3k0GY5XLyQHJ9EGpAT9XWkFd2ZiXXtkwFHdAHa5j7w7kfxSP5lAIwu7w== +babel-plugin-jest-hoist@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.9.0.tgz#4f837091eb407e01447c8843cbec546d0002d756" + integrity sha512-2EMA2P8Vp7lG0RAzr4HXqtYwacfMErOuv1U3wrvxHX6rD1sV6xS3WXG3r8TRQ2r6w8OhvSdWt+z41hQNwNm3Xw== dependencies: "@types/babel__traverse" "^7.0.6" -babel-plugin-syntax-async-functions@^6.8.0: - version "6.13.0" - resolved "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95" - integrity sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU= - -babel-plugin-syntax-exponentiation-operator@^6.8.0: - version "6.13.0" - resolved "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz#9ee7e8337290da95288201a6a57f4170317830de" - integrity sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4= - -babel-plugin-syntax-jsx@^6.8.0: - version "6.18.0" - resolved "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" - integrity sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY= - -babel-plugin-syntax-object-rest-spread@^6.13.0: - version "6.13.0" - resolved "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" - integrity sha1-/WU28rzhODb/o6VFjEkDpZe7O/U= - -babel-plugin-syntax-trailing-function-commas@^6.20.0, babel-plugin-syntax-trailing-function-commas@^6.22.0: - version "6.22.0" - resolved "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3" - integrity sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM= - -babel-plugin-transform-async-to-generator@^6.16.0, babel-plugin-transform-async-to-generator@^6.22.0: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz#6536e378aff6cb1d5517ac0e40eb3e9fc8d08761" - integrity sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E= - dependencies: - babel-helper-remap-async-to-generator "^6.24.1" - babel-plugin-syntax-async-functions "^6.8.0" - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-arrow-functions@^6.22.0: - version "6.22.0" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221" - integrity sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE= - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-block-scoped-functions@^6.22.0: - version "6.22.0" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz#bbc51b49f964d70cb8d8e0b94e820246ce3a6141" - integrity sha1-u8UbSflk1wy42OC5ToICRs46YUE= - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-block-scoping@^6.23.0: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz#d70f5299c1308d05c12f463813b0a09e73b1895f" - integrity sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8= - dependencies: - babel-runtime "^6.26.0" - babel-template "^6.26.0" - babel-traverse "^6.26.0" - babel-types "^6.26.0" - lodash "^4.17.4" - -babel-plugin-transform-es2015-classes@^6.23.0: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz#5a4c58a50c9c9461e564b4b2a3bfabc97a2584db" - integrity sha1-WkxYpQyclGHlZLSyo7+ryXolhNs= - dependencies: - babel-helper-define-map "^6.24.1" - babel-helper-function-name "^6.24.1" - babel-helper-optimise-call-expression "^6.24.1" - babel-helper-replace-supers "^6.24.1" - babel-messages "^6.23.0" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-plugin-transform-es2015-computed-properties@^6.22.0: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz#6fe2a8d16895d5634f4cd999b6d3480a308159b3" - integrity sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM= - dependencies: - babel-runtime "^6.22.0" - babel-template "^6.24.1" - -babel-plugin-transform-es2015-destructuring@^6.19.0, babel-plugin-transform-es2015-destructuring@^6.23.0: - version "6.23.0" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d" - integrity sha1-mXux8auWf2gtKwh2/jWNYOdlxW0= - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-duplicate-keys@^6.22.0: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz#73eb3d310ca969e3ef9ec91c53741a6f1576423e" - integrity sha1-c+s9MQypaePvnskcU3QabxV2Qj4= - dependencies: - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-plugin-transform-es2015-for-of@^6.23.0: - version "6.23.0" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz#f47c95b2b613df1d3ecc2fdb7573623c75248691" - integrity sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE= - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-function-name@^6.22.0, babel-plugin-transform-es2015-function-name@^6.9.0: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz#834c89853bc36b1af0f3a4c5dbaa94fd8eacaa8b" - integrity sha1-g0yJhTvDaxrw86TF26qU/Y6sqos= - dependencies: - babel-helper-function-name "^6.24.1" - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-plugin-transform-es2015-literals@^6.22.0: - version "6.22.0" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz#4f54a02d6cd66cf915280019a31d31925377ca2e" - integrity sha1-T1SgLWzWbPkVKAAZox0xklN3yi4= - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-modules-amd@^6.22.0, babel-plugin-transform-es2015-modules-amd@^6.24.1: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz#3b3e54017239842d6d19c3011c4bd2f00a00d154" - integrity sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ= - dependencies: - babel-plugin-transform-es2015-modules-commonjs "^6.24.1" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - -babel-plugin-transform-es2015-modules-commonjs@^6.18.0, babel-plugin-transform-es2015-modules-commonjs@^6.23.0, babel-plugin-transform-es2015-modules-commonjs@^6.24.1: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz#0d8394029b7dc6abe1a97ef181e00758dd2e5d8a" - integrity sha1-DYOUApt9xqvhqX7xgeAHWN0uXYo= - dependencies: - babel-plugin-transform-strict-mode "^6.24.1" - babel-runtime "^6.26.0" - babel-template "^6.26.0" - babel-types "^6.26.0" - -babel-plugin-transform-es2015-modules-systemjs@^6.23.0: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz#ff89a142b9119a906195f5f106ecf305d9407d23" - integrity sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM= - dependencies: - babel-helper-hoist-variables "^6.24.1" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - -babel-plugin-transform-es2015-modules-umd@^6.23.0: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz#ac997e6285cd18ed6176adb607d602344ad38468" - integrity sha1-rJl+YoXNGO1hdq22B9YCNErThGg= - dependencies: - babel-plugin-transform-es2015-modules-amd "^6.24.1" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - -babel-plugin-transform-es2015-object-super@^6.22.0: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz#24cef69ae21cb83a7f8603dad021f572eb278f8d" - integrity sha1-JM72muIcuDp/hgPa0CH1cusnj40= - dependencies: - babel-helper-replace-supers "^6.24.1" - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-parameters@^6.21.0, babel-plugin-transform-es2015-parameters@^6.23.0: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz#57ac351ab49caf14a97cd13b09f66fdf0a625f2b" - integrity sha1-V6w1GrScrxSpfNE7CfZv3wpiXys= - dependencies: - babel-helper-call-delegate "^6.24.1" - babel-helper-get-function-arity "^6.24.1" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - -babel-plugin-transform-es2015-shorthand-properties@^6.22.0: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz#24f875d6721c87661bbd99a4622e51f14de38aa0" - integrity sha1-JPh11nIch2YbvZmkYi5R8U3jiqA= - dependencies: - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-plugin-transform-es2015-spread@^6.22.0, babel-plugin-transform-es2015-spread@^6.8.0: - version "6.22.0" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz#d6d68a99f89aedc4536c81a542e8dd9f1746f8d1" - integrity sha1-1taKmfia7cRTbIGlQujdnxdG+NE= - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-sticky-regex@^6.22.0, babel-plugin-transform-es2015-sticky-regex@^6.8.0: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz#00c1cdb1aca71112cdf0cf6126c2ed6b457ccdbc" - integrity sha1-AMHNsaynERLN8M9hJsLta0V8zbw= - dependencies: - babel-helper-regex "^6.24.1" - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-plugin-transform-es2015-template-literals@^6.22.0: - version "6.22.0" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz#a84b3450f7e9f8f1f6839d6d687da84bb1236d8d" - integrity sha1-qEs0UPfp+PH2g51taH2oS7EjbY0= - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-typeof-symbol@^6.23.0: - version "6.23.0" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz#dec09f1cddff94b52ac73d505c84df59dcceb372" - integrity sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I= - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-es2015-unicode-regex@^6.11.0, babel-plugin-transform-es2015-unicode-regex@^6.22.0: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz#d38b12f42ea7323f729387f18a7c5ae1faeb35e9" - integrity sha1-04sS9C6nMj9yk4fxinxa4frrNek= - dependencies: - babel-helper-regex "^6.24.1" - babel-runtime "^6.22.0" - regexpu-core "^2.0.0" - -babel-plugin-transform-exponentiation-operator@^6.22.0, babel-plugin-transform-exponentiation-operator@^6.8.0: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz#2ab0c9c7f3098fa48907772bb813fe41e8de3a0e" - integrity sha1-KrDJx/MJj6SJB3cruBP+QejeOg4= - dependencies: - babel-helper-builder-binary-assignment-operator-visitor "^6.24.1" - babel-plugin-syntax-exponentiation-operator "^6.8.0" - babel-runtime "^6.22.0" - -babel-plugin-transform-react-jsx@^6.24.1: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-react-jsx/-/babel-plugin-transform-react-jsx-6.24.1.tgz#840a028e7df460dfc3a2d29f0c0d91f6376e66a3" - integrity sha1-hAoCjn30YN/DotKfDA2R9jduZqM= - dependencies: - babel-helper-builder-react-jsx "^6.24.1" - babel-plugin-syntax-jsx "^6.8.0" - babel-runtime "^6.22.0" - -babel-plugin-transform-regenerator@^6.22.0: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz#e0703696fbde27f0a3efcacf8b4dca2f7b3a8f2f" - integrity sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8= - dependencies: - regenerator-transform "^0.10.0" - -babel-plugin-transform-runtime@^6.23.0: - version "6.23.0" - resolved "https://registry.npmjs.org/babel-plugin-transform-runtime/-/babel-plugin-transform-runtime-6.23.0.tgz#88490d446502ea9b8e7efb0fe09ec4d99479b1ee" - integrity sha1-iEkNRGUC6puOfvsP4J7E2ZR5se4= - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-transform-strict-mode@^6.24.1: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz#d5faf7aa578a65bbe591cf5edae04a0c67020758" - integrity sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g= - dependencies: - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-polyfill@6.23.0: - version "6.23.0" - resolved "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.23.0.tgz#8364ca62df8eafb830499f699177466c3b03499d" - integrity sha1-g2TKYt+Or7gwSZ9pkXdGbDsDSZ0= - dependencies: - babel-runtime "^6.22.0" - core-js "^2.4.0" - regenerator-runtime "^0.10.0" - -babel-polyfill@6.26.0, babel-polyfill@^6.26.0, babel-polyfill@^6.3.14: +babel-polyfill@^6.3.14: version "6.26.0" resolved "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153" integrity sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM= @@ -2685,64 +2433,15 @@ babel-polyfill@6.26.0, babel-polyfill@^6.26.0, babel-polyfill@^6.3.14: core-js "^2.5.0" regenerator-runtime "^0.10.5" -babel-preset-env@^1.6.0: - version "1.6.1" - resolved "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.6.1.tgz#a18b564cc9b9afdf4aae57ae3c1b0d99188e6f48" - integrity sha512-W6VIyA6Ch9ePMI7VptNn2wBM6dbG0eSz25HEiL40nQXCsXGTGZSTZu1Iap+cj3Q0S5a7T9+529l/5Bkvd+afNA== - dependencies: - babel-plugin-check-es2015-constants "^6.22.0" - babel-plugin-syntax-trailing-function-commas "^6.22.0" - babel-plugin-transform-async-to-generator "^6.22.0" - babel-plugin-transform-es2015-arrow-functions "^6.22.0" - babel-plugin-transform-es2015-block-scoped-functions "^6.22.0" - babel-plugin-transform-es2015-block-scoping "^6.23.0" - babel-plugin-transform-es2015-classes "^6.23.0" - babel-plugin-transform-es2015-computed-properties "^6.22.0" - babel-plugin-transform-es2015-destructuring "^6.23.0" - babel-plugin-transform-es2015-duplicate-keys "^6.22.0" - babel-plugin-transform-es2015-for-of "^6.23.0" - babel-plugin-transform-es2015-function-name "^6.22.0" - babel-plugin-transform-es2015-literals "^6.22.0" - babel-plugin-transform-es2015-modules-amd "^6.22.0" - babel-plugin-transform-es2015-modules-commonjs "^6.23.0" - babel-plugin-transform-es2015-modules-systemjs "^6.23.0" - babel-plugin-transform-es2015-modules-umd "^6.23.0" - babel-plugin-transform-es2015-object-super "^6.22.0" - babel-plugin-transform-es2015-parameters "^6.23.0" - babel-plugin-transform-es2015-shorthand-properties "^6.22.0" - babel-plugin-transform-es2015-spread "^6.22.0" - babel-plugin-transform-es2015-sticky-regex "^6.22.0" - babel-plugin-transform-es2015-template-literals "^6.22.0" - babel-plugin-transform-es2015-typeof-symbol "^6.23.0" - babel-plugin-transform-es2015-unicode-regex "^6.22.0" - babel-plugin-transform-exponentiation-operator "^6.22.0" - babel-plugin-transform-regenerator "^6.22.0" - browserslist "^2.1.2" - invariant "^2.2.2" - semver "^5.3.0" - -babel-preset-jest@^24.6.0: - version "24.6.0" - resolved "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-24.6.0.tgz#66f06136eefce87797539c0d63f1769cc3915984" - integrity sha512-pdZqLEdmy1ZK5kyRUfvBb2IfTPb2BUvIJczlPspS8fWmBQslNNDBqVfh7BW5leOVJMDZKzjD8XEyABTk6gQ5yw== +babel-preset-jest@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-24.9.0.tgz#192b521e2217fb1d1f67cf73f70c336650ad3cdc" + integrity sha512-izTUuhE4TMfTRPF92fFwD2QfdXaZW08qvWTFCI51V8rW5x00UuPgc3ajRoWofXOuxjfcOM5zzSYsQS3H8KGCAg== dependencies: "@babel/plugin-syntax-object-rest-spread" "^7.0.0" - babel-plugin-jest-hoist "^24.6.0" - -babel-register@6.26.0, babel-register@^6.26.0: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071" - integrity sha1-btAhFz4vy0htestFxgCahW9kcHE= - dependencies: - babel-core "^6.26.0" - babel-runtime "^6.26.0" - core-js "^2.5.0" - home-or-tmp "^2.0.0" - lodash "^4.17.4" - mkdirp "^0.5.1" - source-map-support "^0.4.15" + babel-plugin-jest-hoist "^24.9.0" -babel-runtime@6.26.0, babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0: +babel-runtime@^6.26.0: version "6.26.0" resolved "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4= @@ -2750,46 +2449,10 @@ babel-runtime@6.26.0, babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtim core-js "^2.4.0" regenerator-runtime "^0.11.0" -babel-template@^6.24.1, babel-template@^6.26.0, babel-template@^6.7.0: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02" - integrity sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI= - dependencies: - babel-runtime "^6.26.0" - babel-traverse "^6.26.0" - babel-types "^6.26.0" - babylon "^6.18.0" - lodash "^4.17.4" - -babel-traverse@^6.24.1, babel-traverse@^6.26.0: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee" - integrity sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4= - dependencies: - babel-code-frame "^6.26.0" - babel-messages "^6.23.0" - babel-runtime "^6.26.0" - babel-types "^6.26.0" - babylon "^6.18.0" - debug "^2.6.8" - globals "^9.18.0" - invariant "^2.2.2" - lodash "^4.17.4" - -babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.26.0, babel-types@^6.7.2: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" - integrity sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc= - dependencies: - babel-runtime "^6.26.0" - esutils "^2.0.2" - lodash "^4.17.4" - to-fast-properties "^1.0.3" - -babylon@^6.1.0, babylon@^6.18.0: - version "6.18.0" - resolved "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" - integrity sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ== +babylon@^7.0.0-beta.44: + version "7.0.0-beta.47" + resolved "https://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.47.tgz#6d1fa44f0abec41ab7c780481e62fd9aafbdea80" + integrity sha512-+rq2cr4GDhtToEzKFD6KZZMDBXhjFAr9JjPw9pAppZACeEWqNM294j+NdBzkSHYXwzzBmVjZ3nEVJlOhbR2gOQ== balanced-match@^1.0.0: version "1.0.0" @@ -2810,9 +2473,9 @@ base@^0.11.1: pascalcase "^0.1.1" bcrypt-pbkdf@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" - integrity sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40= + version "1.0.2" + resolved "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" + integrity sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4= dependencies: tweetnacl "^0.14.3" @@ -2822,66 +2485,43 @@ before-after-hook@^2.0.0: integrity sha512-IWIbu7pMqyw3EAJHzzHbWa85b6oud/yfKYg5rqB5hNE8CeMi3nX+2C2sj0HswfblST86hpVEOAb9x34NZd6P7A== binary-extensions@^1.0.0: - version "1.11.0" - resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.11.0.tgz#46aa1751fb6a2f93ee5e689bb1087d4b14c6c205" - integrity sha1-RqoXUftqL5PuXmibsQh9SxTGwgU= + version "1.13.1" + resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65" + integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw== -bl@^2.2.0: - version "2.2.0" - resolved "https://registry.npmjs.org/bl/-/bl-2.2.0.tgz#e1a574cdf528e4053019bb800b041c0ac88da493" - integrity sha512-wbgvOpqopSr7uq6fJrLH8EsvYMJf9gzfo2jCsL2eTy75qXPukA4pCgHamOQkZtY5vmfVtjB+P3LNlMHW5CEZXA== - dependencies: - readable-stream "^2.3.5" - safe-buffer "^5.1.1" +binary-extensions@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.0.0.tgz#23c0df14f6a88077f5f986c0d167ec03c3d5537c" + integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== -block-stream@*: - version "0.0.9" - resolved "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" - integrity sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo= +bindings@^1.5.0: + version "1.5.0" + resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== dependencies: - inherits "~2.0.0" + file-uri-to-path "1.0.0" -bluebird@^3.0.0, bluebird@^3.5.1: - version "3.5.1" - resolved "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9" - integrity sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA== - -bluebird@^3.5.3: - version "3.5.3" - resolved "https://registry.npmjs.org/bluebird/-/bluebird-3.5.3.tgz#7d01c6f9616c9a51ab0f8c549a79dfe6ec33efa7" - integrity sha512-/qKPUQlaW1OyR51WeCPBvRnAlnZFUJkCSG5HzGnuIqhgyJtF+T94lFnn33eiazjRm2LAHVy2guNnaq48X9SJuw== - -bluebird@^3.5.5: - version "3.5.5" - resolved "https://registry.npmjs.org/bluebird/-/bluebird-3.5.5.tgz#a8d0afd73251effbbd5fe384a77d73003c17a71f" - integrity sha512-5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w== - -boom@2.x.x: - version "2.10.1" - resolved "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" - integrity sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8= +bl@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/bl/-/bl-3.0.0.tgz#3611ec00579fd18561754360b21e9f784500ff88" + integrity sha512-EUAyP5UHU5hxF8BPT0LKW8gjYLhq1DQIcneOX/pL/m2Alo+OYDQAJlHq+yseMP50Os2nHXOSic6Ss3vSQeyf4A== dependencies: - hoek "2.x.x" + readable-stream "^3.0.1" -boxen@^0.6.0: - version "0.6.0" - resolved "https://registry.npmjs.org/boxen/-/boxen-0.6.0.tgz#8364d4248ac34ff0ef1b2f2bf49a6c60ce0d81b6" - integrity sha1-g2TUJIrDT/DvGy8r9JpsYM4NgbY= - dependencies: - ansi-align "^1.1.0" - camelcase "^2.1.0" - chalk "^1.1.1" - cli-boxes "^1.0.0" - filled-array "^1.0.0" - object-assign "^4.0.1" - repeating "^2.0.0" - string-width "^1.0.1" - widest-line "^1.0.0" +bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5: + version "3.7.2" + resolved "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" + integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== + +blueimp-md5@^2.10.0: + version "2.12.0" + resolved "https://registry.npmjs.org/blueimp-md5/-/blueimp-md5-2.12.0.tgz#be7367938a889dec3ffbb71138617c117e9c130a" + integrity sha512-zo+HIdIhzojv6F1siQPqPFROyVy7C50KzHv/k/Iz+BtvtVzSHXiMXOpq2wCfNkeBqdCv+V8XOV96tsEt2W/3rQ== boxen@^1.2.1: - version "1.2.2" - resolved "https://registry.npmjs.org/boxen/-/boxen-1.2.2.tgz#3f1d4032c30ffea9d4b02c322eaf2ea741dcbce5" - integrity sha1-Px1AMsMP/qnUsCwyLq8up0HcvOU= + version "1.3.0" + resolved "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b" + integrity sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw== dependencies: ansi-align "^2.0.0" camelcase "^4.0.0" @@ -2889,19 +2529,33 @@ boxen@^1.2.1: cli-boxes "^1.0.0" string-width "^2.0.0" term-size "^1.2.0" - widest-line "^1.0.0" + widest-line "^2.0.0" + +boxen@^3.0.0: + version "3.2.0" + resolved "https://registry.npmjs.org/boxen/-/boxen-3.2.0.tgz#fbdff0de93636ab4450886b6ff45b92d098f45eb" + integrity sha512-cU4J/+NodM3IHdSL2yN8bqYqnmlBTidDR4RC7nJs61ZmtGz8VZzM3HLQX0zY5mrSmPtR3xWwsq2jOUQqFZN8+A== + dependencies: + ansi-align "^3.0.0" + camelcase "^5.3.1" + chalk "^2.4.2" + cli-boxes "^2.2.0" + string-width "^3.0.0" + term-size "^1.2.0" + type-fest "^0.3.0" + widest-line "^2.0.0" brace-expansion@^1.1.7: - version "1.1.8" - resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292" - integrity sha1-wHshHHyVLsH479Uad+8NHTmQopI= + version "1.1.11" + resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== dependencies: balanced-match "^1.0.0" concat-map "0.0.1" braces@2.3.1, braces@^1.8.2: version "2.3.1" - resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.1.tgz#7086c913b4e5a08dbe37ac0ee6a2500c4ba691bb" + resolved "https://registry.npmjs.org/braces/-/braces-2.3.1.tgz#7086c913b4e5a08dbe37ac0ee6a2500c4ba691bb" integrity sha512-SO5lYHA3vO6gz66erVvedSCkp7AKWdv6VcQ2N4ysXfPxdAlxAMMAdwegGGcv1Bqwm7naF1hNdk5d6AAIEHV2nQ== dependencies: arr-flatten "^1.1.0" @@ -2933,7 +2587,7 @@ braces@^2.3.1, braces@^2.3.2: split-string "^3.0.2" to-regex "^3.0.1" -braces@^3.0.1: +braces@^3.0.1, braces@~3.0.2: version "3.0.2" resolved "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== @@ -2952,13 +2606,14 @@ browser-resolve@^1.11.3: dependencies: resolve "1.1.7" -browserslist@^2.1.2: - version "2.9.0" - resolved "https://registry.npmjs.org/browserslist/-/browserslist-2.9.0.tgz#706aca15c53be15610f466e348cbfa0c00a6a379" - integrity sha512-vJEBcDTANoDhSHL46NeOEW5hvQw7It9uCqzeFPQhpawXfnOwnpvW5C97vn1eGJ7iCkSg8wWU0nYObE7d/N95Iw== +browserslist@^4.6.0, browserslist@^4.8.2: + version "4.8.2" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.8.2.tgz#b45720ad5fbc8713b7253c20766f701c9a694289" + integrity sha512-+M4oeaTplPm/f1pXDw84YohEv7B1i/2Aisei8s4s6k3QsoSHa7i5sz8u/cGQkkatCPxMASKxPualR4wwYgVboA== dependencies: - caniuse-lite "^1.0.30000760" - electron-to-chromium "^1.3.27" + caniuse-lite "^1.0.30001015" + electron-to-chromium "^1.3.322" + node-releases "^1.1.42" bs-logger@0.x: version "0.2.6" @@ -2967,10 +2622,10 @@ bs-logger@0.x: dependencies: fast-json-stable-stringify "2.x" -bser@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719" - integrity sha1-mseNPtXZFYBP2HrLFYvHlxR6Fxk= +bser@2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" + integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== dependencies: node-int64 "^0.4.0" @@ -2979,21 +2634,11 @@ btoa-lite@^1.0.0: resolved "https://registry.npmjs.org/btoa-lite/-/btoa-lite-1.0.0.tgz#337766da15801210fdd956c22e9c6891ab9d0337" integrity sha1-M3dm2hWAEhD92VbCLpxokaudAzc= -buf-compare@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/buf-compare/-/buf-compare-1.0.1.tgz#fef28da8b8113a0a0db4430b0b6467b69730b34a" - integrity sha1-/vKNqLgROgoNtEMLC2Rntpcws0o= - buffer-from@1.x, buffer-from@^1.0.0: version "1.1.1" resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A== -builtin-modules@^1.0.0: - version "1.1.1" - resolved "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" - integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8= - builtin-modules@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.1.0.tgz#aad97c15131eb76b65b50ef208e7584cd76a7484" @@ -3050,24 +2695,28 @@ cache-base@^1.0.1: union-value "^1.0.0" unset-value "^1.0.0" +cacheable-request@^6.0.0: + version "6.1.0" + resolved "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz#20ffb8bd162ba4be11e9567d823db651052ca912" + integrity sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg== + dependencies: + clone-response "^1.0.2" + get-stream "^5.1.0" + http-cache-semantics "^4.0.0" + keyv "^3.0.0" + lowercase-keys "^2.0.0" + normalize-url "^4.1.0" + responselike "^1.0.2" + cachedir@2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/cachedir/-/cachedir-2.1.0.tgz#b448c32b44cd9c0cd6ce4c419fa5b3c112c02191" integrity sha512-xGBpPqoBvn3unBW7oxgb8aJn42K0m9m1/wyjmazah10Fq7bROGG3kRAE6OIyr3U3PIJUqGuebhCEdMk9OKJG0A== -caching-transform@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/caching-transform/-/caching-transform-1.0.1.tgz#6dbdb2f20f8d8fbce79f3e94e9d1742dcdf5c0a1" - integrity sha1-bb2y8g+Nj7znnz6U6dF0Lc31wKE= - dependencies: - md5-hex "^1.2.0" - mkdirp "^0.5.1" - write-file-atomic "^1.1.4" - call-matcher@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/call-matcher/-/call-matcher-1.0.1.tgz#5134d077984f712a54dad3cbf62de28dce416ca8" - integrity sha1-UTTQd5hPcSpU2tPL9i3ijc5BbKg= + version "1.1.0" + resolved "https://registry.npmjs.org/call-matcher/-/call-matcher-1.1.0.tgz#23b2c1bc7a8394c8be28609d77ddbd5786680432" + integrity sha512-IoQLeNwwf9KTNbtSA7aEBb1yfDbdnzwjCetjkC8io5oGeOmK2CBNdg0xr+tadRYKO0p7uQyZzvon0kXlZbvGrw== dependencies: core-js "^2.0.0" deep-equal "^1.0.0" @@ -3104,9 +2753,9 @@ callsites@^2.0.0: integrity sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA= callsites@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/callsites/-/callsites-3.0.0.tgz#fb7eb569b72ad7a45812f93fd9430a3e410b3dd3" - integrity sha512-tWnkwu9YEq2uzlBDI4RcLn8jrFvF9AOi8PxDNU3hZZjJcjkcRAq3vCI+vZcg1SuxISDYe86k9VZFwAxDiJGoAw== + version "3.1.0" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== camelcase-keys@^2.0.0: version "2.1.0" @@ -3125,7 +2774,7 @@ camelcase-keys@^4.0.0: map-obj "^2.0.0" quick-lru "^1.0.0" -camelcase@^2.0.0, camelcase@^2.1.0: +camelcase@^2.0.0: version "2.1.1" resolved "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f" integrity sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8= @@ -3140,15 +2789,15 @@ camelcase@^4.0.0, camelcase@^4.1.0: resolved "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= -camelcase@^5.0.0: - version "5.2.0" - resolved "https://registry.npmjs.org/camelcase/-/camelcase-5.2.0.tgz#e7522abda5ed94cc0489e1b8466610e88404cf45" - integrity sha512-IXFsBS2pC+X0j0N/GE7Dm7j3bsEBp+oTpb7F50dwEVX7rf3IgwO9XatnegTsDtniKCUtEJH4fSU6Asw7uoVLfQ== +camelcase@^5.0.0, camelcase@^5.3.1: + version "5.3.1" + resolved "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" + integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== -caniuse-lite@^1.0.30000760: - version "1.0.30000766" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000766.tgz#8a095cc5eb9923c27008ce4d0db23e65a3e28843" - integrity sha1-iglcxeuZI8JwCM5NDbI+ZaPiiEM= +caniuse-lite@^1.0.30001015: + version "1.0.30001017" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001017.tgz#d3ad6ec18148b9bd991829958d9d7e562bb78cd6" + integrity sha512-EDnZyOJ6eYh6lHmCvCdHAFbfV4KJ9lSdfv4h/ppEhrU/Yudkl7jujwMZ1we6RX7DXqBfT04pVMQ4J+1wcTlsKA== capture-exit@^2.0.0: version "2.0.0" @@ -3158,9 +2807,9 @@ capture-exit@^2.0.0: rsvp "^4.8.4" capture-stack-trace@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz#4a6fa07399c26bba47f0b2496b4d0fb408c5550d" - integrity sha1-Sm+gc5nCa7pH8LJJa00PtAjFVQ0= + version "1.0.1" + resolved "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz#a6c0bbe1f38f3aa0b92238ecb6ff42c344d4135d" + integrity sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw== caseless@~0.12.0: version "0.12.0" @@ -3178,18 +2827,7 @@ chalk@0.5.1: strip-ansi "^0.3.0" supports-color "^0.2.0" -chalk@1.1.3, chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: - version "1.1.3" - resolved "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" - integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= - dependencies: - ansi-styles "^2.2.1" - escape-string-regexp "^1.0.2" - has-ansi "^2.0.0" - strip-ansi "^3.0.0" - supports-color "^2.0.0" - -chalk@2.4.2, chalk@^2.4.1, chalk@^2.4.2: +chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -3198,44 +2836,23 @@ chalk@2.4.2, chalk@^2.4.1, chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^0.4.0: - version "0.4.0" - resolved "https://registry.npmjs.org/chalk/-/chalk-0.4.0.tgz#5199a3ddcd0c1efe23bc08c1b027b06176e0c64f" - integrity sha1-UZmj3c0MHv4jvAjBsCewYXbgxk8= - dependencies: - ansi-styles "~1.0.0" - has-color "~0.1.0" - strip-ansi "~0.1.0" - -chalk@^2.0.0, chalk@^2.0.1: - version "2.3.0" - resolved "https://registry.npmjs.org/chalk/-/chalk-2.3.0.tgz#b5ea48efc9c1793dccc9b4767c93914d3f2d52ba" - integrity sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q== - dependencies: - ansi-styles "^3.1.0" - escape-string-regexp "^1.0.5" - supports-color "^4.0.0" - -chalk@^2.3.1: - version "2.4.1" - resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e" - integrity sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ== +chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" + integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= dependencies: - ansi-styles "^3.2.1" - escape-string-regexp "^1.0.5" - supports-color "^5.3.0" - -chardet@^0.4.0: - version "0.4.0" - resolved "https://registry.npmjs.org/chardet/-/chardet-0.4.0.tgz#0bbe1355ac44d7a3ed4a925707c4ef70f8190f6c" - integrity sha1-C74TVaxE16PtSpJXB8TvcPgZD2w= + ansi-styles "^2.2.1" + escape-string-regexp "^1.0.2" + has-ansi "^2.0.0" + strip-ansi "^3.0.0" + supports-color "^2.0.0" chardet@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== -chokidar@^1.4.2, chokidar@^1.6.1, chokidar@^1.7.0: +chokidar@^1.7.0: version "1.7.0" resolved "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468" integrity sha1-eY5ol3gVHIB2tLNg5e3SjNortGg= @@ -3251,10 +2868,10 @@ chokidar@^1.4.2, chokidar@^1.6.1, chokidar@^1.7.0: optionalDependencies: fsevents "^1.0.0" -chokidar@^2.0.4: - version "2.1.6" - resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.6.tgz#b6cad653a929e244ce8a834244164d241fa954c5" - integrity sha512-V2jUo67OKkc6ySiRpJrjlpJKl9kDuG+Xb8VgsGzb+aEouhgS1D0weyPU4lEzdAcsCAvrih2J2BqyXqHWvVLw5g== +chokidar@^2.1.8: + version "2.1.8" + resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917" + integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg== dependencies: anymatch "^2.0.0" async-each "^1.0.1" @@ -3270,26 +2887,46 @@ chokidar@^2.0.4: optionalDependencies: fsevents "^1.2.7" -chownr@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz#54726b8b8fff4df053c42187e801fb4412df1494" - integrity sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g== +chokidar@^3.0.2: + version "3.3.1" + resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.3.1.tgz#c84e5b3d18d9a4d77558fef466b1bf16bbeb3450" + integrity sha512-4QYCEWOcK3OJrxwvyyAOxFuhpvOVCYkr33LPfFNBjAD/w3sEzWsp2BUOkI4l9bHvWioAd0rc6NlHUOEaWkTeqg== + dependencies: + anymatch "~3.1.1" + braces "~3.0.2" + glob-parent "~5.1.0" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.3.0" + optionalDependencies: + fsevents "~2.1.2" -chownr@^1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.2.tgz#a18f1e0b269c8a6a5d3c86eb298beb14c3dd7bf6" - integrity sha512-GkfeAQh+QNy3wquu9oIZr6SS5x7wGdSgNQvD10X3r+AZr1Oys22HW8kAmDMvNg2+Dm0TeGaEuO8gFwdBXxwO8A== +chownr@^1.1.1, chownr@^1.1.2: + version "1.1.3" + resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142" + integrity sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw== -ci-info@^1.0.0: - version "1.1.2" - resolved "https://registry.npmjs.org/ci-info/-/ci-info-1.1.2.tgz#03561259db48d0474c8bdc90f5b47b068b6bbfb4" - integrity sha512-uTGIPNx/nSpBdsF6xnseRXLLtfr9VLqkz8ZqHXr3Y7b6SftyRxBGjwMtJj1OhNbmlc1wZzLNAlAcvyIiE8a6ZA== +chunkd@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/chunkd/-/chunkd-1.0.0.tgz#4ead4a3704bcce510c4bb4d4a8be30c557836dd1" + integrity sha512-xx3Pb5VF9QaqCotolyZ1ywFBgyuJmu6+9dLiqBxgelEse9Xsr3yUlpoX3O4Oh11M00GT2kYMsRByTKIMJW2Lkg== + +ci-info@^1.5.0: + version "1.6.0" + resolved "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" + integrity sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A== ci-info@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== +ci-parallel-vars@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/ci-parallel-vars/-/ci-parallel-vars-1.0.0.tgz#af97729ed1c7381911ca37bcea263d62638701b3" + integrity sha512-u6dx20FBXm+apMi+5x7UVm6EH7BL1gc4XrcnQewjcB7HWRcor/V5qWc3RG2HwpgDJ26gIi2DSEu3B7sXynAw/g== + class-utils@^0.3.5: version "0.3.6" resolved "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" @@ -3300,10 +2937,10 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" -clean-stack@^1.1.1: - version "1.3.0" - resolved "https://registry.npmjs.org/clean-stack/-/clean-stack-1.3.0.tgz#9e821501ae979986c46b1d66d2d432db2fd4ae31" - integrity sha1-noIVAa6XmYbEax1m0tQy2y/UrjE= +clean-stack@^2.2.0: + version "2.2.0" + resolved "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" + integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== clean-yaml-object@^0.1.0: version "0.1.0" @@ -3315,6 +2952,11 @@ cli-boxes@^1.0.0: resolved "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143" integrity sha1-T6kXw+WclKAEzWH47lCdplFocUM= +cli-boxes@^2.2.0: + version "2.2.0" + resolved "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.0.tgz#538ecae8f9c6ca508e3c3c95b453fe93cb4c168d" + integrity sha512-gpaBrMAizVEANOpfZp/EEUixTXDyGt7DFzdK5hU+UbWt/J0lB0w20ncZj59Z9a93xHb9u12zF5BS6i9RKbtg4w== + cli-cursor@^1.0.1, cli-cursor@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987" @@ -3329,12 +2971,19 @@ cli-cursor@^2.0.0, cli-cursor@^2.1.0: dependencies: restore-cursor "^2.0.0" -cli-spinners@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/cli-spinners/-/cli-spinners-1.1.0.tgz#f1847b168844d917a671eb9d147e3df497c90d06" - integrity sha1-8YR7FohE2RemceudFH499JfJDQY= +cli-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" + integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== + dependencies: + restore-cursor "^3.1.0" -cli-truncate@^0.2.0, cli-truncate@^0.2.1: +cli-spinners@^2.0.0: + version "2.2.0" + resolved "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.2.0.tgz#e8b988d9206c692302d8ee834e7a85c0144d8f77" + integrity sha512-tgU3fKwzYjiLEQgPMD9Jt+JjHVL9kW93FiIMX/l7rivvOD4/LL0Mf7gda3+4U2KJBloybwgj5KEoQgGRioMiKQ== + +cli-truncate@^0.2.1: version "0.2.1" resolved "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" integrity sha1-nxXPuwcFAFNpIWxiasfQWrkN1XQ= @@ -3342,13 +2991,13 @@ cli-truncate@^0.2.0, cli-truncate@^0.2.1: slice-ansi "0.0.4" string-width "^1.0.1" -cli-truncate@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/cli-truncate/-/cli-truncate-1.1.0.tgz#2b2dfd83c53cfd3572b87fc4d430a808afb04086" - integrity sha512-bAtZo0u82gCfaAGfSNxUdTI9mNyza7D8w4CVCcaOsy7sgwDzvx6ekr6cuWJqY3UGzgnQ1+4wgENup5eIhgxEYA== +cli-truncate@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz#c39e28bf05edcde5be3b98992a22deed5a2b93c7" + integrity sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg== dependencies: - slice-ansi "^1.0.0" - string-width "^2.0.0" + slice-ansi "^3.0.0" + string-width "^4.2.0" cli-width@^1.0.1: version "1.1.1" @@ -3360,15 +3009,6 @@ cli-width@^2.0.0: resolved "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" integrity sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk= -clipboard@^1.5.5: - version "1.7.1" - resolved "https://registry.npmjs.org/clipboard/-/clipboard-1.7.1.tgz#360d6d6946e99a7a1fef395e42ba92b5e9b5a16b" - integrity sha1-Ng1taUbpmnof7zleQrqStem1oWs= - dependencies: - good-listener "^1.2.2" - select "^1.1.2" - tiny-emitter "^2.0.0" - clipboard@^2.0.0: version "2.0.4" resolved "https://registry.npmjs.org/clipboard/-/clipboard-2.0.4.tgz#836dafd66cf0fea5d71ce5d5b0bf6e958009112d" @@ -3387,15 +3027,6 @@ cliui@^3.2.0: strip-ansi "^3.0.1" wrap-ansi "^2.0.0" -cliui@^4.0.0: - version "4.1.0" - resolved "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49" - integrity sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ== - dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - wrap-ansi "^2.0.0" - cliui@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" @@ -3405,30 +3036,23 @@ cliui@^5.0.0: strip-ansi "^5.2.0" wrap-ansi "^5.1.0" -clone@^1.0.2: - version "1.0.3" - resolved "https://registry.npmjs.org/clone/-/clone-1.0.3.tgz#298d7e2231660f40c003c2ed3140decf3f53085f" - integrity sha1-KY1+IjFmD0DAA8LtMUDezz9TCF8= - -co-with-promise@^4.6.0: - version "4.6.0" - resolved "https://registry.npmjs.org/co-with-promise/-/co-with-promise-4.6.0.tgz#413e7db6f5893a60b942cf492c4bec93db415ab7" - integrity sha1-QT59tvWJOmC5Qs9JLEvsk9tBWrc= +clone-response@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b" + integrity sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws= dependencies: - pinkie-promise "^1.0.0" + mimic-response "^1.0.0" + +clone@^1.0.2: + version "1.0.4" + resolved "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" + integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= co@^4.6.0: version "4.6.0" resolved "https://registry.npmjs.org/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ= -code-excerpt@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/code-excerpt/-/code-excerpt-2.1.0.tgz#5dcc081e88f4a7e3b554e9e35d7ef232d47f8147" - integrity sha1-XcwIHoj0p+O1VOnjXX7yMtR/gUc= - dependencies: - convert-to-spaces "^1.0.1" - code-excerpt@^2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/code-excerpt/-/code-excerpt-2.1.1.tgz#5fe3057bfbb71a5f300f659ef2cc0a47651ba77c" @@ -3450,17 +3074,29 @@ collection-visit@^1.0.0: object-visit "^1.0.0" color-convert@^1.9.0: - version "1.9.1" - resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed" - integrity sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ== + version "1.9.3" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== dependencies: - color-name "^1.1.1" + color-name "~1.1.4" -color-name@^1.1.1: +color-name@1.1.3: version "1.1.3" resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + columnify@^1.5.4: version "1.5.4" resolved "https://registry.npmjs.org/columnify/-/columnify-1.5.4.tgz#4737ddf1c7b69a8a7c340570782e947eec8e78bb" @@ -3469,17 +3105,10 @@ columnify@^1.5.4: strip-ansi "^3.0.0" wcwidth "^1.0.0" -combined-stream@^1.0.5, combined-stream@~1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" - integrity sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk= - dependencies: - delayed-stream "~1.0.0" - combined-stream@^1.0.6, combined-stream@~1.0.6: - version "1.0.7" - resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz#2d1d24317afb8abe95d6d2c0b07b57813539d828" - integrity sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w== + version "1.0.8" + resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== dependencies: delayed-stream "~1.0.0" @@ -3488,20 +3117,15 @@ commander@2.6.0: resolved "https://registry.npmjs.org/commander/-/commander-2.6.0.tgz#9df7e52fb2a0cb0fb89058ee80c3104225f37e1d" integrity sha1-nfflL7Kgyw+4kFjugMMQQiXzfh0= -commander@^2.11.0, commander@^2.9.0: - version "2.11.0" - resolved "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563" - integrity sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ== - -commander@^2.14.1: - version "2.19.0" - resolved "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" - integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg== +commander@^2.14.1, commander@^2.9.0, commander@~2.20.3: + version "2.20.3" + resolved "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" + integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -commander@~2.17.1: - version "2.17.1" - resolved "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf" - integrity sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg== +commander@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/commander/-/commander-4.0.1.tgz#b67622721785993182e807f4883633e6401ba53c" + integrity sha512-IPF4ouhCP+qdlcmCedhxX4xiGBPyigb8v5NeUp+0LyhwLgxMqyp3S0vl7TAPfS/hiP7FC3caI/PB9lTmP8r1NA== commitizen@3.1.2: version "3.1.2" @@ -3543,9 +3167,9 @@ compare-func@^1.3.1: dot-prop "^3.0.0" component-emitter@^1.2.1: - version "1.2.1" - resolved "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" - integrity sha1-E3kY1teCg/ffemt8WmPhQOaUJeY= + version "1.3.0" + resolved "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" + integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== concat-map@0.0.1: version "0.0.1" @@ -3553,10 +3177,11 @@ concat-map@0.0.1: integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= concat-stream@^1.5.0: - version "1.6.0" - resolved "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7" - integrity sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc= + version "1.6.2" + resolved "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" + integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== dependencies: + buffer-from "^1.0.0" inherits "^2.0.3" readable-stream "^2.2.2" typedarray "^0.0.6" @@ -3571,39 +3196,22 @@ concat-stream@^2.0.0: readable-stream "^3.0.2" typedarray "^0.0.6" -concordance@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/concordance/-/concordance-2.0.0.tgz#c3c5dbffa83c29537df202bded8fa1d6aa94e805" - integrity sha512-jVxBZbAkFIZE5WHCAL7RpkX+XPl9ZnT8uYjZ9EXPFSquNDgq2iXWFsT2iptVoxvfSL+/5ej8CdHsmE7XYJjCPA== - dependencies: - esutils "^2.0.2" - fast-diff "^1.1.1" - function-name-support "^0.2.0" - js-string-escape "^1.0.1" - lodash.clonedeep "^4.5.0" - lodash.flattendeep "^4.4.0" - lodash.merge "^4.6.0" - md5-hex "^2.0.0" - moment "^2.18.1" - semver "^5.3.0" - well-known-symbols "^1.0.0" - -concordance@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/concordance/-/concordance-3.0.0.tgz#b2286af54405fc995fc7345b0b106d8dd073cb29" - integrity sha512-CZBzJ3/l5QJjlZM20WY7+5GP5pMTw+1UEbThcpMw8/rojsi5sBCiD8ZbBLtD+jYpRGAkwuKuqk108c154V9eyQ== +concordance@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/concordance/-/concordance-4.0.0.tgz#5932fdee397d129bdbc3a1885fbe69839b1b7e15" + integrity sha512-l0RFuB8RLfCS0Pt2Id39/oCPykE01pyxgAFypWTlaGRgvLkZrtczZ8atEHpTeEIW+zYWXTBuA9cCSeEOScxReQ== dependencies: date-time "^2.1.0" esutils "^2.0.2" - fast-diff "^1.1.1" - function-name-support "^0.2.0" + fast-diff "^1.1.2" js-string-escape "^1.0.1" lodash.clonedeep "^4.5.0" lodash.flattendeep "^4.4.0" - lodash.merge "^4.6.0" + lodash.islength "^4.0.1" + lodash.merge "^4.6.1" md5-hex "^2.0.0" - semver "^5.3.0" - well-known-symbols "^1.0.0" + semver "^5.5.1" + well-known-symbols "^2.0.0" concurrently@3.5.1: version "3.5.1" @@ -3635,32 +3243,29 @@ concurrently@3.6.1: tree-kill "^1.1.0" config-chain@^1.1.11: - version "1.1.11" - resolved "https://registry.npmjs.org/config-chain/-/config-chain-1.1.11.tgz#aba09747dfbe4c3e70e766a6e41586e1859fc6f2" - integrity sha1-q6CXR9++TD5w52am5BWG4YWfxvI= + version "1.1.12" + resolved "https://registry.npmjs.org/config-chain/-/config-chain-1.1.12.tgz#0fde8d091200eb5e808caf25fe618c02f48e4efa" + integrity sha512-a1eOIcu8+7lUInge4Rpf/n4Krkf3Dd9lqhljRzII1/Zno/kRtUWnznPO3jOKBmTEktkt3fkxisUcivoj0ebzoA== dependencies: ini "^1.3.4" proto-list "~1.2.1" -configstore@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/configstore/-/configstore-2.1.0.tgz#737a3a7036e9886102aa6099e47bb33ab1aba1a1" - integrity sha1-c3o6cDbpiGECqmCZ5HuzOrGroaE= +configstore@^3.0.0: + version "3.1.2" + resolved "https://registry.npmjs.org/configstore/-/configstore-3.1.2.tgz#c6f25defaeef26df12dd33414b001fe81a543f8f" + integrity sha512-vtv5HtGjcYUgFrXc6Kx747B83MRRVS5R1VTEQoXvuP+kMI+if6uywV0nDGoiydJRy4yk7h9od5Og0kxx4zUXmw== dependencies: - dot-prop "^3.0.0" + dot-prop "^4.1.0" graceful-fs "^4.1.2" - mkdirp "^0.5.0" - object-assign "^4.0.1" - os-tmpdir "^1.0.0" - osenv "^0.1.0" - uuid "^2.0.1" - write-file-atomic "^1.1.2" - xdg-basedir "^2.0.0" + make-dir "^1.0.0" + unique-string "^1.0.0" + write-file-atomic "^2.0.0" + xdg-basedir "^3.0.0" -configstore@^3.0.0: - version "3.1.1" - resolved "https://registry.npmjs.org/configstore/-/configstore-3.1.1.tgz#094ee662ab83fad9917678de114faaea8fcdca90" - integrity sha512-5oNkD/L++l0O6xGXxb1EWS7SivtjfGQlRyxJsYgE0Z495/L81e2h4/d3r969hoPXuFItzNOKMtsXgYG4c7dYvw== +configstore@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/configstore/-/configstore-4.0.0.tgz#5933311e95d3687efb592c528b922d9262d227e7" + integrity sha512-CmquAXFBocrzaSM8mtGPMM/HiWmyIpr4CcJl/rgY2uCObZ/S7cKU0silxslqJejl+t/T9HS8E0PUNQD81JGUEQ== dependencies: dot-prop "^4.1.0" graceful-fs "^4.1.2" @@ -3670,18 +3275,18 @@ configstore@^3.0.0: xdg-basedir "^3.0.0" connect-livereload@^0.6.0: - version "0.6.0" - resolved "https://registry.npmjs.org/connect-livereload/-/connect-livereload-0.6.0.tgz#f9f009874ad6837183afb170b4c4e3857a1d7ceb" - integrity sha1-+fAJh0rWg3GDr7FwtMTjhXodfOs= + version "0.6.1" + resolved "https://registry.npmjs.org/connect-livereload/-/connect-livereload-0.6.1.tgz#1ac0c8bb9d9cfd5b28b629987a56a9239db9baaa" + integrity sha512-3R0kMOdL7CjJpU66fzAkCe6HNtd3AavCS4m+uW4KtJjrdGPT0SQEZieAYd+cm+lJoBznNQ4lqipYWkhBMgk00g== connect@^3.6.0: - version "3.6.5" - resolved "https://registry.npmjs.org/connect/-/connect-3.6.5.tgz#fb8dde7ba0763877d0ec9df9dac0b4b40e72c7da" - integrity sha1-+43ee6B2OHfQ7J352sC0tA5yx9o= + version "3.7.0" + resolved "https://registry.npmjs.org/connect/-/connect-3.7.0.tgz#5d49348910caa5e07a01800b030d0c35f20484f8" + integrity sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ== dependencies: debug "2.6.9" - finalhandler "1.0.6" - parseurl "~1.3.2" + finalhandler "1.1.2" + parseurl "~1.3.3" utils-merge "1.0.1" console-control-strings@^1.0.0, console-control-strings@~1.1.0: @@ -3689,7 +3294,7 @@ console-control-strings@^1.0.0, console-control-strings@~1.1.0: resolved "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= -conventional-changelog-angular@1.6.6: +conventional-changelog-angular@1.6.6, conventional-changelog-angular@^1.3.3: version "1.6.6" resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-1.6.6.tgz#b27f2b315c16d0a1f23eb181309d0e6a4698ea0f" integrity sha512-suQnFSqCxRwyBxY68pYTsFkG0taIdinHLNEAX5ivtw8bCRnIgnpvcHmlR/yjUyZIrNPYAoXlY1WiEKWgSE4BNg== @@ -3697,18 +3302,10 @@ conventional-changelog-angular@1.6.6: compare-func "^1.3.1" q "^1.5.1" -conventional-changelog-angular@^1.3.3: - version "1.5.2" - resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-1.5.2.tgz#2b38f665fe9c5920af1a2f82f547f4babe6de57c" - integrity sha1-Kzj2Zf6cWSCvGi+C9Uf0ur5t5Xw= - dependencies: - compare-func "^1.3.1" - q "^1.4.1" - conventional-changelog-angular@^5.0.3: - version "5.0.3" - resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.3.tgz#299fdd43df5a1f095283ac16aeedfb0a682ecab0" - integrity sha512-YD1xzH7r9yXQte/HF9JBuEDfvjxxwDGGwZU1+ndanbY0oFgA+Po1T9JDSpPLdP0pZT6MhCAsdvFKC4TJ4MTJTA== + version "5.0.6" + resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.6.tgz#269540c624553aded809c29a3508fdc2b544c059" + integrity sha512-QDEmLa+7qdhVIv8sFZfVxU1VSyVvnXPsxq8Vam49mKUcO1Z8VTLEJk9uI21uiJUsnmm0I4Hrsdc9TgkOQo9WSA== dependencies: compare-func "^1.3.1" q "^1.5.1" @@ -3723,57 +3320,49 @@ conventional-changelog-conventionalcommits@4.2.1: q "^1.5.1" conventional-changelog-core@^3.1.6: - version "3.1.6" - resolved "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-3.1.6.tgz#ac1731a461c50d150d29c1ad4f33143293bcd32f" - integrity sha512-5teTAZOtJ4HLR6384h50nPAaKdDr+IaU0rnD2Gg2C3MS7hKsEPH8pZxrDNqam9eOSPQg9tET6uZY79zzgSz+ig== + version "3.2.3" + resolved "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-3.2.3.tgz#b31410856f431c847086a7dcb4d2ca184a7d88fb" + integrity sha512-LMMX1JlxPIq/Ez5aYAYS5CpuwbOk6QFp8O4HLAcZxe3vxoCtABkhfjetk8IYdRB9CDQGwJFLR3Dr55Za6XKgUQ== dependencies: - conventional-changelog-writer "^4.0.3" - conventional-commits-parser "^3.0.1" + conventional-changelog-writer "^4.0.6" + conventional-commits-parser "^3.0.3" dateformat "^3.0.0" get-pkg-repo "^1.0.0" git-raw-commits "2.0.0" git-remote-origin-url "^2.0.0" - git-semver-tags "^2.0.2" + git-semver-tags "^2.0.3" lodash "^4.2.1" normalize-package-data "^2.3.5" q "^1.5.1" read-pkg "^3.0.0" read-pkg-up "^3.0.0" - through2 "^2.0.0" + through2 "^3.0.0" conventional-changelog-preset-loader@^2.1.1: - version "2.2.0" - resolved "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.2.0.tgz#571e2b3d7b53d65587bea9eedf6e37faa5db4fcc" - integrity sha512-zXB+5vF7D5Y3Cb/rJfSyCCvFphCVmF8mFqOdncX3BmjZwAtGAPfYrBcT225udilCKvBbHgyzgxqz2GWDB5xShQ== + version "2.3.0" + resolved "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.0.tgz#580fa8ab02cef22c24294d25e52d7ccd247a9a6a" + integrity sha512-/rHb32J2EJnEXeK4NpDgMaAVTFZS3o1ExmjKMtYVgIC4MQn0vkNSbYpdGRotkfGGRWiqk3Ri3FBkiZGbAfIfOQ== -conventional-changelog-writer@^4.0.3: - version "4.0.3" - resolved "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.0.3.tgz#916a2b302d0bb5ef18efd236a034c13fb273cde1" - integrity sha512-bIlpSiQtQZ1+nDVHEEh798Erj2jhN/wEjyw9sfxY9es6h7pREE5BNJjfv0hXGH/FTrAsEpHUq4xzK99eePpwuA== +conventional-changelog-writer@^4.0.6: + version "4.0.11" + resolved "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.0.11.tgz#9f56d2122d20c96eb48baae0bf1deffaed1edba4" + integrity sha512-g81GQOR392I+57Cw3IyP1f+f42ME6aEkbR+L7v1FBBWolB0xkjKTeCWVguzRrp6UiT1O6gBpJbEy2eq7AnV1rw== dependencies: compare-func "^1.3.1" - conventional-commits-filter "^2.0.1" + conventional-commits-filter "^2.0.2" dateformat "^3.0.0" - handlebars "^4.1.0" + handlebars "^4.4.0" json-stringify-safe "^5.0.1" - lodash "^4.2.1" - meow "^4.0.0" - semver "^5.5.0" + lodash "^4.17.15" + meow "^5.0.0" + semver "^6.0.0" split "^1.0.0" - through2 "^2.0.0" + through2 "^3.0.0" conventional-commit-types@^2.0.0: - version "2.2.0" - resolved "https://registry.npmjs.org/conventional-commit-types/-/conventional-commit-types-2.2.0.tgz#5db95739d6c212acbe7b6f656a11b940baa68946" - integrity sha1-XblXOdbCEqy+e29lahG5QLqmiUY= - -conventional-commits-filter@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.1.tgz#55a135de1802f6510b6758e0a6aa9e0b28618db3" - integrity sha512-92OU8pz/977udhBjgPEbg3sbYzIxMDFTlQT97w7KdhR9igNqdJvy8smmedAAgn4tPiqseFloKkrVfbXCVd+E7A== - dependencies: - is-subset "^0.1.1" - modify-values "^1.0.0" + version "2.3.0" + resolved "https://registry.npmjs.org/conventional-commit-types/-/conventional-commit-types-2.3.0.tgz#bc3c8ebba0a9e4b3ecc548f1d0674e251ab8be22" + integrity sha512-6iB39PrcGYdz0n3z31kj6/Km6mK9hm9oMRhwcLnKxE7WNoeRKZbTAobliKrbYZ5jqyCvtcVEfjCiaEzhL3AVmQ== conventional-commits-filter@^2.0.2: version "2.0.2" @@ -3783,28 +3372,15 @@ conventional-commits-filter@^2.0.2: lodash.ismatch "^4.4.0" modify-values "^1.0.0" -conventional-commits-parser@^3.0.0, conventional-commits-parser@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.0.1.tgz#fe1c49753df3f98edb2285a5e485e11ffa7f2e4c" - integrity sha512-P6U5UOvDeidUJ8ebHVDIoXzI7gMlQ1OF/id6oUvp8cnZvOXMt1n8nYl74Ey9YMn0uVQtxmCtjPQawpsssBWtGg== - dependencies: - JSONStream "^1.0.4" - is-text-path "^1.0.0" - lodash "^4.2.1" - meow "^4.0.0" - split2 "^2.0.0" - through2 "^2.0.0" - trim-off-newlines "^1.0.0" - -conventional-commits-parser@^3.0.3: - version "3.0.3" - resolved "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.0.3.tgz#c3f972fd4e056aa8b9b4f5f3d0e540da18bf396d" - integrity sha512-KaA/2EeUkO4bKjinNfGUyqPTX/6w9JGshuQRik4r/wJz7rUw3+D3fDG6sZSEqJvKILzKXFQuFkpPLclcsAuZcg== +conventional-commits-parser@^3.0.0, conventional-commits-parser@^3.0.3: + version "3.0.8" + resolved "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.0.8.tgz#23310a9bda6c93c874224375e72b09fb275fe710" + integrity sha512-YcBSGkZbYp7d+Cr3NWUeXbPDFUN6g3SaSIzOybi8bjHL5IJ5225OSCxJJ4LgziyEJ7AaJtE9L2/EU6H7Nt/DDQ== dependencies: JSONStream "^1.0.4" - is-text-path "^2.0.0" - lodash "^4.2.1" - meow "^4.0.0" + is-text-path "^1.0.1" + lodash "^4.17.15" + meow "^5.0.0" split2 "^2.0.0" through2 "^3.0.0" trim-off-newlines "^1.0.0" @@ -3823,18 +3399,13 @@ conventional-recommended-bump@^5.0.0: meow "^4.0.0" q "^1.5.1" -convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.5.1: - version "1.6.0" - resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz#51b537a8c43e0f04dec1993bffcdd504e758ac20" - integrity sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A== +convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: + version "1.7.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442" + integrity sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA== dependencies: safe-buffer "~5.1.1" -convert-source-map@^1.2.0, convert-source-map@^1.5.0: - version "1.5.0" - resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.0.tgz#9acd70851c6d5dfdd93d9282e5edf94a03ff46b5" - integrity sha1-ms1whRxtXf3ZPZKC5e35SgP/RrU= - convert-to-spaces@^1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-1.0.2.tgz#7e3e48bbe6d997b1417ddca2868204b4d3d85715" @@ -3857,46 +3428,30 @@ copy-descriptor@^0.1.0: resolved "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= -core-assert@^0.2.0: - version "0.2.1" - resolved "https://registry.npmjs.org/core-assert/-/core-assert-0.2.1.tgz#f85e2cf9bfed28f773cc8b3fa5c5b69bdc02fe3f" - integrity sha1-+F4s+b/tKPdzzIs/pcW2m9wC/j8= +core-js-compat@^3.6.0: + version "3.6.1" + resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.6.1.tgz#39638c935c83c93a793abb628b252ec43e85783a" + integrity sha512-2Tl1EuxZo94QS2VeH28Ebf5g3xbPZG/hj/N5HDDy4XMP/ImR0JIer/nggQRiMN91Q54JVkGbytf42wO29oXVHg== dependencies: - buf-compare "^1.0.0" - is-error "^2.2.0" + browserslist "^4.8.2" + semver "7.0.0" core-js@^2.0.0, core-js@^2.4.0, core-js@^2.5.0: - version "2.5.1" - resolved "https://registry.npmjs.org/core-js/-/core-js-2.5.1.tgz#ae6874dc66937789b80754ff5428df66819ca50b" - integrity sha1-rmh03GaTd4m4B1T/VCjfZoGcpQs= + version "2.6.11" + resolved "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c" + integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg== + +core-js@^3.6.1: + version "3.6.1" + resolved "https://registry.npmjs.org/core-js/-/core-js-3.6.1.tgz#39d5e2e346258cc01eb7d44345b1c3c014ca3f05" + integrity sha512-186WjSik2iTGfDjfdCZAxv2ormxtKgemjC3SI6PL31qOA0j5LhTDVjHChccoc7brwLvpvLPiMyRlcO88C4l1QQ== core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= -cosmiconfig@^5.1.0: - version "5.1.0" - resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.1.0.tgz#6c5c35e97f37f985061cdf653f114784231185cf" - integrity sha512-kCNPvthka8gvLtzAxQXvWo4FxqRB+ftRZyPZNuab5ngvM9Y7yw7hbEysglptLgpkGX9nAOKTBVkHUAe8xtYR6Q== - dependencies: - import-fresh "^2.0.0" - is-directory "^0.3.1" - js-yaml "^3.9.0" - lodash.get "^4.4.2" - parse-json "^4.0.0" - -cosmiconfig@^5.2.0: - version "5.2.0" - resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.0.tgz#45038e4d28a7fe787203aede9c25bca4a08b12c8" - integrity sha512-nxt+Nfc3JAqf4WIWd0jXLjTJZmsPLrA9DDc4nRw2KFJQJK7DNooqSXrNI7tzLG50CF8axczly5UV929tBmh/7g== - dependencies: - import-fresh "^2.0.0" - is-directory "^0.3.1" - js-yaml "^3.13.0" - parse-json "^4.0.0" - -cosmiconfig@^5.2.1: +cosmiconfig@^5.1.0, cosmiconfig@^5.2.0, cosmiconfig@^5.2.1: version "5.2.1" resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" integrity sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA== @@ -3917,7 +3472,7 @@ cp-file@^4.1.1: pify "^2.3.0" safe-buffer "^5.0.1" -create-error-class@^3.0.0, create-error-class@^3.0.1: +create-error-class@^3.0.0: version "3.0.2" resolved "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz#06be7abef947a3f14a30fd610671d401bca8b7b6" integrity sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y= @@ -3960,20 +3515,13 @@ cross-spawn@^6.0.0: which "^1.2.9" cross-spawn@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.0.tgz#21ef9470443262f33dba80b2705a91db959b2e03" - integrity sha512-6U/8SMK2FBNnB21oQ4+6Nsodxanw1gTkntYA2zBdkFYFu3ZDx65P2ONEXGSvob/QS6REjVHQ9zxzdOafwFdstw== + version "7.0.1" + resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.1.tgz#0ab56286e0f7c24e153d04cc2aa027e43a9a5d14" + integrity sha512-u7v4o84SwFpD32Z8IIcPZ6z1/ie24O6RU3RbtL5Y316l3KuHVPx9ItBgWQ6VlfAFnRnTtMUrsQ9MUUTuEZjogg== dependencies: path-key "^3.1.0" - shebang-command "^1.2.0" - which "^1.2.9" - -cryptiles@2.x.x: - version "2.0.5" - resolved "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" - integrity sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g= - dependencies: - boom "2.x.x" + shebang-command "^2.0.0" + which "^2.0.1" crypto-random-string@^1.0.0: version "1.0.0" @@ -3981,14 +3529,14 @@ crypto-random-string@^1.0.0: integrity sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4= cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0": - version "0.3.6" - resolved "https://registry.npmjs.org/cssom/-/cssom-0.3.6.tgz#f85206cee04efa841f3c5982a74ba96ab20d65ad" - integrity sha512-DtUeseGk9/GBW0hl0vVPpU22iHL6YB5BUX7ml1hB+GMpo0NX5G4voX3kdWiMSEguFtcW3Vh3djqNF4aIe6ne0A== + version "0.3.8" + resolved "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a" + integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg== cssstyle@^1.0.0: - version "1.2.2" - resolved "https://registry.npmjs.org/cssstyle/-/cssstyle-1.2.2.tgz#427ea4d585b18624f6fdbf9de7a2a1a3ba713077" - integrity sha512-43wY3kl1CVQSvL7wUY1qXkxVGkStjpkDmVjiIKX8R97uhajy8Bybay78uOtqvh7Q5GK75dNPfW0geWjE6qQQow== + version "1.4.0" + resolved "https://registry.npmjs.org/cssstyle/-/cssstyle-1.4.0.tgz#9d31328229d3c565c61e586b02041a28fccdccf1" + integrity sha512-GBrLZYZ4X4x6/QEoBnIrqb8B/f5l4+8me2dkom/j1Gtbxy0kBv6OGzKuAsGM75bkGwGAFkt56Iwg28S3XTZgSA== dependencies: cssom "0.3.x" @@ -3999,10 +3547,10 @@ currently-unhandled@^0.4.1: dependencies: array-find-index "^1.0.1" -cyclist@~0.2.2: - version "0.2.2" - resolved "https://registry.npmjs.org/cyclist/-/cyclist-0.2.2.tgz#1b33792e11e914a2fd6d6ed6447464444e5fa640" - integrity sha1-GzN5LhHpFKL9bW7WRHRkRE5fpkA= +cyclist@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9" + integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk= cz-conventional-changelog@2.1.0: version "2.1.0" @@ -4039,14 +3587,9 @@ data-urls@^1.0.0: whatwg-url "^7.0.0" date-fns@^1.23.0, date-fns@^1.27.2: - version "1.29.0" - resolved "https://registry.npmjs.org/date-fns/-/date-fns-1.29.0.tgz#12e609cdcb935127311d04d33334e2960a2a54e6" - integrity sha512-lbTXWZ6M20cWH8N9S6afb0SBm6tMk+uUg6z3MqHPKE9atmsY3kJkTm8vKe93izJ2B2+q5MV990sM2CHgtAZaOw== - -date-time@^0.1.1: - version "0.1.1" - resolved "https://registry.npmjs.org/date-time/-/date-time-0.1.1.tgz#ed2f6d93d9790ce2fd66d5b5ff3edd5bbcbf3b07" - integrity sha1-7S9tk9l5DOL9ZtW1/z7dW7y/Owc= + version "1.30.1" + resolved "https://registry.npmjs.org/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c" + integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw== date-time@^2.1.0: version "2.1.0" @@ -4060,21 +3603,21 @@ dateformat@^3.0.0: resolved "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== -debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.8, debug@^2.6.9: +debug@2.6.9, debug@^2.2.0, debug@^2.3.3: version "2.6.9" resolved "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== dependencies: ms "2.0.0" -debug@3.1.0, debug@^3.1.0: +debug@3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== dependencies: ms "2.0.0" -debug@^3.0.1: +debug@^3.1.0, debug@^3.2.6: version "3.2.6" resolved "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ== @@ -4111,19 +3654,33 @@ decode-uri-component@^0.2.0: resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= +decompress-response@^3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" + integrity sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M= + dependencies: + mimic-response "^1.0.0" + dedent@0.7.0, dedent@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= deep-equal@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5" - integrity sha1-9dJgKStmDghO/0zbyfCK0yR0SLU= + version "1.1.1" + resolved "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz#b5c98c942ceffaf7cb051e24e1434a25a2e6076a" + integrity sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g== + dependencies: + is-arguments "^1.0.4" + is-date-object "^1.0.1" + is-regex "^1.0.4" + object-is "^1.0.1" + object-keys "^1.1.1" + regexp.prototype.flags "^1.2.0" -deep-extend@0.5.1, deep-extend@^0.6.0, deep-extend@~0.4.0: +deep-extend@0.5.1, deep-extend@^0.6.0: version "0.5.1" - resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.5.1.tgz#b894a9dd90d3023fbf1c55a394fb858eb2066f1f" + resolved "https://registry.npmjs.org/deep-extend/-/deep-extend-0.5.1.tgz#b894a9dd90d3023fbf1c55a394fb858eb2066f1f" integrity sha512-N8vBdOa+DF7zkRrDCsaOXoCs/E2fJfx9B9MrKnnSiHNh4ws7eSys6YQE4KvT1cecKmOASYQBhbKjeuDD9lT81w== deep-is@~0.1.3: @@ -4138,7 +3695,12 @@ defaults@^1.0.3: dependencies: clone "^1.0.2" -define-properties@^1.1.2: +defer-to-connect@^1.0.1: + version "1.1.1" + resolved "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.1.tgz#88ae694b93f67b81815a2c8c769aef6574ac8f2f" + integrity sha512-J7thop4u3mRTkYRQ+Vpfwy2G5Ehoy82I14+14W4YMDLKdWloI9gSzRbV30s/NckQGVJtPkWNcW4oMAUigTdqiQ== + +define-properties@^1.1.2, define-properties@^1.1.3: version "1.1.3" resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" integrity sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ== @@ -4179,25 +3741,38 @@ del@^3.0.0: pify "^3.0.0" rimraf "^2.2.8" +del@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/del/-/del-4.1.1.tgz#9e8f117222ea44a31ff3a156c049b99052a9f0b4" + integrity sha512-QwGuEUouP2kVwQenAsOof5Fv8K9t3D8Ca8NxcXKrIpEHjTXK5J2nXLdP+ALI1cgv8wj7KuwBhTwBkOZSJKM5XQ== + dependencies: + "@types/glob" "^7.1.1" + globby "^6.1.0" + is-path-cwd "^2.0.0" + is-path-in-cwd "^2.0.0" + p-map "^2.0.0" + pify "^4.0.1" + rimraf "^2.6.3" + delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= delegate@^3.1.2: - version "3.1.3" - resolved "https://registry.npmjs.org/delegate/-/delegate-3.1.3.tgz#9a8251a777d7025faa55737bc3b071742127a9fd" - integrity sha1-moJRp3fXAl+qVXN7w7BxdCEnqf0= + version "3.2.0" + resolved "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz#b66b71c3158522e8ab5744f720d8ca0c2af59166" + integrity sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw== delegates@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= -depd@1.1.1, depd@~1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/depd/-/depd-1.1.1.tgz#5783b4e1c459f06fa5ca27f991f3d06e7a310359" - integrity sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k= +depd@~1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" + integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= deprecation@^2.0.0: version "2.3.1" @@ -4214,22 +3789,15 @@ detect-file@^1.0.0: resolved "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" integrity sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc= -detect-indent@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" - integrity sha1-920GQ1LN9Docts5hnE7jqUdd4gg= - dependencies: - repeating "^2.0.0" - detect-indent@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" integrity sha1-OHHMCmoALow+Wzz38zYmRnXwa50= detect-libc@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.2.tgz#71ad5d204bf17a6a6ca8f450c61454066ef461e1" - integrity sha1-ca1dIEvxempsqPRQxhRUBm70YeE= + version "1.0.3" + resolved "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" + integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups= detect-newline@^2.1.0: version "2.1.0" @@ -4244,15 +3812,10 @@ dezalgo@^1.0.0: asap "^2.0.0" wrappy "1" -diff-sequences@^24.3.0: - version "24.3.0" - resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.3.0.tgz#0f20e8a1df1abddaf4d9c226680952e64118b975" - integrity sha512-xLqpez+Zj9GKSnPWS0WZw1igGocZ+uua8+y+5dDNTT934N3QuY1sp2LkHzwiaYQGz60hMq0pjAshdeXm5VUOEw== - -diff@^3.0.0, diff@^3.0.1: - version "3.4.0" - resolved "https://registry.npmjs.org/diff/-/diff-3.4.0.tgz#b1d85507daf3964828de54b37d0d73ba67dda56c" - integrity sha512-QpVuMTEoJMF7cKzi6bvWhRulU1fZqZnvyVQgNhPaxxuTYwyjn/j1v9falseQ/uXWwPnO56RBfwtg4h/EQXmucA== +diff-sequences@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.9.0.tgz#5715d6244e2aa65f48bba0bc972db0b0b11e95b5" + integrity sha512-Dj6Wk3tWyTE+Fo1rW8v0Xhwk80um6yFYKbuAxc9c3EZxIHFDYwbi34Uk42u1CdnIiVorvt4RmlSDjIPyzGC2ew== dir-glob@^2.2.2: version "2.2.2" @@ -4290,34 +3853,23 @@ docsify-cli@4.3.0: yargs "^7.0.2" docsify-server-renderer@>=4: - version "4.8.6" - resolved "https://registry.npmjs.org/docsify-server-renderer/-/docsify-server-renderer-4.8.6.tgz#c5875c5de2f22a48e9909895b3788529c8d77408" - integrity sha512-uRPoyyJDrdBx75vfXKX+rJDsIera8r3MNZ33H8fYHG5cM/6pOA5WQVBX1c6VXgpdiLCEsSweMQvltOVcROPf5A== + version "4.10.2" + resolved "https://registry.npmjs.org/docsify-server-renderer/-/docsify-server-renderer-4.10.2.tgz#90d0f54f118b9435893ec65537d8f0e25cea7042" + integrity sha512-xsHt2wNXJfXHPDdfEdLoAeLb1Koe+iuZCSS32xfcci+0pg1dbtqsi3/8rD+3iQeZ/kcZ5icWpeY21COtzOVuRg== dependencies: - debug "^2.6.8" + debug "^4.1.1" docsify "^4.8.0" - node-fetch "^1.7.0" - resolve-pathname "^2.1.0" - -docsify@>=3: - version "4.5.3" - resolved "https://registry.npmjs.org/docsify/-/docsify-4.5.3.tgz#08295179414a22dadcdbfeae6bde3c2b5a64101d" - integrity sha512-HUDvRFPJqa+4jf4www9bJWKpO6APCIbai0hP77uBLMsaEqwT9ixmtWOQCad4VDh5iuu0Usw4WiyUbPQloiEf+w== - dependencies: - marked "^0.3.6" - medium-zoom "^0.2.0" - prismjs "^1.6.0" - tinydate "^1.0.0" - tweezer.js "^1.4.0" + node-fetch "^2.6.0" + resolve-pathname "^3.0.0" -docsify@^4.8.0: - version "4.8.6" - resolved "https://registry.npmjs.org/docsify/-/docsify-4.8.6.tgz#e1cf19d64760c91a1471e6f99b69d175f9b86ef8" - integrity sha512-AFjLpFqe4J1EAYxkIlRtWQRLJidgx4hkdEFgSECcIwv82X7sDuQx4D6hlMEVbNVBFUr6b2XtYV2FhNhRFyO0Fw== +docsify@>=3, docsify@^4.8.0: + version "4.10.2" + resolved "https://registry.npmjs.org/docsify/-/docsify-4.10.2.tgz#0e4e7efad511b75680c69a4d648253e63c8cf647" + integrity sha512-Y1LbI29X9c4uRVEp7wGOYhy8lDrn47o96or0Dbj+pElxWk1cLYQ5CVYPHnf75P3oM1CrEGIrazac6AjYXaD1kw== dependencies: - marked "^0.5.1" - medium-zoom "^0.4.0" - opencollective "^1.0.3" + marked "^0.7.0" + medium-zoom "^1.0.4" + opencollective-postinstall "^2.0.2" prismjs "^1.15.0" tinydate "^1.0.0" tweezer.js "^1.4.0" @@ -4343,12 +3895,12 @@ dot-prop@^4.1.0, dot-prop@^4.2.0: dependencies: is-obj "^1.0.0" -duplexer2@^0.1.4: - version "0.1.4" - resolved "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz#8b12dab878c0d69e3e7891051662a32fc6bddcc1" - integrity sha1-ixLauHjA1p4+eJEFFmKjL8a93ME= +dot-prop@^5.1.0: + version "5.2.0" + resolved "https://registry.npmjs.org/dot-prop/-/dot-prop-5.2.0.tgz#c34ecc29556dc45f1f4c22697b6f4904e0cc4fcb" + integrity sha512-uEUyaDKoSQ1M4Oq8l45hSE26SnTxL6snNnqvK/VWx5wJhmff5z0FUVJDKDanor/6w3kzE3i7XZOk+7wC0EXr1A== dependencies: - readable-stream "^2.0.2" + is-obj "^2.0.0" duplexer3@^0.1.4: version "0.1.4" @@ -4360,10 +3912,10 @@ duplexer@^0.1.1: resolved "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1" integrity sha1-rOb/gIwc5mtX0ev5eXessCM0z8E= -duplexify@^3.1.2, duplexify@^3.4.2: - version "3.5.1" - resolved "https://registry.npmjs.org/duplexify/-/duplexify-3.5.1.tgz#4e1516be68838bc90a49994f0b39a6e5960befcd" - integrity sha512-j5goxHTwVED1Fpe5hh3q9R93Kip0Bg2KVAt4f8CEYM3UEwYcPSvWbXaUQOzdX/HtiNomipv+gU7ASQPDbV7pGQ== +duplexify@^3.4.2, duplexify@^3.6.0: + version "3.7.1" + resolved "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309" + integrity sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g== dependencies: end-of-stream "^1.0.0" inherits "^2.0.1" @@ -4371,44 +3923,55 @@ duplexify@^3.1.2, duplexify@^3.4.2: stream-shift "^1.0.0" ecc-jsbn@~0.1.1: - version "0.1.1" - resolved "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" - integrity sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU= + version "0.1.2" + resolved "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" + integrity sha1-OoOpBOVDUyh4dMVkt1SThoSamMk= dependencies: jsbn "~0.1.0" + safer-buffer "^2.1.0" ee-first@1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= -electron-to-chromium@^1.3.27: - version "1.3.27" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.27.tgz#78ecb8a399066187bb374eede35d9c70565a803d" - integrity sha1-eOy4o5kGYYe7N07t412ccFZagD0= +electron-to-chromium@^1.3.322: + version "1.3.322" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.322.tgz#a6f7e1c79025c2b05838e8e344f6e89eb83213a8" + integrity sha512-Tc8JQEfGQ1MzfSzI/bTlSr7btJv/FFO7Yh6tanqVmIWOuNCu6/D1MilIEgLtmWqIrsv+o4IjpLAhgMBr/ncNAA== elegant-spinner@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" integrity sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4= +emittery@^0.4.1: + version "0.4.1" + resolved "https://registry.npmjs.org/emittery/-/emittery-0.4.1.tgz#abe9d3297389ba424ac87e53d1c701962ce7433d" + integrity sha512-r4eRSeStEGf6M5SKdrQhhLK5bOwOBxQhIE3YSTnZE3GpKiLfnnhE+tPtrJE79+eDJgm39BM6LSoI8SCx4HbwlQ== + emoji-regex@^7.0.1: version "7.0.3" resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== -empower-core@^0.6.1: - version "0.6.2" - resolved "https://registry.npmjs.org/empower-core/-/empower-core-0.6.2.tgz#5adef566088e31fba80ba0a36df47d7094169144" - integrity sha1-Wt71ZgiOMfuoC6CjbfR9cJQWkUQ= +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +empower-core@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/empower-core/-/empower-core-1.2.0.tgz#ce3fb2484d5187fa29c23fba8344b0b2fdf5601c" + integrity sha512-g6+K6Geyc1o6FdXs9HwrXleCFan7d66G5xSCfSF7x1mJDCes6t0om9lFQG3zOrzh3Bkb/45N0cZ5Gqsf7YrzGQ== dependencies: call-signature "0.0.2" core-js "^2.0.0" -encodeurl@~1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.1.tgz#79e3d58655346909fe6f0f45a5de68103b294d20" - integrity sha1-eePVhlU0aQn+bw9Fpd5oEDspTSA= +encodeurl@~1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" + integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= encoding@^0.1.11: version "0.1.12" @@ -4417,24 +3980,17 @@ encoding@^0.1.11: dependencies: iconv-lite "~0.4.13" -end-of-stream@^1.0.0, end-of-stream@^1.1.0: - version "1.4.0" - resolved "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.0.tgz#7a90d833efda6cfa6eac0f4949dbb0fad3a63206" - integrity sha1-epDYM+/abPpurA9JSduw+tOmMgY= - dependencies: - once "^1.4.0" - -end-of-stream@^1.4.1: - version "1.4.1" - resolved "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43" - integrity sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q== +end-of-stream@^1.0.0, end-of-stream@^1.1.0, end-of-stream@^1.4.1: + version "1.4.4" + resolved "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" + integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== dependencies: once "^1.4.0" -env-paths@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/env-paths/-/env-paths-1.0.0.tgz#4168133b42bb05c38a35b1ae4397c8298ab369e0" - integrity sha1-QWgTO0K7BcOKNbGuQ5fIKYqzaeA= +env-paths@^2.2.0: + version "2.2.0" + resolved "https://registry.npmjs.org/env-paths/-/env-paths-2.2.0.tgz#cdca557dc009152917d6166e2febe1f039685e43" + integrity sha512-6u0VYSCo/OW6IoD5WCLLy9JUGARbamfSavcNXry/eu8aHVFei6CD3Sw+VGX5alea1i9pgPHW0mbu6Xj0uBh7gA== equal-length@^1.0.0: version "1.0.1" @@ -4447,42 +4003,47 @@ err-code@^1.0.0: integrity sha1-BuARbTAo9q70gGhJ6w6mp0iuaWA= error-ex@^1.2.0, error-ex@^1.3.1: - version "1.3.1" - resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc" - integrity sha1-+FWobOYa3E6GIcPNoh56dhLDqNw= + version "1.3.2" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== dependencies: is-arrayish "^0.2.1" -es-abstract@^1.5.1: - version "1.13.0" - resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.13.0.tgz#ac86145fdd5099d8dd49558ccba2eaf9b88e24e9" - integrity sha512-vDZfg/ykNxQVwup/8E1BZhVzFfBxs9NqMzGcvIJrqg5k2/5Za2bWo40dK2J1pgLngZ7c+Shh8lwYtLGyrwPutg== +es-abstract@^1.17.0-next.1: + version "1.17.0" + resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.0.tgz#f42a517d0036a5591dbb2c463591dc8bb50309b1" + integrity sha512-yYkE07YF+6SIBmg1MsJ9dlub5L48Ek7X0qz+c/CPCHS9EBXfESorzng4cJQjJW5/pB6vDF41u7F8vUhLVDqIug== dependencies: - es-to-primitive "^1.2.0" + es-to-primitive "^1.2.1" function-bind "^1.1.1" has "^1.0.3" - is-callable "^1.1.4" - is-regex "^1.0.4" - object-keys "^1.0.12" - -es-to-primitive@^1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz#edf72478033456e8dda8ef09e00ad9650707f377" - integrity sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg== + has-symbols "^1.0.1" + is-callable "^1.1.5" + is-regex "^1.0.5" + object-inspect "^1.7.0" + object-keys "^1.1.1" + object.assign "^4.1.0" + string.prototype.trimleft "^2.1.1" + string.prototype.trimright "^2.1.1" + +es-to-primitive@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" + integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== dependencies: is-callable "^1.1.4" is-date-object "^1.0.1" is-symbol "^1.0.2" -es6-error@^4.0.1, es6-error@^4.0.2: - version "4.0.2" - resolved "https://registry.npmjs.org/es6-error/-/es6-error-4.0.2.tgz#eec5c726eacef51b7f6b73c20db6e1b13b069c98" - integrity sha1-7sXHJurO9Rt/a3PCDbbhsTsGnJg= +es6-error@^4.0.1: + version "4.1.1" + resolved "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz#9e3af407459deed47e9a91f9b885a84eb05c561d" + integrity sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg== es6-promise@^4.0.3: - version "4.1.1" - resolved "https://registry.npmjs.org/es6-promise/-/es6-promise-4.1.1.tgz#8811e90915d9a0dba36274f0b242dbda78f9c92a" - integrity sha512-OaU1hHjgJf+b0NzsxCg7NdIYERD6Hy/PEmFLTjw+b65scuisG3Kt4QoTvJ66BBkPZ581gr0kpoVzKnxniM8nng== + version "4.2.8" + resolved "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" + integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w== es6-promisify@^5.0.0: version "5.0.0" @@ -4501,10 +4062,15 @@ escape-string-regexp@^1.0.0, escape-string-regexp@^1.0.2, escape-string-regexp@^ resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= +escape-string-regexp@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" + integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== + escodegen@^1.9.1: - version "1.11.1" - resolved "https://registry.npmjs.org/escodegen/-/escodegen-1.11.1.tgz#c485ff8d6b4cdb89e27f4a856e91f118401ca510" - integrity sha512-JwiqFD9KdGVVpeuRa68yU3zZnBEOcPs0nKW7wZzXky8Z7tffdYUHbe11bPCV5jYlK6DVdKLWLm0f5I/QlL0Kmw== + version "1.12.0" + resolved "https://registry.npmjs.org/escodegen/-/escodegen-1.12.0.tgz#f763daf840af172bb3a2b6dd7219c0e17f7ff541" + integrity sha512-TuA+EhsanGcme5T3R0L80u4t8CpbXQjegRmf7+FPTJrtCTErXFeelblRgHQa1FofEzqYYJmJ/OqjTwREp9qgmg== dependencies: esprima "^3.1.3" estraverse "^4.2.0" @@ -4513,6 +4079,11 @@ escodegen@^1.9.1: optionalDependencies: source-map "~0.6.1" +esm@^3.2.25: + version "3.2.25" + resolved "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz#342c18c29d56157688ba5ce31f8431fbb795cc10" + integrity sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA== + espower-location-detector@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/espower-location-detector/-/espower-location-detector-1.0.0.tgz#a17b7ecc59d30e179e2bef73fb4137704cb331b5" @@ -4529,26 +4100,26 @@ esprima@^3.1.3: integrity sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM= esprima@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804" - integrity sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw== + version "4.0.1" + resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" + integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== espurify@^1.6.0: - version "1.7.0" - resolved "https://registry.npmjs.org/espurify/-/espurify-1.7.0.tgz#1c5cf6cbccc32e6f639380bd4f991fab9ba9d226" - integrity sha1-HFz2y8zDLm9jk4C9T5kfq5up0iY= + version "1.8.1" + resolved "https://registry.npmjs.org/espurify/-/espurify-1.8.1.tgz#5746c6c1ab42d302de10bd1d5bf7f0e8c0515056" + integrity sha512-ZDko6eY/o+D/gHCWyHTU85mKDgYcS4FJj7S+YD6WIInm7GQ6AnOjmcL4+buFV/JOztVLELi/7MmuGU5NHta0Mg== dependencies: core-js "^2.0.0" estraverse@^4.0.0, estraverse@^4.1.1, estraverse@^4.2.0: - version "4.2.0" - resolved "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" - integrity sha1-De4/7TH81GlhjOc0IJn8GvoL2xM= + version "4.3.0" + resolved "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" + integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== -esutils@^2.0.2: - version "2.0.2" - resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" - integrity sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs= +esutils@^2.0.0, esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== etag@~1.8.1: version "1.8.1" @@ -4561,9 +4132,9 @@ eventemitter3@^3.1.0: integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q== exec-sh@^0.3.2: - version "0.3.2" - resolved "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.2.tgz#6738de2eb7c8e671d0366aea0b0db8c6f7d7391b" - integrity sha512-9sLAvzhI5nc8TpuQUh4ahMdCrWT00wPWz7j47/emR5+2qEfoZP5zzUXvx+vdx+H6ohhnsYC31iX04QLYJK8zTg== + version "0.3.4" + resolved "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.4.tgz#3a018ceb526cc6f6df2bb504b2bfe8e3a4934ec5" + integrity sha512-sEFIkc61v75sWeOe72qyrqg2Qg0OuLESziUDk/O/z2qgS15y2gWVFrI6f2Qn/qw/0/NCfCEsmNA4zOjkwEZT1A== execa@0.11.0: version "0.11.0" @@ -4578,32 +4149,6 @@ execa@0.11.0: signal-exit "^3.0.0" strip-eof "^1.0.0" -execa@0.9.0: - version "0.9.0" - resolved "https://registry.npmjs.org/execa/-/execa-0.9.0.tgz#adb7ce62cf985071f60580deb4a88b9e34712d01" - integrity sha512-BbUMBiX4hqiHZUA5+JujIjNb6TyAlp2D5KLheMjMluwOuzcnylDL4AxZYLLn1n2AGB49eSWwyKvvEQoRpnAtmA== - dependencies: - cross-spawn "^5.0.1" - get-stream "^3.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - -execa@^0.10.0: - version "0.10.0" - resolved "https://registry.npmjs.org/execa/-/execa-0.10.0.tgz#ff456a8f53f90f8eccc71a96d11bdfc7f082cb50" - integrity sha512-7XOMnz8Ynx1gGo/3hyV9loYNPWM94jG3+3T3Y8tsfSstFmETmENCMU/A/zj8Lyaj1lkgEepKepvd6240tBRvlw== - dependencies: - cross-spawn "^6.0.0" - get-stream "^3.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - execa@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" @@ -4667,17 +4212,17 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2: dependencies: homedir-polyfill "^1.0.1" -expect@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/expect/-/expect-24.8.0.tgz#471f8ec256b7b6129ca2524b2a62f030df38718d" - integrity sha512-/zYvP8iMDrzaaxHVa724eJBCKqSHmO0FA7EDkBiRHxg6OipmMn1fN+C8T9L9K8yr7UONkOifu6+LLH+z76CnaA== +expect@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/expect/-/expect-24.9.0.tgz#b75165b4817074fa4a157794f46fe9f1ba15b6ca" + integrity sha512-wvVAx8XIol3Z5m9zvZXiyZOQ+sRJqNTIm6sGjdWlaZIeupQGO3WbYI+15D/AmEwZywL6wtJkbAbJtzkOfBuR0Q== dependencies: - "@jest/types" "^24.8.0" + "@jest/types" "^24.9.0" ansi-styles "^3.2.0" - jest-get-type "^24.8.0" - jest-matcher-utils "^24.8.0" - jest-message-util "^24.8.0" - jest-regex-util "^24.3.0" + jest-get-type "^24.9.0" + jest-matcher-utils "^24.9.0" + jest-message-util "^24.9.0" + jest-regex-util "^24.9.0" extend-shallow@^2.0.1: version "2.0.1" @@ -4694,29 +4239,15 @@ extend-shallow@^3.0.0, extend-shallow@^3.0.2: assign-symbols "^1.0.0" is-extendable "^1.0.1" -extend@~3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" - integrity sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ= - extend@~3.0.2: version "3.0.2" resolved "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== -external-editor@^2.0.1: - version "2.2.0" - resolved "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz#045511cfd8d133f3846673d1047c154e214ad3d5" - integrity sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A== - dependencies: - chardet "^0.4.0" - iconv-lite "^0.4.17" - tmp "^0.0.33" - external-editor@^3.0.0, external-editor@^3.0.3: - version "3.0.3" - resolved "https://registry.npmjs.org/external-editor/-/external-editor-3.0.3.tgz#5866db29a97826dbe4bf3afd24070ead9ea43a27" - integrity sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA== + version "3.1.0" + resolved "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" + integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== dependencies: chardet "^0.7.0" iconv-lite "^0.4.24" @@ -4743,28 +4274,36 @@ extglob@^2.0.4: snapdragon "^0.8.1" to-regex "^3.0.1" -extsprintf@1.3.0, extsprintf@^1.2.0: +extsprintf@1.3.0: version "1.3.0" resolved "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" integrity sha1-lpGEQOMEGnpBT4xS48V06zw+HgU= -fast-async@^6.3.0: - version "6.3.0" - resolved "https://registry.npmjs.org/fast-async/-/fast-async-6.3.0.tgz#b90e7d68f273905878a76ab7047dd080ebc3c40f" - integrity sha512-db5wfZ2+cv15bMfXbH9axCslxsTrhquGfkZiVhmUn2gFdNRnp8sweMSH1/9+M0+fHVHhHZBwll3SqCiNlcQhzg== +extsprintf@^1.2.0: + version "1.4.0" + resolved "https://registry.npmjs.org/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" + integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8= + +fast-async@^7.0.6: + version "7.0.6" + resolved "https://registry.npmjs.org/fast-async/-/fast-async-7.0.6.tgz#a9bcc0b4aa6c7a5b25f0cec1a9b7324d13cb169b" + integrity sha512-/iUa3eSQC+Xh5tN6QcVLsEsN7b1DaPIoTZo++VpLLIxtdNW2tEmMZex4TcrMeRnBwMOpZwue2CB171wjt5Kgqg== dependencies: - nodent-compiler ">=3.1.0" - nodent-runtime ">=3.0.4" + "@babel/generator" "^7.0.0-beta.44" + "@babel/helper-module-imports" "^7.0.0-beta.44" + babylon "^7.0.0-beta.44" + nodent-runtime "^3.2.1" + nodent-transform "^3.2.4" fast-deep-equal@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= -fast-diff@^1.1.1: - version "1.1.2" - resolved "https://registry.npmjs.org/fast-diff/-/fast-diff-1.1.2.tgz#4b62c42b8e03de3f848460b639079920695d0154" - integrity sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig== +fast-diff@^1.1.2: + version "1.2.0" + resolved "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" + integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== fast-glob@^2.2.6: version "2.2.7" @@ -4779,23 +4318,22 @@ fast-glob@^2.2.6: micromatch "^3.1.10" fast-glob@^3.0.3: - version "3.0.3" - resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.0.3.tgz#084221f4225d51553bccd5ff4afc17aafa869412" - integrity sha512-scDJbDhN+6S4ELXzzN96Fqm5y1CMRn+Io3C4Go+n/gUKP+LW26Wma6IxLSsX2eAMBUOFmyHKDBrUSuoHsycQ5A== + version "3.1.1" + resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.1.1.tgz#87ee30e9e9f3eb40d6f254a7997655da753d7c82" + integrity sha512-nTCREpBY8w8r+boyFYAx21iL6faSsQynliPHM4Uf56SbkyohCNxpVPEH9xrF5TXKy+IsjkPUHDKiUkzBVRXn9g== dependencies: - "@nodelib/fs.stat" "^2.0.1" - "@nodelib/fs.walk" "^1.2.1" - glob-parent "^5.0.0" - is-glob "^4.0.1" - merge2 "^1.2.3" + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.0" + merge2 "^1.3.0" micromatch "^4.0.2" fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" - integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I= + version "2.1.0" + resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== -fast-levenshtein@~2.0.4: +fast-levenshtein@~2.0.6: version "2.0.6" resolved "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= @@ -4808,11 +4346,11 @@ fastq@^1.6.0: reusify "^1.0.0" fb-watchman@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.0.tgz#54e9abf7dfa2f26cd9b1636c588c1afc05de5d58" - integrity sha1-VOmr99+i8mzZsWNsWIwa/AXeXVg= + version "2.0.1" + resolved "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz#fc84fb39d2709cf3ff6d743706157bb5708a8a85" + integrity sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg== dependencies: - bser "^2.0.0" + bser "2.1.1" figgy-pudding@^3.4.1, figgy-pudding@^3.5.1: version "3.5.1" @@ -4820,9 +4358,9 @@ figgy-pudding@^3.4.1, figgy-pudding@^3.5.1: integrity sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w== figlet@^1.1.1: - version "1.2.0" - resolved "https://registry.npmjs.org/figlet/-/figlet-1.2.0.tgz#6c46537378fab649146b5a6143dda019b430b410" - integrity sha1-bEZTc3j6tkkUa1phQ92gGbQwtBA= + version "1.2.4" + resolved "https://registry.npmjs.org/figlet/-/figlet-1.2.4.tgz#2d2f48b61a77418ba6cbd9db2e25da27efee16d0" + integrity sha512-mv8YA9RruB4C5QawPaD29rEVx3N97ZTyNrE4DAfbhuo6tpcMdKnPVo8MlyT3RP5uPcg5M14bEJBq7kjFf4kAWg== figures@^1.3.5, figures@^1.7.0: version "1.7.0" @@ -4839,6 +4377,18 @@ figures@^2.0.0: dependencies: escape-string-regexp "^1.0.5" +figures@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/figures/-/figures-3.1.0.tgz#4b198dd07d8d71530642864af2d45dd9e459c4ec" + integrity sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg== + dependencies: + escape-string-regexp "^1.0.5" + +file-uri-to-path@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== + filename-regex@^2.0.0: version "2.0.1" resolved "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" @@ -4869,41 +4419,27 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" -filled-array@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/filled-array/-/filled-array-1.1.0.tgz#c3c4f6c663b923459a9aa29912d2d031f1507f84" - integrity sha1-w8T2xmO5I0WamqKZEtLQMfFQf4Q= - -finalhandler@1.0.6: - version "1.0.6" - resolved "https://registry.npmjs.org/finalhandler/-/finalhandler-1.0.6.tgz#007aea33d1a4d3e42017f624848ad58d212f814f" - integrity sha1-AHrqM9Gk0+QgF/YkhIrVjSEvgU8= +finalhandler@1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d" + integrity sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA== dependencies: debug "2.6.9" - encodeurl "~1.0.1" + encodeurl "~1.0.2" escape-html "~1.0.3" on-finished "~2.3.0" - parseurl "~1.3.2" - statuses "~1.3.1" + parseurl "~1.3.3" + statuses "~1.5.0" unpipe "~1.0.0" -find-cache-dir@^0.1.1: - version "0.1.1" - resolved "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-0.1.1.tgz#c8defae57c8a52a8a784f9e31c57c742e993a0b9" - integrity sha1-yN765XyKUqinhPnjHFfHQumToLk= - dependencies: - commondir "^1.0.1" - mkdirp "^0.5.1" - pkg-dir "^1.0.0" - -find-cache-dir@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz#9288e3e9e3cc3748717d39eade17cf71fc30ee6f" - integrity sha1-kojj6ePMN0hxfTnq3hfPcfww7m8= +find-cache-dir@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" + integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ== dependencies: commondir "^1.0.1" - make-dir "^1.0.0" - pkg-dir "^2.0.0" + make-dir "^2.0.0" + pkg-dir "^3.0.0" find-node-modules@2.0.0: version "2.0.0" @@ -4931,7 +4467,7 @@ find-up@^1.0.0: path-exists "^2.0.0" pinkie-promise "^2.0.0" -find-up@^2.0.0, find-up@^2.1.0: +find-up@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" integrity sha1-RdG35QbHF93UgndaK3eSCjwMV6c= @@ -4945,12 +4481,13 @@ find-up@^3.0.0: dependencies: locate-path "^3.0.0" -find-up@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/find-up/-/find-up-4.0.0.tgz#c367f8024de92efb75f2d4906536d24682065c3a" - integrity sha512-zoH7ZWPkRdgwYCDVoQTzqjG8JSPANhtvLhh4KVUHyKnaUJJrNeFmWIkTcNuJmR3GLMEmGYEf2S2bjgx26JTF+Q== +find-up@^4.0.0, find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== dependencies: locate-path "^5.0.0" + path-exists "^4.0.0" findup-sync@^3.0.0: version "3.0.0" @@ -4963,14 +4500,14 @@ findup-sync@^3.0.0: resolve-dir "^1.0.1" flush-write-stream@^1.0.0: - version "1.0.2" - resolved "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.0.2.tgz#c81b90d8746766f1a609a46809946c45dd8ae417" - integrity sha1-yBuQ2HRnZvGmCaRoCZRsRd2K5Bc= + version "1.1.1" + resolved "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8" + integrity sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w== dependencies: - inherits "^2.0.1" - readable-stream "^2.0.4" + inherits "^2.0.3" + readable-stream "^2.3.6" -fn-name@^2.0.0, fn-name@~2.0.1: +fn-name@~2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/fn-name/-/fn-name-2.0.1.tgz#5214d7537a4d06a4a301c0cc262feb84188002e7" integrity sha1-UhTXU3pNBqSjAcDMJi/rhBiAAuc= @@ -4992,15 +4529,6 @@ forever-agent@~0.6.1: resolved "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= -form-data@~2.1.1: - version "2.1.4" - resolved "https://registry.npmjs.org/form-data/-/form-data-2.1.4.tgz#33c183acf193276ecaa98143a69e94bfee1750d1" - integrity sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE= - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.5" - mime-types "^2.1.12" - form-data@~2.3.2: version "2.3.3" resolved "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" @@ -5062,13 +4590,13 @@ fs-extra@^8.1.0: universalify "^0.1.0" fs-minipass@^1.2.5: - version "1.2.5" - resolved "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.5.tgz#06c277218454ec288df77ada54a03b8702aacb9d" - integrity sha512-JhBl0skXjUPCFH7x6x61gQxrKyXsxB5gcgePLZCwfyCGGsTISMoIeObbrvVeP6Xmyaudw4TT43qV2Gz+iyd2oQ== + version "1.2.7" + resolved "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" + integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA== dependencies: - minipass "^2.2.1" + minipass "^2.6.0" -fs-readdir-recursive@^1.0.0: +fs-readdir-recursive@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz#e32fc030a2ccee44a6b5371308da54be0b397d27" integrity sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA== @@ -5088,51 +4616,24 @@ fs.realpath@^1.0.0: resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= -fsevents@^1.0.0: - version "1.1.3" - resolved "https://registry.npmjs.org/fsevents/-/fsevents-1.1.3.tgz#11f82318f5fe7bb2cd22965a108e9306208216d8" - integrity sha512-WIr7iDkdmdbxu/Gh6eKEZJL6KPE74/5MEsf2whTOFNxbIoIixogroLdKYqB6FDav4Wavh/lZdzzd3b2KxIXC5Q== - dependencies: - nan "^2.3.0" - node-pre-gyp "^0.6.39" - -fsevents@^1.2.7: - version "1.2.9" - resolved "https://registry.npmjs.org/fsevents/-/fsevents-1.2.9.tgz#3f5ed66583ccd6f400b5a00db6f7e861363e388f" - integrity sha512-oeyj2H3EjjonWcFjD5NvZNE9Rqe4UW+nQBU2HNeKw0koVLEFIhtyETyAakeAM3de7Z/SW5kcA+fZUait9EApnw== +fsevents@^1.0.0, fsevents@^1.2.7: + version "1.2.11" + resolved "https://registry.npmjs.org/fsevents/-/fsevents-1.2.11.tgz#67bf57f4758f02ede88fb2a1712fef4d15358be3" + integrity sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw== dependencies: + bindings "^1.5.0" nan "^2.12.1" - node-pre-gyp "^0.12.0" -fstream-ignore@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/fstream-ignore/-/fstream-ignore-1.0.5.tgz#9c31dae34767018fe1d249b24dada67d092da105" - integrity sha1-nDHa40dnAY/h0kmyTa2mfQktoQU= - dependencies: - fstream "^1.0.0" - inherits "2" - minimatch "^3.0.0" - -fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2: - version "1.0.11" - resolved "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz#5c1fb1f117477114f0632a0eb4b71b3cb0fd3171" - integrity sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE= - dependencies: - graceful-fs "^4.1.2" - inherits "~2.0.0" - mkdirp ">=0.5 0" - rimraf "2" +fsevents@~2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.1.2.tgz#4c0a1fb34bc68e543b4b82a9ec392bfbda840805" + integrity sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA== function-bind@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== -function-name-support@^0.2.0: - version "0.2.0" - resolved "https://registry.npmjs.org/function-name-support/-/function-name-support-0.2.0.tgz#55d3bfaa6eafd505a50f9bc81fdf57564a0bb071" - integrity sha1-VdO/qm6v1QWlD5vIH99XVkoLsHE= - g-status@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/g-status/-/g-status-2.0.2.tgz#270fd32119e8fc9496f066fe5fe88e0a6bc78b97" @@ -5162,9 +4663,9 @@ genfun@^5.0.0: integrity sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA== get-caller-file@^1.0.1: - version "1.0.2" - resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" - integrity sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U= + version "1.0.3" + resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" + integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== get-caller-file@^2.0.1: version "2.0.5" @@ -5172,9 +4673,9 @@ get-caller-file@^2.0.1: integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== get-own-enumerable-property-symbols@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.0.tgz#b877b49a5c16aefac3655f2ed2ea5b684df8d203" - integrity sha512-CIJYJC4GGF06TakLg8z4GQKvDsx9EMspVxOYih7LerEL/WosUnFIww45CGfxfeKHqlg3twgUrYRT1O3WQqjGCg== + version "3.0.2" + resolved "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664" + integrity sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g== get-pkg-repo@^1.0.0: version "1.4.0" @@ -5187,23 +4688,16 @@ get-pkg-repo@^1.0.0: parse-github-repo-url "^1.3.0" through2 "^2.0.0" -get-port@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/get-port/-/get-port-2.1.0.tgz#8783f9dcebd1eea495a334e1a6a251e78887ab1a" - integrity sha1-h4P53OvR7qSVozThpqJR54iHqxo= - dependencies: - pinkie-promise "^2.0.0" - -get-port@^3.0.0: - version "3.2.0" - resolved "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz#dd7ce7de187c06c8bf353796ac71e099f0980ebc" - integrity sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw= - get-port@^4.2.0: version "4.2.0" resolved "https://registry.npmjs.org/get-port/-/get-port-4.2.0.tgz#e37368b1e863b7629c43c5a323625f95cf24b119" integrity sha512-/b3jarXkH8KJoOMQc3uVGHASwGLPq3gSFJ7tgJm2diza+bydJPTGOibin2steecKeOylE8oY2JERlVWkAJO6yw== +get-port@^5.0.0: + version "5.1.0" + resolved "https://registry.npmjs.org/get-port/-/get-port-5.1.0.tgz#a8f6510d0000f07d5c65653a4b0ae648fe832683" + integrity sha512-bjioH1E9bTQUvgaB6VycVy1QVbTZI41yTnF9qkZz6ixgy/uhCH6D63bKeZ6Code/07JYA61MeI94jSdHss8PNA== + get-stdin@7.0.0, get-stdin@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz#8d5de98f15171a125c5e516643c7a6d0ea8a96f6" @@ -5226,6 +4720,13 @@ get-stream@^4.0.0, get-stream@^4.1.0: dependencies: pump "^3.0.0" +get-stream@^5.1.0: + version "5.1.0" + resolved "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz#01203cdc92597f9b909067c3e656cc1f4d3c4dc9" + integrity sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw== + dependencies: + pump "^3.0.0" + get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" @@ -5238,7 +4739,7 @@ getpass@^0.1.1: dependencies: assert-plus "^1.0.0" -git-raw-commits@2.0.0, git-raw-commits@^2.0.0: +git-raw-commits@2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.0.tgz#d92addf74440c14bcc5c83ecce3fb7f8a79118b5" integrity sha512-w4jFEJFgKXMQJ0H0ikBk2S+4KP2VEjhCvLCNqbNRQC8BgGWgLKNCO7a9K9LI+TVT7Gfoloje502sEnctibffgg== @@ -5249,6 +4750,17 @@ git-raw-commits@2.0.0, git-raw-commits@^2.0.0: split2 "^2.0.0" through2 "^2.0.0" +git-raw-commits@^2.0.0: + version "2.0.3" + resolved "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.3.tgz#f040e67b8445962d4d168903a9e84c4240c17655" + integrity sha512-SoSsFL5lnixVzctGEi2uykjA7B5I0AhO9x6kdzvGRHbxsa6JSEgrgy1esRKsfOKE1cgyOJ/KDR2Trxu157sb8w== + dependencies: + dargs "^4.0.1" + lodash.template "^4.0.2" + meow "^5.0.0" + split2 "^2.0.0" + through2 "^3.0.0" + git-remote-origin-url@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz#5282659dae2107145a11126112ad3216ec5fa65f" @@ -5257,14 +4769,6 @@ git-remote-origin-url@^2.0.0: gitconfiglocal "^1.0.0" pify "^2.3.0" -git-semver-tags@^2.0.2: - version "2.0.2" - resolved "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-2.0.2.tgz#f506ec07caade191ac0c8d5a21bdb8131b4934e3" - integrity sha512-34lMF7Yo1xEmsK2EkbArdoU79umpvm0MfzaDkSNYSJqtM5QLAVTPWgpiXSVI5o/O9EvZPSrP4Zvnec/CqhSd5w== - dependencies: - meow "^4.0.0" - semver "^5.5.0" - git-semver-tags@^2.0.3: version "2.0.3" resolved "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-2.0.3.tgz#48988a718acf593800f99622a952a77c405bfa34" @@ -5318,10 +4822,10 @@ glob-parent@^3.1.0: is-glob "^3.1.0" path-dirname "^1.0.0" -glob-parent@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.0.0.tgz#1dc99f0f39b006d3e92c2c284068382f0c20e954" - integrity sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg== +glob-parent@^5.0.0, glob-parent@^5.1.0, glob-parent@~5.1.0: + version "5.1.0" + resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz#5f4c1d1e748d30cd73ad2944b3577a81b081e8c2" + integrity sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw== dependencies: is-glob "^4.0.1" @@ -5330,7 +4834,7 @@ glob-to-regexp@^0.3.0: resolved "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" integrity sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs= -glob@7.1.3, glob@^7.1.3: +glob@7.1.3: version "7.1.3" resolved "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1" integrity sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ== @@ -5342,22 +4846,10 @@ glob@7.1.3, glob@^7.1.3: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2: - version "7.1.2" - resolved "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" - integrity sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^7.1.4: - version "7.1.4" - resolved "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" - integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== +glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: + version "7.1.6" + resolved "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" + integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" @@ -5398,12 +4890,7 @@ globals@^11.1.0: resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globals@^9.18.0: - version "9.18.0" - resolved "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" - integrity sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ== - -globby@10.0.1: +globby@10.0.1, globby@^10.0.1: version "10.0.1" resolved "https://registry.npmjs.org/globby/-/globby-10.0.1.tgz#4782c34cb75dd683351335c5829cc3420e606b22" integrity sha512-sSs4inE1FB2YQiymcmTv6NWENryABjUNPeWhOvmn4SjtKybglsyPZxFB3U1/+L1bYi0rNZDqCLlHyLYDl1Pq5A== @@ -5417,7 +4904,7 @@ globby@10.0.1: merge2 "^1.2.3" slash "^3.0.0" -globby@^6.0.0, globby@^6.1.0: +globby@^6.1.0: version "6.1.0" resolved "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" integrity sha1-9abXDoOV4hyFj7BInWTfAkJNUGw= @@ -5449,27 +4936,6 @@ good-listener@^1.2.2: dependencies: delegate "^3.1.2" -got@^5.0.0: - version "5.7.1" - resolved "https://registry.npmjs.org/got/-/got-5.7.1.tgz#5f81635a61e4a6589f180569ea4e381680a51f35" - integrity sha1-X4FjWmHkplifGAVp6k44FoClHzU= - dependencies: - create-error-class "^3.0.1" - duplexer2 "^0.1.4" - is-redirect "^1.0.0" - is-retry-allowed "^1.0.0" - is-stream "^1.0.0" - lowercase-keys "^1.0.0" - node-status-codes "^1.0.0" - object-assign "^4.0.1" - parse-json "^2.1.0" - pinkie-promise "^2.0.0" - read-all-stream "^3.0.0" - readable-stream "^2.0.5" - timed-out "^3.0.0" - unzip-response "^1.0.2" - url-parse-lax "^1.0.0" - got@^6.7.1: version "6.7.1" resolved "https://registry.npmjs.org/got/-/got-6.7.1.tgz#240cd05785a9a18e561dc1b44b41c763ef1e8db0" @@ -5487,41 +4953,37 @@ got@^6.7.1: unzip-response "^2.0.1" url-parse-lax "^1.0.0" -graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.4, graceful-fs@^4.1.6: - version "4.1.11" - resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" - integrity sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg= - -graceful-fs@^4.1.15: - version "4.1.15" - resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz#ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00" - integrity sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA== +got@^9.6.0: + version "9.6.0" + resolved "https://registry.npmjs.org/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85" + integrity sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q== + dependencies: + "@sindresorhus/is" "^0.14.0" + "@szmarczak/http-timer" "^1.1.2" + cacheable-request "^6.0.0" + decompress-response "^3.3.0" + duplexer3 "^0.1.4" + get-stream "^4.1.0" + lowercase-keys "^1.0.1" + mimic-response "^1.0.1" + p-cancelable "^1.0.0" + to-readable-stream "^1.0.0" + url-parse-lax "^3.0.0" -graceful-fs@^4.2.0: - version "4.2.2" - resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.2.tgz#6f0952605d0140c1cfdb138ed005775b92d67b02" - integrity sha512-IItsdsea19BoLC7ELy13q1iJFNmd7ofZH5+X/pJr90/nRoPEX0DJo1dHDbgtYWOhJhcCgMDTOw84RZ72q6lB+Q== +graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2: + version "4.2.3" + resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" + integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== growly@^1.3.0: version "1.3.0" resolved "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" integrity sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE= -handlebars@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.1.0.tgz#0d6a6f34ff1f63cecec8423aa4169827bf787c3a" - integrity sha512-l2jRuU1NAWK6AW5qqcTATWQJvNPEwkM7NEKSiv/gqOsoSQbVoWyqVEY5GS+XPQ88zLNmqASRpzfdm8d79hJS+w== - dependencies: - async "^2.5.0" - optimist "^0.6.1" - source-map "^0.6.1" - optionalDependencies: - uglify-js "^3.1.4" - -handlebars@^4.1.2: - version "4.1.2" - resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.1.2.tgz#b6b37c1ced0306b221e094fc7aca3ec23b131b67" - integrity sha512-nvfrjqvt9xQ8Z/w0ijewdD/vvWDTOweBUm96NTr66Wfvo1mJenBLwcYmPs3TIBP5ruzYGD7Hx/DaM9RmhroGPw== +handlebars@^4.1.2, handlebars@^4.4.0: + version "4.5.3" + resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz#5cf75bd8714f7605713511a56be7c349becb0482" + integrity sha512-3yPecJoJHK/4c6aZhSvxOyG4vJKDshV36VHp0iVCDVh7o9w2vwi3NSnL2MMPj3YdduqaBcu7cGbggJQM0br9xA== dependencies: neo-async "^2.6.0" optimist "^0.6.1" @@ -5529,24 +4991,11 @@ handlebars@^4.1.2: optionalDependencies: uglify-js "^3.1.4" -har-schema@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e" - integrity sha1-0mMTX0MwfALGAq/I/pWXDAFRNp4= - har-schema@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI= -har-validator@~4.2.1: - version "4.2.1" - resolved "https://registry.npmjs.org/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" - integrity sha1-M0gdDxu/9gDdID11gSpqX7oALio= - dependencies: - ajv "^4.9.1" - har-schema "^1.0.5" - har-validator@~5.1.0: version "5.1.3" resolved "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080" @@ -5569,30 +5018,25 @@ has-ansi@^2.0.0: dependencies: ansi-regex "^2.0.0" -has-color@~0.1.0: - version "0.1.7" - resolved "https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz#67144a5260c34fc3cca677d041daf52fe7b78b2f" - integrity sha1-ZxRKUmDDT8PMpnfQQdr1L+e3iy8= - has-flag@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" integrity sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo= -has-flag@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" - integrity sha1-6CB68cx7MNRGzHC3NLXovhj4jVE= - has-flag@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= -has-symbols@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44" - integrity sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q= +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has-symbols@^1.0.0, has-symbols@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8" + integrity sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg== has-unicode@^2.0.0, has-unicode@^2.0.1: version "2.0.1" @@ -5630,41 +5074,31 @@ has-values@^1.0.0: is-number "^3.0.0" kind-of "^4.0.0" -has-yarn@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/has-yarn/-/has-yarn-1.0.0.tgz#89e25db604b725c8f5976fff0addc921b828a5a7" - integrity sha1-ieJdtgS3Jcj1l2//Ct3JIbgopac= +has-yarn@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77" + integrity sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw== -has@^1.0.1, has@^1.0.3: +has@^1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== dependencies: function-bind "^1.1.1" -hawk@3.1.3, hawk@~3.1.3: - version "3.1.3" - resolved "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" - integrity sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ= +hasha@^5.0.0: + version "5.1.0" + resolved "https://registry.npmjs.org/hasha/-/hasha-5.1.0.tgz#dd05ccdfcfe7dab626247ce2a58efe461922f4ca" + integrity sha512-OFPDWmzPN1l7atOV1TgBVmNtBxaIysToK6Ve9DK+vT6pYuklw/nPNT+HJbZi0KDcI6vWB+9tgvZ5YD7fA3CXcA== dependencies: - boom "2.x.x" - cryptiles "2.x.x" - hoek "2.x.x" - sntp "1.x.x" + is-stream "^2.0.0" + type-fest "^0.8.0" -hoek@2.x.x, hoek@5.0.3: +hoek@5.0.3: version "5.0.3" - resolved "https://registry.yarnpkg.com/hoek/-/hoek-5.0.3.tgz#b71d40d943d0a95da01956b547f83c4a5b4a34ac" + resolved "https://registry.npmjs.org/hoek/-/hoek-5.0.3.tgz#b71d40d943d0a95da01956b547f83c4a5b4a34ac" integrity sha512-Bmr56pxML1c9kU+NS51SMFkiVQAb+9uFfXwyqR2tn4w2FPvmPt65eZ9aCcEfRXd9G74HkZnILC6p967pED4aiw== -home-or-tmp@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" - integrity sha1-42w/LSyufXRqhX440Y1fMqeILbg= - dependencies: - os-homedir "^1.0.0" - os-tmpdir "^1.0.1" - homedir-polyfill@^1.0.1: version "1.0.3" resolved "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" @@ -5672,15 +5106,10 @@ homedir-polyfill@^1.0.1: dependencies: parse-passwd "^1.0.0" -hosted-git-info@^2.1.4: - version "2.5.0" - resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.5.0.tgz#6d60e34b3abbc8313062c3b798ef8d901a07af3c" - integrity sha512-pNgbURSuab90KbTqvRPsseaTxOJCZBD0a7t+haSN33piP9cCM4l0CqdzAif2hUqm716UovKB2ROmiabGAKVXyg== - -hosted-git-info@^2.6.0: - version "2.7.1" - resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz#97f236977bd6e125408930ff6de3eec6281ec047" - integrity sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w== +hosted-git-info@^2.1.4, hosted-git-info@^2.7.1: + version "2.8.5" + resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c" + integrity sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg== html-encoding-sniffer@^1.0.2: version "1.0.2" @@ -5694,15 +5123,21 @@ http-cache-semantics@^3.8.1: resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2" integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w== -http-errors@~1.6.2: - version "1.6.2" - resolved "https://registry.npmjs.org/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736" - integrity sha1-CgAsyFcHGSp+eUbO7cERVfYOxzY= +http-cache-semantics@^4.0.0: + version "4.0.3" + resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.0.3.tgz#495704773277eeef6e43f9ab2c2c7d259dda25c5" + integrity sha512-TcIMG3qeVLgDr1TEd2XvHaTnMPwYQUQMIBLy+5pLSDKYFc7UIqj39w8EGzZkaxoLv/l2K8HaI0t5AVA+YYgUew== + +http-errors@~1.7.2: + version "1.7.3" + resolved "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz#6c619e4f9c60308c38519498c14fbb10aacebb06" + integrity sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw== dependencies: - depd "1.1.1" - inherits "2.0.3" - setprototypeof "1.0.3" - statuses ">= 1.3.1 < 2" + depd "~1.1.2" + inherits "2.0.4" + setprototypeof "1.1.1" + statuses ">= 1.5.0 < 2" + toidentifier "1.0.0" http-proxy-agent@^2.1.0: version "2.1.0" @@ -5712,15 +5147,6 @@ http-proxy-agent@^2.1.0: agent-base "4" debug "3.1.0" -http-signature@~1.1.0: - version "1.1.1" - resolved "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" - integrity sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8= - dependencies: - assert-plus "^0.2.0" - jsprim "^1.2.2" - sshpk "^1.7.0" - http-signature@~1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" @@ -5728,35 +5154,15 @@ http-signature@~1.2.0: dependencies: assert-plus "^1.0.0" jsprim "^1.2.2" - sshpk "^1.7.0" - -https-proxy-agent@^2.2.1: - version "2.2.1" - resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz#51552970fa04d723e04c56d04178c3f92592bbc0" - integrity sha512-HPCTS1LW51bcyMYbxUIOO4HEOlQ1/1qRaFWcyxvwaqUS9TY88aoEuHUY33kuAh1YhVVaDQhLZsnPd+XNARWZlQ== - dependencies: - agent-base "^4.1.0" - debug "^3.1.0" + sshpk "^1.7.0" -hullabaloo-config-manager@^1.1.0: - version "1.1.1" - resolved "https://registry.npmjs.org/hullabaloo-config-manager/-/hullabaloo-config-manager-1.1.1.tgz#1d9117813129ad035fd9e8477eaf066911269fe3" - integrity sha512-ztKnkZV0TmxnumCDHHgLGNiDnotu4EHCp9YMkznWuo4uTtCyJ+cu+RNcxUeXYKTllpvLFWnbfWry09yzszgg+A== +https-proxy-agent@^2.2.3: + version "2.2.4" + resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz#4ee7a737abd92678a293d9b34a1af4d0d08c787b" + integrity sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg== dependencies: - dot-prop "^4.1.0" - es6-error "^4.0.2" - graceful-fs "^4.1.11" - indent-string "^3.1.0" - json5 "^0.5.1" - lodash.clonedeep "^4.5.0" - lodash.clonedeepwith "^4.5.0" - lodash.isequal "^4.5.0" - lodash.merge "^4.6.0" - md5-hex "^2.0.0" - package-hash "^2.0.0" - pkg-dir "^2.0.0" - resolve-from "^3.0.0" - safe-buffer "^5.0.1" + agent-base "^4.3.0" + debug "^3.1.0" humanize-ms@^1.2.1: version "1.2.1" @@ -5782,18 +5188,13 @@ husky@3.0.9: run-node "^1.0.0" slash "^3.0.0" -iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4: +iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13: version "0.4.24" resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== dependencies: safer-buffer ">= 2.1.2 < 3" -iconv-lite@^0.4.17, iconv-lite@~0.4.13: - version "0.4.19" - resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b" - integrity sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ== - iferr@^0.1.5: version "0.1.5" resolved "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" @@ -5805,9 +5206,9 @@ ignore-by-default@^1.0.0: integrity sha1-SMptcvbGo68Aqa1K5odr44ieKwk= ignore-walk@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz#a83e62e7d272ac0e3b551aaa82831a19b69f82f8" - integrity sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ== + version "3.0.3" + resolved "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz#017e2447184bfeade7c238e4aefdd1e8f95b1e37" + integrity sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw== dependencies: minimatch "^3.0.4" @@ -5817,9 +5218,9 @@ ignore@^4.0.3: integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== ignore@^5.1.1: - version "5.1.2" - resolved "https://registry.npmjs.org/ignore/-/ignore-5.1.2.tgz#e28e584d43ad7e92f96995019cc43b9e1ac49558" - integrity sha512-vdqWBp7MyzdmHkkRWV5nY+PfGRbYbahfuvsBCh277tq+w9zyNi7h5CYJCK0kmzti9kU+O/cB7sE8HvKv6aXAKQ== + version "5.1.4" + resolved "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz#84b7b3dbe64552b6ef0eca99f6743dbec6d97adf" + integrity sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A== import-fresh@^2.0.0: version "2.0.0" @@ -5830,9 +5231,9 @@ import-fresh@^2.0.0: resolve-from "^3.0.0" import-fresh@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.0.0.tgz#a3d897f420cab0e671236897f75bc14b4885c390" - integrity sha512-pOnA9tfM3Uwics+SaBLCNyZZZbK+4PTu0OPZtLlMIrv17EdBoC15S9Kn8ckJ9TZTyKb3ywNE5y1yeDxxGA7nTQ== + version "3.2.1" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" + integrity sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ== dependencies: parent-module "^1.0.0" resolve-from "^4.0.0" @@ -5849,14 +5250,6 @@ import-lazy@^2.1.0: resolved "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" integrity sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM= -import-local@^0.1.1: - version "0.1.1" - resolved "https://registry.npmjs.org/import-local/-/import-local-0.1.1.tgz#b1179572aacdc11c6a91009fb430dbcab5f668a8" - integrity sha1-sReVcqrNwRxqkQCftDDbyrX2aKg= - dependencies: - pkg-dir "^2.0.0" - resolve-cwd "^2.0.0" - import-local@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz#55070be38a5993cf18ef6db7e961f5bee5c5a09d" @@ -5865,6 +5258,14 @@ import-local@^2.0.0: pkg-dir "^3.0.0" resolve-cwd "^2.0.0" +import-local@^3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/import-local/-/import-local-3.0.2.tgz#a8cfd0431d1de4a2199703d003e3e62364fa6db6" + integrity sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA== + dependencies: + pkg-dir "^4.2.0" + resolve-cwd "^3.0.0" + imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" @@ -5882,11 +5283,16 @@ indent-string@^2.1.0: dependencies: repeating "^2.0.0" -indent-string@^3.0.0, indent-string@^3.1.0, indent-string@^3.2.0: +indent-string@^3.0.0, indent-string@^3.2.0: version "3.2.0" resolved "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" integrity sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok= +indent-string@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" + integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== + infer-owner@^1.0.3, infer-owner@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" @@ -5900,15 +5306,15 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.3, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3: - version "2.0.3" - resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" - integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= +inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3: + version "2.0.4" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== ini@^1.3.2, ini@^1.3.4, ini@~1.3.0: - version "1.3.4" - resolved "https://registry.npmjs.org/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e" - integrity sha1-BTfLedr1m1mhpRff9wbIbsA5Fi4= + version "1.3.5" + resolved "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" + integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== init-package-json@^1.10.3: version "1.10.3" @@ -5942,25 +5348,6 @@ inquirer@0.11.0: strip-ansi "^3.0.0" through "^2.3.6" -inquirer@3.0.6: - version "3.0.6" - resolved "https://registry.npmjs.org/inquirer/-/inquirer-3.0.6.tgz#e04aaa9d05b7a3cb9b0f407d04375f0447190347" - integrity sha1-4EqqnQW3o8ubD0B9BDdfBEcZA0c= - dependencies: - ansi-escapes "^1.1.0" - chalk "^1.0.0" - cli-cursor "^2.1.0" - cli-width "^2.0.0" - external-editor "^2.0.1" - figures "^2.0.0" - lodash "^4.3.0" - mute-stream "0.0.7" - run-async "^2.2.0" - rx "^4.1.0" - string-width "^2.0.0" - strip-ansi "^3.0.0" - through "^2.3.6" - inquirer@6.2.0: version "6.2.0" resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.2.0.tgz#51adcd776f661369dc1e894859c2560a224abdd8" @@ -5981,9 +5368,9 @@ inquirer@6.2.0: through "^2.3.6" inquirer@^6.2.0: - version "6.2.2" - resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.2.2.tgz#46941176f65c9eb20804627149b743a218f25406" - integrity sha512-Z2rREiXA6cHRR9KBOarR3WuLlFzlIfAEIiB45ll5SSadMg7WqOh1MKEjjndfuH5ewXdixWCxqnVfGOQzPeiztA== + version "6.5.2" + resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca" + integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ== dependencies: ansi-escapes "^3.2.0" chalk "^2.4.2" @@ -5991,27 +5378,20 @@ inquirer@^6.2.0: cli-width "^2.0.0" external-editor "^3.0.3" figures "^2.0.0" - lodash "^4.17.11" + lodash "^4.17.12" mute-stream "0.0.7" run-async "^2.2.0" rxjs "^6.4.0" string-width "^2.1.0" - strip-ansi "^5.0.0" + strip-ansi "^5.1.0" through "^2.3.6" interpret@^1.0.0: - version "1.0.4" - resolved "https://registry.npmjs.org/interpret/-/interpret-1.0.4.tgz#820cdd588b868ffb191a809506d6c9c8f212b1b0" - integrity sha1-ggzdWIuGj/sZGoCVBtbJyPISsbA= - -invariant@^2.2.2: - version "2.2.2" - resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360" - integrity sha1-nh9WrArNtr8wMwbzOL47IErmA2A= - dependencies: - loose-envify "^1.0.0" + version "1.2.0" + resolved "https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296" + integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw== -invariant@^2.2.4: +invariant@^2.2.2, invariant@^2.2.4: version "2.2.4" resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== @@ -6023,20 +5403,15 @@ invert-kv@^1.0.0: resolved "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY= -invert-kv@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02" - integrity sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA== - -ip@^1.1.5: +ip@1.1.5: version "1.1.5" resolved "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= -irregular-plurals@^1.0.0: - version "1.4.0" - resolved "https://registry.npmjs.org/irregular-plurals/-/irregular-plurals-1.4.0.tgz#2ca9b033651111855412f16be5d77c62a458a766" - integrity sha1-LKmwM2UREYVUEvFr5dd8YqRYp2Y= +irregular-plurals@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/irregular-plurals/-/irregular-plurals-2.0.0.tgz#39d40f05b00f656d0b7fa471230dd3b714af2872" + integrity sha512-Y75zBYLkh0lJ9qxeHlMjQ7bSbyiSqNW/UOPWDmzC7cXskL1hekSITh1Oc6JV0XCWWZ9DE8VYSB71xocLk3gmGw== is-accessor-descriptor@^0.1.6: version "0.1.6" @@ -6052,6 +5427,11 @@ is-accessor-descriptor@^1.0.0: dependencies: kind-of "^6.0.0" +is-arguments@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz#3faf966c7cba0ff437fb31f6250082fcf0448cf3" + integrity sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA== + is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" @@ -6064,6 +5444,13 @@ is-binary-path@^1.0.0: dependencies: binary-extensions "^1.0.0" +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + is-buffer@^1.1.5: version "1.1.6" resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" @@ -6076,24 +5463,17 @@ is-builtin-module@3.0.0: dependencies: builtin-modules "^3.0.0" -is-builtin-module@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" - integrity sha1-VAVy0096wxGfj3bDDLwbHgN6/74= - dependencies: - builtin-modules "^1.0.0" - -is-callable@^1.1.4: - version "1.1.4" - resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75" - integrity sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA== +is-callable@^1.1.4, is-callable@^1.1.5: + version "1.1.5" + resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz#f7e46b596890456db74e7f6e976cb3273d06faab" + integrity sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q== -is-ci@^1.0.7: - version "1.0.10" - resolved "https://registry.npmjs.org/is-ci/-/is-ci-1.0.10.tgz#f739336b2632365061a9d48270cd56ae3369318e" - integrity sha1-9zkzayYyNlBhqdSCcM1WrjNpMY4= +is-ci@^1.0.10: + version "1.2.1" + resolved "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz#e3779c8ee17fccf428488f6e281187f2e632841c" + integrity sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg== dependencies: - ci-info "^1.0.0" + ci-info "^1.5.0" is-ci@^2.0.0: version "2.0.0" @@ -6117,9 +5497,9 @@ is-data-descriptor@^1.0.0: kind-of "^6.0.0" is-date-object@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16" - integrity sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY= + version "1.0.2" + resolved "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz#bda736f2cd8fd06d32844e7743bfa7494c3bfd7e" + integrity sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g== is-descriptor@^0.1.0: version "0.1.6" @@ -6156,10 +5536,10 @@ is-equal-shallow@^0.1.3: dependencies: is-primitive "^2.0.0" -is-error@^2.2.0: - version "2.2.1" - resolved "https://registry.npmjs.org/is-error/-/is-error-2.2.1.tgz#684a96d84076577c98f4cdb40c6d26a5123bf19c" - integrity sha1-aEqW2EB2V3yY9M20DG0mpRI78Zw= +is-error@^2.2.2: + version "2.2.2" + resolved "https://registry.npmjs.org/is-error/-/is-error-2.2.2.tgz#c10ade187b3c93510c5470a5567833ee25649843" + integrity sha512-IOQqts/aHWbiisY5DuPJQ0gcbvaLFCa7fBa9xoLfxBZvQ+ZI/Zh9xoI7Gk+G64N0FdK4AbibytHht2tWgpJWLg== is-extendable@^0.1.0, is-extendable@^0.1.1: version "0.1.1" @@ -6183,7 +5563,7 @@ is-extglob@^2.1.0, is-extglob@^2.1.1: resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= -is-finite@^1.0.0, is-finite@^1.0.1: +is-finite@^1.0.0: version "1.0.2" resolved "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" integrity sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko= @@ -6202,10 +5582,10 @@ is-fullwidth-code-point@^2.0.0: resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= -is-generator-fn@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-1.0.0.tgz#969d49e1bb3329f6bb7f09089be26578b2ddd46a" - integrity sha1-lp1J4bszKfa7fwkIm+JleLLd1Go= +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== is-generator-fn@^2.0.0: version "2.1.0" @@ -6226,14 +5606,7 @@ is-glob@^3.1.0: dependencies: is-extglob "^2.1.0" -is-glob@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0" - integrity sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A= - dependencies: - is-extglob "^2.1.1" - -is-glob@^4.0.1: +is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== @@ -6253,6 +5626,11 @@ is-npm@^1.0.0: resolved "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4" integrity sha1-8vtjpl5JBbQGyGBydloaTceTufQ= +is-npm@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/is-npm/-/is-npm-3.0.0.tgz#ec9147bfb629c43f494cf67936a961edec7e8053" + integrity sha512-wsigDr1Kkschp2opC4G3yA6r9EgVA6NjRpWzIi9axXqeIaAATPRJc4uLujXe3Nd9uO8KoDyA4MD6aZSeXTADhA== + is-number@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" @@ -6275,50 +5653,72 @@ is-obj@^1.0.0, is-obj@^1.0.1: resolved "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= +is-obj@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" + integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== + is-object@~1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/is-object/-/is-object-1.0.1.tgz#8952688c5ec2ffd6b03ecc85e769e02903083470" integrity sha1-iVJojF7C/9awPsyF52ngKQMINHA= -is-observable@^0.2.0: - version "0.2.0" - resolved "https://registry.npmjs.org/is-observable/-/is-observable-0.2.0.tgz#b361311d83c6e5d726cabf5e250b0237106f5ae2" - integrity sha1-s2ExHYPG5dcmyr9eJQsCNxBvWuI= - dependencies: - symbol-observable "^0.2.2" - -is-observable@^1.0.0, is-observable@^1.1.0: +is-observable@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-observable/-/is-observable-1.1.0.tgz#b3e986c8f44de950867cab5403f5a3465005975e" integrity sha512-NqCa4Sa2d+u7BWc6CukaObG3Fh+CU9bvixbpcXYhy2VvYS7vVGIdAgnIS5Ks3A/cqk4rebLJ9s8zBstT2aKnIA== dependencies: symbol-observable "^1.1.0" +is-observable@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/is-observable/-/is-observable-2.0.0.tgz#327af1e8cdea9cd717f95911b87c5d34301721a6" + integrity sha512-fhBZv3eFKUbyHXZ1oHujdo2tZ+CNbdpdzzlENgCGZUC8keoGxUew2jYFLYcUB4qo7LDD03o4KK11m/QYD7kEjg== + is-path-cwd@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" integrity sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0= +is-path-cwd@^2.0.0: + version "2.2.0" + resolved "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb" + integrity sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ== + is-path-in-cwd@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz#6477582b8214d602346094567003be8a9eac04dc" - integrity sha1-ZHdYK4IU1gI0YJRWcAO+ip6sBNw= + version "1.0.1" + resolved "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz#5ac48b345ef675339bd6c7a48a912110b241cf52" + integrity sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ== dependencies: is-path-inside "^1.0.0" +is-path-in-cwd@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz#bfe2dca26c69f397265a4009963602935a053acb" + integrity sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ== + dependencies: + is-path-inside "^2.1.0" + is-path-inside@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.0.tgz#fc06e5a1683fbda13de667aff717bbc10a48f37f" - integrity sha1-/AbloWg/vaE95mev9xe7wQpI838= + version "1.0.1" + resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" + integrity sha1-jvW33lBDej/cprToZe96pVy0gDY= dependencies: path-is-inside "^1.0.1" +is-path-inside@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-2.1.0.tgz#7c9810587d659a40d27bcdb4d5616eab059494b2" + integrity sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg== + dependencies: + path-is-inside "^1.0.2" + is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= -is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: +is-plain-object@^2.0.3, is-plain-object@^2.0.4: version "2.0.4" resolved "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== @@ -6352,12 +5752,12 @@ is-redirect@^1.0.0: resolved "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" integrity sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ= -is-regex@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" - integrity sha1-VRdIm1RwkbCTDglWVM7SXul+lJE= +is-regex@^1.0.4, is-regex@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz#39d589a358bf18967f726967120b8fc1aed74eae" + integrity sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ== dependencies: - has "^1.0.1" + has "^1.0.3" is-regexp@^1.0.0: version "1.0.0" @@ -6365,9 +5765,9 @@ is-regexp@^1.0.0: integrity sha1-/S2INUXEa6xaYz57mgnof6LLUGk= is-retry-allowed@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz#11a060568b67339444033d0125a61a20d564fb34" - integrity sha1-EaBgVotnM5REAz0BJaYaINVk+zQ= + version "1.2.0" + resolved "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz#d778488bd0a4666a3be8a1482b9f2baafedea8b4" + integrity sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg== is-ssh@^1.3.0: version "1.3.1" @@ -6376,58 +5776,46 @@ is-ssh@^1.3.0: dependencies: protocols "^1.1.0" -is-stream@^1.0.0, is-stream@^1.0.1, is-stream@^1.1.0: +is-stream@^1.0.0, is-stream@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= -is-subset@^0.1.1: - version "0.1.1" - resolved "https://registry.npmjs.org/is-subset/-/is-subset-0.1.1.tgz#8a59117d932de1de00f245fcdd39ce43f1e939a6" - integrity sha1-ilkRfZMt4d4A8kX83TnOQ/HpOaY= +is-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3" + integrity sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw== is-symbol@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz#a055f6ae57192caee329e7a860118b497a950f38" - integrity sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw== + version "1.0.3" + resolved "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz#38e1014b9e6329be0de9d24a414fd7441ec61937" + integrity sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ== dependencies: - has-symbols "^1.0.0" + has-symbols "^1.0.1" -is-text-path@^1.0.0: +is-text-path@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e" integrity sha1-Thqg+1G/vLPpJogAE5cgLBd1tm4= dependencies: text-extensions "^1.0.0" -is-text-path@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/is-text-path/-/is-text-path-2.0.0.tgz#b2484e2b720a633feb2e85b67dc193ff72c75636" - integrity sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw== - dependencies: - text-extensions "^2.0.0" - -is-typedarray@~1.0.0: +is-typedarray@^1.0.0, is-typedarray@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= is-url@^1.2.1: - version "1.2.2" - resolved "https://registry.npmjs.org/is-url/-/is-url-1.2.2.tgz#498905a593bf47cc2d9e7f738372bbf7696c7f26" - integrity sha1-SYkFpZO/R8wtnn9zg3K792lsfyY= + version "1.2.4" + resolved "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz#04a4df46d28c4cff3d73d01ff06abeb318a1aa52" + integrity sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww== is-utf8@^0.2.0, is-utf8@^0.2.1: version "0.2.1" resolved "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" integrity sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI= -is-windows@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/is-windows/-/is-windows-1.0.1.tgz#310db70f742d259a16a369202b51af84233310d9" - integrity sha1-MQ23D3QtJZoWo2kgK1GvhCMzENk= - -is-windows@^1.0.1, is-windows@^1.0.2: +is-windows@^1.0.0, is-windows@^1.0.1, is-windows@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== @@ -6437,6 +5825,11 @@ is-wsl@^1.1.0: resolved "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= +is-yarn-global@^0.3.0: + version "0.3.0" + resolved "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232" + integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw== + isarray@1.0.0, isarray@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" @@ -6507,368 +5900,318 @@ istanbul-lib-source-maps@^3.0.1: rimraf "^2.6.3" source-map "^0.6.1" -istanbul-reports@^2.1.1: +istanbul-reports@^2.2.6: version "2.2.6" resolved "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-2.2.6.tgz#7b4f2660d82b29303a8fe6091f8ca4bf058da1af" integrity sha512-SKi4rnMyLBKe0Jy2uUdx28h8oG7ph2PPuQPvIAh31d+Ci+lSiEu4C+h3oBPuJ9+mPKhOyW0M8gY4U5NM1WLeXA== dependencies: handlebars "^4.1.2" -jest-changed-files@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-24.8.0.tgz#7e7eb21cf687587a85e50f3d249d1327e15b157b" - integrity sha512-qgANC1Yrivsq+UrLXsvJefBKVoCsKB0Hv+mBb6NMjjZ90wwxCDmU3hsCXBya30cH+LnPYjwgcU65i6yJ5Nfuug== +jest-changed-files@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-24.9.0.tgz#08d8c15eb79a7fa3fc98269bc14b451ee82f8039" + integrity sha512-6aTWpe2mHF0DhL28WjdkO8LyGjs3zItPET4bMSeXU6T3ub4FPMw+mcOcbdGXQOAfmLcxofD23/5Bl9Z4AkFwqg== dependencies: - "@jest/types" "^24.8.0" + "@jest/types" "^24.9.0" execa "^1.0.0" throat "^4.0.0" jest-cli@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-24.8.0.tgz#b075ac914492ed114fa338ade7362a301693e989" - integrity sha512-+p6J00jSMPQ116ZLlHJJvdf8wbjNbZdeSX9ptfHX06/MSNaXmKihQzx5vQcw0q2G6JsdVkUIdWbOWtSnaYs3yA== + version "24.9.0" + resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-24.9.0.tgz#ad2de62d07472d419c6abc301fc432b98b10d2af" + integrity sha512-+VLRKyitT3BWoMeSUIHRxV/2g8y9gw91Jh5z2UmXZzkZKpbC08CSehVxgHUwTpy+HwGcns/tqafQDJW7imYvGg== dependencies: - "@jest/core" "^24.8.0" - "@jest/test-result" "^24.8.0" - "@jest/types" "^24.8.0" + "@jest/core" "^24.9.0" + "@jest/test-result" "^24.9.0" + "@jest/types" "^24.9.0" chalk "^2.0.1" exit "^0.1.2" import-local "^2.0.0" is-ci "^2.0.0" - jest-config "^24.8.0" - jest-util "^24.8.0" - jest-validate "^24.8.0" + jest-config "^24.9.0" + jest-util "^24.9.0" + jest-validate "^24.9.0" prompts "^2.0.1" realpath-native "^1.1.0" - yargs "^12.0.2" + yargs "^13.3.0" -jest-config@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-config/-/jest-config-24.8.0.tgz#77db3d265a6f726294687cbbccc36f8a76ee0f4f" - integrity sha512-Czl3Nn2uEzVGsOeaewGWoDPD8GStxCpAe0zOYs2x2l0fZAgPbCr3uwUkgNKV3LwE13VXythM946cd5rdGkkBZw== +jest-config@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-config/-/jest-config-24.9.0.tgz#fb1bbc60c73a46af03590719efa4825e6e4dd1b5" + integrity sha512-RATtQJtVYQrp7fvWg6f5y3pEFj9I+H8sWw4aKxnDZ96mob5i5SD6ZEGWgMLXQ4LE8UurrjbdlLWdUeo+28QpfQ== dependencies: "@babel/core" "^7.1.0" - "@jest/test-sequencer" "^24.8.0" - "@jest/types" "^24.8.0" - babel-jest "^24.8.0" + "@jest/test-sequencer" "^24.9.0" + "@jest/types" "^24.9.0" + babel-jest "^24.9.0" chalk "^2.0.1" glob "^7.1.1" - jest-environment-jsdom "^24.8.0" - jest-environment-node "^24.8.0" - jest-get-type "^24.8.0" - jest-jasmine2 "^24.8.0" + jest-environment-jsdom "^24.9.0" + jest-environment-node "^24.9.0" + jest-get-type "^24.9.0" + jest-jasmine2 "^24.9.0" jest-regex-util "^24.3.0" - jest-resolve "^24.8.0" - jest-util "^24.8.0" - jest-validate "^24.8.0" + jest-resolve "^24.9.0" + jest-util "^24.9.0" + jest-validate "^24.9.0" micromatch "^3.1.10" - pretty-format "^24.8.0" + pretty-format "^24.9.0" realpath-native "^1.1.0" -jest-diff@^18.1.0: - version "18.1.0" - resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-18.1.0.tgz#4ff79e74dd988c139195b365dc65d87f606f4803" - integrity sha1-T/eedN2YjBORlbNl3GXYf2BvSAM= - dependencies: - chalk "^1.1.3" - diff "^3.0.0" - jest-matcher-utils "^18.1.0" - pretty-format "^18.1.0" - -jest-diff@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-24.8.0.tgz#146435e7d1e3ffdf293d53ff97e193f1d1546172" - integrity sha512-wxetCEl49zUpJ/bvUmIFjd/o52J+yWcoc5ZyPq4/W1LUKGEhRYDIbP1KcF6t+PvqNrGAFk4/JhtxDq/Nnzs66g== +jest-diff@*, jest-diff@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-24.9.0.tgz#931b7d0d5778a1baf7452cb816e325e3724055da" + integrity sha512-qMfrTs8AdJE2iqrTp0hzh7kTd2PQWrsFyj9tORoKmu32xjPjeE4NyjVRDz8ybYwqS2ik8N4hsIpiVTyFeo2lBQ== dependencies: chalk "^2.0.1" - diff-sequences "^24.3.0" - jest-get-type "^24.8.0" - pretty-format "^24.8.0" + diff-sequences "^24.9.0" + jest-get-type "^24.9.0" + pretty-format "^24.9.0" jest-docblock@^24.3.0: - version "24.3.0" - resolved "https://registry.npmjs.org/jest-docblock/-/jest-docblock-24.3.0.tgz#b9c32dac70f72e4464520d2ba4aec02ab14db5dd" - integrity sha512-nlANmF9Yq1dufhFlKG9rasfQlrY7wINJbo3q01tu56Jv5eBU5jirylhF2O5ZBnLxzOVBGRDz/9NAwNyBtG4Nyg== + version "24.9.0" + resolved "https://registry.npmjs.org/jest-docblock/-/jest-docblock-24.9.0.tgz#7970201802ba560e1c4092cc25cbedf5af5a8ce2" + integrity sha512-F1DjdpDMJMA1cN6He0FNYNZlo3yYmOtRUnktrT9Q37njYzC5WEaDdmbynIgy0L/IvXvvgsG8OsqhLPXTpfmZAA== dependencies: detect-newline "^2.1.0" -jest-each@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-each/-/jest-each-24.8.0.tgz#a05fd2bf94ddc0b1da66c6d13ec2457f35e52775" - integrity sha512-NrwK9gaL5+XgrgoCsd9svsoWdVkK4gnvyhcpzd6m487tXHqIdYeykgq3MKI1u4I+5Zf0tofr70at9dWJDeb+BA== +jest-each@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-each/-/jest-each-24.9.0.tgz#eb2da602e2a610898dbc5f1f6df3ba86b55f8b05" + integrity sha512-ONi0R4BvW45cw8s2Lrx8YgbeXL1oCQ/wIDwmsM3CqM/nlblNCPmnC3IPQlMbRFZu3wKdQ2U8BqM6lh3LJ5Bsog== dependencies: - "@jest/types" "^24.8.0" + "@jest/types" "^24.9.0" chalk "^2.0.1" - jest-get-type "^24.8.0" - jest-util "^24.8.0" - pretty-format "^24.8.0" - -jest-environment-jsdom@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-24.8.0.tgz#300f6949a146cabe1c9357ad9e9ecf9f43f38857" - integrity sha512-qbvgLmR7PpwjoFjM/sbuqHJt/NCkviuq9vus9NBn/76hhSidO+Z6Bn9tU8friecegbJL8gzZQEMZBQlFWDCwAQ== - dependencies: - "@jest/environment" "^24.8.0" - "@jest/fake-timers" "^24.8.0" - "@jest/types" "^24.8.0" - jest-mock "^24.8.0" - jest-util "^24.8.0" + jest-get-type "^24.9.0" + jest-util "^24.9.0" + pretty-format "^24.9.0" + +jest-environment-jsdom@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-24.9.0.tgz#4b0806c7fc94f95edb369a69cc2778eec2b7375b" + integrity sha512-Zv9FV9NBRzLuALXjvRijO2351DRQeLYXtpD4xNvfoVFw21IOKNhZAEUKcbiEtjTkm2GsJ3boMVgkaR7rN8qetA== + dependencies: + "@jest/environment" "^24.9.0" + "@jest/fake-timers" "^24.9.0" + "@jest/types" "^24.9.0" + jest-mock "^24.9.0" + jest-util "^24.9.0" jsdom "^11.5.1" -jest-environment-node@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-24.8.0.tgz#d3f726ba8bc53087a60e7a84ca08883a4c892231" - integrity sha512-vIGUEScd1cdDgR6sqn2M08sJTRLQp6Dk/eIkCeO4PFHxZMOgy+uYLPMC4ix3PEfM5Au/x3uQ/5Tl0DpXXZsJ/Q== +jest-environment-node@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-24.9.0.tgz#333d2d2796f9687f2aeebf0742b519f33c1cbfd3" + integrity sha512-6d4V2f4nxzIzwendo27Tr0aFm+IXWa0XEUnaH6nU0FMaozxovt+sfRvh4J47wL1OvF83I3SSTu0XK+i4Bqe7uA== dependencies: - "@jest/environment" "^24.8.0" - "@jest/fake-timers" "^24.8.0" - "@jest/types" "^24.8.0" - jest-mock "^24.8.0" - jest-util "^24.8.0" + "@jest/environment" "^24.9.0" + "@jest/fake-timers" "^24.9.0" + "@jest/types" "^24.9.0" + jest-mock "^24.9.0" + jest-util "^24.9.0" -jest-file-exists@^17.0.0: - version "17.0.0" - resolved "https://registry.npmjs.org/jest-file-exists/-/jest-file-exists-17.0.0.tgz#7f63eb73a1c43a13f461be261768b45af2cdd169" - integrity sha1-f2Prc6HEOhP0Yb4mF2i0WvLN0Wk= +jest-get-type@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.9.0.tgz#1684a0c8a50f2e4901b6644ae861f579eed2ef0e" + integrity sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q== -jest-get-type@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.8.0.tgz#a7440de30b651f5a70ea3ed7ff073a32dfe646fc" - integrity sha512-RR4fo8jEmMD9zSz2nLbs2j0zvPpk/KCEz3a62jJWbd2ayNo0cb+KFRxPHVhE4ZmgGJEQp0fosmNz84IfqM8cMQ== - -jest-haste-map@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.8.0.tgz#51794182d877b3ddfd6e6d23920e3fe72f305800" - integrity sha512-ZBPRGHdPt1rHajWelXdqygIDpJx8u3xOoLyUBWRW28r3tagrgoepPrzAozW7kW9HrQfhvmiv1tncsxqHJO1onQ== +jest-haste-map@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.9.0.tgz#b38a5d64274934e21fa417ae9a9fbeb77ceaac7d" + integrity sha512-kfVFmsuWui2Sj1Rp1AJ4D9HqJwE4uwTlS/vO+eRUaMmd54BFpli2XhMQnPC2k4cHFVbB2Q2C+jtI1AGLgEnCjQ== dependencies: - "@jest/types" "^24.8.0" + "@jest/types" "^24.9.0" anymatch "^2.0.0" fb-watchman "^2.0.0" graceful-fs "^4.1.15" invariant "^2.2.4" - jest-serializer "^24.4.0" - jest-util "^24.8.0" - jest-worker "^24.6.0" + jest-serializer "^24.9.0" + jest-util "^24.9.0" + jest-worker "^24.9.0" micromatch "^3.1.10" sane "^4.0.3" walker "^1.0.7" optionalDependencies: fsevents "^1.2.7" -jest-jasmine2@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-24.8.0.tgz#a9c7e14c83dd77d8b15e820549ce8987cc8cd898" - integrity sha512-cEky88npEE5LKd5jPpTdDCLvKkdyklnaRycBXL6GNmpxe41F0WN44+i7lpQKa/hcbXaQ+rc9RMaM4dsebrYong== +jest-jasmine2@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-24.9.0.tgz#1f7b1bd3242c1774e62acabb3646d96afc3be6a0" + integrity sha512-Cq7vkAgaYKp+PsX+2/JbTarrk0DmNhsEtqBXNwUHkdlbrTBLtMJINADf2mf5FkowNsq8evbPc07/qFO0AdKTzw== dependencies: "@babel/traverse" "^7.1.0" - "@jest/environment" "^24.8.0" - "@jest/test-result" "^24.8.0" - "@jest/types" "^24.8.0" + "@jest/environment" "^24.9.0" + "@jest/test-result" "^24.9.0" + "@jest/types" "^24.9.0" chalk "^2.0.1" co "^4.6.0" - expect "^24.8.0" + expect "^24.9.0" is-generator-fn "^2.0.0" - jest-each "^24.8.0" - jest-matcher-utils "^24.8.0" - jest-message-util "^24.8.0" - jest-runtime "^24.8.0" - jest-snapshot "^24.8.0" - jest-util "^24.8.0" - pretty-format "^24.8.0" + jest-each "^24.9.0" + jest-matcher-utils "^24.9.0" + jest-message-util "^24.9.0" + jest-runtime "^24.9.0" + jest-snapshot "^24.9.0" + jest-util "^24.9.0" + pretty-format "^24.9.0" throat "^4.0.0" -jest-leak-detector@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-24.8.0.tgz#c0086384e1f650c2d8348095df769f29b48e6980" - integrity sha512-cG0yRSK8A831LN8lIHxI3AblB40uhv0z+SsQdW3GoMMVcK+sJwrIIyax5tu3eHHNJ8Fu6IMDpnLda2jhn2pD/g== - dependencies: - pretty-format "^24.8.0" - -jest-matcher-utils@^18.1.0: - version "18.1.0" - resolved "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-18.1.0.tgz#1ac4651955ee2a60cef1e7fcc98cdfd773c0f932" - integrity sha1-GsRlGVXuKmDO8ef8yYzf13PA+TI= +jest-leak-detector@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-24.9.0.tgz#b665dea7c77100c5c4f7dfcb153b65cf07dcf96a" + integrity sha512-tYkFIDsiKTGwb2FG1w8hX9V0aUb2ot8zY/2nFg087dUageonw1zrLMP4W6zsRO59dPkTSKie+D4rhMuP9nRmrA== dependencies: - chalk "^1.1.3" - pretty-format "^18.1.0" + jest-get-type "^24.9.0" + pretty-format "^24.9.0" -jest-matcher-utils@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-24.8.0.tgz#2bce42204c9af12bde46f83dc839efe8be832495" - integrity sha512-lex1yASY51FvUuHgm0GOVj7DCYEouWSlIYmCW7APSqB9v8mXmKSn5+sWVF0MhuASG0bnYY106/49JU1FZNl5hw== +jest-matcher-utils@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-24.9.0.tgz#f5b3661d5e628dffe6dd65251dfdae0e87c3a073" + integrity sha512-OZz2IXsu6eaiMAwe67c1T+5tUAtQyQx27/EMEkbFAGiw52tB9em+uGbzpcgYVpA8wl0hlxKPZxrly4CXU/GjHA== dependencies: chalk "^2.0.1" - jest-diff "^24.8.0" - jest-get-type "^24.8.0" - pretty-format "^24.8.0" + jest-diff "^24.9.0" + jest-get-type "^24.9.0" + pretty-format "^24.9.0" -jest-message-util@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.8.0.tgz#0d6891e72a4beacc0292b638685df42e28d6218b" - integrity sha512-p2k71rf/b6ns8btdB0uVdljWo9h0ovpnEe05ZKWceQGfXYr4KkzgKo3PBi8wdnd9OtNh46VpNIJynUn/3MKm1g== +jest-message-util@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz#527f54a1e380f5e202a8d1149b0ec872f43119e3" + integrity sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw== dependencies: "@babel/code-frame" "^7.0.0" - "@jest/test-result" "^24.8.0" - "@jest/types" "^24.8.0" + "@jest/test-result" "^24.9.0" + "@jest/types" "^24.9.0" "@types/stack-utils" "^1.0.1" chalk "^2.0.1" micromatch "^3.1.10" slash "^2.0.0" stack-utils "^1.0.1" -jest-mock@^18.0.0: - version "18.0.0" - resolved "https://registry.npmjs.org/jest-mock/-/jest-mock-18.0.0.tgz#5c248846ea33fa558b526f5312ab4a6765e489b3" - integrity sha1-XCSIRuoz+lWLUm9TEqtKZ2XkibM= - -jest-mock@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-mock/-/jest-mock-24.8.0.tgz#2f9d14d37699e863f1febf4e4d5a33b7fdbbde56" - integrity sha512-6kWugwjGjJw+ZkK4mDa0Df3sDlUTsV47MSrT0nGQ0RBWJbpODDQ8MHDVtGtUYBne3IwZUhtB7elxHspU79WH3A== +jest-mock@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz#c22835541ee379b908673ad51087a2185c13f1c6" + integrity sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w== dependencies: - "@jest/types" "^24.8.0" + "@jest/types" "^24.9.0" jest-pnp-resolver@^1.2.1: version "1.2.1" resolved "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.1.tgz#ecdae604c077a7fbc70defb6d517c3c1c898923a" integrity sha512-pgFw2tm54fzgYvc/OHrnysABEObZCUNFnhjoRjaVOCN8NYc032/gVjPaHD4Aq6ApkSieWtfKAFQtmDKAmhupnQ== -jest-regex-util@^24.3.0: - version "24.3.0" - resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.3.0.tgz#d5a65f60be1ae3e310d5214a0307581995227b36" - integrity sha512-tXQR1NEOyGlfylyEjg1ImtScwMq8Oh3iJbGTjN7p0J23EuVX1MA8rwU69K4sLbCmwzgCUbVkm0FkSF9TdzOhtg== +jest-regex-util@^24.3.0, jest-regex-util@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz#c13fb3380bde22bf6575432c493ea8fe37965636" + integrity sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA== -jest-resolve-dependencies@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-24.8.0.tgz#19eec3241f2045d3f990dba331d0d7526acff8e0" - integrity sha512-hyK1qfIf/krV+fSNyhyJeq3elVMhK9Eijlwy+j5jqmZ9QsxwKBiP6qukQxaHtK8k6zql/KYWwCTQ+fDGTIJauw== +jest-resolve-dependencies@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-24.9.0.tgz#ad055198959c4cfba8a4f066c673a3f0786507ab" + integrity sha512-Fm7b6AlWnYhT0BXy4hXpactHIqER7erNgIsIozDXWl5dVm+k8XdGVe1oTg1JyaFnOxarMEbax3wyRJqGP2Pq+g== dependencies: - "@jest/types" "^24.8.0" + "@jest/types" "^24.9.0" jest-regex-util "^24.3.0" - jest-snapshot "^24.8.0" + jest-snapshot "^24.9.0" -jest-resolve@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-24.8.0.tgz#84b8e5408c1f6a11539793e2b5feb1b6e722439f" - integrity sha512-+hjSzi1PoRvnuOICoYd5V/KpIQmkAsfjFO71458hQ2Whi/yf1GDeBOFj8Gxw4LrApHsVJvn5fmjcPdmoUHaVKw== +jest-resolve@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-24.9.0.tgz#dff04c7687af34c4dd7e524892d9cf77e5d17321" + integrity sha512-TaLeLVL1l08YFZAt3zaPtjiVvyy4oSA6CRe+0AFPPVX3Q/VI0giIWWoAvoS5L96vj9Dqxj4fB5p2qrHCmTU/MQ== dependencies: - "@jest/types" "^24.8.0" + "@jest/types" "^24.9.0" browser-resolve "^1.11.3" chalk "^2.0.1" jest-pnp-resolver "^1.2.1" realpath-native "^1.1.0" -jest-runner@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-runner/-/jest-runner-24.8.0.tgz#4f9ae07b767db27b740d7deffad0cf67ccb4c5bb" - integrity sha512-utFqC5BaA3JmznbissSs95X1ZF+d+4WuOWwpM9+Ak356YtMhHE/GXUondZdcyAAOTBEsRGAgH/0TwLzfI9h7ow== +jest-runner@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-runner/-/jest-runner-24.9.0.tgz#574fafdbd54455c2b34b4bdf4365a23857fcdf42" + integrity sha512-KksJQyI3/0mhcfspnxxEOBueGrd5E4vV7ADQLT9ESaCzz02WnbdbKWIf5Mkaucoaj7obQckYPVX6JJhgUcoWWg== dependencies: "@jest/console" "^24.7.1" - "@jest/environment" "^24.8.0" - "@jest/test-result" "^24.8.0" - "@jest/types" "^24.8.0" + "@jest/environment" "^24.9.0" + "@jest/test-result" "^24.9.0" + "@jest/types" "^24.9.0" chalk "^2.4.2" exit "^0.1.2" graceful-fs "^4.1.15" - jest-config "^24.8.0" + jest-config "^24.9.0" jest-docblock "^24.3.0" - jest-haste-map "^24.8.0" - jest-jasmine2 "^24.8.0" - jest-leak-detector "^24.8.0" - jest-message-util "^24.8.0" - jest-resolve "^24.8.0" - jest-runtime "^24.8.0" - jest-util "^24.8.0" + jest-haste-map "^24.9.0" + jest-jasmine2 "^24.9.0" + jest-leak-detector "^24.9.0" + jest-message-util "^24.9.0" + jest-resolve "^24.9.0" + jest-runtime "^24.9.0" + jest-util "^24.9.0" jest-worker "^24.6.0" source-map-support "^0.5.6" throat "^4.0.0" -jest-runtime@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-runtime/-/jest-runtime-24.8.0.tgz#05f94d5b05c21f6dc54e427cd2e4980923350620" - integrity sha512-Mq0aIXhvO/3bX44ccT+czU1/57IgOMyy80oM0XR/nyD5zgBcesF84BPabZi39pJVA6UXw+fY2Q1N+4BiVUBWOA== +jest-runtime@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-runtime/-/jest-runtime-24.9.0.tgz#9f14583af6a4f7314a6a9d9f0226e1a781c8e4ac" + integrity sha512-8oNqgnmF3v2J6PVRM2Jfuj8oX3syKmaynlDMMKQ4iyzbQzIG6th5ub/lM2bCMTmoTKM3ykcUYI2Pw9xwNtjMnw== dependencies: "@jest/console" "^24.7.1" - "@jest/environment" "^24.8.0" + "@jest/environment" "^24.9.0" "@jest/source-map" "^24.3.0" - "@jest/transform" "^24.8.0" - "@jest/types" "^24.8.0" - "@types/yargs" "^12.0.2" + "@jest/transform" "^24.9.0" + "@jest/types" "^24.9.0" + "@types/yargs" "^13.0.0" chalk "^2.0.1" exit "^0.1.2" glob "^7.1.3" graceful-fs "^4.1.15" - jest-config "^24.8.0" - jest-haste-map "^24.8.0" - jest-message-util "^24.8.0" - jest-mock "^24.8.0" + jest-config "^24.9.0" + jest-haste-map "^24.9.0" + jest-message-util "^24.9.0" + jest-mock "^24.9.0" jest-regex-util "^24.3.0" - jest-resolve "^24.8.0" - jest-snapshot "^24.8.0" - jest-util "^24.8.0" - jest-validate "^24.8.0" + jest-resolve "^24.9.0" + jest-snapshot "^24.9.0" + jest-util "^24.9.0" + jest-validate "^24.9.0" realpath-native "^1.1.0" slash "^2.0.0" strip-bom "^3.0.0" - yargs "^12.0.2" - -jest-serializer@^24.4.0: - version "24.4.0" - resolved "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.4.0.tgz#f70c5918c8ea9235ccb1276d232e459080588db3" - integrity sha512-k//0DtglVstc1fv+GY/VHDIjrtNjdYvYjMlbLUed4kxrE92sIUewOi5Hj3vrpB8CXfkJntRPDRjCrCvUhBdL8Q== - -jest-snapshot@^18.1.0: - version "18.1.0" - resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-18.1.0.tgz#55b96d2ee639c9bce76f87f2a3fd40b71c7a5916" - integrity sha1-VbltLuY5ybznb4fyo/1Atxx6WRY= - dependencies: - jest-diff "^18.1.0" - jest-file-exists "^17.0.0" - jest-matcher-utils "^18.1.0" - jest-util "^18.1.0" - natural-compare "^1.4.0" - pretty-format "^18.1.0" + yargs "^13.3.0" -jest-snapshot@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-24.8.0.tgz#3bec6a59da2ff7bc7d097a853fb67f9d415cb7c6" - integrity sha512-5ehtWoc8oU9/cAPe6fez6QofVJLBKyqkY2+TlKTOf0VllBB/mqUNdARdcjlZrs9F1Cv+/HKoCS/BknT0+tmfPg== +jest-serializer@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.9.0.tgz#e6d7d7ef96d31e8b9079a714754c5d5c58288e73" + integrity sha512-DxYipDr8OvfrKH3Kel6NdED3OXxjvxXZ1uIY2I9OFbGg+vUkkg7AGvi65qbhbWNPvDckXmzMPbK3u3HaDO49bQ== + +jest-snapshot@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-24.9.0.tgz#ec8e9ca4f2ec0c5c87ae8f925cf97497b0e951ba" + integrity sha512-uI/rszGSs73xCM0l+up7O7a40o90cnrk429LOiK3aeTvfC0HHmldbd81/B7Ix81KSFe1lwkbl7GnBGG4UfuDew== dependencies: "@babel/types" "^7.0.0" - "@jest/types" "^24.8.0" + "@jest/types" "^24.9.0" chalk "^2.0.1" - expect "^24.8.0" - jest-diff "^24.8.0" - jest-matcher-utils "^24.8.0" - jest-message-util "^24.8.0" - jest-resolve "^24.8.0" + expect "^24.9.0" + jest-diff "^24.9.0" + jest-get-type "^24.9.0" + jest-matcher-utils "^24.9.0" + jest-message-util "^24.9.0" + jest-resolve "^24.9.0" mkdirp "^0.5.1" natural-compare "^1.4.0" - pretty-format "^24.8.0" - semver "^5.5.0" - -jest-util@^18.1.0: - version "18.1.0" - resolved "https://registry.npmjs.org/jest-util/-/jest-util-18.1.0.tgz#3a99c32114ab17f84be094382527006e6d4bfc6a" - integrity sha1-OpnDIRSrF/hL4JQ4JScAbm1L/Go= - dependencies: - chalk "^1.1.1" - diff "^3.0.0" - graceful-fs "^4.1.6" - jest-file-exists "^17.0.0" - jest-mock "^18.0.0" - mkdirp "^0.5.1" + pretty-format "^24.9.0" + semver "^6.2.0" -jest-util@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-util/-/jest-util-24.8.0.tgz#41f0e945da11df44cc76d64ffb915d0716f46cd1" - integrity sha512-DYZeE+XyAnbNt0BG1OQqKy/4GVLPtzwGx5tsnDrFcax36rVE3lTA5fbvgmbVPUZf9w77AJ8otqR4VBbfFJkUZA== +jest-util@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz#7396814e48536d2e85a37de3e4c431d7cb140162" + integrity sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg== dependencies: - "@jest/console" "^24.7.1" - "@jest/fake-timers" "^24.8.0" - "@jest/source-map" "^24.3.0" - "@jest/test-result" "^24.8.0" - "@jest/types" "^24.8.0" + "@jest/console" "^24.9.0" + "@jest/fake-timers" "^24.9.0" + "@jest/source-map" "^24.9.0" + "@jest/test-result" "^24.9.0" + "@jest/types" "^24.9.0" callsites "^3.0.0" chalk "^2.0.1" graceful-fs "^4.1.15" @@ -6877,37 +6220,37 @@ jest-util@^24.8.0: slash "^2.0.0" source-map "^0.6.0" -jest-validate@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-validate/-/jest-validate-24.8.0.tgz#624c41533e6dfe356ffadc6e2423a35c2d3b4849" - integrity sha512-+/N7VOEMW1Vzsrk3UWBDYTExTPwf68tavEPKDnJzrC6UlHtUDU/fuEdXqFoHzv9XnQ+zW6X3qMZhJ3YexfeLDA== +jest-validate@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-validate/-/jest-validate-24.9.0.tgz#0775c55360d173cd854e40180756d4ff52def8ab" + integrity sha512-HPIt6C5ACwiqSiwi+OfSSHbK8sG7akG8eATl+IPKaeIjtPOeBUd/g3J7DghugzxrGjI93qS/+RPKe1H6PqvhRQ== dependencies: - "@jest/types" "^24.8.0" - camelcase "^5.0.0" + "@jest/types" "^24.9.0" + camelcase "^5.3.1" chalk "^2.0.1" - jest-get-type "^24.8.0" - leven "^2.1.0" - pretty-format "^24.8.0" - -jest-watcher@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest-watcher/-/jest-watcher-24.8.0.tgz#58d49915ceddd2de85e238f6213cef1c93715de4" - integrity sha512-SBjwHt5NedQoVu54M5GEx7cl7IGEFFznvd/HNT8ier7cCAx/Qgu9ZMlaTQkvK22G1YOpcWBLQPFSImmxdn3DAw== - dependencies: - "@jest/test-result" "^24.8.0" - "@jest/types" "^24.8.0" - "@types/yargs" "^12.0.9" + jest-get-type "^24.9.0" + leven "^3.1.0" + pretty-format "^24.9.0" + +jest-watcher@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-watcher/-/jest-watcher-24.9.0.tgz#4b56e5d1ceff005f5b88e528dc9afc8dd4ed2b3b" + integrity sha512-+/fLOfKPXXYJDYlks62/4R4GoT+GU1tYZed99JSCOsmzkkF7727RqKrjNAxtfO4YpGv11wybgRvCjR73lK2GZw== + dependencies: + "@jest/test-result" "^24.9.0" + "@jest/types" "^24.9.0" + "@types/yargs" "^13.0.0" ansi-escapes "^3.0.0" chalk "^2.0.1" - jest-util "^24.8.0" + jest-util "^24.9.0" string-length "^2.0.0" -jest-worker@^24.6.0: - version "24.6.0" - resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-24.6.0.tgz#7f81ceae34b7cde0c9827a6980c35b7cdc0161b3" - integrity sha512-jDwgW5W9qGNvpI1tNnvajh0a5IE/PuGLFmHk6aR/BZFz8tSgGw17GsDPXAJ6p91IvYDjOw8GpFbvvZGAK+DPQQ== +jest-worker@^24.6.0, jest-worker@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz#5dbfdb5b2d322e98567898238a9697bcce67b3e5" + integrity sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw== dependencies: - merge-stream "^1.0.1" + merge-stream "^2.0.0" supports-color "^6.1.0" jest@24.8.0: @@ -6918,24 +6261,24 @@ jest@24.8.0: import-local "^2.0.0" jest-cli "^24.8.0" +js-levenshtein@^1.1.3: + version "1.1.6" + resolved "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d" + integrity sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g== + js-string-escape@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/js-string-escape/-/js-string-escape-1.0.1.tgz#e2625badbc0d67c7533e9edc1068c587ae4137ef" integrity sha1-4mJbrbwNZ8dTPp7cEGjFh65BN+8= -js-tokens@^3.0.0, js-tokens@^3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" - integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= - -js-tokens@^4.0.0: +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-yaml@>=3.13.0, js-yaml@^3.10.0, js-yaml@^3.13.0, js-yaml@^3.13.1, js-yaml@^3.8.2, js-yaml@^3.9.0: +js-yaml@>=3.13.0, js-yaml@^3.10.0, js-yaml@^3.13.1: version "3.13.1" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" + resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== dependencies: argparse "^1.0.7" @@ -6978,11 +6321,6 @@ jsdom@^11.5.1: ws "^5.2.0" xml-name-validator "^3.0.0" -jsesc@^1.3.0: - version "1.3.0" - resolved "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" - integrity sha1-RsP+yMGJKxKwgz25vHYiF226s0s= - jsesc@^2.5.1: version "2.5.2" resolved "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" @@ -6993,10 +6331,15 @@ jsesc@~0.5.0: resolved "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" integrity sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0= +json-buffer@3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" + integrity sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg= + json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.1.tgz#50183cd1b2d25275de069e9e71b467ac9eab973a" - integrity sha512-xyQpxeWWMKyJps9CuGJYeng6ssI5bpqS9ltQpdVQ90t4ql6NdnxFKh95JcRt2cun/DjMVNrdjniLPuMA69xmCw== + version "1.0.2" + resolved "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" + integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== json-schema-traverse@^0.4.1: version "0.4.1" @@ -7008,30 +6351,18 @@ json-schema@0.2.3: resolved "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM= -json-stable-stringify@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" - integrity sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8= - dependencies: - jsonify "~0.0.0" - json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= json5@2.x, json5@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/json5/-/json5-2.1.0.tgz#e7a0c62c48285c628d20a10b85c89bb807c32850" - integrity sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ== + version "2.1.1" + resolved "https://registry.npmjs.org/json5/-/json5-2.1.1.tgz#81b6cb04e9ba496f1c7005d07b4368a2638f90b6" + integrity sha512-l+3HXD0GEI3huGq1njuqtzYK8OYJyXMkOLtQ53pjWh89tvWS2h6l+1zMkYWqlb57+SiQodKZyvMEFb2X+KrFhQ== dependencies: minimist "^1.2.0" -json5@^0.5.1: - version "0.5.1" - resolved "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" - integrity sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE= - jsonfile@^2.1.0: version "2.4.0" resolved "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8" @@ -7046,11 +6377,6 @@ jsonfile@^4.0.0: optionalDependencies: graceful-fs "^4.1.6" -jsonify@~0.0.0: - version "0.0.0" - resolved "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" - integrity sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM= - jsonparse@^1.2.0: version "1.3.1" resolved "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" @@ -7066,6 +6392,13 @@ jsprim@^1.2.2: json-schema "0.2.3" verror "1.10.0" +keyv@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9" + integrity sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA== + dependencies: + json-buffer "3.0.0" + kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" resolved "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" @@ -7090,25 +6423,11 @@ kind-of@^6.0.0, kind-of@^6.0.2: resolved "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" integrity sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA== -kleur@^3.0.2: +kleur@^3.0.3: version "3.0.3" resolved "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== -last-line-stream@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/last-line-stream/-/last-line-stream-1.0.0.tgz#d1b64d69f86ff24af2d04883a2ceee14520a5600" - integrity sha1-0bZNafhv8kry0EiDos7uFFIKVgA= - dependencies: - through2 "^2.0.0" - -latest-version@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/latest-version/-/latest-version-2.0.0.tgz#56f8d6139620847b8017f8f1f4d78e211324168b" - integrity sha1-VvjWE5YghHuAF/jx9NeOIRMkFos= - dependencies: - package-json "^2.0.0" - latest-version@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/latest-version/-/latest-version-3.1.0.tgz#a205383fea322b33b5ae3b18abee0dc2f356ee15" @@ -7116,17 +6435,12 @@ latest-version@^3.0.0: dependencies: package-json "^4.0.0" -lazy-cache@^2.0.2: - version "2.0.2" - resolved "https://registry.npmjs.org/lazy-cache/-/lazy-cache-2.0.2.tgz#b9190a4f913354694840859f8a8f7084d8822264" - integrity sha1-uRkKT5EzVGlIQIWfio9whNiCImQ= +latest-version@^5.0.0: + version "5.1.0" + resolved "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz#119dfe908fe38d15dfa43ecd13fa12ec8832face" + integrity sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA== dependencies: - set-getter "^0.1.0" - -lazy-req@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/lazy-req/-/lazy-req-1.1.0.tgz#bdaebead30f8d824039ce0ce149d4daa07ba1fac" - integrity sha1-va6+rTD42CQDnODOFJ1Nqge6H6w= + package-json "^6.3.0" lcid@^1.0.0: version "1.0.0" @@ -7135,13 +6449,6 @@ lcid@^1.0.0: dependencies: invert-kv "^1.0.0" -lcid@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f397253cf" - integrity sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA== - dependencies: - invert-kv "^2.0.0" - left-pad@^1.3.0: version "1.3.0" resolved "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e" @@ -7170,10 +6477,10 @@ lerna@3.18.3: import-local "^2.0.0" npmlog "^4.1.2" -leven@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz#c2e7a9f772094dee9d34202ae8acce4687875580" - integrity sha1-wuep93IJTe6dNCAq6KzORoeHVYA= +leven@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" + integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== levn@~0.3.0: version "0.3.0" @@ -7282,16 +6589,6 @@ load-json-file@^1.0.0: pinkie-promise "^2.0.0" strip-bom "^2.0.0" -load-json-file@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8" - integrity sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg= - dependencies: - graceful-fs "^4.1.2" - parse-json "^2.2.0" - pify "^2.0.0" - strip-bom "^3.0.0" - load-json-file@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" @@ -7302,7 +6599,7 @@ load-json-file@^4.0.0: pify "^3.0.0" strip-bom "^3.0.0" -load-json-file@^5.3.0: +load-json-file@^5.2.0, load-json-file@^5.3.0: version "5.3.0" resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-5.3.0.tgz#4d3c1e01fa1c03ea78a60ac7af932c9ce53403f3" integrity sha512-cJGP40Jc/VXUsp8/OrnyKyTZ1y6v/dphm3bioS+RrKXjK2BB6wHUd6JptZEFDGgGahMT+InnZO5i1Ei9mpC8Bw== @@ -7338,7 +6635,7 @@ locate-path@^5.0.0: lodash._reinterpolate@^3.0.0: version "3.0.0" - resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" + resolved "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" integrity sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0= lodash.clonedeep@^4.5.0: @@ -7346,26 +6643,6 @@ lodash.clonedeep@^4.5.0: resolved "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= -lodash.clonedeepwith@^4.5.0: - version "4.5.0" - resolved "https://registry.npmjs.org/lodash.clonedeepwith/-/lodash.clonedeepwith-4.5.0.tgz#6ee30573a03a1a60d670a62ef33c10cf1afdbdd4" - integrity sha1-buMFc6A6GmDWcKYu8zwQzxr9vdQ= - -lodash.debounce@^4.0.3: - version "4.0.8" - resolved "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" - integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= - -lodash.difference@^4.3.0: - version "4.5.0" - resolved "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz#9ccb4e505d486b91651345772885a2df27fd017c" - integrity sha1-nMtOUF1Ia5FlE0V3KIWi3yf9AXw= - -lodash.flatten@^4.2.0: - version "4.4.0" - resolved "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f" - integrity sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8= - lodash.flattendeep@^4.4.0: version "4.4.0" resolved "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz#fb030917f86a3134e5bc9bec0d69e0013ddfedb2" @@ -7376,10 +6653,10 @@ lodash.get@^4.4.2: resolved "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk= -lodash.isequal@^4.5.0: - version "4.5.0" - resolved "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" - integrity sha1-QVxEePK8wwEgwizhDtMib30+GOA= +lodash.islength@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/lodash.islength/-/lodash.islength-4.0.1.tgz#4e9868d452575d750affd358c979543dc20ed577" + integrity sha1-Tpho1FJXXXUK/9NYyXlUPcIO1Xc= lodash.ismatch@^4.4.0: version "4.4.0" @@ -7396,9 +6673,9 @@ lodash.memoize@4.x: resolved "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= -lodash.merge@^4.6.0: +lodash.merge@^4.6.1: version "4.6.2" - resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" + resolved "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== lodash.set@^4.3.2: @@ -7413,7 +6690,7 @@ lodash.sortby@^4.7.0: lodash.template@^4.0.2, lodash.template@^4.5.0: version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-4.5.0.tgz#f976195cf3f347d0d5f52483569fe8031ccce8ab" + resolved "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz#f976195cf3f347d0d5f52483569fe8031ccce8ab" integrity sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A== dependencies: lodash._reinterpolate "^3.0.0" @@ -7421,7 +6698,7 @@ lodash.template@^4.0.2, lodash.template@^4.5.0: lodash.templatesettings@^4.0.0: version "4.2.0" - resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz#e481310f049d3cf6d47e912ad09313b154f0fb33" + resolved "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz#e481310f049d3cf6d47e912ad09313b154f0fb33" integrity sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ== dependencies: lodash._reinterpolate "^3.0.0" @@ -7431,10 +6708,10 @@ lodash.uniq@^4.5.0: resolved "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@4.17.14, lodash@4.17.15, lodash@^3.3.1, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.5.1: - version "4.17.14" - resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.14.tgz#9ce487ae66c96254fe20b599f21b6816028078ba" - integrity sha512-mmKYbW3GLuJeX+iGP+Y7Gp1AiGHGbXHCOh/jZmrawMmsE7MS4znI3RL2FsjbqOyMayHInjOeykW7PEajUk1/xw== +lodash@4.17.14, lodash@4.17.15, lodash@^3.3.1, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.2.1, lodash@^4.5.1: + version "4.17.15" + resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" + integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== log-symbols@^1.0.2: version "1.0.2" @@ -7473,13 +6750,13 @@ longest@^1.0.1: integrity sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc= loose-envify@^1.0.0: - version "1.3.1" - resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" - integrity sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg= + version "1.4.0" + resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== dependencies: - js-tokens "^3.0.0" + js-tokens "^3.0.0 || ^4.0.0" -loud-rejection@^1.0.0, loud-rejection@^1.2.0: +loud-rejection@^1.0.0: version "1.6.0" resolved "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz#5b46f80147edee578870f086d04821cf998e551f" integrity sha1-W0b4AUft7leIcPCG0Eghz5mOVR8= @@ -7487,15 +6764,28 @@ loud-rejection@^1.0.0, loud-rejection@^1.2.0: currently-unhandled "^0.4.1" signal-exit "^3.0.0" -lowercase-keys@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.0.tgz#4e3366b39e7f5457e35f1324bdf6f88d0bfc7306" - integrity sha1-TjNms55/VFfjXxMkvfb4jQv8cwY= +loud-rejection@^2.1.0: + version "2.2.0" + resolved "https://registry.npmjs.org/loud-rejection/-/loud-rejection-2.2.0.tgz#4255eb6e9c74045b0edc021fa7397ab655a8517c" + integrity sha512-S0FayMXku80toa5sZ6Ro4C+s+EtFDCsyJNG/AzFMfX3AxD5Si4dZsgzm/kKnbOxHl5Cv8jBlno8+3XYIh2pNjQ== + dependencies: + currently-unhandled "^0.4.1" + signal-exit "^3.0.2" + +lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" + integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== + +lowercase-keys@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" + integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== lru-cache@^4.0.1, lru-cache@^4.1.1: - version "4.1.1" - resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55" - integrity sha512-q4spe4KTfsAS1SUHLO0wz8Qiyf1+vMIAgpRYioFYDMNqKfHQbg+AVDH3i4fvpl71/P1L0dBl+fQi+P37UYf0ew== + version "4.1.5" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" + integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== dependencies: pseudomap "^1.0.2" yallist "^2.1.2" @@ -7513,13 +6803,13 @@ macos-release@^2.2.0: integrity sha512-OHhSbtcviqMPt7yfw5ef5aghS2jzFVKEFyCJndQt2YpSQ9qRVSEv2axSJI1paVThEu+FFGs584h/1YhxjVqajA== make-dir@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/make-dir/-/make-dir-1.1.0.tgz#19b4369fe48c116f53c2af95ad102c0e39e85d51" - integrity sha512-0Pkui4wLJ7rxvmfUvs87skoEaxmu0hCUApF8nonzpl7q//FWp9zu8W61Scz4sd/kUiqDxvUhtoam2efDyiBzcA== + version "1.3.0" + resolved "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c" + integrity sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ== dependencies: pify "^3.0.0" -make-dir@^2.1.0: +make-dir@^2.0.0, make-dir@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== @@ -7527,21 +6817,28 @@ make-dir@^2.1.0: pify "^4.0.1" semver "^5.6.0" +make-dir@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/make-dir/-/make-dir-3.0.0.tgz#1b5f39f6b9270ed33f9f054c5c0f84304989f801" + integrity sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw== + dependencies: + semver "^6.0.0" + make-error@1.x: version "1.3.5" resolved "https://registry.npmjs.org/make-error/-/make-error-1.3.5.tgz#efe4e81f6db28cadd605c70f29c831b58ef776c8" integrity sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g== make-fetch-happen@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-5.0.0.tgz#a8e3fe41d3415dd656fe7b8e8172e1fb4458b38d" - integrity sha512-nFr/vpL1Jc60etMVKeaLOqfGjMMb3tAHFVJWxHOFCFS04Zmd7kGlMxo0l1tzfhoQje0/UPnd0X8OeGUiXXnfPA== + version "5.0.2" + resolved "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-5.0.2.tgz#aa8387104f2687edca01c8687ee45013d02d19bd" + integrity sha512-07JHC0r1ykIoruKO8ifMXu+xEU8qOXDFETylktdug6vJDACnP+HKevOu3PXyNPzFyTSlz8vrBYlBO1JZRe8Cag== dependencies: agentkeepalive "^3.4.1" cacache "^12.0.0" http-cache-semantics "^3.8.1" http-proxy-agent "^2.1.0" - https-proxy-agent "^2.2.1" + https-proxy-agent "^2.2.3" lru-cache "^5.1.1" mississippi "^3.0.0" node-fetch-npm "^2.0.2" @@ -7556,13 +6853,6 @@ makeerror@1.0.x: dependencies: tmpl "1.0.x" -map-age-cleaner@^0.1.1: - version "0.1.3" - resolved "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz#7d583a7306434c055fe474b0f45078e6e1b4b92a" - integrity sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w== - dependencies: - p-defer "^1.0.0" - map-cache@^0.2.2: version "0.2.2" resolved "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" @@ -7585,41 +6875,29 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" -marked@0.3.9, marked@^0.3.6, marked@^0.5.1: +marked@0.3.9, marked@^0.7.0: version "0.3.9" - resolved "https://registry.yarnpkg.com/marked/-/marked-0.3.9.tgz#54ce6a57e720c3ac6098374ec625fcbcc97ff290" + resolved "https://registry.npmjs.org/marked/-/marked-0.3.9.tgz#54ce6a57e720c3ac6098374ec625fcbcc97ff290" integrity sha512-nW5u0dxpXxHfkHzzrveY45gCbi+R4PaO4WRZYqZNl+vB0hVGeqlFn0aOg1c8AKL63TrNFn9Bm2UP4AdiZ9TPLw== -matcher@^0.1.1: - version "0.1.2" - resolved "https://registry.npmjs.org/matcher/-/matcher-0.1.2.tgz#ef20cbde64c24c50cc61af5b83ee0b1b8ff00101" - integrity sha1-7yDL3mTCTFDMYa9bg+4LG4/wAQE= - dependencies: - escape-string-regexp "^1.0.4" - matcher@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/matcher/-/matcher-1.0.0.tgz#aaf0c4816eb69b92094674175625f3466b0e3e19" - integrity sha1-qvDEgW62m5IJRnQXViXzRmsOPhk= + version "1.1.1" + resolved "https://registry.npmjs.org/matcher/-/matcher-1.1.1.tgz#51d8301e138f840982b338b116bb0c09af62c1c2" + integrity sha512-+BmqxWIubKTRKNWx/ahnCkk3mG8m7OturVlqq6HiojGJTd5hVYbgZm6WzcYPCoB+KBT4Vd6R7WSRG2OADNaCjg== dependencies: escape-string-regexp "^1.0.4" -math-random@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/math-random/-/math-random-1.0.1.tgz#8b3aac588b8a66e4975e3cdea67f7bb329601fac" - integrity sha1-izqsWIuKZuSXXjzepn97sylgH6w= - -max-timeout@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/max-timeout/-/max-timeout-1.0.0.tgz#b68f69a2f99e0b476fd4cb23e2059ca750715e1f" - integrity sha1-to9povmeC0dv1Msj4gWcp1BxXh8= - -md5-hex@^1.2.0, md5-hex@^1.3.0: - version "1.3.0" - resolved "https://registry.npmjs.org/md5-hex/-/md5-hex-1.3.0.tgz#d2c4afe983c4370662179b8cad145219135046c4" - integrity sha1-0sSv6YPENwZiF5uMrRRSGRNQRsQ= +matcher@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/matcher/-/matcher-2.1.0.tgz#64e1041c15b993e23b786f93320a7474bf833c28" + integrity sha512-o+nZr+vtJtgPNklyeUKkkH42OsK8WAfdgaJE2FNxcjLPg+5QbeEoT6vRj8Xq/iv18JlQ9cmKsEu0b94ixWf1YQ== dependencies: - md5-o-matic "^0.1.1" + escape-string-regexp "^2.0.0" + +math-random@^1.0.1: + version "1.0.4" + resolved "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz#5dd6943c938548267016d4e34f057583080c514c" + integrity sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A== md5-hex@^2.0.0: version "2.0.0" @@ -7628,31 +6906,24 @@ md5-hex@^2.0.0: dependencies: md5-o-matic "^0.1.1" +md5-hex@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/md5-hex/-/md5-hex-3.0.1.tgz#be3741b510591434b2784d79e556eefc2c9a8e5c" + integrity sha512-BUiRtTtV39LIJwinWBjqVsU9xhdnz7/i889V859IBFpuqGAj6LuOvHv5XLbgZ2R7ptJoJaEcxkv88/h25T7Ciw== + dependencies: + blueimp-md5 "^2.10.0" + md5-o-matic@^0.1.1: version "0.1.1" resolved "https://registry.npmjs.org/md5-o-matic/-/md5-o-matic-0.1.1.tgz#822bccd65e117c514fab176b25945d54100a03c3" integrity sha1-givM1l4RfFFPqxdrJZRdVBAKA8M= -medium-zoom@^0.2.0: - version "0.2.0" - resolved "https://registry.npmjs.org/medium-zoom/-/medium-zoom-0.2.0.tgz#12c9a6da7dee80adcb7bfae8549f9306017e4ca6" - integrity sha512-2595M4GDwjoyZVDtkw6JWY8JxkhZVumqPjvM8coyRcULPZpoij2bQJ1/syqtx4XiflaqTva0cAch1kzqk0ir9Q== - -medium-zoom@^0.4.0: - version "0.4.0" - resolved "https://registry.npmjs.org/medium-zoom/-/medium-zoom-0.4.0.tgz#8e13c9b754903c0c903220611af0d3cd373a4222" - integrity sha512-0z7yMfd6I1BTCAa8QaR4cp5AqDkQD571GzhHIbbfefKEssGLSvs+4Xai/itOAncm4FBlF5gUoMQ22yW9/f8Sig== - -mem@^4.0.0: - version "4.3.0" - resolved "https://registry.npmjs.org/mem/-/mem-4.3.0.tgz#461af497bc4ae09608cdb2e60eefb69bff744178" - integrity sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w== - dependencies: - map-age-cleaner "^0.1.1" - mimic-fn "^2.0.0" - p-is-promise "^2.0.0" +medium-zoom@^1.0.4: + version "1.0.5" + resolved "https://registry.npmjs.org/medium-zoom/-/medium-zoom-1.0.5.tgz#81413dda20ccdd857141ff420cfab788dd32e20e" + integrity sha512-aLGa6WlTuFKWvH88bqTrY5ztJMN+D0hd8UX6BYc4YSoPayppzETjZUcdVcksgaoQEMg4cZSmXPg846fTp2rjRQ== -meow@4.0.1: +meow@4.0.1, meow@^4.0.0: version "4.0.1" resolved "https://registry.npmjs.org/meow/-/meow-4.0.1.tgz#d48598f6f4b1472f35bf6317a95945ace347f975" integrity sha512-xcSBHD5Z86zaOc+781KrupuHAzeGXSLtiAOmBsiLDiPSaYSB6hdew2ng9EBAnZ62jagG9MHAOdxpDi/lWBFJ/A== @@ -7667,7 +6938,7 @@ meow@4.0.1: redent "^2.0.0" trim-newlines "^2.0.0" -meow@5.0.0: +meow@5.0.0, meow@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/meow/-/meow-5.0.0.tgz#dfc73d63a9afc714a5e371760eb5c88b91078aa4" integrity sha512-CbTqYU17ABaLefO8vCU153ZZlprKYWDljcndKKDCFcYQITzWCXZAVk4QMFZPgvzrnUQ3uItnIE/LoUOwrT15Ig== @@ -7682,7 +6953,7 @@ meow@5.0.0: trim-newlines "^2.0.0" yargs-parser "^10.0.0" -meow@^3.3.0, meow@^3.7.0: +meow@^3.3.0: version "3.7.0" resolved "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb" integrity sha1-cstmi0JSKCkKu/qFaJJYcwioAfs= @@ -7698,37 +6969,20 @@ meow@^3.3.0, meow@^3.7.0: redent "^1.0.0" trim-newlines "^1.0.0" -meow@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/meow/-/meow-4.0.0.tgz#fd5855dd008db5b92c552082db1c307cba20b29d" - integrity sha512-Me/kel335m6vMKmEmA6c87Z6DUFW3JqkINRnxkbC+A/PUm0D5Fl2dEBQrPKnqCL9Te/CIa1MUt/0InMJhuC/sw== - dependencies: - camelcase-keys "^4.0.0" - decamelize-keys "^1.0.0" - loud-rejection "^1.0.0" - minimist "^1.1.3" - minimist-options "^3.0.1" - normalize-package-data "^2.3.4" - read-pkg-up "^3.0.0" - redent "^2.0.0" - trim-newlines "^2.0.0" - merge-descriptors@~1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" integrity sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E= -merge-stream@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-1.0.1.tgz#4041202d508a342ba00174008df0c251b8c135e1" - integrity sha1-QEEgLVCKNCugAXQAjfDCUbjBNeE= - dependencies: - readable-stream "^2.0.1" +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== -merge2@^1.2.3: - version "1.2.3" - resolved "https://registry.npmjs.org/merge2/-/merge2-1.2.3.tgz#7ee99dbd69bb6481689253f018488a1b902b0ed5" - integrity sha512-gdUU1Fwj5ep4kplwcmftruWofEFt6lfpkkr3h860CXbAB9c3hGb55EOL2ali0Td5oebvW0E1+3Sr+Ur7XfKpRA== +merge2@^1.2.3, merge2@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/merge2/-/merge2-1.3.0.tgz#5b366ee83b2f1582c48f87e47cf1a9352103ca81" + integrity sha512-2j4DAdlBOkiSZIsaXk4mTE3sRS02yBHAtfy127xRV3bQUFqXkjHCHLW6Scv7DwNRbIWNHH8zpnz9zMaKXIdvYw== merge@^1.2.1: version "1.2.1" @@ -7781,46 +7035,39 @@ micromatch@^4.0.2: braces "^3.0.1" picomatch "^2.0.5" -mime-db@~1.30.0: - version "1.30.0" - resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.30.0.tgz#74c643da2dd9d6a45399963465b26d5ca7d71f01" - integrity sha1-dMZD2i3Z1qRTmZY0ZbJtXKfXHwE= - -mime-db@~1.37.0: - version "1.37.0" - resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz#0b6a0ce6fdbe9576e25f1f2d2fde8830dc0ad0d8" - integrity sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg== +mime-db@1.42.0: + version "1.42.0" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.42.0.tgz#3e252907b4c7adb906597b4b65636272cf9e7bac" + integrity sha512-UbfJCR4UAVRNgMpfImz05smAXK7+c+ZntjaA26ANtkXLlOe947Aag5zdIcKQULAiF9Cq4WxBi9jUs5zkA84bYQ== -mime-types@^2.1.12, mime-types@~2.1.7: - version "2.1.17" - resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.17.tgz#09d7a393f03e995a79f8af857b70a9e0ab16557a" - integrity sha1-Cdejk/A+mVp5+K+Fe3Cp4KsWVXo= +mime-types@^2.1.12, mime-types@~2.1.19: + version "2.1.25" + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.25.tgz#39772d46621f93e2a80a856c53b86a62156a6437" + integrity sha512-5KhStqB5xpTAeGqKBAMgwaYMnQik7teQN4IAzC7npDv6kzeU6prfkR67bc87J1kWMPGkoaZSq1npmexMgkmEVg== dependencies: - mime-db "~1.30.0" + mime-db "1.42.0" -mime-types@~2.1.19: - version "2.1.21" - resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz#28995aa1ecb770742fe6ae7e58f9181c744b3f96" - integrity sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg== - dependencies: - mime-db "~1.37.0" - -mime@1.4.1: - version "1.4.1" - resolved "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" - integrity sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ== +mime@1.6.0: + version "1.6.0" + resolved "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" + integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== mimic-fn@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18" - integrity sha1-5md4PZLonb00KBi1IwudYqZyrRg= + version "1.2.0" + resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" + integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== -mimic-fn@^2.0.0: +mimic-fn@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== -minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.4: +mimic-response@^1.0.0, mimic-response@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" + integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== + +minimatch@^3.0.4: version "3.0.4" resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== @@ -7850,43 +7097,20 @@ minimist@~0.0.1: resolved "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8= -minipass@^2.2.1: - version "2.3.4" - resolved "https://registry.npmjs.org/minipass/-/minipass-2.3.4.tgz#4768d7605ed6194d6d576169b9e12ef71e9d9957" - integrity sha512-mlouk1OHlaUE8Odt1drMtG1bAJA4ZA6B/ehysgV0LUIrDHdKgo1KorZq3pK0b/7Z7LJIQ12MNM6aC+Tn6lUZ5w== - dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" - -minipass@^2.3.4, minipass@^2.3.5: - version "2.3.5" - resolved "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz#cacebe492022497f656b0f0f51e2682a9ed2d848" - integrity sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA== - dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" - -minipass@^2.6.4: - version "2.8.1" - resolved "https://registry.npmjs.org/minipass/-/minipass-2.8.1.tgz#a73bdc84cad62e8e6c8d56eba1302a5fe04c5910" - integrity sha512-QCG523ParRcE2+9A6wYh9UI3uy2FFLw4DQaVYQrY5HPfszc5M6VDD+j0QCwHm19LI2imes4RB+NBD8cOJccyCg== +minipass@^2.3.5, minipass@^2.6.0, minipass@^2.8.6, minipass@^2.9.0: + version "2.9.0" + resolved "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" + integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== dependencies: safe-buffer "^5.1.2" yallist "^3.0.0" -minizlib@^1.1.1: - version "1.2.1" - resolved "https://registry.npmjs.org/minizlib/-/minizlib-1.2.1.tgz#dd27ea6136243c7c880684e8672bb3a45fd9b614" - integrity sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA== - dependencies: - minipass "^2.2.1" - minizlib@^1.2.1: - version "1.2.2" - resolved "https://registry.npmjs.org/minizlib/-/minizlib-1.2.2.tgz#6f0ccc82fa53e1bf2ff145f220d2da9fa6e3a166" - integrity sha512-hR3At21uSrsjjDTWrbu0IMLTpnkpv8IIMFDFaoz43Tmu4LkmAXfH44vNNzpTnf+OAQQCHrb91y/wc2J4x5XgSQ== + version "1.3.3" + resolved "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" + integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== dependencies: - minipass "^2.2.1" + minipass "^2.9.0" mississippi@^3.0.0: version "3.0.0" @@ -7905,9 +7129,9 @@ mississippi@^3.0.0: through2 "^2.0.0" mixin-deep@^1.2.0: - version "1.3.1" - resolved "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz#a49e7268dce1a0d9698e45326c5626df3543d0fe" - integrity sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ== + version "1.3.2" + resolved "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566" + integrity sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA== dependencies: for-in "^1.0.2" is-extendable "^1.0.1" @@ -7919,7 +7143,7 @@ mkdirp-promise@^5.0.1: dependencies: mkdirp "*" -mkdirp@*, mkdirp@0.5.1, mkdirp@0.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1: +mkdirp@*, mkdirp@0.5.1, mkdirp@0.x, mkdirp@^0.5.0, mkdirp@^0.5.1: version "0.5.1" resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= @@ -7927,18 +7151,18 @@ mkdirp@*, mkdirp@0.5.1, mkdirp@0.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5 minimist "0.0.8" modify-values@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/modify-values/-/modify-values-1.0.0.tgz#e2b6cdeb9ce19f99317a53722f3dbf5df5eaaab2" - integrity sha1-4rbN65zhn5kxelNyLz2/XfXqqrI= + version "1.0.1" + resolved "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" + integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== module-not-found-error@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/module-not-found-error/-/module-not-found-error-1.0.1.tgz#cf8b4ff4f29640674d6cdd02b0e3bc523c2bbdc0" integrity sha1-z4tP9PKWQGdNbN0CsOO8UjwrvcA= -moment@2.19.3, moment@^2.18.1: +moment@2.19.3: version "2.19.3" - resolved "https://registry.yarnpkg.com/moment/-/moment-2.19.3.tgz#bdb99d270d6d7fda78cc0fbace855e27fe7da69f" + resolved "https://registry.npmjs.org/moment/-/moment-2.19.3.tgz#bdb99d270d6d7fda78cc0fbace855e27fe7da69f" integrity sha1-vbmdJw1tf9p4zA+6zoVeJ/59pp8= move-concurrently@^1.0.1: @@ -7953,35 +7177,20 @@ move-concurrently@^1.0.1: rimraf "^2.5.4" run-queue "^1.0.3" -ms@2.0.0, ms@^2.0.0: +ms@2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= -ms@^0.7.1: - version "0.7.3" - resolved "https://registry.npmjs.org/ms/-/ms-0.7.3.tgz#708155a5e44e33f5fd0fc53e81d0d40a91be1fff" - integrity sha1-cIFVpeROM/X9D8U+gdDUCpG+H/8= - -ms@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/ms/-/ms-1.0.0.tgz#59adcd22edc543f7b5381862d31387b1f4bc9473" - integrity sha1-Wa3NIu3FQ/e1OBhi0xOHsfS8lHM= - -ms@^2.1.1: +ms@2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg== -multimatch@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/multimatch/-/multimatch-2.1.0.tgz#9c7906a22fb4c02919e2f5f75161b4cdbd4b2a2b" - integrity sha1-nHkGoi+0wCkZ4vX3UWG0zb1LKis= - dependencies: - array-differ "^1.0.0" - array-union "^1.0.1" - arrify "^1.0.0" - minimatch "^3.0.0" +ms@^2.0.0, ms@^2.1.1, ms@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== multimatch@^3.0.0: version "3.0.0" @@ -7998,11 +7207,16 @@ mute-stream@0.0.5: resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.5.tgz#8fbfabb0a98a253d3184331f9e8deb7372fac6c0" integrity sha1-j7+rsKmKJT0xhDMfno3rc3L6xsA= -mute-stream@0.0.7, mute-stream@~0.0.4: +mute-stream@0.0.7: version "0.0.7" resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= +mute-stream@~0.0.4: + version "0.0.8" + resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" + integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== + mz@^2.5.0: version "2.7.0" resolved "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32" @@ -8013,14 +7227,9 @@ mz@^2.5.0: thenify-all "^1.0.0" nan@^2.12.1: - version "2.13.2" - resolved "https://registry.npmjs.org/nan/-/nan-2.13.2.tgz#f51dc7ae66ba7d5d55e1e6d4d8092e802c9aefe7" - integrity sha512-TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw== - -nan@^2.3.0: - version "2.8.0" - resolved "https://registry.npmjs.org/nan/-/nan-2.8.0.tgz#ed715f3fe9de02b57a5e6252d90a96675e1f085a" - integrity sha1-7XFfP+neArV6XmJS2QqWZ14fCFo= + version "2.14.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" + integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg== nanomatch@^1.2.9: version "1.2.13" @@ -8045,30 +7254,28 @@ natural-compare@^1.4.0: integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= needle@^2.2.1: - version "2.3.1" - resolved "https://registry.npmjs.org/needle/-/needle-2.3.1.tgz#d272f2f4034afb9c4c9ab1379aabc17fc85c9388" - integrity sha512-CaLXV3W8Vnbps8ZANqDGz7j4x7Yj1LW4TWF/TQuDfj7Cfx4nAPTvw98qgTevtto1oHDrh3pQkaODbqupXlsWTg== + version "2.4.0" + resolved "https://registry.npmjs.org/needle/-/needle-2.4.0.tgz#6833e74975c444642590e15a750288c5f939b57c" + integrity sha512-4Hnwzr3mi5L97hMYeNl8wRW/Onhy4nUKR/lVemJ8gJedxxUyBLm9kkrDColJvoSfwi0jCNhD+xCdOtiGDQiRZg== dependencies: - debug "^4.1.0" + debug "^3.2.6" iconv-lite "^0.4.4" sax "^1.2.4" neo-async@^2.6.0: - version "2.6.0" - resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.0.tgz#b9d15e4d71c6762908654b5183ed38b753340835" - integrity sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA== + version "2.6.1" + resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c" + integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw== nested-error-stacks@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/nested-error-stacks/-/nested-error-stacks-2.0.0.tgz#98b2ffaefb4610fa3936f1e71435d30700de2840" - integrity sha1-mLL/rvtGEPo5NvHnFDXTBwDeKEA= - dependencies: - inherits "~2.0.1" + version "2.1.0" + resolved "https://registry.npmjs.org/nested-error-stacks/-/nested-error-stacks-2.1.0.tgz#0fbdcf3e13fe4994781280524f8b96b0cdff9c61" + integrity sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug== nice-try@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/nice-try/-/nice-try-1.0.4.tgz#d93962f6c52f2c1558c0fbda6d512819f1efe1c4" - integrity sha512-2NpiFHqC87y/zFke0fC0spBXL3bBsoh/p5H1EFhshxjCR5+0g2d6BiXbUFz9v1sAcxsk2htp2eQnNIci2dIYcA== + version "1.0.5" + resolved "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" + integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== node-fetch-npm@^2.0.2: version "2.0.2" @@ -8079,48 +7286,27 @@ node-fetch-npm@^2.0.2: json-parse-better-errors "^1.0.0" safe-buffer "^5.1.1" -node-fetch@1.6.3: - version "1.6.3" - resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-1.6.3.tgz#dc234edd6489982d58e8f0db4f695029abcd8c04" - integrity sha1-3CNO3WSJmC1Y6PDbT2lQKavNjAQ= - dependencies: - encoding "^0.1.11" - is-stream "^1.0.1" - -node-fetch@^1.7.0: - version "1.7.3" - resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef" - integrity sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ== - dependencies: - encoding "^0.1.11" - is-stream "^1.0.1" - -node-fetch@^2.3.0: - version "2.3.0" - resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.3.0.tgz#1a1d940bbfb916a1d3e0219f037e89e71f8c5fa5" - integrity sha512-MOd8pV3fxENbryESLgVIeaGKrdl+uaYhCSSVkjeOb/31/njTpcis5aWfdqgNlHIrKOLRbMnfPINPOML2CIFeXA== - -node-fetch@^2.5.0: +node-fetch@^2.3.0, node-fetch@^2.5.0, node-fetch@^2.6.0: version "2.6.0" resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd" integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA== node-gyp@^5.0.2: - version "5.0.3" - resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-5.0.3.tgz#80d64c23790244991b6d44532f0a351bedd3dd45" - integrity sha512-z/JdtkFGUm0QaQUusvloyYuGDub3nUbOo5de1Fz57cM++osBTvQatBUSTlF1k/w8vFHPxxXW6zxGvkxXSpaBkQ== + version "5.0.7" + resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-5.0.7.tgz#dd4225e735e840cf2870e4037c2ed9c28a31719e" + integrity sha512-K8aByl8OJD51V0VbUURTKsmdswkQQusIvlvmTyhHlIT1hBvaSxzdxpSle857XuXa7uc02UEZx9OR5aDxSWS5Qw== dependencies: - env-paths "^1.0.0" - glob "^7.0.3" - graceful-fs "^4.1.2" - mkdirp "^0.5.0" - nopt "2 || 3" - npmlog "0 || 1 || 2 || 3 || 4" - request "^2.87.0" - rimraf "2" - semver "~5.3.0" - tar "^4.4.8" - which "1" + env-paths "^2.2.0" + glob "^7.1.4" + graceful-fs "^4.2.2" + mkdirp "^0.5.1" + nopt "^4.0.1" + npmlog "^4.1.2" + request "^2.88.0" + rimraf "^2.6.3" + semver "^5.7.1" + tar "^4.4.12" + which "^1.3.1" node-int64@^0.4.0: version "0.4.0" @@ -8137,10 +7323,10 @@ node-modules-regexp@^1.0.0: resolved "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40" integrity sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA= -node-notifier@^5.2.1: - version "5.4.0" - resolved "https://registry.npmjs.org/node-notifier/-/node-notifier-5.4.0.tgz#7b455fdce9f7de0c63538297354f3db468426e6a" - integrity sha512-SUDEb+o71XR5lXSTyivXd9J7fCloE3SyP4lSgt3lU2oSANiox+SxlNRGPjDKrwU1YN3ix2KN/VGGCg0t01rttQ== +node-notifier@^5.4.2: + version "5.4.3" + resolved "https://registry.npmjs.org/node-notifier/-/node-notifier-5.4.3.tgz#cb72daf94c93904098e28b9c590fd866e464bd50" + integrity sha512-M4UBGcs4jeOK9CjTsYwkvH6/MzuUmGCyTW+kCY7uO+1ZVr0+FHGdPdIf5CCLqAaxnRrWidyoQlNkMIIVwbKB8Q== dependencies: growly "^1.3.0" is-wsl "^1.1.0" @@ -8148,10 +7334,10 @@ node-notifier@^5.2.1: shellwords "^0.1.1" which "^1.3.0" -node-pre-gyp@^0.12.0: - version "0.12.0" - resolved "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.12.0.tgz#39ba4bb1439da030295f899e3b520b7785766149" - integrity sha512-4KghwV8vH5k+g2ylT+sLTjy5wmUOb9vPhnM8NHvRf9dHmnW/CndrFXy2aRPaPST6dugXSdHXfeaHQm77PIz/1A== +node-pre-gyp@*: + version "0.14.0" + resolved "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.14.0.tgz#9a0596533b877289bcad4e143982ca3d904ddc83" + integrity sha512-+CvDC7ZttU/sSt9rFjix/P05iS43qHCOOGzcr3Ry99bXG7VX953+vFyEuph/tfqoYu8dttBkE86JSKBO2OzcxA== dependencies: detect-libc "^1.0.2" mkdirp "^0.5.1" @@ -8162,50 +7348,24 @@ node-pre-gyp@^0.12.0: rc "^1.2.7" rimraf "^2.6.1" semver "^5.3.0" - tar "^4" - -node-pre-gyp@^0.6.39: - version "0.6.39" - resolved "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.6.39.tgz#c00e96860b23c0e1420ac7befc5044e1d78d8649" - integrity sha512-OsJV74qxnvz/AMGgcfZoDaeDXKD3oY3QVIbBmwszTFkRisTSXbMQyn4UWzUMOtA5SVhrBZOTp0wcoSBgfMfMmQ== - dependencies: - detect-libc "^1.0.2" - hawk "3.1.3" - mkdirp "^0.5.1" - nopt "^4.0.1" - npmlog "^4.0.2" - rc "^1.1.7" - request "2.81.0" - rimraf "^2.6.1" - semver "^5.3.0" - tar "^2.2.1" - tar-pack "^3.4.0" - -node-status-codes@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/node-status-codes/-/node-status-codes-1.0.0.tgz#5ae5541d024645d32a58fcddc9ceecea7ae3ac2f" - integrity sha1-WuVUHQJGRdMqWPzdyc7s6nrjrC8= + tar "^4.4.2" -nodent-compiler@>=3.1.0: - version "3.1.3" - resolved "https://registry.npmjs.org/nodent-compiler/-/nodent-compiler-3.1.3.tgz#6f0f1f8098db251ec773742bb4f33cd0266434b2" - integrity sha512-pcUC9gIgXXI3mbGjESZfVZO4Vgarw63xYZFRdkqxCDnygvvpiAwzwvvJ7rWqskp72Nk3cxWZY/rYxUIkPT14lw== +node-releases@^1.1.42: + version "1.1.44" + resolved "https://registry.npmjs.org/node-releases/-/node-releases-1.1.44.tgz#cd66438a6eb875e3eb012b6a12e48d9f4326ffd7" + integrity sha512-NwbdvJyR7nrcGrXvKAvzc5raj/NkoJudkarh2yIpJ4t0NH4aqjUDz/486P+ynIW5eokKOfzGNRdYoLfBlomruw== dependencies: - acorn ">=2.5.2" - acorn-es7-plugin ">=1.1.6" - source-map "^0.5.6" + semver "^6.3.0" -nodent-runtime@>=3.0.4: - version "3.0.4" - resolved "https://registry.npmjs.org/nodent-runtime/-/nodent-runtime-3.0.4.tgz#a801ecb7bb0f6c39a69b24cc2fa370cfa8b492da" - integrity sha1-qAHst7sPbDmmmyTML6Nwz6i0kto= +nodent-runtime@^3.2.1: + version "3.2.1" + resolved "https://registry.npmjs.org/nodent-runtime/-/nodent-runtime-3.2.1.tgz#9e2755d85e39f764288f0d4752ebcfe3e541e00e" + integrity sha512-7Ws63oC+215smeKJQCxzrK21VFVlCFBkwl0MOObt0HOpVQXs3u483sAmtkF33nNqZ5rSOQjB76fgyPBmAUrtCA== -"nopt@2 || 3": - version "3.0.6" - resolved "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9" - integrity sha1-xkZdvwirzU2zWTF/eaxopkayj/k= - dependencies: - abbrev "1" +nodent-transform@^3.2.4: + version "3.2.9" + resolved "https://registry.npmjs.org/nodent-transform/-/nodent-transform-3.2.9.tgz#ec11a6116b5476e60bc212371cf6b8e4c74f40b6" + integrity sha512-4a5FH4WLi+daH/CGD5o/JWRR8W5tlCkd3nrDSkxbOzscJTyTUITltvOJeQjg3HJ1YgEuNyiPhQbvbtRjkQBByQ== nopt@^4.0.1: version "4.0.1" @@ -8215,17 +7375,7 @@ nopt@^4.0.1: abbrev "1" osenv "^0.1.4" -normalize-package-data@^2.0.0, normalize-package-data@^2.3.0, normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.3.5, normalize-package-data@^2.4.0: - version "2.4.0" - resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f" - integrity sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw== - dependencies: - hosted-git-info "^2.1.4" - is-builtin-module "^1.0.0" - semver "2 || 3 || 4 || 5" - validate-npm-package-license "^3.0.1" - -normalize-package-data@^2.5.0: +normalize-package-data@^2.0.0, normalize-package-data@^2.3.0, normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.3.5, normalize-package-data@^2.4.0, normalize-package-data@^2.5.0: version "2.5.0" resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== @@ -8242,7 +7392,7 @@ normalize-path@^2.0.0, normalize-path@^2.0.1, normalize-path@^2.1.1: dependencies: remove-trailing-separator "^1.0.1" -normalize-path@^3.0.0: +normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== @@ -8252,10 +7402,17 @@ normalize-url@^3.3.0: resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559" integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg== +normalize-url@^4.1.0: + version "4.5.0" + resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz#453354087e6ca96957bd8f5baf753f5982142129" + integrity sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ== + npm-bundled@^1.0.1: - version "1.0.5" - resolved "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.5.tgz#3c1732b7ba936b3a10325aef616467c0ccbcc979" - integrity sha512-m/e6jgWu8/v5niCUKQi9qQl8QdeEduFA96xHDDzFGqly0OOjI7c+60KM/2sppfnUU9JJagf+zs+yGhqSOFj71g== + version "1.1.1" + resolved "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.1.tgz#1edd570865a94cdb1bc8220775e29466c9fb234b" + integrity sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA== + dependencies: + npm-normalize-package-bin "^1.0.1" npm-lifecycle@^3.1.2: version "3.1.4" @@ -8271,36 +7428,33 @@ npm-lifecycle@^3.1.2: umask "^1.1.0" which "^1.3.1" +npm-normalize-package-bin@^1.0.0, npm-normalize-package-bin@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" + integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== + "npm-package-arg@^4.0.0 || ^5.0.0 || ^6.0.0", npm-package-arg@^6.0.0, npm-package-arg@^6.1.0: - version "6.1.0" - resolved "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-6.1.0.tgz#15ae1e2758a5027efb4c250554b85a737db7fcc1" - integrity sha512-zYbhP2k9DbJhA0Z3HKUePUgdB1x7MfIfKssC+WLPFMKTBZKpZh5m13PgexJjCq6KW7j17r0jHWcCpxEqnnncSA== + version "6.1.1" + resolved "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-6.1.1.tgz#02168cb0a49a2b75bf988a28698de7b529df5cb7" + integrity sha512-qBpssaL3IOZWi5vEKUKW0cO7kzLeT+EQO9W8RsLOZf76KF9E/K9+wH0C7t06HXPpaH8WH5xF1MExLuCwbTqRUg== dependencies: - hosted-git-info "^2.6.0" + hosted-git-info "^2.7.1" osenv "^0.1.5" - semver "^5.5.0" + semver "^5.6.0" validate-npm-package-name "^3.0.0" -npm-packlist@^1.1.6: - version "1.4.1" - resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.1.tgz#19064cdf988da80ea3cee45533879d90192bbfbc" - integrity sha512-+TcdO7HJJ8peiiYhvPxsEDhF3PJFGUGRcFsGve3vxvxdcpO2Z4Z7rkosRM0kWj6LfbK/P0gu3dzk5RU1ffvFcw== - dependencies: - ignore-walk "^3.0.1" - npm-bundled "^1.0.1" - -npm-packlist@^1.4.4: - version "1.4.4" - resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.4.tgz#866224233850ac534b63d1a6e76050092b5d2f44" - integrity sha512-zTLo8UcVYtDU3gdeaFu2Xu0n0EvelfHDGuqtNIn5RO7yQj4H1TqNdBc/yZjxnWA0PVB8D3Woyp0i5B43JwQ6Vw== +npm-packlist@^1.1.6, npm-packlist@^1.4.4: + version "1.4.7" + resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.7.tgz#9e954365a06b80b18111ea900945af4f88ed4848" + integrity sha512-vAj7dIkp5NhieaGZxBJB8fF4R0078rqsmhJcAfXZ6O7JJhjhPK96n5Ry1oZcfLXgfun0GWTZPOxaEyqv8GBykQ== dependencies: ignore-walk "^3.0.1" npm-bundled "^1.0.1" npm-path@^2.0.2: - version "2.0.3" - resolved "https://registry.npmjs.org/npm-path/-/npm-path-2.0.3.tgz#15cff4e1c89a38da77f56f6055b24f975dfb2bbe" - integrity sha1-Fc/04ciaONp39W9gVbJPl137K74= + version "2.0.4" + resolved "https://registry.npmjs.org/npm-path/-/npm-path-2.0.4.tgz#c641347a5ff9d6a09e4d9bce5580c4f505278e64" + integrity sha512-IFsj0R9C7ZdR5cP+ET342q77uSRdtWOlWpih5eC+lu29tIDbNEgDbzgVJ5UFvYHWhxDZ5TFkJafFioO0pPQjCw== dependencies: which "^1.2.10" @@ -8329,7 +7483,7 @@ npm-which@^3.0.1: npm-path "^2.0.2" which "^1.2.10" -"npmlog@0 || 1 || 2 || 3 || 4", npmlog@^4.0.2, npmlog@^4.1.2: +npmlog@^4.0.2, npmlog@^4.1.2: version "4.1.2" resolved "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== @@ -8345,14 +7499,9 @@ number-is-nan@^1.0.0: integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= nwsapi@^2.0.7: - version "2.1.4" - resolved "https://registry.npmjs.org/nwsapi/-/nwsapi-2.1.4.tgz#e006a878db23636f8e8a67d33ca0e4edf61a842f" - integrity sha512-iGfd9Y6SFdTNldEy2L0GUhcarIutFmk+MPWIn9dmj8NMIup03G08uUF2KGbbmv/Ux4RT0VZJoP/sVbWA6d/VIw== - -oauth-sign@~0.8.1: - version "0.8.2" - resolved "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" - integrity sha1-Rqarfwrq2N6unsBWV4C31O/rnUM= + version "2.2.0" + resolved "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7" + integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ== oauth-sign@~0.9.0: version "0.9.0" @@ -8373,7 +7522,17 @@ object-copy@^0.1.0: define-property "^0.2.5" kind-of "^3.0.3" -object-keys@^1.0.12: +object-inspect@^1.7.0: + version "1.7.0" + resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67" + integrity sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw== + +object-is@^1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/object-is/-/object-is-1.0.2.tgz#6b80eb84fe451498f65007982f035a5b445edec4" + integrity sha512-Epah+btZd5wrrfjkJZq1AOB9O6OxUQto45hzFd7lXGrpHPGE0W1k+426yrZV+k6NJOzLNNW/nVsmZdIWsAqoOQ== + +object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== @@ -8385,13 +7544,23 @@ object-visit@^1.0.0: dependencies: isobject "^3.0.0" -object.getownpropertydescriptors@^2.0.3: - version "2.0.3" - resolved "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16" - integrity sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY= +object.assign@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da" + integrity sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w== dependencies: define-properties "^1.1.2" - es-abstract "^1.5.1" + function-bind "^1.1.1" + has-symbols "^1.0.0" + object-keys "^1.0.11" + +object.getownpropertydescriptors@^2.0.3: + version "2.1.0" + resolved "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz#369bf1f9592d8ab89d712dced5cb81c7c5352649" + integrity sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg== + dependencies: + define-properties "^1.1.3" + es-abstract "^1.17.0-next.1" object.omit@^2.0.0: version "2.0.1" @@ -8408,20 +7577,12 @@ object.pick@^1.3.0: dependencies: isobject "^3.0.1" -observable-to-promise@^0.4.0: - version "0.4.0" - resolved "https://registry.npmjs.org/observable-to-promise/-/observable-to-promise-0.4.0.tgz#28afe71645308f2d41d71f47ad3fece1a377e52b" - integrity sha1-KK/nFkUwjy1B1x9HrT/s4aN35Ss= - dependencies: - is-observable "^0.2.0" - symbol-observable "^0.2.2" - -observable-to-promise@^0.5.0: - version "0.5.0" - resolved "https://registry.npmjs.org/observable-to-promise/-/observable-to-promise-0.5.0.tgz#c828f0f0dc47e9f86af8a4977c5d55076ce7a91f" - integrity sha1-yCjw8NxH6fhq+KSXfF1VB2znqR8= +observable-to-promise@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/observable-to-promise/-/observable-to-promise-1.0.0.tgz#37e136f16a15385ac063411ada0e1202bfff58f4" + integrity sha512-cqnGUrNsE6vdVDTPAX9/WeVzwy/z37vdxupdQXU8vgTXRFH72KCZiZga8aca2ulRPIeem8W3vW9rQHBwfIl2WA== dependencies: - is-observable "^0.2.0" + is-observable "^2.0.0" symbol-observable "^1.0.4" octokit-pagination-methods@^1.1.0: @@ -8436,7 +7597,7 @@ on-finished@~2.3.0: dependencies: ee-first "1.1.1" -once@^1.3.0, once@^1.3.1, once@^1.3.3, once@^1.4.0: +once@^1.3.0, once@^1.3.1, once@^1.4.0: version "1.4.0" resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= @@ -8455,35 +7616,22 @@ onetime@^2.0.0: dependencies: mimic-fn "^1.0.0" +onetime@^5.1.0: + version "5.1.0" + resolved "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz#fff0f3c91617fe62bb50189636e99ac8a6df7be5" + integrity sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q== + dependencies: + mimic-fn "^2.1.0" + opencollective-postinstall@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.2.tgz#5657f1bede69b6e33a45939b061eb53d3c6c3a89" integrity sha512-pVOEP16TrAO2/fjej1IdOyupJY8KDUM1CvsaScRbw6oddvpQoOfGk4ywha0HKKVAD6RkW4x6Q+tNBwhf3Bgpuw== -opencollective@^1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/opencollective/-/opencollective-1.0.3.tgz#aee6372bc28144583690c3ca8daecfc120dd0ef1" - integrity sha1-ruY3K8KBRFg2kMPKja7PwSDdDvE= - dependencies: - babel-polyfill "6.23.0" - chalk "1.1.3" - inquirer "3.0.6" - minimist "1.2.0" - node-fetch "1.6.3" - opn "4.0.2" - -opn@4.0.2: - version "4.0.2" - resolved "https://registry.npmjs.org/opn/-/opn-4.0.2.tgz#7abc22e644dff63b0a96d5ab7f2790c0f01abc95" - integrity sha1-erwi5kTf9jsKltWrfyeQwPAavJU= - dependencies: - object-assign "^4.0.1" - pinkie-promise "^2.0.0" - opn@^5.3.0: - version "5.4.0" - resolved "https://registry.npmjs.org/opn/-/opn-5.4.0.tgz#cb545e7aab78562beb11aa3bfabc7042e1761035" - integrity sha512-YF9MNdVy/0qvJvDtunAOzFw9iasOQHpVthTCvGzxt61Il64AYSGdK+rYwld7NAfk9qJ7dt+hymBNSc9LNYS+Sw== + version "5.5.0" + resolved "https://registry.npmjs.org/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" + integrity sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA== dependencies: is-wsl "^1.1.0" @@ -8495,29 +7643,17 @@ optimist@^0.6.1: minimist "~0.0.1" wordwrap "~0.0.2" -option-chain@^0.1.0: - version "0.1.1" - resolved "https://registry.npmjs.org/option-chain/-/option-chain-0.1.1.tgz#e9b811e006f1c0f54802f28295bfc8970f8dcfbd" - integrity sha1-6bgR4AbxwPVIAvKClb/Ilw+Nz70= - dependencies: - object-assign "^4.0.1" - -option-chain@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/option-chain/-/option-chain-1.0.0.tgz#938d73bd4e1783f948d34023644ada23669e30f2" - integrity sha1-k41zvU4Xg/lI00AjZEraI2aeMPI= - optionator@^0.8.1: - version "0.8.2" - resolved "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64" - integrity sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q= + version "0.8.3" + resolved "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" + integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA== dependencies: deep-is "~0.1.3" - fast-levenshtein "~2.0.4" + fast-levenshtein "~2.0.6" levn "~0.3.0" prelude-ls "~1.1.2" type-check "~0.3.2" - wordwrap "~1.0.0" + word-wrap "~1.2.3" options@>=0.0.5: version "0.0.6" @@ -8525,9 +7661,21 @@ options@>=0.0.5: integrity sha1-7CLTEoBrtT5zF3Pnza788cZDEo8= "opts@>= 1.2.0": - version "1.2.6" - resolved "https://registry.npmjs.org/opts/-/opts-1.2.6.tgz#d185c0425cfdeb9da1d182908b65b5c0238febb3" - integrity sha1-0YXAQlz9652h0YKQi2W1wCOP67M= + version "1.2.7" + resolved "https://registry.npmjs.org/opts/-/opts-1.2.7.tgz#4de4721d592c96901dae623a438c988e9ea7779f" + integrity sha512-hwZhzGGG/GQ7igxAVFOEun2N4fWul31qE9nfBdCnZGQCB5+L7tN9xZ+94B4aUpLOJx/of3zZs5XsuubayQYQjA== + +ora@^3.4.0: + version "3.4.0" + resolved "https://registry.npmjs.org/ora/-/ora-3.4.0.tgz#bf0752491059a3ef3ed4c85097531de9fdbcd318" + integrity sha512-eNwHudNbO1folBP3JsZ19v9azXWtQZjICdr3Q0TDPIaeBQ3mXLrh54wM+er0+hSp+dWKf+Z8KM58CYzEyIYxYg== + dependencies: + chalk "^2.4.2" + cli-cursor "^2.1.0" + cli-spinners "^2.0.0" + log-symbols "^2.2.0" + strip-ansi "^5.2.0" + wcwidth "^1.0.1" os-homedir@^1.0.0: version "1.0.2" @@ -8541,15 +7689,6 @@ os-locale@^1.4.0: dependencies: lcid "^1.0.0" -os-locale@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a" - integrity sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q== - dependencies: - execa "^1.0.0" - lcid "^2.0.0" - mem "^4.0.0" - os-name@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/os-name/-/os-name-3.1.0.tgz#dec19d966296e1cd62d701a5a66ee1ddeae70801" @@ -8563,15 +7702,7 @@ os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.2: resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= -osenv@^0.1.0, osenv@^0.1.4: - version "0.1.4" - resolved "https://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz#42fe6d5953df06c8064be6f176c3d05aaaa34644" - integrity sha1-Qv5tWVPfBsgGS+bxdsPQWqqjRkQ= - dependencies: - os-homedir "^1.0.0" - os-tmpdir "^1.0.0" - -osenv@^0.1.5: +osenv@^0.1.4, osenv@^0.1.5: version "0.1.5" resolved "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g== @@ -8579,19 +7710,10 @@ osenv@^0.1.5: os-homedir "^1.0.0" os-tmpdir "^1.0.0" -output-file-sync@^1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/output-file-sync/-/output-file-sync-1.1.2.tgz#d0a33eefe61a205facb90092e826598d5245ce76" - integrity sha1-0KM+7+YaIF+suQCS6CZZjVJFznY= - dependencies: - graceful-fs "^4.1.4" - mkdirp "^0.5.1" - object-assign "^4.1.0" - -p-defer@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" - integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww= +p-cancelable@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" + integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw== p-each-series@^1.0.0: version "1.0.0" @@ -8605,27 +7727,17 @@ p-finally@^1.0.0: resolved "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4= -p-is-promise@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.1.0.tgz#918cebaea248a62cf7ffab8e3bca8c5f882fc42e" - integrity sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg== - p-limit@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/p-limit/-/p-limit-1.1.0.tgz#b07ff2d9a5d88bec806035895a2bab66a27988bc" - integrity sha1-sH/y2aXYi+yAYDWJWiurZqJ5iLw= - -p-limit@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.0.0.tgz#e624ed54ee8c460a778b3c9f3670496ff8a57aec" - integrity sha512-fl5s52lI5ahKCernzzIyAP0QAZbGIovtVHGwpcu1Jr/EpzLVDI2myISHwGqK7m8uQFugVWSrbxH7XnhGtvEc+A== + version "1.3.0" + resolved "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" + integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== dependencies: - p-try "^2.0.0" + p-try "^1.0.0" -p-limit@^2.2.0: - version "2.2.0" - resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz#417c9941e6027a9abcba5092dd2904e255b5fbc2" - integrity sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ== +p-limit@^2.0.0, p-limit@^2.2.0: + version "2.2.2" + resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e" + integrity sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ== dependencies: p-try "^2.0.0" @@ -8662,12 +7774,7 @@ p-map@^1.1.1: resolved "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz#e4e94f311eabbc8633a1e79908165fca26241b6b" integrity sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA== -p-map@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/p-map/-/p-map-2.0.0.tgz#be18c5a5adeb8e156460651421aceca56c213a50" - integrity sha512-GO107XdrSUmtHxVoi60qc9tUl/KkNKm+X2CF4P9amalpGxv5YqVPJNfSb0wcA+syCopkZvYYIzW8OVTQW59x/w== - -p-map@^2.1.0: +p-map@^2.0.0, p-map@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== @@ -8689,10 +7796,15 @@ p-reduce@^1.0.0: resolved "https://registry.npmjs.org/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa" integrity sha1-GMKw3ZNqRpClKfgjH1ig/bakffo= +p-try@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" + integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M= + p-try@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/p-try/-/p-try-2.0.0.tgz#85080bb87c64688fa47996fe8f7dfbe8211760b1" - integrity sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ== + version "2.2.0" + resolved "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== p-waterfall@^1.0.0: version "1.0.0" @@ -8701,33 +7813,16 @@ p-waterfall@^1.0.0: dependencies: p-reduce "^1.0.0" -package-hash@^1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/package-hash/-/package-hash-1.2.0.tgz#003e56cd57b736a6ed6114cc2b81542672770e44" - integrity sha1-AD5WzVe3NqbtYRTMK4FUJnJ3DkQ= - dependencies: - md5-hex "^1.3.0" - -package-hash@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/package-hash/-/package-hash-2.0.0.tgz#78ae326c89e05a4d813b68601977af05c00d2a0d" - integrity sha1-eK4ybIngWk2BO2hgGXevBcANKg0= +package-hash@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/package-hash/-/package-hash-4.0.0.tgz#3537f654665ec3cc38827387fc904c163c54f506" + integrity sha512-whdkPIooSu/bASggZ96BWVvZTRMOFxnyUG5PnTSGKoJE2gd5mbVNmR2Nj20QFzxYYgAXpoqC+AiXzl+UMRh7zQ== dependencies: - graceful-fs "^4.1.11" + graceful-fs "^4.1.15" + hasha "^5.0.0" lodash.flattendeep "^4.4.0" - md5-hex "^2.0.0" release-zalgo "^1.0.0" -package-json@^2.0.0: - version "2.4.0" - resolved "https://registry.npmjs.org/package-json/-/package-json-2.4.0.tgz#0d15bd67d1cbbddbb2ca222ff2edb86bcb31a8bb" - integrity sha1-DRW9Z9HLvduyyiIv8u24a8sxqLs= - dependencies: - got "^5.0.0" - registry-auth-token "^3.0.1" - registry-url "^3.0.3" - semver "^5.1.0" - package-json@^4.0.0: version "4.0.1" resolved "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz#8869a0401253661c4c4ca3da6c2121ed555f5eed" @@ -8738,19 +7833,29 @@ package-json@^4.0.0: registry-url "^3.0.3" semver "^5.1.0" +package-json@^6.3.0: + version "6.5.0" + resolved "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz#6feedaca35e75725876d0b0e64974697fed145b0" + integrity sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ== + dependencies: + got "^9.6.0" + registry-auth-token "^4.0.0" + registry-url "^5.0.0" + semver "^6.2.0" + parallel-transform@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.1.0.tgz#d410f065b05da23081fcd10f28854c29bda33b06" - integrity sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY= + version "1.2.0" + resolved "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.2.0.tgz#9049ca37d6cb2182c3b1d2c720be94d14a5814fc" + integrity sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg== dependencies: - cyclist "~0.2.2" + cyclist "^1.0.1" inherits "^2.0.3" readable-stream "^2.1.5" parent-module@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.0.tgz#df250bdc5391f4a085fb589dad761f5ad6b865b5" - integrity sha512-8Mf5juOMmiE4FcmzYc4IaiS9L3+9paz2KOiXzkRviCP6aDmN49Hz6EMWz0lGNp9pX80GvvAuLADtyGfW/Em3TA== + version "1.0.1" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== dependencies: callsites "^3.0.0" @@ -8774,7 +7879,7 @@ parse-glob@^3.0.4: is-extglob "^1.0.0" is-glob "^2.0.0" -parse-json@^2.1.0, parse-json@^2.2.0: +parse-json@^2.2.0: version "2.2.0" resolved "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" integrity sha1-9ID0BDTvgHQfhGkJn43qGPVaTck= @@ -8799,15 +7904,10 @@ parse-json@^5.0.0: json-parse-better-errors "^1.0.1" lines-and-columns "^1.1.6" -parse-ms@^0.1.0: - version "0.1.2" - resolved "https://registry.npmjs.org/parse-ms/-/parse-ms-0.1.2.tgz#dd3fa25ed6c2efc7bdde12ad9b46c163aa29224e" - integrity sha1-3T+iXtbC78e93hKtm0bBY6opIk4= - -parse-ms@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/parse-ms/-/parse-ms-1.0.1.tgz#56346d4749d78f23430ca0c713850aef91aa361d" - integrity sha1-VjRtR0nXjyNDDKDHE4UK75GqNh0= +parse-ms@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/parse-ms/-/parse-ms-2.1.0.tgz#348565a753d4391fa524029956b172cb7753097d" + integrity sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA== parse-passwd@^1.0.0: version "1.0.0" @@ -8837,10 +7937,10 @@ parse5@4.0.0: resolved "https://registry.npmjs.org/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608" integrity sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA== -parseurl@~1.3.2: - version "1.3.2" - resolved "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3" - integrity sha1-/CidTtiZMRlGDBViUyYs3I3mW/M= +parseurl@~1.3.3: + version "1.3.3" + resolved "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" + integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== pascalcase@^0.1.1: version "0.1.1" @@ -8864,7 +7964,12 @@ path-exists@^3.0.0: resolved "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= -path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +path-is-absolute@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= @@ -8880,14 +7985,9 @@ path-key@^2.0.0, path-key@^2.0.1: integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= path-key@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.0.tgz#99a10d870a803bdd5ee6f0470e58dfcd2f9a54d3" - integrity sha512-8cChqz0RP6SHJkMt48FW0A7+qUOn+OsnOsVtzI59tZ8m+5bCSk7hzwET0pulwOM2YMn9J1efb07KB9l9f30SGg== - -path-parse@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" - integrity sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME= + version "3.1.1" + resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== path-parse@^1.0.6: version "1.0.6" @@ -8903,13 +8003,6 @@ path-type@^1.0.0: pify "^2.0.0" pinkie-promise "^2.0.0" -path-type@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73" - integrity sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM= - dependencies: - pify "^2.0.0" - path-type@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" @@ -8922,20 +8015,15 @@ path-type@^4.0.0: resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -performance-now@^0.2.0: - version "0.2.0" - resolved "https://registry.npmjs.org/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" - integrity sha1-M+8wxcd9TqIcWlOGnZG1bY8lVeU= - performance-now@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= -picomatch@^2.0.5: - version "2.0.7" - resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.0.7.tgz#514169d8c7cd0bdbeecc8a2609e34a7163de69f6" - integrity sha512-oLHIdio3tZ0qH76NybpeneBhYVj0QFTfXEFTc/B3zKQspYfYYkWYgFsmzo+4kvId/bQRcNkVeguI3y+CD22BtA== +picomatch@^2.0.4, picomatch@^2.0.5, picomatch@^2.0.7: + version "2.1.1" + resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.1.1.tgz#ecdfbea7704adb5fe6fb47f9866c4c0e15e905c5" + integrity sha512-OYMyqkKzK7blWO/+XZYP6w8hH0LDvkBvdvKukti+7kqYFCiEAk+gI3DWnryapc0Dau05ugGTy0foQ6mqn4AHYA== pify@^2.0.0, pify@^2.3.0: version "2.3.0" @@ -8952,13 +8040,6 @@ pify@^4.0.1: resolved "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== -pinkie-promise@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-1.0.0.tgz#d1da67f5482563bb7cf57f286ae2822ecfbf3670" - integrity sha1-0dpn9UglY7t89X8oauKCLs+/NnA= - dependencies: - pinkie "^1.0.0" - pinkie-promise@^2.0.0: version "2.0.1" resolved "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" @@ -8966,37 +8047,25 @@ pinkie-promise@^2.0.0: dependencies: pinkie "^2.0.0" -pinkie@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/pinkie/-/pinkie-1.0.0.tgz#5a47f28ba1015d0201bda7bf0f358e47bec8c7e4" - integrity sha1-Wkfyi6EBXQIBvae/DzWOR77Ix+Q= - pinkie@^2.0.0: version "2.0.4" resolved "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA= -pirates@^4.0.1: +pirates@^4.0.0, pirates@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87" integrity sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA== dependencies: node-modules-regexp "^1.0.0" -pkg-conf@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.0.0.tgz#071c87650403bccfb9c627f58751bfe47c067279" - integrity sha1-BxyHZQQDvM+5xif1h1G/5HwGcnk= - dependencies: - find-up "^2.0.0" - load-json-file "^2.0.0" - -pkg-dir@2.0.0, pkg-dir@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b" - integrity sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s= +pkg-conf@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/pkg-conf/-/pkg-conf-3.1.0.tgz#d9f9c75ea1bae0e77938cde045b276dac7cc69ae" + integrity sha512-m0OTbR/5VPNPqO1ph6Fqbj7Hv6QU7gR/tQW40ZqrL1rjgCU85W6C1bJn0BItuJqnR98PWzw7Z8hHeChD1WrgdQ== dependencies: - find-up "^2.1.0" + find-up "^3.0.0" + load-json-file "^5.2.0" pkg-dir@4.2.0, pkg-dir@^4.2.0: version "4.2.0" @@ -9005,13 +8074,6 @@ pkg-dir@4.2.0, pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" -pkg-dir@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-1.0.0.tgz#7a4b508a8d5bb2d629d447056ff4e9c9314cf3d4" - integrity sha1-ektQio1bstYp1EcFb/TpyTFM89Q= - dependencies: - find-up "^1.0.0" - pkg-dir@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3" @@ -9019,31 +8081,19 @@ pkg-dir@^3.0.0: dependencies: find-up "^3.0.0" -please-upgrade-node@^3.0.2: - version "3.1.1" - resolved "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz#ed320051dfcc5024fae696712c8288993595e8ac" - integrity sha512-KY1uHnQ2NlQHqIJQpnh/i54rKkuxCEBx+voJIS/Mvb+L2iYd2NMotwduhKTMjfC1uKoX3VXOxLjIYG66dfJTVQ== - dependencies: - semver-compare "^1.0.0" - -please-upgrade-node@^3.2.0: +please-upgrade-node@^3.0.2, please-upgrade-node@^3.2.0: version "3.2.0" resolved "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz#aeddd3f994c933e4ad98b99d9a556efa0e2fe942" integrity sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg== dependencies: semver-compare "^1.0.0" -plur@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/plur/-/plur-1.0.0.tgz#db85c6814f5e5e5a3b49efc28d604fec62975156" - integrity sha1-24XGgU9eXlo7Se/CjWBP7GKXUVY= - -plur@^2.0.0: - version "2.1.2" - resolved "https://registry.npmjs.org/plur/-/plur-2.1.2.tgz#7482452c1a0f508e3e344eaec312c91c29dc655a" - integrity sha1-dIJFLBoPUI4+NE6uwxLJHCncZVo= +plur@^3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/plur/-/plur-3.1.1.tgz#60267967866a8d811504fe58f2faaba237546a5b" + integrity sha512-t1Ax8KUvV3FFII8ltczPn2tJdjqbd1sIzu6t4JL7nQ3EyeL/lTrj5PWKb06ic5/6XYDr65rQ4uzQEGN70/6X5w== dependencies: - irregular-plurals "^1.0.0" + irregular-plurals "^2.0.0" pn@^1.1.0: version "1.1.0" @@ -9065,79 +8115,49 @@ prepend-http@^1.0.1: resolved "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= +prepend-http@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" + integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc= + prettier@1.17.1: version "1.17.1" resolved "https://registry.npmjs.org/prettier/-/prettier-1.17.1.tgz#ed64b4e93e370cb8a25b9ef7fef3e4fd1c0995db" integrity sha512-TzGRNvuUSmPgwivDqkZ9tM/qTGW9hqDKWOE9YHiyQdixlKbv7kvEqsmDPrcHJTKwthU774TQwZXVtaQ/mMsvjg== -pretty-format@^18.1.0: - version "18.1.0" - resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-18.1.0.tgz#fb65a86f7a7f9194963eee91865c1bcf1039e284" - integrity sha1-+2Wob3p/kZSWPu6RhlwbzxA54oQ= - dependencies: - ansi-styles "^2.2.1" - -pretty-format@^24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-24.8.0.tgz#8dae7044f58db7cb8be245383b565a963e3c27f2" - integrity sha512-P952T7dkrDEplsR+TuY7q3VXDae5Sr7zmQb12JU/NDQa/3CH7/QW0yvqLcGN6jL+zQFKaoJcPc+yJxMTGmosqw== +pretty-format@^24.9.0: + version "24.9.0" + resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-24.9.0.tgz#12fac31b37019a4eea3c11aa9a959eb7628aa7c9" + integrity sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA== dependencies: - "@jest/types" "^24.8.0" + "@jest/types" "^24.9.0" ansi-regex "^4.0.0" ansi-styles "^3.2.0" react-is "^16.8.4" -pretty-ms@^0.2.1: - version "0.2.2" - resolved "https://registry.npmjs.org/pretty-ms/-/pretty-ms-0.2.2.tgz#da879a682ff33a37011046f13d627f67c73b84f6" - integrity sha1-2oeaaC/zOjcBEEbxPWJ/Z8c7hPY= - dependencies: - parse-ms "^0.1.0" - -pretty-ms@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/pretty-ms/-/pretty-ms-2.1.0.tgz#4257c256df3fb0b451d6affaab021884126981dc" - integrity sha1-QlfCVt8/sLRR1q/6qwIYhBJpgdw= - dependencies: - is-finite "^1.0.1" - parse-ms "^1.0.0" - plur "^1.0.0" - -pretty-ms@^3.0.0: - version "3.2.0" - resolved "https://registry.npmjs.org/pretty-ms/-/pretty-ms-3.2.0.tgz#87a8feaf27fc18414d75441467d411d6e6098a25" - integrity sha512-ZypexbfVUGTFxb0v+m1bUyy92DHe5SyYlnyY0msyms5zd3RwyvNgyxZZsXXgoyzlxjx5MiqtXUdhUfvQbe0A2Q== +pretty-ms@^5.0.0: + version "5.1.0" + resolved "https://registry.npmjs.org/pretty-ms/-/pretty-ms-5.1.0.tgz#b906bdd1ec9e9799995c372e2b1c34f073f95384" + integrity sha512-4gaK1skD2gwscCfkswYQRmddUb2GJZtzDGRjHWadVHtK/DIKFufa12MvES6/xu1tVbUYeia5bmLcwJtZJQUqnw== dependencies: - parse-ms "^1.0.0" + parse-ms "^2.1.0" prismjs@^1.15.0: - version "1.15.0" - resolved "https://registry.npmjs.org/prismjs/-/prismjs-1.15.0.tgz#8801d332e472091ba8def94976c8877ad60398d9" - integrity sha512-Lf2JrFYx8FanHrjoV5oL8YHCclLQgbJcVZR+gikGGMqz6ub5QVWDTM6YIwm3BuPxM/LOV+rKns3LssXNLIf+DA== + version "1.17.1" + resolved "https://registry.npmjs.org/prismjs/-/prismjs-1.17.1.tgz#e669fcbd4cdd873c35102881c33b14d0d68519be" + integrity sha512-PrEDJAFdUGbOP6xK/UsfkC5ghJsPJviKgnQOoxaDbBjwc8op68Quupwt1DeAFoG8GImPhiKXAvvsH7wDSLsu1Q== optionalDependencies: clipboard "^2.0.0" -prismjs@^1.6.0: - version "1.8.4" - resolved "https://registry.npmjs.org/prismjs/-/prismjs-1.8.4.tgz#573cc7a14c2c06566e1eca20d813f5ae55db80d2" - integrity sha1-VzzHoUwsBlZuHsog2BP1rlXbgNI= - optionalDependencies: - clipboard "^1.5.5" - -private@^0.1.6, private@^0.1.7, private@^0.1.8: +private@^0.1.6: version "0.1.8" resolved "https://registry.npmjs.org/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" integrity sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg== -process-nextick-args@~1.0.6: - version "1.0.7" - resolved "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" - integrity sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M= - process-nextick-args@~2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" - integrity sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw== + version "2.0.1" + resolved "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" + integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== promise-inflight@^1.0.1: version "1.0.1" @@ -9153,12 +8173,12 @@ promise-retry@^1.1.1: retry "^0.10.0" prompts@^2.0.1: - version "2.0.4" - resolved "https://registry.npmjs.org/prompts/-/prompts-2.0.4.tgz#179f9d4db3128b9933aa35f93a800d8fce76a682" - integrity sha512-HTzM3UWp/99A0gk51gAegwo1QRYA7xjcZufMNe33rCclFszUYAuHe1fIN/3ZmiHeGPkUsNaRyQm1hHOfM0PKxA== + version "2.3.0" + resolved "https://registry.npmjs.org/prompts/-/prompts-2.3.0.tgz#a444e968fa4cc7e86689a74050685ac8006c4cc4" + integrity sha512-NfbbPPg/74fT7wk2XYQ7hAIp9zJyZp5Fu19iRbORqqy1BhtrkZ0fPafBU+7bmn8ie69DpT0R6QpJIN2oisYjJg== dependencies: - kleur "^3.0.2" - sisteransi "^1.0.0" + kleur "^3.0.3" + sisteransi "^1.0.3" promzard@^0.3.0: version "0.3.0" @@ -9204,14 +8224,14 @@ pseudomap@^1.0.2: integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM= psl@^1.1.24, psl@^1.1.28: - version "1.1.31" - resolved "https://registry.npmjs.org/psl/-/psl-1.1.31.tgz#e9aa86d0101b5b105cbe93ac6b784cd547276184" - integrity sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw== + version "1.7.0" + resolved "https://registry.npmjs.org/psl/-/psl-1.7.0.tgz#f1c4c47a8ef97167dea5d6bbf4816d736e884a3c" + integrity sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ== -pump@^1.0.0: - version "1.0.3" - resolved "https://registry.npmjs.org/pump/-/pump-1.0.3.tgz#5dfe8311c33bbf6fc18261f9f34702c47c08a954" - integrity sha512-8k0JupWme55+9tCVE+FS5ULT3K6AbgqrGa58lTT49RpyfwwcGedHqaC5LlQNdEAumn/wFsu6aPwkuPMioy8kqw== +pump@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909" + integrity sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA== dependencies: end-of-stream "^1.1.0" once "^1.3.1" @@ -9225,13 +8245,13 @@ pump@^3.0.0: once "^1.3.1" pumpify@^1.3.3: - version "1.3.5" - resolved "https://registry.npmjs.org/pumpify/-/pumpify-1.3.5.tgz#1b671c619940abcaeac0ad0e3a3c164be760993b" - integrity sha1-G2ccYZlAq8rqwK0OOjwWS+dgmTs= + version "1.5.1" + resolved "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz#36513be246ab27570b1a374a5ce278bfd74370ce" + integrity sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ== dependencies: - duplexify "^3.1.2" - inherits "^2.0.1" - pump "^1.0.0" + duplexify "^3.6.0" + inherits "^2.0.3" + pump "^2.0.0" punycode@^1.4.1: version "1.4.1" @@ -9243,16 +8263,11 @@ punycode@^2.1.0, punycode@^2.1.1: resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -q@^1.4.1, q@^1.5.1: +q@^1.5.1: version "1.5.1" resolved "https://registry.npmjs.org/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= -qs@~6.4.0: - version "6.4.0" - resolved "https://registry.npmjs.org/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" - integrity sha1-E+JtKK1rD/qpExLNO/cI7TUecjM= - qs@~6.5.2: version "6.5.2" resolved "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" @@ -9265,29 +8280,19 @@ quick-lru@^1.0.0: randomatic@3: version "3.1.1" - resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed" + resolved "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed" integrity sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw== dependencies: is-number "^4.0.0" kind-of "^6.0.0" math-random "^1.0.1" -range-parser@~1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e" - integrity sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4= - -rc@^1.0.1, rc@^1.1.6, rc@^1.1.7: - version "1.2.2" - resolved "https://registry.npmjs.org/rc/-/rc-1.2.2.tgz#d8ce9cb57e8d64d9c7badd9876c7c34cbe3c7077" - integrity sha1-2M6ctX6NZNnHut2YdsfDTL48cHc= - dependencies: - deep-extend "~0.4.0" - ini "~1.3.0" - minimist "^1.2.0" - strip-json-comments "~2.0.1" +range-parser@~1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" + integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== -rc@^1.2.7: +rc@^1.0.1, rc@^1.1.6, rc@^1.2.7, rc@^1.2.8: version "1.2.8" resolved "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== @@ -9298,59 +8303,37 @@ rc@^1.2.7: strip-json-comments "~2.0.1" react-is@^16.8.4: - version "16.8.6" - resolved "https://registry.npmjs.org/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16" - integrity sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA== - -read-all-stream@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/read-all-stream/-/read-all-stream-3.1.0.tgz#35c3e177f2078ef789ee4bfafa4373074eaef4fa" - integrity sha1-NcPhd/IHjveJ7kv6+kNzB06u9Po= - dependencies: - pinkie-promise "^2.0.0" - readable-stream "^2.0.0" + version "16.12.0" + resolved "https://registry.npmjs.org/react-is/-/react-is-16.12.0.tgz#2cc0fe0fba742d97fd527c42a13bec4eeb06241c" + integrity sha512-rPCkf/mWBtKc97aLL9/txD8DZdemK0vkA3JMLShjlJB3Pj3s+lpf1KaBzMfQrAmhMQB0n1cU/SUGgKKBCe837Q== read-cmd-shim@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-1.0.1.tgz#2d5d157786a37c055d22077c32c53f8329e91c7b" - integrity sha1-LV0Vd4ajfAVdIgd8MsU/gynpHHs= - dependencies: - graceful-fs "^4.1.2" - -"read-package-json@1 || 2", read-package-json@^2.0.0: - version "2.0.12" - resolved "https://registry.npmjs.org/read-package-json/-/read-package-json-2.0.12.tgz#68ea45f98b3741cb6e10ae3bbd42a605026a6951" - integrity sha512-m7/I0+tP6D34EVvSlzCtuVA4D/dHL6OpLcn2e4XVP5X57pCKGUy1JjRSBVKHWpB+vUU91sL85h84qX0MdXzBSw== + version "1.0.5" + resolved "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-1.0.5.tgz#87e43eba50098ba5a32d0ceb583ab8e43b961c16" + integrity sha512-v5yCqQ/7okKoZZkBQUAfTsQ3sVJtXdNfbPnI5cceppoxEVLYA3k+VtV2omkeo8MS94JCy4fSiUwlRBAwCVRPUA== dependencies: - glob "^7.1.1" - json-parse-better-errors "^1.0.0" - normalize-package-data "^2.0.0" - slash "^1.0.0" - optionalDependencies: graceful-fs "^4.1.2" -read-package-json@^2.0.13: - version "2.0.13" - resolved "https://registry.npmjs.org/read-package-json/-/read-package-json-2.0.13.tgz#2e82ebd9f613baa6d2ebe3aa72cefe3f68e41f4a" - integrity sha512-/1dZ7TRZvGrYqE0UAfN6qQb5GYBsNcqS1C0tNK601CFOJmtHI7NIGXwetEPU/OtoFHZL3hDxm4rolFFVE9Bnmg== +"read-package-json@1 || 2", read-package-json@^2.0.0, read-package-json@^2.0.13: + version "2.1.1" + resolved "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.1.tgz#16aa66c59e7d4dad6288f179dd9295fd59bb98f1" + integrity sha512-dAiqGtVc/q5doFz6096CcnXhpYk0ZN8dEKVkGLU0CsASt8SrgF6SF7OTKAYubfvFhWaqofl+Y8HK19GR8jwW+A== dependencies: glob "^7.1.1" json-parse-better-errors "^1.0.1" normalize-package-data "^2.0.0" - slash "^1.0.0" + npm-normalize-package-bin "^1.0.0" optionalDependencies: graceful-fs "^4.1.2" read-package-tree@^5.1.6: - version "5.2.1" - resolved "https://registry.npmjs.org/read-package-tree/-/read-package-tree-5.2.1.tgz#6218b187d6fac82289ce4387bbbaf8eef536ad63" - integrity sha512-2CNoRoh95LxY47LvqrehIAfUVda2JbuFE/HaGYs42bNrGG+ojbw1h3zOcPcQ+1GQ3+rkzNndZn85u1XyZ3UsIA== + version "5.3.1" + resolved "https://registry.npmjs.org/read-package-tree/-/read-package-tree-5.3.1.tgz#a32cb64c7f31eb8a6f31ef06f9cedf74068fe636" + integrity sha512-mLUDsD5JVtlZxjSlPPx1RETkNjjvQYuweKwNVt1Sn8kP5Jh44pvYuUHCp6xSVDZWbNxVxG5lyZJ921aJH61sTw== dependencies: - debuglog "^1.0.1" - dezalgo "^1.0.0" - once "^1.3.0" read-package-json "^2.0.0" readdir-scoped-modules "^1.0.0" + util-promisify "^2.1.0" read-pkg-up@^1.0.1: version "1.0.1" @@ -9360,14 +8343,6 @@ read-pkg-up@^1.0.1: find-up "^1.0.0" read-pkg "^1.0.0" -read-pkg-up@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be" - integrity sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4= - dependencies: - find-up "^2.0.0" - read-pkg "^2.0.0" - read-pkg-up@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" @@ -9403,15 +8378,6 @@ read-pkg@^1.0.0: normalize-package-data "^2.3.2" path-type "^1.0.0" -read-pkg@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz#8ef1c0623c6a6db0dc6713c4bfac46332b2368f8" - integrity sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg= - dependencies: - load-json-file "^2.0.0" - normalize-package-data "^2.3.2" - path-type "^2.0.0" - read-pkg@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" @@ -9428,29 +8394,7 @@ read@1, read@~1.0.1: dependencies: mute-stream "~0.0.4" -"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.1.5, readable-stream@^2.2.2: - version "2.3.3" - resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c" - integrity sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~1.0.6" - safe-buffer "~5.1.1" - string_decoder "~1.0.3" - util-deprecate "~1.0.1" - -"readable-stream@2 || 3", readable-stream@^3.0.2, readable-stream@^3.4.0: - version "3.4.0" - resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.4.0.tgz#a51c26754658e0a3c21dbf59163bd45ba6f447fc" - integrity sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - -readable-stream@^2.0.1, readable-stream@^2.3.5: +"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.6, readable-stream@~2.3.6: version "2.3.6" resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw== @@ -9463,36 +8407,26 @@ readable-stream@^2.0.1, readable-stream@^2.3.5: string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@^3.1.1: - version "3.1.1" - resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.1.1.tgz#ed6bbc6c5ba58b090039ff18ce670515795aeb06" - integrity sha512-DkN66hPyqDhnIQ6Jcsvx9bFjhw214O4poMBcIMgPVpQvNy9a0e0Uhg5SqySyDKAmUlwt8LonTBz1ezOnM8pUdA== +"readable-stream@2 || 3", readable-stream@^3.0.1, readable-stream@^3.0.2, readable-stream@^3.1.1, readable-stream@^3.4.0: + version "3.4.0" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.4.0.tgz#a51c26754658e0a3c21dbf59163bd45ba6f447fc" + integrity sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ== dependencies: inherits "^2.0.3" string_decoder "^1.1.1" util-deprecate "^1.0.1" readdir-scoped-modules@^1.0.0: - version "1.0.2" - resolved "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.0.2.tgz#9fafa37d286be5d92cbaebdee030dc9b5f406747" - integrity sha1-n6+jfShr5dksuuve4DDcm19AZ0c= + version "1.1.0" + resolved "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" + integrity sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw== dependencies: debuglog "^1.0.1" dezalgo "^1.0.0" graceful-fs "^4.1.2" once "^1.3.0" -readdirp@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" - integrity sha1-TtCtBg3zBzMAxIRANz9y0cxkLXg= - dependencies: - graceful-fs "^4.1.2" - minimatch "^3.0.2" - readable-stream "^2.0.2" - set-immediate-shim "^1.0.1" - -readdirp@^2.2.1: +readdirp@^2.0.0, readdirp@^2.2.1: version "2.2.1" resolved "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525" integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ== @@ -9501,6 +8435,13 @@ readdirp@^2.2.1: micromatch "^3.1.10" readable-stream "^2.0.2" +readdirp@~3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.3.0.tgz#984458d13a1e42e2e9f5841b129e162f369aff17" + integrity sha512-zz0pAkSPOXXm1viEwygWIPSPkcBYjW1xU5j/JBh5t9bGCJwa6f9+BJa6VaB2g+b55yVrmXzqkyLf4xaWYM0IkQ== + dependencies: + picomatch "^2.0.7" + readline2@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/readline2/-/readline2-1.0.1.tgz#41059608ffc154757b715d9989d199ffbf372e35" @@ -9540,33 +8481,38 @@ redent@^2.0.0: indent-string "^3.0.0" strip-indent "^2.0.0" -regenerate@^1.2.1: - version "1.3.3" - resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.3.3.tgz#0c336d3980553d755c39b586ae3b20aa49c82b7f" - integrity sha512-jVpo1GadrDAK59t/0jRx5VxYWQEDkkEKi6+HjE3joFVLfDOh9Xrdh0dF1eSq+BI/SwvTQ44gSscJ8N5zYL61sg== +regenerate-unicode-properties@^8.1.0: + version "8.1.0" + resolved "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz#ef51e0f0ea4ad424b77bf7cb41f3e015c70a3f0e" + integrity sha512-LGZzkgtLY79GeXLm8Dp0BVLdQlWICzBnJz/ipWUgo59qBaZ+BHtq51P2q1uVZlppMuUAT37SDk39qUbjTWB7bA== + dependencies: + regenerate "^1.4.0" + +regenerate@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11" + integrity sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg== -regenerator-runtime@^0.10.0, regenerator-runtime@^0.10.5: +regenerator-runtime@^0.10.5: version "0.10.5" resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" integrity sha1-M2w+/BIgrc7dosn6tntaeVWjNlg= regenerator-runtime@^0.11.0: - version "0.11.0" - resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz#7e54fe5b5ccd5d6624ea6255c3473be090b802e1" - integrity sha512-/aA0kLeRb5N9K0d4fw7ooEbI+xDe+DKD499EQqygGqeS8N3xto15p09uY2xj7ixP81sNPXvRLnAQIqdVStgb1A== + version "0.11.1" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" + integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== regenerator-runtime@^0.13.2: - version "0.13.2" - resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.2.tgz#32e59c9a6fb9b1a4aff09b4930ca2d4477343447" - integrity sha512-S/TQAZJO+D3m9xeN1WTI8dLKBBiRgXBlTJvbWjCThHWZj9EvHK70Ff50/tYj2J/fvBY6JtFVwRuazHN2E7M9BA== + version "0.13.3" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5" + integrity sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw== -regenerator-transform@^0.10.0: - version "0.10.1" - resolved "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz#1e4996837231da8b7f3cf4114d71b5691a0680dd" - integrity sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q== +regenerator-transform@^0.14.0: + version "0.14.1" + resolved "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.1.tgz#3b2fce4e1ab7732c08f665dfdb314749c7ddd2fb" + integrity sha512-flVuee02C3FKRISbxhXl9mGzdbWUVHubl1SMaknjxkFB1/iqpJhArQUvRxOOPEc/9tAiX0BaQ28FJH10E4isSQ== dependencies: - babel-runtime "^6.18.0" - babel-types "^6.19.0" private "^0.1.6" regex-cache@^0.4.2: @@ -9584,23 +8530,42 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" -regexpu-core@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz#49d038837b8dcf8bfa5b9a42139938e6ea2ae240" - integrity sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA= +regexp.prototype.flags@^1.2.0: + version "1.3.0" + resolved "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz#7aba89b3c13a64509dabcf3ca8d9fbb9bdf5cb75" + integrity sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ== + dependencies: + define-properties "^1.1.3" + es-abstract "^1.17.0-next.1" + +regexpu-core@^4.6.0: + version "4.6.0" + resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.6.0.tgz#2037c18b327cfce8a6fea2a4ec441f2432afb8b6" + integrity sha512-YlVaefl8P5BnFYOITTNzDvan1ulLOiXJzCNZxduTIosN17b87h3bvG9yHMoHaRuo88H4mQ06Aodj5VtYGGGiTg== dependencies: - regenerate "^1.2.1" - regjsgen "^0.2.0" - regjsparser "^0.1.4" + regenerate "^1.4.0" + regenerate-unicode-properties "^8.1.0" + regjsgen "^0.5.0" + regjsparser "^0.6.0" + unicode-match-property-ecmascript "^1.0.4" + unicode-match-property-value-ecmascript "^1.1.0" registry-auth-token@^3.0.1: - version "3.3.1" - resolved "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.1.tgz#fb0d3289ee0d9ada2cbb52af5dfe66cb070d3006" - integrity sha1-+w0yie4Nmtosu1KvXf5mywcNMAY= + version "3.4.0" + resolved "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.4.0.tgz#d7446815433f5d5ed6431cd5dca21048f66b397e" + integrity sha512-4LM6Fw8eBQdwMYcES4yTnn2TqIasbXuwDx3um+QRs7S55aMKCBKBxvPXl2RiUjHwuJLTyYfxSpmfSAjQpcuP+A== dependencies: rc "^1.1.6" safe-buffer "^5.0.1" +registry-auth-token@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.0.0.tgz#30e55961eec77379da551ea5c4cf43cbf03522be" + integrity sha512-lpQkHxd9UL6tb3k/aHAVfnVtn+Bcs9ob5InuFLLEDqSqeq+AljB8GZW9xY0x7F+xYwEcjKe07nyoxzEYz6yvkw== + dependencies: + rc "^1.2.8" + safe-buffer "^5.0.1" + registry-url@^3.0.3: version "3.1.0" resolved "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" @@ -9608,15 +8573,22 @@ registry-url@^3.0.3: dependencies: rc "^1.0.1" -regjsgen@^0.2.0: - version "0.2.0" - resolved "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz#6c016adeac554f75823fe37ac05b92d5a4edb1f7" - integrity sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc= +registry-url@^5.0.0: + version "5.1.0" + resolved "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz#e98334b50d5434b81136b44ec638d9c2009c5009" + integrity sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw== + dependencies: + rc "^1.2.8" -regjsparser@^0.1.4: - version "0.1.5" - resolved "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz#7ee8f84dc6fa792d3fd0ae228d24bd949ead205c" - integrity sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw= +regjsgen@^0.5.0: + version "0.5.1" + resolved "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.1.tgz#48f0bf1a5ea205196929c0d9798b42d1ed98443c" + integrity sha512-5qxzGZjDs9w4tzT3TPhCJqWdCc3RLYwy9J2NB0nm5Lz+S273lvWcpjaTGHsT1dc6Hhfq41uSEOw8wBmxrKOuyg== + +regjsparser@^0.6.0: + version "0.6.2" + resolved "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.2.tgz#fd62c753991467d9d1ffe0a9f67f27a529024b96" + integrity sha512-E9ghzUtoLwDekPT0DYCp+c4h+bvuUpe6rRHCTYn6eGoqj1LgKXxT6I0Il4WbjhQkOghzi/V+y03bPKvbllL93Q== dependencies: jsesc "~0.5.0" @@ -9633,9 +8605,9 @@ remove-trailing-separator@^1.0.1: integrity sha1-wkvOKig62tW8P1jg1IJJuSN52O8= repeat-element@^1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" - integrity sha1-7wiaF40Ug7quTZPrmLT55OEdmQo= + version "1.1.3" + resolved "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce" + integrity sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g== repeat-string@^1.6.1: version "1.6.1" @@ -9649,51 +8621,23 @@ repeating@^2.0.0: dependencies: is-finite "^1.0.0" -request-promise-core@1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.2.tgz#339f6aababcafdb31c799ff158700336301d3346" - integrity sha512-UHYyq1MO8GsefGEt7EprS8UrXsm1TxEvFUX1IMTuSLU2Rh7fTIdFtl8xD7JiEYiWU2dl+NYAjCTksTehQUxPag== +request-promise-core@1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.3.tgz#e9a3c081b51380dfea677336061fea879a829ee9" + integrity sha512-QIs2+ArIGQVp5ZYbWD5ZLCY29D5CfWizP8eWnm8FoGD1TX61veauETVQbrV60662V0oFBkrDOuaBI8XgtuyYAQ== dependencies: - lodash "^4.17.11" + lodash "^4.17.15" request-promise-native@^1.0.5: - version "1.0.7" - resolved "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.7.tgz#a49868a624bdea5069f1251d0a836e0d89aa2c59" - integrity sha512-rIMnbBdgNViL37nZ1b3L/VfPOpSi0TqVDQPAvO6U14lMzOLrt5nilxCQqtDKhZeDiW0/hkCXGoQjhgJd/tCh6w== + version "1.0.8" + resolved "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.8.tgz#a455b960b826e44e2bf8999af64dff2bfe58cb36" + integrity sha512-dapwLGqkHtwL5AEbfenuzjTYg35Jd6KPytsC2/TLkVMz8rm+tNt72MGUWT1RP/aYawMpN6HqbNGBQaRcBtjQMQ== dependencies: - request-promise-core "1.1.2" + request-promise-core "1.1.3" stealthy-require "^1.1.1" tough-cookie "^2.3.3" -request@2.81.0: - version "2.81.0" - resolved "https://registry.npmjs.org/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0" - integrity sha1-xpKJRqDgbF+Nb4qTM0af/aRimKA= - dependencies: - aws-sign2 "~0.6.0" - aws4 "^1.2.1" - caseless "~0.12.0" - combined-stream "~1.0.5" - extend "~3.0.0" - forever-agent "~0.6.1" - form-data "~2.1.1" - har-validator "~4.2.1" - hawk "~3.1.3" - http-signature "~1.1.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.7" - oauth-sign "~0.8.1" - performance-now "^0.2.0" - qs "~6.4.0" - safe-buffer "^5.0.1" - stringstream "~0.0.4" - tough-cookie "~2.3.0" - tunnel-agent "^0.6.0" - uuid "^3.0.0" - -request@^2.87.0: +request@^2.87.0, request@^2.88.0: version "2.88.0" resolved "https://registry.npmjs.org/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef" integrity sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg== @@ -9751,13 +8695,6 @@ resolve-bin@0.4.0: dependencies: find-parent-dir "~0.3.0" -resolve-cwd@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-1.0.0.tgz#4eaeea41ed040d1702457df64a42b2b07d246f9f" - integrity sha1-Tq7qQe0EDRcCRX32SkKysH0kb58= - dependencies: - resolve-from "^2.0.0" - resolve-cwd@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" @@ -9765,6 +8702,13 @@ resolve-cwd@^2.0.0: dependencies: resolve-from "^3.0.0" +resolve-cwd@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" + integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== + dependencies: + resolve-from "^5.0.0" + resolve-dir@^1.0.0, resolve-dir@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43" @@ -9778,11 +8722,6 @@ resolve-from@*, resolve-from@5.0.0, resolve-from@^5.0.0: resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== -resolve-from@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz#9480ab20e94ffa1d9e80a804c7ea147611966b57" - integrity sha1-lICrIOlP+h2egKgEx+oUdhGWa1c= - resolve-from@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" @@ -9800,10 +8739,10 @@ resolve-global@1.0.0, resolve-global@^1.0.0: dependencies: global-dirs "^0.1.1" -resolve-pathname@^2.1.0: - version "2.2.0" - resolved "https://registry.npmjs.org/resolve-pathname/-/resolve-pathname-2.2.0.tgz#7e9ae21ed815fd63ab189adeee64dc831eefa879" - integrity sha512-bAFz9ld18RzJfddgrO2e/0S2O81710++chRMUxHjXOYKF6jTAMrUNZrEZ1PvV0zlhfjidm08iRPdTLPno1FuRg== +resolve-pathname@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/resolve-pathname/-/resolve-pathname-3.0.0.tgz#99d02224d3cf263689becbb393bc560313025dcd" + integrity sha512-C7rARubxI8bXFNB/hqcp/4iUeIXJhJZvFPFPiSPRnhU5UPxzMFIl+2E6yY6c4k9giDJAhtV+enfA+G89N6Csng== resolve-pkg@2.0.0: version "2.0.0" @@ -9822,26 +8761,19 @@ resolve@1.1.7: resolved "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@1.x, resolve@^1.10.0, resolve@^1.3.2: - version "1.10.1" - resolved "https://registry.npmjs.org/resolve/-/resolve-1.10.1.tgz#664842ac960795bbe758221cdccda61fb64b5f18" - integrity sha512-KuIe4mf++td/eFb6wkaPbMDnP6kObCaEtIDuHOUED6MNUo4K670KZUHuuvYPZDxNF0WVLw49n06M2m2dXphEzA== +resolve@1.x, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.11.1, resolve@^1.3.2, resolve@^1.8.1: + version "1.14.1" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.14.1.tgz#9e018c540fcf0c427d678b9931cbf45e984bcaff" + integrity sha512-fn5Wobh4cxbLzuHaE+nphztHy43/b++4M6SsGFC2gB8uYwf0C8LcarfCz1un7UTW8OFQg9iNjZ4xpcFVGebDPg== dependencies: path-parse "^1.0.6" -resolve@^1.1.6: - version "1.5.0" - resolved "https://registry.npmjs.org/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36" - integrity sha512-hgoSGrc3pjzAPHNBg+KnFcK2HwlHTs/YrAGUr6qgTVUZmXv1UEXXl0bZNBKMA9fud6lRYFdPGz0xXxycPzmmiw== - dependencies: - path-parse "^1.0.5" - -resolve@^1.11.1: - version "1.11.1" - resolved "https://registry.npmjs.org/resolve/-/resolve-1.11.1.tgz#ea10d8110376982fef578df8fc30b9ac30a07a3e" - integrity sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw== +responselike@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" + integrity sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec= dependencies: - path-parse "^1.0.6" + lowercase-keys "^1.0.0" restore-cursor@^1.0.1: version "1.0.1" @@ -9859,6 +8791,14 @@ restore-cursor@^2.0.0: onetime "^2.0.0" signal-exit "^3.0.2" +restore-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" + integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== + dependencies: + onetime "^5.1.0" + signal-exit "^3.0.2" + ret@~0.1.10: version "0.1.15" resolved "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" @@ -9879,24 +8819,17 @@ right-pad@^1.0.1: resolved "https://registry.npmjs.org/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0" integrity sha1-jKCMLLtbVedNr6lr9/0aJ9VoyNA= -rimraf@2, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2: - version "2.6.2" - resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" - integrity sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w== - dependencies: - glob "^7.0.5" - -rimraf@^2.6.3: - version "2.6.3" - resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" - integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== +rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3: + version "2.7.1" + resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" + integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== dependencies: glob "^7.1.3" rsvp@^4.8.4: - version "4.8.4" - resolved "https://registry.npmjs.org/rsvp/-/rsvp-4.8.4.tgz#b50e6b34583f3dd89329a2f23a8a2be072845911" - integrity sha512-6FomvYPfs+Jy9TfXmBpBuMWNH94SgCsZmJKcanySzgNNP6LjWxBvyLTa9KaMfDDM5oxRfrKDB0r/qeRsLwnBfA== + version "4.8.5" + resolved "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz#c8f155311d167f68f21e168df71ec5b083113734" + integrity sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA== run-async@^0.1.0: version "0.1.0" @@ -9939,40 +8872,23 @@ rx@2.3.24: resolved "https://registry.npmjs.org/rx/-/rx-2.3.24.tgz#14f950a4217d7e35daa71bbcbe58eff68ea4b2b7" integrity sha1-FPlQpCF9fjXapxu8vljv9o6ksrc= -rx@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/rx/-/rx-4.1.0.tgz#a5f13ff79ef3b740fe30aa803fb09f98805d4782" - integrity sha1-pfE/957zt0D+MKqAP7CfmIBdR4I= - -rxjs@^6.1.0, rxjs@^6.3.3: - version "6.3.3" - resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz#3c6a7fa420e844a81390fb1158a9ec614f4bad55" - integrity sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw== - dependencies: - tslib "^1.9.0" - -rxjs@^6.4.0: - version "6.4.0" - resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz#f3bb0fe7bda7fb69deac0c16f17b50b0b8790504" - integrity sha512-Z9Yfa11F6B9Sg/BK9MnqnQ+aQYicPLtilXBp2yUtDt2JRCE0h26d33EnfO3ZxoNxG0T92OUucP3Ct7cpfkdFfw== +rxjs@^6.1.0, rxjs@^6.3.3, rxjs@^6.4.0: + version "6.5.4" + resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz#e0777fe0d184cec7872df147f303572d414e211c" + integrity sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q== dependencies: tslib "^1.9.0" -safe-buffer@^5.0.1, safe-buffer@^5.1.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.1" - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" - integrity sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg== +safe-buffer@^5.0.1, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" + integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg== -safe-buffer@^5.1.2: +safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@^5.2.0: - version "5.2.0" - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" - integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg== - safe-regex@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" @@ -9980,7 +8896,7 @@ safe-regex@^1.1.0: dependencies: ret "~0.1.10" -"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2: +"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: version "2.1.2" resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== @@ -10031,64 +8947,39 @@ semver-diff@^2.0.0: dependencies: semver "^5.0.3" -"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1: - version "5.4.1" - resolved "https://registry.npmjs.org/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e" - integrity sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg== - -semver@6.3.0, semver@^6.2.0: - version "6.3.0" - resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== - -semver@^5.5: - version "5.7.0" - resolved "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b" - integrity sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA== - -semver@^5.5.0: - version "5.5.0" - resolved "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" - integrity sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA== - -semver@^5.5.1, semver@^5.6.0: - version "5.6.0" - resolved "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" - integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg== - -semver@^5.7.0: +"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== -semver@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/semver/-/semver-6.0.0.tgz#05e359ee571e5ad7ed641a6eec1e547ba52dea65" - integrity sha512-0UewU+9rFapKFnlbirLi3byoOuhrSsli/z/ihNnvM24vgF+8sNBiI1LZPBSH9wJKUwaUbw+s3hToDLCXkrghrQ== +semver@6.3.0, semver@^6.0.0, semver@^6.2.0, semver@^6.3.0: + version "6.3.0" + resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== -semver@~5.3.0: - version "5.3.0" - resolved "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" - integrity sha1-myzl094C0XxgEq0yaqa00M9U+U8= +semver@7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" + integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -send@0.16.1: - version "0.16.1" - resolved "https://registry.npmjs.org/send/-/send-0.16.1.tgz#a70e1ca21d1382c11d0d9f6231deb281080d7ab3" - integrity sha512-ElCLJdJIKPk6ux/Hocwhk7NFHpI3pVm/IZOYWqUmoxcgeyM+MpxHHKhb8QmlJDX1pU6WrgaHBkVNm73Sv7uc2A== +send@0.17.1: + version "0.17.1" + resolved "https://registry.npmjs.org/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8" + integrity sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg== dependencies: debug "2.6.9" - depd "~1.1.1" + depd "~1.1.2" destroy "~1.0.4" - encodeurl "~1.0.1" + encodeurl "~1.0.2" escape-html "~1.0.3" etag "~1.8.1" fresh "0.5.2" - http-errors "~1.6.2" - mime "1.4.1" - ms "2.0.0" + http-errors "~1.7.2" + mime "1.6.0" + ms "2.1.1" on-finished "~2.3.0" - range-parser "~1.2.0" - statuses "~1.3.1" + range-parser "~1.2.1" + statuses "~1.5.0" serialize-error@^2.1.0: version "2.1.0" @@ -10096,56 +8987,34 @@ serialize-error@^2.1.0: integrity sha1-ULZ51WNc34Rme9yOWa9OW4HV9go= serve-static@^1.12.1: - version "1.13.1" - resolved "https://registry.npmjs.org/serve-static/-/serve-static-1.13.1.tgz#4c57d53404a761d8f2e7c1e8a18a47dbf278a719" - integrity sha512-hSMUZrsPa/I09VYFJwa627JJkNs0NrfL1Uzuup+GqHfToR2KcsXFymXSV90hoyw3M+msjFuQly+YzIH/q0MGlQ== + version "1.14.1" + resolved "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz#666e636dc4f010f7ef29970a88a674320898b2f9" + integrity sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg== dependencies: - encodeurl "~1.0.1" + encodeurl "~1.0.2" escape-html "~1.0.3" - parseurl "~1.3.2" - send "0.16.1" + parseurl "~1.3.3" + send "0.17.1" set-blocking@^2.0.0, set-blocking@~2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= -set-getter@^0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/set-getter/-/set-getter-0.1.0.tgz#d769c182c9d5a51f409145f2fba82e5e86e80376" - integrity sha1-12nBgsnVpR9AkUXy+6guXoboA3Y= - dependencies: - to-object-path "^0.3.0" - -set-immediate-shim@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" - integrity sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E= - -set-value@^0.4.3: - version "0.4.3" - resolved "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz#7db08f9d3d22dc7f78e53af3c3bf4666ecdfccf1" - integrity sha1-fbCPnT0i3H945Trzw79GZuzfzPE= - dependencies: - extend-shallow "^2.0.1" - is-extendable "^0.1.1" - is-plain-object "^2.0.1" - to-object-path "^0.3.0" - -set-value@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz#71ae4a88f0feefbbf52d1ea604f3fb315ebb6274" - integrity sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg== +set-value@^2.0.0, set-value@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b" + integrity sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw== dependencies: extend-shallow "^2.0.1" is-extendable "^0.1.1" is-plain-object "^2.0.3" split-string "^3.0.1" -setprototypeof@1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.3.tgz#66567e37043eeb4f04d91bd658c0cbefb55b8e04" - integrity sha1-ZlZ+NwQ+608E2RvWWMDL77VbjgQ= +setprototypeof@1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683" + integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw== shebang-command@^1.2.0: version "1.2.0" @@ -10154,11 +9023,23 @@ shebang-command@^1.2.0: dependencies: shebang-regex "^1.0.0" +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + shebang-regex@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + shelljs@0.7.6: version "0.7.6" resolved "https://registry.npmjs.org/shelljs/-/shelljs-0.7.6.tgz#379cccfb56b91c8601e4793356eb5382924de9ad" @@ -10179,21 +9060,16 @@ signal-exit@^3.0.0, signal-exit@^3.0.2: integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= simple-git@^1.85.0: - version "1.107.0" - resolved "https://registry.npmjs.org/simple-git/-/simple-git-1.107.0.tgz#12cffaf261c14d6f450f7fdb86c21ccee968b383" - integrity sha512-t4OK1JRlp4ayKRfcW6owrWcRVLyHRUlhGd0uN6ZZTqfDq8a5XpcUdOKiGRNobHEuMtNqzp0vcJNvhYWwh5PsQA== + version "1.129.0" + resolved "https://registry.npmjs.org/simple-git/-/simple-git-1.129.0.tgz#eddd2611d2bf41c77e1d08cd70c0b7f3af785040" + integrity sha512-XbzNmugMTeV2crZnPl+b1ZJn+nqXCUNyrZxDXpLM0kHL3B85sbPlpd8q9I4qtAHI9D2FxTB6w4BuiAGKYtyzKw== dependencies: debug "^4.0.1" -sisteransi@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.0.tgz#77d9622ff909080f1c19e5f4a1df0c1b0a27b88c" - integrity sha512-N+z4pHB4AmUv0SjveWRd6q1Nj5w62m5jodv+GD8lvmbY/83T/rpbJGZOnK5T149OldDj4Db07BSv9xY4K6NTPQ== - -slash@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" - integrity sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU= +sisteransi@^1.0.3: + version "1.0.4" + resolved "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.4.tgz#386713f1ef688c7c0304dc4c0632898941cad2e3" + integrity sha512-/ekMoM4NJ59ivGSfKapeG+FWtrmWvA1p6FBZwXrqojw90vJu8lBmrTxCMuBCydKtkaUe2zt4PlxeTKpjwMbyig== slash@^2.0.0: version "2.0.0" @@ -10210,22 +9086,24 @@ slice-ansi@0.0.4: resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" integrity sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU= -slice-ansi@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz#044f1a49d8842ff307aad6b505ed178bd950134d" - integrity sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg== +slice-ansi@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz#31ddc10930a1b7e0b67b08c96c2f49b77a789787" + integrity sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ== dependencies: - is-fullwidth-code-point "^2.0.0" + ansi-styles "^4.0.0" + astral-regex "^2.0.0" + is-fullwidth-code-point "^3.0.0" -slide@^1.1.5, slide@^1.1.6: +slide@^1.1.6: version "1.1.6" resolved "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" integrity sha1-VusCfWW00tzmyy4tMsTUr8nh1wc= -smart-buffer@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.0.1.tgz#07ea1ca8d4db24eb4cac86537d7d18995221ace3" - integrity sha512-RFqinRVJVcCAL9Uh1oVqE6FZkqsyLiVOYEZ20TqIOjuX7iFVJ+zsbs4RIghnw/pTs7mZvt8ZHhvm1ZUrR4fykg== +smart-buffer@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.1.0.tgz#91605c25d91652f4661ea69ccf45f1b331ca21ba" + integrity sha512-iVICrxOzCynf/SNaBQCw34eM9jROU/s5rzIhpOvzhzuYHfJR/DhZfDkXiZSgKXfgv26HT3Yni3AV/DGw0cGnnw== snapdragon-node@^2.0.1: version "2.1.1" @@ -10244,9 +9122,9 @@ snapdragon-util@^3.0.1: kind-of "^3.2.0" snapdragon@^0.8.1: - version "0.8.1" - resolved "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.1.tgz#e12b5487faded3e3dea0ac91e9400bf75b401370" - integrity sha1-4StUh/re0+PeoKyR6UAL91tAE3A= + version "0.8.2" + resolved "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" + integrity sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg== dependencies: base "^0.11.1" debug "^2.2.0" @@ -10255,30 +9133,23 @@ snapdragon@^0.8.1: map-cache "^0.2.2" source-map "^0.5.6" source-map-resolve "^0.5.0" - use "^2.0.0" - -sntp@1.x.x: - version "1.0.9" - resolved "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" - integrity sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg= - dependencies: - hoek "2.x.x" + use "^3.1.0" socks-proxy-agent@^4.0.0: - version "4.0.1" - resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-4.0.1.tgz#5936bf8b707a993079c6f37db2091821bffa6473" - integrity sha512-Kezx6/VBguXOsEe5oU3lXYyKMi4+gva72TwJ7pQY5JfqUx2nMk7NXA6z/mpNqIlfQjWYVfeuNvQjexiTaTn6Nw== + version "4.0.2" + resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz#3c8991f3145b2799e70e11bd5fbc8b1963116386" + integrity sha512-NT6syHhI9LmuEMSK6Kd2V7gNv5KFZoLE7V5udWmn0de+3Mkj3UMA/AJPLyeNUVmElCurSHtUdM3ETpR3z770Wg== dependencies: - agent-base "~4.2.0" - socks "~2.2.0" + agent-base "~4.2.1" + socks "~2.3.2" -socks@~2.2.0: - version "2.2.1" - resolved "https://registry.npmjs.org/socks/-/socks-2.2.1.tgz#68ad678b3642fbc5d99c64c165bc561eab0215f9" - integrity sha512-0GabKw7n9mI46vcNrVfs0o6XzWzjVa3h6GaSo2UPxtWAROXUWavfJWh1M4PR5tnE0dcnQXZIDFP4yrAysLze/w== +socks@~2.3.2: + version "2.3.3" + resolved "https://registry.npmjs.org/socks/-/socks-2.3.3.tgz#01129f0a5d534d2b897712ed8aceab7ee65d78e3" + integrity sha512-o5t52PCNtVdiOvzMry7wU4aOqYWL0PeCXRWBEiJow4/i/wr+wpsJQ9awEu1EonLIqsfGd5qSgDdxEOvCdmBEpA== dependencies: - ip "^1.1.5" - smart-buffer "^4.0.1" + ip "1.1.5" + smart-buffer "^4.1.0" sort-keys@^2.0.0: version "2.0.0" @@ -10288,35 +9159,20 @@ sort-keys@^2.0.0: is-plain-obj "^1.0.0" source-map-resolve@^0.5.0: - version "0.5.1" - resolved "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.1.tgz#7ad0f593f2281598e854df80f19aae4b92d7a11a" - integrity sha512-0KW2wvzfxm8NCTb30z0LMNyPqWCdDGE2viwzUaucqJdkTRXtZiSY3I+2A6nVAjmdOy0I4gU8DwnVVGsk9jvP2A== + version "0.5.3" + resolved "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" + integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw== dependencies: - atob "^2.0.0" + atob "^2.1.2" decode-uri-component "^0.2.0" resolve-url "^0.2.1" source-map-url "^0.4.0" urix "^0.1.0" -source-map-support@^0.4.0, source-map-support@^0.4.15: - version "0.4.18" - resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" - integrity sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA== - dependencies: - source-map "^0.5.6" - -source-map-support@^0.5.0: - version "0.5.9" - resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.9.tgz#41bc953b2534267ea2d605bccfa7bfa3111ced5f" - integrity sha512-gR6Rw4MvUlYy83vP0vxoVNzM6t8MUXqNuRsuBmBHQDu1Fh6X015FrLdgoDKcNdkwGubozq0P4N0Q37UyFVr1EA== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map-support@^0.5.6: - version "0.5.12" - resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.12.tgz#b4f3b10d51857a5af0138d3ce8003b201613d599" - integrity sha512-4h2Pbvyy15EE02G+JOZpUCmqWJuqrs+sEkzewTm++BPi7Hvn/HwcqLAcNxYAyI0x13CpPPn+kMjl+hplXMHITQ== +source-map-support@^0.5.13, source-map-support@^0.5.16, source-map-support@^0.5.6: + version "0.5.16" + resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.16.tgz#0ae069e7fe3ba7538c64c98515e35339eac5a042" + integrity sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ== dependencies: buffer-from "^1.0.0" source-map "^0.6.0" @@ -10326,7 +9182,7 @@ source-map-url@^0.4.0: resolved "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" integrity sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM= -source-map@^0.5.0, source-map@^0.5.6, source-map@^0.5.7: +source-map@^0.5.0, source-map@^0.5.6: version "0.5.7" resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= @@ -10337,29 +9193,22 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== spawn-command@^0.0.2-1: - version "0.0.2" - resolved "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2.tgz#9544e1a43ca045f8531aac1a48cb29bdae62338e" - integrity sha1-lUThpDygRfhTGqwaSMspva5iM44= + version "0.0.2-1" + resolved "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz#62f5e9466981c1b796dc5929937e11c9c6921bd0" + integrity sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A= spdx-correct@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.0.tgz#05a5b4d7153a195bc92c3c425b69f3b2a9524c82" - integrity sha512-N19o9z5cEyc8yQQPukRCZ9EUmb4HUpnrmaL/fxS2pBo2jbfcFRVuFZ/oFC+vZz0MNNk0h80iMn5/S6qGZOL5+g== + version "3.1.0" + resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" + integrity sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q== dependencies: spdx-expression-parse "^3.0.0" spdx-license-ids "^3.0.0" -spdx-correct@~1.0.0: - version "1.0.2" - resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-1.0.2.tgz#4b3073d933ff51f3912f03ac5519498a4150db40" - integrity sha1-SzBz2TP/UfORLwOsVRlJikFQ20A= - dependencies: - spdx-license-ids "^1.0.2" - spdx-exceptions@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz#2c7ae61056c714a5b9b9b2b2af7d311ef5c78fe9" - integrity sha512-4K1NsmrlCU1JJgUrtgEeTVyfx8VaYea9J9LvARxhbHtVtohPs/gFGG5yy49beySjlIMhhXZ4QqujIZEfS4l6Cg== + version "2.2.0" + resolved "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz#2ea450aee74f2a89bfb94519c07fcd6f41322977" + integrity sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA== spdx-expression-parse@^3.0.0: version "3.0.0" @@ -10369,20 +9218,10 @@ spdx-expression-parse@^3.0.0: spdx-exceptions "^2.1.0" spdx-license-ids "^3.0.0" -spdx-expression-parse@~1.0.0: - version "1.0.4" - resolved "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz#9bdf2f20e1f40ed447fbe273266191fced51626c" - integrity sha1-m98vIOH0DtRH++JzJmGR/O1RYmw= - -spdx-license-ids@^1.0.2: - version "1.2.2" - resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz#c9df7a3424594ade6bd11900d596696dc06bac57" - integrity sha1-yd96NCRZSt5r0RkA1ZZpbcBrrFc= - spdx-license-ids@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz#7a7cd28470cc6d3a1cfe6d66886f6bc430d3ac87" - integrity sha512-2+EPwgbnmOIl8HjGBXXMd9NAu02vLjOO1nWw4kmeRDFyHn+M/ETfHxQUK0oXg8ctgVnl9t3rosNVsZ1jG61nDA== + version "3.0.5" + resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz#3694b5804567a458d3c8045842a6358632f62654" + integrity sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q== split-string@^3.0.1, split-string@^3.0.2: version "3.1.0" @@ -10412,7 +9251,7 @@ sprintf-js@~1.0.2: sshpk@1.14.1: version "1.14.1" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.14.1.tgz#130f5975eddad963f1d56f92b9ac6c51fa9f83eb" + resolved "https://registry.npmjs.org/sshpk/-/sshpk-1.14.1.tgz#130f5975eddad963f1d56f92b9ac6c51fa9f83eb" integrity sha1-Ew9Zde3a2WPx1W+SuaxsUfqfg+s= dependencies: asn1 "~0.2.3" @@ -10440,24 +9279,14 @@ sshpk@^1.7.0: safer-buffer "^2.0.2" tweetnacl "~0.14.0" -ssri@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/ssri/-/ssri-6.0.0.tgz#fc21bfc90e03275ac3e23d5a42e38b8a1cbc130d" - integrity sha512-zYOGfVHPhxyzwi8MdtdNyxv3IynWCIM4jYReR48lqu0VngxgH1c+C6CmipRdJ55eVByTJV/gboFEEI7TEQI8DA== - -ssri@^6.0.1: +ssri@^6.0.0, ssri@^6.0.1: version "6.0.1" resolved "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz#2a3c41b28dd45b62b63676ecb74001265ae9edd8" integrity sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA== dependencies: figgy-pudding "^3.5.1" -stack-utils@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.1.tgz#d4f33ab54e8e38778b0ca5cfd3b3afb12db68620" - integrity sha1-1PM6tU6OOHeLDKXP07OvsS22hiA= - -stack-utils@^1.0.1: +stack-utils@^1.0.1, stack-utils@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.2.tgz#33eba3897788558bebfc2db059dc158ec36cebb8" integrity sha512-MTX+MeG5U994cazkjd/9KNAapsHnibjMLnfXodlkXw76JEea0UiNzrqidzo1emMwk7w5Qhc9jd4Bn9TBb1MFwA== @@ -10475,15 +9304,10 @@ static-extend@^0.1.1: define-property "^0.2.5" object-copy "^0.1.0" -"statuses@>= 1.3.1 < 2": - version "1.4.0" - resolved "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087" - integrity sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew== - -statuses@~1.3.1: - version "1.3.1" - resolved "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz#faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e" - integrity sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4= +"statuses@>= 1.5.0 < 2", statuses@~1.5.0: + version "1.5.0" + resolved "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" + integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= stealthy-require@^1.1.1: version "1.1.1" @@ -10491,17 +9315,17 @@ stealthy-require@^1.1.1: integrity sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks= stream-each@^1.1.0: - version "1.2.2" - resolved "https://registry.npmjs.org/stream-each/-/stream-each-1.2.2.tgz#8e8c463f91da8991778765873fe4d960d8f616bd" - integrity sha512-mc1dbFhGBxvTM3bIWmAAINbqiuAk9TATcfIQC8P+/+HJefgaiTlMn2dHvkX8qlI12KeYKSQ1Ua9RrIqrn1VPoA== + version "1.2.3" + resolved "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae" + integrity sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw== dependencies: end-of-stream "^1.1.0" stream-shift "^1.0.0" stream-shift@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952" - integrity sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI= + version "1.0.1" + resolved "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" + integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ== string-argv@^0.0.2: version "0.0.2" @@ -10532,7 +9356,7 @@ string-width@^1.0.1, string-width@^1.0.2: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: +"string-width@^1.0.2 || 2", string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== @@ -10549,19 +9373,37 @@ string-width@^3.0.0, string-width@^3.1.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" -string_decoder@^1.1.1: - version "1.2.0" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.2.0.tgz#fe86e738b19544afe70469243b2a1ee9240eae8d" - integrity sha512-6YqyX6ZWEYguAxgZzHGL7SsCeGx3V2TtOTqZz1xSTSWnqsbWwbptafNyvf/ACquZUXV3DANr5BDIwNYe1mN42w== +string-width@^4.2.0: + version "4.2.0" + resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" + integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== dependencies: - safe-buffer "~5.1.0" + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.0" -string_decoder@~1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab" - integrity sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ== +string.prototype.trimleft@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz#9bdb8ac6abd6d602b17a4ed321870d2f8dcefc74" + integrity sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag== dependencies: - safe-buffer "~5.1.0" + define-properties "^1.1.3" + function-bind "^1.1.1" + +string.prototype.trimright@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz#440314b15996c866ce8a0341894d45186200c5d9" + integrity sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g== + dependencies: + define-properties "^1.1.3" + function-bind "^1.1.1" + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" string_decoder@~1.1.1: version "1.1.1" @@ -10579,9 +9421,9 @@ stringify-object@^3.2.2: is-obj "^1.0.1" is-regexp "^1.0.0" -stringstream@0.0.6, stringstream@~0.0.4: +stringstream@0.0.6: version "0.0.6" - resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.6.tgz#7880225b0d4ad10e30927d167a1d6f2fd3b33a72" + resolved "https://registry.npmjs.org/stringstream/-/stringstream-0.0.6.tgz#7880225b0d4ad10e30927d167a1d6f2fd3b33a72" integrity sha512-87GEBAkegbBcweToUrdzf3eLhWNg06FJTebl4BVJz/JgWy8CvEr9dRtX5qWphiynMSQlxxi+QqN0z5T32SLlhA== strip-ansi@^0.3.0: @@ -10605,29 +9447,24 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.0.0.tgz#f78f68b5d0866c20b2c9b8c61b5298508dc8756f" - integrity sha512-Uu7gQyZI7J7gn5qLn1Np3G9vcYGTVqB+lFTytnDJv83dd8T22aGH451P3jueT2/QemInJDfxHB5Tde5OzgG1Ow== - dependencies: - ansi-regex "^4.0.0" - -strip-ansi@^5.1.0, strip-ansi@^5.2.0: +strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: version "5.2.0" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== dependencies: ansi-regex "^4.1.0" -strip-ansi@~0.1.0: - version "0.1.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz#39e8a98d044d150660abe4a6808acf70bb7bc991" - integrity sha1-OeipjQRNFQZgq+SmgIrPcLt7yZE= +strip-ansi@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" + integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== + dependencies: + ansi-regex "^5.0.0" -strip-bom-buf@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/strip-bom-buf/-/strip-bom-buf-1.0.0.tgz#1cb45aaf57530f4caf86c7f75179d2c9a51dd572" - integrity sha1-HLRar1dTD0yvhsf3UXnSyaUd1XI= +strip-bom-buf@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strip-bom-buf/-/strip-bom-buf-2.0.0.tgz#ff9c223937f8e7154b77e9de9bde094186885c15" + integrity sha512-gLFNHucd6gzb8jMsl5QmZ3QgnUJmp7qn4uUSHNwEXumAp7YizoGYw19ZUVfuq4aBOQUtyn2k8X/CwzWB73W2lQ== dependencies: is-utf8 "^0.2.1" @@ -10702,27 +9539,13 @@ supports-color@^3.2.3: dependencies: has-flag "^1.0.0" -supports-color@^4.0.0: - version "4.5.0" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" - integrity sha1-vnoN5ITexcXN34s9WRJQRJEvY1s= - dependencies: - has-flag "^2.0.0" - -supports-color@^5.0.0: +supports-color@^5.3.0: version "5.5.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== dependencies: has-flag "^3.0.0" -supports-color@^5.3.0: - version "5.4.0" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54" - integrity sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w== - dependencies: - has-flag "^3.0.0" - supports-color@^6.1.0: version "6.1.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3" @@ -10730,30 +9553,27 @@ supports-color@^6.1.0: dependencies: has-flag "^3.0.0" -symbol-observable@^0.2.2: - version "0.2.4" - resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-0.2.4.tgz#95a83db26186d6af7e7a18dbd9760a2f86d08f40" - integrity sha1-lag9smGG1q9+ehjb2XYKL4bQj0A= - -symbol-observable@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d" - integrity sha1-Kb9hXUqnEhvdiYsi1LP5vE4qoD0= +supports-color@^7.0.0: + version "7.1.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1" + integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g== + dependencies: + has-flag "^4.0.0" -symbol-observable@^1.1.0: +symbol-observable@^1.0.4, symbol-observable@^1.1.0: version "1.2.0" resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ== symbol-tree@^3.2.2: - version "3.2.2" - resolved "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6" - integrity sha1-rifbOPZgp64uHDt9G8KQgZuFGeY= + version "3.2.4" + resolved "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" + integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== synchronous-promise@^2.0.6: - version "2.0.7" - resolved "https://registry.npmjs.org/synchronous-promise/-/synchronous-promise-2.0.7.tgz#3574b3d2fae86b145356a4b89103e1577f646fe3" - integrity sha512-16GbgwTmFMYFyQMLvtQjvNWh30dsFe1cAW5Fg1wm5+dg84L9Pe36mftsIRU95/W2YsISxsz/xq4VB23sqpgb/A== + version "2.0.10" + resolved "https://registry.npmjs.org/synchronous-promise/-/synchronous-promise-2.0.10.tgz#e64c6fd3afd25f423963353043f4a68ebd397fd8" + integrity sha512-6PC+JRGmNjiG3kJ56ZMNWDPL8hjyghF5cMXIFOKg+NiwwEZZIvxTWd0pinWKyD227odg9ygF8xVhhz7gb8Uq7A== tar-fs@2.0.0: version "2.0.0" @@ -10765,61 +9585,25 @@ tar-fs@2.0.0: pump "^3.0.0" tar-stream "^2.0.0" -tar-pack@^3.4.0: - version "3.4.1" - resolved "https://registry.npmjs.org/tar-pack/-/tar-pack-3.4.1.tgz#e1dbc03a9b9d3ba07e896ad027317eb679a10a1f" - integrity sha512-PPRybI9+jM5tjtCbN2cxmmRU7YmqT3Zv/UDy48tAh2XRkLa9bAORtSWLkVc13+GJF+cdTh1yEnHEk3cpTaL5Kg== - dependencies: - debug "^2.2.0" - fstream "^1.0.10" - fstream-ignore "^1.0.5" - once "^1.3.3" - readable-stream "^2.1.4" - rimraf "^2.5.1" - tar "^2.2.1" - uid-number "^0.0.6" - tar-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/tar-stream/-/tar-stream-2.0.0.tgz#8829bbf83067bc0288a9089db49c56be395b6aea" - integrity sha512-n2vtsWshZOVr/SY4KtslPoUlyNh06I2SGgAOCZmquCEjlbV/LjY2CY80rDtdQRHFOYXNlgBDo6Fr3ww2CWPOtA== + version "2.1.0" + resolved "https://registry.npmjs.org/tar-stream/-/tar-stream-2.1.0.tgz#d1aaa3661f05b38b5acc9b7020efdca5179a2cc3" + integrity sha512-+DAn4Nb4+gz6WZigRzKEZl1QuJVOLtAwwF+WUxy1fJ6X63CaGaUAxJRD2KEn1OMfcbCjySTYpNC6WmfQoIEOdw== dependencies: - bl "^2.2.0" + bl "^3.0.0" end-of-stream "^1.4.1" fs-constants "^1.0.0" inherits "^2.0.3" readable-stream "^3.1.1" -tar@^2.2.1: - version "2.2.1" - resolved "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" - integrity sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE= - dependencies: - block-stream "*" - fstream "^1.0.2" - inherits "2" - -tar@^4, tar@^4.4.8: - version "4.4.8" - resolved "https://registry.npmjs.org/tar/-/tar-4.4.8.tgz#b19eec3fde2a96e64666df9fdb40c5ca1bc3747d" - integrity sha512-LzHF64s5chPQQS0IYBn9IN5h3i98c12bo4NCO7e0sGM2llXQ3p2FGC5sdENN4cTW48O915Sh+x+EXx7XW96xYQ== - dependencies: - chownr "^1.1.1" - fs-minipass "^1.2.5" - minipass "^2.3.4" - minizlib "^1.1.1" - mkdirp "^0.5.0" - safe-buffer "^5.1.2" - yallist "^3.0.2" - -tar@^4.4.10: - version "4.4.11" - resolved "https://registry.npmjs.org/tar/-/tar-4.4.11.tgz#7ac09801445a3cf74445ed27499136b5240ffb73" - integrity sha512-iI4zh3ktLJKaDNZKZc+fUONiQrSn9HkCFzamtb7k8FFmVilHVob7QsLX/VySAW8lAviMzMbFw4QtFb4errwgYA== +tar@^4.4.10, tar@^4.4.12, tar@^4.4.2, tar@^4.4.8: + version "4.4.13" + resolved "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525" + integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA== dependencies: chownr "^1.1.1" fs-minipass "^1.2.5" - minipass "^2.6.4" + minipass "^2.8.6" minizlib "^1.2.1" mkdirp "^0.5.0" safe-buffer "^5.1.2" @@ -10860,19 +9644,9 @@ test-exclude@^5.2.3: require-main-filename "^2.0.0" text-extensions@^1.0.0: - version "1.7.0" - resolved "https://registry.npmjs.org/text-extensions/-/text-extensions-1.7.0.tgz#faaaba2625ed746d568a23e4d0aacd9bf08a8b39" - integrity sha512-AKXZeDq230UaSzaO5s3qQUZOaC7iKbzq0jOFL614R7d9R593HLqAOL0cYoqLdkNrjBSOdmoQI06yigq1TSBXAg== - -text-extensions@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/text-extensions/-/text-extensions-2.0.0.tgz#43eabd1b495482fae4a2bf65e5f56c29f69220f6" - integrity sha512-F91ZqLgvi1E0PdvmxMgp+gcf6q8fMH7mhdwWfzXnl1k+GbpQDmi8l7DzLC5JTASKbwpY3TfxajAUzAXcv2NmsQ== - -text-table@^0.2.0: - version "0.2.0" - resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" - integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= + version "1.9.0" + resolved "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" + integrity sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ== thenify-all@^1.0.0: version "1.6.0" @@ -10899,11 +9673,11 @@ throat@^5.0.0: integrity sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA== through2@^2.0.0, through2@^2.0.2: - version "2.0.3" - resolved "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be" - integrity sha1-AARWmzfHx0ujnEPzzteNGtlBQL4= + version "2.0.5" + resolved "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" + integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== dependencies: - readable-stream "^2.1.5" + readable-stream "~2.3.6" xtend "~4.0.1" through2@^3.0.0: @@ -10918,40 +9692,25 @@ through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6: resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= -time-require@^0.1.2: - version "0.1.2" - resolved "https://registry.npmjs.org/time-require/-/time-require-0.1.2.tgz#f9e12cb370fc2605e11404582ba54ef5ca2b2d98" - integrity sha1-+eEss3D8JgXhFARYK6VO9corLZg= - dependencies: - chalk "^0.4.0" - date-time "^0.1.1" - pretty-ms "^0.2.1" - text-table "^0.2.0" - time-zone@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/time-zone/-/time-zone-1.0.0.tgz#99c5bf55958966af6d06d83bdf3800dc82faec5d" integrity sha1-mcW/VZWJZq9tBtg73zgA3IL67F0= -timed-out@^3.0.0: - version "3.1.3" - resolved "https://registry.npmjs.org/timed-out/-/timed-out-3.1.3.tgz#95860bfcc5c76c277f8f8326fd0f5b2e20eba217" - integrity sha1-lYYL/MXHbCd/j4Mm/Q9bLiDrohc= - timed-out@^4.0.0: version "4.0.1" resolved "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" integrity sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8= tiny-emitter@^2.0.0: - version "2.0.2" - resolved "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.0.2.tgz#82d27468aca5ade8e5fd1e6d22b57dd43ebdfb7c" - integrity sha512-2NM0auVBGft5tee/OxP4PI3d8WItkDM+fPnaRAVo6xTDI2knbz9eC5ArWGqtGlYqiH3RU5yMpdyTTO7MguC4ow== + version "2.1.0" + resolved "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423" + integrity sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q== tinydate@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/tinydate/-/tinydate-1.0.0.tgz#20f31756a13959ef8c57ec133ba29b5ade042cac" - integrity sha1-IPMXVqE5We+MV+wTO6KbWt4ELKw= + version "1.2.0" + resolved "https://registry.npmjs.org/tinydate/-/tinydate-1.2.0.tgz#36b4bb02715f89743f3ef9073d3573d005a28d0e" + integrity sha512-3GwPk8VhDFnUZ2TrgkhXJs6hcMAIIw4x/xkz+ayK6dGoQmp2nUwKzBXK0WnMsqkh6vfUhpqQicQF3rbshfyJkg== tmp@0.1.0: version "0.1.0" @@ -10972,11 +9731,6 @@ tmpl@1.0.x: resolved "https://registry.npmjs.org/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1" integrity sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE= -to-fast-properties@^1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" - integrity sha1-uDVx+k2MJbguIxsG46MFXeTKGkc= - to-fast-properties@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" @@ -10989,6 +9743,11 @@ to-object-path@^0.3.0: dependencies: kind-of "^3.0.2" +to-readable-stream@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz#ce0aa0c2f3df6adf852efb404a783e77c0475771" + integrity sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q== + to-regex-range@^2.1.0: version "2.1.1" resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" @@ -11004,16 +9763,7 @@ to-regex-range@^5.0.1: dependencies: is-number "^7.0.0" -to-regex@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/to-regex/-/to-regex-3.0.1.tgz#15358bee4a2c83bd76377ba1dc049d0f18837aae" - integrity sha1-FTWL7kosg712N3uh3ASdDxiDeq4= - dependencies: - define-property "^0.2.5" - extend-shallow "^2.0.1" - regex-not "^1.0.0" - -to-regex@^3.0.2: +to-regex@^3.0.1, to-regex@^3.0.2: version "3.0.2" resolved "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" integrity sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw== @@ -11023,6 +9773,11 @@ to-regex@^3.0.2: regex-not "^1.0.2" safe-regex "^1.1.0" +toidentifier@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553" + integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw== + toposort@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz#ae21768175d1559d48bef35420b2f4962f09c330" @@ -11036,13 +9791,6 @@ tough-cookie@^2.3.3, tough-cookie@^2.3.4: psl "^1.1.28" punycode "^2.1.1" -tough-cookie@~2.3.0: - version "2.3.3" - resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.3.tgz#0b618a5565b6dea90bf3425d04d55edc475a7561" - integrity sha1-C2GKVWW23qkL80JdBNVe3EdadWE= - dependencies: - punycode "^1.4.1" - tough-cookie@~2.4.3: version "2.4.3" resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781" @@ -11059,9 +9807,9 @@ tr46@^1.0.1: punycode "^2.1.0" tree-kill@^1.1.0: - version "1.2.0" - resolved "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.0.tgz#5846786237b4239014f05db156b643212d4c6f36" - integrity sha512-DlX6dR0lOIRDFxI0mjL9IYg6OTncLm/Zt+JiBhE5OlFcAR8yc9S7FFXU9so0oda47frdM/JFsk7UjNt9vscKcg== + version "1.2.2" + resolved "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" + integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== trim-newlines@^1.0.0: version "1.0.0" @@ -11100,9 +9848,9 @@ ts-jest@24.1.0: yargs-parser "10.x" tslib@^1.9.0: - version "1.9.3" - resolved "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" - integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ== + version "1.10.0" + resolved "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" + integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== tunnel-agent@^0.6.0: version "0.6.0" @@ -11117,9 +9865,9 @@ tweetnacl@^0.14.3, tweetnacl@~0.14.0: integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q= tweezer.js@^1.4.0: - version "1.4.0" - resolved "https://registry.npmjs.org/tweezer.js/-/tweezer.js-1.4.0.tgz#206ff568ad34cf0e56a04307d99ffc52193d5045" - integrity sha1-IG/1aK00zw5WoEMH2Z/8Uhk9UEU= + version "1.5.0" + resolved "https://registry.npmjs.org/tweezer.js/-/tweezer.js-1.5.0.tgz#ca50ac5215022203fd3be4d28617e8e2305f5c0c" + integrity sha512-aSiJz7rGWNAQq7hjMK9ZYDuEawXupcCWgl3woQQSoDP2Oh8O4srWb/uO1PzzHIsrPEOqrjJ2sUb9FERfzuBabQ== type-check@~0.3.2: version "0.3.2" @@ -11138,6 +9886,18 @@ type-fest@^0.6.0: resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg== +type-fest@^0.8.0, type-fest@^0.8.1: + version "0.8.1" + resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" + integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== + +typedarray-to-buffer@^3.1.5: + version "3.1.5" + resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + typedarray@^0.0.6: version "0.0.6" resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" @@ -11149,14 +9909,14 @@ typescript@3.6.4: integrity sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg== uglify-js@^3.1.4: - version "3.4.9" - resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.9.tgz#af02f180c1207d76432e473ed24a28f4a782bae3" - integrity sha512-8CJsbKOtEbnJsTyv6LE6m6ZKniqMiFWmm9sRbopbkGs3gMPPfd3Fh8iIA4Ykv5MgaTbqHr4BaoGLJLZNhsrW1Q== + version "3.7.3" + resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.7.3.tgz#f918fce9182f466d5140f24bb0ff35c2d32dcc6a" + integrity sha512-7tINm46/3puUA4hCkKYo4Xdts+JDaVC9ZPRcG8Xw9R4nhO/gZgUM3TENq8IF4Vatk8qCig4MzP/c8G4u2BkVQg== dependencies: - commander "~2.17.1" + commander "~2.20.3" source-map "~0.6.1" -uid-number@0.0.6, uid-number@^0.0.6: +uid-number@0.0.6: version "0.0.6" resolved "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" integrity sha1-DqEOgDXo61uOREnwbaHHMGY7qoE= @@ -11176,15 +9936,38 @@ umask@^1.1.0: resolved "https://registry.npmjs.org/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d" integrity sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0= +unicode-canonical-property-names-ecmascript@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz#2619800c4c825800efdd8343af7dd9933cbe2818" + integrity sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ== + +unicode-match-property-ecmascript@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz#8ed2a32569961bce9227d09cd3ffbb8fed5f020c" + integrity sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg== + dependencies: + unicode-canonical-property-names-ecmascript "^1.0.4" + unicode-property-aliases-ecmascript "^1.0.4" + +unicode-match-property-value-ecmascript@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.1.0.tgz#5b4b426e08d13a80365e0d657ac7a6c1ec46a277" + integrity sha512-hDTHvaBk3RmFzvSl0UVrUmC3PuW9wKVnpoUDYH0JDkSIovzw+J5viQmeYHxVSBptubnr7PbH2e0fnpDRQnQl5g== + +unicode-property-aliases-ecmascript@^1.0.4: + version "1.0.5" + resolved "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57" + integrity sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw== + union-value@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz#5c71c34cb5bad5dcebe3ea0cd08207ba5aa1aea4" - integrity sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ= + version "1.0.1" + resolved "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" + integrity sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg== dependencies: arr-union "^3.1.0" get-value "^2.0.6" is-extendable "^0.1.1" - set-value "^0.4.3" + set-value "^2.0.1" unique-filename@^1.1.1: version "1.1.1" @@ -11194,9 +9977,9 @@ unique-filename@^1.1.1: unique-slug "^2.0.0" unique-slug@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.0.tgz#db6676e7c7cc0629878ff196097c78855ae9f4ab" - integrity sha1-22Z258fMBimHj/GWCXx4hVrp9Ks= + version "2.0.2" + resolved "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz#baabce91083fc64e945b0f3ad613e264f7cd4e6c" + integrity sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w== dependencies: imurmurhash "^0.1.4" @@ -11224,9 +10007,9 @@ universal-user-agent@^4.0.0: os-name "^3.1.0" universalify@^0.1.0: - version "0.1.1" - resolved "https://registry.npmjs.org/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7" - integrity sha1-+nG63UQ3r0wUiEHjs7Fl+enlkLc= + version "0.1.2" + resolved "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" + integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== unpipe@~1.0.0: version "1.0.0" @@ -11241,50 +10024,50 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" -unzip-response@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/unzip-response/-/unzip-response-1.0.2.tgz#b984f0877fc0a89c2c773cc1ef7b5b232b5b06fe" - integrity sha1-uYTwh3/AqJwsdzzB73tbIytbBv4= - unzip-response@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" integrity sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c= upath@^1.1.1: - version "1.1.2" - resolved "https://registry.npmjs.org/upath/-/upath-1.1.2.tgz#3db658600edaeeccbe6db5e684d67ee8c2acd068" - integrity sha512-kXpym8nmDmlCBr7nKdIx8P2jNBa+pBpIUFRnKJ4dr8htyYGJFokkr2ZvERRtUN+9SY+JqXouNgUPtv6JQva/2Q== - -update-notifier@^1.0.0: - version "1.0.3" - resolved "https://registry.npmjs.org/update-notifier/-/update-notifier-1.0.3.tgz#8f92c515482bd6831b7c93013e70f87552c7cf5a" - integrity sha1-j5LFFUgr1oMbfJMBPnD4dVLHz1o= - dependencies: - boxen "^0.6.0" - chalk "^1.0.0" - configstore "^2.0.0" - is-npm "^1.0.0" - latest-version "^2.0.0" - lazy-req "^1.1.0" - semver-diff "^2.0.0" - xdg-basedir "^2.0.0" + version "1.2.0" + resolved "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894" + integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg== -update-notifier@^2.1.0, update-notifier@^2.3.0: - version "2.3.0" - resolved "https://registry.npmjs.org/update-notifier/-/update-notifier-2.3.0.tgz#4e8827a6bb915140ab093559d7014e3ebb837451" - integrity sha1-TognpruRUUCrCTVZ1wFOPruDdFE= +update-notifier@^2.1.0: + version "2.5.0" + resolved "https://registry.npmjs.org/update-notifier/-/update-notifier-2.5.0.tgz#d0744593e13f161e406acb1d9408b72cad08aff6" + integrity sha512-gwMdhgJHGuj/+wHJJs9e6PcCszpxR1b236igrOkUofGhqJuG+amlIKwApH1IW1WWl7ovZxsX49lMBWLxSdm5Dw== dependencies: boxen "^1.2.1" chalk "^2.0.1" configstore "^3.0.0" import-lazy "^2.1.0" + is-ci "^1.0.10" is-installed-globally "^0.1.0" is-npm "^1.0.0" latest-version "^3.0.0" semver-diff "^2.0.0" xdg-basedir "^3.0.0" +update-notifier@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/update-notifier/-/update-notifier-3.0.1.tgz#78ecb68b915e2fd1be9f767f6e298ce87b736250" + integrity sha512-grrmrB6Zb8DUiyDIaeRTBCkgISYUgETNe7NglEbVsrLWXeESnlCSP50WfRSj/GmzMPl6Uchj24S/p80nP/ZQrQ== + dependencies: + boxen "^3.0.0" + chalk "^2.0.1" + configstore "^4.0.0" + has-yarn "^2.1.0" + import-lazy "^2.1.0" + is-ci "^2.0.0" + is-installed-globally "^0.1.0" + is-npm "^3.0.0" + is-yarn-global "^0.3.0" + latest-version "^5.0.0" + semver-diff "^2.0.0" + xdg-basedir "^3.0.0" + uri-js@^4.2.2: version "4.2.2" resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" @@ -11304,25 +10087,30 @@ url-parse-lax@^1.0.0: dependencies: prepend-http "^1.0.1" -use@^2.0.0: - version "2.0.2" - resolved "https://registry.npmjs.org/use/-/use-2.0.2.tgz#ae28a0d72f93bf22422a18a2e379993112dec8e8" - integrity sha1-riig1y+TvyJCKhii43mZMRLeyOg= +url-parse-lax@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c" + integrity sha1-FrXK/Afb42dsGxmZF3gj1lA6yww= dependencies: - define-property "^0.2.5" - isobject "^3.0.0" - lazy-cache "^2.0.2" + prepend-http "^2.0.0" -user-home@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190" - integrity sha1-K1viOjK2Onyd640PKNSFcko98ZA= +use@^3.1.0: + version "3.1.1" + resolved "https://registry.npmjs.org/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" + integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== util-deprecate@^1.0.1, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= +util-promisify@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/util-promisify/-/util-promisify-2.1.0.tgz#3c2236476c4d32c5ff3c47002add7c13b9a82a53" + integrity sha1-PCI2R2xNMsX/PEcAKt18E7moKlM= + dependencies: + object.getownpropertydescriptors "^2.0.3" + util.promisify@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030" @@ -11336,37 +10124,12 @@ utils-merge@1.0.1: resolved "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= -uuid@^2.0.1: - version "2.0.3" - resolved "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz#67e2e863797215530dff318e5bf9dcebfd47b21a" - integrity sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho= - -uuid@^3.0.0, uuid@^3.0.1: - version "3.1.0" - resolved "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04" - integrity sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g== - -uuid@^3.3.2: - version "3.3.2" - resolved "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" - integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== - -v8flags@^2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4" - integrity sha1-qrGh+jDUX4jdMhFIh1rALAtV5bQ= - dependencies: - user-home "^1.1.1" - -validate-npm-package-license@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc" - integrity sha1-KAS6vnEq0zeUWaz74kdGqywwP7w= - dependencies: - spdx-correct "~1.0.0" - spdx-expression-parse "~1.0.0" +uuid@^3.0.1, uuid@^3.3.2: + version "3.3.3" + resolved "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866" + integrity sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ== -validate-npm-package-license@^3.0.3: +validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3: version "3.0.4" resolved "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== @@ -11420,7 +10183,7 @@ walker@^1.0.7, walker@~1.0.5: dependencies: makeerror "1.0.x" -wcwidth@^1.0.0: +wcwidth@^1.0.0, wcwidth@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" integrity sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g= @@ -11432,10 +10195,10 @@ webidl-conversions@^4.0.2: resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg== -well-known-symbols@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/well-known-symbols/-/well-known-symbols-1.0.0.tgz#73c78ae81a7726a8fa598e2880801c8b16225518" - integrity sha1-c8eK6Bp3Jqj6WY4ogIAcixYiVRg= +well-known-symbols@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/well-known-symbols/-/well-known-symbols-2.0.0.tgz#e9c7c07dbd132b7b84212c8174391ec1f9871ba5" + integrity sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q== whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.3: version "1.0.5" @@ -11459,9 +10222,9 @@ whatwg-url@^6.4.1: webidl-conversions "^4.0.2" whatwg-url@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.0.0.tgz#fde926fa54a599f3adf82dff25a9f7be02dc6edd" - integrity sha512-37GeVSIJ3kn1JgKyjiYNmSLP1yzbpb29jdmwBSgkD9h40/hyrR/OifpVUndji3tmwGgD8qpw7iQu3RSbCrBpsQ== + version "7.1.0" + resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz#c2c492f1eca612988efd3d2266be1b9fc6170d06" + integrity sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg== dependencies: lodash.sortby "^4.7.0" tr46 "^1.0.1" @@ -11477,13 +10240,6 @@ which-module@^2.0.0: resolved "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= -which@1, which@^1.2.10, which@^1.2.9: - version "1.3.0" - resolved "https://registry.npmjs.org/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a" - integrity sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg== - dependencies: - isexe "^2.0.0" - which@2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/which/-/which-2.0.1.tgz#f1cf94d07a8e571b6ff006aeb91d0300c47ef0a4" @@ -11491,35 +10247,42 @@ which@2.0.1: dependencies: isexe "^2.0.0" -which@^1.2.14, which@^1.3.0, which@^1.3.1: +which@^1.2.10, which@^1.2.14, which@^1.2.9, which@^1.3.0, which@^1.3.1: version "1.3.1" resolved "https://registry.npmjs.org/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== dependencies: isexe "^2.0.0" +which@^2.0.1: + version "2.0.2" + resolved "https://registry.npmjs.org/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + wide-align@^1.1.0: - version "1.1.2" - resolved "https://registry.npmjs.org/wide-align/-/wide-align-1.1.2.tgz#571e0f1b0604636ebc0dfc21b0339bbe31341710" - integrity sha512-ijDLlyQ7s6x1JgCLur53osjm/UXUYD9+0PbYKrBsYisYXzCxN+HC3mYDNy/dWdmf3AwqwU3CXwDCvsNgGK1S0w== + version "1.1.3" + resolved "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" + integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== dependencies: - string-width "^1.0.2" + string-width "^1.0.2 || 2" -widest-line@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/widest-line/-/widest-line-1.0.0.tgz#0c09c85c2a94683d0d7eaf8ee097d564bf0e105c" - integrity sha1-DAnIXCqUaD0Nfq+O4JfVZL8OEFw= +widest-line@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/widest-line/-/widest-line-2.0.1.tgz#7438764730ec7ef4381ce4df82fb98a53142a3fc" + integrity sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA== dependencies: - string-width "^1.0.1" + string-width "^2.1.1" windows-release@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/windows-release/-/windows-release-3.1.0.tgz#8d4a7e266cbf5a233f6c717dac19ce00af36e12e" - integrity sha512-hBb7m7acFgQPQc222uEQTmdcGLeBmQLNLFIh0rDk3CwFOBrfjefLzEfEfmpMq8Af/n/GnFf3eYf203FY1PmudA== + version "3.2.0" + resolved "https://registry.npmjs.org/windows-release/-/windows-release-3.2.0.tgz#8122dad5afc303d833422380680a79cdfa91785f" + integrity sha512-QTlz2hKLrdqukrsapKsINzqMgOUpQW268eJ0OaOpJN32h272waxR9fkB9VoWRtK7uKHG5EHJcTXQBD8XZVJkFA== dependencies: - execa "^0.10.0" + execa "^1.0.0" -word-wrap@^1.0.3: +word-wrap@^1.0.3, word-wrap@~1.2.3: version "1.2.3" resolved "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== @@ -11529,11 +10292,6 @@ wordwrap@~0.0.2: resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" integrity sha1-o9XabNXAvAAI03I0u68b7WMFkQc= -wordwrap@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" - integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus= - wrap-ansi@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" @@ -11573,32 +10331,24 @@ write-file-atomic@2.4.1: imurmurhash "^0.1.4" signal-exit "^3.0.2" -write-file-atomic@^1.1.2, write-file-atomic@^1.1.4: - version "1.3.4" - resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-1.3.4.tgz#f807a4f0b1d9e913ae7a48112e6cc3af1991b45f" - integrity sha1-+Aek8LHZ6ROuekgRLmzDrxmRtF8= - dependencies: - graceful-fs "^4.1.11" - imurmurhash "^0.1.4" - slide "^1.1.5" - -write-file-atomic@^2.0.0, write-file-atomic@^2.3.0: - version "2.3.0" - resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.3.0.tgz#1ff61575c2e2a4e8e510d6fa4e243cce183999ab" - integrity sha512-xuPeK4OdjWqtfi59ylvVL0Yn35SF3zgcAcv7rBPFHVaEapaDr4GdGgm3j7ckTwH9wHL7fGmgfAnb0+THrHb8tA== +write-file-atomic@^2.0.0, write-file-atomic@^2.3.0, write-file-atomic@^2.4.2: + version "2.4.3" + resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" + integrity sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ== dependencies: graceful-fs "^4.1.11" imurmurhash "^0.1.4" signal-exit "^3.0.2" -write-file-atomic@^2.4.2: - version "2.4.3" - resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" - integrity sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ== +write-file-atomic@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.1.tgz#558328352e673b5bb192cf86500d60b230667d4b" + integrity sha512-JPStrIyyVJ6oCSz/691fAjFtefZ6q+fP6tm+OS4Qw6o+TGQxNp1ziY2PgS+X/m0V8OWhZiO/m4xSj+Pr4RrZvw== dependencies: - graceful-fs "^4.1.11" imurmurhash "^0.1.4" + is-typedarray "^1.0.0" signal-exit "^3.0.2" + typedarray-to-buffer "^3.1.5" write-json-file@^2.2.0: version "2.3.0" @@ -11625,9 +10375,9 @@ write-json-file@^3.2.0: write-file-atomic "^2.4.2" write-pkg@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/write-pkg/-/write-pkg-3.1.0.tgz#030a9994cc9993d25b4e75a9f1a1923607291ce9" - integrity sha1-AwqZlMyZk9JbTnWp8aGSNgcpHOk= + version "3.2.0" + resolved "https://registry.npmjs.org/write-pkg/-/write-pkg-3.2.0.tgz#0e178fe97820d389a8928bc79535dbe68c2cff21" + integrity sha512-tX2ifZ0YqEFOF1wjRW2Pk93NLsj02+n1UP5RvO6rCs0K6R2g1padvf006cY74PQJKMGS2r42NK7FD0dG6Y6paw== dependencies: sort-keys "^2.0.0" write-json-file "^2.2.0" @@ -11647,13 +10397,6 @@ ws@^5.2.0: dependencies: async-limiter "~1.0.0" -xdg-basedir@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-2.0.0.tgz#edbc903cc385fc04523d966a335504b5504d1bd2" - integrity sha1-7byQPMOF/ARSPZZqM1UEtVBNG9I= - dependencies: - os-homedir "^1.0.0" - xdg-basedir@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4" @@ -11665,16 +10408,16 @@ xml-name-validator@^3.0.0: integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw== xtend@^4.0.0, xtend@~4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" - integrity sha1-pcbVMr5lbiPbgg77lDofBJmNY68= + version "4.0.2" + resolved "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" + integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== y18n@^3.2.1: version "3.2.1" resolved "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" integrity sha1-bRX7qITAhnnA136I53WegR4H+kE= -"y18n@^3.2.1 || ^4.0.0", y18n@^4.0.0: +y18n@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== @@ -11684,43 +10427,31 @@ yallist@^2.1.2: resolved "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= -yallist@^3.0.0, yallist@^3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/yallist/-/yallist-3.0.2.tgz#8452b4bb7e83c7c188d8041c1a837c773d6d8bb9" - integrity sha1-hFK0u36Dx8GI2AQcGoN8dz1ti7k= - -yallist@^3.0.3: - version "3.0.3" - resolved "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9" - integrity sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A== +yallist@^3.0.0, yallist@^3.0.2, yallist@^3.0.3: + version "3.1.1" + resolved "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== yargonaut@^1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/yargonaut/-/yargonaut-1.1.2.tgz#ee7b89e98121a3f241fa926a2a6e1b6641c81b3f" - integrity sha1-7nuJ6YEho/JB+pJqKm4bZkHIGz8= + version "1.1.4" + resolved "https://registry.npmjs.org/yargonaut/-/yargonaut-1.1.4.tgz#c64f56432c7465271221f53f5cc517890c3d6e0c" + integrity sha512-rHgFmbgXAAzl+1nngqOcwEljqHGG9uUZoPjsdZEs1w5JW9RXYzrSvH/u70C1JE5qFi0qjsdhnUX/dJRpWqitSA== dependencies: chalk "^1.1.1" figlet "^1.1.1" parent-require "^1.0.0" -yargs-parser@10.x: +yargs-parser@10.x, yargs-parser@^10.0.0: version "10.1.0" resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz#7202265b89f7e9e9f2e5765e0fe735a905edbaa8" integrity sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ== dependencies: camelcase "^4.1.0" -yargs-parser@^10.0.0: - version "10.0.0" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.0.0.tgz#c737c93de2567657750cb1f2c00be639fd19c994" - integrity sha512-+DHejWujTVYeMHLff8U96rLc4uE4Emncoftvn5AjhB1Jw1pWxLzgBUT/WYbPrHmy6YPEBTZQx5myHhVcuuu64g== - dependencies: - camelcase "^4.1.0" - -yargs-parser@^11.1.1: - version "11.1.1" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4" - integrity sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ== +yargs-parser@^13.1.1: + version "13.1.1" + resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0" + integrity sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ== dependencies: camelcase "^5.0.0" decamelize "^1.2.0" @@ -11740,28 +10471,26 @@ yargs-parser@^5.0.0: dependencies: camelcase "^3.0.0" -yargs@^12.0.2: - version "12.0.5" - resolved "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" - integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw== +yargs@^13.3.0: + version "13.3.0" + resolved "https://registry.npmjs.org/yargs/-/yargs-13.3.0.tgz#4c657a55e07e5f2cf947f8a366567c04a0dedc83" + integrity sha512-2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA== dependencies: - cliui "^4.0.0" - decamelize "^1.2.0" + cliui "^5.0.0" find-up "^3.0.0" - get-caller-file "^1.0.1" - os-locale "^3.0.0" + get-caller-file "^2.0.1" require-directory "^2.1.1" - require-main-filename "^1.0.1" + require-main-filename "^2.0.0" set-blocking "^2.0.0" - string-width "^2.0.0" + string-width "^3.0.0" which-module "^2.0.0" - y18n "^3.2.1 || ^4.0.0" - yargs-parser "^11.1.1" + y18n "^4.0.0" + yargs-parser "^13.1.1" yargs@^14.2.0: - version "14.2.0" - resolved "https://registry.npmjs.org/yargs/-/yargs-14.2.0.tgz#f116a9242c4ed8668790b40759b4906c276e76c3" - integrity sha512-/is78VKbKs70bVZH7w4YaZea6xcJWOAwkhbR0CFuZBmYtfTYF0xjGJF43AYd8g2Uii1yJwmS5GR2vBmrc32sbg== + version "14.2.2" + resolved "https://registry.npmjs.org/yargs/-/yargs-14.2.2.tgz#2769564379009ff8597cdd38fba09da9b493c4b5" + integrity sha512-/4ld+4VV5RnrynMhPZJ/ZpOCGSCeghMykZ3BhdFBDa9Wy/RH6uEGNWDJog+aUlq+9OM1CFTgtYRW5Is1Po9NOA== dependencies: cliui "^5.0.0" decamelize "^1.2.0" From b111e8fb387b47deb25a98600cbebf49d2ca2007 Mon Sep 17 00:00:00 2001 From: Armano Date: Sun, 26 Jan 2020 14:42:54 +0100 Subject: [PATCH 0010/2192] test(rules): migrate rules tests from ava to jest (#900) --- @commitlint/rules/package.json | 22 -- @commitlint/rules/src/body-case.test.js | 49 +++-- @commitlint/rules/src/body-empty.test.js | 25 ++- .../rules/src/body-leading-blank.test.js | 37 ++-- @commitlint/rules/src/body-max-length.test.js | 13 +- .../rules/src/body-max-line-length.test.js | 21 +- @commitlint/rules/src/body-min-length.test.js | 13 +- @commitlint/rules/src/footer-empty.test.js | 37 ++-- .../rules/src/footer-leading-blank.test.js | 89 ++++---- .../rules/src/footer-max-length.test.js | 17 +- .../rules/src/footer-max-line-length.test.js | 25 ++- .../rules/src/footer-min-length.test.js | 17 +- @commitlint/rules/src/header-case.test.js | 181 ++++++++-------- .../rules/src/header-full-stop.test.js | 17 +- .../rules/src/header-max-length.test.js | 9 +- .../rules/src/header-min-length.test.js | 9 +- @commitlint/rules/src/index.test.js | 11 +- .../rules/src/references-empty.test.js | 37 ++-- @commitlint/rules/src/scope-case.test.js | 185 ++++++++-------- @commitlint/rules/src/scope-empty.test.js | 37 ++-- @commitlint/rules/src/scope-enum.test.js | 53 +++-- .../rules/src/scope-max-length.test.js | 13 +- .../rules/src/scope-min-length.test.js | 13 +- @commitlint/rules/src/signed-off-by.test.js | 41 ++-- @commitlint/rules/src/subject-case.test.js | 197 +++++++++--------- @commitlint/rules/src/subject-empty.test.js | 25 ++- .../rules/src/subject-full-stop.test.js | 25 ++- .../rules/src/subject-max-length.test.js | 13 +- .../rules/src/subject-min-length.test.js | 13 +- @commitlint/rules/src/type-case.test.js | 185 ++++++++-------- @commitlint/rules/src/type-empty.test.js | 25 ++- @commitlint/rules/src/type-enum.test.js | 73 ++++--- @commitlint/rules/src/type-max-length.test.js | 13 +- @commitlint/rules/src/type-min-length.test.js | 13 +- babel.config.js | 4 + jest.config.js | 4 +- yarn.lock | 51 ++--- 37 files changed, 768 insertions(+), 844 deletions(-) create mode 100644 babel.config.js diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index d6342973ff..8d30d4e0e9 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -11,29 +11,8 @@ "deps": "dep-check", "pkg": "pkg-check --skip-import", "start": "concurrently \"ava -c 4 --verbose --watch\" \"yarn run watch\"", - "test": "ava -c 4 --verbose", "watch": "babel src --out-dir lib --watch --source-maps" }, - "ava": { - "files": [ - "src/**/*.test.js", - "!lib/**/*" - ], - "source": [ - "src/**/*.js", - "!lib/**/*" - ], - "babel": { - "testOptions": { - "presets": [ - "babel-preset-commitlint" - ] - } - }, - "require": [ - "@babel/register" - ] - }, "babel": { "presets": [ "babel-preset-commitlint" @@ -68,7 +47,6 @@ "@commitlint/parse": "^8.3.4", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "ava": "2.4.0", "babel-preset-commitlint": "^8.2.0", "concurrently": "3.6.1", "conventional-changelog-angular": "1.6.6", diff --git a/@commitlint/rules/src/body-case.test.js b/@commitlint/rules/src/body-case.test.js index 7837f03bfa..3f5dd2f417 100644 --- a/@commitlint/rules/src/body-case.test.js +++ b/@commitlint/rules/src/body-case.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import bodyCase from './body-case'; @@ -16,74 +15,74 @@ const parsed = { uppercase: parse(messages.uppercase) }; -test('with empty body should succeed for "never lowercase"', async t => { +test('with empty body should succeed for "never lowercase"', async () => { const [actual] = bodyCase(await parsed.empty, 'never', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty body should succeed for "always lowercase"', async t => { +test('with empty body should succeed for "always lowercase"', async () => { const [actual] = bodyCase(await parsed.empty, 'always', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty body should succeed for "never uppercase"', async t => { +test('with empty body should succeed for "never uppercase"', async () => { const [actual] = bodyCase(await parsed.empty, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty body should succeed for "always uppercase"', async t => { +test('with empty body should succeed for "always uppercase"', async () => { const [actual] = bodyCase(await parsed.empty, 'always', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase body should fail for "never lowercase"', async t => { +test('with lowercase body should fail for "never lowercase"', async () => { const [actual] = bodyCase(await parsed.lowercase, 'never', 'lowercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase body should succeed for "always lowercase"', async t => { +test('with lowercase body should succeed for "always lowercase"', async () => { const [actual] = bodyCase(await parsed.lowercase, 'always', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase body should succeed for "never lowercase"', async t => { +test('with mixedcase body should succeed for "never lowercase"', async () => { const [actual] = bodyCase(await parsed.mixedcase, 'never', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase body should fail for "always lowercase"', async t => { +test('with mixedcase body should fail for "always lowercase"', async () => { const [actual] = bodyCase(await parsed.mixedcase, 'always', 'lowercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase body should succeed for "never uppercase"', async t => { +test('with mixedcase body should succeed for "never uppercase"', async () => { const [actual] = bodyCase(await parsed.mixedcase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase body should fail for "always uppercase"', async t => { +test('with mixedcase body should fail for "always uppercase"', async () => { const [actual] = bodyCase(await parsed.mixedcase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with uppercase body should fail for "never uppercase"', async t => { +test('with uppercase body should fail for "never uppercase"', async () => { const [actual] = bodyCase(await parsed.uppercase, 'never', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase body should succeed for "always uppercase"', async t => { +test('with lowercase body should succeed for "always uppercase"', async () => { const [actual] = bodyCase(await parsed.uppercase, 'always', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/body-empty.test.js b/@commitlint/rules/src/body-empty.test.js index 0f336adb94..574cb66db9 100644 --- a/@commitlint/rules/src/body-empty.test.js +++ b/@commitlint/rules/src/body-empty.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import bodyEmpty from './body-empty'; @@ -12,38 +11,38 @@ const parsed = { filled: parse(messages.filled) }; -test('with empty body should succeed for empty keyword', async t => { +test('with empty body should succeed for empty keyword', async () => { const [actual] = bodyEmpty(await parsed.empty); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty body should fail for "never"', async t => { +test('with empty body should fail for "never"', async () => { const [actual] = bodyEmpty(await parsed.empty, 'never'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty body should succeed for "always"', async t => { +test('with empty body should succeed for "always"', async () => { const [actual] = bodyEmpty(await parsed.empty, 'always'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with body should fail for empty keyword', async t => { +test('with body should fail for empty keyword', async () => { const [actual] = bodyEmpty(await parsed.filled); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with body should succeed for "never"', async t => { +test('with body should succeed for "never"', async () => { const [actual] = bodyEmpty(await parsed.filled, 'never'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with body should fail for "always"', async t => { +test('with body should fail for "always"', async () => { const [actual] = bodyEmpty(await parsed.filled, 'always'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/body-leading-blank.test.js b/@commitlint/rules/src/body-leading-blank.test.js index 2a72491085..5002b6dd25 100644 --- a/@commitlint/rules/src/body-leading-blank.test.js +++ b/@commitlint/rules/src/body-leading-blank.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import bodyLeadingBlank from './body-leading-blank'; @@ -14,56 +13,56 @@ const parsed = { with: parse(messages.with) }; -test('with simple message should succeed for empty keyword', async t => { +test('with simple message should succeed for empty keyword', async () => { const [actual] = bodyLeadingBlank(await parsed.simple); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with simple message should succeed for "never"', async t => { +test('with simple message should succeed for "never"', async () => { const [actual] = bodyLeadingBlank(await parsed.simple, 'never'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with simple message should succeed for "always"', async t => { +test('with simple message should succeed for "always"', async () => { const [actual] = bodyLeadingBlank(await parsed.simple, 'always'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without blank line before body should fail for empty keyword', async t => { +test('without blank line before body should fail for empty keyword', async () => { const [actual] = bodyLeadingBlank(await parsed.without); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without blank line before body should succeed for "never"', async t => { +test('without blank line before body should succeed for "never"', async () => { const [actual] = bodyLeadingBlank(await parsed.without, 'never'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without blank line before body should fail for "always"', async t => { +test('without blank line before body should fail for "always"', async () => { const [actual] = bodyLeadingBlank(await parsed.without, 'always'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with blank line before body should succeed for empty keyword', async t => { +test('with blank line before body should succeed for empty keyword', async () => { const [actual] = bodyLeadingBlank(await parsed.with); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with blank line before body should fail for "never"', async t => { +test('with blank line before body should fail for "never"', async () => { const [actual] = bodyLeadingBlank(await parsed.with, 'never'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with blank line before body should succeed for "always"', async t => { +test('with blank line before body should succeed for "always"', async () => { const [actual] = bodyLeadingBlank(await parsed.with, 'always'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/body-max-length.test.js b/@commitlint/rules/src/body-max-length.test.js index 4f0bacc8a6..c032eb0c84 100644 --- a/@commitlint/rules/src/body-max-length.test.js +++ b/@commitlint/rules/src/body-max-length.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './body-max-length'; @@ -19,20 +18,20 @@ const parsed = { long: parse(messages.long) }; -test('with empty should succeed', async t => { +test('with empty should succeed', async () => { const [actual] = check(await parsed.empty, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with short should succeed', async t => { +test('with short should succeed', async () => { const [actual] = check(await parsed.short, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long should fail', async t => { +test('with long should fail', async () => { const [actual] = check(await parsed.long, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/body-max-line-length.test.js b/@commitlint/rules/src/body-max-line-length.test.js index d648ad8a0b..64134242c3 100644 --- a/@commitlint/rules/src/body-max-line-length.test.js +++ b/@commitlint/rules/src/body-max-line-length.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './body-max-line-length'; @@ -21,32 +20,32 @@ const parsed = { long: parse(messages.long) }; -test('with empty should succeed', async t => { +test('with empty should succeed', async () => { const [actual] = check(await parsed.empty, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with short should succeed', async t => { +test('with short should succeed', async () => { const [actual] = check(await parsed.short, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long should fail', async t => { +test('with long should fail', async () => { const [actual] = check(await parsed.long, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with short with multiple lines should succeed', async t => { +test('with short with multiple lines should succeed', async () => { const [actual] = check(await parsed.short, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long with multiple lines should fail', async t => { +test('with long with multiple lines should fail', async () => { const [actual] = check(await parsed.long, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/body-min-length.test.js b/@commitlint/rules/src/body-min-length.test.js index 9af5ef15fe..3b3129880c 100644 --- a/@commitlint/rules/src/body-min-length.test.js +++ b/@commitlint/rules/src/body-min-length.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './body-min-length'; @@ -19,20 +18,20 @@ const parsed = { long: parse(messages.long) }; -test('with simple should succeed', async t => { +test('with simple should succeed', async () => { const [actual] = check(await parsed.simple, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with short should fail', async t => { +test('with short should fail', async () => { const [actual] = check(await parsed.short, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long should succeed', async t => { +test('with long should succeed', async () => { const [actual] = check(await parsed.long, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/footer-empty.test.js b/@commitlint/rules/src/footer-empty.test.js index 6bb71def76..17f2e29871 100644 --- a/@commitlint/rules/src/footer-empty.test.js +++ b/@commitlint/rules/src/footer-empty.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import footerEmpty from './footer-empty'; @@ -14,56 +13,56 @@ const parsed = { filled: parse(messages.filled) }; -test('with simple message should succeed for empty keyword', async t => { +test('with simple message should succeed for empty keyword', async () => { const [actual] = footerEmpty(await parsed.simple); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with simple message should fail for "never"', async t => { +test('with simple message should fail for "never"', async () => { const [actual] = footerEmpty(await parsed.simple, 'never'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with simple message should succeed for "always"', async t => { +test('with simple message should succeed for "always"', async () => { const [actual] = footerEmpty(await parsed.simple, 'always'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty footer should succeed for empty keyword', async t => { +test('with empty footer should succeed for empty keyword', async () => { const [actual] = footerEmpty(await parsed.empty); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty footer should fail for "never"', async t => { +test('with empty footer should fail for "never"', async () => { const [actual] = footerEmpty(await parsed.empty, 'never'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty footer should succeed for "always"', async t => { +test('with empty footer should succeed for "always"', async () => { const [actual] = footerEmpty(await parsed.empty, 'always'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with footer should fail for empty keyword', async t => { +test('with footer should fail for empty keyword', async () => { const [actual] = footerEmpty(await parsed.filled); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with footer should succeed for "never"', async t => { +test('with footer should succeed for "never"', async () => { const [actual] = footerEmpty(await parsed.filled, 'never'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with footer should fail for "always"', async t => { +test('with footer should fail for "always"', async () => { const [actual] = footerEmpty(await parsed.filled, 'always'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/footer-leading-blank.test.js b/@commitlint/rules/src/footer-leading-blank.test.js index b65e553da8..82cc411243 100644 --- a/@commitlint/rules/src/footer-leading-blank.test.js +++ b/@commitlint/rules/src/footer-leading-blank.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import footerLeadingBlank from './footer-leading-blank'; @@ -26,134 +25,134 @@ const parsed = { withDoubleNewLine: parse(messages.withDoubleNewLine) }; -test('with simple message should succeed for empty keyword', async t => { +test('with simple message should succeed for empty keyword', async () => { const [actual] = footerLeadingBlank(await parsed.simple); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with simple message should succeed for "never"', async t => { +test('with simple message should succeed for "never"', async () => { const [actual] = footerLeadingBlank(await parsed.simple, 'never'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with simple message should succeed for "always"', async t => { +test('with simple message should succeed for "always"', async () => { const [actual] = footerLeadingBlank(await parsed.simple, 'always'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with body message should succeed for empty keyword', async t => { +test('with body message should succeed for empty keyword', async () => { const [actual] = footerLeadingBlank(await parsed.body); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with body message should succeed for "never"', async t => { +test('with body message should succeed for "never"', async () => { const [actual] = footerLeadingBlank(await parsed.body, 'never'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with body message should succeed for "always"', async t => { +test('with body message should succeed for "always"', async () => { const [actual] = footerLeadingBlank(await parsed.body, 'always'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with trailing message should succeed for empty keyword', async t => { +test('with trailing message should succeed for empty keyword', async () => { const [actual] = footerLeadingBlank(await parsed.trailing); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with trailing message should succeed for "never"', async t => { +test('with trailing message should succeed for "never"', async () => { const [actual] = footerLeadingBlank(await parsed.trailing, 'never'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with trailing message should succeed for "always"', async t => { +test('with trailing message should succeed for "always"', async () => { const [actual] = footerLeadingBlank(await parsed.trailing, 'always'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without body should fail for "never"', async t => { +test('without body should fail for "never"', async () => { const [actual] = footerLeadingBlank(await parsed.withoutBody, 'never'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without body should succeed for "always"', async t => { +test('without body should succeed for "always"', async () => { const [actual] = footerLeadingBlank(await parsed.withoutBody, 'always'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without blank line before footer should fail for empty keyword', async t => { +test('without blank line before footer should fail for empty keyword', async () => { const [actual] = footerLeadingBlank(await parsed.without); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without blank line before footer should succeed for "never"', async t => { +test('without blank line before footer should succeed for "never"', async () => { const [actual] = footerLeadingBlank(await parsed.without, 'never'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without blank line before footer should fail for "always"', async t => { +test('without blank line before footer should fail for "always"', async () => { const [actual] = footerLeadingBlank(await parsed.without, 'always'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with blank line before footer should succeed for empty keyword', async t => { +test('with blank line before footer should succeed for empty keyword', async () => { const [actual] = footerLeadingBlank(await parsed.with); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with blank line before footer should fail for "never"', async t => { +test('with blank line before footer should fail for "never"', async () => { const [actual] = footerLeadingBlank(await parsed.with, 'never'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with blank line before footer should succeed for "always"', async t => { +test('with blank line before footer should succeed for "always"', async () => { const [actual] = footerLeadingBlank(await parsed.with, 'always'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with blank line before footer and multiline body should succeed for empty keyword', async t => { +test('with blank line before footer and multiline body should succeed for empty keyword', async () => { const [actual] = footerLeadingBlank(await parsed.withMulitLine); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with blank line before footer and multiline body should fail for "never"', async t => { +test('with blank line before footer and multiline body should fail for "never"', async () => { const [actual] = footerLeadingBlank(await parsed.withMulitLine, 'never'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with blank line before footer and multiline body should succeed for "always"', async t => { +test('with blank line before footer and multiline body should succeed for "always"', async () => { const [actual] = footerLeadingBlank(await parsed.withMulitLine, 'always'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with double blank line before footer and double line in body should fail for "never"', async t => { +test('with double blank line before footer and double line in body should fail for "never"', async () => { const [actual] = footerLeadingBlank(await parsed.withDoubleNewLine, 'never'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with double blank line before footer and double line in body should succeed for "always"', async t => { +test('with double blank line before footer and double line in body should succeed for "always"', async () => { const [actual] = footerLeadingBlank(await parsed.withDoubleNewLine, 'always'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/footer-max-length.test.js b/@commitlint/rules/src/footer-max-length.test.js index 5316dff8f0..aa6a06f01f 100644 --- a/@commitlint/rules/src/footer-max-length.test.js +++ b/@commitlint/rules/src/footer-max-length.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './footer-max-length'; @@ -21,26 +20,26 @@ const parsed = { long: parse(messages.long) }; -test('with simple should succeed', async t => { +test('with simple should succeed', async () => { const [actual] = check(await parsed.simple, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty should succeed', async t => { +test('with empty should succeed', async () => { const [actual] = check(await parsed.empty, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with short should succeed', async t => { +test('with short should succeed', async () => { const [actual] = check(await parsed.short, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long should fail', async t => { +test('with long should fail', async () => { const [actual] = check(await parsed.long, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/footer-max-line-length.test.js b/@commitlint/rules/src/footer-max-line-length.test.js index c336c31b5a..1c5e4559fd 100644 --- a/@commitlint/rules/src/footer-max-line-length.test.js +++ b/@commitlint/rules/src/footer-max-line-length.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './footer-max-line-length'; @@ -23,38 +22,38 @@ const parsed = { long: parse(messages.long) }; -test('with simple should succeed', async t => { +test('with simple should succeed', async () => { const [actual] = check(await parsed.simple, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty should succeed', async t => { +test('with empty should succeed', async () => { const [actual] = check(await parsed.empty, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with short should succeed', async t => { +test('with short should succeed', async () => { const [actual] = check(await parsed.short, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long should fail', async t => { +test('with long should fail', async () => { const [actual] = check(await parsed.long, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with short with multiple lines should succeed', async t => { +test('with short with multiple lines should succeed', async () => { const [actual] = check(await parsed.short, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long with multiple lines should fail', async t => { +test('with long with multiple lines should fail', async () => { const [actual] = check(await parsed.long, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/footer-min-length.test.js b/@commitlint/rules/src/footer-min-length.test.js index c86f11e542..ebf64122a0 100644 --- a/@commitlint/rules/src/footer-min-length.test.js +++ b/@commitlint/rules/src/footer-min-length.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './footer-min-length'; @@ -21,26 +20,26 @@ const parsed = { long: parse(messages.long) }; -test('with simple should succeed', async t => { +test('with simple should succeed', async () => { const [actual] = check(await parsed.simple, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty should succeed', async t => { +test('with empty should succeed', async () => { const [actual] = check(await parsed.empty, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with short should fail', async t => { +test('with short should fail', async () => { const [actual] = check(await parsed.short, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long should succeed', async t => { +test('with long should succeed', async () => { const [actual] = check(await parsed.long, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/header-case.test.js b/@commitlint/rules/src/header-case.test.js index fe7f501487..cda26ffb99 100644 --- a/@commitlint/rules/src/header-case.test.js +++ b/@commitlint/rules/src/header-case.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import headerCase from './header-case'; @@ -26,293 +25,293 @@ const parsed = { startcase: parse(messages.startcase) }; -test('with lowercase header should fail for "never lowercase"', async t => { +test('with lowercase header should fail for "never lowercase"', async () => { const [actual] = headerCase(await parsed.lowercase, 'never', 'lowercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase header should succeed for "always lowercase"', async t => { +test('with lowercase header should succeed for "always lowercase"', async () => { const [actual] = headerCase(await parsed.lowercase, 'always', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase header should succeed for "never lowercase"', async t => { +test('with mixedcase header should succeed for "never lowercase"', async () => { const [actual] = headerCase(await parsed.mixedcase, 'never', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase header should fail for "always lowercase"', async t => { +test('with mixedcase header should fail for "always lowercase"', async () => { const [actual] = headerCase(await parsed.mixedcase, 'always', 'lowercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase header should succeed for "never uppercase"', async t => { +test('with mixedcase header should succeed for "never uppercase"', async () => { const [actual] = headerCase(await parsed.mixedcase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase header should fail for "always uppercase"', async t => { +test('with mixedcase header should fail for "always uppercase"', async () => { const [actual] = headerCase(await parsed.mixedcase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with uppercase header should fail for "never uppercase"', async t => { +test('with uppercase header should fail for "never uppercase"', async () => { const [actual] = headerCase(await parsed.uppercase, 'never', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase header should succeed for "always uppercase"', async t => { +test('with lowercase header should succeed for "always uppercase"', async () => { const [actual] = headerCase(await parsed.uppercase, 'always', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase header should fail for "always uppercase"', async t => { +test('with camelcase header should fail for "always uppercase"', async () => { const [actual] = headerCase(await parsed.camelcase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase header should succeed for "never uppercase"', async t => { +test('with camelcase header should succeed for "never uppercase"', async () => { const [actual] = headerCase(await parsed.camelcase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase header should fail for "always pascalcase"', async t => { +test('with camelcase header should fail for "always pascalcase"', async () => { const [actual] = headerCase(await parsed.camelcase, 'always', 'pascal-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase header should fail for "always kebabcase"', async t => { +test('with camelcase header should fail for "always kebabcase"', async () => { const [actual] = headerCase(await parsed.camelcase, 'always', 'kebab-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase header should fail for "always snakecase"', async t => { +test('with camelcase header should fail for "always snakecase"', async () => { const [actual] = headerCase(await parsed.camelcase, 'always', 'snake-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase header should succeed for "always camelcase"', async t => { +test('with camelcase header should succeed for "always camelcase"', async () => { const [actual] = headerCase(await parsed.camelcase, 'always', 'camel-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase header should fail for "always uppercase"', async t => { +test('with pascalcase header should fail for "always uppercase"', async () => { const [actual] = headerCase(await parsed.pascalcase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase header should succeed for "never uppercase"', async t => { +test('with pascalcase header should succeed for "never uppercase"', async () => { const [actual] = headerCase(await parsed.pascalcase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase header should succeed for "always pascalcase"', async t => { +test('with pascalcase header should succeed for "always pascalcase"', async () => { const [actual] = headerCase(await parsed.pascalcase, 'always', 'pascal-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase header should fail for "always kebabcase"', async t => { +test('with pascalcase header should fail for "always kebabcase"', async () => { const [actual] = headerCase(await parsed.pascalcase, 'always', 'kebab-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase header should fail for "always snakecase"', async t => { +test('with pascalcase header should fail for "always snakecase"', async () => { const [actual] = headerCase(await parsed.pascalcase, 'always', 'snake-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase header should fail for "always camelcase"', async t => { +test('with pascalcase header should fail for "always camelcase"', async () => { const [actual] = headerCase(await parsed.pascalcase, 'always', 'camel-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase header should fail for "always uppercase"', async t => { +test('with snakecase header should fail for "always uppercase"', async () => { const [actual] = headerCase(await parsed.snakecase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase header should succeed for "never uppercase"', async t => { +test('with snakecase header should succeed for "never uppercase"', async () => { const [actual] = headerCase(await parsed.snakecase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase header should fail for "always pascalcase"', async t => { +test('with snakecase header should fail for "always pascalcase"', async () => { const [actual] = headerCase(await parsed.snakecase, 'always', 'pascal-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase header should fail for "always kebabcase"', async t => { +test('with snakecase header should fail for "always kebabcase"', async () => { const [actual] = headerCase(await parsed.snakecase, 'always', 'kebab-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase header should succeed for "always snakecase"', async t => { +test('with snakecase header should succeed for "always snakecase"', async () => { const [actual] = headerCase(await parsed.snakecase, 'always', 'snake-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase header should fail for "always camelcase"', async t => { +test('with snakecase header should fail for "always camelcase"', async () => { const [actual] = headerCase(await parsed.snakecase, 'always', 'camel-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase header should fail for "always uppercase"', async t => { +test('with startcase header should fail for "always uppercase"', async () => { const [actual] = headerCase(await parsed.startcase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase header should succeed for "never uppercase"', async t => { +test('with startcase header should succeed for "never uppercase"', async () => { const [actual] = headerCase(await parsed.startcase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase header should fail for "always pascalcase"', async t => { +test('with startcase header should fail for "always pascalcase"', async () => { const [actual] = headerCase(await parsed.startcase, 'always', 'pascal-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase header should fail for "always kebabcase"', async t => { +test('with startcase header should fail for "always kebabcase"', async () => { const [actual] = headerCase(await parsed.startcase, 'always', 'kebab-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase header should fail for "always snakecase"', async t => { +test('with startcase header should fail for "always snakecase"', async () => { const [actual] = headerCase(await parsed.startcase, 'always', 'snake-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase header should fail for "always camelcase"', async t => { +test('with startcase header should fail for "always camelcase"', async () => { const [actual] = headerCase(await parsed.startcase, 'always', 'camel-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase header should succeed for "always startcase"', async t => { +test('with startcase header should succeed for "always startcase"', async () => { const [actual] = headerCase(await parsed.startcase, 'always', 'start-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('should use expected message with "always"', async t => { +test('should use expected message with "always"', async () => { const [, message] = headerCase( await parsed.uppercase, 'always', 'lower-case' ); - t.true(message.indexOf('must be lower-case') > -1); + expect(message).toContain('must be lower-case'); }); -test('should use expected message with "never"', async t => { +test('should use expected message with "never"', async () => { const [, message] = headerCase(await parsed.uppercase, 'never', 'upper-case'); - t.true(message.indexOf('must not be upper-case') > -1); + expect(message).toContain('must not be upper-case'); }); -test('with uppercase scope should succeed for "always [uppercase, lowercase]"', async t => { +test('with uppercase scope should succeed for "always [uppercase, lowercase]"', async () => { const [actual] = headerCase(await parsed.uppercase, 'always', [ 'uppercase', 'lowercase' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase header should succeed for "always [uppercase, lowercase]"', async t => { +test('with lowercase header should succeed for "always [uppercase, lowercase]"', async () => { const [actual] = headerCase(await parsed.lowercase, 'always', [ 'uppercase', 'lowercase' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase header should fail for "always [uppercase, lowercase]"', async t => { +test('with mixedcase header should fail for "always [uppercase, lowercase]"', async () => { const [actual] = headerCase(await parsed.mixedcase, 'always', [ 'uppercase', 'lowercase' ]); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase header should pass for "always [uppercase, lowercase, camel-case]"', async t => { +test('with mixedcase header should pass for "always [uppercase, lowercase, camel-case]"', async () => { const [actual] = headerCase(await parsed.mixedcase, 'always', [ 'uppercase', 'lowercase', 'camel-case' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase scope should pass for "never [uppercase, lowercase]"', async t => { +test('with mixedcase scope should pass for "never [uppercase, lowercase]"', async () => { const [actual] = headerCase(await parsed.mixedcase, 'never', [ 'uppercase', 'lowercase' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with uppercase scope should fail for "never [uppercase, lowercase]"', async t => { +test('with uppercase scope should fail for "never [uppercase, lowercase]"', async () => { const [actual] = headerCase(await parsed.uppercase, 'never', [ 'uppercase', 'lowercase' ]); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with numeric header should succeed for "never lowercase"', async t => { +test('with numeric header should succeed for "never lowercase"', async () => { const [actual] = headerCase(await parsed.numeric, 'never', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with numeric header should succeed for "always lowercase"', async t => { +test('with numeric header should succeed for "always lowercase"', async () => { const [actual] = headerCase(await parsed.numeric, 'always', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with numeric header should succeed for "never uppercase"', async t => { +test('with numeric header should succeed for "never uppercase"', async () => { const [actual] = headerCase(await parsed.numeric, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with numeric header should succeed for "always uppercase"', async t => { +test('with numeric header should succeed for "always uppercase"', async () => { const [actual] = headerCase(await parsed.numeric, 'always', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/header-full-stop.test.js b/@commitlint/rules/src/header-full-stop.test.js index 5b41da82e3..3fb32e07c8 100644 --- a/@commitlint/rules/src/header-full-stop.test.js +++ b/@commitlint/rules/src/header-full-stop.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './header-full-stop'; @@ -12,26 +11,26 @@ const parsed = { without: parse(messages.without) }; -test('with against "always ." should succeed', async t => { +test('with against "always ." should succeed', async () => { const [actual] = check(await parsed.with, 'always', '.'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with against "never ." should fail', async t => { +test('with against "never ." should fail', async () => { const [actual] = check(await parsed.with, 'never', '.'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without against "always ." should fail', async t => { +test('without against "always ." should fail', async () => { const [actual] = check(await parsed.without, 'always', '.'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without against "never ." should succeed', async t => { +test('without against "never ." should succeed', async () => { const [actual] = check(await parsed.without, 'never', '.'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/header-max-length.test.js b/@commitlint/rules/src/header-max-length.test.js index 3ab269b340..7b5574b7f6 100644 --- a/@commitlint/rules/src/header-max-length.test.js +++ b/@commitlint/rules/src/header-max-length.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './header-max-length'; @@ -17,14 +16,14 @@ const parsed = { long: parse(messages.long) }; -test('with short should succeed', async t => { +test('with short should succeed', async () => { const [actual] = check(await parsed.short, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long should fail', async t => { +test('with long should fail', async () => { const [actual] = check(await parsed.long, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/header-min-length.test.js b/@commitlint/rules/src/header-min-length.test.js index 699943392a..def268047b 100644 --- a/@commitlint/rules/src/header-min-length.test.js +++ b/@commitlint/rules/src/header-min-length.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './header-min-length'; @@ -17,14 +16,14 @@ const parsed = { long: parse(messages.long) }; -test('with short should fail', async t => { +test('with short should fail', async () => { const [actual] = check(await parsed.short, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long should succeed', async t => { +test('with long should succeed', async () => { const [actual] = check(await parsed.long, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/index.test.js b/@commitlint/rules/src/index.test.js index 026e282619..4847974abf 100644 --- a/@commitlint/rules/src/index.test.js +++ b/@commitlint/rules/src/index.test.js @@ -1,18 +1,17 @@ import path from 'path'; -import test from 'ava'; import globby from 'globby'; -import {values} from 'lodash'; +import values from 'lodash/values'; import rules from '.'; -test('exports all rules', async t => { +test('exports all rules', async () => { const expected = (await glob('*.js')).sort(); const actual = Object.keys(rules).sort(); - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('rules export functions', t => { +test('rules export functions', () => { const actual = values(rules); - t.true(actual.every(rule => typeof rule === 'function')); + expect(actual.every(rule => typeof rule === 'function')).toBe(true); }); async function glob(pattern) { diff --git a/@commitlint/rules/src/references-empty.test.js b/@commitlint/rules/src/references-empty.test.js index a414362999..b74876f25a 100644 --- a/@commitlint/rules/src/references-empty.test.js +++ b/@commitlint/rules/src/references-empty.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import preset from 'conventional-changelog-angular'; import parse from '@commitlint/parse'; import referencesEmpty from './references-empty'; @@ -31,56 +30,56 @@ const parsed = { }) }; -test('defaults to never and fails for plain', async t => { +test('defaults to never and fails for plain', async () => { const [actual] = referencesEmpty(await parsed.plain); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('defaults to never and succeeds for reference', async t => { +test('defaults to never and succeeds for reference', async () => { const [actual] = referencesEmpty(await parsed.reference); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('fails for comment with never', async t => { +test('fails for comment with never', async () => { const [actual] = referencesEmpty(await parsed.comment, 'never'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('succeeds for comment with always', async t => { +test('succeeds for comment with always', async () => { const [actual] = referencesEmpty(await parsed.comment, 'always'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('succeeds for reference with never', async t => { +test('succeeds for reference with never', async () => { const [actual] = referencesEmpty(await parsed.reference, 'never'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('fails for reference with always', async t => { +test('fails for reference with always', async () => { const [actual] = referencesEmpty(await parsed.reference, 'always'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('succeeds for references with never', async t => { +test('succeeds for references with never', async () => { const [actual] = referencesEmpty(await parsed.references, 'never'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('fails for references with always', async t => { +test('fails for references with always', async () => { const [actual] = referencesEmpty(await parsed.references, 'always'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('succeeds for custom references with always', async t => { +test('succeeds for custom references with always', async () => { const [actual] = referencesEmpty(await parsed.prefix, 'never'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/scope-case.test.js b/@commitlint/rules/src/scope-case.test.js index e75b9310eb..330ece3067 100644 --- a/@commitlint/rules/src/scope-case.test.js +++ b/@commitlint/rules/src/scope-case.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import scopeCase from './scope-case'; @@ -26,299 +25,299 @@ const parsed = { startcase: parse(messages.startcase) }; -test('with empty scope should succeed for "never lowercase"', async t => { +test('with empty scope should succeed for "never lowercase"', async () => { const [actual] = scopeCase(await parsed.empty, 'never', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty scope should succeed for "always lowercase"', async t => { +test('with empty scope should succeed for "always lowercase"', async () => { const [actual] = scopeCase(await parsed.empty, 'always', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty scope should succeed for "never uppercase"', async t => { +test('with empty scope should succeed for "never uppercase"', async () => { const [actual] = scopeCase(await parsed.empty, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty scope should succeed for "always uppercase"', async t => { +test('with empty scope should succeed for "always uppercase"', async () => { const [actual] = scopeCase(await parsed.empty, 'always', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty scope should succeed for "never camelcase"', async t => { +test('with empty scope should succeed for "never camelcase"', async () => { const [actual] = scopeCase(await parsed.empty, 'never', 'camel-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty scope should succeed for "always camelcase"', async t => { +test('with empty scope should succeed for "always camelcase"', async () => { const [actual] = scopeCase(await parsed.empty, 'never', 'camel-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty scope should succeed for "never kebabcase"', async t => { +test('with empty scope should succeed for "never kebabcase"', async () => { const [actual] = scopeCase(await parsed.empty, 'never', 'kebab-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty scope should succeed for "always kebabcase"', async t => { +test('with empty scope should succeed for "always kebabcase"', async () => { const [actual] = scopeCase(await parsed.empty, 'never', 'kebab-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty scope should succeed for "never pascalcase"', async t => { +test('with empty scope should succeed for "never pascalcase"', async () => { const [actual] = scopeCase(await parsed.empty, 'never', 'pascal-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty scope should succeed for "always pascalcase"', async t => { +test('with empty scope should succeed for "always pascalcase"', async () => { const [actual] = scopeCase(await parsed.empty, 'never', 'pascal-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty scope should succeed for "never snakecase"', async t => { +test('with empty scope should succeed for "never snakecase"', async () => { const [actual] = scopeCase(await parsed.empty, 'never', 'snake-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty scope should succeed for "always snakecase"', async t => { +test('with empty scope should succeed for "always snakecase"', async () => { const [actual] = scopeCase(await parsed.empty, 'never', 'snake-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty scope should succeed for "never startcase"', async t => { +test('with empty scope should succeed for "never startcase"', async () => { const [actual] = scopeCase(await parsed.empty, 'never', 'start-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty scope should succeed for "always startcase"', async t => { +test('with empty scope should succeed for "always startcase"', async () => { const [actual] = scopeCase(await parsed.empty, 'never', 'start-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase scope should fail for "never lowercase"', async t => { +test('with lowercase scope should fail for "never lowercase"', async () => { const [actual] = scopeCase(await parsed.lowercase, 'never', 'lowercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase scope should succeed for "always lowercase"', async t => { +test('with lowercase scope should succeed for "always lowercase"', async () => { const [actual] = scopeCase(await parsed.lowercase, 'always', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase scope should succeed for "never lowercase"', async t => { +test('with mixedcase scope should succeed for "never lowercase"', async () => { const [actual] = scopeCase(await parsed.mixedcase, 'never', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase scope should fail for "always lowercase"', async t => { +test('with mixedcase scope should fail for "always lowercase"', async () => { const [actual] = scopeCase(await parsed.mixedcase, 'always', 'lowercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase scope should succeed for "never uppercase"', async t => { +test('with mixedcase scope should succeed for "never uppercase"', async () => { const [actual] = scopeCase(await parsed.mixedcase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with kebabcase scope should succeed for "always lowercase"', async t => { +test('with kebabcase scope should succeed for "always lowercase"', async () => { const [actual] = scopeCase(await parsed.kebabcase, 'always', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with kebabcase scope should fail for "always camelcase"', async t => { +test('with kebabcase scope should fail for "always camelcase"', async () => { const [actual] = scopeCase(await parsed.kebabcase, 'always', 'camel-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with kebabcase scope should fail for "always pascalcase"', async t => { +test('with kebabcase scope should fail for "always pascalcase"', async () => { const [actual] = scopeCase(await parsed.kebabcase, 'always', 'pascal-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with kebabcase scope should succeed for "always kebabcase"', async t => { +test('with kebabcase scope should succeed for "always kebabcase"', async () => { const [actual] = scopeCase(await parsed.kebabcase, 'always', 'kebab-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase scope should succeed for "always lowercase"', async t => { +test('with snakecase scope should succeed for "always lowercase"', async () => { const [actual] = scopeCase(await parsed.snakecase, 'always', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase scope should fail for "always camelcase"', async t => { +test('with snakecase scope should fail for "always camelcase"', async () => { const [actual] = scopeCase(await parsed.snakecase, 'always', 'camel-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase scope should fail for "always pascalcase"', async t => { +test('with snakecase scope should fail for "always pascalcase"', async () => { const [actual] = scopeCase(await parsed.snakecase, 'always', 'pascal-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase scope should succeed for "always snakecase"', async t => { +test('with snakecase scope should succeed for "always snakecase"', async () => { const [actual] = scopeCase(await parsed.snakecase, 'always', 'snake-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase scope should fail for "always lowercase"', async t => { +test('with camelcase scope should fail for "always lowercase"', async () => { const [actual] = scopeCase(await parsed.camelcase, 'always', 'lowercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase scope should succeed for "always camelcase"', async t => { +test('with camelcase scope should succeed for "always camelcase"', async () => { const [actual] = scopeCase(await parsed.camelcase, 'always', 'camel-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase scope should fail for "always kebabcase"', async t => { +test('with camelcase scope should fail for "always kebabcase"', async () => { const [actual] = scopeCase(await parsed.camelcase, 'always', 'kebab-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase scope should fail for "always pascalcase"', async t => { +test('with camelcase scope should fail for "always pascalcase"', async () => { const [actual] = scopeCase(await parsed.camelcase, 'always', 'pascal-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase scope should fail for "always lowercase"', async t => { +test('with pascalcase scope should fail for "always lowercase"', async () => { const [actual] = scopeCase(await parsed.pascalcase, 'always', 'lowercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase scope should fail for "always kebabcase"', async t => { +test('with pascalcase scope should fail for "always kebabcase"', async () => { const [actual] = scopeCase(await parsed.pascalcase, 'always', 'kebab-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase scope should fail for "always camelcase"', async t => { +test('with pascalcase scope should fail for "always camelcase"', async () => { const [actual] = scopeCase(await parsed.pascalcase, 'always', 'camel-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase scope should succeed for "always pascalcase"', async t => { +test('with pascalcase scope should succeed for "always pascalcase"', async () => { const [actual] = scopeCase(await parsed.pascalcase, 'always', 'pascal-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase scope should fail for "always uppercase"', async t => { +test('with mixedcase scope should fail for "always uppercase"', async () => { const [actual] = scopeCase(await parsed.mixedcase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with uppercase scope should fail for "never uppercase"', async t => { +test('with uppercase scope should fail for "never uppercase"', async () => { const [actual] = scopeCase(await parsed.uppercase, 'never', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with uppercase scope should succeed for "always uppercase"', async t => { +test('with uppercase scope should succeed for "always uppercase"', async () => { const [actual] = scopeCase(await parsed.uppercase, 'always', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with uppercase scope should succeed for "always [uppercase, lowercase]"', async t => { +test('with uppercase scope should succeed for "always [uppercase, lowercase]"', async () => { const [actual] = scopeCase(await parsed.uppercase, 'always', [ 'uppercase', 'lowercase' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase scope should succeed for "always [uppercase, lowercase]"', async t => { +test('with lowercase scope should succeed for "always [uppercase, lowercase]"', async () => { const [actual] = scopeCase(await parsed.lowercase, 'always', [ 'uppercase', 'lowercase' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase scope should fail for "always [uppercase, lowercase]"', async t => { +test('with mixedcase scope should fail for "always [uppercase, lowercase]"', async () => { const [actual] = scopeCase(await parsed.mixedcase, 'always', [ 'uppercase', 'lowercase' ]); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase scope should pass for "always [uppercase, lowercase, camel-case]"', async t => { +test('with mixedcase scope should pass for "always [uppercase, lowercase, camel-case]"', async () => { const [actual] = scopeCase(await parsed.mixedcase, 'always', [ 'uppercase', 'lowercase', 'camel-case' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase scope should pass for "never [uppercase, lowercase]"', async t => { +test('with mixedcase scope should pass for "never [uppercase, lowercase]"', async () => { const [actual] = scopeCase(await parsed.mixedcase, 'never', [ 'uppercase', 'lowercase' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with uppercase scope should fail for "never [uppercase, lowercase]"', async t => { +test('with uppercase scope should fail for "never [uppercase, lowercase]"', async () => { const [actual] = scopeCase(await parsed.uppercase, 'never', [ 'uppercase', 'lowercase' ]); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with slash in scope should succeed for "always pascal-case"', async t => { +test('with slash in scope should succeed for "always pascal-case"', async () => { const commit = await parse('feat(Modules/Graph): add Pie Chart'); const [actual] = scopeCase(commit, 'always', 'pascal-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with slash in subject should succeed for "always sentence case"', async t => { +test('with slash in subject should succeed for "always sentence case"', async () => { const commit = await parse('chore: Update @angular/core'); const [actual] = scopeCase(commit, 'always', 'sentencecase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/scope-empty.test.js b/@commitlint/rules/src/scope-empty.test.js index 3c1fd2e8ee..d0893989e7 100644 --- a/@commitlint/rules/src/scope-empty.test.js +++ b/@commitlint/rules/src/scope-empty.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import scopeEmpty from './scope-empty'; @@ -14,56 +13,56 @@ const parsed = { empty: parse(messages.empty) }; -test('with plain message it should succeed for empty keyword', async t => { +test('with plain message it should succeed for empty keyword', async () => { const [actual] = scopeEmpty(await parsed.plain); const expected = true; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('with plain message it should succeed for "never"', async t => { +test('with plain message it should succeed for "never"', async () => { const [actual] = scopeEmpty(await parsed.plain, 'never'); const expected = true; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('with plain message it should fail for "always"', async t => { +test('with plain message it should fail for "always"', async () => { const [actual] = scopeEmpty(await parsed.plain, 'always'); const expected = false; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('with superfluous message it should fail for empty keyword', async t => { +test('with superfluous message it should fail for empty keyword', async () => { const [actual] = scopeEmpty(await parsed.superfluous); const expected = false; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('with superfluous message it should fail for "never"', async t => { +test('with superfluous message it should fail for "never"', async () => { const [actual] = scopeEmpty(await parsed.superfluous, 'never'); const expected = false; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('with superfluous message it should fail for "always"', async t => { +test('with superfluous message it should fail for "always"', async () => { const [actual] = scopeEmpty(await parsed.superfluous, 'always'); const expected = true; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty message it should fail for empty keyword', async t => { +test('with empty message it should fail for empty keyword', async () => { const [actual] = scopeEmpty(await parsed.empty); const expected = false; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty message it should fail for "never"', async t => { +test('with empty message it should fail for "never"', async () => { const [actual] = scopeEmpty(await parsed.empty, 'never'); const expected = false; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty message it should fail for "always"', async t => { +test('with empty message it should fail for "always"', async () => { const [actual] = scopeEmpty(await parsed.empty, 'always'); const expected = true; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/scope-enum.test.js b/@commitlint/rules/src/scope-enum.test.js index 133a114220..f9b3f5186d 100644 --- a/@commitlint/rules/src/scope-enum.test.js +++ b/@commitlint/rules/src/scope-enum.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import scopeEnum from './scope-enum'; @@ -14,80 +13,80 @@ const parsed = { empty: parse(messages.empty) }; -test('scope-enum with plain message and always should succeed empty enum', async t => { +test('scope-enum with plain message and always should succeed empty enum', async () => { const [actual] = scopeEnum(await parsed.plain, 'always', []); const expected = true; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('scope-enum with plain message and never should error empty enum', async t => { +test('scope-enum with plain message and never should error empty enum', async () => { const [actual] = scopeEnum(await parsed.plain, 'never', []); const expected = false; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('with plain message should succeed correct enum', async t => { +test('with plain message should succeed correct enum', async () => { const [actual] = scopeEnum(await parsed.plain, 'always', ['bar']); const expected = true; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('scope-enum with plain message should error false enum', async t => { +test('scope-enum with plain message should error false enum', async () => { const [actual] = scopeEnum(await parsed.plain, 'always', ['foo']); const expected = false; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('scope-enum with plain message should error forbidden enum', async t => { +test('scope-enum with plain message should error forbidden enum', async () => { const [actual] = scopeEnum(await parsed.plain, 'never', ['bar']); const expected = false; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('scope-enum with plain message should succeed forbidden enum', async t => { +test('scope-enum with plain message should succeed forbidden enum', async () => { const [actual] = scopeEnum(await parsed.plain, 'never', ['foo']); const expected = true; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('scope-enum with superfluous scope should succeed enum', async t => { +test('scope-enum with superfluous scope should succeed enum', async () => { const [actual] = scopeEnum(await parsed.superfluous, 'always', ['bar']); const expected = true; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('scope-enum with superfluous scope and "never" should succeed', async t => { +test('scope-enum with superfluous scope and "never" should succeed', async () => { const [actual] = scopeEnum(await parsed.superfluous, 'never', ['bar']); const expected = true; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('scope-enum with superfluous scope and always should succeed empty enum', async t => { +test('scope-enum with superfluous scope and always should succeed empty enum', async () => { const [actual] = scopeEnum(await parsed.superfluous, 'always', []); const expected = true; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('scope-enum with superfluous scope and never should succeed empty enum', async t => { +test('scope-enum with superfluous scope and never should succeed empty enum', async () => { const [actual] = scopeEnum(await parsed.superfluous, 'never', []); const expected = true; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('scope-enum with empty scope and always should succeed empty enum', async t => { +test('scope-enum with empty scope and always should succeed empty enum', async () => { const [actual] = scopeEnum(await parsed.superfluous, 'always', []); const expected = true; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('scope-enum with empty scope and always should succeed filled enum', async t => { +test('scope-enum with empty scope and always should succeed filled enum', async () => { const [actual] = scopeEnum(await parsed.superfluous, 'always', ['foo']); const expected = true; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('scope-enum with empty scope and never should succeed empty enum', async t => { +test('scope-enum with empty scope and never should succeed empty enum', async () => { const [actual] = scopeEnum(await parsed.superfluous, 'never', []); const expected = true; - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/scope-max-length.test.js b/@commitlint/rules/src/scope-max-length.test.js index cb31a34287..9ad8cd89ed 100644 --- a/@commitlint/rules/src/scope-max-length.test.js +++ b/@commitlint/rules/src/scope-max-length.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './scope-max-length'; @@ -19,20 +18,20 @@ const parsed = { long: parse(messages.long) }; -test('with empty should succeed', async t => { +test('with empty should succeed', async () => { const [actual] = check(await parsed.empty, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with short should succeed', async t => { +test('with short should succeed', async () => { const [actual] = check(await parsed.short, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long should fail', async t => { +test('with long should fail', async () => { const [actual] = check(await parsed.long, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/scope-min-length.test.js b/@commitlint/rules/src/scope-min-length.test.js index c54656a72b..0167c51d7e 100644 --- a/@commitlint/rules/src/scope-min-length.test.js +++ b/@commitlint/rules/src/scope-min-length.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './scope-min-length'; @@ -19,20 +18,20 @@ const parsed = { long: parse(messages.long) }; -test('with empty should succeed', async t => { +test('with empty should succeed', async () => { const [actual] = check(await parsed.empty, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with short should fail', async t => { +test('with short should fail', async () => { const [actual] = check(await parsed.short, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long should succeed', async t => { +test('with long should succeed', async () => { const [actual] = check(await parsed.long, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/signed-off-by.test.js b/@commitlint/rules/src/signed-off-by.test.js index 7fad81f2e2..fe7b14ea5c 100644 --- a/@commitlint/rules/src/signed-off-by.test.js +++ b/@commitlint/rules/src/signed-off-by.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './signed-off-by'; @@ -18,62 +17,62 @@ const parsed = { inBody: parse(messages.inBody) }; -test('empty against "always signed-off-by" should fail', async t => { +test('empty against "always signed-off-by" should fail', async () => { const [actual] = check(await parsed.empty, 'always', 'Signed-off-by:'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('empty against "never signed-off-by" should succeed', async t => { +test('empty against "never signed-off-by" should succeed', async () => { const [actual] = check(await parsed.empty, 'never', 'Signed-off-by:'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with against "always signed-off-by" should succeed', async t => { +test('with against "always signed-off-by" should succeed', async () => { const [actual] = check(await parsed.with, 'always', 'Signed-off-by:'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with against "never signed-off-by" should fail', async t => { +test('with against "never signed-off-by" should fail', async () => { const [actual] = check(await parsed.with, 'never', 'Signed-off-by:'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without against "always signed-off-by" should fail', async t => { +test('without against "always signed-off-by" should fail', async () => { const [actual] = check(await parsed.without, 'always', 'Signed-off-by:'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without against "never signed-off-by" should succeed', async t => { +test('without against "never signed-off-by" should succeed', async () => { const [actual] = check(await parsed.without, 'never', 'Signed-off-by:'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('inSubject against "always signed-off-by" should fail', async t => { +test('inSubject against "always signed-off-by" should fail', async () => { const [actual] = check(await parsed.inSubject, 'always', 'Signed-off-by:'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('inSubject against "never signed-off-by" should succeed', async t => { +test('inSubject against "never signed-off-by" should succeed', async () => { const [actual] = check(await parsed.inSubject, 'never', 'Signed-off-by:'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('inBody against "always signed-off-by" should fail', async t => { +test('inBody against "always signed-off-by" should fail', async () => { const [actual] = check(await parsed.inBody, 'always', 'Signed-off-by:'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('inBody against "never signed-off-by" should succeed', async t => { +test('inBody against "never signed-off-by" should succeed', async () => { const [actual] = check(await parsed.inBody, 'never', 'Signed-off-by:'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/subject-case.test.js b/@commitlint/rules/src/subject-case.test.js index a915234706..73c2051baf 100644 --- a/@commitlint/rules/src/subject-case.test.js +++ b/@commitlint/rules/src/subject-case.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import subjectCase from './subject-case'; @@ -28,325 +27,325 @@ const parsed = { startcase: parse(messages.startcase) }; -test('with empty subject should succeed for "never lowercase"', async t => { +test('with empty subject should succeed for "never lowercase"', async () => { const [actual] = subjectCase(await parsed.empty, 'never', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty subject should succeed for "always lowercase"', async t => { +test('with empty subject should succeed for "always lowercase"', async () => { const [actual] = subjectCase(await parsed.empty, 'always', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty subject should succeed for "never uppercase"', async t => { +test('with empty subject should succeed for "never uppercase"', async () => { const [actual] = subjectCase(await parsed.empty, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty subject should succeed for "always uppercase"', async t => { +test('with empty subject should succeed for "always uppercase"', async () => { const [actual] = subjectCase(await parsed.empty, 'always', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase subject should fail for "never lowercase"', async t => { +test('with lowercase subject should fail for "never lowercase"', async () => { const [actual] = subjectCase(await parsed.lowercase, 'never', 'lowercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase subject should succeed for "always lowercase"', async t => { +test('with lowercase subject should succeed for "always lowercase"', async () => { const [actual] = subjectCase(await parsed.lowercase, 'always', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase subject should succeed for "never lowercase"', async t => { +test('with mixedcase subject should succeed for "never lowercase"', async () => { const [actual] = subjectCase(await parsed.mixedcase, 'never', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase subject should fail for "always lowercase"', async t => { +test('with mixedcase subject should fail for "always lowercase"', async () => { const [actual] = subjectCase(await parsed.mixedcase, 'always', 'lowercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase subject should succeed for "never uppercase"', async t => { +test('with mixedcase subject should succeed for "never uppercase"', async () => { const [actual] = subjectCase(await parsed.mixedcase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase subject should fail for "always uppercase"', async t => { +test('with mixedcase subject should fail for "always uppercase"', async () => { const [actual] = subjectCase(await parsed.mixedcase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with uppercase subject should fail for "never uppercase"', async t => { +test('with uppercase subject should fail for "never uppercase"', async () => { const [actual] = subjectCase(await parsed.uppercase, 'never', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase subject should succeed for "always uppercase"', async t => { +test('with lowercase subject should succeed for "always uppercase"', async () => { const [actual] = subjectCase(await parsed.uppercase, 'always', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase subject should fail for "always uppercase"', async t => { +test('with camelcase subject should fail for "always uppercase"', async () => { const [actual] = subjectCase(await parsed.camelcase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase subject should succeed for "never uppercase"', async t => { +test('with camelcase subject should succeed for "never uppercase"', async () => { const [actual] = subjectCase(await parsed.camelcase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase subject should fail for "always pascalcase"', async t => { +test('with camelcase subject should fail for "always pascalcase"', async () => { const [actual] = subjectCase(await parsed.camelcase, 'always', 'pascal-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase subject should fail for "always kebabcase"', async t => { +test('with camelcase subject should fail for "always kebabcase"', async () => { const [actual] = subjectCase(await parsed.camelcase, 'always', 'kebab-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase subject should fail for "always snakecase"', async t => { +test('with camelcase subject should fail for "always snakecase"', async () => { const [actual] = subjectCase(await parsed.camelcase, 'always', 'snake-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase subject should succeed for "always camelcase"', async t => { +test('with camelcase subject should succeed for "always camelcase"', async () => { const [actual] = subjectCase(await parsed.camelcase, 'always', 'camel-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase subject should fail for "always uppercase"', async t => { +test('with pascalcase subject should fail for "always uppercase"', async () => { const [actual] = subjectCase(await parsed.pascalcase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase subject should succeed for "never uppercase"', async t => { +test('with pascalcase subject should succeed for "never uppercase"', async () => { const [actual] = subjectCase(await parsed.pascalcase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase subject should succeed for "always pascalcase"', async t => { +test('with pascalcase subject should succeed for "always pascalcase"', async () => { const [actual] = subjectCase( await parsed.pascalcase, 'always', 'pascal-case' ); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase subject should fail for "always kebabcase"', async t => { +test('with pascalcase subject should fail for "always kebabcase"', async () => { const [actual] = subjectCase(await parsed.pascalcase, 'always', 'kebab-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase subject should fail for "always snakecase"', async t => { +test('with pascalcase subject should fail for "always snakecase"', async () => { const [actual] = subjectCase(await parsed.pascalcase, 'always', 'snake-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase subject should fail for "always camelcase"', async t => { +test('with pascalcase subject should fail for "always camelcase"', async () => { const [actual] = subjectCase(await parsed.pascalcase, 'always', 'camel-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase subject should fail for "always uppercase"', async t => { +test('with snakecase subject should fail for "always uppercase"', async () => { const [actual] = subjectCase(await parsed.snakecase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase subject should succeed for "never uppercase"', async t => { +test('with snakecase subject should succeed for "never uppercase"', async () => { const [actual] = subjectCase(await parsed.snakecase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase subject should fail for "always pascalcase"', async t => { +test('with snakecase subject should fail for "always pascalcase"', async () => { const [actual] = subjectCase(await parsed.snakecase, 'always', 'pascal-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase subject should fail for "always kebabcase"', async t => { +test('with snakecase subject should fail for "always kebabcase"', async () => { const [actual] = subjectCase(await parsed.snakecase, 'always', 'kebab-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase subject should succeed for "always snakecase"', async t => { +test('with snakecase subject should succeed for "always snakecase"', async () => { const [actual] = subjectCase(await parsed.snakecase, 'always', 'snake-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase subject should fail for "always camelcase"', async t => { +test('with snakecase subject should fail for "always camelcase"', async () => { const [actual] = subjectCase(await parsed.snakecase, 'always', 'camel-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase subject should fail for "always uppercase"', async t => { +test('with startcase subject should fail for "always uppercase"', async () => { const [actual] = subjectCase(await parsed.startcase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase subject should succeed for "never uppercase"', async t => { +test('with startcase subject should succeed for "never uppercase"', async () => { const [actual] = subjectCase(await parsed.startcase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase subject should fail for "always pascalcase"', async t => { +test('with startcase subject should fail for "always pascalcase"', async () => { const [actual] = subjectCase(await parsed.startcase, 'always', 'pascal-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase subject should fail for "always kebabcase"', async t => { +test('with startcase subject should fail for "always kebabcase"', async () => { const [actual] = subjectCase(await parsed.startcase, 'always', 'kebab-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase subject should fail for "always snakecase"', async t => { +test('with startcase subject should fail for "always snakecase"', async () => { const [actual] = subjectCase(await parsed.startcase, 'always', 'snake-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase subject should fail for "always camelcase"', async t => { +test('with startcase subject should fail for "always camelcase"', async () => { const [actual] = subjectCase(await parsed.startcase, 'always', 'camel-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase subject should succeed for "always startcase"', async t => { +test('with startcase subject should succeed for "always startcase"', async () => { const [actual] = subjectCase(await parsed.startcase, 'always', 'start-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('should use expected message with "always"', async t => { +test('should use expected message with "always"', async () => { const [, message] = subjectCase( await parsed.uppercase, 'always', 'lower-case' ); - t.true(message.indexOf('must be lower-case') > -1); + expect(message).toContain('must be lower-case'); }); -test('should use expected message with "never"', async t => { +test('should use expected message with "never"', async () => { const [, message] = subjectCase( await parsed.uppercase, 'never', 'upper-case' ); - t.true(message.indexOf('must not be upper-case') > -1); + expect(message).toContain('must not be upper-case'); }); -test('with uppercase scope should succeed for "always [uppercase, lowercase]"', async t => { +test('with uppercase scope should succeed for "always [uppercase, lowercase]"', async () => { const [actual] = subjectCase(await parsed.uppercase, 'always', [ 'uppercase', 'lowercase' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase subject should succeed for "always [uppercase, lowercase]"', async t => { +test('with lowercase subject should succeed for "always [uppercase, lowercase]"', async () => { const [actual] = subjectCase(await parsed.lowercase, 'always', [ 'uppercase', 'lowercase' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase subject should fail for "always [uppercase, lowercase]"', async t => { +test('with mixedcase subject should fail for "always [uppercase, lowercase]"', async () => { const [actual] = subjectCase(await parsed.mixedcase, 'always', [ 'uppercase', 'lowercase' ]); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase subject should pass for "always [uppercase, lowercase, camel-case]"', async t => { +test('with mixedcase subject should pass for "always [uppercase, lowercase, camel-case]"', async () => { const [actual] = subjectCase(await parsed.mixedcase, 'always', [ 'uppercase', 'lowercase', 'camel-case' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase scope should pass for "never [uppercase, lowercase]"', async t => { +test('with mixedcase scope should pass for "never [uppercase, lowercase]"', async () => { const [actual] = subjectCase(await parsed.mixedcase, 'never', [ 'uppercase', 'lowercase' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with uppercase scope should fail for "never [uppercase, lowercase]"', async t => { +test('with uppercase scope should fail for "never [uppercase, lowercase]"', async () => { const [actual] = subjectCase(await parsed.uppercase, 'never', [ 'uppercase', 'lowercase' ]); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with numeric subject should succeed for "never lowercase"', async t => { +test('with numeric subject should succeed for "never lowercase"', async () => { const [actual] = subjectCase(await parsed.numeric, 'never', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with numeric subject should succeed for "always lowercase"', async t => { +test('with numeric subject should succeed for "always lowercase"', async () => { const [actual] = subjectCase(await parsed.numeric, 'always', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with numeric subject should succeed for "never uppercase"', async t => { +test('with numeric subject should succeed for "never uppercase"', async () => { const [actual] = subjectCase(await parsed.numeric, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with numeric subject should succeed for "always uppercase"', async t => { +test('with numeric subject should succeed for "always uppercase"', async () => { const [actual] = subjectCase(await parsed.numeric, 'always', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/subject-empty.test.js b/@commitlint/rules/src/subject-empty.test.js index 8b7b458cf3..f8e6ad142b 100644 --- a/@commitlint/rules/src/subject-empty.test.js +++ b/@commitlint/rules/src/subject-empty.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import subjectEmpty from './subject-empty'; @@ -12,38 +11,38 @@ const parsed = { filled: parse(messages.filled) }; -test('without subject should succeed for empty keyword', async t => { +test('without subject should succeed for empty keyword', async () => { const [actual] = subjectEmpty(await parsed.empty); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without subject should fail for "never"', async t => { +test('without subject should fail for "never"', async () => { const [actual] = subjectEmpty(await parsed.empty, 'never'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without subject should succeed for "always"', async t => { +test('without subject should succeed for "always"', async () => { const [actual] = subjectEmpty(await parsed.empty, 'always'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with subject fail for empty keyword', async t => { +test('with subject fail for empty keyword', async () => { const [actual] = subjectEmpty(await parsed.filled); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with subject succeed for "never"', async t => { +test('with subject succeed for "never"', async () => { const [actual] = subjectEmpty(await parsed.filled, 'never'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with subject fail for "always"', async t => { +test('with subject fail for "always"', async () => { const [actual] = subjectEmpty(await parsed.filled, 'always'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/subject-full-stop.test.js b/@commitlint/rules/src/subject-full-stop.test.js index c86085b2ab..bab1a051ed 100644 --- a/@commitlint/rules/src/subject-full-stop.test.js +++ b/@commitlint/rules/src/subject-full-stop.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './subject-full-stop'; @@ -14,38 +13,38 @@ const parsed = { without: parse(messages.without) }; -test('empty against "always" should succeed', async t => { +test('empty against "always" should succeed', async () => { const [actual] = check(await parsed.empty, 'always', '.'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('empty against "never ." should succeed', async t => { +test('empty against "never ." should succeed', async () => { const [actual] = check(await parsed.empty, 'never', '.'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with against "always ." should succeed', async t => { +test('with against "always ." should succeed', async () => { const [actual] = check(await parsed.with, 'always', '.'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with against "never ." should fail', async t => { +test('with against "never ." should fail', async () => { const [actual] = check(await parsed.with, 'never', '.'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without against "always ." should fail', async t => { +test('without against "always ." should fail', async () => { const [actual] = check(await parsed.without, 'always', '.'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without against "never ." should succeed', async t => { +test('without against "never ." should succeed', async () => { const [actual] = check(await parsed.without, 'never', '.'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/subject-max-length.test.js b/@commitlint/rules/src/subject-max-length.test.js index 309c3d2cb7..7765e56c10 100644 --- a/@commitlint/rules/src/subject-max-length.test.js +++ b/@commitlint/rules/src/subject-max-length.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './subject-max-length'; @@ -19,20 +18,20 @@ const parsed = { long: parse(messages.long) }; -test('with empty should succeed', async t => { +test('with empty should succeed', async () => { const [actual] = check(await parsed.empty, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with short should succeed', async t => { +test('with short should succeed', async () => { const [actual] = check(await parsed.short, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long should fail', async t => { +test('with long should fail', async () => { const [actual] = check(await parsed.long, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/subject-min-length.test.js b/@commitlint/rules/src/subject-min-length.test.js index 62fb12c83d..e6b5a78a95 100644 --- a/@commitlint/rules/src/subject-min-length.test.js +++ b/@commitlint/rules/src/subject-min-length.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './subject-min-length'; @@ -19,20 +18,20 @@ const parsed = { long: parse(messages.long) }; -test('with empty should succeed', async t => { +test('with empty should succeed', async () => { const [actual] = check(await parsed.empty, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with short should fail', async t => { +test('with short should fail', async () => { const [actual] = check(await parsed.short, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long should succeed', async t => { +test('with long should succeed', async () => { const [actual] = check(await parsed.long, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/type-case.test.js b/@commitlint/rules/src/type-case.test.js index 43f0903a8e..0b69aa5500 100644 --- a/@commitlint/rules/src/type-case.test.js +++ b/@commitlint/rules/src/type-case.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import typeCase from './type-case'; @@ -29,297 +28,297 @@ const parsed = { }) }; -test('with empty type should succeed for "never lowercase"', async t => { +test('with empty type should succeed for "never lowercase"', async () => { const [actual] = typeCase(await parsed.empty, 'never', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty type should succeed for "always lowercase"', async t => { +test('with empty type should succeed for "always lowercase"', async () => { const [actual] = typeCase(await parsed.empty, 'always', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty type should succeed for "never uppercase"', async t => { +test('with empty type should succeed for "never uppercase"', async () => { const [actual] = typeCase(await parsed.empty, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with empty type should succeed for "always uppercase"', async t => { +test('with empty type should succeed for "always uppercase"', async () => { const [actual] = typeCase(await parsed.empty, 'always', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase type should fail for "never lowercase"', async t => { +test('with lowercase type should fail for "never lowercase"', async () => { const [actual] = typeCase(await parsed.lowercase, 'never', 'lowercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase type should succeed for "always lowercase"', async t => { +test('with lowercase type should succeed for "always lowercase"', async () => { const [actual] = typeCase(await parsed.lowercase, 'always', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase type should succeed for "never lowercase"', async t => { +test('with mixedcase type should succeed for "never lowercase"', async () => { const [actual] = typeCase(await parsed.mixedcase, 'never', 'lowercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase type should fail for "always lowercase"', async t => { +test('with mixedcase type should fail for "always lowercase"', async () => { const [actual] = typeCase(await parsed.mixedcase, 'always', 'lowercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase type should succeed for "never uppercase"', async t => { +test('with mixedcase type should succeed for "never uppercase"', async () => { const [actual] = typeCase(await parsed.mixedcase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase type should fail for "always uppercase"', async t => { +test('with mixedcase type should fail for "always uppercase"', async () => { const [actual] = typeCase(await parsed.mixedcase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with uppercase type should fail for "never uppercase"', async t => { +test('with uppercase type should fail for "never uppercase"', async () => { const [actual] = typeCase(await parsed.uppercase, 'never', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase type should succeed for "always uppercase"', async t => { +test('with lowercase type should succeed for "always uppercase"', async () => { const [actual] = typeCase(await parsed.uppercase, 'always', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase type should fail for "always uppercase"', async t => { +test('with camelcase type should fail for "always uppercase"', async () => { const [actual] = typeCase(await parsed.camelcase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase type should succeed for "never uppercase"', async t => { +test('with camelcase type should succeed for "never uppercase"', async () => { const [actual] = typeCase(await parsed.camelcase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase type should fail for "always pascalcase"', async t => { +test('with camelcase type should fail for "always pascalcase"', async () => { const [actual] = typeCase(await parsed.camelcase, 'always', 'pascal-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase type should fail for "always kebabcase"', async t => { +test('with camelcase type should fail for "always kebabcase"', async () => { const [actual] = typeCase(await parsed.camelcase, 'always', 'kebab-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase type should fail for "always snakecase"', async t => { +test('with camelcase type should fail for "always snakecase"', async () => { const [actual] = typeCase(await parsed.camelcase, 'always', 'snake-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase type should fail for "always startcase"', async t => { +test('with camelcase type should fail for "always startcase"', async () => { const [actual] = typeCase(await parsed.camelcase, 'always', 'start-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with camelcase type should succeed for "always camelcase"', async t => { +test('with camelcase type should succeed for "always camelcase"', async () => { const [actual] = typeCase(await parsed.camelcase, 'always', 'camel-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase type should fail for "always uppercase"', async t => { +test('with pascalcase type should fail for "always uppercase"', async () => { const [actual] = typeCase(await parsed.pascalcase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase type should succeed for "never uppercase"', async t => { +test('with pascalcase type should succeed for "never uppercase"', async () => { const [actual] = typeCase(await parsed.pascalcase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase type should fail for "always camelcase"', async t => { +test('with pascalcase type should fail for "always camelcase"', async () => { const [actual] = typeCase(await parsed.pascalcase, 'always', 'camel-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase type should fail for "always kebabcase"', async t => { +test('with pascalcase type should fail for "always kebabcase"', async () => { const [actual] = typeCase(await parsed.pascalcase, 'always', 'kebab-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase type should fail for "always snakecase"', async t => { +test('with pascalcase type should fail for "always snakecase"', async () => { const [actual] = typeCase(await parsed.pascalcase, 'always', 'snake-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase type should fail for "always startcase"', async t => { +test('with pascalcase type should fail for "always startcase"', async () => { const [actual] = typeCase(await parsed.pascalcase, 'always', 'start-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with pascalcase type should succeed for "always pascalcase"', async t => { +test('with pascalcase type should succeed for "always pascalcase"', async () => { const [actual] = typeCase(await parsed.pascalcase, 'always', 'pascal-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase type should fail for "always uppercase"', async t => { +test('with snakecase type should fail for "always uppercase"', async () => { const [actual] = typeCase(await parsed.snakecase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase type should succeed for "never uppercase"', async t => { +test('with snakecase type should succeed for "never uppercase"', async () => { const [actual] = typeCase(await parsed.snakecase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase type should fail for "always camelcase"', async t => { +test('with snakecase type should fail for "always camelcase"', async () => { const [actual] = typeCase(await parsed.snakecase, 'always', 'camel-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase type should fail for "always kebabcase"', async t => { +test('with snakecase type should fail for "always kebabcase"', async () => { const [actual] = typeCase(await parsed.snakecase, 'always', 'kebab-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase type should succeed for "always snakecase"', async t => { +test('with snakecase type should succeed for "always snakecase"', async () => { const [actual] = typeCase(await parsed.snakecase, 'always', 'snake-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase type should fail for "always pascalcase"', async t => { +test('with snakecase type should fail for "always pascalcase"', async () => { const [actual] = typeCase(await parsed.snakecase, 'always', 'pascal-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with snakecase type should fail for "always start case"', async t => { +test('with snakecase type should fail for "always start case"', async () => { const [actual] = typeCase(await parsed.snakecase, 'always', 'start-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase type should fail for "always uppercase"', async t => { +test('with startcase type should fail for "always uppercase"', async () => { const [actual] = typeCase(await parsed.startcase, 'always', 'uppercase'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase type should succeed for "never uppercase"', async t => { +test('with startcase type should succeed for "never uppercase"', async () => { const [actual] = typeCase(await parsed.startcase, 'never', 'uppercase'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase type should fail for "always camelcase"', async t => { +test('with startcase type should fail for "always camelcase"', async () => { const [actual] = typeCase(await parsed.startcase, 'always', 'camel-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase type should fail for "always kebabcase"', async t => { +test('with startcase type should fail for "always kebabcase"', async () => { const [actual] = typeCase(await parsed.startcase, 'always', 'kebab-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase type should fail for "always snakecase"', async t => { +test('with startcase type should fail for "always snakecase"', async () => { const [actual] = typeCase(await parsed.startcase, 'always', 'snake-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase type should fail for "always pascalcase"', async t => { +test('with startcase type should fail for "always pascalcase"', async () => { const [actual] = typeCase(await parsed.startcase, 'always', 'pascal-case'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with startcase type should succeed for "always startcase"', async t => { +test('with startcase type should succeed for "always startcase"', async () => { const [actual] = typeCase(await parsed.startcase, 'always', 'start-case'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with uppercase scope should succeed for "always [uppercase, lowercase]"', async t => { +test('with uppercase scope should succeed for "always [uppercase, lowercase]"', async () => { const [actual] = typeCase(await parsed.uppercase, 'always', [ 'uppercase', 'lowercase' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with lowercase subject should succeed for "always [uppercase, lowercase]"', async t => { +test('with lowercase subject should succeed for "always [uppercase, lowercase]"', async () => { const [actual] = typeCase(await parsed.lowercase, 'always', [ 'uppercase', 'lowercase' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase subject should fail for "always [uppercase, lowercase]"', async t => { +test('with mixedcase subject should fail for "always [uppercase, lowercase]"', async () => { const [actual] = typeCase(await parsed.mixedcase, 'always', [ 'uppercase', 'lowercase' ]); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase subject should pass for "always [uppercase, lowercase, camel-case]"', async t => { +test('with mixedcase subject should pass for "always [uppercase, lowercase, camel-case]"', async () => { const [actual] = typeCase(await parsed.mixedcase, 'always', [ 'uppercase', 'lowercase', 'camel-case' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with mixedcase scope should pass for "never [uppercase, lowercase]"', async t => { +test('with mixedcase scope should pass for "never [uppercase, lowercase]"', async () => { const [actual] = typeCase(await parsed.mixedcase, 'never', [ 'uppercase', 'lowercase' ]); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with uppercase scope should fail for "never [uppercase, lowercase]"', async t => { +test('with uppercase scope should fail for "never [uppercase, lowercase]"', async () => { const [actual] = typeCase(await parsed.uppercase, 'never', [ 'uppercase', 'lowercase' ]); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/type-empty.test.js b/@commitlint/rules/src/type-empty.test.js index 2279aef08f..01e29da5e7 100644 --- a/@commitlint/rules/src/type-empty.test.js +++ b/@commitlint/rules/src/type-empty.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import typeEmpty from './type-empty'; @@ -12,38 +11,38 @@ const parsed = { filled: parse(messages.filled) }; -test('without type should succeed for empty keyword', async t => { +test('without type should succeed for empty keyword', async () => { const [actual] = typeEmpty(await parsed.empty); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without type should fail for "never"', async t => { +test('without type should fail for "never"', async () => { const [actual] = typeEmpty(await parsed.empty, 'never'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('without type should succeed for "always"', async t => { +test('without type should succeed for "always"', async () => { const [actual] = typeEmpty(await parsed.empty, 'always'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with type fail for empty keyword', async t => { +test('with type fail for empty keyword', async () => { const [actual] = typeEmpty(await parsed.filled); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with type succeed for "never"', async t => { +test('with type succeed for "never"', async () => { const [actual] = typeEmpty(await parsed.filled, 'never'); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with type fail for "always"', async t => { +test('with type fail for "always"', async () => { const [actual] = typeEmpty(await parsed.filled, 'always'); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/type-enum.test.js b/@commitlint/rules/src/type-enum.test.js index a6e0b98159..63957bb5c9 100644 --- a/@commitlint/rules/src/type-enum.test.js +++ b/@commitlint/rules/src/type-enum.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './type-enum'; @@ -14,110 +13,110 @@ const parsed = { b: parse(messages.b) }; -test('empty succeeds', async t => { +test('empty succeeds', async () => { const [actual] = check(await parsed.empty); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('empty on "a" succeeds', async t => { +test('empty on "a" succeeds', async () => { const [actual] = check(await parsed.empty, '', ['a']); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('empty on "always a" succeeds', async t => { +test('empty on "always a" succeeds', async () => { const [actual] = check(await parsed.empty, 'always', ['a']); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('empty on "never a" succeeds', async t => { +test('empty on "never a" succeeds', async () => { const [actual] = check(await parsed.empty, 'never', ['a']); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('empty on "always a, b" succeeds', async t => { +test('empty on "always a, b" succeeds', async () => { const [actual] = check(await parsed.empty, 'always', ['a', 'b']); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('empty on "never a, b" succeeds', async t => { +test('empty on "never a, b" succeeds', async () => { const [actual] = check(await parsed.empty, 'neber', ['a', 'b']); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('a on "a" succeeds', async t => { +test('a on "a" succeeds', async () => { const [actual] = check(await parsed.a, '', ['a']); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('a on "always a" succeeds', async t => { +test('a on "always a" succeeds', async () => { const [actual] = check(await parsed.a, 'always', ['a']); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('a on "never a" fails', async t => { +test('a on "never a" fails', async () => { const [actual] = check(await parsed.a, 'never', ['a']); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('b on "b" succeeds', async t => { +test('b on "b" succeeds', async () => { const [actual] = check(await parsed.b, '', ['b']); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('b on "always b" succeeds', async t => { +test('b on "always b" succeeds', async () => { const [actual] = check(await parsed.b, 'always', ['b']); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('b on "never b" fails', async t => { +test('b on "never b" fails', async () => { const [actual] = check(await parsed.b, 'never', ['b']); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('a on "a, b" succeeds', async t => { +test('a on "a, b" succeeds', async () => { const [actual] = check(await parsed.a, '', ['a', 'b']); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('a on "always a, b" succeeds', async t => { +test('a on "always a, b" succeeds', async () => { const [actual] = check(await parsed.a, 'always', ['a', 'b']); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('a on "never a, b" fails', async t => { +test('a on "never a, b" fails', async () => { const [actual] = check(await parsed.a, 'never', ['a', 'b']); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('b on "a, b" succeeds', async t => { +test('b on "a, b" succeeds', async () => { const [actual] = check(await parsed.b, '', ['a', 'b']); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('b on "always a, b" succeeds', async t => { +test('b on "always a, b" succeeds', async () => { const [actual] = check(await parsed.b, 'always', ['a', 'b']); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('b on "never a, b" fails', async t => { +test('b on "never a, b" fails', async () => { const [actual] = check(await parsed.b, 'never', ['a', 'b']); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/type-max-length.test.js b/@commitlint/rules/src/type-max-length.test.js index 697db38832..537317f5f0 100644 --- a/@commitlint/rules/src/type-max-length.test.js +++ b/@commitlint/rules/src/type-max-length.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './type-max-length'; @@ -19,20 +18,20 @@ const parsed = { long: parse(messages.long) }; -test('with empty should succeed', async t => { +test('with empty should succeed', async () => { const [actual] = check(await parsed.empty, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with short should succeed', async t => { +test('with short should succeed', async () => { const [actual] = check(await parsed.short, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long should fail', async t => { +test('with long should fail', async () => { const [actual] = check(await parsed.long, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/type-min-length.test.js b/@commitlint/rules/src/type-min-length.test.js index 2caf3ee072..6c9019ddf3 100644 --- a/@commitlint/rules/src/type-min-length.test.js +++ b/@commitlint/rules/src/type-min-length.test.js @@ -1,4 +1,3 @@ -import test from 'ava'; import parse from '@commitlint/parse'; import check from './type-min-length'; @@ -19,20 +18,20 @@ const parsed = { long: parse(messages.long) }; -test('with empty should succeed', async t => { +test('with empty should succeed', async () => { const [actual] = check(await parsed.empty, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with short should fail', async t => { +test('with short should fail', async () => { const [actual] = check(await parsed.short, '', value); const expected = false; - t.is(actual, expected); + expect(actual).toEqual(expected); }); -test('with long should succeed', async t => { +test('with long should succeed', async () => { const [actual] = check(await parsed.long, '', value); const expected = true; - t.is(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000000..937b53b131 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,4 @@ +// THis file is required by babel-jest +module.exports = { + presets: ['babel-preset-commitlint'] +}; diff --git a/jest.config.js b/jest.config.js index 15fba24dfb..cb5fe8fb5d 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,6 @@ module.exports = { - preset: 'ts-jest', + preset: 'ts-jest/presets/js-with-babel', testEnvironment: 'node', testRegex: undefined, - testMatch: ['**/*.test.ts?(x)'] + testMatch: ['**/*.test.ts?(x)', '**/@commitlint/rules/src/*.test.js?(x)'] }; diff --git a/yarn.lock b/yarn.lock index d4baf247a7..4f9a1a15df 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1884,6 +1884,11 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.11.5.tgz#6c3c8dc84988aff11fd2a63d7b5fbf39eaaab7b1" integrity sha512-LC8ALj/24PhByn39nr5jnTvpE7MujK8y7LQmV74kHYF5iQ0odCPkMH4IZNZw+cobKfSXqaC8GgegcbIsQpffdA== +"@types/node@>= 8": + version "13.5.0" + resolved "https://registry.npmjs.org/@types/node/-/node-13.5.0.tgz#4e498dbf355795a611a87ae5ef811a8660d42662" + integrity sha512-Onhn+z72D2O2Pb2ql2xukJ55rglumsVo1H6Fmyi8mlU9SvKdBk/pUSUAiBY/d9bAOF7VVWajX3sths/+g6ZiAQ== + "@types/node@^12.12.22": version "12.12.24" resolved "https://registry.npmjs.org/@types/node/-/node-12.12.24.tgz#d4606afd8cf6c609036b854360367d1b2c78931f" @@ -3617,7 +3622,7 @@ debug@3.1.0: dependencies: ms "2.0.0" -debug@^3.1.0, debug@^3.2.6: +debug@^3.1.0: version "3.2.6" resolved "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ== @@ -3794,11 +3799,6 @@ detect-indent@^5.0.0: resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" integrity sha1-OHHMCmoALow+Wzz38zYmRnXwa50= -detect-libc@^1.0.2: - version "1.0.3" - resolved "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" - integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups= - detect-newline@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2" @@ -5188,7 +5188,7 @@ husky@3.0.9: run-node "^1.0.0" slash "^3.0.0" -iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13: +iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@~0.4.13: version "0.4.24" resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== @@ -7253,15 +7253,6 @@ natural-compare@^1.4.0: resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= -needle@^2.2.1: - version "2.4.0" - resolved "https://registry.npmjs.org/needle/-/needle-2.4.0.tgz#6833e74975c444642590e15a750288c5f939b57c" - integrity sha512-4Hnwzr3mi5L97hMYeNl8wRW/Onhy4nUKR/lVemJ8gJedxxUyBLm9kkrDColJvoSfwi0jCNhD+xCdOtiGDQiRZg== - dependencies: - debug "^3.2.6" - iconv-lite "^0.4.4" - sax "^1.2.4" - neo-async@^2.6.0: version "2.6.1" resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c" @@ -7334,22 +7325,6 @@ node-notifier@^5.4.2: shellwords "^0.1.1" which "^1.3.0" -node-pre-gyp@*: - version "0.14.0" - resolved "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.14.0.tgz#9a0596533b877289bcad4e143982ca3d904ddc83" - integrity sha512-+CvDC7ZttU/sSt9rFjix/P05iS43qHCOOGzcr3Ry99bXG7VX953+vFyEuph/tfqoYu8dttBkE86JSKBO2OzcxA== - dependencies: - detect-libc "^1.0.2" - mkdirp "^0.5.1" - needle "^2.2.1" - nopt "^4.0.1" - npm-packlist "^1.1.6" - npmlog "^4.0.2" - rc "^1.2.7" - rimraf "^2.6.1" - semver "^5.3.0" - tar "^4.4.2" - node-releases@^1.1.42: version "1.1.44" resolved "https://registry.npmjs.org/node-releases/-/node-releases-1.1.44.tgz#cd66438a6eb875e3eb012b6a12e48d9f4326ffd7" @@ -7443,7 +7418,7 @@ npm-normalize-package-bin@^1.0.0, npm-normalize-package-bin@^1.0.1: semver "^5.6.0" validate-npm-package-name "^3.0.0" -npm-packlist@^1.1.6, npm-packlist@^1.4.4: +npm-packlist@^1.4.4: version "1.4.7" resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.7.tgz#9e954365a06b80b18111ea900945af4f88ed4848" integrity sha512-vAj7dIkp5NhieaGZxBJB8fF4R0078rqsmhJcAfXZ6O7JJhjhPK96n5Ry1oZcfLXgfun0GWTZPOxaEyqv8GBykQ== @@ -7483,7 +7458,7 @@ npm-which@^3.0.1: npm-path "^2.0.2" which "^1.2.10" -npmlog@^4.0.2, npmlog@^4.1.2: +npmlog@^4.1.2: version "4.1.2" resolved "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== @@ -8292,7 +8267,7 @@ range-parser@~1.2.1: resolved "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== -rc@^1.0.1, rc@^1.1.6, rc@^1.2.7, rc@^1.2.8: +rc@^1.0.1, rc@^1.1.6, rc@^1.2.8: version "1.2.8" resolved "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== @@ -8819,7 +8794,7 @@ right-pad@^1.0.1: resolved "https://registry.npmjs.org/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0" integrity sha1-jKCMLLtbVedNr6lr9/0aJ9VoyNA= -rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3: +rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3: version "2.7.1" resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== @@ -8947,7 +8922,7 @@ semver-diff@^2.0.0: dependencies: semver "^5.0.3" -"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: +"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -9596,7 +9571,7 @@ tar-stream@^2.0.0: inherits "^2.0.3" readable-stream "^3.1.1" -tar@^4.4.10, tar@^4.4.12, tar@^4.4.2, tar@^4.4.8: +tar@^4.4.10, tar@^4.4.12, tar@^4.4.8: version "4.4.13" resolved "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525" integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA== From 10556ec31972c21b41d009166cdc860fa58505a4 Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Sun, 26 Jan 2020 17:06:55 +0100 Subject: [PATCH 0011/2192] test: run jest in band on circle ci (#905) This prevents ts-jest to flood the memory, making it horrible slow and often failing without memory --- .circleci/config.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1c64f559ae..7171a9fa1c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,7 +35,7 @@ commands: steps: - run: name: Test - command: yarn test + command: yarn test-ci save-cache: steps: - save_cache: diff --git a/package.json b/package.json index bb77a9c11d..112852c4d2 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "publish": "lerna publish --conventional-commits", "reinstall": "yarn clean && yarn install", "start": "lerna run start --stream --parallel --include-filtered-dependencies", - "test": "jest && lerna run test --stream --parallel --include-filtered-dependencies" + "test": "jest && lerna run test --stream --parallel --include-filtered-dependencies", + "test-ci": "jest --runInBand && lerna run test --stream --parallel --include-filtered-dependencies" }, "commitlint": { "extends": [ From 4cd22082b2b4abc0bc370979282c716b3dd40aea Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Sun, 26 Jan 2020 18:17:12 +0100 Subject: [PATCH 0012/2192] refactor(rules): port rules to typescript (#785) * refactor(ensure): expose target case type for rules * refactor(rules): rewrite all rules and tests to typescript * refactor(rules): refactor indentation and readability for case rules * test(rules): ignore types file and use ts extension * test(rules): import non-typed preset with require * chore: remove javascript rules pattern from jest * fix(rules): export rule types for implementing packages --- @commitlint/ensure/src/case.ts | 2 +- @commitlint/ensure/src/index.ts | 1 + @commitlint/rules/package.json | 11 +-- .../{body-case.test.js => body-case.test.ts} | 2 +- .../rules/src/{body-case.js => body-case.ts} | 7 +- ...{body-empty.test.js => body-empty.test.ts} | 2 +- .../src/{body-empty.js => body-empty.ts} | 5 +- ...ank.test.js => body-leading-blank.test.ts} | 2 +- ...leading-blank.js => body-leading-blank.ts} | 3 +- ...length.test.js => body-max-length.test.ts} | 8 +-- ...{body-max-length.js => body-max-length.ts} | 7 +- ...h.test.js => body-max-line-length.test.ts} | 12 ++-- ...line-length.js => body-max-line-length.ts} | 7 +- ...length.test.js => body-min-length.test.ts} | 8 +-- ...{body-min-length.js => body-min-length.ts} | 7 +- ...ter-empty.test.js => footer-empty.test.ts} | 2 +- .../src/{footer-empty.js => footer-empty.ts} | 5 +- ...k.test.js => footer-leading-blank.test.ts} | 2 +- ...ading-blank.js => footer-leading-blank.ts} | 5 +- ...ngth.test.js => footer-max-length.test.ts} | 10 +-- ...ter-max-length.js => footer-max-length.ts} | 7 +- ...test.js => footer-max-line-length.test.ts} | 14 ++-- ...ne-length.js => footer-max-line-length.ts} | 7 +- ...ngth.test.js => footer-min-length.test.ts} | 10 +-- ...ter-min-length.js => footer-min-length.ts} | 8 ++- ...eader-case.test.js => header-case.test.ts} | 2 +- .../src/{header-case.js => header-case.ts} | 13 ++-- ...-stop.test.js => header-full-stop.test.ts} | 10 +-- ...eader-full-stop.js => header-full-stop.ts} | 7 +- ...ngth.test.js => header-max-length.test.ts} | 6 +- ...der-max-length.js => header-max-length.ts} | 7 +- ...ngth.test.js => header-min-length.test.ts} | 6 +- ...der-min-length.js => header-min-length.ts} | 7 +- @commitlint/rules/src/index.js | 67 ------------------ .../src/{index.test.js => index.test.ts} | 10 +-- @commitlint/rules/src/index.ts | 69 +++++++++++++++++++ ...empty.test.js => references-empty.test.ts} | 5 +- ...eferences-empty.js => references-empty.ts} | 3 +- ...{scope-case.test.js => scope-case.test.ts} | 2 +- .../src/{scope-case.js => scope-case.ts} | 13 ++-- ...cope-empty.test.js => scope-empty.test.ts} | 2 +- .../src/{scope-empty.js => scope-empty.ts} | 5 +- ...{scope-enum.test.js => scope-enum.test.ts} | 2 +- .../src/{scope-enum.js => scope-enum.ts} | 7 +- ...ength.test.js => scope-max-length.test.ts} | 8 +-- ...cope-max-length.js => scope-max-length.ts} | 7 +- ...ength.test.js => scope-min-length.test.ts} | 8 +-- ...cope-min-length.js => scope-min-length.ts} | 7 +- ...d-off-by.test.js => signed-off-by.test.ts} | 34 ++++++--- .../{signed-off-by.js => signed-off-by.ts} | 7 +- ...ject-case.test.js => subject-case.test.ts} | 2 +- .../src/{subject-case.js => subject-case.ts} | 13 ++-- ...ct-empty.test.js => subject-empty.test.ts} | 2 +- .../{subject-empty.js => subject-empty.ts} | 5 +- ...stop.test.js => subject-full-stop.test.ts} | 14 ++-- ...ject-full-stop.js => subject-full-stop.ts} | 7 +- ...gth.test.js => subject-max-length.test.ts} | 8 +-- ...ct-max-length.js => subject-max-length.ts} | 7 +- ...gth.test.js => subject-min-length.test.ts} | 8 +-- ...ct-min-length.js => subject-min-length.ts} | 7 +- .../{type-case.test.js => type-case.test.ts} | 2 +- .../rules/src/{type-case.js => type-case.ts} | 13 ++-- ...{type-empty.test.js => type-empty.test.ts} | 2 +- .../src/{type-empty.js => type-empty.ts} | 5 +- .../{type-enum.test.js => type-enum.test.ts} | 38 +++++----- .../rules/src/{type-enum.js => type-enum.ts} | 7 +- ...length.test.js => type-max-length.test.ts} | 8 +-- ...{type-max-length.js => type-max-length.ts} | 7 +- ...length.test.js => type-min-length.test.ts} | 8 +-- ...{type-min-length.js => type-min-length.ts} | 7 +- @commitlint/rules/src/types.ts | 25 +++++++ @commitlint/rules/tsconfig.json | 15 ++++ jest.config.js | 2 +- tsconfig.json | 3 +- 74 files changed, 431 insertions(+), 252 deletions(-) rename @commitlint/rules/src/{body-case.test.js => body-case.test.ts} (98%) rename @commitlint/rules/src/{body-case.js => body-case.ts} (71%) rename @commitlint/rules/src/{body-empty.test.js => body-empty.test.ts} (97%) rename @commitlint/rules/src/{body-empty.js => body-empty.ts} (62%) rename @commitlint/rules/src/{body-leading-blank.test.js => body-leading-blank.test.ts} (97%) rename @commitlint/rules/src/{body-leading-blank.js => body-leading-blank.ts} (83%) rename @commitlint/rules/src/{body-max-length.test.js => body-max-length.test.ts} (71%) rename @commitlint/rules/src/{body-max-length.js => body-max-length.ts} (63%) rename @commitlint/rules/src/{body-max-line-length.test.js => body-max-line-length.test.ts} (71%) rename @commitlint/rules/src/{body-max-line-length.js => body-max-line-length.ts} (64%) rename @commitlint/rules/src/{body-min-length.test.js => body-min-length.test.ts} (71%) rename @commitlint/rules/src/{body-min-length.js => body-min-length.ts} (61%) rename @commitlint/rules/src/{footer-empty.test.js => footer-empty.test.ts} (97%) rename @commitlint/rules/src/{footer-empty.js => footer-empty.ts} (61%) rename @commitlint/rules/src/{footer-leading-blank.test.js => footer-leading-blank.test.ts} (98%) rename @commitlint/rules/src/{footer-leading-blank.js => footer-leading-blank.ts} (78%) rename @commitlint/rules/src/{footer-max-length.test.js => footer-max-length.test.ts} (71%) rename @commitlint/rules/src/{footer-max-length.js => footer-max-length.ts} (63%) rename @commitlint/rules/src/{footer-max-line-length.test.js => footer-max-line-length.test.ts} (70%) rename @commitlint/rules/src/{footer-max-line-length.js => footer-max-line-length.ts} (64%) rename @commitlint/rules/src/{footer-min-length.test.js => footer-min-length.test.ts} (71%) rename @commitlint/rules/src/{footer-min-length.js => footer-min-length.ts} (61%) rename @commitlint/rules/src/{header-case.test.js => header-case.test.ts} (99%) rename @commitlint/rules/src/{header-case.js => header-case.ts} (65%) rename @commitlint/rules/src/{header-full-stop.test.js => header-full-stop.test.ts} (67%) rename @commitlint/rules/src/{header-full-stop.js => header-full-stop.ts} (69%) rename @commitlint/rules/src/{header-max-length.test.js => header-max-length.test.ts} (69%) rename @commitlint/rules/src/{header-max-length.js => header-max-length.ts} (62%) rename @commitlint/rules/src/{header-min-length.test.js => header-min-length.test.ts} (70%) rename @commitlint/rules/src/{header-min-length.js => header-min-length.ts} (62%) delete mode 100644 @commitlint/rules/src/index.js rename @commitlint/rules/src/{index.test.js => index.test.ts} (72%) create mode 100644 @commitlint/rules/src/index.ts rename @commitlint/rules/src/{references-empty.test.js => references-empty.test.ts} (95%) rename @commitlint/rules/src/{references-empty.js => references-empty.ts} (71%) rename @commitlint/rules/src/{scope-case.test.js => scope-case.test.ts} (99%) rename @commitlint/rules/src/{scope-case.js => scope-case.ts} (71%) rename @commitlint/rules/src/{scope-empty.test.js => scope-empty.test.ts} (97%) rename @commitlint/rules/src/{scope-empty.js => scope-empty.ts} (62%) rename @commitlint/rules/src/{scope-enum.test.js => scope-enum.test.ts} (98%) rename @commitlint/rules/src/{scope-enum.js => scope-enum.ts} (76%) rename @commitlint/rules/src/{scope-max-length.test.js => scope-max-length.test.ts} (70%) rename @commitlint/rules/src/{scope-max-length.js => scope-max-length.ts} (63%) rename @commitlint/rules/src/{scope-min-length.test.js => scope-min-length.test.ts} (70%) rename @commitlint/rules/src/{scope-min-length.js => scope-min-length.ts} (63%) rename @commitlint/rules/src/{signed-off-by.test.js => signed-off-by.test.ts} (68%) rename @commitlint/rules/src/{signed-off-by.js => signed-off-by.ts} (76%) rename @commitlint/rules/src/{subject-case.test.js => subject-case.test.ts} (99%) rename @commitlint/rules/src/{subject-case.js => subject-case.ts} (65%) rename @commitlint/rules/src/{subject-empty.test.js => subject-empty.test.ts} (96%) rename @commitlint/rules/src/{subject-empty.js => subject-empty.ts} (61%) rename @commitlint/rules/src/{subject-full-stop.test.js => subject-full-stop.test.ts} (67%) rename @commitlint/rules/src/{subject-full-stop.js => subject-full-stop.ts} (72%) rename @commitlint/rules/src/{subject-max-length.test.js => subject-max-length.test.ts} (70%) rename @commitlint/rules/src/{subject-max-length.js => subject-max-length.ts} (63%) rename @commitlint/rules/src/{subject-min-length.test.js => subject-min-length.test.ts} (70%) rename @commitlint/rules/src/{subject-min-length.js => subject-min-length.ts} (63%) rename @commitlint/rules/src/{type-case.test.js => type-case.test.ts} (99%) rename @commitlint/rules/src/{type-case.js => type-case.ts} (63%) rename @commitlint/rules/src/{type-empty.test.js => type-empty.test.ts} (96%) rename @commitlint/rules/src/{type-empty.js => type-empty.ts} (61%) rename @commitlint/rules/src/{type-enum.test.js => type-enum.test.ts} (65%) rename @commitlint/rules/src/{type-enum.js => type-enum.ts} (76%) rename @commitlint/rules/src/{type-max-length.test.js => type-max-length.test.ts} (70%) rename @commitlint/rules/src/{type-max-length.js => type-max-length.ts} (63%) rename @commitlint/rules/src/{type-min-length.test.js => type-min-length.test.ts} (70%) rename @commitlint/rules/src/{type-min-length.js => type-min-length.ts} (63%) create mode 100644 @commitlint/rules/src/types.ts create mode 100644 @commitlint/rules/tsconfig.json diff --git a/@commitlint/ensure/src/case.ts b/@commitlint/ensure/src/case.ts index 909e73aa68..40d1dde568 100644 --- a/@commitlint/ensure/src/case.ts +++ b/@commitlint/ensure/src/case.ts @@ -2,7 +2,7 @@ import * as _ from 'lodash'; export default ensureCase; -type TargetCaseType = +export type TargetCaseType = | 'camel-case' | 'kebab-case' | 'snake-case' diff --git a/@commitlint/ensure/src/index.ts b/@commitlint/ensure/src/index.ts index 982e128525..143d6d078c 100644 --- a/@commitlint/ensure/src/index.ts +++ b/@commitlint/ensure/src/index.ts @@ -8,3 +8,4 @@ import notEmpty from './not-empty'; export {ensureCase as case}; export {ensureEnum as enum}; export {maxLength, maxLineLength, minLength, notEmpty}; +export {TargetCaseType} from './case'; diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index 8d30d4e0e9..9eab1b36dc 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -3,20 +3,13 @@ "version": "8.3.4", "description": "Lint your commit messages", "main": "lib/index.js", + "types": "lib/index.d.ts", "files": [ "lib/" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps", "deps": "dep-check", - "pkg": "pkg-check --skip-import", - "start": "concurrently \"ava -c 4 --verbose --watch\" \"yarn run watch\"", - "watch": "babel src --out-dir lib --watch --source-maps" - }, - "babel": { - "presets": [ - "babel-preset-commitlint" - ] + "pkg": "pkg-check" }, "engines": { "node": ">=4" diff --git a/@commitlint/rules/src/body-case.test.js b/@commitlint/rules/src/body-case.test.ts similarity index 98% rename from @commitlint/rules/src/body-case.test.js rename to @commitlint/rules/src/body-case.test.ts index 3f5dd2f417..e4f1f5f1bd 100644 --- a/@commitlint/rules/src/body-case.test.js +++ b/@commitlint/rules/src/body-case.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import bodyCase from './body-case'; +import {bodyCase} from './body-case'; const messages = { empty: 'test: subject', diff --git a/@commitlint/rules/src/body-case.js b/@commitlint/rules/src/body-case.ts similarity index 71% rename from @commitlint/rules/src/body-case.js rename to @commitlint/rules/src/body-case.ts index dab5e80e60..cef24f86a3 100644 --- a/@commitlint/rules/src/body-case.js +++ b/@commitlint/rules/src/body-case.ts @@ -1,7 +1,12 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const bodyCase: Rule = ( + parsed, + when = 'always', + value = undefined +) => { const {body} = parsed; if (!body) { diff --git a/@commitlint/rules/src/body-empty.test.js b/@commitlint/rules/src/body-empty.test.ts similarity index 97% rename from @commitlint/rules/src/body-empty.test.js rename to @commitlint/rules/src/body-empty.test.ts index 574cb66db9..bc6f309e72 100644 --- a/@commitlint/rules/src/body-empty.test.js +++ b/@commitlint/rules/src/body-empty.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import bodyEmpty from './body-empty'; +import {bodyEmpty} from './body-empty'; const messages = { empty: 'test: subject', diff --git a/@commitlint/rules/src/body-empty.js b/@commitlint/rules/src/body-empty.ts similarity index 62% rename from @commitlint/rules/src/body-empty.js rename to @commitlint/rules/src/body-empty.ts index 58911a16b9..8df58844ae 100644 --- a/@commitlint/rules/src/body-empty.js +++ b/@commitlint/rules/src/body-empty.ts @@ -1,9 +1,10 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; +import {Rule} from './types'; -export default (parsed, when) => { +export const bodyEmpty: Rule = (parsed, when = 'always') => { const negated = when === 'never'; - const notEmpty = ensure.notEmpty(parsed.body); + const notEmpty = ensure.notEmpty(parsed.body || ''); return [ negated ? notEmpty : !notEmpty, diff --git a/@commitlint/rules/src/body-leading-blank.test.js b/@commitlint/rules/src/body-leading-blank.test.ts similarity index 97% rename from @commitlint/rules/src/body-leading-blank.test.js rename to @commitlint/rules/src/body-leading-blank.test.ts index 5002b6dd25..18bda3783d 100644 --- a/@commitlint/rules/src/body-leading-blank.test.js +++ b/@commitlint/rules/src/body-leading-blank.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import bodyLeadingBlank from './body-leading-blank'; +import {bodyLeadingBlank} from './body-leading-blank'; const messages = { simple: 'test: subject', diff --git a/@commitlint/rules/src/body-leading-blank.js b/@commitlint/rules/src/body-leading-blank.ts similarity index 83% rename from @commitlint/rules/src/body-leading-blank.js rename to @commitlint/rules/src/body-leading-blank.ts index 1065011810..447557b0ff 100644 --- a/@commitlint/rules/src/body-leading-blank.js +++ b/@commitlint/rules/src/body-leading-blank.ts @@ -1,7 +1,8 @@ import toLines from '@commitlint/to-lines'; import message from '@commitlint/message'; +import {Rule} from './types'; -export default (parsed, when) => { +export const bodyLeadingBlank: Rule = (parsed, when) => { // Flunk if no body is found if (!parsed.body) { return [true]; diff --git a/@commitlint/rules/src/body-max-length.test.js b/@commitlint/rules/src/body-max-length.test.ts similarity index 71% rename from @commitlint/rules/src/body-max-length.test.js rename to @commitlint/rules/src/body-max-length.test.ts index c032eb0c84..c26d4ad042 100644 --- a/@commitlint/rules/src/body-max-length.test.js +++ b/@commitlint/rules/src/body-max-length.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './body-max-length'; +import {bodyMaxLength} from './body-max-length'; const short = 'a'; const long = 'ab'; @@ -19,19 +19,19 @@ const parsed = { }; test('with empty should succeed', async () => { - const [actual] = check(await parsed.empty, '', value); + const [actual] = bodyMaxLength(await parsed.empty, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with short should succeed', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = bodyMaxLength(await parsed.short, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with long should fail', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = bodyMaxLength(await parsed.long, undefined, value); const expected = false; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/body-max-length.js b/@commitlint/rules/src/body-max-length.ts similarity index 63% rename from @commitlint/rules/src/body-max-length.js rename to @commitlint/rules/src/body-max-length.ts index 335cd7bb3e..461fdb84b7 100644 --- a/@commitlint/rules/src/body-max-length.js +++ b/@commitlint/rules/src/body-max-length.ts @@ -1,6 +1,11 @@ import {maxLength} from '@commitlint/ensure'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const bodyMaxLength: Rule = ( + parsed, + when = undefined, + value = 0 +) => { const input = parsed.body; if (!input) { diff --git a/@commitlint/rules/src/body-max-line-length.test.js b/@commitlint/rules/src/body-max-line-length.test.ts similarity index 71% rename from @commitlint/rules/src/body-max-line-length.test.js rename to @commitlint/rules/src/body-max-line-length.test.ts index 64134242c3..32332e46a2 100644 --- a/@commitlint/rules/src/body-max-line-length.test.js +++ b/@commitlint/rules/src/body-max-line-length.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './body-max-line-length'; +import {bodyMaxLineLength} from './body-max-line-length'; const short = 'a'; const long = 'ab'; @@ -21,31 +21,31 @@ const parsed = { }; test('with empty should succeed', async () => { - const [actual] = check(await parsed.empty, '', value); + const [actual] = bodyMaxLineLength(await parsed.empty, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with short should succeed', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = bodyMaxLineLength(await parsed.short, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with long should fail', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = bodyMaxLineLength(await parsed.long, undefined, value); const expected = false; expect(actual).toEqual(expected); }); test('with short with multiple lines should succeed', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = bodyMaxLineLength(await parsed.short, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with long with multiple lines should fail', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = bodyMaxLineLength(await parsed.long, undefined, value); const expected = false; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/body-max-line-length.js b/@commitlint/rules/src/body-max-line-length.ts similarity index 64% rename from @commitlint/rules/src/body-max-line-length.js rename to @commitlint/rules/src/body-max-line-length.ts index 9f28f616bf..76d42d2d81 100644 --- a/@commitlint/rules/src/body-max-line-length.js +++ b/@commitlint/rules/src/body-max-line-length.ts @@ -1,6 +1,11 @@ import {maxLineLength} from '@commitlint/ensure'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const bodyMaxLineLength: Rule = ( + parsed, + when = undefined, + value = 0 +) => { const input = parsed.body; if (!input) { diff --git a/@commitlint/rules/src/body-min-length.test.js b/@commitlint/rules/src/body-min-length.test.ts similarity index 71% rename from @commitlint/rules/src/body-min-length.test.js rename to @commitlint/rules/src/body-min-length.test.ts index 3b3129880c..db259bafc0 100644 --- a/@commitlint/rules/src/body-min-length.test.js +++ b/@commitlint/rules/src/body-min-length.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './body-min-length'; +import {bodyMinLength} from './body-min-length'; const short = 'a'; const long = 'ab'; @@ -19,19 +19,19 @@ const parsed = { }; test('with simple should succeed', async () => { - const [actual] = check(await parsed.simple, '', value); + const [actual] = bodyMinLength(await parsed.simple, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with short should fail', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = bodyMinLength(await parsed.short, undefined, value); const expected = false; expect(actual).toEqual(expected); }); test('with long should succeed', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = bodyMinLength(await parsed.long, undefined, value); const expected = true; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/body-min-length.js b/@commitlint/rules/src/body-min-length.ts similarity index 61% rename from @commitlint/rules/src/body-min-length.js rename to @commitlint/rules/src/body-min-length.ts index 940876038c..a866db8512 100644 --- a/@commitlint/rules/src/body-min-length.js +++ b/@commitlint/rules/src/body-min-length.ts @@ -1,6 +1,11 @@ import {minLength} from '@commitlint/ensure'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const bodyMinLength: Rule = ( + parsed, + when = undefined, + value = 0 +) => { if (!parsed.body) { return [true]; } diff --git a/@commitlint/rules/src/footer-empty.test.js b/@commitlint/rules/src/footer-empty.test.ts similarity index 97% rename from @commitlint/rules/src/footer-empty.test.js rename to @commitlint/rules/src/footer-empty.test.ts index 17f2e29871..fc6525e269 100644 --- a/@commitlint/rules/src/footer-empty.test.js +++ b/@commitlint/rules/src/footer-empty.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import footerEmpty from './footer-empty'; +import {footerEmpty} from './footer-empty'; const messages = { simple: 'test: subject', diff --git a/@commitlint/rules/src/footer-empty.js b/@commitlint/rules/src/footer-empty.ts similarity index 61% rename from @commitlint/rules/src/footer-empty.js rename to @commitlint/rules/src/footer-empty.ts index 7aff4321e7..1f4ac03021 100644 --- a/@commitlint/rules/src/footer-empty.js +++ b/@commitlint/rules/src/footer-empty.ts @@ -1,9 +1,10 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; +import {Rule} from './types'; -export default (parsed, when) => { +export const footerEmpty: Rule = (parsed, when = 'always') => { const negated = when === 'never'; - const notEmpty = ensure.notEmpty(parsed.footer); + const notEmpty = ensure.notEmpty(parsed.footer || ''); return [ negated ? notEmpty : !notEmpty, diff --git a/@commitlint/rules/src/footer-leading-blank.test.js b/@commitlint/rules/src/footer-leading-blank.test.ts similarity index 98% rename from @commitlint/rules/src/footer-leading-blank.test.js rename to @commitlint/rules/src/footer-leading-blank.test.ts index 82cc411243..c7abbf825d 100644 --- a/@commitlint/rules/src/footer-leading-blank.test.js +++ b/@commitlint/rules/src/footer-leading-blank.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import footerLeadingBlank from './footer-leading-blank'; +import {footerLeadingBlank} from './footer-leading-blank'; const messages = { simple: 'test: subject', diff --git a/@commitlint/rules/src/footer-leading-blank.js b/@commitlint/rules/src/footer-leading-blank.ts similarity index 78% rename from @commitlint/rules/src/footer-leading-blank.js rename to @commitlint/rules/src/footer-leading-blank.ts index fdbe09de7e..e4bb637842 100644 --- a/@commitlint/rules/src/footer-leading-blank.js +++ b/@commitlint/rules/src/footer-leading-blank.ts @@ -1,7 +1,8 @@ import toLines from '@commitlint/to-lines'; import message from '@commitlint/message'; +import {Rule} from './types'; -export default (parsed, when) => { +export const footerLeadingBlank: Rule = (parsed, when = 'always') => { // Flunk if no footer is found if (!parsed.footer) { return [true]; @@ -9,7 +10,7 @@ export default (parsed, when) => { const negated = when === 'never'; const rawLines = toLines(parsed.raw); - const bodyLines = toLines(parsed.body); + const bodyLines = parsed.body ? toLines(parsed.body) : []; const bodyOffset = bodyLines.length > 0 ? rawLines.indexOf(bodyLines[0]) : 1; const [leading] = rawLines.slice(bodyLines.length + bodyOffset); diff --git a/@commitlint/rules/src/footer-max-length.test.js b/@commitlint/rules/src/footer-max-length.test.ts similarity index 71% rename from @commitlint/rules/src/footer-max-length.test.js rename to @commitlint/rules/src/footer-max-length.test.ts index aa6a06f01f..9a7755aa5e 100644 --- a/@commitlint/rules/src/footer-max-length.test.js +++ b/@commitlint/rules/src/footer-max-length.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './footer-max-length'; +import {footerMaxLength} from './footer-max-length'; const short = 'BREAKING CHANGE: a'; const long = 'BREAKING CHANGE: ab'; @@ -21,25 +21,25 @@ const parsed = { }; test('with simple should succeed', async () => { - const [actual] = check(await parsed.simple, '', value); + const [actual] = footerMaxLength(await parsed.simple, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with empty should succeed', async () => { - const [actual] = check(await parsed.empty, '', value); + const [actual] = footerMaxLength(await parsed.empty, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with short should succeed', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = footerMaxLength(await parsed.short, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with long should fail', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = footerMaxLength(await parsed.long, undefined, value); const expected = false; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/footer-max-length.js b/@commitlint/rules/src/footer-max-length.ts similarity index 63% rename from @commitlint/rules/src/footer-max-length.js rename to @commitlint/rules/src/footer-max-length.ts index 36b3a3993c..0b7dfaffbb 100644 --- a/@commitlint/rules/src/footer-max-length.js +++ b/@commitlint/rules/src/footer-max-length.ts @@ -1,6 +1,11 @@ import {maxLength} from '@commitlint/ensure'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const footerMaxLength: Rule = ( + parsed, + when = undefined, + value = 0 +) => { const input = parsed.footer; if (!input) { diff --git a/@commitlint/rules/src/footer-max-line-length.test.js b/@commitlint/rules/src/footer-max-line-length.test.ts similarity index 70% rename from @commitlint/rules/src/footer-max-line-length.test.js rename to @commitlint/rules/src/footer-max-line-length.test.ts index 1c5e4559fd..86663d26c6 100644 --- a/@commitlint/rules/src/footer-max-line-length.test.js +++ b/@commitlint/rules/src/footer-max-line-length.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './footer-max-line-length'; +import {footerMaxLineLength} from './footer-max-line-length'; const short = 'BREAKING CHANGE: a'; const long = 'BREAKING CHANGE: ab'; @@ -23,37 +23,37 @@ const parsed = { }; test('with simple should succeed', async () => { - const [actual] = check(await parsed.simple, '', value); + const [actual] = footerMaxLineLength(await parsed.simple, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with empty should succeed', async () => { - const [actual] = check(await parsed.empty, '', value); + const [actual] = footerMaxLineLength(await parsed.empty, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with short should succeed', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = footerMaxLineLength(await parsed.short, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with long should fail', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = footerMaxLineLength(await parsed.long, undefined, value); const expected = false; expect(actual).toEqual(expected); }); test('with short with multiple lines should succeed', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = footerMaxLineLength(await parsed.short, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with long with multiple lines should fail', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = footerMaxLineLength(await parsed.long, undefined, value); const expected = false; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/footer-max-line-length.js b/@commitlint/rules/src/footer-max-line-length.ts similarity index 64% rename from @commitlint/rules/src/footer-max-line-length.js rename to @commitlint/rules/src/footer-max-line-length.ts index 019afeac3c..09a0c58743 100644 --- a/@commitlint/rules/src/footer-max-line-length.js +++ b/@commitlint/rules/src/footer-max-line-length.ts @@ -1,6 +1,11 @@ import {maxLineLength} from '@commitlint/ensure'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const footerMaxLineLength: Rule = ( + parsed, + when = undefined, + value = 0 +) => { const input = parsed.footer; if (!input) { diff --git a/@commitlint/rules/src/footer-min-length.test.js b/@commitlint/rules/src/footer-min-length.test.ts similarity index 71% rename from @commitlint/rules/src/footer-min-length.test.js rename to @commitlint/rules/src/footer-min-length.test.ts index ebf64122a0..fb94e5ae70 100644 --- a/@commitlint/rules/src/footer-min-length.test.js +++ b/@commitlint/rules/src/footer-min-length.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './footer-min-length'; +import {footerMinLength} from './footer-min-length'; const short = 'BREAKING CHANGE: a'; const long = 'BREAKING CHANGE: ab'; @@ -21,25 +21,25 @@ const parsed = { }; test('with simple should succeed', async () => { - const [actual] = check(await parsed.simple, '', value); + const [actual] = footerMinLength(await parsed.simple, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with empty should succeed', async () => { - const [actual] = check(await parsed.empty, '', value); + const [actual] = footerMinLength(await parsed.empty, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with short should fail', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = footerMinLength(await parsed.short, undefined, value); const expected = false; expect(actual).toEqual(expected); }); test('with long should succeed', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = footerMinLength(await parsed.long, undefined, value); const expected = true; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/footer-min-length.js b/@commitlint/rules/src/footer-min-length.ts similarity index 61% rename from @commitlint/rules/src/footer-min-length.js rename to @commitlint/rules/src/footer-min-length.ts index f0c01b6f00..980a756d25 100644 --- a/@commitlint/rules/src/footer-min-length.js +++ b/@commitlint/rules/src/footer-min-length.ts @@ -1,9 +1,15 @@ import {minLength} from '@commitlint/ensure'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const footerMinLength: Rule = ( + parsed, + when = undefined, + value = 0 +) => { if (!parsed.footer) { return [true]; } + return [ minLength(parsed.footer, value), `footer must not be shorter than ${value} characters` diff --git a/@commitlint/rules/src/header-case.test.js b/@commitlint/rules/src/header-case.test.ts similarity index 99% rename from @commitlint/rules/src/header-case.test.js rename to @commitlint/rules/src/header-case.test.ts index cda26ffb99..18bb83b4c8 100644 --- a/@commitlint/rules/src/header-case.test.js +++ b/@commitlint/rules/src/header-case.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import headerCase from './header-case'; +import {headerCase} from './header-case'; const messages = { numeric: '1.0.0\n', diff --git a/@commitlint/rules/src/header-case.js b/@commitlint/rules/src/header-case.ts similarity index 65% rename from @commitlint/rules/src/header-case.js rename to @commitlint/rules/src/header-case.ts index 779f4a5e97..144ecb39fa 100644 --- a/@commitlint/rules/src/header-case.js +++ b/@commitlint/rules/src/header-case.ts @@ -1,9 +1,14 @@ -import * as ensure from '@commitlint/ensure'; +import {TargetCaseType, case as ensureCase} from '@commitlint/ensure'; import message from '@commitlint/message'; +import {Rule} from './types'; -const negated = when => when === 'never'; +const negated = (when?: string) => when === 'never'; -export default (parsed, when, value) => { +export const headerCase: Rule = ( + parsed, + when = 'always', + value = [] +) => { const {header} = parsed; if (typeof header !== 'string' || !header.match(/^[a-z]/i)) { @@ -21,7 +26,7 @@ export default (parsed, when, value) => { }); const result = checks.some(check => { - const r = ensure.case(header, check.case); + const r = ensureCase(header, check.case); return negated(check.when) ? !r : r; }); diff --git a/@commitlint/rules/src/header-full-stop.test.js b/@commitlint/rules/src/header-full-stop.test.ts similarity index 67% rename from @commitlint/rules/src/header-full-stop.test.js rename to @commitlint/rules/src/header-full-stop.test.ts index 3fb32e07c8..36b7e0d7e9 100644 --- a/@commitlint/rules/src/header-full-stop.test.js +++ b/@commitlint/rules/src/header-full-stop.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './header-full-stop'; +import {headerFullStop} from './header-full-stop'; const messages = { with: `header.\n`, @@ -12,25 +12,25 @@ const parsed = { }; test('with against "always ." should succeed', async () => { - const [actual] = check(await parsed.with, 'always', '.'); + const [actual] = headerFullStop(await parsed.with, 'always', '.'); const expected = true; expect(actual).toEqual(expected); }); test('with against "never ." should fail', async () => { - const [actual] = check(await parsed.with, 'never', '.'); + const [actual] = headerFullStop(await parsed.with, 'never', '.'); const expected = false; expect(actual).toEqual(expected); }); test('without against "always ." should fail', async () => { - const [actual] = check(await parsed.without, 'always', '.'); + const [actual] = headerFullStop(await parsed.without, 'always', '.'); const expected = false; expect(actual).toEqual(expected); }); test('without against "never ." should succeed', async () => { - const [actual] = check(await parsed.without, 'never', '.'); + const [actual] = headerFullStop(await parsed.without, 'never', '.'); const expected = true; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/header-full-stop.js b/@commitlint/rules/src/header-full-stop.ts similarity index 69% rename from @commitlint/rules/src/header-full-stop.js rename to @commitlint/rules/src/header-full-stop.ts index f30ce6d12c..ffecb8d60c 100644 --- a/@commitlint/rules/src/header-full-stop.js +++ b/@commitlint/rules/src/header-full-stop.ts @@ -1,6 +1,11 @@ import message from '@commitlint/message'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const headerFullStop: Rule = ( + parsed, + when = 'always', + value = '.' +) => { const {header} = parsed; const negated = when === 'never'; const hasStop = header[header.length - 1] === value; diff --git a/@commitlint/rules/src/header-max-length.test.js b/@commitlint/rules/src/header-max-length.test.ts similarity index 69% rename from @commitlint/rules/src/header-max-length.test.js rename to @commitlint/rules/src/header-max-length.test.ts index 7b5574b7f6..dc83bba113 100644 --- a/@commitlint/rules/src/header-max-length.test.js +++ b/@commitlint/rules/src/header-max-length.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './header-max-length'; +import {headerMaxLength} from './header-max-length'; const short = 'test: a'; const long = 'test: ab'; @@ -17,13 +17,13 @@ const parsed = { }; test('with short should succeed', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = headerMaxLength(await parsed.short, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with long should fail', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = headerMaxLength(await parsed.long, undefined, value); const expected = false; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/header-max-length.js b/@commitlint/rules/src/header-max-length.ts similarity index 62% rename from @commitlint/rules/src/header-max-length.js rename to @commitlint/rules/src/header-max-length.ts index 4b54e2e6ad..ea0c3af965 100644 --- a/@commitlint/rules/src/header-max-length.js +++ b/@commitlint/rules/src/header-max-length.ts @@ -1,6 +1,11 @@ import {maxLength} from '@commitlint/ensure'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const headerMaxLength: Rule = ( + parsed, + when = undefined, + value = 0 +) => { return [ maxLength(parsed.header, value), `header must not be longer than ${value} characters, current length is ${ diff --git a/@commitlint/rules/src/header-min-length.test.js b/@commitlint/rules/src/header-min-length.test.ts similarity index 70% rename from @commitlint/rules/src/header-min-length.test.js rename to @commitlint/rules/src/header-min-length.test.ts index def268047b..4eb896e6ca 100644 --- a/@commitlint/rules/src/header-min-length.test.js +++ b/@commitlint/rules/src/header-min-length.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './header-min-length'; +import {headerMinLength} from './header-min-length'; const short = 'BREAKING CHANGE: a'; const long = 'BREAKING CHANGE: ab'; @@ -17,13 +17,13 @@ const parsed = { }; test('with short should fail', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = headerMinLength(await parsed.short, undefined, value); const expected = false; expect(actual).toEqual(expected); }); test('with long should succeed', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = headerMinLength(await parsed.long, undefined, value); const expected = true; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/header-min-length.js b/@commitlint/rules/src/header-min-length.ts similarity index 62% rename from @commitlint/rules/src/header-min-length.js rename to @commitlint/rules/src/header-min-length.ts index 35b2ed0fa2..82362d2de5 100644 --- a/@commitlint/rules/src/header-min-length.js +++ b/@commitlint/rules/src/header-min-length.ts @@ -1,6 +1,11 @@ import {minLength} from '@commitlint/ensure'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const headerMinLength: Rule = ( + parsed, + when = undefined, + value = 0 +) => { return [ minLength(parsed.header, value), `header must not be shorter than ${value} characters, current length is ${ diff --git a/@commitlint/rules/src/index.js b/@commitlint/rules/src/index.js deleted file mode 100644 index bfdc11ac5e..0000000000 --- a/@commitlint/rules/src/index.js +++ /dev/null @@ -1,67 +0,0 @@ -import bodyCase from './body-case'; -import bodyEmpty from './body-empty'; -import bodyLeadingBlank from './body-leading-blank'; -import bodyMaxLength from './body-max-length'; -import bodyMaxLineLength from './body-max-line-length'; -import bodyMinLength from './body-min-length'; -import footerEmpty from './footer-empty'; -import footerLeadingBlank from './footer-leading-blank'; -import footerMaxLength from './footer-max-length'; -import footerMaxLineLength from './footer-max-line-length'; -import footerMinLength from './footer-min-length'; -import headerCase from './header-case'; -import headerFullStop from './header-full-stop'; -import headerMaxLength from './header-max-length'; -import headerMinLength from './header-min-length'; -import referencesEmpty from './references-empty'; -import scopeCase from './scope-case'; -import scopeEmpty from './scope-empty'; -import scopeEnum from './scope-enum'; -import scopeMaxLength from './scope-max-length'; -import scopeMinLength from './scope-min-length'; -import signedOffBy from './signed-off-by'; -import subjectCase from './subject-case'; -import subjectEmpty from './subject-empty'; -import subjectFullStop from './subject-full-stop'; -import subjectMaxLength from './subject-max-length'; -import subjectMinLength from './subject-min-length'; -import typeCase from './type-case'; -import typeEmpty from './type-empty'; -import typeEnum from './type-enum'; -import typeMaxLength from './type-max-length'; -import typeMinLength from './type-min-length'; - -export default { - 'body-case': bodyCase, - 'body-empty': bodyEmpty, - 'body-leading-blank': bodyLeadingBlank, - 'body-max-length': bodyMaxLength, - 'body-max-line-length': bodyMaxLineLength, - 'body-min-length': bodyMinLength, - 'footer-empty': footerEmpty, - 'footer-leading-blank': footerLeadingBlank, - 'footer-max-length': footerMaxLength, - 'footer-max-line-length': footerMaxLineLength, - 'footer-min-length': footerMinLength, - 'header-case': headerCase, - 'header-full-stop': headerFullStop, - 'header-max-length': headerMaxLength, - 'header-min-length': headerMinLength, - 'references-empty': referencesEmpty, - 'scope-case': scopeCase, - 'scope-empty': scopeEmpty, - 'scope-enum': scopeEnum, - 'scope-max-length': scopeMaxLength, - 'scope-min-length': scopeMinLength, - 'signed-off-by': signedOffBy, - 'subject-case': subjectCase, - 'subject-empty': subjectEmpty, - 'subject-full-stop': subjectFullStop, - 'subject-max-length': subjectMaxLength, - 'subject-min-length': subjectMinLength, - 'type-case': typeCase, - 'type-empty': typeEmpty, - 'type-enum': typeEnum, - 'type-max-length': typeMaxLength, - 'type-min-length': typeMinLength -}; diff --git a/@commitlint/rules/src/index.test.js b/@commitlint/rules/src/index.test.ts similarity index 72% rename from @commitlint/rules/src/index.test.js rename to @commitlint/rules/src/index.test.ts index 4847974abf..75838535bc 100644 --- a/@commitlint/rules/src/index.test.js +++ b/@commitlint/rules/src/index.test.ts @@ -4,7 +4,7 @@ import values from 'lodash/values'; import rules from '.'; test('exports all rules', async () => { - const expected = (await glob('*.js')).sort(); + const expected = (await glob('*.ts')).sort(); const actual = Object.keys(rules).sort(); expect(actual).toEqual(expected); }); @@ -14,18 +14,18 @@ test('rules export functions', () => { expect(actual.every(rule => typeof rule === 'function')).toBe(true); }); -async function glob(pattern) { +async function glob(pattern: string | string[]) { const files = await globby(pattern, { - ignore: ['**/index.js', '**/*.test.js'], + ignore: ['**/index.ts', '**/*.test.ts', '**/types.ts'], cwd: __dirname }); return files.map(relative).map(toExport); } -function relative(filePath) { +function relative(filePath: string) { return path.relative(__dirname, filePath); } -function toExport(fileName) { +function toExport(fileName: string) { return path.basename(fileName, path.extname(fileName)); } diff --git a/@commitlint/rules/src/index.ts b/@commitlint/rules/src/index.ts new file mode 100644 index 0000000000..0a8b1f1f65 --- /dev/null +++ b/@commitlint/rules/src/index.ts @@ -0,0 +1,69 @@ +import {bodyCase} from './body-case'; +import {bodyEmpty} from './body-empty'; +import {bodyLeadingBlank} from './body-leading-blank'; +import {bodyMaxLength} from './body-max-length'; +import {bodyMaxLineLength} from './body-max-line-length'; +import {bodyMinLength} from './body-min-length'; +import {footerEmpty} from './footer-empty'; +import {footerLeadingBlank} from './footer-leading-blank'; +import {footerMaxLength} from './footer-max-length'; +import {footerMaxLineLength} from './footer-max-line-length'; +import {footerMinLength} from './footer-min-length'; +import {headerCase} from './header-case'; +import {headerFullStop} from './header-full-stop'; +import {headerMaxLength} from './header-max-length'; +import {headerMinLength} from './header-min-length'; +import {referencesEmpty} from './references-empty'; +import {scopeCase} from './scope-case'; +import {scopeEmpty} from './scope-empty'; +import {scopeEnum} from './scope-enum'; +import {scopeMaxLength} from './scope-max-length'; +import {scopeMinLength} from './scope-min-length'; +import {signedOffBy} from './signed-off-by'; +import {subjectCase} from './subject-case'; +import {subjectEmpty} from './subject-empty'; +import {subjectFullStop} from './subject-full-stop'; +import {subjectMaxLength} from './subject-max-length'; +import {subjectMinLength} from './subject-min-length'; +import {typeCase} from './type-case'; +import {typeEmpty} from './type-empty'; +import {typeEnum} from './type-enum'; +import {typeMaxLength} from './type-max-length'; +import {typeMinLength} from './type-min-length'; + +export * from './types'; + +export default { + 'body-case': bodyCase, + 'body-empty': bodyEmpty, + 'body-leading-blank': bodyLeadingBlank, + 'body-max-length': bodyMaxLength, + 'body-max-line-length': bodyMaxLineLength, + 'body-min-length': bodyMinLength, + 'footer-empty': footerEmpty, + 'footer-leading-blank': footerLeadingBlank, + 'footer-max-length': footerMaxLength, + 'footer-max-line-length': footerMaxLineLength, + 'footer-min-length': footerMinLength, + 'header-case': headerCase, + 'header-full-stop': headerFullStop, + 'header-max-length': headerMaxLength, + 'header-min-length': headerMinLength, + 'references-empty': referencesEmpty, + 'scope-case': scopeCase, + 'scope-empty': scopeEmpty, + 'scope-enum': scopeEnum, + 'scope-max-length': scopeMaxLength, + 'scope-min-length': scopeMinLength, + 'signed-off-by': signedOffBy, + 'subject-case': subjectCase, + 'subject-empty': subjectEmpty, + 'subject-full-stop': subjectFullStop, + 'subject-max-length': subjectMaxLength, + 'subject-min-length': subjectMinLength, + 'type-case': typeCase, + 'type-empty': typeEmpty, + 'type-enum': typeEnum, + 'type-max-length': typeMaxLength, + 'type-min-length': typeMinLength +}; diff --git a/@commitlint/rules/src/references-empty.test.js b/@commitlint/rules/src/references-empty.test.ts similarity index 95% rename from @commitlint/rules/src/references-empty.test.js rename to @commitlint/rules/src/references-empty.test.ts index b74876f25a..6a3e782dd6 100644 --- a/@commitlint/rules/src/references-empty.test.js +++ b/@commitlint/rules/src/references-empty.test.ts @@ -1,6 +1,7 @@ -import preset from 'conventional-changelog-angular'; import parse from '@commitlint/parse'; -import referencesEmpty from './references-empty'; +import {referencesEmpty} from './references-empty'; + +const preset = require('conventional-changelog-angular'); const messages = { plain: 'foo: bar', diff --git a/@commitlint/rules/src/references-empty.js b/@commitlint/rules/src/references-empty.ts similarity index 71% rename from @commitlint/rules/src/references-empty.js rename to @commitlint/rules/src/references-empty.ts index 87a7f15b74..3e3e483981 100644 --- a/@commitlint/rules/src/references-empty.js +++ b/@commitlint/rules/src/references-empty.ts @@ -1,6 +1,7 @@ import message from '@commitlint/message'; +import {Rule} from './types'; -export default (parsed, when = 'never') => { +export const referencesEmpty: Rule = (parsed, when = 'never') => { const negated = when === 'always'; const notEmpty = parsed.references.length > 0; return [ diff --git a/@commitlint/rules/src/scope-case.test.js b/@commitlint/rules/src/scope-case.test.ts similarity index 99% rename from @commitlint/rules/src/scope-case.test.js rename to @commitlint/rules/src/scope-case.test.ts index 330ece3067..14e6c1e323 100644 --- a/@commitlint/rules/src/scope-case.test.js +++ b/@commitlint/rules/src/scope-case.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import scopeCase from './scope-case'; +import {scopeCase} from './scope-case'; const messages = { empty: 'test: subject', diff --git a/@commitlint/rules/src/scope-case.js b/@commitlint/rules/src/scope-case.ts similarity index 71% rename from @commitlint/rules/src/scope-case.js rename to @commitlint/rules/src/scope-case.ts index b74e9a66d2..fc29fbe288 100644 --- a/@commitlint/rules/src/scope-case.js +++ b/@commitlint/rules/src/scope-case.ts @@ -1,9 +1,14 @@ -import * as ensure from '@commitlint/ensure'; +import {TargetCaseType, case as ensureCase} from '@commitlint/ensure'; import message from '@commitlint/message'; +import {Rule} from './types'; -const negated = when => when === 'never'; +const negated = (when?: string) => when === 'never'; -export default (parsed, when, value) => { +export const scopeCase: Rule = ( + parsed, + when = 'always', + value = [] +) => { const {scope} = parsed; if (!scope) { @@ -27,7 +32,7 @@ export default (parsed, when, value) => { const result = checks.some(check => { const r = scopeSegments.every( - segment => delimiters.test(segment) || ensure.case(segment, check.case) + segment => delimiters.test(segment) || ensureCase(segment, check.case) ); return negated(check.when) ? !r : r; diff --git a/@commitlint/rules/src/scope-empty.test.js b/@commitlint/rules/src/scope-empty.test.ts similarity index 97% rename from @commitlint/rules/src/scope-empty.test.js rename to @commitlint/rules/src/scope-empty.test.ts index d0893989e7..d85d1f1762 100644 --- a/@commitlint/rules/src/scope-empty.test.js +++ b/@commitlint/rules/src/scope-empty.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import scopeEmpty from './scope-empty'; +import {scopeEmpty} from './scope-empty'; const messages = { plain: 'foo(bar): baz', diff --git a/@commitlint/rules/src/scope-empty.js b/@commitlint/rules/src/scope-empty.ts similarity index 62% rename from @commitlint/rules/src/scope-empty.js rename to @commitlint/rules/src/scope-empty.ts index 65a28ac98a..89358a4b6d 100644 --- a/@commitlint/rules/src/scope-empty.js +++ b/@commitlint/rules/src/scope-empty.ts @@ -1,9 +1,10 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; +import {Rule} from './types'; -export default (parsed, when = 'never') => { +export const scopeEmpty: Rule = (parsed, when = 'never') => { const negated = when === 'always'; - const notEmpty = ensure.notEmpty(parsed.scope); + const notEmpty = ensure.notEmpty(parsed.scope || ''); return [ negated ? !notEmpty : notEmpty, message(['scope', negated ? 'must' : 'may not', 'be empty']) diff --git a/@commitlint/rules/src/scope-enum.test.js b/@commitlint/rules/src/scope-enum.test.ts similarity index 98% rename from @commitlint/rules/src/scope-enum.test.js rename to @commitlint/rules/src/scope-enum.test.ts index f9b3f5186d..5054eee6f9 100644 --- a/@commitlint/rules/src/scope-enum.test.js +++ b/@commitlint/rules/src/scope-enum.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import scopeEnum from './scope-enum'; +import {scopeEnum} from './scope-enum'; const messages = { plain: 'foo(bar): baz', diff --git a/@commitlint/rules/src/scope-enum.js b/@commitlint/rules/src/scope-enum.ts similarity index 76% rename from @commitlint/rules/src/scope-enum.js rename to @commitlint/rules/src/scope-enum.ts index 608811c9e7..0753ae0b8d 100644 --- a/@commitlint/rules/src/scope-enum.js +++ b/@commitlint/rules/src/scope-enum.ts @@ -1,7 +1,12 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const scopeEnum: Rule = ( + parsed, + when = 'always', + value = [] +) => { if (!parsed.scope) { return [true, '']; } diff --git a/@commitlint/rules/src/scope-max-length.test.js b/@commitlint/rules/src/scope-max-length.test.ts similarity index 70% rename from @commitlint/rules/src/scope-max-length.test.js rename to @commitlint/rules/src/scope-max-length.test.ts index 9ad8cd89ed..fb67d69639 100644 --- a/@commitlint/rules/src/scope-max-length.test.js +++ b/@commitlint/rules/src/scope-max-length.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './scope-max-length'; +import {scopeMaxLength} from './scope-max-length'; const short = 'a'; const long = 'ab'; @@ -19,19 +19,19 @@ const parsed = { }; test('with empty should succeed', async () => { - const [actual] = check(await parsed.empty, '', value); + const [actual] = scopeMaxLength(await parsed.empty, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with short should succeed', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = scopeMaxLength(await parsed.short, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with long should fail', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = scopeMaxLength(await parsed.long, undefined, value); const expected = false; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/scope-max-length.js b/@commitlint/rules/src/scope-max-length.ts similarity index 63% rename from @commitlint/rules/src/scope-max-length.js rename to @commitlint/rules/src/scope-max-length.ts index 3056203049..f6eabaa105 100644 --- a/@commitlint/rules/src/scope-max-length.js +++ b/@commitlint/rules/src/scope-max-length.ts @@ -1,6 +1,11 @@ import {maxLength} from '@commitlint/ensure'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const scopeMaxLength: Rule = ( + parsed, + when = undefined, + value = 0 +) => { const input = parsed.scope; if (!input) { diff --git a/@commitlint/rules/src/scope-min-length.test.js b/@commitlint/rules/src/scope-min-length.test.ts similarity index 70% rename from @commitlint/rules/src/scope-min-length.test.js rename to @commitlint/rules/src/scope-min-length.test.ts index 0167c51d7e..9e9fca8ea8 100644 --- a/@commitlint/rules/src/scope-min-length.test.js +++ b/@commitlint/rules/src/scope-min-length.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './scope-min-length'; +import {scopeMinLength} from './scope-min-length'; const short = 'a'; const long = 'ab'; @@ -19,19 +19,19 @@ const parsed = { }; test('with empty should succeed', async () => { - const [actual] = check(await parsed.empty, '', value); + const [actual] = scopeMinLength(await parsed.empty, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with short should fail', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = scopeMinLength(await parsed.short, undefined, value); const expected = false; expect(actual).toEqual(expected); }); test('with long should succeed', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = scopeMinLength(await parsed.long, undefined, value); const expected = true; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/scope-min-length.js b/@commitlint/rules/src/scope-min-length.ts similarity index 63% rename from @commitlint/rules/src/scope-min-length.js rename to @commitlint/rules/src/scope-min-length.ts index 4cfae8564e..cf307968ee 100644 --- a/@commitlint/rules/src/scope-min-length.js +++ b/@commitlint/rules/src/scope-min-length.ts @@ -1,6 +1,11 @@ import {minLength} from '@commitlint/ensure'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const scopeMinLength: Rule = ( + parsed, + when = undefined, + value = 0 +) => { const input = parsed.scope; if (!input) { return [true]; diff --git a/@commitlint/rules/src/signed-off-by.test.js b/@commitlint/rules/src/signed-off-by.test.ts similarity index 68% rename from @commitlint/rules/src/signed-off-by.test.js rename to @commitlint/rules/src/signed-off-by.test.ts index fe7b14ea5c..144cfcbc44 100644 --- a/@commitlint/rules/src/signed-off-by.test.js +++ b/@commitlint/rules/src/signed-off-by.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './signed-off-by'; +import {signedOffBy} from './signed-off-by'; const messages = { empty: 'test:\n', @@ -18,61 +18,73 @@ const parsed = { }; test('empty against "always signed-off-by" should fail', async () => { - const [actual] = check(await parsed.empty, 'always', 'Signed-off-by:'); + const [actual] = signedOffBy(await parsed.empty, 'always', 'Signed-off-by:'); const expected = false; expect(actual).toEqual(expected); }); test('empty against "never signed-off-by" should succeed', async () => { - const [actual] = check(await parsed.empty, 'never', 'Signed-off-by:'); + const [actual] = signedOffBy(await parsed.empty, 'never', 'Signed-off-by:'); const expected = true; expect(actual).toEqual(expected); }); test('with against "always signed-off-by" should succeed', async () => { - const [actual] = check(await parsed.with, 'always', 'Signed-off-by:'); + const [actual] = signedOffBy(await parsed.with, 'always', 'Signed-off-by:'); const expected = true; expect(actual).toEqual(expected); }); test('with against "never signed-off-by" should fail', async () => { - const [actual] = check(await parsed.with, 'never', 'Signed-off-by:'); + const [actual] = signedOffBy(await parsed.with, 'never', 'Signed-off-by:'); const expected = false; expect(actual).toEqual(expected); }); test('without against "always signed-off-by" should fail', async () => { - const [actual] = check(await parsed.without, 'always', 'Signed-off-by:'); + const [actual] = signedOffBy( + await parsed.without, + 'always', + 'Signed-off-by:' + ); const expected = false; expect(actual).toEqual(expected); }); test('without against "never signed-off-by" should succeed', async () => { - const [actual] = check(await parsed.without, 'never', 'Signed-off-by:'); + const [actual] = signedOffBy(await parsed.without, 'never', 'Signed-off-by:'); const expected = true; expect(actual).toEqual(expected); }); test('inSubject against "always signed-off-by" should fail', async () => { - const [actual] = check(await parsed.inSubject, 'always', 'Signed-off-by:'); + const [actual] = signedOffBy( + await parsed.inSubject, + 'always', + 'Signed-off-by:' + ); const expected = false; expect(actual).toEqual(expected); }); test('inSubject against "never signed-off-by" should succeed', async () => { - const [actual] = check(await parsed.inSubject, 'never', 'Signed-off-by:'); + const [actual] = signedOffBy( + await parsed.inSubject, + 'never', + 'Signed-off-by:' + ); const expected = true; expect(actual).toEqual(expected); }); test('inBody against "always signed-off-by" should fail', async () => { - const [actual] = check(await parsed.inBody, 'always', 'Signed-off-by:'); + const [actual] = signedOffBy(await parsed.inBody, 'always', 'Signed-off-by:'); const expected = false; expect(actual).toEqual(expected); }); test('inBody against "never signed-off-by" should succeed', async () => { - const [actual] = check(await parsed.inBody, 'never', 'Signed-off-by:'); + const [actual] = signedOffBy(await parsed.inBody, 'never', 'Signed-off-by:'); const expected = true; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/signed-off-by.js b/@commitlint/rules/src/signed-off-by.ts similarity index 76% rename from @commitlint/rules/src/signed-off-by.js rename to @commitlint/rules/src/signed-off-by.ts index a148988f8d..78d844b486 100644 --- a/@commitlint/rules/src/signed-off-by.js +++ b/@commitlint/rules/src/signed-off-by.ts @@ -1,7 +1,12 @@ import message from '@commitlint/message'; import toLines from '@commitlint/to-lines'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const signedOffBy: Rule = ( + parsed, + when = 'always', + value = '' +) => { const lines = toLines(parsed.raw).filter(Boolean); const last = lines[lines.length - 1]; diff --git a/@commitlint/rules/src/subject-case.test.js b/@commitlint/rules/src/subject-case.test.ts similarity index 99% rename from @commitlint/rules/src/subject-case.test.js rename to @commitlint/rules/src/subject-case.test.ts index 73c2051baf..95c2a49b8c 100644 --- a/@commitlint/rules/src/subject-case.test.js +++ b/@commitlint/rules/src/subject-case.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import subjectCase from './subject-case'; +import {subjectCase} from './subject-case'; const messages = { empty: 'test:\n', diff --git a/@commitlint/rules/src/subject-case.js b/@commitlint/rules/src/subject-case.ts similarity index 65% rename from @commitlint/rules/src/subject-case.js rename to @commitlint/rules/src/subject-case.ts index 5f2ad8fdd7..4694cf7194 100644 --- a/@commitlint/rules/src/subject-case.js +++ b/@commitlint/rules/src/subject-case.ts @@ -1,9 +1,14 @@ -import * as ensure from '@commitlint/ensure'; +import {TargetCaseType, case as ensureCase} from '@commitlint/ensure'; import message from '@commitlint/message'; +import {Rule} from './types'; -const negated = when => when === 'never'; +const negated = (when?: string) => when === 'never'; -export default (parsed, when, value) => { +export const subjectCase: Rule = ( + parsed, + when = 'always', + value = [] +) => { const {subject} = parsed; if (typeof subject !== 'string' || !subject.match(/^[a-z]/i)) { @@ -21,7 +26,7 @@ export default (parsed, when, value) => { }); const result = checks.some(check => { - const r = ensure.case(subject, check.case); + const r = ensureCase(subject, check.case); return negated(check.when) ? !r : r; }); diff --git a/@commitlint/rules/src/subject-empty.test.js b/@commitlint/rules/src/subject-empty.test.ts similarity index 96% rename from @commitlint/rules/src/subject-empty.test.js rename to @commitlint/rules/src/subject-empty.test.ts index f8e6ad142b..201e887970 100644 --- a/@commitlint/rules/src/subject-empty.test.js +++ b/@commitlint/rules/src/subject-empty.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import subjectEmpty from './subject-empty'; +import {subjectEmpty} from './subject-empty'; const messages = { empty: 'test: \nbody', diff --git a/@commitlint/rules/src/subject-empty.js b/@commitlint/rules/src/subject-empty.ts similarity index 61% rename from @commitlint/rules/src/subject-empty.js rename to @commitlint/rules/src/subject-empty.ts index 707947f2a3..331adb5a4e 100644 --- a/@commitlint/rules/src/subject-empty.js +++ b/@commitlint/rules/src/subject-empty.ts @@ -1,9 +1,10 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; +import {Rule} from './types'; -export default (parsed, when) => { +export const subjectEmpty: Rule = (parsed, when = 'always') => { const negated = when === 'never'; - const notEmpty = ensure.notEmpty(parsed.subject); + const notEmpty = ensure.notEmpty(parsed.subject || ''); return [ negated ? notEmpty : !notEmpty, diff --git a/@commitlint/rules/src/subject-full-stop.test.js b/@commitlint/rules/src/subject-full-stop.test.ts similarity index 67% rename from @commitlint/rules/src/subject-full-stop.test.js rename to @commitlint/rules/src/subject-full-stop.test.ts index bab1a051ed..f776d9645b 100644 --- a/@commitlint/rules/src/subject-full-stop.test.js +++ b/@commitlint/rules/src/subject-full-stop.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './subject-full-stop'; +import {subjectFullStop} from './subject-full-stop'; const messages = { empty: 'test:\n', @@ -14,37 +14,37 @@ const parsed = { }; test('empty against "always" should succeed', async () => { - const [actual] = check(await parsed.empty, 'always', '.'); + const [actual] = subjectFullStop(await parsed.empty, 'always', '.'); const expected = true; expect(actual).toEqual(expected); }); test('empty against "never ." should succeed', async () => { - const [actual] = check(await parsed.empty, 'never', '.'); + const [actual] = subjectFullStop(await parsed.empty, 'never', '.'); const expected = true; expect(actual).toEqual(expected); }); test('with against "always ." should succeed', async () => { - const [actual] = check(await parsed.with, 'always', '.'); + const [actual] = subjectFullStop(await parsed.with, 'always', '.'); const expected = true; expect(actual).toEqual(expected); }); test('with against "never ." should fail', async () => { - const [actual] = check(await parsed.with, 'never', '.'); + const [actual] = subjectFullStop(await parsed.with, 'never', '.'); const expected = false; expect(actual).toEqual(expected); }); test('without against "always ." should fail', async () => { - const [actual] = check(await parsed.without, 'always', '.'); + const [actual] = subjectFullStop(await parsed.without, 'always', '.'); const expected = false; expect(actual).toEqual(expected); }); test('without against "never ." should succeed', async () => { - const [actual] = check(await parsed.without, 'never', '.'); + const [actual] = subjectFullStop(await parsed.without, 'never', '.'); const expected = true; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/subject-full-stop.js b/@commitlint/rules/src/subject-full-stop.ts similarity index 72% rename from @commitlint/rules/src/subject-full-stop.js rename to @commitlint/rules/src/subject-full-stop.ts index 010a8f4c54..133f03b647 100644 --- a/@commitlint/rules/src/subject-full-stop.js +++ b/@commitlint/rules/src/subject-full-stop.ts @@ -1,6 +1,11 @@ import message from '@commitlint/message'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const subjectFullStop: Rule = ( + parsed, + when = 'always', + value = '.' +) => { const input = parsed.subject; if (!input) { diff --git a/@commitlint/rules/src/subject-max-length.test.js b/@commitlint/rules/src/subject-max-length.test.ts similarity index 70% rename from @commitlint/rules/src/subject-max-length.test.js rename to @commitlint/rules/src/subject-max-length.test.ts index 7765e56c10..b87c8a9318 100644 --- a/@commitlint/rules/src/subject-max-length.test.js +++ b/@commitlint/rules/src/subject-max-length.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './subject-max-length'; +import {subjectMaxLength} from './subject-max-length'; const short = 'a'; const long = 'ab'; @@ -19,19 +19,19 @@ const parsed = { }; test('with empty should succeed', async () => { - const [actual] = check(await parsed.empty, '', value); + const [actual] = subjectMaxLength(await parsed.empty, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with short should succeed', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = subjectMaxLength(await parsed.short, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with long should fail', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = subjectMaxLength(await parsed.long, undefined, value); const expected = false; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/subject-max-length.js b/@commitlint/rules/src/subject-max-length.ts similarity index 63% rename from @commitlint/rules/src/subject-max-length.js rename to @commitlint/rules/src/subject-max-length.ts index ba0f03e49c..af5000260f 100644 --- a/@commitlint/rules/src/subject-max-length.js +++ b/@commitlint/rules/src/subject-max-length.ts @@ -1,6 +1,11 @@ import {maxLength} from '@commitlint/ensure'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const subjectMaxLength: Rule = ( + parsed, + when = undefined, + value = 0 +) => { const input = parsed.subject; if (!input) { diff --git a/@commitlint/rules/src/subject-min-length.test.js b/@commitlint/rules/src/subject-min-length.test.ts similarity index 70% rename from @commitlint/rules/src/subject-min-length.test.js rename to @commitlint/rules/src/subject-min-length.test.ts index e6b5a78a95..dfb68fd37d 100644 --- a/@commitlint/rules/src/subject-min-length.test.js +++ b/@commitlint/rules/src/subject-min-length.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './subject-min-length'; +import {subjectMinLength} from './subject-min-length'; const short = 'a'; const long = 'ab'; @@ -19,19 +19,19 @@ const parsed = { }; test('with empty should succeed', async () => { - const [actual] = check(await parsed.empty, '', value); + const [actual] = subjectMinLength(await parsed.empty, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with short should fail', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = subjectMinLength(await parsed.short, undefined, value); const expected = false; expect(actual).toEqual(expected); }); test('with long should succeed', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = subjectMinLength(await parsed.long, undefined, value); const expected = true; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/subject-min-length.js b/@commitlint/rules/src/subject-min-length.ts similarity index 63% rename from @commitlint/rules/src/subject-min-length.js rename to @commitlint/rules/src/subject-min-length.ts index 0161b2ac80..5f86be8949 100644 --- a/@commitlint/rules/src/subject-min-length.js +++ b/@commitlint/rules/src/subject-min-length.ts @@ -1,6 +1,11 @@ import {minLength} from '@commitlint/ensure'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const subjectMinLength: Rule = ( + parsed, + when = undefined, + value = 0 +) => { const input = parsed.subject; if (!input) { return [true]; diff --git a/@commitlint/rules/src/type-case.test.js b/@commitlint/rules/src/type-case.test.ts similarity index 99% rename from @commitlint/rules/src/type-case.test.js rename to @commitlint/rules/src/type-case.test.ts index 0b69aa5500..2795ac610f 100644 --- a/@commitlint/rules/src/type-case.test.js +++ b/@commitlint/rules/src/type-case.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import typeCase from './type-case'; +import {typeCase} from './type-case'; const messages = { empty: '(scope): subject', diff --git a/@commitlint/rules/src/type-case.js b/@commitlint/rules/src/type-case.ts similarity index 63% rename from @commitlint/rules/src/type-case.js rename to @commitlint/rules/src/type-case.ts index c13144f006..2fc37ec35f 100644 --- a/@commitlint/rules/src/type-case.js +++ b/@commitlint/rules/src/type-case.ts @@ -1,9 +1,14 @@ -import * as ensure from '@commitlint/ensure'; +import {TargetCaseType, case as ensureCase} from '@commitlint/ensure'; import message from '@commitlint/message'; +import {Rule} from './types'; -const negated = when => when === 'never'; +const negated = (when?: string) => when === 'never'; -export default (parsed, when, value) => { +export const typeCase: Rule = ( + parsed, + when = 'always', + value = [] +) => { const {type} = parsed; if (!type) { @@ -21,7 +26,7 @@ export default (parsed, when, value) => { }); const result = checks.some(check => { - const r = ensure.case(type, check.case); + const r = ensureCase(type, check.case); return negated(check.when) ? !r : r; }); diff --git a/@commitlint/rules/src/type-empty.test.js b/@commitlint/rules/src/type-empty.test.ts similarity index 96% rename from @commitlint/rules/src/type-empty.test.js rename to @commitlint/rules/src/type-empty.test.ts index 01e29da5e7..1237044498 100644 --- a/@commitlint/rules/src/type-empty.test.js +++ b/@commitlint/rules/src/type-empty.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import typeEmpty from './type-empty'; +import {typeEmpty} from './type-empty'; const messages = { empty: '(scope):', diff --git a/@commitlint/rules/src/type-empty.js b/@commitlint/rules/src/type-empty.ts similarity index 61% rename from @commitlint/rules/src/type-empty.js rename to @commitlint/rules/src/type-empty.ts index bb946a3c82..667f6dfba0 100644 --- a/@commitlint/rules/src/type-empty.js +++ b/@commitlint/rules/src/type-empty.ts @@ -1,9 +1,10 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; +import {Rule} from './types'; -export default (parsed, when) => { +export const typeEmpty: Rule = (parsed, when = 'always') => { const negated = when === 'never'; - const notEmpty = ensure.notEmpty(parsed.type); + const notEmpty = ensure.notEmpty(parsed.type || ''); return [ negated ? notEmpty : !notEmpty, message(['type', negated ? 'may not' : 'must', 'be empty']) diff --git a/@commitlint/rules/src/type-enum.test.js b/@commitlint/rules/src/type-enum.test.ts similarity index 65% rename from @commitlint/rules/src/type-enum.test.js rename to @commitlint/rules/src/type-enum.test.ts index 63957bb5c9..56a28ec26a 100644 --- a/@commitlint/rules/src/type-enum.test.js +++ b/@commitlint/rules/src/type-enum.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './type-enum'; +import {typeEnum} from './type-enum'; const messages = { empty: '(): \n', @@ -14,109 +14,109 @@ const parsed = { }; test('empty succeeds', async () => { - const [actual] = check(await parsed.empty); + const [actual] = typeEnum(await parsed.empty); const expected = true; expect(actual).toEqual(expected); }); test('empty on "a" succeeds', async () => { - const [actual] = check(await parsed.empty, '', ['a']); + const [actual] = typeEnum(await parsed.empty, undefined, ['a']); const expected = true; expect(actual).toEqual(expected); }); test('empty on "always a" succeeds', async () => { - const [actual] = check(await parsed.empty, 'always', ['a']); + const [actual] = typeEnum(await parsed.empty, 'always', ['a']); const expected = true; expect(actual).toEqual(expected); }); test('empty on "never a" succeeds', async () => { - const [actual] = check(await parsed.empty, 'never', ['a']); + const [actual] = typeEnum(await parsed.empty, 'never', ['a']); const expected = true; expect(actual).toEqual(expected); }); test('empty on "always a, b" succeeds', async () => { - const [actual] = check(await parsed.empty, 'always', ['a', 'b']); + const [actual] = typeEnum(await parsed.empty, 'always', ['a', 'b']); const expected = true; expect(actual).toEqual(expected); }); test('empty on "never a, b" succeeds', async () => { - const [actual] = check(await parsed.empty, 'neber', ['a', 'b']); + const [actual] = typeEnum(await parsed.empty, 'never', ['a', 'b']); const expected = true; expect(actual).toEqual(expected); }); test('a on "a" succeeds', async () => { - const [actual] = check(await parsed.a, '', ['a']); + const [actual] = typeEnum(await parsed.a, undefined, ['a']); const expected = true; expect(actual).toEqual(expected); }); test('a on "always a" succeeds', async () => { - const [actual] = check(await parsed.a, 'always', ['a']); + const [actual] = typeEnum(await parsed.a, 'always', ['a']); const expected = true; expect(actual).toEqual(expected); }); test('a on "never a" fails', async () => { - const [actual] = check(await parsed.a, 'never', ['a']); + const [actual] = typeEnum(await parsed.a, 'never', ['a']); const expected = false; expect(actual).toEqual(expected); }); test('b on "b" succeeds', async () => { - const [actual] = check(await parsed.b, '', ['b']); + const [actual] = typeEnum(await parsed.b, undefined, ['b']); const expected = true; expect(actual).toEqual(expected); }); test('b on "always b" succeeds', async () => { - const [actual] = check(await parsed.b, 'always', ['b']); + const [actual] = typeEnum(await parsed.b, 'always', ['b']); const expected = true; expect(actual).toEqual(expected); }); test('b on "never b" fails', async () => { - const [actual] = check(await parsed.b, 'never', ['b']); + const [actual] = typeEnum(await parsed.b, 'never', ['b']); const expected = false; expect(actual).toEqual(expected); }); test('a on "a, b" succeeds', async () => { - const [actual] = check(await parsed.a, '', ['a', 'b']); + const [actual] = typeEnum(await parsed.a, undefined, ['a', 'b']); const expected = true; expect(actual).toEqual(expected); }); test('a on "always a, b" succeeds', async () => { - const [actual] = check(await parsed.a, 'always', ['a', 'b']); + const [actual] = typeEnum(await parsed.a, 'always', ['a', 'b']); const expected = true; expect(actual).toEqual(expected); }); test('a on "never a, b" fails', async () => { - const [actual] = check(await parsed.a, 'never', ['a', 'b']); + const [actual] = typeEnum(await parsed.a, 'never', ['a', 'b']); const expected = false; expect(actual).toEqual(expected); }); test('b on "a, b" succeeds', async () => { - const [actual] = check(await parsed.b, '', ['a', 'b']); + const [actual] = typeEnum(await parsed.b, undefined, ['a', 'b']); const expected = true; expect(actual).toEqual(expected); }); test('b on "always a, b" succeeds', async () => { - const [actual] = check(await parsed.b, 'always', ['a', 'b']); + const [actual] = typeEnum(await parsed.b, 'always', ['a', 'b']); const expected = true; expect(actual).toEqual(expected); }); test('b on "never a, b" fails', async () => { - const [actual] = check(await parsed.b, 'never', ['a', 'b']); + const [actual] = typeEnum(await parsed.b, 'never', ['a', 'b']); const expected = false; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/type-enum.js b/@commitlint/rules/src/type-enum.ts similarity index 76% rename from @commitlint/rules/src/type-enum.js rename to @commitlint/rules/src/type-enum.ts index 7bd662059a..974f94fc6b 100644 --- a/@commitlint/rules/src/type-enum.js +++ b/@commitlint/rules/src/type-enum.ts @@ -1,7 +1,12 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const typeEnum: Rule = ( + parsed, + when = 'always', + value = [] +) => { const {type: input} = parsed; if (!input) { diff --git a/@commitlint/rules/src/type-max-length.test.js b/@commitlint/rules/src/type-max-length.test.ts similarity index 70% rename from @commitlint/rules/src/type-max-length.test.js rename to @commitlint/rules/src/type-max-length.test.ts index 537317f5f0..297c8210f2 100644 --- a/@commitlint/rules/src/type-max-length.test.js +++ b/@commitlint/rules/src/type-max-length.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './type-max-length'; +import {typeMaxLength} from './type-max-length'; const short = 'a'; const long = 'ab'; @@ -19,19 +19,19 @@ const parsed = { }; test('with empty should succeed', async () => { - const [actual] = check(await parsed.empty, '', value); + const [actual] = typeMaxLength(await parsed.empty, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with short should succeed', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = typeMaxLength(await parsed.short, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with long should fail', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = typeMaxLength(await parsed.long, undefined, value); const expected = false; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/type-max-length.js b/@commitlint/rules/src/type-max-length.ts similarity index 63% rename from @commitlint/rules/src/type-max-length.js rename to @commitlint/rules/src/type-max-length.ts index eb60ca12f4..fc06da43a6 100644 --- a/@commitlint/rules/src/type-max-length.js +++ b/@commitlint/rules/src/type-max-length.ts @@ -1,6 +1,11 @@ import {maxLength} from '@commitlint/ensure'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const typeMaxLength: Rule = ( + parsed, + when = undefined, + value = 0 +) => { const input = parsed.type; if (!input) { diff --git a/@commitlint/rules/src/type-min-length.test.js b/@commitlint/rules/src/type-min-length.test.ts similarity index 70% rename from @commitlint/rules/src/type-min-length.test.js rename to @commitlint/rules/src/type-min-length.test.ts index 6c9019ddf3..f4468c2fd7 100644 --- a/@commitlint/rules/src/type-min-length.test.js +++ b/@commitlint/rules/src/type-min-length.test.ts @@ -1,5 +1,5 @@ import parse from '@commitlint/parse'; -import check from './type-min-length'; +import {typeMinLength} from './type-min-length'; const short = 'a'; const long = 'ab'; @@ -19,19 +19,19 @@ const parsed = { }; test('with empty should succeed', async () => { - const [actual] = check(await parsed.empty, '', value); + const [actual] = typeMinLength(await parsed.empty, undefined, value); const expected = true; expect(actual).toEqual(expected); }); test('with short should fail', async () => { - const [actual] = check(await parsed.short, '', value); + const [actual] = typeMinLength(await parsed.short, undefined, value); const expected = false; expect(actual).toEqual(expected); }); test('with long should succeed', async () => { - const [actual] = check(await parsed.long, '', value); + const [actual] = typeMinLength(await parsed.long, undefined, value); const expected = true; expect(actual).toEqual(expected); }); diff --git a/@commitlint/rules/src/type-min-length.js b/@commitlint/rules/src/type-min-length.ts similarity index 63% rename from @commitlint/rules/src/type-min-length.js rename to @commitlint/rules/src/type-min-length.ts index 6c3f118f84..663091e989 100644 --- a/@commitlint/rules/src/type-min-length.js +++ b/@commitlint/rules/src/type-min-length.ts @@ -1,6 +1,11 @@ import {minLength} from '@commitlint/ensure'; +import {Rule} from './types'; -export default (parsed, when, value) => { +export const typeMinLength: Rule = ( + parsed, + when = undefined, + value = 0 +) => { const input = parsed.type; if (!input) { return [true]; diff --git a/@commitlint/rules/src/types.ts b/@commitlint/rules/src/types.ts new file mode 100644 index 0000000000..968f80f358 --- /dev/null +++ b/@commitlint/rules/src/types.ts @@ -0,0 +1,25 @@ +import {Commit} from '@commitlint/parse'; + +/** + * Rules always have a condition. + * It can be either "always" (as tested), or "never" (as tested). + * For example, `header-full-stop` can be enforced as "always" or "never". + */ +export type RuleCondition = 'always' | 'never'; + +/** + * Rules match the input either as successful or failed. + * For example, when `header-full-stop` detects a full stop and is set as "always"; it's true. + * If the `header-full-stop` discovers a full stop but is set to "never"; it's false. + */ +export type RuleOutcome = [boolean, string?]; + +/** + * Rules receive a parsed commit, condition, and possible additional settings through value. + * All rules should provide the most sensible rule condition and value. + */ +export type Rule = ( + parsed: Commit, + when?: RuleCondition, + value?: Value +) => RuleOutcome; diff --git a/@commitlint/rules/tsconfig.json b/@commitlint/rules/tsconfig.json new file mode 100644 index 0000000000..f4a57643f0 --- /dev/null +++ b/@commitlint/rules/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": [ + "./src" + ], + "exclude": [ + "./src/**/*.test.ts", + "./lib/**/*" + ] +} diff --git a/jest.config.js b/jest.config.js index cb5fe8fb5d..8ef1d77fda 100644 --- a/jest.config.js +++ b/jest.config.js @@ -2,5 +2,5 @@ module.exports = { preset: 'ts-jest/presets/js-with-babel', testEnvironment: 'node', testRegex: undefined, - testMatch: ['**/*.test.ts?(x)', '**/@commitlint/rules/src/*.test.js?(x)'] + testMatch: ['**/*.test.ts?(x)'] }; diff --git a/tsconfig.json b/tsconfig.json index 02b03b0b40..3396fb062b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,6 +11,7 @@ { "path": "@commitlint/parse" }, { "path": "@commitlint/resolve-extends" }, { "path": "@commitlint/to-lines" }, - { "path": "@commitlint/top-level" }, + { "path": "@commitlint/top-level" }, + { "path": "@commitlint/rules" } ] } From b01152dd9de1a6ff0c05dd944c03bbfced218683 Mon Sep 17 00:00:00 2001 From: Armano Date: Sun, 26 Jan 2020 18:27:01 +0100 Subject: [PATCH 0013/2192] test(rules): migrate read tests from ava to jest (#904) Co-authored-by: Cedric van Putten --- @commitlint/read/package.json | 22 ---------------------- @commitlint/read/src/index.test.js | 17 ++++++++--------- jest.config.js | 5 ++++- 3 files changed, 12 insertions(+), 32 deletions(-) diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 89b93d8928..703026c6ef 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -11,29 +11,8 @@ "deps": "dep-check", "pkg": "pkg-check --skip-import", "start": "concurrently \"ava -c 4 --verbose --watch\" \"yarn run watch\"", - "test": "ava -c 4 --verbose", "watch": "babel src --out-dir lib --watch --source-maps" }, - "ava": { - "files": [ - "src/**/*.test.js", - "!lib/**/*" - ], - "source": [ - "src/**/*.js", - "!lib/**/*" - ], - "babel": { - "testOptions": { - "presets": [ - "babel-preset-commitlint" - ] - } - }, - "require": [ - "@babel/register" - ] - }, "babel": { "presets": [ "babel-preset-commitlint" @@ -67,7 +46,6 @@ "@babel/register": "7.7.7", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "ava": "2.4.0", "babel-preset-commitlint": "^8.2.0", "concurrently": "3.6.1", "cross-env": "6.0.3", diff --git a/@commitlint/read/src/index.test.js b/@commitlint/read/src/index.test.js index 4c4b93c4a7..87a4fbb133 100644 --- a/@commitlint/read/src/index.test.js +++ b/@commitlint/read/src/index.test.js @@ -1,21 +1,20 @@ import {git} from '@commitlint/test'; -import test from 'ava'; import execa from 'execa'; import * as sander from '@marionebl/sander'; import read from '.'; -test('get edit commit message specified by the `edit` flag', async t => { +test('get edit commit message specified by the `edit` flag', async () => { const cwd = await git.bootstrap(); await sander.writeFile(cwd, 'commit-msg-file', 'foo'); const expected = ['foo\n']; const actual = await read({edit: 'commit-msg-file', cwd}); - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('get edit commit message from git root', async t => { +test('get edit commit message from git root', async () => { const cwd = await git.bootstrap(); await sander.writeFile(cwd, 'alpha.txt', 'alpha'); @@ -23,10 +22,10 @@ test('get edit commit message from git root', async t => { await execa('git', ['commit', '-m', 'alpha'], {cwd}); const expected = ['alpha\n\n']; const actual = await read({edit: true, cwd}); - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('get history commit messages', async t => { +test('get history commit messages', async () => { const cwd = await git.bootstrap(); await sander.writeFile(cwd, 'alpha.txt', 'alpha'); await execa('git', ['add', 'alpha.txt'], {cwd}); @@ -36,10 +35,10 @@ test('get history commit messages', async t => { const expected = ['remove alpha\n\n', 'alpha\n\n']; const actual = await read({cwd}); - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); -test('get edit commit message from git subdirectory', async t => { +test('get edit commit message from git subdirectory', async () => { const cwd = await git.bootstrap(); await sander.mkdir(cwd, 'beta'); await sander.writeFile(cwd, 'beta/beta.txt', 'beta'); @@ -49,5 +48,5 @@ test('get edit commit message from git subdirectory', async t => { const expected = ['beta\n\n']; const actual = await read({edit: true, cwd}); - t.deepEqual(actual, expected); + expect(actual).toEqual(expected); }); diff --git a/jest.config.js b/jest.config.js index 8ef1d77fda..4e334e0d5d 100644 --- a/jest.config.js +++ b/jest.config.js @@ -2,5 +2,8 @@ module.exports = { preset: 'ts-jest/presets/js-with-babel', testEnvironment: 'node', testRegex: undefined, - testMatch: ['**/*.test.ts?(x)'] + testMatch: [ + '**/*.test.ts?(x)', + '**/@commitlint/read/src/*.test.js?(x)' + ] }; From bc548de1b7e767dbb76bbc1dd8c3fb39b70d10fa Mon Sep 17 00:00:00 2001 From: Armano Date: Sun, 26 Jan 2020 20:53:12 +0100 Subject: [PATCH 0014/2192] refactor(test): port test utils to typescript (#906) * chore: refactor test utils to typescript * test: fix new unit test after rebase * chore: apply changes from review * chore: restore launch.json --- .gitignore | 2 +- .vscode/launch.json | 24 +++++++ @commitlint/cli/package.json | 3 +- @packages/test/package.json | 47 ++----------- @packages/test/src/fix.js | 25 ------- @packages/test/src/fix.ts | 24 +++++++ @packages/test/src/git.js | 48 ------------- @packages/test/src/git.ts | 34 +++++++++ @packages/test/src/index.test.js | 14 ---- @packages/test/src/index.test.ts | 32 +++++++++ @packages/test/src/{index.js => index.ts} | 0 @packages/test/src/{npm.js => npm.ts} | 9 ++- @packages/test/tsconfig.json | 15 ++++ tsconfig.json | 1 + yarn.lock | 85 ++++++----------------- 15 files changed, 163 insertions(+), 200 deletions(-) create mode 100644 .vscode/launch.json delete mode 100644 @packages/test/src/fix.js create mode 100644 @packages/test/src/fix.ts delete mode 100644 @packages/test/src/git.js create mode 100644 @packages/test/src/git.ts delete mode 100644 @packages/test/src/index.test.js create mode 100644 @packages/test/src/index.test.ts rename @packages/test/src/{index.js => index.ts} (100%) rename @packages/test/src/{npm.js => npm.ts} (50%) create mode 100644 @packages/test/tsconfig.json diff --git a/.gitignore b/.gitignore index db0f60a669..8e1e11b2d8 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,4 @@ package-lock.json lib/ package.json.lerna_backup /*.iml -tsconfig.tsbuildinfo \ No newline at end of file +tsconfig.tsbuildinfo diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000000..a1d47c049f --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,24 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Jest Test Current file", + "program": "${workspaceFolder}/node_modules/jest/bin/jest.js", + "cwd": "${workspaceFolder}", + "args": [ + "--runInBand", + "--no-cache", + "--no-coverage", + "${fileBasename}" + ], + "sourceMaps": true, + "console": "integratedTerminal", + "internalConsoleOptions": "neverOpen" + } + ] +} diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index b166b30672..fe0f78104d 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -67,8 +67,7 @@ "pkg-dir": "4.2.0", "resolve-bin": "0.4.0", "sander": "0.6.0", - "string-to-stream": "3.0.1", - "tmp": "0.1.0" + "string-to-stream": "3.0.1" }, "dependencies": { "@commitlint/format": "^8.3.4", diff --git a/@packages/test/package.json b/@packages/test/package.json index eb0f52e2bd..4eb1be872d 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -6,37 +6,6 @@ "files": [ "lib/" ], - "scripts": { - "build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps", - "start": "concurrently \"ava --watch --verbose\" \"yarn run watch\"", - "test": "ava --verbose", - "watch": "babel src --out-dir lib --watch --source-maps" - }, - "ava": { - "files": [ - "src/**/*.test.js", - "!lib/**/*" - ], - "source": [ - "src/**/*.js", - "!lib/**/*" - ], - "babel": { - "testOptions": { - "presets": [ - "babel-preset-commitlint" - ] - } - }, - "require": [ - "@babel/register" - ] - }, - "babel": { - "presets": [ - "babel-preset-commitlint" - ] - }, "engines": { "node": ">=4" }, @@ -59,16 +28,12 @@ }, "license": "MIT", "dependencies": { - "@marionebl/sander": "0.6.1", + "@types/execa": "^0.9.0", + "@types/fs-extra": "^8.0.1", + "@types/tmp": "^0.1.0", "execa": "0.11.0", - "pkg-dir": "4.2.0" - }, - "devDependencies": { - "@babel/core": "^7.7.7", - "@babel/cli": "^7.7.7", - "@babel/register": "^7.7.7", - "babel-preset-commitlint": "^8.2.0", - "concurrently": "3.5.1", - "cross-env": "5.1.1" + "fs-extra": "^8.1.0", + "pkg-dir": "4.2.0", + "tmp": "0.1.0" } } diff --git a/@packages/test/src/fix.js b/@packages/test/src/fix.js deleted file mode 100644 index 14b88b58c4..0000000000 --- a/@packages/test/src/fix.js +++ /dev/null @@ -1,25 +0,0 @@ -import crypto from 'crypto'; -import os from 'os'; -import path from 'path'; - -import * as sander from '@marionebl/sander'; -import pkgDir from 'pkg-dir'; - -export {bootstrap}; - -async function bootstrap(fixture) { - const cwd = path.join(os.tmpdir(), rand()); - - if (typeof fixture !== 'undefined') { - await sander.copydir(await pkgDir(), fixture).to(cwd); - } - - return cwd; -} - -function rand() { - return crypto - .randomBytes(Math.ceil(6)) - .toString('hex') - .slice(0, 12); -} diff --git a/@packages/test/src/fix.ts b/@packages/test/src/fix.ts new file mode 100644 index 0000000000..3e178d87c2 --- /dev/null +++ b/@packages/test/src/fix.ts @@ -0,0 +1,24 @@ +import tmp from 'tmp'; +import fs from 'fs-extra'; +import path from 'path'; +import pkgDir from 'pkg-dir'; + +async function bootstrap(fixture?: string): Promise { + const tmpDir = tmp.dirSync({ + keep: false, + unsafeCleanup: true + }); + + if (typeof fixture !== 'undefined') { + const packageDir = await pkgDir(); + if (!packageDir) { + throw new Error(`ENOENT, no such file or directory '${packageDir}'`); + } + + await fs.copy(path.join(packageDir, fixture), tmpDir.name); + } + + return tmpDir.name; +} + +export {bootstrap}; diff --git a/@packages/test/src/git.js b/@packages/test/src/git.js deleted file mode 100644 index b83167235b..0000000000 --- a/@packages/test/src/git.js +++ /dev/null @@ -1,48 +0,0 @@ -import crypto from 'crypto'; -import os from 'os'; -import path from 'path'; - -import * as sander from '@marionebl/sander'; -import execa from 'execa'; -import pkgDir from 'pkg-dir'; - -export async function bootstrap(fixture) { - const cwd = path.join(os.tmpdir(), rand()); - - if (typeof fixture !== 'undefined') { - await sander.copydir(await pkgDir(), fixture).to(cwd); - } - - await init(cwd); - return cwd; -} - -export async function clone(source, ...args) { - const cwd = path.join(os.tmpdir(), rand()); - await execa('git', ['clone', ...args, source, cwd]); - await setup(cwd); - return cwd; -} - -export async function init(cwd) { - await execa('git', ['init', cwd]); - await setup(cwd); - return cwd; -} - -async function setup(cwd) { - try { - await execa('git', ['config', 'user.name', 'ava'], {cwd}); - await execa('git', ['config', 'user.email', 'test@example.com'], {cwd}); - await execa('git', ['config', 'commit.gpgsign', 'false'], {cwd}); - } catch (err) { - console.warn(`git config in ${cwd} failed`, err.message); - } -} - -function rand() { - return crypto - .randomBytes(Math.ceil(6)) - .toString('hex') - .slice(0, 12); -} diff --git a/@packages/test/src/git.ts b/@packages/test/src/git.ts new file mode 100644 index 0000000000..c263e85ceb --- /dev/null +++ b/@packages/test/src/git.ts @@ -0,0 +1,34 @@ +import execa from 'execa'; + +import * as fix from './fix'; + +export async function bootstrap(fixture?: string) { + const cwd = await fix.bootstrap(fixture); + + await init(cwd); + return cwd; +} + +export async function clone(source: string, ...args: string[]) { + const cwd = await fix.bootstrap(); + + await execa('git', ['clone', ...args, source, cwd]); + await setup(cwd); + return cwd; +} + +export async function init(cwd: string) { + await execa('git', ['init', cwd]); + await setup(cwd); + return cwd; +} + +async function setup(cwd: string) { + try { + await execa('git', ['config', 'user.name', 'ava'], {cwd}); + await execa('git', ['config', 'user.email', 'test@example.com'], {cwd}); + await execa('git', ['config', 'commit.gpgsign', 'false'], {cwd}); + } catch (err) { + console.warn(`git config in ${cwd} failed`, err.message); + } +} diff --git a/@packages/test/src/index.test.js b/@packages/test/src/index.test.js deleted file mode 100644 index a56b32c973..0000000000 --- a/@packages/test/src/index.test.js +++ /dev/null @@ -1,14 +0,0 @@ -import test from 'ava'; -import * as u from '.'; - -test('exports a git namespace', t => { - t.is(typeof u.git, 'object'); -}); - -test('git namespace has bootstrap', t => { - t.is(typeof u.git.bootstrap, 'function'); -}); - -test('git namespace has clone', t => { - t.is(typeof u.git.clone, 'function'); -}); diff --git a/@packages/test/src/index.test.ts b/@packages/test/src/index.test.ts new file mode 100644 index 0000000000..1865e8b1e6 --- /dev/null +++ b/@packages/test/src/index.test.ts @@ -0,0 +1,32 @@ +import * as u from '.'; +import os from 'os'; +import path from 'path'; +import fs from 'fs-extra'; + +test('exports a git namespace', () => { + expect(typeof u.git).toBe('object'); +}); + +test('git namespace has bootstrap', () => { + expect(typeof u.git.bootstrap).toBe('function'); +}); + +test('git namespace has clone', () => { + expect(typeof u.git.clone).toBe('function'); +}); + +test('expect to create tmp directory', async () => { + const directory = await u.git.bootstrap(); + expect(directory).toContain('tmp-'); + expect(directory).toContain(os.tmpdir()); +}); + +test('expect to create tmp from directory from src', async () => { + const directory = await u.git.bootstrap('.github'); + expect(directory).toContain('tmp-'); + expect(directory).toContain(os.tmpdir()); + expect(fs.existsSync(directory)).toBeTruthy(); + + const indexFile = path.join(directory, 'ISSUE_TEMPLATE.md'); + expect(fs.existsSync(indexFile)).toBeTruthy(); +}); diff --git a/@packages/test/src/index.js b/@packages/test/src/index.ts similarity index 100% rename from @packages/test/src/index.js rename to @packages/test/src/index.ts diff --git a/@packages/test/src/npm.js b/@packages/test/src/npm.ts similarity index 50% rename from @packages/test/src/npm.js rename to @packages/test/src/npm.ts index ea9d90479f..8610fc43ba 100644 --- a/@packages/test/src/npm.js +++ b/@packages/test/src/npm.ts @@ -1,14 +1,13 @@ import execa from 'execa'; -import * as sander from '@marionebl/sander'; +import path from 'path'; +import fs from 'fs-extra'; import * as git from './git'; -export {bootstrap}; - -async function bootstrap(fixture) { +export async function bootstrap(fixture: string) { const cwd = await git.bootstrap(fixture); - if (await sander.exists(cwd, 'package.json')) { + if (await fs.pathExists(path.join(cwd, 'package.json'))) { await execa('npm', ['install'], {cwd}); } diff --git a/@packages/test/tsconfig.json b/@packages/test/tsconfig.json new file mode 100644 index 0000000000..f4a57643f0 --- /dev/null +++ b/@packages/test/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": [ + "./src" + ], + "exclude": [ + "./src/**/*.test.ts", + "./lib/**/*" + ] +} diff --git a/tsconfig.json b/tsconfig.json index 3396fb062b..bece0d1aff 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ "include": [], "extends": "./tsconfig.shared.json", "references": [ + { "path": "@packages/test" }, { "path": "@commitlint/ensure" }, { "path": "@commitlint/execute-rule" }, { "path": "@commitlint/format" }, diff --git a/yarn.lock b/yarn.lock index 4f9a1a15df..32df2547ef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1811,11 +1811,25 @@ resolved "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" integrity sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g== +"@types/execa@^0.9.0": + version "0.9.0" + resolved "https://registry.npmjs.org/@types/execa/-/execa-0.9.0.tgz#9b025d2755f17e80beaf9368c3f4f319d8b0fb93" + integrity sha512-mgfd93RhzjYBUHHV532turHC2j4l/qxsF/PbfDmprHDEUHmNZGlDn1CEsulGK3AfsPdhkWzZQT/S/k0UGhLGsA== + dependencies: + "@types/node" "*" + "@types/find-up@2.1.1": version "2.1.1" resolved "https://registry.npmjs.org/@types/find-up/-/find-up-2.1.1.tgz#1cd2d240f1ad1f48d32346074724dc3107248a11" integrity sha512-60LC501bQRN9/3yfVaEEMd7IndaufffL56PBRAejPpUrY304Ps1jfnjNqPw5jmM5R8JHWiKBAe5IHzNcPV41AA== +"@types/fs-extra@^8.0.1": + version "8.0.1" + resolved "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.0.1.tgz#a2378d6e7e8afea1564e44aafa2e207dadf77686" + integrity sha512-J00cVDALmi/hJOYsunyT52Hva5TnJeKP5yd1r+mH/ZU0mbYZflR0Z5kw5kITtKTRYMhm1JMClOFYdHnQszEvqw== + dependencies: + "@types/node" "*" + "@types/glob@^7.1.1": version "7.1.1" resolved "https://registry.npmjs.org/@types/glob/-/glob-7.1.1.tgz#aa59a1c6e3fbc421e07ccd31a944c30eba521575" @@ -1916,6 +1930,11 @@ resolved "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e" integrity sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw== +"@types/tmp@^0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@types/tmp/-/tmp-0.1.0.tgz#19cf73a7bcf641965485119726397a096f0049bd" + integrity sha512-6IwZ9HzWbCq6XoQWhxLpDjuADodH/MKXRUIDFudvgjcVdjFknvmR+DNsoUeer4XPrEnrZs04Jj+kfV9pFsrhmA== + "@types/yargs-parser@*": version "13.1.0" resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-13.1.0.tgz#c563aa192f39350a1d18da36c5a8da382bbd8228" @@ -2040,11 +2059,6 @@ ansi-escapes@^4.2.1: dependencies: type-fest "^0.8.1" -ansi-regex@^0.2.0, ansi-regex@^0.2.1: - version "0.2.1" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-0.2.1.tgz#0d8e946967a3d8143f93e24e298525fc1b2235f9" - integrity sha1-DY6UaWej2BQ/k+JOKYUl/BsiNfk= - ansi-regex@^2.0.0: version "2.1.1" resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" @@ -2065,11 +2079,6 @@ ansi-regex@^5.0.0: resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== -ansi-styles@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.1.0.tgz#eaecbf66cd706882760b2f4691582b8f55d7a7de" - integrity sha1-6uy/Zs1waIJ2Cy9GkVgrj1XXp94= - ansi-styles@^2.2.1: version "2.2.1" resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" @@ -2821,17 +2830,6 @@ caseless@~0.12.0: resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= -chalk@0.5.1: - version "0.5.1" - resolved "https://registry.npmjs.org/chalk/-/chalk-0.5.1.tgz#663b3a648b68b55d04690d49167aa837858f2174" - integrity sha1-Zjs6ZItotV0EaQ1JFnqoN4WPIXQ= - dependencies: - ansi-styles "^1.1.0" - escape-string-regexp "^1.0.0" - has-ansi "^0.1.0" - strip-ansi "^0.3.0" - supports-color "^0.2.0" - chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" @@ -3218,20 +3216,6 @@ concordance@^4.0.0: semver "^5.5.1" well-known-symbols "^2.0.0" -concurrently@3.5.1: - version "3.5.1" - resolved "https://registry.npmjs.org/concurrently/-/concurrently-3.5.1.tgz#ee8b60018bbe86b02df13e5249453c6ececd2521" - integrity sha512-689HrwGw8Rbk1xtV9C4dY6TPJAvIYZbRbnKSAtfJ7tHqICFGoZ0PCWYjxfmerRyxBG0o3sbG3pe7N8vqPwIHuQ== - dependencies: - chalk "0.5.1" - commander "2.6.0" - date-fns "^1.23.0" - lodash "^4.5.1" - rx "2.3.24" - spawn-command "^0.0.2-1" - supports-color "^3.2.3" - tree-kill "^1.1.0" - concurrently@3.6.1: version "3.6.1" resolved "https://registry.npmjs.org/concurrently/-/concurrently-3.6.1.tgz#2f95baec5c4051294dfbb55b57a3b98a3e2b45ec" @@ -3484,14 +3468,6 @@ create-error-class@^3.0.0: dependencies: capture-stack-trace "^1.0.0" -cross-env@5.1.1: - version "5.1.1" - resolved "https://registry.npmjs.org/cross-env/-/cross-env-5.1.1.tgz#b6d8ab97f304c0f71dae7277b75fe424c08dfa74" - integrity sha512-Wtvr+z0Z06KO1JxjfRRsPC+df7biIOiuV4iZ73cThjFGkH+ULBZq1MkBdywEcJC4cTDbO6c8IjgRjfswx3YTBA== - dependencies: - cross-spawn "^5.1.0" - is-windows "^1.0.0" - cross-env@6.0.3: version "6.0.3" resolved "https://registry.npmjs.org/cross-env/-/cross-env-6.0.3.tgz#4256b71e49b3a40637a0ce70768a6ef5c72ae941" @@ -3499,7 +3475,7 @@ cross-env@6.0.3: dependencies: cross-spawn "^7.0.0" -cross-spawn@^5.0.1, cross-spawn@^5.1.0: +cross-spawn@^5.0.1: version "5.1.0" resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" integrity sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk= @@ -4057,7 +4033,7 @@ escape-html@~1.0.3: resolved "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= -escape-string-regexp@^1.0.0, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.4, escape-string-regexp@^1.0.5: +escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.4, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= @@ -5004,13 +4980,6 @@ har-validator@~5.1.0: ajv "^6.5.5" har-schema "^2.0.0" -has-ansi@^0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/has-ansi/-/has-ansi-0.1.0.tgz#84f265aae8c0e6a88a12d7022894b7568894c62e" - integrity sha1-hPJlqujA5qiKEtcCKJS3VoiUxi4= - dependencies: - ansi-regex "^0.2.0" - has-ansi@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" @@ -9401,13 +9370,6 @@ stringstream@0.0.6: resolved "https://registry.npmjs.org/stringstream/-/stringstream-0.0.6.tgz#7880225b0d4ad10e30927d167a1d6f2fd3b33a72" integrity sha512-87GEBAkegbBcweToUrdzf3eLhWNg06FJTebl4BVJz/JgWy8CvEr9dRtX5qWphiynMSQlxxi+QqN0z5T32SLlhA== -strip-ansi@^0.3.0: - version "0.3.0" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.3.0.tgz#25f48ea22ca79187f3174a4db8759347bb126220" - integrity sha1-JfSOoiynkYfzF0pNuHWTR7sSYiA= - dependencies: - ansi-regex "^0.2.1" - strip-ansi@^3.0.0, strip-ansi@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" @@ -9497,11 +9459,6 @@ supertap@^1.0.0: serialize-error "^2.1.0" strip-ansi "^4.0.0" -supports-color@^0.2.0: - version "0.2.0" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-0.2.0.tgz#d92de2694eb3f67323973d7ae3d8b55b4c22190a" - integrity sha1-2S3iaU6z9nMjlz1649i1W0wiGQo= - supports-color@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" From afb2105b0ad75e055c96a7386182785f48246ed7 Mon Sep 17 00:00:00 2001 From: Armano Date: Sun, 26 Jan 2020 22:38:16 +0100 Subject: [PATCH 0015/2192] test(cli): migrates tests from ava to jest (#907) * test(cli): migrates tests from ava to jest * test: fix stdout -> stderr * test(cli): update comments * chore: change main to index.js and update types --- @commitlint/cli/package.json | 12 +- @commitlint/cli/src/cli.test.js | 494 ++++++++++++++++---------------- @packages/test/package.json | 3 +- @packages/test/src/fix.ts | 6 +- @packages/test/src/git.ts | 4 +- @packages/test/src/npm.ts | 4 +- jest.config.js | 3 +- 7 files changed, 264 insertions(+), 262 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index fe0f78104d..66b66cf8b2 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -14,18 +14,9 @@ "build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps", "deps": "dep-check", "pkg": "pkg-check", - "start": "concurrently \"ava -c 4 --verbose --watch\" \"yarn run watch\"", - "test": "ava -c 4 --verbose", + "start": "yarn run watch", "watch": "babel src --out-dir lib --watch --source-maps" }, - "ava": { - "files": [ - "lib/**/*.test.js" - ], - "source": [ - "lib/**/*.js" - ] - }, "babel": { "presets": [ "babel-preset-commitlint" @@ -58,7 +49,6 @@ "@babel/register": "^7.7.7", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "ava": "2.4.0", "babel-preset-commitlint": "^8.2.0", "concurrently": "3.6.1", "cross-env": "6.0.3", diff --git a/@commitlint/cli/src/cli.test.js b/@commitlint/cli/src/cli.test.js index 19eb02b21a..534e4c8e30 100644 --- a/@commitlint/cli/src/cli.test.js +++ b/@commitlint/cli/src/cli.test.js @@ -1,12 +1,11 @@ import path from 'path'; import {fix, git} from '@commitlint/test'; -import test from 'ava'; import execa from 'execa'; import {merge} from 'lodash'; import * as sander from 'sander'; import stream from 'string-to-stream'; -const bin = path.join(__dirname, './cli.js'); +const bin = path.normalize(path.join(__dirname, '../lib/cli.js')); const cli = (args, options) => { return (input = '') => { @@ -20,215 +19,230 @@ const cli = (args, options) => { }; }; -test('should throw when called without [input]', async t => { - const cwd = await git.bootstrap('fixtures/default'); +const gitBootstrap = fixture => git.bootstrap(fixture, __dirname); +const fixBootstrap = fixture => fix.bootstrap(fixture, __dirname); + +test('should throw when called without [input]', async () => { + const cwd = await gitBootstrap('fixtures/default'); const actual = await cli([], {cwd})(); - t.is(actual.code, 1); + expect(actual.code).toBe(1); }); -test('should reprint input from stdin', async t => { - const cwd = await git.bootstrap('fixtures/default'); +test('should reprint input from stdin', async () => { + const cwd = await gitBootstrap('fixtures/default'); const actual = await cli([], {cwd})('foo: bar'); - t.true(actual.stdout.includes('foo: bar')); + expect(actual.stdout).toContain('foo: bar'); }); -test('should produce success output with --verbose flag', async t => { - const cwd = await git.bootstrap('fixtures/default'); +test('should produce success output with --verbose flag', async () => { + const cwd = await gitBootstrap('fixtures/default'); const actual = await cli(['--verbose'], {cwd})('type: bar'); - t.true(actual.stdout.includes('0 problems, 0 warnings')); - t.is(actual.stderr, ''); + expect(actual.stdout).toContain('0 problems, 0 warnings'); + expect(actual.stderr).toEqual(''); }); -test('should produce no output with --quiet flag', async t => { - const cwd = await git.bootstrap('fixtures/default'); +test('should produce no output with --quiet flag', async () => { + const cwd = await gitBootstrap('fixtures/default'); const actual = await cli(['--quiet'], {cwd})('foo: bar'); - t.is(actual.stdout, ''); - t.is(actual.stderr, ''); + expect(actual.stdout).toEqual(''); + expect(actual.stderr).toEqual(''); }); -test('should produce no output with -q flag', async t => { - const cwd = await git.bootstrap('fixtures/default'); +test('should produce no output with -q flag', async () => { + const cwd = await gitBootstrap('fixtures/default'); const actual = await cli(['-q'], {cwd})('foo: bar'); - t.is(actual.stdout, ''); - t.is(actual.stderr, ''); + expect(actual.stdout).toEqual(''); + expect(actual.stderr).toEqual(''); }); -test('should produce help for empty config', async t => { - const cwd = await git.bootstrap('fixtures/empty'); +test('should produce help for empty config', async () => { + const cwd = await gitBootstrap('fixtures/empty'); const actual = await cli([], {cwd})('foo: bar'); - t.true(actual.stdout.includes('Please add rules')); - t.is(actual.code, 1); + expect(actual.stdout).toContain('Please add rules'); + expect(actual.code).toBe(1); }); -test('should produce help for problems', async t => { - const cwd = await git.bootstrap('fixtures/default'); +test('should produce help for problems', async () => { + const cwd = await gitBootstrap('fixtures/default'); const actual = await cli([], {cwd})('foo: bar'); - t.true( - actual.stdout.includes( - 'Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint' - ) + expect(actual.stdout).toContain( + 'Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint' ); - t.is(actual.code, 1); + expect(actual.code).toBe(1); }); -test('should produce help for problems with correct helpurl', async t => { - const cwd = await git.bootstrap('fixtures/default'); +test('should produce help for problems with correct helpurl', async () => { + const cwd = await gitBootstrap('fixtures/default'); const actual = await cli( ['-H https://github.com/conventional-changelog/commitlint/#testhelpurl'], {cwd} )('foo: bar'); - t.true( - actual.stdout.includes( - 'Get help: https://github.com/conventional-changelog/commitlint/#testhelpurl' - ) + expect(actual.stdout).toContain( + 'Get help: https://github.com/conventional-changelog/commitlint/#testhelpurl' ); - t.is(actual.code, 1); + expect(actual.code).toBe(1); }); -test('should fail for input from stdin without rules', async t => { - const cwd = await git.bootstrap('fixtures/empty'); +test('should fail for input from stdin without rules', async () => { + const cwd = await gitBootstrap('fixtures/empty'); const actual = await cli([], {cwd})('foo: bar'); - t.is(actual.code, 1); + expect(actual.code).toBe(1); }); -test('should succeed for input from stdin with rules', async t => { - const cwd = await git.bootstrap('fixtures/default'); +test('should succeed for input from stdin with rules', async () => { + const cwd = await gitBootstrap('fixtures/default'); const actual = await cli([], {cwd})('type: bar'); - t.is(actual.code, 0); + expect(actual.code).toBe(0); }); -test('should fail for input from stdin with rule from rc', async t => { - const cwd = await git.bootstrap('fixtures/simple'); +test('should fail for input from stdin with rule from rc', async () => { + const cwd = await gitBootstrap('fixtures/simple'); const actual = await cli([], {cwd})('foo: bar'); - t.true(actual.stdout.includes('type must not be one of [foo]')); - t.is(actual.code, 1); + expect(actual.stdout).toContain('type must not be one of [foo]'); + expect(actual.code).toBe(1); }); -test('should work with --config option', async t => { +test('should work with --config option', async () => { const file = 'config/commitlint.config.js'; - const cwd = await git.bootstrap('fixtures/specify-config-file'); + const cwd = await gitBootstrap('fixtures/specify-config-file'); const actual = await cli(['--config', file], {cwd})('foo: bar'); - t.true(actual.stdout.includes('type must not be one of [foo]')); - t.is(actual.code, 1); + expect(actual.stdout).toContain('type must not be one of [foo]'); + expect(actual.code).toBe(1); }); -test('should fail for input from stdin with rule from js', async t => { - const cwd = await git.bootstrap('fixtures/extends-root'); +test('should fail for input from stdin with rule from js', async () => { + const cwd = await gitBootstrap('fixtures/extends-root'); const actual = await cli(['--extends', './extended'], {cwd})('foo: bar'); - t.true(actual.stdout.includes('type must not be one of [foo]')); - t.is(actual.code, 1); + expect(actual.stdout).toContain('type must not be one of [foo]'); + expect(actual.code).toBe(1); }); -test('should produce no error output with --quiet flag', async t => { - const cwd = await git.bootstrap('fixtures/simple'); +test('should produce no error output with --quiet flag', async () => { + const cwd = await gitBootstrap('fixtures/simple'); const actual = await cli(['--quiet'], {cwd})('foo: bar'); - t.is(actual.stdout, ''); - t.is(actual.stderr, ''); - t.is(actual.code, 1); + expect(actual.stdout).toEqual(''); + expect(actual.stderr).toEqual(''); + expect(actual.code).toBe(1); }); -test('should produce no error output with -q flag', async t => { - const cwd = await git.bootstrap('fixtures/simple'); +test('should produce no error output with -q flag', async () => { + const cwd = await gitBootstrap('fixtures/simple'); const actual = await cli(['-q'], {cwd})('foo: bar'); - t.is(actual.stdout, ''); - t.is(actual.stderr, ''); - t.is(actual.code, 1); -}); - -test('should work with husky commitmsg hook and git commit', async t => { - await t.notThrowsAsync(async () => { - const cwd = await git.bootstrap('fixtures/husky/integration'); - await writePkg({husky: {hooks: {'commit-msg': `'${bin}' -e`}}}, {cwd}); - - await execa('npm', ['install'], {cwd}); - await execa('git', ['add', 'package.json'], {cwd}); - await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); - }); -}); - -test('should work with husky commitmsg hook in sub packages', async t => { - await t.notThrowsAsync(async () => { - const upper = await git.bootstrap('fixtures/husky'); - const cwd = path.join(upper, 'integration'); - await writePkg( - {husky: {hooks: {'commit-msg': `'${bin}' -e`}}}, - {cwd: upper} - ); - - await execa('npm', ['install'], {cwd}); - await execa('git', ['add', 'package.json'], {cwd}); - await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); - }); -}); - -test('should work with husky via commitlint -e $GIT_PARAMS', async t => { - await t.notThrowsAsync(async () => { - const cwd = await git.bootstrap('fixtures/husky/integration'); - await writePkg( - {husky: {hooks: {'commit-msg': `'${bin}' -e $GIT_PARAMS`}}}, - {cwd} - ); - - await execa('npm', ['install'], {cwd}); - await execa('git', ['add', 'package.json'], {cwd}); - await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); - }); -}); - -test('should work with husky via commitlint -e %GIT_PARAMS%', async t => { - await t.notThrowsAsync(async () => { - const cwd = await git.bootstrap('fixtures/husky/integration'); - await writePkg( - {husky: {hooks: {'commit-msg': `'${bin}' -e %GIT_PARAMS%`}}}, - {cwd} - ); - - await execa('npm', ['install'], {cwd}); - await execa('git', ['add', 'package.json'], {cwd}); - await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); - }); -}); - -test('should work with husky via commitlint -e $HUSKY_GIT_PARAMS', async t => { - await t.notThrowsAsync(async () => { - const cwd = await git.bootstrap('fixtures/husky/integration'); - await writePkg( - {husky: {hooks: {'commit-msg': `'${bin}' -e $HUSKY_GIT_PARAMS`}}}, - {cwd} - ); - - await execa('npm', ['install'], {cwd}); - await execa('git', ['add', 'package.json'], {cwd}); - await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); - }); -}); - -test('should work with husky via commitlint -e %HUSKY_GIT_PARAMS%', async t => { - await t.notThrowsAsync(async () => { - const cwd = await git.bootstrap('fixtures/husky/integration'); - await writePkg( - {husky: {hooks: {'commit-msg': `'${bin}' -e %HUSKY_GIT_PARAMS%`}}}, - {cwd} - ); - - await execa('npm', ['install'], {cwd}); - await execa('git', ['add', 'package.json'], {cwd}); - await execa('git', ['commit', '-m', '"test: this should work"'], {cwd}); - }); -}); - -test('should allow reading of environment variables for edit file, succeeding if valid', async t => { - const cwd = await git.bootstrap('fixtures/simple'); + expect(actual.stdout).toEqual(''); + expect(actual.stderr).toEqual(''); + expect(actual.code).toBe(1); +}); + +test('should work with husky commitmsg hook and git commit', async () => { + const cwd = await gitBootstrap('fixtures/husky/integration'); + await writePkg({husky: {hooks: {'commit-msg': `'${bin}' -e`}}}, {cwd}); + + // await execa('npm', ['install'], {cwd}); // npm install is failing on windows machines + await execa('git', ['add', 'package.json'], {cwd}); + const commit = await execa( + 'git', + ['commit', '-m', '"test: this should work"'], + {cwd} + ); + + expect(commit).toBeTruthy(); +}); + +test('should work with husky commitmsg hook in sub packages', async () => { + const upper = await gitBootstrap('fixtures/husky'); + const cwd = path.join(upper, 'integration'); + await writePkg({husky: {hooks: {'commit-msg': `'${bin}' -e`}}}, {cwd: upper}); + + // await execa('npm', ['install'], {cwd}); // npm install is failing on windows machines + await execa('git', ['add', 'package.json'], {cwd}); + const commit = await execa( + 'git', + ['commit', '-m', '"test: this should work"'], + {cwd} + ); + expect(commit).toBeTruthy(); +}); + +test('should work with husky via commitlint -e $GIT_PARAMS', async () => { + const cwd = await gitBootstrap('fixtures/husky/integration'); + await writePkg( + {husky: {hooks: {'commit-msg': `'${bin}' -e $GIT_PARAMS`}}}, + {cwd} + ); + + // await execa('npm', ['install'], {cwd}); // npm install is failing on windows machines + await execa('git', ['add', 'package.json'], {cwd}); + const commit = await execa( + 'git', + ['commit', '-m', '"test: this should work"'], + {cwd} + ); + expect(commit).toBeTruthy(); +}); + +test('should work with husky via commitlint -e %GIT_PARAMS%', async () => { + const cwd = await gitBootstrap('fixtures/husky/integration'); + await writePkg( + {husky: {hooks: {'commit-msg': `'${bin}' -e %GIT_PARAMS%`}}}, + {cwd} + ); + + // await execa('npm', ['install'], {cwd}); // npm install is failing on windows machines + await execa('git', ['add', 'package.json'], {cwd}); + const commit = await execa( + 'git', + ['commit', '-m', '"test: this should work"'], + {cwd} + ); + expect(commit).toBeTruthy(); +}); + +test('should work with husky via commitlint -e $HUSKY_GIT_PARAMS', async () => { + const cwd = await gitBootstrap('fixtures/husky/integration'); + await writePkg( + {husky: {hooks: {'commit-msg': `'${bin}' -e $HUSKY_GIT_PARAMS`}}}, + {cwd} + ); + + // await execa('npm', ['install'], {cwd}); // npm install is failing on windows machines + await execa('git', ['add', 'package.json'], {cwd}); + const commit = await execa( + 'git', + ['commit', '-m', '"test: this should work"'], + {cwd} + ); + expect(commit).toBeTruthy(); +}); + +test('should work with husky via commitlint -e %HUSKY_GIT_PARAMS%', async () => { + const cwd = await gitBootstrap('fixtures/husky/integration'); + await writePkg( + {husky: {hooks: {'commit-msg': `'${bin}' -e %HUSKY_GIT_PARAMS%`}}}, + {cwd} + ); + + // await execa('npm', ['install'], {cwd}); // npm install is failing on windows machines + await execa('git', ['add', 'package.json'], {cwd}); + const commit = await execa( + 'git', + ['commit', '-m', '"test: this should work"'], + {cwd} + ); + expect(commit).toBeTruthy(); +}); + +test('should allow reading of environment variables for edit file, succeeding if valid', async () => { + const cwd = await gitBootstrap('fixtures/simple'); await sander.writeFile(cwd, 'commit-msg-file', 'foo'); const actual = await cli(['--env', 'variable'], { cwd, env: {variable: 'commit-msg-file'} })(); - t.is(actual.code, 0); + expect(actual.code).toBe(0); }); -test('should allow reading of environment variables for edit file, failing if invalid', async t => { - const cwd = await git.bootstrap('fixtures/simple'); +test('should allow reading of environment variables for edit file, failing if invalid', async () => { + const cwd = await gitBootstrap('fixtures/simple'); await sander.writeFile( cwd, 'commit-msg-file', @@ -238,178 +252,176 @@ test('should allow reading of environment variables for edit file, failing if in cwd, env: {variable: 'commit-msg-file'} })(); - t.is(actual.code, 1); + expect(actual.code).toBe(1); }); -test('should pick up parser preset and fail accordingly', async t => { - const cwd = await git.bootstrap('fixtures/parser-preset'); +test('should pick up parser preset and fail accordingly', async () => { + const cwd = await gitBootstrap('fixtures/parser-preset'); const actual = await cli(['--parser-preset', './parser-preset'], {cwd})( 'type(scope): subject' ); - t.is(actual.code, 1); - t.true(actual.stdout.includes('may not be empty')); + expect(actual.code).toBe(1); + expect(actual.stdout).toContain('may not be empty'); }); -test('should pick up parser preset and succeed accordingly', async t => { - const cwd = await git.bootstrap('fixtures/parser-preset'); +test('should pick up parser preset and succeed accordingly', async () => { + const cwd = await gitBootstrap('fixtures/parser-preset'); const actual = await cli(['--parser-preset', './parser-preset'], {cwd})( '----type(scope): subject' ); - t.is(actual.code, 0); + expect(actual.code).toBe(0); }); -test('should pick up config from outside git repo and fail accordingly', async t => { - const outer = await fix.bootstrap('fixtures/outer-scope'); +test('should pick up config from outside git repo and fail accordingly', async () => { + const outer = await fixBootstrap('fixtures/outer-scope'); const cwd = await git.init(path.join(outer, 'inner-scope')); const actual = await cli([], {cwd})('inner: bar'); - t.is(actual.code, 1); + expect(actual.code).toBe(1); }); -test('should pick up config from outside git repo and succeed accordingly', async t => { - const outer = await fix.bootstrap('fixtures/outer-scope'); +test('should pick up config from outside git repo and succeed accordingly', async () => { + const outer = await fixBootstrap('fixtures/outer-scope'); const cwd = await git.init(path.join(outer, 'inner-scope')); const actual = await cli([], {cwd})('outer: bar'); - t.is(actual.code, 0); + expect(actual.code).toBe(0); }); -test('should pick up config from inside git repo with precedence and succeed accordingly', async t => { - const outer = await fix.bootstrap('fixtures/inner-scope'); +test('should pick up config from inside git repo with precedence and succeed accordingly', async () => { + const outer = await fixBootstrap('fixtures/inner-scope'); const cwd = await git.init(path.join(outer, 'inner-scope')); const actual = await cli([], {cwd})('inner: bar'); - t.is(actual.code, 0); + expect(actual.code).toBe(0); }); -test('should pick up config from inside git repo with precedence and fail accordingly', async t => { - const outer = await fix.bootstrap('fixtures/inner-scope'); +test('should pick up config from inside git repo with precedence and fail accordingly', async () => { + const outer = await fixBootstrap('fixtures/inner-scope'); const cwd = await git.init(path.join(outer, 'inner-scope')); const actual = await cli([], {cwd})('outer: bar'); - t.is(actual.code, 1); + expect(actual.code).toBe(1); }); -test('should handle --amend with signoff', async t => { - await t.notThrowsAsync(async () => { - const cwd = await git.bootstrap('fixtures/signoff'); - await writePkg({husky: {hooks: {'commit-msg': `'${bin}' -e`}}}, {cwd}); +test('should handle --amend with signoff', async () => { + const cwd = await gitBootstrap('fixtures/signoff'); + await writePkg({husky: {hooks: {'commit-msg': `'${bin}' -e`}}}, {cwd}); - await execa('npm', ['install'], {cwd}); - await execa('git', ['add', 'package.json'], {cwd}); - await execa( - 'git', - ['commit', '-m', '"test: this should work"', '--signoff'], - {cwd} - ); - await execa('git', ['commit', '--amend', '--no-edit'], {cwd}); - }); -}); + // await execa('npm', ['install'], {cwd}); // npm install is failing on windows machines + await execa('git', ['add', 'package.json'], {cwd}); + await execa( + 'git', + ['commit', '-m', '"test: this should work"', '--signoff'], + {cwd} + ); + const commit = await execa('git', ['commit', '--amend', '--no-edit'], {cwd}); + + expect(commit).toBeTruthy(); +}, 10000); -test('should handle linting with issue prefixes', async t => { - const cwd = await git.bootstrap('fixtures/issue-prefixes'); +test('should handle linting with issue prefixes', async () => { + const cwd = await gitBootstrap('fixtures/issue-prefixes'); const actual = await cli([], {cwd})('foobar REF-1'); - t.is(actual.code, 0); -}); + expect(actual.code).toBe(0); +}, 10000); -test('should print full commit message when input from stdin fails', async t => { - const cwd = await git.bootstrap('fixtures/simple'); +test('should print full commit message when input from stdin fails', async () => { + const cwd = await gitBootstrap('fixtures/simple'); const input = 'foo: bar\n\nFoo bar bizz buzz.\n\nCloses #123.'; const actual = await cli([], {cwd})(input); - t.true(actual.stdout.includes(input)); - t.is(actual.code, 1); + expect(actual.stdout).toContain(input); + expect(actual.code).toBe(1); }); -test('should not print commit message fully or partially when input succeeds', async t => { - const cwd = await git.bootstrap('fixtures/default'); +test('should not print commit message fully or partially when input succeeds', async () => { + const cwd = await gitBootstrap('fixtures/default'); const message = 'type: bar\n\nFoo bar bizz buzz.\n\nCloses #123.'; const actual = await cli([], {cwd})(message); - t.false(actual.stdout.includes(message)); - t.false(actual.stdout.includes(message.split('\n')[0])); - t.is(actual.code, 0); + expect(actual.stdout).not.toContain(message); + expect(actual.stdout).not.toContain(message.split('\n')[0]); + expect(actual.code).toBe(0); }); -test('should fail for invalid formatters from configuration', async t => { - const cwd = await git.bootstrap('fixtures/custom-formatter'); +test('should fail for invalid formatters from configuration', async () => { + const cwd = await gitBootstrap('fixtures/custom-formatter'); const actual = await cli([], {cwd})('foo: bar'); - t.true( - actual.stderr.includes( - `Using format custom-formatter, but cannot find the module` - ) + + expect(actual.stderr).toContain( + 'Using format custom-formatter, but cannot find the module' ); - t.is(actual.stdout, ''); - t.is(actual.code, 1); + expect(actual.stdout).toEqual(''); + expect(actual.code).toBe(1); }); -test('should skip linting if message matches ignores config', async t => { - const cwd = await git.bootstrap('fixtures/ignores'); +test('should skip linting if message matches ignores config', async () => { + const cwd = await gitBootstrap('fixtures/ignores'); const actual = await cli([], {cwd})('WIP'); - t.is(actual.code, 0); + expect(actual.code).toBe(0); }); -test('should not skip linting if message does not match ignores config', async t => { - const cwd = await git.bootstrap('fixtures/ignores'); +test('should not skip linting if message does not match ignores config', async () => { + const cwd = await gitBootstrap('fixtures/ignores'); const actual = await cli([], {cwd})('foo'); - t.is(actual.code, 1); + expect(actual.code).toBe(1); }); -test('should not skip linting if defaultIgnores is false', async t => { - const cwd = await git.bootstrap('fixtures/default-ignores-false'); +test('should not skip linting if defaultIgnores is false', async () => { + const cwd = await gitBootstrap('fixtures/default-ignores-false'); const actual = await cli([], {cwd})('fixup! foo: bar'); - t.is(actual.code, 1); + expect(actual.code).toBe(1); }); -test('should skip linting if defaultIgnores is true', async t => { - const cwd = await git.bootstrap('fixtures/default-ignores-true'); +test('should skip linting if defaultIgnores is true', async () => { + const cwd = await gitBootstrap('fixtures/default-ignores-true'); const actual = await cli([], {cwd})('fixup! foo: bar'); - t.is(actual.code, 0); + expect(actual.code).toBe(0); }); -test('should skip linting if defaultIgnores is unset', async t => { - const cwd = await git.bootstrap('fixtures/default-ignores-unset'); +test('should skip linting if defaultIgnores is unset', async () => { + const cwd = await gitBootstrap('fixtures/default-ignores-unset'); const actual = await cli([], {cwd})('fixup! foo: bar'); - t.is(actual.code, 0); + expect(actual.code).toBe(0); }); -test('should fail for invalid formatters from flags', async t => { - const cwd = await git.bootstrap('fixtures/custom-formatter'); +test('should fail for invalid formatters from flags', async () => { + const cwd = await gitBootstrap('fixtures/custom-formatter'); const actual = await cli(['--format', 'through-flag'], {cwd})('foo: bar'); - t.true( - actual.stderr.includes( - `Using format through-flag, but cannot find the module` - ) + + expect(actual.stderr).toContain( + 'Using format through-flag, but cannot find the module' ); - t.is(actual.stdout, ''); - t.is(actual.code, 1); + expect(actual.stdout).toEqual(''); + expect(actual.code).toBe(1); }); -test('should work with absolute formatter path', async t => { +test('should work with absolute formatter path', async () => { const formatterPath = path.resolve( __dirname, '../fixtures/custom-formatter/formatters/custom.js' ); - const cwd = await git.bootstrap('fixtures/custom-formatter'); + const cwd = await gitBootstrap('fixtures/custom-formatter'); const actual = await cli(['--format', formatterPath], {cwd})( 'test: this should work' ); - t.true(actual.stdout.includes('custom-formatter-ok')); - t.is(actual.code, 0); + expect(actual.stdout).toContain('custom-formatter-ok'); + expect(actual.code).toBe(0); }); -test('should work with relative formatter path', async t => { +test('should work with relative formatter path', async () => { const cwd = path.resolve( - await git.bootstrap('fixtures/custom-formatter'), + await gitBootstrap('fixtures/custom-formatter'), './formatters' ); const actual = await cli(['--format', './custom.js'], {cwd})( 'test: this should work' ); - t.true(actual.stdout.includes('custom-formatter-ok')); - t.is(actual.code, 0); + expect(actual.stdout).toContain('custom-formatter-ok'); + expect(actual.code).toBe(0); }); async function writePkg(payload, options) { diff --git a/@packages/test/package.json b/@packages/test/package.json index 4eb1be872d..5563b4ba9e 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -2,7 +2,8 @@ "name": "@commitlint/test", "version": "8.2.0", "description": "test utilities for @commitlint", - "main": "lib/", + "main": "lib/index.js", + "types": "lib/index.d.ts", "files": [ "lib/" ], diff --git a/@packages/test/src/fix.ts b/@packages/test/src/fix.ts index 3e178d87c2..85a45fc9da 100644 --- a/@packages/test/src/fix.ts +++ b/@packages/test/src/fix.ts @@ -3,14 +3,14 @@ import fs from 'fs-extra'; import path from 'path'; import pkgDir from 'pkg-dir'; -async function bootstrap(fixture?: string): Promise { +export async function bootstrap(fixture?: string, directory?: string) { const tmpDir = tmp.dirSync({ keep: false, unsafeCleanup: true }); if (typeof fixture !== 'undefined') { - const packageDir = await pkgDir(); + const packageDir = await pkgDir(directory); if (!packageDir) { throw new Error(`ENOENT, no such file or directory '${packageDir}'`); } @@ -20,5 +20,3 @@ async function bootstrap(fixture?: string): Promise { return tmpDir.name; } - -export {bootstrap}; diff --git a/@packages/test/src/git.ts b/@packages/test/src/git.ts index c263e85ceb..22e905749f 100644 --- a/@packages/test/src/git.ts +++ b/@packages/test/src/git.ts @@ -2,8 +2,8 @@ import execa from 'execa'; import * as fix from './fix'; -export async function bootstrap(fixture?: string) { - const cwd = await fix.bootstrap(fixture); +export async function bootstrap(fixture?: string, directory?: string) { + const cwd = await fix.bootstrap(fixture, directory); await init(cwd); return cwd; diff --git a/@packages/test/src/npm.ts b/@packages/test/src/npm.ts index 8610fc43ba..35d9a5cce5 100644 --- a/@packages/test/src/npm.ts +++ b/@packages/test/src/npm.ts @@ -4,8 +4,8 @@ import fs from 'fs-extra'; import * as git from './git'; -export async function bootstrap(fixture: string) { - const cwd = await git.bootstrap(fixture); +export async function bootstrap(fixture: string, directory?: string) { + const cwd = await git.bootstrap(fixture, directory); if (await fs.pathExists(path.join(cwd, 'package.json'))) { await execa('npm', ['install'], {cwd}); diff --git a/jest.config.js b/jest.config.js index 4e334e0d5d..28a58f4c92 100644 --- a/jest.config.js +++ b/jest.config.js @@ -4,6 +4,7 @@ module.exports = { testRegex: undefined, testMatch: [ '**/*.test.ts?(x)', - '**/@commitlint/read/src/*.test.js?(x)' + '**/@commitlint/read/src/*.test.js?(x)', + '**/@commitlint/cli/src/*.test.js?(x)' ] }; From b512ac7cf1c739ed06b494928fa1929e0b3d8528 Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Sun, 26 Jan 2020 23:28:34 +0100 Subject: [PATCH 0016/2192] test(cli): force plain text when comparing output (#909) --- @commitlint/cli/src/cli.test.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/@commitlint/cli/src/cli.test.js b/@commitlint/cli/src/cli.test.js index 534e4c8e30..d5abe33dce 100644 --- a/@commitlint/cli/src/cli.test.js +++ b/@commitlint/cli/src/cli.test.js @@ -329,7 +329,8 @@ test('should handle linting with issue prefixes', async () => { test('should print full commit message when input from stdin fails', async () => { const cwd = await gitBootstrap('fixtures/simple'); const input = 'foo: bar\n\nFoo bar bizz buzz.\n\nCloses #123.'; - const actual = await cli([], {cwd})(input); + // output text in plain text so we can compare it + const actual = await cli(['--color=false'], {cwd})(input); expect(actual.stdout).toContain(input); expect(actual.code).toBe(1); @@ -338,7 +339,8 @@ test('should print full commit message when input from stdin fails', async () => test('should not print commit message fully or partially when input succeeds', async () => { const cwd = await gitBootstrap('fixtures/default'); const message = 'type: bar\n\nFoo bar bizz buzz.\n\nCloses #123.'; - const actual = await cli([], {cwd})(message); + // output text in plain text so we can compare it + const actual = await cli(['--color=false'], {cwd})(message); expect(actual.stdout).not.toContain(message); expect(actual.stdout).not.toContain(message.split('\n')[0]); From ddb5670eb45a169d0a649295fbbf535245268faa Mon Sep 17 00:00:00 2001 From: Armano Date: Mon, 27 Jan 2020 23:18:06 +0100 Subject: [PATCH 0017/2192] test(prompt-cli): migrate ava tests to jest (#913) --- @commitlint/prompt-cli/cli.test.js | 9 ++++----- @commitlint/prompt-cli/package.json | 8 +++----- jest.config.js | 3 ++- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/@commitlint/prompt-cli/cli.test.js b/@commitlint/prompt-cli/cli.test.js index 34c27b3e4e..3e896c6553 100644 --- a/@commitlint/prompt-cli/cli.test.js +++ b/@commitlint/prompt-cli/cli.test.js @@ -1,10 +1,8 @@ -import path from 'path'; import {git} from '@commitlint/test'; -import test from 'ava'; import execa from 'execa'; import stream from 'string-to-stream'; -const bin = path.join(__dirname, './cli.js'); +const bin = require.resolve('./cli.js'); const cli = (args, options) => { return (input = '') => { @@ -18,8 +16,9 @@ const cli = (args, options) => { }; }; -test('should print warning if stage is empty', async t => { +test('should print warning if stage is empty', async () => { const cwd = await git.bootstrap(); const actual = await cli([], {cwd})('foo: bar'); - t.true(actual.stdout.includes('Nothing to commit.')); + expect(actual.stdout).toContain('Nothing to commit.'); + expect(actual.stderr).toBe(''); }); diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index b04d14f1bd..0d0850a4c3 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -11,8 +11,7 @@ "scripts": { "commit": "$npm_package_bin_commit", "deps": "dep-check", - "pkg": "pkg-check --skip-main", - "test": "ava -c 4 --verbose" + "pkg": "pkg-check --skip-main" }, "repository": { "type": "git", @@ -31,11 +30,10 @@ "devDependencies": { "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "ava": "2.4.0" + "string-to-stream": "3.0.1" }, "dependencies": { "@commitlint/prompt": "^8.3.5", - "execa": "0.11.0", - "string-to-stream": "3.0.1" + "execa": "0.11.0" } } diff --git a/jest.config.js b/jest.config.js index 28a58f4c92..cdfa10b267 100644 --- a/jest.config.js +++ b/jest.config.js @@ -5,6 +5,7 @@ module.exports = { testMatch: [ '**/*.test.ts?(x)', '**/@commitlint/read/src/*.test.js?(x)', - '**/@commitlint/cli/src/*.test.js?(x)' + '**/@commitlint/cli/src/*.test.js?(x)', + '**/@commitlint/prompt-cli/*.test.js?(x)' ] }; From 4889ceed9d619e33b02276be3968df7c0547cfd7 Mon Sep 17 00:00:00 2001 From: Armano Date: Mon, 27 Jan 2020 23:20:28 +0100 Subject: [PATCH 0018/2192] test(lint): migrate ava tests to jest (#912) --- @commitlint/lint/package.json | 25 +--- @commitlint/lint/src/index.test.js | 197 ++++++++++++++--------------- jest.config.js | 1 + 3 files changed, 97 insertions(+), 126 deletions(-) diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 6868e42474..074716f4dd 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -10,30 +10,9 @@ "build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps", "deps": "dep-check", "pkg": "pkg-check --skip-import", - "start": "concurrently \"ava -c 4 --verbose --watch\" \"yarn run watch\"", - "test": "ava -c 4 --verbose", + "start": "yarn run watch", "watch": "babel src --out-dir lib --watch --source-maps" }, - "ava": { - "files": [ - "src/**/*.test.js", - "!lib/**/*" - ], - "source": [ - "src/**/*.js", - "!lib/**/*" - ], - "babel": { - "testOptions": { - "presets": [ - "babel-preset-commitlint" - ] - } - }, - "require": [ - "@babel/register" - ] - }, "babel": { "presets": [ "babel-preset-commitlint" @@ -67,9 +46,7 @@ "@babel/register": "^7.7.7", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "ava": "2.4.0", "babel-preset-commitlint": "^8.2.0", - "concurrently": "3.6.1", "cross-env": "6.0.3", "execa": "0.11.0", "globby": "10.0.1", diff --git a/@commitlint/lint/src/index.test.js b/@commitlint/lint/src/index.test.js index 7c9ca8bed5..60dbc6d37b 100644 --- a/@commitlint/lint/src/index.test.js +++ b/@commitlint/lint/src/index.test.js @@ -1,44 +1,43 @@ -import test from 'ava'; import lint from '.'; -test('throws without params', async t => { - const error = await t.throwsAsync(lint()); - t.is(error.message, 'Expected a raw commit'); +test('throws without params', async () => { + const error = lint(); + await expect(error).rejects.toThrow('Expected a raw commit'); }); -test('throws with empty message', async t => { - const error = await t.throwsAsync(lint('')); - t.is(error.message, 'Expected a raw commit'); +test('throws with empty message', async () => { + const error = lint(''); + await expect(error).rejects.toThrow('Expected a raw commit'); }); -test('positive on stub message and no rule', async t => { +test('positive on stub message and no rule', async () => { const actual = await lint('foo: bar'); - t.true(actual.valid); + expect(actual.valid).toBe(true); }); -test('positive on stub message and adhered rule', async t => { +test('positive on stub message and adhered rule', async () => { const actual = await lint('foo: bar', { 'type-enum': [2, 'always', ['foo']] }); - t.true(actual.valid); + expect(actual.valid).toBe(true); }); -test('negative on stub message and broken rule', async t => { +test('negative on stub message and broken rule', async () => { const actual = await lint('foo: bar', { 'type-enum': [2, 'never', ['foo']] }); - t.false(actual.valid); + expect(actual.valid).toBe(false); }); -test('positive on ignored message and broken rule', async t => { +test('positive on ignored message and broken rule', async () => { const actual = await lint('Revert "some bogus commit"', { 'type-empty': [2, 'never'] }); - t.true(actual.valid); - t.is(actual.input, 'Revert "some bogus commit"'); + expect(actual.valid).toBe(true); + expect(actual.input).toBe('Revert "some bogus commit"'); }); -test('negative on ignored message, disabled ignored messages and broken rule', async t => { +test('negative on ignored message, disabled ignored messages and broken rule', async () => { const actual = await lint( 'Revert "some bogus commit"', { @@ -48,10 +47,10 @@ test('negative on ignored message, disabled ignored messages and broken rule', a defaultIgnores: false } ); - t.false(actual.valid); + expect(actual.valid).toBe(false); }); -test('positive on custom ignored message and broken rule', async t => { +test('positive on custom ignored message and broken rule', async () => { const ignoredMessage = 'some ignored custom message'; const actual = await lint( ignoredMessage, @@ -62,11 +61,11 @@ test('positive on custom ignored message and broken rule', async t => { ignores: [c => c === ignoredMessage] } ); - t.true(actual.valid); - t.is(actual.input, ignoredMessage); + expect(actual.valid).toBe(true); + expect(actual.input).toBe(ignoredMessage); }); -test('positive on stub message and opts', async t => { +test('positive on stub message and opts', async () => { const actual = await lint( 'foo-bar', { @@ -79,108 +78,102 @@ test('positive on stub message and opts', async t => { } } ); - t.true(actual.valid); + expect(actual.valid).toBe(true); }); -test('throws for invalid rule names', async t => { - const error = await t.throwsAsync( - lint('foo', {foo: [2, 'always'], bar: [1, 'never']}) - ); +test('throws for invalid rule names', async () => { + const error = lint('foo', {foo: [2, 'always'], bar: [1, 'never']}); - t.is(error.message.indexOf('Found invalid rule names: foo, bar'), 0); + await expect(error).rejects.toThrow(/^Found invalid rule names: foo, bar/); }); -test('throws for invalid rule config', async t => { - const error = await t.throwsAsync( - lint('type(scope): foo', { - 'type-enum': 1, - 'scope-enum': {0: 2, 1: 'never', 2: ['foo'], length: 3} - }) - ); +test('throws for invalid rule config', async () => { + const error = lint('type(scope): foo', { + 'type-enum': 1, + 'scope-enum': {0: 2, 1: 'never', 2: ['foo'], length: 3} + }); - t.true(error.message.indexOf('type-enum must be array') > -1); - t.true(error.message.indexOf('scope-enum must be array') > -1); + await expect(error).rejects.toThrow('type-enum must be array'); + await expect(error).rejects.toThrow('scope-enum must be array'); }); -test('allows disable shorthand', async t => { - await t.notThrowsAsync(lint('foo', {'type-enum': [0], 'scope-enum': [0]})); +test('allows disable shorthand', async () => { + const result = lint('foo', {'type-enum': [0], 'scope-enum': [0]}); + + await expect(result).resolves.toEqual({ + errors: [], + input: 'foo', + valid: true, + warnings: [] + }); }); -test('throws for rule with invalid length', async t => { - const error = await t.throwsAsync( - lint('type(scope): foo', {'scope-enum': [1, 2, 3, 4]}) - ); +test('throws for rule with invalid length', async () => { + const error = lint('type(scope): foo', {'scope-enum': [1, 2, 3, 4]}); - t.true(error.message.indexOf('scope-enum must be 2 or 3 items long') > -1); + await expect(error).rejects.toThrow('scope-enum must be 2 or 3 items long'); }); -test('throws for rule with invalid level', async t => { - const error = await t.throwsAsync( - lint('type(scope): foo', { - 'type-enum': ['2', 'always'], - 'header-max-length': [{}, 'always'] - }) - ); - - t.true(error.message.indexOf('rule type-enum must be number') > -1); - t.true(error.message.indexOf('rule type-enum must be number') > -1); +test('throws for rule with invalid level', async () => { + const error = lint('type(scope): foo', { + 'type-enum': ['2', 'always'], + 'header-max-length': [{}, 'always'] + }); + await expect(error).rejects.toThrow('rule type-enum must be number'); + await expect(error).rejects.toThrow('rule header-max-length must be number'); }); -test('throws for rule with out of range level', async t => { - const error = await t.throwsAsync( - lint('type(scope): foo', { - 'type-enum': [-1, 'always'], - 'header-max-length': [3, 'always'] - }) - ); +test('throws for rule with out of range level', async () => { + const error = lint('type(scope): foo', { + 'type-enum': [-1, 'always'], + 'header-max-length': [3, 'always'] + }); - t.true(error.message.indexOf('rule type-enum must be between 0 and 2') > -1); - t.true(error.message.indexOf('rule type-enum must be between 0 and 2') > -1); + await expect(error).rejects.toThrow('rule type-enum must be between 0 and 2'); + await expect(error).rejects.toThrow( + 'rule header-max-length must be between 0 and 2' + ); }); -test('throws for rule with invalid condition', async t => { - const error = await t.throwsAsync( - lint('type(scope): foo', { - 'type-enum': [1, 2], - 'header-max-length': [1, {}] - }) - ); +test('throws for rule with invalid condition', async () => { + const error = lint('type(scope): foo', { + 'type-enum': [1, 2], + 'header-max-length': [1, {}] + }); - t.true(error.message.indexOf('type-enum must be string') > -1); - t.true(error.message.indexOf('header-max-length must be string') > -1); + await expect(error).rejects.toThrow('type-enum must be string'); + await expect(error).rejects.toThrow('header-max-length must be string'); }); -test('throws for rule with out of range condition', async t => { - const error = await t.throwsAsync( - lint('type(scope): foo', { - 'type-enum': [1, 'foo'], - 'header-max-length': [1, 'bar'] - }) - ); +test('throws for rule with out of range condition', async () => { + const error = lint('type(scope): foo', { + 'type-enum': [1, 'foo'], + 'header-max-length': [1, 'bar'] + }); - t.true(error.message.indexOf('type-enum must be "always" or "never"') > -1); - t.true( - error.message.indexOf('header-max-length must be "always" or "never"') > -1 + await expect(error).rejects.toThrow('type-enum must be "always" or "never"'); + await expect(error).rejects.toThrow( + 'header-max-length must be "always" or "never"' ); }); -test('succeds for issue', async t => { +test('succeds for issue', async () => { const report = await lint('somehting #1', { 'references-empty': [2, 'never'] }); - t.true(report.valid); + expect(report.valid).toBe(true); }); -test('fails for issue', async t => { +test('fails for issue', async () => { const report = await lint('somehting #1', { 'references-empty': [2, 'always'] }); - t.false(report.valid); + expect(report.valid).toBe(false); }); -test('succeds for custom issue prefix', async t => { +test('succeds for custom issue prefix', async () => { const report = await lint( 'somehting REF-1', { @@ -193,10 +186,10 @@ test('succeds for custom issue prefix', async t => { } ); - t.true(report.valid); + expect(report.valid).toBe(true); }); -test('fails for custom issue prefix', async t => { +test('fails for custom issue prefix', async () => { const report = await lint( 'somehting #1', { @@ -209,10 +202,10 @@ test('fails for custom issue prefix', async t => { } ); - t.false(report.valid); + expect(report.valid).toBe(false); }); -test('fails for custom plugin rule', async t => { +test('fails for custom plugin rule', async () => { const report = await lint( 'somehting #1', { @@ -229,10 +222,10 @@ test('fails for custom plugin rule', async t => { } ); - t.false(report.valid); + expect(report.valid).toBe(false); }); -test('passes for custom plugin rule', async t => { +test('passes for custom plugin rule', async () => { const report = await lint( 'somehting #1', { @@ -249,31 +242,31 @@ test('passes for custom plugin rule', async t => { } ); - t.true(report.valid); + expect(report.valid).toBe(true); }); -test('returns original message only with commit header', async t => { +test('returns original message only with commit header', async () => { const message = 'foo: bar'; const report = await lint(message); - t.is(report.input, message); + expect(report.input).toBe(message); }); -test('returns original message with commit header and body', async t => { +test('returns original message with commit header and body', async () => { const message = 'foo: bar/n/nFoo bar bizz buzz.'; const report = await lint(message); - t.is(report.input, message); + expect(report.input).toBe(message); }); -test('returns original message with commit header, body and footer', async t => { +test('returns original message with commit header, body and footer', async () => { const message = 'foo: bar/n/nFoo bar bizz buzz./n/nCloses #1'; const report = await lint(message); - t.is(report.input, message); + expect(report.input).toBe(message); }); -test('returns original message with commit header, body and footer, parsing comments', async t => { +test('returns original message with commit header, body and footer, parsing comments', async () => { const expected = 'foo: bar/n/nFoo bar bizz buzz./n/nCloses #1'; const message = `${expected}\n\n# Some comment to ignore`; const report = await lint( @@ -288,5 +281,5 @@ test('returns original message with commit header, body and footer, parsing comm } ); - t.is(report.input, expected); + expect(report.input).toBe(expected); }); diff --git a/jest.config.js b/jest.config.js index cdfa10b267..6aa9696c68 100644 --- a/jest.config.js +++ b/jest.config.js @@ -4,6 +4,7 @@ module.exports = { testRegex: undefined, testMatch: [ '**/*.test.ts?(x)', + '**/@commitlint/lint/src/*.test.js?(x)', '**/@commitlint/read/src/*.test.js?(x)', '**/@commitlint/cli/src/*.test.js?(x)', '**/@commitlint/prompt-cli/*.test.js?(x)' From f3af9385fea181221cb95845861b663a2c719c1d Mon Sep 17 00:00:00 2001 From: Armano Date: Tue, 28 Jan 2020 00:09:04 +0100 Subject: [PATCH 0019/2192] test(travis-cli): migrate tests from ava to jest (#910) * test(travis-cli): migrate tests from ava to jest * test(travis-cli): remove redundant tests * test(travis-cli): fix and enable mocked tests * test(travis-cli): restore some original code Co-authored-by: Cedric van Putten --- @commitlint/cli/src/cli.test.js | 2 +- @commitlint/travis-cli/fixtures/commitlint.js | 9 +- @commitlint/travis-cli/fixtures/git.js | 9 +- @commitlint/travis-cli/package.json | 25 +- @commitlint/travis-cli/src/cli.js | 2 +- @commitlint/travis-cli/src/cli.test.js | 252 +++++------------- @packages/test/src/git.ts | 23 +- jest.config.js | 1 + yarn.lock | 7 - 9 files changed, 110 insertions(+), 220 deletions(-) diff --git a/@commitlint/cli/src/cli.test.js b/@commitlint/cli/src/cli.test.js index d5abe33dce..9f66db8431 100644 --- a/@commitlint/cli/src/cli.test.js +++ b/@commitlint/cli/src/cli.test.js @@ -5,7 +5,7 @@ import {merge} from 'lodash'; import * as sander from 'sander'; import stream from 'string-to-stream'; -const bin = path.normalize(path.join(__dirname, '../lib/cli.js')); +const bin = require.resolve('../lib/cli.js'); const cli = (args, options) => { return (input = '') => { diff --git a/@commitlint/travis-cli/fixtures/commitlint.js b/@commitlint/travis-cli/fixtures/commitlint.js index 333349df2e..4ab757da04 100755 --- a/@commitlint/travis-cli/fixtures/commitlint.js +++ b/@commitlint/travis-cli/fixtures/commitlint.js @@ -1,2 +1,9 @@ #!/usr/bin/env node -console.log(process.argv); + +const args = process.argv; +args.shift(); // remove node +console.log( + args.map((item, index) => { + return index === 0 ? 'commitlint' : item; + }) +); diff --git a/@commitlint/travis-cli/fixtures/git.js b/@commitlint/travis-cli/fixtures/git.js index 333349df2e..7a66985b45 100755 --- a/@commitlint/travis-cli/fixtures/git.js +++ b/@commitlint/travis-cli/fixtures/git.js @@ -1,2 +1,9 @@ #!/usr/bin/env node -console.log(process.argv); + +const args = process.argv; +args.shift(); // remove node +console.log( + args.map((item, index) => { + return index === 0 ? 'git' : item; + }) +); diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 65a7348399..d8fdc71225 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -13,27 +13,8 @@ "deps": "dep-check", "pkg": "pkg-check --skip-main", "start": "ava -c 4 --verbose --watch", - "test": "ava -c 4 --verbose", "watch": "babel src --out-dir lib --watch --source-maps" }, - "ava": { - "files": [ - "src/**/*.test.js" - ], - "source": [ - "lib/**/*.js" - ], - "babel": { - "testOptions": { - "presets": [ - "babel-preset-commitlint" - ] - } - }, - "require": [ - "@babel/register" - ] - }, "babel": { "presets": [ "babel-preset-commitlint" @@ -61,15 +42,13 @@ }, "license": "MIT", "devDependencies": { - "@babel/core": "7.7.7", "@babel/cli": "7.7.7", + "@babel/core": "7.7.7", "@babel/register": "7.7.7", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "ava": "2.4.0", "babel-preset-commitlint": "^8.2.0", - "cross-env": "6.0.3", - "which": "2.0.1" + "cross-env": "6.0.3" }, "dependencies": { "@commitlint/cli": "^8.3.5", diff --git a/@commitlint/travis-cli/src/cli.js b/@commitlint/travis-cli/src/cli.js index 085ecd4a9e..f6e2177c44 100755 --- a/@commitlint/travis-cli/src/cli.js +++ b/@commitlint/travis-cli/src/cli.js @@ -77,7 +77,7 @@ async function lint(args, options) { } async function log(hash) { - const result = await execa('git', [ + const result = await execa(GIT, [ 'log', '-n', '1', diff --git a/@commitlint/travis-cli/src/cli.test.js b/@commitlint/travis-cli/src/cli.test.js index bf26a03b14..9b37462aed 100644 --- a/@commitlint/travis-cli/src/cli.test.js +++ b/@commitlint/travis-cli/src/cli.test.js @@ -1,218 +1,114 @@ -// Disable ftb -// const os = require('os'); -// const {git} = require('@commitlint/test'); -import test from 'ava'; import execa from 'execa'; -// Disable ftb -// const which = require('which'); - -// Disable ftb -// const NODE_BIN = which.sync('node'); -const BIN = require.resolve('../lib/cli.js'); - -// Disable ftb -// const TRAVIS_COMMITLINT_BIN = require.resolve('../fixtures/commitlint'); -// const TRAVIS_COMMITLINT_GIT_BIN = require.resolve('../fixtures/git'); -// const TRAVIS_BRANCH = 'TRAVIS_BRANCH'; -// const TRAVIS_COMMIT = 'TRAVIS_COMMIT'; +import {git} from '@commitlint/test'; + +const bin = require.resolve('../lib/cli.js'); + +const TRAVIS_COMMITLINT_BIN = require.resolve('../fixtures/commitlint'); +const TRAVIS_COMMITLINT_GIT_BIN = require.resolve('../fixtures/git'); + +const validBaseEnv = { + TRAVIS: true, + CI: true, + TRAVIS_COMMIT: 'TRAVIS_COMMIT', + TRAVIS_COMMITLINT_BIN: TRAVIS_COMMITLINT_BIN, + TRAVIS_COMMITLINT_GIT_BIN: TRAVIS_COMMITLINT_GIT_BIN, + TRAVIS_COMMIT_RANGE: 'TRAVIS_COMMIT_A.TRAVIS_COMMIT_B', + TRAVIS_EVENT_TYPE: 'TRAVIS_EVENT_TYPE', + TRAVIS_REPO_SLUG: 'TRAVIS_REPO_SLUG', + TRAVIS_PULL_REQUEST_SLUG: 'TRAVIS_PULL_REQUEST_SLUG' +}; -const bin = async (config = {}) => { +const cli = async (config = {}) => { try { - return await execa(BIN, Object.assign({extendEnv: false}, config)); + return await execa(bin, [], config); } catch (err) { throw new Error([err.stdout, err.stderr].join('\n')); } }; -test('should throw when not on travis ci', async t => { +test('should throw when not on travis ci', async () => { const env = { CI: false, TRAVIS: false }; - await t.throwsAsync( - bin({env}), - /@commitlint\/travis-cli is intended to be used on Travis CI/ + await expect(cli({env})).rejects.toThrow( + '@commitlint/travis-cli is intended to be used on Travis CI' ); }); -/* Test.failing( - 'should throw when on travis ci, but env vars are missing', - async t => { - const env = { - TRAVIS: true, - CI: true - }; - - await t.throwsAsync(bin({env}), /TRAVIS_COMMIT, TRAVIS_BRANCH/); - } -); */ - -test('should throw when on travis ci, but TRAVIS_COMMIT is missing', async t => { +test('should throw when on travis ci, but env vars are missing', async () => { const env = { TRAVIS: true, CI: true }; - await t.throwsAsync(bin({env}), /TRAVIS_COMMIT/); + await expect(cli({env})).rejects.toThrow( + 'TRAVIS_COMMIT, TRAVIS_COMMIT_RANGE, TRAVIS_EVENT_TYPE, TRAVIS_REPO_SLUG, TRAVIS_PULL_REQUEST_SLUG' + ); }); -/* Test.failing( - 'should throw when on travis ci, but TRAVIS_BRANCH is missing', - async t => { - const env = { - TRAVIS: true, - CI: true - }; +test('should call git with expected args', async () => { + const cwd = await git.clone( + 'https://github.com/conventional-changelog/commitlint.git', + ['--depth=10'], + __dirname, + TRAVIS_COMMITLINT_GIT_BIN + ); - await t.throwsAsync(bin({env}), /TRAVIS_BRANCH/); - } -); + const result = await cli({ + cwd, + env: validBaseEnv + }); + const invocations = await getInvocations(result.stdout); + expect(invocations.length).toBe(3); -test.failing('should call git with expected args on shallow repo', async t => { - if (os.platform() === 'win32') { - t.pass(); - return; - } + const [stash, branches, commilint] = invocations; - const cwd = await git.clone('https://github.com/conventional-changelog/commitlint.git', [ - '--depth=10' - ]); + expect(stash).toEqual(['git', 'stash', '-k', '-u', '--quiet']); + expect(branches).toEqual(['git', 'stash', 'pop', '--quiet']); + expect(commilint).toEqual(['commitlint']); +}); - const env = { - TRAVIS: true, - CI: true, - TRAVIS_BRANCH, - TRAVIS_COMMIT, - TRAVIS_COMMITLINT_BIN, +test('should call git with expected args on pull_request', async () => { + const cwd = await git.clone( + 'https://github.com/conventional-changelog/commitlint.git', + ['--depth=10'], + __dirname, TRAVIS_COMMITLINT_GIT_BIN - }; + ); - const result = await bin({cwd, env}); + const result = await cli({ + cwd, + env: {...validBaseEnv, TRAVIS_EVENT_TYPE: 'pull_request'} + }); const invocations = await getInvocations(result.stdout); - t.is(invocations.length, 7); - - const [ - stash, - branches, - unshallow, - checkout, - back, - pop, - commilint - ] = invocations; - - t.deepEqual(stash, [NODE_BIN, TRAVIS_COMMITLINT_GIT_BIN, 'stash']); - t.deepEqual(branches, [ - NODE_BIN, - TRAVIS_COMMITLINT_GIT_BIN, - 'remote', - 'set-branches', - 'origin', - TRAVIS_BRANCH - ]); - t.deepEqual(unshallow, [ - NODE_BIN, - TRAVIS_COMMITLINT_GIT_BIN, - 'fetch', - '--unshallow', - '--quiet' - ]); - t.deepEqual(checkout, [ - NODE_BIN, - TRAVIS_COMMITLINT_GIT_BIN, - 'checkout', - TRAVIS_BRANCH, - '--quiet' - ]); - t.deepEqual(back, [ - NODE_BIN, - TRAVIS_COMMITLINT_GIT_BIN, - 'checkout', - '-', - '--quiet' - ]); - t.deepEqual(pop, [NODE_BIN, TRAVIS_COMMITLINT_GIT_BIN, 'stash', 'pop']); - t.deepEqual(commilint, [ - NODE_BIN, - TRAVIS_COMMITLINT_BIN, + expect(invocations.length).toBe(3); + + const [stash, branches, commilint] = invocations; + + expect(stash).toEqual(['git', 'stash', '-k', '-u', '--quiet']); + expect(branches).toEqual(['git', 'stash', 'pop', '--quiet']); + expect(commilint).toEqual([ + 'commitlint', '--from', - TRAVIS_BRANCH, + 'TRAVIS_COMMIT_A', '--to', - TRAVIS_COMMIT + 'TRAVIS_COMMIT_B' ]); }); -test.failing( - 'should call git with expected args on unshallow repo', - async t => { - if (os.platform() === 'win32') { - t.pass(); - return; - } - - const cwd = await git.clone('https://github.com/conventional-changelog/commitlint.git'); - - const env = { - TRAVIS: true, - CI: true, - TRAVIS_BRANCH, - TRAVIS_COMMIT, - TRAVIS_COMMITLINT_BIN, - TRAVIS_COMMITLINT_GIT_BIN - }; - - const result = await bin({cwd, env}); - const invocations = await getInvocations(result.stdout); - t.is(invocations.length, 6); - - const [stash, branches, checkout, back, pop, commilint] = invocations; - - t.deepEqual(stash, [NODE_BIN, TRAVIS_COMMITLINT_GIT_BIN, 'stash']); - t.deepEqual(branches, [ - NODE_BIN, - TRAVIS_COMMITLINT_GIT_BIN, - 'remote', - 'set-branches', - 'origin', - TRAVIS_BRANCH - ]); - t.deepEqual(checkout, [ - NODE_BIN, - TRAVIS_COMMITLINT_GIT_BIN, - 'checkout', - TRAVIS_BRANCH, - '--quiet' - ]); - t.deepEqual(back, [ - NODE_BIN, - TRAVIS_COMMITLINT_GIT_BIN, - 'checkout', - '-', - '--quiet' - ]); - t.deepEqual(pop, [NODE_BIN, TRAVIS_COMMITLINT_GIT_BIN, 'stash', 'pop']); - t.deepEqual(commilint, [ - NODE_BIN, - TRAVIS_COMMITLINT_BIN, - '--from', - TRAVIS_BRANCH, - '--to', - TRAVIS_COMMIT - ]); - } -); - function getInvocations(stdout) { const matches = stdout.match(/[^[\]]+/g); const raw = Array.isArray(matches) ? matches : []; - return raw.filter(invocation => invocation !== '\n').map(invocation => - invocation - .split(',') - .map(fragment => fragment.trim()) - .map(fragment => fragment.substring(1, fragment.length - 1)) - .filter(Boolean) - ); + return raw + .filter(invocation => invocation !== '\n') + .map(invocation => + invocation + .split(',') + .map(fragment => fragment.trim()) + .map(fragment => fragment.substring(1, fragment.length - 1)) + .filter(Boolean) + ); } -*/ diff --git a/@packages/test/src/git.ts b/@packages/test/src/git.ts index 22e905749f..e459273926 100644 --- a/@packages/test/src/git.ts +++ b/@packages/test/src/git.ts @@ -9,11 +9,16 @@ export async function bootstrap(fixture?: string, directory?: string) { return cwd; } -export async function clone(source: string, ...args: string[]) { - const cwd = await fix.bootstrap(); +export async function clone( + source: string, + args: string[], + directory?: string, + gitCommand = 'git' +) { + const cwd = await fix.bootstrap(undefined, directory); - await execa('git', ['clone', ...args, source, cwd]); - await setup(cwd); + await execa(gitCommand, ['clone', ...args, source, cwd]); + await setup(cwd, gitCommand); return cwd; } @@ -23,11 +28,13 @@ export async function init(cwd: string) { return cwd; } -async function setup(cwd: string) { +async function setup(cwd: string, gitCommand = 'git') { try { - await execa('git', ['config', 'user.name', 'ava'], {cwd}); - await execa('git', ['config', 'user.email', 'test@example.com'], {cwd}); - await execa('git', ['config', 'commit.gpgsign', 'false'], {cwd}); + await execa(gitCommand, ['config', 'user.name', 'ava'], {cwd}); + await execa(gitCommand, ['config', 'user.email', 'test@example.com'], { + cwd + }); + await execa(gitCommand, ['config', 'commit.gpgsign', 'false'], {cwd}); } catch (err) { console.warn(`git config in ${cwd} failed`, err.message); } diff --git a/jest.config.js b/jest.config.js index 6aa9696c68..c410a745b3 100644 --- a/jest.config.js +++ b/jest.config.js @@ -6,6 +6,7 @@ module.exports = { '**/*.test.ts?(x)', '**/@commitlint/lint/src/*.test.js?(x)', '**/@commitlint/read/src/*.test.js?(x)', + '**/@commitlint/travis-cli/src/*.test.js?(x)', '**/@commitlint/cli/src/*.test.js?(x)', '**/@commitlint/prompt-cli/*.test.js?(x)' ] diff --git a/yarn.lock b/yarn.lock index 32df2547ef..ffe00dc1c5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10172,13 +10172,6 @@ which-module@^2.0.0: resolved "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= -which@2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/which/-/which-2.0.1.tgz#f1cf94d07a8e571b6ff006aeb91d0300c47ef0a4" - integrity sha512-N7GBZOTswtB9lkQBZA4+zAXrjEIWAUOB93AvzUiudRzRxhUdLURQ7D/gAIMY1gatT/LTbmbcv8SiYazy3eYB7w== - dependencies: - isexe "^2.0.0" - which@^1.2.10, which@^1.2.14, which@^1.2.9, which@^1.3.0, which@^1.3.1: version "1.3.1" resolved "https://registry.npmjs.org/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" From fac81712469b396260d2875244494ecc975d2e32 Mon Sep 17 00:00:00 2001 From: Armano Date: Tue, 28 Jan 2020 23:53:42 +0100 Subject: [PATCH 0020/2192] chore: cleanup no longer used dev dependencies (#917) --- @commitlint/cli/package.json | 5 ----- @commitlint/lint/package.json | 1 - @commitlint/read/package.json | 4 +--- @commitlint/rules/package.json | 6 ------ @commitlint/top-level/package.json | 5 ----- @commitlint/travis-cli/package.json | 3 +-- @packages/babel-preset-commitlint/package.json | 3 +-- @packages/utils/package.json | 5 ----- yarn.lock | 14 +------------- 9 files changed, 4 insertions(+), 42 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 66b66cf8b2..6767969281 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -46,16 +46,11 @@ "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", - "@babel/register": "^7.7.7", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "babel-preset-commitlint": "^8.2.0", - "concurrently": "3.6.1", "cross-env": "6.0.3", "execa": "0.11.0", - "mkdirp": "0.5.1", - "pkg-dir": "4.2.0", - "resolve-bin": "0.4.0", "sander": "0.6.0", "string-to-stream": "3.0.1" }, diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 074716f4dd..d7ba5b4b75 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -43,7 +43,6 @@ "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", - "@babel/register": "^7.7.7", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "babel-preset-commitlint": "^8.2.0", diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 703026c6ef..de7a556d71 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -10,7 +10,7 @@ "build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps", "deps": "dep-check", "pkg": "pkg-check --skip-import", - "start": "concurrently \"ava -c 4 --verbose --watch\" \"yarn run watch\"", + "start": "yarn run watch", "watch": "babel src --out-dir lib --watch --source-maps" }, "babel": { @@ -43,11 +43,9 @@ "devDependencies": { "@babel/core": "7.7.7", "@babel/cli": "7.7.7", - "@babel/register": "7.7.7", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "babel-preset-commitlint": "^8.2.0", - "concurrently": "3.6.1", "cross-env": "6.0.3", "execa": "0.11.0" }, diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index 9eab1b36dc..b607e279a1 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -34,16 +34,10 @@ }, "license": "MIT", "devDependencies": { - "@babel/core": "7.7.7", - "@babel/cli": "7.7.7", - "@babel/register": "7.7.7", "@commitlint/parse": "^8.3.4", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "babel-preset-commitlint": "^8.2.0", - "concurrently": "3.6.1", "conventional-changelog-angular": "1.6.6", - "cross-env": "6.0.3", "globby": "10.0.1", "lodash": "4.17.15" }, diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index c14176a082..2dd57cd0c3 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -11,11 +11,6 @@ "deps": "dep-check", "pkg": "pkg-check" }, - "babel": { - "presets": [ - "babel-preset-commitlint" - ] - }, "engines": { "node": ">=4" }, diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index d8fdc71225..bc3b8c2afe 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -12,7 +12,7 @@ "build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps", "deps": "dep-check", "pkg": "pkg-check --skip-main", - "start": "ava -c 4 --verbose --watch", + "start": "yarn run watch", "watch": "babel src --out-dir lib --watch --source-maps" }, "babel": { @@ -44,7 +44,6 @@ "devDependencies": { "@babel/cli": "7.7.7", "@babel/core": "7.7.7", - "@babel/register": "7.7.7", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "babel-preset-commitlint": "^8.2.0", diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index 5c09763c33..f5628dde33 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -43,8 +43,7 @@ }, "license": "MIT", "devDependencies": { - "@babel/core": "^7.7.7", - "ava": "2.4.0" + "@babel/core": "^7.7.7" }, "dependencies": { "@babel/plugin-transform-modules-commonjs": "^7.7.5", diff --git a/@packages/utils/package.json b/@packages/utils/package.json index ace86a6130..9df2a1bdea 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -18,11 +18,6 @@ "deps": "node dep-check.js", "pkg": "node pkg-check.js --skip-main" }, - "ava": { - "files": [ - "cli.test.js" - ] - }, "engines": { "node": ">=4" }, diff --git a/yarn.lock b/yarn.lock index ffe00dc1c5..1cba87fed4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4425,11 +4425,6 @@ find-node-modules@2.0.0: findup-sync "^3.0.0" merge "^1.2.1" -find-parent-dir@~0.3.0: - version "0.3.0" - resolved "https://registry.npmjs.org/find-parent-dir/-/find-parent-dir-0.3.0.tgz#33c44b429ab2b2f0646299c5f9f718f376ff8d54" - integrity sha1-M8RLQpqysvBkYpnF+fcY83b/jVQ= - find-root@1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" @@ -7112,7 +7107,7 @@ mkdirp-promise@^5.0.1: dependencies: mkdirp "*" -mkdirp@*, mkdirp@0.5.1, mkdirp@0.x, mkdirp@^0.5.0, mkdirp@^0.5.1: +mkdirp@*, mkdirp@0.x, mkdirp@^0.5.0, mkdirp@^0.5.1: version "0.5.1" resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= @@ -8632,13 +8627,6 @@ require-precompiled@^0.1.0: resolved "https://registry.npmjs.org/require-precompiled/-/require-precompiled-0.1.0.tgz#5a1b52eb70ebed43eb982e974c85ab59571e56fa" integrity sha1-WhtS63Dr7UPrmC6XTIWrWVceVvo= -resolve-bin@0.4.0: - version "0.4.0" - resolved "https://registry.npmjs.org/resolve-bin/-/resolve-bin-0.4.0.tgz#47132249891101afb19991fe937cb0a5f072e5d9" - integrity sha1-RxMiSYkRAa+xmZH+k3ywpfBy5dk= - dependencies: - find-parent-dir "~0.3.0" - resolve-cwd@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" From ee5eac98fa97ba5ba17030c8d2705aee5c7f3a3a Mon Sep 17 00:00:00 2001 From: Armano Date: Mon, 3 Feb 2020 08:54:50 +0100 Subject: [PATCH 0021/2192] fix(cli): add missing regenerator-runtime to dependencies (#919) --- @commitlint/cli/package.json | 1 + yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 6767969281..def8580e40 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -64,6 +64,7 @@ "get-stdin": "7.0.0", "lodash": "4.17.15", "meow": "5.0.0", + "regenerator-runtime": "0.13.3", "resolve-from": "5.0.0", "resolve-global": "1.0.0" } diff --git a/yarn.lock b/yarn.lock index 1cba87fed4..7f8a743ed8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8432,6 +8432,11 @@ regenerate@^1.4.0: resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11" integrity sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg== +regenerator-runtime@0.13.3, regenerator-runtime@^0.13.2: + version "0.13.3" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5" + integrity sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw== + regenerator-runtime@^0.10.5: version "0.10.5" resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" @@ -8442,11 +8447,6 @@ regenerator-runtime@^0.11.0: resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== -regenerator-runtime@^0.13.2: - version "0.13.3" - resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5" - integrity sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw== - regenerator-transform@^0.14.0: version "0.14.1" resolved "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.1.tgz#3b2fce4e1ab7732c08f665dfdb314749c7ddd2fb" From ff11998e0cf6fcd4f03bc18ab27b1bdd6bf21906 Mon Sep 17 00:00:00 2001 From: Shahar Dawn Or Date: Mon, 3 Feb 2020 14:56:49 +0700 Subject: [PATCH 0022/2192] feat(config-conventional): increase header-max-length to 100 (#860) Closes #859. --- @commitlint/config-conventional/README.md | 2 +- @commitlint/config-conventional/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/@commitlint/config-conventional/README.md b/@commitlint/config-conventional/README.md index 2ea5a669b4..1e31874593 100644 --- a/@commitlint/config-conventional/README.md +++ b/@commitlint/config-conventional/README.md @@ -125,7 +125,7 @@ echo "fix: some message" # passes * **rule**: `always` * **value** ```js - 72 + 100 ``` ```sh diff --git a/@commitlint/config-conventional/index.js b/@commitlint/config-conventional/index.js index 74eda5bf46..bec8fc77f3 100644 --- a/@commitlint/config-conventional/index.js +++ b/@commitlint/config-conventional/index.js @@ -3,7 +3,7 @@ module.exports = { rules: { 'body-leading-blank': [1, 'always'], 'footer-leading-blank': [1, 'always'], - 'header-max-length': [2, 'always', 72], + 'header-max-length': [2, 'always', 100], 'scope-case': [2, 'always', 'lower-case'], 'subject-case': [ 2, From a47422410d89afe0ff79cb80a4a9d5cbb1d32e0c Mon Sep 17 00:00:00 2001 From: Armano Date: Mon, 3 Feb 2020 09:16:44 +0100 Subject: [PATCH 0023/2192] test(prompt): migrate ava tests to jest (#916) --- @commitlint/prompt/package.json | 24 +---------------- .../prompt/src/library/get-prompt.test.js | 27 +++++++++---------- jest.config.js | 3 ++- 3 files changed, 15 insertions(+), 39 deletions(-) diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 960618658d..685be8034e 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -11,28 +11,9 @@ "commit": "git-cz", "deps": "dep-check", "pkg": "pkg-check --skip-import", - "start": "concurrently \"ava --watch --verbose\" \"yarn run watch\"", - "test": "ava --verbose", + "start": "yarn run watch", "watch": "babel src --out-dir lib --watch --source-maps" }, - "ava": { - "babel": { - "testOptions": { - "presets": [ - "babel-preset-commitlint" - ] - } - }, - "require": [ - "@babel/register" - ], - "files": [ - "src/**/*.test.js" - ], - "sources": [ - "src/**/*.js" - ] - }, "babel": { "presets": [ "commitlint" @@ -63,12 +44,9 @@ "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", - "@babel/register": "^7.7.7", "@commitlint/utils": "^8.3.4", - "ava": "2.4.0", "babel-preset-commitlint": "^8.2.0", "commitizen": "3.1.2", - "concurrently": "3.6.1", "cross-env": "6.0.3" }, "dependencies": { diff --git a/@commitlint/prompt/src/library/get-prompt.test.js b/@commitlint/prompt/src/library/get-prompt.test.js index b0aa9e39e4..0b9899eb71 100644 --- a/@commitlint/prompt/src/library/get-prompt.test.js +++ b/@commitlint/prompt/src/library/get-prompt.test.js @@ -1,28 +1,25 @@ -import test from 'ava'; import getPrompt from './get-prompt'; -test('throws without params', t => { - t.throws(() => getPrompt(), /Missing prompter function/); +test('throws without params', () => { + expect(() => getPrompt()).toThrow('Missing prompter function'); }); -test('throws with incompatible prompter', t => { - t.throws( - () => - getPrompt('type', { - prompter() { - return {}; - } - }), - /prompt.removeAllListeners/ - ); +test('throws with incompatible prompter', () => { + expect(() => + getPrompt('type', { + prompter() { + return {}; + } + }) + ).toThrow('prompt.removeAllListeners'); }); -test('returns input unaltered wihtout rules', async t => { +test('returns input unaltered wihtout rules', async () => { const message = await getPrompt('type', { prompter: stub('foobar') }); - t.is(message, 'foobar'); + expect(message).toEqual('foobar'); }); function stub(input = '') { diff --git a/jest.config.js b/jest.config.js index c410a745b3..fbb71fb849 100644 --- a/jest.config.js +++ b/jest.config.js @@ -8,6 +8,7 @@ module.exports = { '**/@commitlint/read/src/*.test.js?(x)', '**/@commitlint/travis-cli/src/*.test.js?(x)', '**/@commitlint/cli/src/*.test.js?(x)', - '**/@commitlint/prompt-cli/*.test.js?(x)' + '**/@commitlint/prompt-cli/*.test.js?(x)', + '**/@commitlint/prompt/src/**/*.test.js?(x)' ] }; From ac71331f65ecfc8aebf5a86fc5b3b8539b0ce2de Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Mon, 3 Feb 2020 09:18:28 +0100 Subject: [PATCH 0024/2192] refactor: port load to typescript (#786) * refactor: port load to typescript [wip] * refactor: port load to typescript [wip] * refactor(load): finish port to typescript * fix(cli): unpack load from default when importing * refactor(load): beef up typings * fix(load): repair botched merge * test: port load tests from ava to jest Co-authored-by: Armano * fix: propagate tightened types * refactor: move out helper functions * test: match prompt-cli tests correctly * fix: add missing dependency on @commitlint/rules * fix: add missing reference * fix: add missing references Co-authored-by: Mario Nebl Co-authored-by: Armano --- .editorconfig | 2 +- @commitlint/ensure/src/index.ts | 4 +- @commitlint/execute-rule/src/index.ts | 2 +- .../load/fixtures/basic/commitlint.config.js | 2 +- @commitlint/load/package.json | 41 +- @commitlint/load/src/index.js | 164 -------- @commitlint/load/src/index.serial-test.js | 19 - @commitlint/load/src/index.test.js | 384 ----------------- @commitlint/load/src/load.test.ts | 394 ++++++++++++++++++ @commitlint/load/src/load.ts | 107 +++++ @commitlint/load/src/types.ts | 123 ++++++ @commitlint/load/src/utils/load-config.ts | 21 + .../load/src/utils/load-parser-opts.ts | 50 +++ @commitlint/load/src/utils/loadPlugin.test.js | 80 ---- @commitlint/load/src/utils/loadPlugin.test.ts | 65 +++ .../utils/{loadPlugin.js => loadPlugin.ts} | 32 +- @commitlint/load/src/utils/pick-config.ts | 14 + @commitlint/load/src/utils/pluginErrors.ts | 29 ++ .../{pluginNaming.js => pluginNaming.ts} | 10 +- @commitlint/load/tsconfig.json | 20 + @commitlint/rules/package.json | 1 + @commitlint/rules/tsconfig.json | 8 +- jest.config.js | 8 +- tsconfig.json | 1 + tsconfig.shared.json | 3 +- yarn.lock | 7 + 26 files changed, 874 insertions(+), 717 deletions(-) delete mode 100644 @commitlint/load/src/index.js delete mode 100644 @commitlint/load/src/index.serial-test.js delete mode 100644 @commitlint/load/src/index.test.js create mode 100644 @commitlint/load/src/load.test.ts create mode 100644 @commitlint/load/src/load.ts create mode 100644 @commitlint/load/src/types.ts create mode 100644 @commitlint/load/src/utils/load-config.ts create mode 100644 @commitlint/load/src/utils/load-parser-opts.ts delete mode 100644 @commitlint/load/src/utils/loadPlugin.test.js create mode 100644 @commitlint/load/src/utils/loadPlugin.test.ts rename @commitlint/load/src/utils/{loadPlugin.js => loadPlugin.ts} (72%) create mode 100644 @commitlint/load/src/utils/pick-config.ts create mode 100644 @commitlint/load/src/utils/pluginErrors.ts rename @commitlint/load/src/utils/{pluginNaming.js => pluginNaming.ts} (91%) create mode 100644 @commitlint/load/tsconfig.json diff --git a/.editorconfig b/.editorconfig index 62fcd43244..0186fe53aa 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,7 +4,7 @@ insert_final_newline = true trim_trailing_whitespace = true indent_style = tab -[{.*rc,*.yml,*.md,package.json,lerna.json,*.svg}] +[{.*rc,*.yml,*.md,package.json,lerna.json,tsconfig.json,tsconfig.*.json,*.svg}] indent_style = space [*.md] diff --git a/@commitlint/ensure/src/index.ts b/@commitlint/ensure/src/index.ts index 143d6d078c..7ff21e7e19 100644 --- a/@commitlint/ensure/src/index.ts +++ b/@commitlint/ensure/src/index.ts @@ -1,4 +1,4 @@ -import ensureCase from './case'; +import ensureCase, {TargetCaseType} from './case'; import ensureEnum from './enum'; import maxLength from './max-length'; import maxLineLength from './max-line-length'; @@ -7,5 +7,5 @@ import notEmpty from './not-empty'; export {ensureCase as case}; export {ensureEnum as enum}; +export {TargetCaseType}; export {maxLength, maxLineLength, minLength, notEmpty}; -export {TargetCaseType} from './case'; diff --git a/@commitlint/execute-rule/src/index.ts b/@commitlint/execute-rule/src/index.ts index c0db79c7f0..47029f4b89 100644 --- a/@commitlint/execute-rule/src/index.ts +++ b/@commitlint/execute-rule/src/index.ts @@ -7,7 +7,7 @@ type ExecutedRule = readonly [string, T]; export default execute; export async function execute( - rule: Rule + rule?: Rule ): Promise | null> { if (!Array.isArray(rule)) { return null; diff --git a/@commitlint/load/fixtures/basic/commitlint.config.js b/@commitlint/load/fixtures/basic/commitlint.config.js index 9644c8e61f..9c5695d7aa 100644 --- a/@commitlint/load/fixtures/basic/commitlint.config.js +++ b/@commitlint/load/fixtures/basic/commitlint.config.js @@ -1,5 +1,5 @@ module.exports = { rules: { - basic: true + 'body-case': [1, 'never', 'camel-case'] } }; diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 0d8cbddadf..906814f897 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -2,42 +2,14 @@ "name": "@commitlint/load", "version": "8.3.5", "description": "Load shared commitlint configuration", - "main": "lib/index.js", + "main": "lib/load.js", + "types": "lib/load.d.ts", "files": [ "lib/" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps", "deps": "dep-check", - "pkg": "pkg-check --skip-import", - "start": "concurrently \"ava -c 4 --verbose --watch\" \"yarn run watch\"", - "test": "ava -c 4 --verbose && ava src/index.serial-test.js --verbose", - "watch": "babel src --out-dir lib --watch --source-maps" - }, - "ava": { - "files": [ - "src/**/*.test.js", - "!lib/**/*" - ], - "source": [ - "src/**/*.js", - "!lib/**/*" - ], - "babel": { - "testOptions": { - "presets": [ - "babel-preset-commitlint" - ] - } - }, - "require": [ - "@babel/register" - ] - }, - "babel": { - "presets": [ - "babel-preset-commitlint" - ] + "pkg": "pkg-check --skip-import" }, "engines": { "node": ">=4" @@ -62,13 +34,9 @@ }, "license": "MIT", "devDependencies": { - "@babel/core": "7.7.7", - "@babel/cli": "7.7.7", - "@babel/register": "7.7.7", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "ava": "2.4.0", - "babel-preset-commitlint": "^8.2.0", + "@types/cosmiconfig": "^5.0.3", "concurrently": "3.6.1", "cross-env": "6.0.3", "execa": "0.11.0", @@ -77,6 +45,7 @@ "dependencies": { "@commitlint/execute-rule": "^8.3.4", "@commitlint/resolve-extends": "^8.3.5", + "@commitlint/rules": "^8.3.4", "chalk": "2.4.2", "cosmiconfig": "^5.2.0", "lodash": "4.17.15", diff --git a/@commitlint/load/src/index.js b/@commitlint/load/src/index.js deleted file mode 100644 index e3f74d0d27..0000000000 --- a/@commitlint/load/src/index.js +++ /dev/null @@ -1,164 +0,0 @@ -import path from 'path'; -import executeRule from '@commitlint/execute-rule'; -import resolveExtends from '@commitlint/resolve-extends'; -import cosmiconfig from 'cosmiconfig'; -import {toPairs, merge, mergeWith, pick, startsWith} from 'lodash'; -import resolveFrom from 'resolve-from'; -import loadPlugin from './utils/loadPlugin'; - -const w = (a, b) => (Array.isArray(b) ? b : undefined); -const valid = input => - pick( - input, - 'extends', - 'rules', - 'plugins', - 'parserPreset', - 'formatter', - 'ignores', - 'defaultIgnores' - ); - -export default async (seed = {}, options = {cwd: process.cwd()}) => { - const loaded = await loadConfig(options.cwd, options.file); - const base = loaded.filepath ? path.dirname(loaded.filepath) : options.cwd; - - // Merge passed config with file based options - const config = valid(merge({}, loaded.config, seed)); - const opts = merge( - {extends: [], rules: {}, formatter: '@commitlint/format'}, - pick(config, 'extends', 'plugins', 'ignores', 'defaultIgnores') - ); - - // Resolve parserPreset key when overwritten by main config - if (typeof config.parserPreset === 'string') { - const resolvedParserPreset = resolveFrom(base, config.parserPreset); - - config.parserPreset = { - name: config.parserPreset, - path: resolvedParserPreset, - parserOpts: require(resolvedParserPreset) - }; - } - - // Resolve extends key - const extended = resolveExtends(opts, { - prefix: 'commitlint-config', - cwd: base, - parserPreset: config.parserPreset - }); - - const preset = valid(mergeWith(extended, config, w)); - - // Resolve parser-opts from preset - if (typeof preset.parserPreset === 'object') { - preset.parserPreset.parserOpts = await loadParserOpts( - preset.parserPreset.name, - preset.parserPreset - ); - } - - // Resolve config-relative formatter module - if (typeof config.formatter === 'string') { - preset.formatter = - resolveFrom.silent(base, config.formatter) || config.formatter; - } - - // resolve plugins - preset.plugins = {}; - if (config.plugins && config.plugins.length) { - config.plugins.forEach(pluginKey => { - loadPlugin(preset.plugins, pluginKey, process.env.DEBUG === 'true'); - }); - } - - // Execute rule config functions if needed - const executed = await Promise.all( - ['rules'] - .map(key => { - return [key, preset[key]]; - }) - .map(async item => { - const [key, value] = item; - const executedValue = await Promise.all( - toPairs(value || {}).map(entry => executeRule(entry)) - ); - return [ - key, - executedValue.reduce((registry, item) => { - const [key, value] = item; - registry[key] = value; - return registry; - }, {}) - ]; - }) - ); - - // Merge executed config keys into preset - return executed.reduce((registry, item) => { - const [key, value] = item; - registry[key] = value; - return registry; - }, preset); -}; - -async function loadConfig(cwd, configPath) { - const explorer = cosmiconfig('commitlint'); - - const explicitPath = configPath ? path.resolve(cwd, configPath) : undefined; - const explore = explicitPath ? explorer.load : explorer.search; - const searchPath = explicitPath ? explicitPath : cwd; - const local = await explore(searchPath); - - if (local) { - return local; - } - - return {}; -} - -async function loadParserOpts(parserName, pendingParser) { - // Await for the module, loaded with require - const parser = await pendingParser; - - // Await parser opts if applicable - if ( - typeof parser === 'object' && - typeof parser.parserOpts === 'object' && - typeof parser.parserOpts.then === 'function' - ) { - return (await parser.parserOpts).parserOpts; - } - - // Create parser opts from factory - if ( - typeof parser === 'object' && - typeof parser.parserOpts === 'function' && - startsWith(parserName, 'conventional-changelog-') - ) { - return await new Promise(resolve => { - const result = parser.parserOpts((_, opts) => { - resolve(opts.parserOpts); - }); - - // If result has data or a promise, the parser doesn't support factory-init - // due to https://github.com/nodejs/promises-debugging/issues/16 it just quits, so let's use this fallback - if (result) { - Promise.resolve(result).then(opts => { - resolve(opts.parserOpts); - }); - } - }); - } - - // Pull nested paserOpts, might happen if overwritten with a module in main config - if ( - typeof parser === 'object' && - typeof parser.parserOpts === 'object' && - typeof parser.parserOpts.parserOpts === 'object' - ) { - return parser.parserOpts.parserOpts; - } - - return parser.parserOpts; -} diff --git a/@commitlint/load/src/index.serial-test.js b/@commitlint/load/src/index.serial-test.js deleted file mode 100644 index 43f499ca66..0000000000 --- a/@commitlint/load/src/index.serial-test.js +++ /dev/null @@ -1,19 +0,0 @@ -import {fix} from '@commitlint/test'; -import test from 'ava'; - -import load from '.'; - -test.serial('default cwd option to process.cwd()', async t => { - const cwd = await fix.bootstrap('fixtures/basic'); - const before = process.cwd(); - process.chdir(cwd); - - try { - const actual = await load(); - t.true(actual.rules.basic); - } catch (err) { - throw err; - } finally { - process.chdir(before); - } -}); diff --git a/@commitlint/load/src/index.test.js b/@commitlint/load/src/index.test.js deleted file mode 100644 index 5407d33edf..0000000000 --- a/@commitlint/load/src/index.test.js +++ /dev/null @@ -1,384 +0,0 @@ -import path from 'path'; -import {fix, git, npm} from '@commitlint/test'; -import test from 'ava'; -import execa from 'execa'; -import resolveFrom from 'resolve-from'; - -import load from '.'; - -const proxyquire = require('proxyquire') - .noCallThru() - .noPreserveCache(); - -test('extends-empty should have no rules', async t => { - const cwd = await git.bootstrap('fixtures/extends-empty'); - const actual = await load({}, {cwd}); - t.deepEqual(actual.rules, {}); -}); - -test('uses seed as configured', async t => { - const cwd = await git.bootstrap('fixtures/extends-empty'); - const actual = await load({rules: {foo: 'bar'}}, {cwd}); - t.is(actual.rules.foo, 'bar'); -}); - -test('rules should be loaded from relative config file', async t => { - const file = 'config/commitlint.config.js'; - const cwd = await git.bootstrap('fixtures/specify-config-file'); - const actual = await load({}, {cwd, file}); - t.is(actual.rules.foo, 'bar'); -}); - -test('rules should be loaded from absolute config file', async t => { - const cwd = await git.bootstrap('fixtures/specify-config-file'); - const file = path.join(cwd, 'config/commitlint.config.js'); - const actual = await load({}, {cwd: process.cwd(), file}); - t.is(actual.rules.foo, 'bar'); -}); - -test('plugins should be loaded from seed', async t => { - const plugin = {'@global': true}; - const scopedPlugin = {'@global': true}; - const stubbedLoad = proxyquire('.', { - 'commitlint-plugin-example': plugin, - '@scope/commitlint-plugin-example': scopedPlugin - }).default; - - const cwd = await git.bootstrap('fixtures/extends-empty'); - const actual = await stubbedLoad( - {plugins: ['example', '@scope/example']}, - {cwd} - ); - t.deepEqual(actual.plugins, { - example: plugin, - '@scope/example': scopedPlugin - }); -}); - -test('plugins should be loaded from config', async t => { - const plugin = {'@global': true}; - const scopedPlugin = {'@global': true}; - const stubbedLoad = proxyquire('.', { - 'commitlint-plugin-example': plugin, - '@scope/commitlint-plugin-example': scopedPlugin - }).default; - - const cwd = await git.bootstrap('fixtures/extends-plugins'); - const actual = await stubbedLoad({}, {cwd}); - t.deepEqual(actual.plugins, { - example: plugin, - '@scope/example': scopedPlugin - }); -}); - -test('uses seed with parserPreset', async t => { - const cwd = await git.bootstrap('fixtures/parser-preset'); - const {parserPreset: actual} = await load( - { - parserPreset: './conventional-changelog-custom' - }, - {cwd} - ); - t.is(actual.name, './conventional-changelog-custom'); - t.deepEqual(actual.parserOpts, { - headerPattern: /^(\w*)(?:\((.*)\))?-(.*)$/ - }); -}); - -test('invalid extend should throw', async t => { - const cwd = await git.bootstrap('fixtures/extends-invalid'); - await t.throwsAsync(load({}, {cwd})); -}); - -test('empty file should have no rules', async t => { - const cwd = await git.bootstrap('fixtures/empty-object-file'); - const actual = await load({}, {cwd}); - t.deepEqual(actual.rules, {}); -}); - -test('empty file should extend nothing', async t => { - const cwd = await git.bootstrap('fixtures/empty-file'); - const actual = await load({}, {cwd}); - t.deepEqual(actual.extends, []); -}); - -test('respects cwd option', async t => { - const cwd = await git.bootstrap('fixtures/recursive-extends/first-extended'); - const actual = await load({}, {cwd}); - t.deepEqual(actual, { - formatter: '@commitlint/format', - extends: ['./second-extended'], - plugins: {}, - rules: { - one: 1, - two: 2 - } - }); -}); - -test('recursive extends', async t => { - const cwd = await git.bootstrap('fixtures/recursive-extends'); - const actual = await load({}, {cwd}); - t.deepEqual(actual, { - formatter: '@commitlint/format', - extends: ['./first-extended'], - plugins: {}, - rules: { - zero: 0, - one: 1, - two: 2 - } - }); -}); - -test('recursive extends with json file', async t => { - const cwd = await git.bootstrap('fixtures/recursive-extends-json'); - const actual = await load({}, {cwd}); - - t.deepEqual(actual, { - formatter: '@commitlint/format', - extends: ['./first-extended'], - plugins: {}, - rules: { - zero: 0, - one: 1, - two: 2 - } - }); -}); - -test('recursive extends with yaml file', async t => { - const cwd = await git.bootstrap('fixtures/recursive-extends-yaml'); - const actual = await load({}, {cwd}); - - t.deepEqual(actual, { - formatter: '@commitlint/format', - extends: ['./first-extended'], - plugins: {}, - rules: { - zero: 0, - one: 1, - two: 2 - } - }); -}); - -test('recursive extends with js file', async t => { - const cwd = await git.bootstrap('fixtures/recursive-extends-js'); - const actual = await load({}, {cwd}); - - t.deepEqual(actual, { - formatter: '@commitlint/format', - extends: ['./first-extended'], - plugins: {}, - rules: { - zero: 0, - one: 1, - two: 2 - } - }); -}); - -test('recursive extends with package.json file', async t => { - const cwd = await git.bootstrap('fixtures/recursive-extends-package'); - const actual = await load({}, {cwd}); - - t.deepEqual(actual, { - formatter: '@commitlint/format', - extends: ['./first-extended'], - plugins: {}, - rules: { - zero: 0, - one: 1, - two: 2 - } - }); -}); - -test('parser preset overwrites completely instead of merging', async t => { - const cwd = await git.bootstrap('fixtures/parser-preset-override'); - const actual = await load({}, {cwd}); - t.is(actual.parserPreset.name, './custom'); - t.deepEqual(actual.parserPreset.parserOpts, { - headerPattern: /.*/ - }); -}); - -test('recursive extends with parserPreset', async t => { - const cwd = await git.bootstrap('fixtures/recursive-parser-preset'); - const actual = await load({}, {cwd}); - t.is(actual.parserPreset.name, './conventional-changelog-custom'); - t.is(typeof actual.parserPreset.parserOpts, 'object'); - t.deepEqual( - actual.parserPreset.parserOpts.headerPattern, - /^(\w*)(?:\((.*)\))?-(.*)$/ - ); -}); - -test('ignores unknow keys', async t => { - const cwd = await git.bootstrap('fixtures/trash-file'); - const actual = await load({}, {cwd}); - - t.deepEqual(actual, { - formatter: '@commitlint/format', - extends: [], - plugins: {}, - rules: { - foo: 'bar', - baz: 'bar' - } - }); -}); - -test('ignores unknow keys recursively', async t => { - const cwd = await git.bootstrap('fixtures/trash-extend'); - const actual = await load({}, {cwd}); - - t.deepEqual(actual, { - formatter: '@commitlint/format', - extends: ['./one'], - plugins: {}, - rules: { - zero: 0, - one: 1 - } - }); -}); - -test('find up from given cwd', async t => { - const outer = await fix.bootstrap('fixtures/outer-scope'); - await git.init(path.join(outer, 'inner-scope')); - const cwd = path.join(outer, 'inner-scope', 'child-scope'); - - const actual = await load({}, {cwd}); - - t.deepEqual(actual, { - formatter: '@commitlint/format', - extends: [], - plugins: {}, - rules: { - child: true, - inner: false, - outer: false - } - }); -}); - -test('find up config from outside current git repo', async t => { - const outer = await fix.bootstrap('fixtures/outer-scope'); - const cwd = await git.init(path.join(outer, 'inner-scope')); - const actual = await load({}, {cwd}); - - t.deepEqual(actual, { - formatter: '@commitlint/format', - extends: [], - plugins: {}, - rules: { - child: false, - inner: false, - outer: true - } - }); -}); - -test('respects formatter option', async t => { - const cwd = await git.bootstrap('fixtures/formatter'); - const actual = await load({}, {cwd}); - - t.deepEqual(actual, { - formatter: 'commitlint-junit', - extends: [], - plugins: {}, - rules: {} - }); -}); - -test('resolves formatter relative from config directory', async t => { - const cwd = await git.bootstrap('fixtures/formatter-local-module'); - const actual = await load({}, {cwd}); - - t.deepEqual(actual, { - formatter: resolveFrom(cwd, './formatters/custom.js'), - extends: [], - plugins: {}, - rules: {} - }); -}); - -test('returns formatter name when unable to resolve from config directory', async t => { - const cwd = await git.bootstrap('fixtures/formatter-local-module'); - const actual = await load({formatter: './doesnt/exists.js'}, {cwd}); - - t.deepEqual(actual, { - formatter: './doesnt/exists.js', - extends: [], - plugins: {}, - rules: {} - }); -}); - -test('does not mutate config module reference', async t => { - const file = 'config/commitlint.config.js'; - const cwd = await git.bootstrap('fixtures/specify-config-file'); - - const configPath = path.join(cwd, file); - const before = JSON.stringify(require(configPath)); - await load({arbitraryField: true}, {cwd, file}); - const after = JSON.stringify(require(configPath)); - - t.is(before, after); -}); - -test('resolves parser preset from conventional commits', async t => { - const cwd = await npm.bootstrap('fixtures/parser-preset-conventionalcommits'); - const actual = await load({}, {cwd}); - - t.is(actual.parserPreset.name, 'conventional-changelog-conventionalcommits'); - t.is(typeof actual.parserPreset.parserOpts, 'object'); - t.deepEqual( - actual.parserPreset.parserOpts.headerPattern, - /^(\w*)(?:\((.*)\))?!?: (.*)$/ - ); -}); - -test('resolves parser preset from conventional angular', async t => { - const cwd = await npm.bootstrap('fixtures/parser-preset-angular'); - const actual = await load({}, {cwd}); - - t.is(actual.parserPreset.name, 'conventional-changelog-angular'); - t.is(typeof actual.parserPreset.parserOpts, 'object'); - t.deepEqual( - actual.parserPreset.parserOpts.headerPattern, - /^(\w*)(?:\((.*)\))?: (.*)$/ - ); -}); - -test('recursive resolves parser preset from conventional atom', async t => { - const cwd = await git.bootstrap( - 'fixtures/recursive-parser-preset-conventional-atom' - ); - // the package file is nested in 2 folders, `npm.bootstrap` cant do that - await execa('npm', ['install'], { - cwd: path.resolve(cwd, 'first-extended', 'second-extended') - }); - - const actual = await load({}, {cwd}); - - t.is(actual.parserPreset.name, 'conventional-changelog-atom'); - t.is(typeof actual.parserPreset.parserOpts, 'object'); - t.deepEqual(actual.parserPreset.parserOpts.headerPattern, /^(:.*?:) (.*)$/); -}); - -test('resolves parser preset from conventional commits without factory support', async t => { - const cwd = await npm.bootstrap( - 'fixtures/parser-preset-conventional-without-factory' - ); - const actual = await load({}, {cwd}); - - t.is(actual.parserPreset.name, 'conventional-changelog-conventionalcommits'); - t.is(typeof actual.parserPreset.parserOpts, 'object'); - t.deepEqual( - actual.parserPreset.parserOpts.headerPattern, - /^(\w*)(?:\((.*)\))?!?: (.*)$/ - ); -}); diff --git a/@commitlint/load/src/load.test.ts b/@commitlint/load/src/load.test.ts new file mode 100644 index 0000000000..4caeb1cf9e --- /dev/null +++ b/@commitlint/load/src/load.test.ts @@ -0,0 +1,394 @@ +const plugin = jest.fn(); +const scopedPlugin = jest.fn(); + +jest.mock('commitlint-plugin-example', () => plugin, {virtual: true}); +jest.mock('@scope/commitlint-plugin-example', () => scopedPlugin, { + virtual: true +}); + +import path from 'path'; +import execa from 'execa'; +import resolveFrom from 'resolve-from'; +import {fix, git, npm} from '@commitlint/test'; + +import load from './load'; +import {RuleSeverity} from './types'; + +const fixBootstrap = (name: string) => fix.bootstrap(name, __dirname); +const gitBootstrap = (name: string) => git.bootstrap(name, __dirname); +const npmBootstrap = (name: string) => npm.bootstrap(name, __dirname); + +test('extends-empty should have no rules', async () => { + const cwd = await gitBootstrap('fixtures/extends-empty'); + const actual = await load({}, {cwd}); + + expect(actual.rules).toMatchObject({}); +}); + +test('uses seed as configured', async () => { + const cwd = await gitBootstrap('fixtures/extends-empty'); + const rules = {'body-case': [1, 'never', 'camel-case'] as any}; + + const actual = await load({rules}, {cwd}); + + expect(actual.rules['body-case']).toStrictEqual([1, 'never', 'camel-case']); +}); + +test('rules should be loaded from relative config file', async () => { + const file = 'config/commitlint.config.js'; + const cwd = await gitBootstrap('fixtures/specify-config-file'); + const rules = {'body-case': [1, 'never', 'camel-case'] as any}; + + const actual = await load({rules}, {cwd, file}); + + expect(actual.rules['body-case']).toStrictEqual([1, 'never', 'camel-case']); +}); + +test('rules should be loaded from absolute config file', async () => { + const cwd = await gitBootstrap('fixtures/specify-config-file'); + const file = path.resolve(cwd, 'config/commitlint.config.js'); + const rules = {'body-case': [1, 'never', 'camel-case'] as any}; + + const actual = await load({rules}, {cwd: process.cwd(), file}); + + expect(actual.rules['body-case']).toStrictEqual([1, 'never', 'camel-case']); +}); + +test('plugins should be loaded from seed', async () => { + const cwd = await gitBootstrap('fixtures/extends-empty'); + const actual = await load({plugins: ['example', '@scope/example']}, {cwd}); + + expect(actual.plugins).toMatchObject({ + example: plugin, + '@scope/example': scopedPlugin + }); +}); + +test('plugins should be loaded from config', async () => { + const cwd = await gitBootstrap('fixtures/extends-plugins'); + const actual = await load({}, {cwd}); + + expect(actual.plugins).toMatchObject({ + example: plugin, + '@scope/example': scopedPlugin + }); +}); + +test('uses seed with parserPreset', async () => { + const cwd = await gitBootstrap('fixtures/parser-preset'); + const {parserPreset: actual} = await load( + {parserPreset: './conventional-changelog-custom'}, + {cwd} + ); + + expect(actual.name).toBe('./conventional-changelog-custom'); + expect(actual.parserOpts).toMatchObject({ + headerPattern: /^(\w*)(?:\((.*)\))?-(.*)$/ + }); +}); + +test('invalid extend should throw', async () => { + const cwd = await gitBootstrap('fixtures/extends-invalid'); + + await expect(load({}, {cwd})).rejects.toThrow(); +}); + +test('empty file should have no rules', async () => { + const cwd = await gitBootstrap('fixtures/empty-object-file'); + const actual = await load({}, {cwd}); + + expect(actual.rules).toMatchObject({}); +}); + +test('empty file should extend nothing', async () => { + const cwd = await gitBootstrap('fixtures/empty-file'); + const actual = await load({}, {cwd}); + + expect(actual.extends).toHaveLength(0); +}); + +test('respects cwd option', async () => { + const cwd = await gitBootstrap('fixtures/recursive-extends/first-extended'); + const actual = await load({}, {cwd}); + + expect(actual).toMatchObject({ + formatter: '@commitlint/format', + extends: ['./second-extended'], + plugins: {}, + rules: { + one: 1, + two: 2 + } + }); +}); + +test('recursive extends', async () => { + const cwd = await gitBootstrap('fixtures/recursive-extends'); + const actual = await load({}, {cwd}); + + expect(actual).toMatchObject({ + formatter: '@commitlint/format', + extends: ['./first-extended'], + plugins: {}, + rules: { + zero: 0, + one: 1, + two: 2 + } + }); +}); + +test('recursive extends with json file', async () => { + const cwd = await gitBootstrap('fixtures/recursive-extends-json'); + const actual = await load({}, {cwd}); + + expect(actual).toMatchObject({ + formatter: '@commitlint/format', + extends: ['./first-extended'], + plugins: {}, + rules: { + zero: 0, + one: 1, + two: 2 + } + }); +}); + +test('recursive extends with yaml file', async () => { + const cwd = await gitBootstrap('fixtures/recursive-extends-yaml'); + const actual = await load({}, {cwd}); + + expect(actual).toMatchObject({ + formatter: '@commitlint/format', + extends: ['./first-extended'], + plugins: {}, + rules: { + zero: 0, + one: 1, + two: 2 + } + }); +}); + +test('recursive extends with js file', async () => { + const cwd = await gitBootstrap('fixtures/recursive-extends-js'); + const actual = await load({}, {cwd}); + + expect(actual).toMatchObject({ + formatter: '@commitlint/format', + extends: ['./first-extended'], + plugins: {}, + rules: { + zero: 0, + one: 1, + two: 2 + } + }); +}); + +test('recursive extends with package.json file', async () => { + const cwd = await gitBootstrap('fixtures/recursive-extends-package'); + const actual = await load({}, {cwd}); + + expect(actual).toMatchObject({ + formatter: '@commitlint/format', + extends: ['./first-extended'], + plugins: {}, + rules: { + zero: 0, + one: 1, + two: 2 + } + }); +}); + +test('parser preset overwrites completely instead of merging', async () => { + const cwd = await gitBootstrap('fixtures/parser-preset-override'); + const actual = await load({}, {cwd}); + + expect(actual.parserPreset.name).toBe('./custom'); + expect(actual.parserPreset.parserOpts).toMatchObject({ + headerPattern: /.*/ + }); +}); + +test('recursive extends with parserPreset', async () => { + const cwd = await gitBootstrap('fixtures/recursive-parser-preset'); + const actual = await load({}, {cwd}); + + expect(actual.parserPreset.name).toBe('./conventional-changelog-custom'); + expect(actual.parserPreset.parserOpts).toMatchObject({ + headerPattern: /^(\w*)(?:\((.*)\))?-(.*)$/ + }); +}); + +test('ignores unknow keys', async () => { + const cwd = await gitBootstrap('fixtures/trash-file'); + const actual = await load({}, {cwd}); + + expect(actual).toMatchObject({ + formatter: '@commitlint/format', + extends: [], + plugins: {}, + rules: { + foo: 'bar', + baz: 'bar' + } + }); +}); + +test('ignores unknow keys recursively', async () => { + const cwd = await gitBootstrap('fixtures/trash-extend'); + const actual = await load({}, {cwd}); + + expect(actual).toMatchObject({ + formatter: '@commitlint/format', + extends: ['./one'], + plugins: {}, + rules: { + zero: 0, + one: 1 + } + }); +}); + +test('find up from given cwd', async () => { + const outer = await fixBootstrap('fixtures/outer-scope'); + await git.init(path.join(outer, 'inner-scope')); + const cwd = path.join(outer, 'inner-scope', 'child-scope'); + const actual = await load({}, {cwd}); + + expect(actual).toMatchObject({ + formatter: '@commitlint/format', + extends: [], + plugins: {}, + rules: { + child: true, + inner: false, + outer: false + } + }); +}); + +test('find up config from outside current git repo', async () => { + const outer = await fixBootstrap('fixtures/outer-scope'); + const cwd = await git.init(path.join(outer, 'inner-scope')); + const actual = await load({}, {cwd}); + + expect(actual).toMatchObject({ + formatter: '@commitlint/format', + extends: [], + plugins: {}, + rules: { + child: false, + inner: false, + outer: true + } + }); +}); + +test('respects formatter option', async () => { + const cwd = await gitBootstrap('fixtures/formatter'); + const actual = await load({}, {cwd}); + + expect(actual).toMatchObject({ + formatter: 'commitlint-junit', + extends: [], + plugins: {}, + rules: {} + }); +}); + +test('resolves formatter relative from config directory', async () => { + const cwd = await gitBootstrap('fixtures/formatter-local-module'); + const actual = await load({}, {cwd}); + + expect(actual).toMatchObject({ + formatter: resolveFrom(cwd, './formatters/custom.js'), + extends: [], + plugins: {}, + rules: {} + }); +}); + +test('returns formatter name when unable to resolve from config directory', async () => { + const cwd = await gitBootstrap('fixtures/formatter-local-module'); + const actual = await load({formatter: './doesnt/exists.js'}, {cwd}); + + expect(actual).toMatchObject({ + formatter: './doesnt/exists.js', + extends: [], + plugins: {}, + rules: {} + }); +}); + +test('does not mutate config module reference', async () => { + const file = 'config/commitlint.config.js'; + const cwd = await gitBootstrap('fixtures/specify-config-file'); + const rules = {'body-case': [1, 'never', 'camel-case'] as any}; + + const configPath = path.join(cwd, file); + const before = JSON.stringify(require(configPath)); + await load({rules}, {cwd, file}); + const after = JSON.stringify(require(configPath)); + + expect(after).toBe(before); +}); + +test('resolves parser preset from conventional commits', async () => { + const cwd = await npmBootstrap('fixtures/parser-preset-conventionalcommits'); + const actual = await load({}, {cwd}); + + expect(actual.parserPreset.name).toBe( + 'conventional-changelog-conventionalcommits' + ); + expect(typeof actual.parserPreset.parserOpts).toBe('object'); + expect((actual.parserPreset.parserOpts as any).headerPattern).toEqual( + /^(\w*)(?:\((.*)\))?!?: (.*)$/ + ); +}); + +test('resolves parser preset from conventional angular', async () => { + const cwd = await npmBootstrap('fixtures/parser-preset-angular'); + const actual = await load({}, {cwd}); + + expect(actual.parserPreset.name).toBe('conventional-changelog-angular'); + expect(typeof actual.parserPreset.parserOpts).toBe('object'); + expect((actual.parserPreset.parserOpts as any).headerPattern).toEqual( + /^(\w*)(?:\((.*)\))?: (.*)$/ + ); +}); + +test('recursive resolves parser preset from conventional atom', async () => { + const cwd = await gitBootstrap( + 'fixtures/recursive-parser-preset-conventional-atom' + ); + // the package file is nested in 2 folders, `npm.bootstrap` cant do that + await execa('npm', ['install'], { + cwd: path.resolve(cwd, 'first-extended', 'second-extended') + }); + + const actual = await load({}, {cwd}); + + expect(actual.parserPreset.name).toBe('conventional-changelog-atom'); + expect(typeof actual.parserPreset.parserOpts).toBe('object'); + expect((actual.parserPreset.parserOpts as any).headerPattern).toEqual( + /^(:.*?:) (.*)$/ + ); +}); + +test('resolves parser preset from conventional commits without factory support', async () => { + const cwd = await npmBootstrap( + 'fixtures/parser-preset-conventional-without-factory' + ); + const actual = await load({}, {cwd}); + + expect(actual.parserPreset.name).toBe( + 'conventional-changelog-conventionalcommits' + ); + expect(typeof actual.parserPreset.parserOpts).toBe('object'); + expect((actual.parserPreset.parserOpts as any).headerPattern).toEqual( + /^(\w*)(?:\((.*)\))?!?: (.*)$/ + ); +}); diff --git a/@commitlint/load/src/load.ts b/@commitlint/load/src/load.ts new file mode 100644 index 0000000000..0d961e0d05 --- /dev/null +++ b/@commitlint/load/src/load.ts @@ -0,0 +1,107 @@ +import Path from 'path'; + +import {toPairs, merge, mergeWith, pick} from 'lodash'; +import resolveFrom from 'resolve-from'; + +import executeRule from '@commitlint/execute-rule'; +import resolveExtends from '@commitlint/resolve-extends'; + +import loadPlugin from './utils/loadPlugin'; +import { + UserConfig, + LoadOptions, + QualifiedConfig, + UserPreset, + QualifiedRules, + ParserPreset +} from './types'; +import {loadConfig} from './utils/load-config'; +import {loadParserOpts} from './utils/load-parser-opts'; +import {pickConfig} from './utils/pick-config'; + +const w = (_: unknown, b: ArrayLike | null | undefined | false) => + Array.isArray(b) ? b : undefined; + +export default async function load( + seed: UserConfig = {}, + options: LoadOptions = {} +): Promise { + const cwd = typeof options.cwd === 'undefined' ? process.cwd() : options.cwd; + const loaded = await loadConfig(cwd, options.file); + const base = loaded && loaded.filepath ? Path.dirname(loaded.filepath) : cwd; + + // Merge passed config with file based options + const config = pickConfig(merge({}, loaded ? loaded.config : null, seed)); + + const opts = merge( + {extends: [], rules: {}, formatter: '@commitlint/format'}, + pick(config, 'extends', 'plugins', 'ignores', 'defaultIgnores') + ); + + // Resolve parserPreset key + if (typeof config.parserPreset === 'string') { + const resolvedParserPreset = resolveFrom(base, config.parserPreset); + + config.parserPreset = { + name: config.parserPreset, + path: resolvedParserPreset, + parserOpts: require(resolvedParserPreset) + }; + } + + // Resolve extends key + const extended = resolveExtends(opts, { + prefix: 'commitlint-config', + cwd: base, + parserPreset: config.parserPreset + }); + + const preset = (pickConfig( + mergeWith(extended, config, w) + ) as unknown) as UserPreset; + preset.plugins = {}; + + // TODO: check if this is still necessary with the new factory based conventional changelog parsers + // config.extends = Array.isArray(config.extends) ? config.extends : []; + + // Resolve parser-opts from preset + if (typeof preset.parserPreset === 'object') { + preset.parserPreset.parserOpts = await loadParserOpts( + preset.parserPreset.name, + // TODO: fix the types for factory based conventional changelog parsers + preset.parserPreset as any + ); + } + + // Resolve config-relative formatter module + if (typeof config.formatter === 'string') { + preset.formatter = + resolveFrom.silent(base, config.formatter) || config.formatter; + } + + // resolve plugins + if (Array.isArray(config.plugins)) { + config.plugins.forEach((pluginKey: string) => { + loadPlugin(preset.plugins, pluginKey, process.env.DEBUG === 'true'); + }); + } + + const rules = preset.rules ? preset.rules : {}; + const qualifiedRules = (await Promise.all( + toPairs(rules || {}).map(entry => executeRule(entry)) + )).reduce((registry, item) => { + const [key, value] = item as any; + (registry as any)[key] = value; + return registry; + }, {}); + + return { + extends: preset.extends!, + formatter: preset.formatter!, + parserPreset: preset.parserPreset! as ParserPreset, + ignores: preset.ignores!, + defaultIgnores: preset.defaultIgnores!, + plugins: preset.plugins!, + rules: qualifiedRules + }; +} diff --git a/@commitlint/load/src/types.ts b/@commitlint/load/src/types.ts new file mode 100644 index 0000000000..77960194a7 --- /dev/null +++ b/@commitlint/load/src/types.ts @@ -0,0 +1,123 @@ +import {TargetCaseType} from '@commitlint/ensure'; +import {RuleCondition} from '@commitlint/rules'; + +export {RuleCondition} from '@commitlint/rules'; + +export type PluginRecords = Record; + +export interface LoadOptions { + cwd?: string; + file?: string; +} + +export enum RuleSeverity { + Warning = 1, + Error = 2 +} + +export type RuleConfigTuple = ReadonlyArray< + T extends void + ? [RuleSeverity, RuleCondition] + : [RuleSeverity, RuleCondition, T] +>; + +export enum RuleConfigQuality { + User, + Qualified +} + +export type QualifiedRuleConfig = + | (() => RuleConfigTuple) + | (() => RuleConfigTuple>) + | RuleConfigTuple; + +export type RuleConfig< + V = RuleConfigQuality.Qualified, + T = void +> = V extends false ? RuleConfigTuple : QualifiedRuleConfig; + +export type CaseRuleConfig = RuleConfig< + V, + TargetCaseType +>; +export type LengthRuleConfig = RuleConfig< + V, + number +>; +export type EnumRuleConfig = RuleConfig< + V, + string[] +>; + +export type RulesConfig = { + 'body-case': CaseRuleConfig; + 'body-empty': RuleConfig; + 'body-leading-blank': RuleConfig; + 'body-max-length': LengthRuleConfig; + 'body-max-line-length': LengthRuleConfig; + 'body-min-length': LengthRuleConfig; + 'footer-empty': RuleConfig; + 'footer-leading-blank': RuleConfig; + 'footer-max-length': LengthRuleConfig; + 'footer-max-line-length': LengthRuleConfig; + 'footer-min-length': LengthRuleConfig; + 'header-case': CaseRuleConfig; + 'header-full-stop': RuleConfig; + 'header-max-length': LengthRuleConfig; + 'header-min-length': LengthRuleConfig; + 'references-empty': RuleConfig; + 'scope-case': CaseRuleConfig; + 'scope-empty': RuleConfig; + 'scope-enum': EnumRuleConfig; + 'scope-max-length': LengthRuleConfig; + 'scope-min-length': LengthRuleConfig; + 'signed-off-by': RuleConfig; + 'subject-case': CaseRuleConfig; + 'subject-empty': RuleConfig; + 'subject-full-stop': RuleConfig; + 'subject-max-length': LengthRuleConfig; + 'subject-min-length': LengthRuleConfig; + 'type-case': CaseRuleConfig; + 'type-empty': RuleConfig; + 'type-enum': EnumRuleConfig; + 'type-max-length': LengthRuleConfig; + 'type-min-length': LengthRuleConfig; +}; + +export interface UserConfig { + extends?: string[]; + formatter?: unknown; + rules?: Partial; + parserPreset?: string | ParserPreset; + ignores?: ((commit: string) => boolean)[]; + defaultIgnores?: boolean; + plugins?: string[]; +} + +export interface UserPreset { + extends?: string[]; + formatter?: unknown; + rules?: Partial; + parserPreset?: string | ParserPreset; + ignores?: ((commit: string) => boolean)[]; + defaultIgnores?: boolean; + plugins: PluginRecords; +} + +export type QualifiedRules = Partial>; + +export interface QualifiedConfig { + extends: string[]; + formatter: unknown; + rules: Partial; + parserPreset: ParserPreset; + ignores: ((commit: string) => boolean)[]; + defaultIgnores: boolean; + plugins: PluginRecords; +} + +export interface ParserPreset { + name: string; + path: string; + parserOpts?: unknown; +} diff --git a/@commitlint/load/src/utils/load-config.ts b/@commitlint/load/src/utils/load-config.ts new file mode 100644 index 0000000000..5f191d73ae --- /dev/null +++ b/@commitlint/load/src/utils/load-config.ts @@ -0,0 +1,21 @@ +import path from 'path'; +import {CosmiconfigResult} from 'cosmiconfig'; +import cosmiconfig from 'cosmiconfig'; + +export async function loadConfig( + cwd: string, + configPath?: string +): Promise { + const explorer = cosmiconfig('commitlint'); + + const explicitPath = configPath ? path.resolve(cwd, configPath) : undefined; + const explore = explicitPath ? explorer.load : explorer.search; + const searchPath = explicitPath ? explicitPath : cwd; + const local = await explore(searchPath); + + if (local) { + return local; + } + + return null; +} diff --git a/@commitlint/load/src/utils/load-parser-opts.ts b/@commitlint/load/src/utils/load-parser-opts.ts new file mode 100644 index 0000000000..788c77112f --- /dev/null +++ b/@commitlint/load/src/utils/load-parser-opts.ts @@ -0,0 +1,50 @@ +import {startsWith} from 'lodash'; + +export async function loadParserOpts( + parserName: string, + pendingParser: Promise +) { + // Await for the module, loaded with require + const parser = await pendingParser; + + // Await parser opts if applicable + if ( + typeof parser === 'object' && + typeof parser.parserOpts === 'object' && + typeof parser.parserOpts.then === 'function' + ) { + return (await parser.parserOpts).parserOpts; + } + + // Create parser opts from factory + if ( + typeof parser === 'object' && + typeof parser.parserOpts === 'function' && + startsWith(parserName, 'conventional-changelog-') + ) { + return await new Promise(resolve => { + const result = parser.parserOpts((_: never, opts: {parserOpts: any}) => { + resolve(opts.parserOpts); + }); + + // If result has data or a promise, the parser doesn't support factory-init + // due to https://github.com/nodejs/promises-debugging/issues/16 it just quits, so let's use this fallback + if (result) { + Promise.resolve(result).then(opts => { + resolve(opts.parserOpts); + }); + } + }); + } + + // Pull nested paserOpts, might happen if overwritten with a module in main config + if ( + typeof parser === 'object' && + typeof parser.parserOpts === 'object' && + typeof parser.parserOpts.parserOpts === 'object' + ) { + return parser.parserOpts.parserOpts; + } + + return parser.parserOpts; +} diff --git a/@commitlint/load/src/utils/loadPlugin.test.js b/@commitlint/load/src/utils/loadPlugin.test.js deleted file mode 100644 index e4e188732a..0000000000 --- a/@commitlint/load/src/utils/loadPlugin.test.js +++ /dev/null @@ -1,80 +0,0 @@ -import test from 'ava'; -const proxyquire = require('proxyquire') - .noCallThru() - .noPreserveCache(); - -test.beforeEach(t => { - const plugins = {}; - const plugin = {}; - const scopedPlugin = {}; - const stubbedLoadPlugin = proxyquire('./loadPlugin', { - 'commitlint-plugin-example': plugin, - '@scope/commitlint-plugin-example': scopedPlugin - }).default; - t.context.data = { - plugins, - plugin, - scopedPlugin, - stubbedLoadPlugin - }; -}); - -test('should load a plugin when referenced by short name', t => { - const {stubbedLoadPlugin, plugins, plugin} = t.context.data; - stubbedLoadPlugin(plugins, 'example'); - t.is(plugins['example'], plugin); -}); - -test('should load a plugin when referenced by long name', t => { - const {stubbedLoadPlugin, plugins, plugin} = t.context.data; - stubbedLoadPlugin(plugins, 'commitlint-plugin-example'); - t.is(plugins['example'], plugin); -}); - -test('should throw an error when a plugin has whitespace', t => { - const {stubbedLoadPlugin, plugins} = t.context.data; - t.throws(() => { - stubbedLoadPlugin(plugins, 'whitespace '); - }, /Whitespace found in plugin name 'whitespace '/u); - t.throws(() => { - stubbedLoadPlugin(plugins, 'whitespace\t'); - }, /Whitespace found in plugin name/u); - t.throws(() => { - stubbedLoadPlugin(plugins, 'whitespace\n'); - }, /Whitespace found in plugin name/u); - t.throws(() => { - stubbedLoadPlugin(plugins, 'whitespace\r'); - }, /Whitespace found in plugin name/u); -}); - -test("should throw an error when a plugin doesn't exist", t => { - const {stubbedLoadPlugin, plugins} = t.context.data; - t.throws(() => { - stubbedLoadPlugin(plugins, 'nonexistentplugin'); - }, /Failed to load plugin/u); -}); - -test('should load a scoped plugin when referenced by short name', t => { - const {stubbedLoadPlugin, plugins, scopedPlugin} = t.context.data; - stubbedLoadPlugin(plugins, '@scope/example'); - t.is(plugins['@scope/example'], scopedPlugin); -}); - -test('should load a scoped plugin when referenced by long name', t => { - const {stubbedLoadPlugin, plugins, scopedPlugin} = t.context.data; - stubbedLoadPlugin(plugins, '@scope/commitlint-plugin-example'); - t.is(plugins['@scope/example'], scopedPlugin); -}); - -/* when referencing a scope plugin and omitting @scope/ */ -test("should load a scoped plugin when referenced by short name, but should not get the plugin if '@scope/' is omitted", t => { - const {stubbedLoadPlugin, plugins} = t.context.data; - stubbedLoadPlugin(plugins, '@scope/example'); - t.is(plugins['example'], undefined); -}); - -test("should load a scoped plugin when referenced by long name, but should not get the plugin if '@scope/' is omitted", t => { - const {stubbedLoadPlugin, plugins} = t.context.data; - stubbedLoadPlugin(plugins, '@scope/commitlint-plugin-example'); - t.is(plugins['example'], undefined); -}); diff --git a/@commitlint/load/src/utils/loadPlugin.test.ts b/@commitlint/load/src/utils/loadPlugin.test.ts new file mode 100644 index 0000000000..49f074b3c7 --- /dev/null +++ b/@commitlint/load/src/utils/loadPlugin.test.ts @@ -0,0 +1,65 @@ +import loadPlugin from './loadPlugin'; + +jest.mock('commitlint-plugin-example', () => ({example: true}), { + virtual: true +}); + +jest.mock('@scope/commitlint-plugin-example', () => ({scope: true}), { + virtual: true +}); + +test('should load a plugin when referenced by short name', () => { + const plugins = loadPlugin({}, 'example'); + expect(plugins['example']).toBe(require('commitlint-plugin-example')); +}); + +test('should load a plugin when referenced by long name', () => { + const plugins = loadPlugin({}, 'commitlint-plugin-example'); + expect(plugins['example']).toBe(require('commitlint-plugin-example')); +}); + +test('should throw an error when a plugin has whitespace', () => { + expect(() => loadPlugin({}, 'whitespace ')).toThrow( + "Whitespace found in plugin name 'whitespace '" + ); + expect(() => loadPlugin({}, 'whitespace\t')).toThrow( + 'Whitespace found in plugin name' + ); + expect(() => loadPlugin({}, 'whitespace\n')).toThrow( + 'Whitespace found in plugin name' + ); + expect(() => loadPlugin({}, 'whitespace\r')).toThrow( + 'Whitespace found in plugin name' + ); +}); + +test("should throw an error when a plugin doesn't exist", () => { + expect(() => loadPlugin({}, 'nonexistentplugin')).toThrow( + 'Failed to load plugin' + ); +}); + +test('should load a scoped plugin when referenced by short name', () => { + const plugins = loadPlugin({}, '@scope/example'); + expect(plugins['@scope/example']).toBe( + require('@scope/commitlint-plugin-example') + ); +}); + +test('should load a scoped plugin when referenced by long name', () => { + const plugins = loadPlugin({}, '@scope/commitlint-plugin-example'); + expect(plugins['@scope/example']).toBe( + require('@scope/commitlint-plugin-example') + ); +}); + +/* when referencing a scope plugin and omitting @scope/ */ +test("should load a scoped plugin when referenced by short name, but should not get the plugin if '@scope/' is omitted", () => { + const plugins = loadPlugin({}, '@scope/example'); + expect(plugins['example']).toBe(undefined); +}); + +test("should load a scoped plugin when referenced by long name, but should not get the plugin if '@scope/' is omitted", () => { + const plugins = loadPlugin({}, '@scope/commitlint-plugin-example'); + expect(plugins['example']).toBe(undefined); +}); diff --git a/@commitlint/load/src/utils/loadPlugin.js b/@commitlint/load/src/utils/loadPlugin.ts similarity index 72% rename from @commitlint/load/src/utils/loadPlugin.js rename to @commitlint/load/src/utils/loadPlugin.ts index 416e0a8784..724f2f7ebc 100644 --- a/@commitlint/load/src/utils/loadPlugin.js +++ b/@commitlint/load/src/utils/loadPlugin.ts @@ -1,22 +1,22 @@ import path from 'path'; import chalk from 'chalk'; import {normalizePackageName, getShorthandName} from './pluginNaming'; +import {WhitespacePluginError, MissingPluginError} from './pluginErrors'; +import {PluginRecords} from '../types'; -export default function loadPlugin(plugins, pluginName, debug = false) { +export default function loadPlugin( + plugins: PluginRecords, + pluginName: string, + debug: boolean = false +): PluginRecords { const longName = normalizePackageName(pluginName); const shortName = getShorthandName(longName); let plugin = null; if (pluginName.match(/\s+/u)) { - const whitespaceError = new Error( - `Whitespace found in plugin name '${pluginName}'` - ); - - whitespaceError.messageTemplate = 'whitespace-found'; - whitespaceError.messageData = { + throw new WhitespacePluginError(pluginName, { pluginName: longName - }; - throw whitespaceError; + }); } const pluginKey = longName === pluginName ? shortName : pluginName; @@ -28,18 +28,14 @@ export default function loadPlugin(plugins, pluginName, debug = false) { try { // Check whether the plugin exists require.resolve(longName); - } catch (missingPluginErr) { + } catch (error) { // If the plugin can't be resolved, display the missing plugin error (usually a config or install error) console.error(chalk.red(`Failed to load plugin ${longName}.`)); - missingPluginErr.message = `Failed to load plugin ${pluginName}: ${ - missingPluginErr.message - }`; - missingPluginErr.messageTemplate = 'plugin-missing'; - missingPluginErr.messageData = { + + throw new MissingPluginError(pluginName, error.message, { pluginName: longName, commitlintPath: path.resolve(__dirname, '../..') - }; - throw missingPluginErr; + }); } // Otherwise, the plugin exists and is throwing on module load for some reason, so print the stack trace. @@ -71,4 +67,6 @@ export default function loadPlugin(plugins, pluginName, debug = false) { plugins[pluginKey] = plugin; } + + return plugins; } diff --git a/@commitlint/load/src/utils/pick-config.ts b/@commitlint/load/src/utils/pick-config.ts new file mode 100644 index 0000000000..04074cbb87 --- /dev/null +++ b/@commitlint/load/src/utils/pick-config.ts @@ -0,0 +1,14 @@ +import {UserConfig} from '../types'; +import {pick} from 'lodash'; + +export const pickConfig = (input: unknown): UserConfig => + pick( + input, + 'extends', + 'rules', + 'plugins', + 'parserPreset', + 'formatter', + 'ignores', + 'defaultIgnores' + ); diff --git a/@commitlint/load/src/utils/pluginErrors.ts b/@commitlint/load/src/utils/pluginErrors.ts new file mode 100644 index 0000000000..4c7b1f0e29 --- /dev/null +++ b/@commitlint/load/src/utils/pluginErrors.ts @@ -0,0 +1,29 @@ +export class WhitespacePluginError extends Error { + __proto__ = Error; + + public messageTemplate: string = 'whitespace-found'; + public messageData: any = {}; + + constructor(pluginName?: string, data: any = {}) { + super(`Whitespace found in plugin name '${pluginName}'`); + + this.messageData = data; + + Object.setPrototypeOf(this, WhitespacePluginError.prototype); + } +} + +export class MissingPluginError extends Error { + __proto__ = Error; + + public messageTemplate: string = 'plugin-missing'; + public messageData: any; + + constructor(pluginName?: string, errorMessage: string = '', data: any = {}) { + super(`Failed to load plugin ${pluginName}: ${errorMessage}`); + + this.messageData = data; + + Object.setPrototypeOf(this, MissingPluginError.prototype); + } +} diff --git a/@commitlint/load/src/utils/pluginNaming.js b/@commitlint/load/src/utils/pluginNaming.ts similarity index 91% rename from @commitlint/load/src/utils/pluginNaming.js rename to @commitlint/load/src/utils/pluginNaming.ts index 84dc2938f1..ecf42784b4 100644 --- a/@commitlint/load/src/utils/pluginNaming.js +++ b/@commitlint/load/src/utils/pluginNaming.ts @@ -1,10 +1,12 @@ +import path from 'path'; + // largely adapted from eslint's plugin system const NAMESPACE_REGEX = /^@.*\//iu; // In eslint this is a parameter - we don't need to support the extra options const prefix = 'commitlint-plugin'; // Replace Windows with posix style paths -function convertPathToPosix(filepath) { +function convertPathToPosix(filepath: string) { const normalizedFilepath = path.normalize(filepath); const posixFilepath = normalizedFilepath.replace(/\\/gu, '/'); @@ -17,7 +19,7 @@ function convertPathToPosix(filepath) { * @returns {string} Normalized name of the package * @private */ -export function normalizePackageName(name) { +export function normalizePackageName(name: string) { let normalizedName = name; /** @@ -67,7 +69,7 @@ export function normalizePackageName(name) { * @param {string} fullname The term which may have the prefix. * @returns {string} The term without prefix. */ -export function getShorthandName(fullname) { +export function getShorthandName(fullname: string) { if (fullname[0] === '@') { let matchResult = new RegExp(`^(@[^/]+)/${prefix}$`, 'u').exec(fullname); @@ -91,7 +93,7 @@ export function getShorthandName(fullname) { * @param {string} term The term which may have the namespace. * @returns {string} The namepace of the term if it has one. */ -export function getNamespaceFromTerm(term) { +export function getNamespaceFromTerm(term: string) { const match = term.match(NAMESPACE_REGEX); return match ? match[0] : ''; diff --git a/@commitlint/load/tsconfig.json b/@commitlint/load/tsconfig.json new file mode 100644 index 0000000000..955cf565b8 --- /dev/null +++ b/@commitlint/load/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": [ + "./src" + ], + "exclude": [ + "./src/**/*.test.ts", + "./lib/**/*" + ], + "references": [ + { "path": "../execute-rule" }, + { "path": "../resolve-extends" }, + { "path": "../rules" } + ] +} diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index b607e279a1..a0de10644d 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -44,6 +44,7 @@ "dependencies": { "@commitlint/ensure": "^8.3.4", "@commitlint/message": "^8.3.4", + "@commitlint/parse": "^8.3.4", "@commitlint/to-lines": "^8.3.4" } } diff --git a/@commitlint/rules/tsconfig.json b/@commitlint/rules/tsconfig.json index f4a57643f0..7824a8d568 100644 --- a/@commitlint/rules/tsconfig.json +++ b/@commitlint/rules/tsconfig.json @@ -11,5 +11,11 @@ "exclude": [ "./src/**/*.test.ts", "./lib/**/*" - ] + ], + "references": [ + { "path": "../ensure" }, + { "path": "../message" }, + { "path": "../parse" }, + { "path": "../to-lines" } + ] } diff --git a/jest.config.js b/jest.config.js index fbb71fb849..dc4efc120d 100644 --- a/jest.config.js +++ b/jest.config.js @@ -4,11 +4,7 @@ module.exports = { testRegex: undefined, testMatch: [ '**/*.test.ts?(x)', - '**/@commitlint/lint/src/*.test.js?(x)', - '**/@commitlint/read/src/*.test.js?(x)', - '**/@commitlint/travis-cli/src/*.test.js?(x)', - '**/@commitlint/cli/src/*.test.js?(x)', - '**/@commitlint/prompt-cli/*.test.js?(x)', - '**/@commitlint/prompt/src/**/*.test.js?(x)' + '**/@commitlint/{lint,read,travis-cli,cli,load,prompt}/src/*.test.js?(x)', + '**/@commitlint/prompt-cli/*.test.js?(x)' ] }; diff --git a/tsconfig.json b/tsconfig.json index bece0d1aff..5a4d1574a4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,6 +8,7 @@ { "path": "@commitlint/execute-rule" }, { "path": "@commitlint/format" }, { "path": "@commitlint/is-ignored" }, + { "path": "@commitlint/load" }, { "path": "@commitlint/message" }, { "path": "@commitlint/parse" }, { "path": "@commitlint/resolve-extends" }, diff --git a/tsconfig.shared.json b/tsconfig.shared.json index 50fcc95422..9b015b776e 100644 --- a/tsconfig.shared.json +++ b/tsconfig.shared.json @@ -6,8 +6,9 @@ "declaration": true, "declarationMap": true, "sourceMap": true, + "module": "commonjs", "esModuleInterop": true, "allowSyntheticDefaultImports": true, "strict": true } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index 7f8a743ed8..2e321b3d26 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1806,6 +1806,13 @@ resolved "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== +"@types/cosmiconfig@^5.0.3": + version "5.0.3" + resolved "https://registry.npmjs.org/@types/cosmiconfig/-/cosmiconfig-5.0.3.tgz#880644bb155d4038d3b752159684b777b0a159dd" + integrity sha512-HgTGG7X5y9pLl3pixeo2XtDEFD8rq2EuH+S4mK6teCnAwWMucQl6v1D43hI4Uw1VJh6nu59lxLkqXHRl4uwThA== + dependencies: + "@types/node" "*" + "@types/events@*": version "3.0.0" resolved "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" From f0dd45d315c98ea32999b914ca1792c6368055f2 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Mon, 3 Feb 2020 20:03:14 +1100 Subject: [PATCH 0025/2192] refactor: port read to ts (#922) * refactor: port read to typescript * fix: use @types/git-raw-commits * fix: adapt to latest master * refactor: unnest getEditFilePath * style: apply autoformatting --- @commitlint/read/package.json | 14 ++-- @commitlint/read/src/get-edit-commit.ts | 21 ++++++ @commitlint/read/src/get-edit-file-path.ts | 27 ++++++++ @commitlint/read/src/get-history-commits.ts | 10 +++ @commitlint/read/src/index.js | 67 ------------------- .../read/src/{index.test.js => read.test.ts} | 13 ++-- @commitlint/read/src/read.ts | 22 ++++++ @commitlint/read/src/stream-to-promise.ts | 11 +++ @commitlint/read/tsconfig.json | 18 +++++ @commitlint/top-level/src/index.ts | 4 +- tsconfig.json | 3 +- yarn.lock | 38 +++-------- 12 files changed, 134 insertions(+), 114 deletions(-) create mode 100644 @commitlint/read/src/get-edit-commit.ts create mode 100644 @commitlint/read/src/get-edit-file-path.ts create mode 100644 @commitlint/read/src/get-history-commits.ts delete mode 100644 @commitlint/read/src/index.js rename @commitlint/read/src/{index.test.js => read.test.ts} (85%) create mode 100644 @commitlint/read/src/read.ts create mode 100644 @commitlint/read/src/stream-to-promise.ts create mode 100644 @commitlint/read/tsconfig.json diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index de7a556d71..02ed2ea446 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -2,16 +2,14 @@ "name": "@commitlint/read", "version": "8.3.4", "description": "Read commit messages from a specified range or last edit", - "main": "lib/index.js", + "main": "lib/read.js", + "types": "lib/read.d.ts", "files": [ "lib/" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps", "deps": "dep-check", - "pkg": "pkg-check --skip-import", - "start": "yarn run watch", - "watch": "babel src --out-dir lib --watch --source-maps" + "pkg": "pkg-check --skip-import" }, "babel": { "presets": [ @@ -41,13 +39,9 @@ }, "license": "MIT", "devDependencies": { - "@babel/core": "7.7.7", - "@babel/cli": "7.7.7", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "babel-preset-commitlint": "^8.2.0", - "cross-env": "6.0.3", - "execa": "0.11.0" + "@types/git-raw-commits": "^2.0.0" }, "dependencies": { "@commitlint/top-level": "^8.3.4", diff --git a/@commitlint/read/src/get-edit-commit.ts b/@commitlint/read/src/get-edit-commit.ts new file mode 100644 index 0000000000..a36a7ba0ea --- /dev/null +++ b/@commitlint/read/src/get-edit-commit.ts @@ -0,0 +1,21 @@ +import toplevel from '@commitlint/top-level'; +import {getEditFilePath} from './get-edit-file-path'; + +const sander = require('@marionebl/sander'); + +// Get recently edited commit message +export async function getEditCommit( + cwd?: string, + edit?: boolean | string +): Promise { + const top = await toplevel(cwd); + + if (typeof top !== 'string') { + throw new TypeError(`Could not find git root from ${cwd}`); + } + + const editFilePath = await getEditFilePath(top, edit); + + const editFile: Buffer = await sander.readFile(editFilePath); + return [`${editFile.toString('utf-8')}\n`]; +} diff --git a/@commitlint/read/src/get-edit-file-path.ts b/@commitlint/read/src/get-edit-file-path.ts new file mode 100644 index 0000000000..3b8ecf37aa --- /dev/null +++ b/@commitlint/read/src/get-edit-file-path.ts @@ -0,0 +1,27 @@ +import path from 'path'; +import {Stats} from 'fs'; + +const sander = require('@marionebl/sander'); + +// Get path to recently edited commit message file +export async function getEditFilePath( + top: string, + edit?: boolean | string +): Promise { + if (typeof edit === 'string') { + return path.resolve(top, edit); + } + + const dotgitPath = path.join(top, '.git'); + const dotgitStats: Stats = sander.lstatSync(dotgitPath); + + if (dotgitStats.isDirectory()) { + return path.join(top, '.git/COMMIT_EDITMSG'); + } + + const gitFile: string = await sander.readFile(dotgitPath, { + encoding: 'utf-8' + }); + const relativeGitPath = gitFile.replace('gitdir: ', '').replace('\n', ''); + return path.resolve(top, relativeGitPath, 'COMMIT_EDITMSG'); +} diff --git a/@commitlint/read/src/get-history-commits.ts b/@commitlint/read/src/get-history-commits.ts new file mode 100644 index 0000000000..caf2fae197 --- /dev/null +++ b/@commitlint/read/src/get-history-commits.ts @@ -0,0 +1,10 @@ +import gitRawCommits from 'git-raw-commits'; +import {streamToPromise} from './stream-to-promise'; + +// Get commit messages from history +export async function getHistoryCommits( + options: {from?: string; to?: string}, + opts: {cwd?: string} = {} +): Promise { + return streamToPromise(gitRawCommits(options, {cwd: opts.cwd})); +} diff --git a/@commitlint/read/src/index.js b/@commitlint/read/src/index.js deleted file mode 100644 index 4d09b3fd36..0000000000 --- a/@commitlint/read/src/index.js +++ /dev/null @@ -1,67 +0,0 @@ -import path from 'path'; -import gitRawCommits from 'git-raw-commits'; -import * as sander from '@marionebl/sander'; - -import toplevel from '@commitlint/top-level'; - -// Get commit messages -// Object => Promise> -export default async function getCommitMessages(settings) { - const {cwd, from, to, edit} = settings; - - if (edit) { - return getEditCommit(cwd, edit); - } - - return getHistoryCommits({from, to}, {cwd}); -} - -// Get commit messages from history -// Object => Promise -function getHistoryCommits(options, opts = {}) { - return new Promise((resolve, reject) => { - const data = []; - gitRawCommits(options, {cwd: opts.cwd}) - .on('data', chunk => data.push(chunk.toString('utf-8'))) - .on('error', reject) - .on('end', () => { - resolve(data); - }); - }); -} - -// Get recently edited commit message -// (cwd: string, edit: any) => Promise> -async function getEditCommit(cwd, edit) { - const top = await toplevel(cwd); - - if (typeof top !== 'string') { - throw new TypeError(`Could not find git root from ${cwd}`); - } - - const editFilePath = await getEditFilePath(top, edit); - - const editFile = await sander.readFile(editFilePath); - return [`${editFile.toString('utf-8')}\n`]; -} - -// Get path to recently edited commit message file -// (top: string, edit: any) => Promise -async function getEditFilePath(top, edit) { - let editFilePath; - if (typeof edit === 'string') { - editFilePath = path.resolve(top, edit); - } else { - const dotgitPath = path.join(top, '.git'); - const dotgitStats = sander.lstatSync(dotgitPath); - if (dotgitStats.isDirectory()) { - editFilePath = path.join(top, '.git/COMMIT_EDITMSG'); - } else { - const gitFile = await sander.readFile(dotgitPath, {encoding: 'utf-8'}); - const relativeGitPath = gitFile.replace('gitdir: ', '').replace('\n', ''); - editFilePath = path.resolve(top, relativeGitPath, 'COMMIT_EDITMSG'); - } - } - - return editFilePath; -} diff --git a/@commitlint/read/src/index.test.js b/@commitlint/read/src/read.test.ts similarity index 85% rename from @commitlint/read/src/index.test.js rename to @commitlint/read/src/read.test.ts index 87a4fbb133..98d445a446 100644 --- a/@commitlint/read/src/index.test.js +++ b/@commitlint/read/src/read.test.ts @@ -1,11 +1,12 @@ import {git} from '@commitlint/test'; import execa from 'execa'; -import * as sander from '@marionebl/sander'; -import read from '.'; +const sander = require('@marionebl/sander'); + +import read from './read'; test('get edit commit message specified by the `edit` flag', async () => { - const cwd = await git.bootstrap(); + const cwd: string = await git.bootstrap(); await sander.writeFile(cwd, 'commit-msg-file', 'foo'); @@ -15,7 +16,7 @@ test('get edit commit message specified by the `edit` flag', async () => { }); test('get edit commit message from git root', async () => { - const cwd = await git.bootstrap(); + const cwd: string = await git.bootstrap(); await sander.writeFile(cwd, 'alpha.txt', 'alpha'); await execa('git', ['add', '.'], {cwd}); @@ -26,7 +27,7 @@ test('get edit commit message from git root', async () => { }); test('get history commit messages', async () => { - const cwd = await git.bootstrap(); + const cwd: string = await git.bootstrap(); await sander.writeFile(cwd, 'alpha.txt', 'alpha'); await execa('git', ['add', 'alpha.txt'], {cwd}); await execa('git', ['commit', '-m', 'alpha'], {cwd}); @@ -39,7 +40,7 @@ test('get history commit messages', async () => { }); test('get edit commit message from git subdirectory', async () => { - const cwd = await git.bootstrap(); + const cwd: string = await git.bootstrap(); await sander.mkdir(cwd, 'beta'); await sander.writeFile(cwd, 'beta/beta.txt', 'beta'); diff --git a/@commitlint/read/src/read.ts b/@commitlint/read/src/read.ts new file mode 100644 index 0000000000..6074d9d9b4 --- /dev/null +++ b/@commitlint/read/src/read.ts @@ -0,0 +1,22 @@ +import {getHistoryCommits} from './get-history-commits'; +import {getEditCommit} from './get-edit-commit'; + +interface GetCommitMessageOptions { + cwd?: string; + from?: string; + to?: string; + edit?: boolean | string; +} + +// Get commit messages +export default async function getCommitMessages( + settings: GetCommitMessageOptions +): Promise { + const {cwd, from, to, edit} = settings; + + if (edit) { + return getEditCommit(cwd, edit); + } + + return getHistoryCommits({from, to}, {cwd}); +} diff --git a/@commitlint/read/src/stream-to-promise.ts b/@commitlint/read/src/stream-to-promise.ts new file mode 100644 index 0000000000..d5c60b6a66 --- /dev/null +++ b/@commitlint/read/src/stream-to-promise.ts @@ -0,0 +1,11 @@ +import {Readable} from 'stream'; + +export function streamToPromise(stream: Readable): Promise { + const data: string[] = []; + return new Promise((resolve, reject) => + stream + .on('data', chunk => data.push(chunk.toString('utf-8'))) + .on('error', reject) + .on('end', () => resolve(data)) + ); +} diff --git a/@commitlint/read/tsconfig.json b/@commitlint/read/tsconfig.json new file mode 100644 index 0000000000..5eb707a721 --- /dev/null +++ b/@commitlint/read/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": [ + "./src" + ], + "exclude": [ + "./src/**/*.test.ts", + "./lib/**/*" + ], + "references": [ + { "path": "../top-level" } + ] +} diff --git a/@commitlint/top-level/src/index.ts b/@commitlint/top-level/src/index.ts index 1ea308ea39..4fb04043e4 100644 --- a/@commitlint/top-level/src/index.ts +++ b/@commitlint/top-level/src/index.ts @@ -13,7 +13,7 @@ export default toplevel; /** * Find the next git root */ -async function toplevel(cwd: string) { +async function toplevel(cwd?: string) { const found = await searchDotGit(cwd); if (typeof found !== 'string') { @@ -26,7 +26,7 @@ async function toplevel(cwd: string) { /** * Search .git, the '.git' can be a file(submodule), also can be a directory(normal) */ -async function searchDotGit(cwd: string) { +async function searchDotGit(cwd?: string) { const foundFile = await up('.git', {cwd, type: 'file'}); const foundDir = await up('.git', {cwd, type: 'directory'}); diff --git a/tsconfig.json b/tsconfig.json index 5a4d1574a4..0065cef64f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,8 @@ { "path": "@commitlint/parse" }, { "path": "@commitlint/resolve-extends" }, { "path": "@commitlint/to-lines" }, - { "path": "@commitlint/top-level" }, + { "path": "@commitlint/top-level" }, + { "path": "@commitlint/read" }, { "path": "@commitlint/rules" } ] } diff --git a/yarn.lock b/yarn.lock index 2e321b3d26..8d8b3e804d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -691,17 +691,6 @@ js-levenshtein "^1.1.3" semver "^5.5.0" -"@babel/register@7.7.7", "@babel/register@^7.7.7": - version "7.7.7" - resolved "https://registry.npmjs.org/@babel/register/-/register-7.7.7.tgz#46910c4d1926b9c6096421b23d1f9e159c1dcee1" - integrity sha512-S2mv9a5dc2pcpg/ConlKZx/6wXaEwHeqfo7x/QbXsdCAZm+WJC1ekVvL1TVxNsedTs5y/gG63MhJTEsmwmjtiA== - dependencies: - find-cache-dir "^2.0.0" - lodash "^4.17.13" - make-dir "^2.1.0" - pirates "^4.0.0" - source-map-support "^0.5.16" - "@babel/runtime@^7.0.0": version "7.7.7" resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.7.7.tgz#194769ca8d6d7790ec23605af9ee3e42a0aa79cf" @@ -1837,6 +1826,13 @@ dependencies: "@types/node" "*" +"@types/git-raw-commits@^2.0.0": + version "2.0.0" + resolved "https://packages.atlassian.com/api/npm/npm-remote/@types/git-raw-commits/-/git-raw-commits-2.0.0.tgz#157e9e4709db0748fb1aa623f8927ddd4864bac6" + integrity sha1-FX6eRwnbB0j7GqYj+JJ93UhkusY= + dependencies: + "@types/node" "*" + "@types/glob@^7.1.1": version "7.1.1" resolved "https://registry.npmjs.org/@types/glob/-/glob-7.1.1.tgz#aa59a1c6e3fbc421e07ccd31a944c30eba521575" @@ -3163,11 +3159,6 @@ common-path-prefix@^1.0.0: resolved "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-1.0.0.tgz#cd52f6f0712e0baab97d6f9732874f22f47752c0" integrity sha1-zVL28HEuC6q5fW+XModPIvR3UsA= -commondir@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" - integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs= - compare-func@^1.3.1: version "1.3.2" resolved "https://registry.npmjs.org/compare-func/-/compare-func-1.3.2.tgz#99dd0ba457e1f9bc722b12c08ec33eeab31fa648" @@ -4415,15 +4406,6 @@ finalhandler@1.1.2: statuses "~1.5.0" unpipe "~1.0.0" -find-cache-dir@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" - integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ== - dependencies: - commondir "^1.0.1" - make-dir "^2.0.0" - pkg-dir "^3.0.0" - find-node-modules@2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/find-node-modules/-/find-node-modules-2.0.0.tgz#5db1fb9e668a3d451db3d618cd167cdd59e41b69" @@ -6780,7 +6762,7 @@ make-dir@^1.0.0: dependencies: pify "^3.0.0" -make-dir@^2.0.0, make-dir@^2.1.0: +make-dir@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== @@ -7998,7 +7980,7 @@ pinkie@^2.0.0: resolved "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA= -pirates@^4.0.0, pirates@^4.0.1: +pirates@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87" integrity sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA== @@ -9108,7 +9090,7 @@ source-map-resolve@^0.5.0: source-map-url "^0.4.0" urix "^0.1.0" -source-map-support@^0.5.13, source-map-support@^0.5.16, source-map-support@^0.5.6: +source-map-support@^0.5.13, source-map-support@^0.5.6: version "0.5.16" resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.16.tgz#0ae069e7fe3ba7538c64c98515e35339eac5a042" integrity sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ== From ece5efdc9c484caa08405049f23fb43c6e2cc5eb Mon Sep 17 00:00:00 2001 From: Armano Date: Mon, 3 Feb 2020 21:03:06 +0100 Subject: [PATCH 0026/2192] chore: remove unused dev dependencies (#924) --- @commitlint/lint/package.json | 4 +- @commitlint/load/package.json | 5 +-- yarn.lock | 83 +---------------------------------- 3 files changed, 4 insertions(+), 88 deletions(-) diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index d7ba5b4b75..3c2657d56c 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -47,9 +47,7 @@ "@commitlint/utils": "^8.3.4", "babel-preset-commitlint": "^8.2.0", "cross-env": "6.0.3", - "execa": "0.11.0", - "globby": "10.0.1", - "proxyquire": "2.1.3" + "execa": "0.11.0" }, "dependencies": { "@commitlint/is-ignored": "^8.3.5", diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 906814f897..a9d8fb69de 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -37,10 +37,7 @@ "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "@types/cosmiconfig": "^5.0.3", - "concurrently": "3.6.1", - "cross-env": "6.0.3", - "execa": "0.11.0", - "globby": "10.0.1" + "execa": "0.11.0" }, "dependencies": { "@commitlint/execute-rule": "^8.3.4", diff --git a/yarn.lock b/yarn.lock index 8d8b3e804d..be7f46bbaa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3118,11 +3118,6 @@ combined-stream@^1.0.6, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" -commander@2.6.0: - version "2.6.0" - resolved "https://registry.npmjs.org/commander/-/commander-2.6.0.tgz#9df7e52fb2a0cb0fb89058ee80c3104225f37e1d" - integrity sha1-nfflL7Kgyw+4kFjugMMQQiXzfh0= - commander@^2.14.1, commander@^2.9.0, commander@~2.20.3: version "2.20.3" resolved "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" @@ -3214,21 +3209,6 @@ concordance@^4.0.0: semver "^5.5.1" well-known-symbols "^2.0.0" -concurrently@3.6.1: - version "3.6.1" - resolved "https://registry.npmjs.org/concurrently/-/concurrently-3.6.1.tgz#2f95baec5c4051294dfbb55b57a3b98a3e2b45ec" - integrity sha512-/+ugz+gwFSEfTGUxn0KHkY+19XPRTXR8+7oUK/HxgiN1n7FjeJmkrbSiXAJfyQ0zORgJYPaenmymwon51YXH9Q== - dependencies: - chalk "^2.4.1" - commander "2.6.0" - date-fns "^1.23.0" - lodash "^4.5.1" - read-pkg "^3.0.0" - rx "2.3.24" - spawn-command "^0.0.2-1" - supports-color "^3.2.3" - tree-kill "^1.1.0" - config-chain@^1.1.11: version "1.1.12" resolved "https://registry.npmjs.org/config-chain/-/config-chain-1.1.12.tgz#0fde8d091200eb5e808caf25fe618c02f48e4efa" @@ -3565,7 +3545,7 @@ data-urls@^1.0.0: whatwg-mimetype "^2.2.0" whatwg-url "^7.0.0" -date-fns@^1.23.0, date-fns@^1.27.2: +date-fns@^1.27.2: version "1.30.1" resolved "https://registry.npmjs.org/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c" integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw== @@ -4368,14 +4348,6 @@ filename-regex@^2.0.0: resolved "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" integrity sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY= -fill-keys@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/fill-keys/-/fill-keys-1.0.2.tgz#9a8fa36f4e8ad634e3bf6b4f3c8882551452eb20" - integrity sha1-mo+jb06K1jTjv2tPPIiCVRRS6yA= - dependencies: - is-object "~1.0.1" - merge-descriptors "~1.0.0" - fill-range@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" @@ -4971,11 +4943,6 @@ has-ansi@^2.0.0: dependencies: ansi-regex "^2.0.0" -has-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" - integrity sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo= - has-flag@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" @@ -5611,11 +5578,6 @@ is-obj@^2.0.0: resolved "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== -is-object@~1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/is-object/-/is-object-1.0.1.tgz#8952688c5ec2ffd6b03ecc85e769e02903083470" - integrity sha1-iVJojF7C/9awPsyF52ngKQMINHA= - is-observable@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-observable/-/is-observable-1.1.0.tgz#b3e986c8f44de950867cab5403f5a3465005975e" @@ -6922,11 +6884,6 @@ meow@^3.3.0: redent "^1.0.0" trim-newlines "^1.0.0" -merge-descriptors@~1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" - integrity sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E= - merge-stream@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" @@ -7108,11 +7065,6 @@ modify-values@^1.0.0: resolved "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== -module-not-found-error@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/module-not-found-error/-/module-not-found-error-1.0.1.tgz#cf8b4ff4f29640674d6cdd02b0e3bc523c2bbdc0" - integrity sha1-z4tP9PKWQGdNbN0CsOO8UjwrvcA= - moment@2.19.3: version "2.19.3" resolved "https://registry.npmjs.org/moment/-/moment-2.19.3.tgz#bdb99d270d6d7fda78cc0fbace855e27fe7da69f" @@ -8137,15 +8089,6 @@ protoduck@^5.0.1: dependencies: genfun "^5.0.0" -proxyquire@2.1.3: - version "2.1.3" - resolved "https://registry.npmjs.org/proxyquire/-/proxyquire-2.1.3.tgz#2049a7eefa10a9a953346a18e54aab2b4268df39" - integrity sha512-BQWfCqYM+QINd+yawJz23tbBM40VIGXOdDw3X344KcclI/gtBbdWF6SlQ4nK/bYhF9d27KYug9WzljHC6B9Ysg== - dependencies: - fill-keys "^1.0.2" - module-not-found-error "^1.0.1" - resolve "^1.11.1" - pseudomap@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" @@ -8682,7 +8625,7 @@ resolve@1.1.7: resolved "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@1.x, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.11.1, resolve@^1.3.2, resolve@^1.8.1: +resolve@1.x, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.3.2, resolve@^1.8.1: version "1.14.1" resolved "https://registry.npmjs.org/resolve/-/resolve-1.14.1.tgz#9e018c540fcf0c427d678b9931cbf45e984bcaff" integrity sha512-fn5Wobh4cxbLzuHaE+nphztHy43/b++4M6SsGFC2gB8uYwf0C8LcarfCz1un7UTW8OFQg9iNjZ4xpcFVGebDPg== @@ -8788,11 +8731,6 @@ rx-lite@^3.1.2: resolved "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102" integrity sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI= -rx@2.3.24: - version "2.3.24" - resolved "https://registry.npmjs.org/rx/-/rx-2.3.24.tgz#14f950a4217d7e35daa71bbcbe58eff68ea4b2b7" - integrity sha1-FPlQpCF9fjXapxu8vljv9o6ksrc= - rxjs@^6.1.0, rxjs@^6.3.3, rxjs@^6.4.0: version "6.5.4" resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz#e0777fe0d184cec7872df147f303572d414e211c" @@ -9113,11 +9051,6 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -spawn-command@^0.0.2-1: - version "0.0.2-1" - resolved "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz#62f5e9466981c1b796dc5929937e11c9c6921bd0" - integrity sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A= - spdx-correct@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" @@ -9441,13 +9374,6 @@ supports-color@^2.0.0: resolved "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= -supports-color@^3.2.3: - version "3.2.3" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" - integrity sha1-ZawFBLOVQXHYpklGsq48u4pfVPY= - dependencies: - has-flag "^1.0.0" - supports-color@^5.3.0: version "5.5.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" @@ -9715,11 +9641,6 @@ tr46@^1.0.1: dependencies: punycode "^2.1.0" -tree-kill@^1.1.0: - version "1.2.2" - resolved "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" - integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== - trim-newlines@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613" From 039eb60e9a8ca650136d38345e9f06bb755e5008 Mon Sep 17 00:00:00 2001 From: Armano Date: Mon, 3 Feb 2020 21:52:18 +0100 Subject: [PATCH 0027/2192] test: execute tests from all packages (#923) --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index dc4efc120d..836c556ebb 100644 --- a/jest.config.js +++ b/jest.config.js @@ -4,7 +4,7 @@ module.exports = { testRegex: undefined, testMatch: [ '**/*.test.ts?(x)', - '**/@commitlint/{lint,read,travis-cli,cli,load,prompt}/src/*.test.js?(x)', + '**/@commitlint/{lint,read,travis-cli,cli,load,prompt}/src/**/*.test.js?(x)', '**/@commitlint/prompt-cli/*.test.js?(x)' ] }; From 1bab4dd8a9813f104896de2e9842755881dc72a0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2020 07:53:10 +1100 Subject: [PATCH 0028/2192] chore: update dependency @types/node to v12.12.26 (#841) Co-authored-by: WhiteSource Renovate --- @commitlint/resolve-extends/package.json | 2 +- @commitlint/top-level/package.json | 2 +- yarn.lock | 13 ++++--------- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index 733c80e525..cbb0fcec30 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -37,7 +37,7 @@ "@commitlint/parse": "^8.3.4", "@commitlint/utils": "^8.3.4", "@types/lodash": "4.14.144", - "@types/node": "^12.12.22", + "@types/node": "12.12.26", "@types/resolve-from": "5.0.1" }, "dependencies": { diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index 2dd57cd0c3..475d8c2ac6 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -36,7 +36,7 @@ "devDependencies": { "@commitlint/utils": "^8.3.4", "@types/find-up": "2.1.1", - "@types/node": "12.11.5" + "@types/node": "12.12.26" }, "dependencies": { "find-up": "^4.0.0" diff --git a/yarn.lock b/yarn.lock index be7f46bbaa..4729a3d3a3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1896,21 +1896,16 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.0.2.tgz#3452a24edf9fea138b48fad4a0a028a683da1e40" integrity sha512-5tabW/i+9mhrfEOUcLDu2xBPsHJ+X5Orqy9FKpale3SjDA17j5AEpYq5vfy3oAeAHGcvANRCO3NV3d2D6q3NiA== -"@types/node@12.11.5": - version "12.11.5" - resolved "https://registry.npmjs.org/@types/node/-/node-12.11.5.tgz#6c3c8dc84988aff11fd2a63d7b5fbf39eaaab7b1" - integrity sha512-LC8ALj/24PhByn39nr5jnTvpE7MujK8y7LQmV74kHYF5iQ0odCPkMH4IZNZw+cobKfSXqaC8GgegcbIsQpffdA== +"@types/node@12.12.26": + version "12.12.26" + resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9" + integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA== "@types/node@>= 8": version "13.5.0" resolved "https://registry.npmjs.org/@types/node/-/node-13.5.0.tgz#4e498dbf355795a611a87ae5ef811a8660d42662" integrity sha512-Onhn+z72D2O2Pb2ql2xukJ55rglumsVo1H6Fmyi8mlU9SvKdBk/pUSUAiBY/d9bAOF7VVWajX3sths/+g6ZiAQ== -"@types/node@^12.12.22": - version "12.12.24" - resolved "https://registry.npmjs.org/@types/node/-/node-12.12.24.tgz#d4606afd8cf6c609036b854360367d1b2c78931f" - integrity sha512-1Ciqv9pqwVtW6FsIUKSZNB82E5Cu1I2bBTj1xuIHXLe/1zYLl3956Nbhg2MzSYHVfl9/rmanjbQIb7LibfCnug== - "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" From d2f641ada8527bcafaa8ff9c4d51064e6660fb4f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2020 07:53:55 +1100 Subject: [PATCH 0029/2192] chore: update dependency @types/jest to v24.9.1 (#842) Co-authored-by: WhiteSource Renovate --- @commitlint/execute-rule/package.json | 2 +- package.json | 2 +- yarn.lock | 19 ++++++------------- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index dd71fed909..55028f383d 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -36,7 +36,7 @@ "devDependencies": { "@commitlint/parse": "^8.3.4", "@commitlint/utils": "^8.3.4", - "@types/jest": "24.0.19", + "@types/jest": "24.9.1", "@types/lodash": "4.14.144", "jest": "24.8.0", "ts-jest": "24.1.0" diff --git a/package.json b/package.json index 112852c4d2..acaa15ad90 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ }, "devDependencies": { "@lerna/project": "3.18.0", - "@types/jest": "24.0.19", + "@types/jest": "24.9.1", "docsify-cli": "4.3.0", "husky": "3.0.9", "jest": "24.8.0", diff --git a/yarn.lock b/yarn.lock index 4729a3d3a3..89fa6085b4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1862,19 +1862,12 @@ "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" -"@types/jest-diff@*": - version "24.3.0" - resolved "https://registry.npmjs.org/@types/jest-diff/-/jest-diff-24.3.0.tgz#29e237a3d954babfe6e23cc59b57ecd8ca8d858d" - integrity sha512-vx1CRDeDUwQ0Pc7v+hS61O1ETA81kD04IMEC0hS1kPyVtHDdZrokAvpF7MT9VI/fVSzicelUZNCepDvhRV1PeA== +"@types/jest@24.9.1": + version "24.9.1" + resolved "https://registry.npmjs.org/@types/jest/-/jest-24.9.1.tgz#02baf9573c78f1b9974a5f36778b366aa77bd534" + integrity sha512-Fb38HkXSVA4L8fGKEZ6le5bB8r6MRWlOCZbVuWZcmOMSCd2wCYOwN1ibj8daIoV9naq7aaOZjrLCoCMptKU/4Q== dependencies: - jest-diff "*" - -"@types/jest@24.0.19": - version "24.0.19" - resolved "https://registry.npmjs.org/@types/jest/-/jest-24.0.19.tgz#f7036058d2a5844fe922609187c0ad8be430aff5" - integrity sha512-YYiqfSjocv7lk5H/T+v5MjATYjaTMsUkbDnjGqSMoO88jWdtJXJV4ST/7DKZcoMHMBvB2SeSfyOzZfkxXHR5xg== - dependencies: - "@types/jest-diff" "*" + jest-diff "^24.3.0" "@types/lodash@4.14.144": version "4.14.144" @@ -5868,7 +5861,7 @@ jest-config@^24.9.0: pretty-format "^24.9.0" realpath-native "^1.1.0" -jest-diff@*, jest-diff@^24.9.0: +jest-diff@^24.3.0, jest-diff@^24.9.0: version "24.9.0" resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-24.9.0.tgz#931b7d0d5778a1baf7452cb816e325e3724055da" integrity sha512-qMfrTs8AdJE2iqrTp0hzh7kTd2PQWrsFyj9tORoKmu32xjPjeE4NyjVRDz8ybYwqS2ik8N4hsIpiVTyFeo2lBQ== From 5ddc35c23ac744c92440fd4f6b8ff9eaf21089a6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2020 08:11:33 +1100 Subject: [PATCH 0030/2192] chore: update dependency @types/jest to v25 (#926) Co-authored-by: WhiteSource Renovate --- @commitlint/execute-rule/package.json | 2 +- package.json | 2 +- yarn.lock | 72 ++++++++++++++++++++++++--- 3 files changed, 66 insertions(+), 10 deletions(-) diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index 55028f383d..01ff6421e2 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -36,7 +36,7 @@ "devDependencies": { "@commitlint/parse": "^8.3.4", "@commitlint/utils": "^8.3.4", - "@types/jest": "24.9.1", + "@types/jest": "25.1.1", "@types/lodash": "4.14.144", "jest": "24.8.0", "ts-jest": "24.1.0" diff --git a/package.json b/package.json index acaa15ad90..0b4a8ad6ab 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ }, "devDependencies": { "@lerna/project": "3.18.0", - "@types/jest": "24.9.1", + "@types/jest": "25.1.1", "docsify-cli": "4.3.0", "husky": "3.0.9", "jest": "24.8.0", diff --git a/yarn.lock b/yarn.lock index 89fa6085b4..a3148ef83f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -968,6 +968,16 @@ "@types/istanbul-reports" "^1.1.1" "@types/yargs" "^13.0.0" +"@jest/types@^25.1.0": + version "25.1.0" + resolved "https://registry.npmjs.org/@jest/types/-/types-25.1.0.tgz#b26831916f0d7c381e11dbb5e103a72aed1b4395" + integrity sha512-VpOtt7tCrgvamWZh1reVsGADujKigBUFTi19mlRjqEGsE8qH4r3s+skY33dNdXOwyZIvuftZ5tqdF1IgsMejMA== + dependencies: + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^1.1.1" + "@types/yargs" "^15.0.0" + chalk "^3.0.0" + "@lerna/add@3.18.0": version "3.18.0" resolved "https://registry.npmjs.org/@lerna/add/-/add-3.18.0.tgz#86e38f14d7a0a7c61315dccb402377feb1c9db83" @@ -1862,12 +1872,13 @@ "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" -"@types/jest@24.9.1": - version "24.9.1" - resolved "https://registry.npmjs.org/@types/jest/-/jest-24.9.1.tgz#02baf9573c78f1b9974a5f36778b366aa77bd534" - integrity sha512-Fb38HkXSVA4L8fGKEZ6le5bB8r6MRWlOCZbVuWZcmOMSCd2wCYOwN1ibj8daIoV9naq7aaOZjrLCoCMptKU/4Q== +"@types/jest@25.1.1": + version "25.1.1" + resolved "https://registry.npmjs.org/@types/jest/-/jest-25.1.1.tgz#dcf65a8ee315b91ad39c0d358ae0ddc5602ab0e9" + integrity sha512-bKSZJYZJLzwaoVYNN4W3A0RvKNYsrLm5tsuXaMlfYDxKf4gY2sFrMYneCugNQWGg1gjPW+FHBwNrwPzEi4sIsw== dependencies: - jest-diff "^24.3.0" + jest-diff "^25.1.0" + pretty-format "^25.1.0" "@types/lodash@4.14.144": version "4.14.144" @@ -1938,6 +1949,13 @@ dependencies: "@types/yargs-parser" "*" +"@types/yargs@^15.0.0": + version "15.0.3" + resolved "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.3.tgz#41453a0bc7ab393e995d1f5451455638edbd2baf" + integrity sha512-XCMQRK6kfpNBixHLyHUsGmXrpEmFFxzMrcnSXFMziHd8CoNJo8l16FkHyQq4x+xbM7E2XL83/O78OD8u+iZTdQ== + dependencies: + "@types/yargs-parser" "*" + "@zkochan/cmd-shim@^3.1.0": version "3.1.0" resolved "https://registry.npmjs.org/@zkochan/cmd-shim/-/cmd-shim-3.1.0.tgz#2ab8ed81f5bb5452a85f25758eb9b8681982fd2e" @@ -2841,6 +2859,14 @@ chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" +chalk@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4" + integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + chardet@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" @@ -3759,6 +3785,11 @@ diff-sequences@^24.9.0: resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.9.0.tgz#5715d6244e2aa65f48bba0bc972db0b0b11e95b5" integrity sha512-Dj6Wk3tWyTE+Fo1rW8v0Xhwk80um6yFYKbuAxc9c3EZxIHFDYwbi34Uk42u1CdnIiVorvt4RmlSDjIPyzGC2ew== +diff-sequences@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-25.1.0.tgz#fd29a46f1c913fd66c22645dc75bffbe43051f32" + integrity sha512-nFIfVk5B/NStCsJ+zaPO4vYuLjlzQ6uFvPxzYyHlejNZ/UGa7G/n7peOXVrVNvRuyfstt+mZQYGpjxg9Z6N8Kw== + dir-glob@^2.2.2: version "2.2.2" resolved "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4" @@ -5861,7 +5892,7 @@ jest-config@^24.9.0: pretty-format "^24.9.0" realpath-native "^1.1.0" -jest-diff@^24.3.0, jest-diff@^24.9.0: +jest-diff@^24.9.0: version "24.9.0" resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-24.9.0.tgz#931b7d0d5778a1baf7452cb816e325e3724055da" integrity sha512-qMfrTs8AdJE2iqrTp0hzh7kTd2PQWrsFyj9tORoKmu32xjPjeE4NyjVRDz8ybYwqS2ik8N4hsIpiVTyFeo2lBQ== @@ -5871,6 +5902,16 @@ jest-diff@^24.3.0, jest-diff@^24.9.0: jest-get-type "^24.9.0" pretty-format "^24.9.0" +jest-diff@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-25.1.0.tgz#58b827e63edea1bc80c1de952b80cec9ac50e1ad" + integrity sha512-nepXgajT+h017APJTreSieh4zCqnSHEJ1iT8HDlewu630lSJ4Kjjr9KNzm+kzGwwcpsDE6Snx1GJGzzsefaEHw== + dependencies: + chalk "^3.0.0" + diff-sequences "^25.1.0" + jest-get-type "^25.1.0" + pretty-format "^25.1.0" + jest-docblock@^24.3.0: version "24.9.0" resolved "https://registry.npmjs.org/jest-docblock/-/jest-docblock-24.9.0.tgz#7970201802ba560e1c4092cc25cbedf5af5a8ce2" @@ -5917,6 +5958,11 @@ jest-get-type@^24.9.0: resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.9.0.tgz#1684a0c8a50f2e4901b6644ae861f579eed2ef0e" integrity sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q== +jest-get-type@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-25.1.0.tgz#1cfe5fc34f148dc3a8a3b7275f6b9ce9e2e8a876" + integrity sha512-yWkBnT+5tMr8ANB6V+OjmrIJufHtCAqI5ic2H40v+tRqxDmE0PGnIiTyvRWFOMtmVHYpwRqyazDbTnhpjsGvLw== + jest-haste-map@^24.9.0: version "24.9.0" resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.9.0.tgz#b38a5d64274934e21fa417ae9a9fbeb77ceaac7d" @@ -8003,6 +8049,16 @@ pretty-format@^24.9.0: ansi-styles "^3.2.0" react-is "^16.8.4" +pretty-format@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-25.1.0.tgz#ed869bdaec1356fc5ae45de045e2c8ec7b07b0c8" + integrity sha512-46zLRSGLd02Rp+Lhad9zzuNZ+swunitn8zIpfD2B4OPCRLXbM87RJT2aBLBWYOznNUML/2l/ReMyWNC80PJBUQ== + dependencies: + "@jest/types" "^25.1.0" + ansi-regex "^5.0.0" + ansi-styles "^4.0.0" + react-is "^16.12.0" + pretty-ms@^5.0.0: version "5.1.0" resolved "https://registry.npmjs.org/pretty-ms/-/pretty-ms-5.1.0.tgz#b906bdd1ec9e9799995c372e2b1c34f073f95384" @@ -8161,7 +8217,7 @@ rc@^1.0.1, rc@^1.1.6, rc@^1.2.8: minimist "^1.2.0" strip-json-comments "~2.0.1" -react-is@^16.8.4: +react-is@^16.12.0, react-is@^16.8.4: version "16.12.0" resolved "https://registry.npmjs.org/react-is/-/react-is-16.12.0.tgz#2cc0fe0fba742d97fd527c42a13bec4eeb06241c" integrity sha512-rPCkf/mWBtKc97aLL9/txD8DZdemK0vkA3JMLShjlJB3Pj3s+lpf1KaBzMfQrAmhMQB0n1cU/SUGgKKBCe837Q== @@ -9376,7 +9432,7 @@ supports-color@^6.1.0: dependencies: has-flag "^3.0.0" -supports-color@^7.0.0: +supports-color@^7.0.0, supports-color@^7.1.0: version "7.1.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1" integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g== From cf31293763538281983807cdac89512d24fdf534 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2020 08:41:42 +1100 Subject: [PATCH 0031/2192] chore: update dependency cosmiconfig to v6 (#845) * chore: update dependency cosmiconfig to v6 * fix: adapt to cosmiconfig@6 changes Co-authored-by: WhiteSource Renovate Co-authored-by: Mario Nebl --- @commitlint/load/package.json | 3 +- @commitlint/load/src/load.ts | 3 ++ @commitlint/load/src/utils/load-config.ts | 11 +++++-- yarn.lock | 39 ++++++++++++++++++----- 4 files changed, 43 insertions(+), 13 deletions(-) diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index a9d8fb69de..d3fbe81dee 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -36,7 +36,6 @@ "devDependencies": { "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "@types/cosmiconfig": "^5.0.3", "execa": "0.11.0" }, "dependencies": { @@ -44,7 +43,7 @@ "@commitlint/resolve-extends": "^8.3.5", "@commitlint/rules": "^8.3.4", "chalk": "2.4.2", - "cosmiconfig": "^5.2.0", + "cosmiconfig": "^6.0.0", "lodash": "4.17.15", "resolve-from": "^5.0.0" } diff --git a/@commitlint/load/src/load.ts b/@commitlint/load/src/load.ts index 0d961e0d05..7ca6643a7d 100644 --- a/@commitlint/load/src/load.ts +++ b/@commitlint/load/src/load.ts @@ -30,6 +30,9 @@ export default async function load( const loaded = await loadConfig(cwd, options.file); const base = loaded && loaded.filepath ? Path.dirname(loaded.filepath) : cwd; + // TODO: validate loaded.config against UserConfig type + // Might amount to breaking changes, defer until 9.0.0 + // Merge passed config with file based options const config = pickConfig(merge({}, loaded ? loaded.config : null, seed)); diff --git a/@commitlint/load/src/utils/load-config.ts b/@commitlint/load/src/utils/load-config.ts index 5f191d73ae..63613a5e4e 100644 --- a/@commitlint/load/src/utils/load-config.ts +++ b/@commitlint/load/src/utils/load-config.ts @@ -1,11 +1,16 @@ import path from 'path'; -import {CosmiconfigResult} from 'cosmiconfig'; -import cosmiconfig from 'cosmiconfig'; +import {cosmiconfig} from 'cosmiconfig'; + +export interface LoadConfigResult { + config: unknown; + filepath: string; + isEmpty?: boolean; +} export async function loadConfig( cwd: string, configPath?: string -): Promise { +): Promise { const explorer = cosmiconfig('commitlint'); const explicitPath = configPath ? path.resolve(cwd, configPath) : undefined; diff --git a/yarn.lock b/yarn.lock index a3148ef83f..347fe98c16 100644 --- a/yarn.lock +++ b/yarn.lock @@ -698,6 +698,13 @@ dependencies: regenerator-runtime "^0.13.2" +"@babel/runtime@^7.6.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.8.3.tgz#0811944f73a6c926bb2ad35e918dcc1bfab279f1" + integrity sha512-fVHx1rzEmwB130VTkLnxR+HmxcTjGzH12LYQcFFoBwakMd3aOMD4OsRN7tGG/UOYE2ektgFrS8uACAoRk1CY0w== + dependencies: + regenerator-runtime "^0.13.2" + "@babel/template@^7.4.0", "@babel/template@^7.7.4": version "7.7.4" resolved "https://registry.npmjs.org/@babel/template/-/template-7.7.4.tgz#428a7d9eecffe27deac0a98e23bf8e3675d2a77b" @@ -1805,13 +1812,6 @@ resolved "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== -"@types/cosmiconfig@^5.0.3": - version "5.0.3" - resolved "https://registry.npmjs.org/@types/cosmiconfig/-/cosmiconfig-5.0.3.tgz#880644bb155d4038d3b752159684b777b0a159dd" - integrity sha512-HgTGG7X5y9pLl3pixeo2XtDEFD8rq2EuH+S4mK6teCnAwWMucQl6v1D43hI4Uw1VJh6nu59lxLkqXHRl4uwThA== - dependencies: - "@types/node" "*" - "@types/events@*": version "3.0.0" resolved "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" @@ -1915,6 +1915,11 @@ resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA== +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + "@types/resolve-from@5.0.1": version "5.0.1" resolved "https://registry.npmjs.org/@types/resolve-from/-/resolve-from-5.0.1.tgz#2714eaa840c0472dcfa96ec3fb9d170dbf0b677d" @@ -3442,6 +3447,17 @@ cosmiconfig@^5.1.0, cosmiconfig@^5.2.0, cosmiconfig@^5.2.1: js-yaml "^3.13.1" parse-json "^4.0.0" +cosmiconfig@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz#da4fee853c52f6b1e6935f41c1a2fc50bd4a9982" + integrity sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg== + dependencies: + "@types/parse-json" "^4.0.0" + import-fresh "^3.1.0" + parse-json "^5.0.0" + path-type "^4.0.0" + yaml "^1.7.2" + cp-file@^4.1.1: version "4.2.0" resolved "https://registry.npmjs.org/cp-file/-/cp-file-4.2.0.tgz#715361663b71ede0b6dddbc3c80e2ba02e725ec3" @@ -5169,7 +5185,7 @@ import-fresh@^2.0.0: caller-path "^2.0.0" resolve-from "^3.0.0" -import-fresh@^3.0.0: +import-fresh@^3.0.0, import-fresh@^3.1.0: version "3.2.1" resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" integrity sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ== @@ -10299,6 +10315,13 @@ yallist@^3.0.0, yallist@^3.0.2, yallist@^3.0.3: resolved "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== +yaml@^1.7.2: + version "1.7.2" + resolved "https://registry.npmjs.org/yaml/-/yaml-1.7.2.tgz#f26aabf738590ab61efaca502358e48dc9f348b2" + integrity sha512-qXROVp90sb83XtAoqE8bP9RwAkTTZbugRUTm5YeFCBfNRPEp2YzTeqWiz7m5OORHzEvrA/qcGS8hp/E+MMROYw== + dependencies: + "@babel/runtime" "^7.6.3" + yargonaut@^1.1.2: version "1.1.4" resolved "https://registry.npmjs.org/yargonaut/-/yargonaut-1.1.4.tgz#c64f56432c7465271221f53f5cc517890c3d6e0c" From 3e30112808f3efda87eafa8b869a0b5afe3dbfda Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2020 08:42:04 +1100 Subject: [PATCH 0032/2192] chore: update dependency typescript to v3.7.5 (#849) Co-authored-by: WhiteSource Renovate --- @commitlint/format/package.json | 2 +- @commitlint/message/package.json | 2 +- @commitlint/parse/package.json | 2 +- package.json | 2 +- yarn.lock | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index c8911fe512..bb412500d1 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -37,7 +37,7 @@ "@commitlint/utils": "^8.3.4", "@types/lodash": "4.14.144", "lodash": "4.17.15", - "typescript": "3.6.4" + "typescript": "3.7.5" }, "dependencies": { "chalk": "^2.0.1" diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index 14b385a1cb..e6a7182040 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -36,6 +36,6 @@ "devDependencies": { "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "typescript": "3.6.4" + "typescript": "3.7.5" } } diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 99e0a5e471..fa58ac9b3e 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -38,7 +38,7 @@ "@commitlint/utils": "^8.3.4", "@types/lodash": "4.14.149", "import-from": "3.0.0", - "typescript": "3.6.4" + "typescript": "3.7.5" }, "dependencies": { "conventional-changelog-angular": "^1.3.3", diff --git a/package.json b/package.json index 0b4a8ad6ab..6996248ecd 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "lint-staged": "8.2.1", "prettier": "1.17.1", "ts-jest": "24.1.0", - "typescript": "3.6.4" + "typescript": "3.7.5" }, "husky": { "hooks": { diff --git a/yarn.lock b/yarn.lock index 347fe98c16..0d6e957a36 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9793,10 +9793,10 @@ typedarray@^0.0.6: resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@3.6.4: - version "3.6.4" - resolved "https://registry.npmjs.org/typescript/-/typescript-3.6.4.tgz#b18752bb3792bc1a0281335f7f6ebf1bbfc5b91d" - integrity sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg== +typescript@3.7.5: + version "3.7.5" + resolved "https://registry.npmjs.org/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae" + integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw== uglify-js@^3.1.4: version "3.7.3" From d74b40b18602655968b08ce15b91546009816c0b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2020 08:42:31 +1100 Subject: [PATCH 0033/2192] chore: update dependency @types/lodash to v4.14.149 (#850) Co-authored-by: WhiteSource Renovate --- @commitlint/execute-rule/package.json | 2 +- @commitlint/format/package.json | 2 +- @commitlint/resolve-extends/package.json | 2 +- yarn.lock | 5 ----- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index 01ff6421e2..4a8fbffbdc 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -37,7 +37,7 @@ "@commitlint/parse": "^8.3.4", "@commitlint/utils": "^8.3.4", "@types/jest": "25.1.1", - "@types/lodash": "4.14.144", + "@types/lodash": "4.14.149", "jest": "24.8.0", "ts-jest": "24.1.0" } diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index bb412500d1..ad9f1fbba3 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -35,7 +35,7 @@ "license": "MIT", "devDependencies": { "@commitlint/utils": "^8.3.4", - "@types/lodash": "4.14.144", + "@types/lodash": "4.14.149", "lodash": "4.17.15", "typescript": "3.7.5" }, diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index cbb0fcec30..a1c2c3c09e 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -36,7 +36,7 @@ "devDependencies": { "@commitlint/parse": "^8.3.4", "@commitlint/utils": "^8.3.4", - "@types/lodash": "4.14.144", + "@types/lodash": "4.14.149", "@types/node": "12.12.26", "@types/resolve-from": "5.0.1" }, diff --git a/yarn.lock b/yarn.lock index 0d6e957a36..f72a80d42c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1880,11 +1880,6 @@ jest-diff "^25.1.0" pretty-format "^25.1.0" -"@types/lodash@4.14.144": - version "4.14.144" - resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.144.tgz#12e57fc99064bce45e5ab3c8bc4783feb75eab8e" - integrity sha512-ogI4g9W5qIQQUhXAclq6zhqgqNUr7UlFaqDHbch7WLSLeeM/7d3CRaw7GLajxvyFvhJqw4Rpcz5bhoaYtIx6Tg== - "@types/lodash@4.14.149": version "4.14.149" resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.149.tgz#1342d63d948c6062838fbf961012f74d4e638440" From 8502124d80f4f8e34a0266b2e253cb12c17574fe Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2020 08:43:13 +1100 Subject: [PATCH 0034/2192] chore: update dependency lerna to v3.20.2 (#851) Co-authored-by: WhiteSource Renovate --- .../fixtures/basic/package.json | 2 +- .../fixtures/empty/package.json | 2 +- .../fixtures/lerna-two/package.json | 2 +- .../fixtures/scoped/package.json | 2 +- @commitlint/config-lerna-scopes/package.json | 2 +- package.json | 2 +- yarn.lock | 410 ++++++++++-------- 7 files changed, 232 insertions(+), 190 deletions(-) diff --git a/@commitlint/config-lerna-scopes/fixtures/basic/package.json b/@commitlint/config-lerna-scopes/fixtures/basic/package.json index e9b199fd08..e2ba59bfa5 100644 --- a/@commitlint/config-lerna-scopes/fixtures/basic/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/basic/package.json @@ -2,6 +2,6 @@ "name": "basic", "version": "1.0.0", "devDependencies": { - "lerna": "3.18.3" + "lerna": "3.20.2" } } diff --git a/@commitlint/config-lerna-scopes/fixtures/empty/package.json b/@commitlint/config-lerna-scopes/fixtures/empty/package.json index d92eec7756..43554010a3 100644 --- a/@commitlint/config-lerna-scopes/fixtures/empty/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/empty/package.json @@ -2,6 +2,6 @@ "name": "empty", "version": "1.0.0", "devDependencies": { - "lerna": "3.18.3" + "lerna": "3.20.2" } } diff --git a/@commitlint/config-lerna-scopes/fixtures/lerna-two/package.json b/@commitlint/config-lerna-scopes/fixtures/lerna-two/package.json index e9ca1c4677..3468c54237 100644 --- a/@commitlint/config-lerna-scopes/fixtures/lerna-two/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/lerna-two/package.json @@ -2,6 +2,6 @@ "name": "version-mismatch", "version": "1.0.0", "devDependencies": { - "lerna": "3.18.3" + "lerna": "3.20.2" } } diff --git a/@commitlint/config-lerna-scopes/fixtures/scoped/package.json b/@commitlint/config-lerna-scopes/fixtures/scoped/package.json index fc751e4be5..65cb096c6b 100644 --- a/@commitlint/config-lerna-scopes/fixtures/scoped/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/scoped/package.json @@ -2,6 +2,6 @@ "name": "scoped", "version": "1.0.0", "devDependencies": { - "lerna": "3.18.3" + "lerna": "3.20.2" } } diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index 635e817eab..f144670cd7 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -50,6 +50,6 @@ "@commitlint/utils": "^8.3.4", "@lerna/project": "3.18.0", "ava": "2.4.0", - "lerna": "3.18.3" + "lerna": "3.20.2" } } diff --git a/package.json b/package.json index 6996248ecd..3095aec7e3 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "docsify-cli": "4.3.0", "husky": "3.0.9", "jest": "24.8.0", - "lerna": "3.18.3", + "lerna": "3.20.2", "lint-staged": "8.2.1", "prettier": "1.17.1", "ts-jest": "24.1.0", diff --git a/yarn.lock b/yarn.lock index f72a80d42c..91369165e6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -985,15 +985,15 @@ "@types/yargs" "^15.0.0" chalk "^3.0.0" -"@lerna/add@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/add/-/add-3.18.0.tgz#86e38f14d7a0a7c61315dccb402377feb1c9db83" - integrity sha512-Z5EaQbBnJn1LEPb0zb0Q2o9T8F8zOnlCsj6JYpY6aSke17UUT7xx0QMN98iBK+ueUHKjN/vdFdYlNCYRSIdujA== +"@lerna/add@3.20.0": + version "3.20.0" + resolved "https://registry.npmjs.org/@lerna/add/-/add-3.20.0.tgz#bea7edf36fc93fb72ec34cb9ba854c48d4abf309" + integrity sha512-AnH1oRIEEg/VDa3SjYq4x1/UglEAvrZuV0WssHUMN81RTZgQk3we+Mv3qZNddrZ/fBcZu2IAdN/EQ3+ie2JxKQ== dependencies: "@evocateur/pacote" "^9.6.3" - "@lerna/bootstrap" "3.18.0" - "@lerna/command" "3.18.0" - "@lerna/filter-options" "3.18.0" + "@lerna/bootstrap" "3.20.0" + "@lerna/command" "3.18.5" + "@lerna/filter-options" "3.20.0" "@lerna/npm-conf" "3.16.0" "@lerna/validation-error" "3.13.0" dedent "^0.7.0" @@ -1001,20 +1001,20 @@ p-map "^2.1.0" semver "^6.2.0" -"@lerna/bootstrap@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-3.18.0.tgz#705d9eb51a24d549518796a09f24d24526ed975b" - integrity sha512-3DZKWIaKvr7sUImoKqSz6eqn84SsOVMnA5QHwgzXiQjoeZ/5cg9x2r+Xj3+3w/lvLoh0j8U2GNtrIaPNis4bKQ== +"@lerna/bootstrap@3.20.0": + version "3.20.0" + resolved "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-3.20.0.tgz#635d71046830f208e851ab429a63da1747589e37" + integrity sha512-Wylullx3uthKE7r4izo09qeRGL20Y5yONlQEjPCfnbxCC2Elu+QcPu4RC6kqKQ7b+g7pdC3OOgcHZjngrwr5XQ== dependencies: - "@lerna/command" "3.18.0" - "@lerna/filter-options" "3.18.0" + "@lerna/command" "3.18.5" + "@lerna/filter-options" "3.20.0" "@lerna/has-npm-version" "3.16.5" "@lerna/npm-install" "3.16.5" - "@lerna/package-graph" "3.18.0" + "@lerna/package-graph" "3.18.5" "@lerna/pulse-till-done" "3.13.0" "@lerna/rimraf-dir" "3.16.5" "@lerna/run-lifecycle" "3.16.2" - "@lerna/run-topologically" "3.18.0" + "@lerna/run-topologically" "3.18.5" "@lerna/symlink-binary" "3.17.0" "@lerna/symlink-dependencies" "3.17.0" "@lerna/validation-error" "3.13.0" @@ -1030,16 +1030,15 @@ read-package-tree "^5.1.6" semver "^6.2.0" -"@lerna/changed@3.18.3": - version "3.18.3" - resolved "https://registry.npmjs.org/@lerna/changed/-/changed-3.18.3.tgz#50529e8bd5d7fe2d0ace046a6e274d3de652a493" - integrity sha512-xZW7Rm+DlDIGc0EvKGyJZgT9f8FFa4d52mr/Y752dZuXR2qRmf9tXhVloRG39881s2A6yi3jqLtXZggKhsQW4Q== +"@lerna/changed@3.20.0": + version "3.20.0" + resolved "https://registry.npmjs.org/@lerna/changed/-/changed-3.20.0.tgz#66b97ebd6c8f8d207152ee524a0791846a9097ae" + integrity sha512-+hzMFSldbRPulZ0vbKk6RD9f36gaH3Osjx34wrrZ62VB4pKmjyuS/rxVYkCA3viPLHoiIw2F8zHM5BdYoDSbjw== dependencies: - "@lerna/collect-updates" "3.18.0" - "@lerna/command" "3.18.0" - "@lerna/listable" "3.18.0" + "@lerna/collect-updates" "3.20.0" + "@lerna/command" "3.18.5" + "@lerna/listable" "3.18.5" "@lerna/output" "3.13.0" - "@lerna/version" "3.18.3" "@lerna/check-working-tree@3.16.5": version "3.16.5" @@ -1059,29 +1058,29 @@ execa "^1.0.0" strong-log-transformer "^2.0.0" -"@lerna/clean@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/clean/-/clean-3.18.0.tgz#cc67d7697db969a70e989992fdf077126308fb2e" - integrity sha512-BiwBELZNkarRQqj+v5NPB1aIzsOX+Y5jkZ9a5UbwHzEdBUQ5lQa0qaMLSOve/fSkaiZQxe6qnTyatN75lOcDMg== +"@lerna/clean@3.20.0": + version "3.20.0" + resolved "https://registry.npmjs.org/@lerna/clean/-/clean-3.20.0.tgz#ba777e373ddeae63e57860df75d47a9e5264c5b2" + integrity sha512-9ZdYrrjQvR5wNXmHfDsfjWjp0foOkCwKe3hrckTzkAeQA1ibyz5llGwz5e1AeFrV12e2/OLajVqYfe+qdkZUgg== dependencies: - "@lerna/command" "3.18.0" - "@lerna/filter-options" "3.18.0" - "@lerna/prompt" "3.13.0" + "@lerna/command" "3.18.5" + "@lerna/filter-options" "3.20.0" + "@lerna/prompt" "3.18.5" "@lerna/pulse-till-done" "3.13.0" "@lerna/rimraf-dir" "3.16.5" p-map "^2.1.0" p-map-series "^1.0.0" p-waterfall "^1.0.0" -"@lerna/cli@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/cli/-/cli-3.18.0.tgz#2b6f8605bee299c6ada65bc2e4b3ed7bf715af3a" - integrity sha512-AwDyfGx7fxJgeaZllEuyJ9LZ6Tdv9yqRD9RX762yCJu+PCAFvB9bp6OYuRSGli7QQgM0CuOYnSg4xVNOmuGKDA== +"@lerna/cli@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/cli/-/cli-3.18.5.tgz#c90c461542fcd35b6d5b015a290fb0dbfb41d242" + integrity sha512-erkbxkj9jfc89vVs/jBLY/fM0I80oLmJkFUV3Q3wk9J3miYhP14zgVEBsPZY68IZlEjT6T3Xlq2xO1AVaatHsA== dependencies: "@lerna/global-options" "3.13.0" dedent "^0.7.0" npmlog "^4.1.2" - yargs "^14.2.0" + yargs "^14.2.2" "@lerna/collect-uncommitted@3.16.5": version "3.16.5" @@ -1093,10 +1092,10 @@ figgy-pudding "^3.5.1" npmlog "^4.1.2" -"@lerna/collect-updates@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/collect-updates/-/collect-updates-3.18.0.tgz#6086c64df3244993cc0a7f8fc0ddd6a0103008a6" - integrity sha512-LJMKgWsE/var1RSvpKDIxS8eJ7POADEc0HM3FQiTpEczhP6aZfv9x3wlDjaHpZm9MxJyQilqxZcasRANmRcNgw== +"@lerna/collect-updates@3.20.0": + version "3.20.0" + resolved "https://registry.npmjs.org/@lerna/collect-updates/-/collect-updates-3.20.0.tgz#62f9d76ba21a25b7d9fbf31c02de88744a564bd1" + integrity sha512-qBTVT5g4fupVhBFuY4nI/3FSJtQVcDh7/gEPOpRxoXB/yCSnT38MFHXWl+y4einLciCjt/+0x6/4AG80fjay2Q== dependencies: "@lerna/child-process" "3.16.5" "@lerna/describe-ref" "3.16.5" @@ -1104,26 +1103,26 @@ npmlog "^4.1.2" slash "^2.0.0" -"@lerna/command@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/command/-/command-3.18.0.tgz#1e40399324a69d26a78969d59cf60e19b2f13fc3" - integrity sha512-JQ0TGzuZc9Ky8xtwtSLywuvmkU8X62NTUT3rMNrUykIkOxBaO+tE0O98u2yo/9BYOeTRji9IsjKZEl5i9Qt0xQ== +"@lerna/command@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/command/-/command-3.18.5.tgz#14c6d2454adbfd365f8027201523e6c289cd3cd9" + integrity sha512-36EnqR59yaTU4HrR1C9XDFti2jRx0BgpIUBeWn129LZZB8kAB3ov1/dJNa1KcNRKp91DncoKHLY99FZ6zTNpMQ== dependencies: "@lerna/child-process" "3.16.5" - "@lerna/package-graph" "3.18.0" + "@lerna/package-graph" "3.18.5" "@lerna/project" "3.18.0" "@lerna/validation-error" "3.13.0" "@lerna/write-log-file" "3.13.0" + clone-deep "^4.0.1" dedent "^0.7.0" execa "^1.0.0" is-ci "^2.0.0" - lodash "^4.17.14" npmlog "^4.1.2" -"@lerna/conventional-commits@3.16.4": - version "3.16.4" - resolved "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-3.16.4.tgz#bf464f11b2f6534dad204db00430e1651b346a04" - integrity sha512-QSZJ0bC9n6FVaf+7KDIq5zMv8WnHXnwhyL5jG1Nyh3SgOg9q2uflqh7YsYB+G6FwaRfnPaKosh6obijpYg0llA== +"@lerna/conventional-commits@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-3.18.5.tgz#08efd2e5b45acfaf3f151a53a3ec7ecade58a7bc" + integrity sha512-qcvXIEJ3qSgalxXnQ7Yxp5H9Ta5TVyai6vEor6AAEHc20WiO7UIdbLDCxBtiiHMdGdpH85dTYlsoYUwsCJu3HQ== dependencies: "@lerna/validation-error" "3.13.0" conventional-changelog-angular "^5.0.3" @@ -1146,14 +1145,14 @@ fs-extra "^8.1.0" npmlog "^4.1.2" -"@lerna/create@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/create/-/create-3.18.0.tgz#78ba4af5eced661944a12b9d7da8553c096c390d" - integrity sha512-y9oS7ND5T13c+cCTJHa2Y9in02ppzyjsNynVWFuS40eIzZ3z058d9+3qSBt1nkbbQlVyfLoP6+bZPsjyzap5ig== +"@lerna/create@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/create/-/create-3.18.5.tgz#11ac539f069248eaf7bc4c42e237784330f4fc47" + integrity sha512-cHpjocbpKmLopCuZFI7cKEM3E/QY8y+yC7VtZ4FQRSaLU8D8i2xXtXmYaP1GOlVNavji0iwoXjuNpnRMInIr2g== dependencies: "@evocateur/pacote" "^9.6.3" "@lerna/child-process" "3.16.5" - "@lerna/command" "3.18.0" + "@lerna/command" "3.18.5" "@lerna/npm-conf" "3.16.0" "@lerna/validation-error" "3.13.0" camelcase "^5.0.0" @@ -1178,34 +1177,35 @@ "@lerna/child-process" "3.16.5" npmlog "^4.1.2" -"@lerna/diff@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/diff/-/diff-3.18.0.tgz#9638ff4b46e2a8b0d4ebf54cf2f267ac2f8fdb29" - integrity sha512-3iLNlpurc2nV9k22w8ini2Zjm2UPo3xtQgWyqdA6eJjvge0+5AlNAWfPoV6cV+Hc1xDbJD2YDSFpZPJ1ZGilRw== +"@lerna/diff@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/diff/-/diff-3.18.5.tgz#e9e2cb882f84d5b84f0487c612137305f07accbc" + integrity sha512-u90lGs+B8DRA9Z/2xX4YaS3h9X6GbypmGV6ITzx9+1Ga12UWGTVlKaCXBgONMBjzJDzAQOK8qPTwLA57SeBLgA== dependencies: "@lerna/child-process" "3.16.5" - "@lerna/command" "3.18.0" + "@lerna/command" "3.18.5" "@lerna/validation-error" "3.13.0" npmlog "^4.1.2" -"@lerna/exec@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/exec/-/exec-3.18.0.tgz#d9ec0b7ca06b7521f0b9f14a164e2d4ca5e1b3b9" - integrity sha512-hwkuzg1+38+pbzdZPhGtLIYJ59z498/BCNzR8d4/nfMYm8lFbw9RgJJajLcdbuJ9LJ08cZ93hf8OlzetL84TYg== +"@lerna/exec@3.20.0": + version "3.20.0" + resolved "https://registry.npmjs.org/@lerna/exec/-/exec-3.20.0.tgz#29f0c01aee2340eb46f90706731fef2062a49639" + integrity sha512-pS1mmC7kzV668rHLWuv31ClngqeXjeHC8kJuM+W2D6IpUVMGQHLcCTYLudFgQsuKGVpl0DGNYG+sjLhAPiiu6A== dependencies: "@lerna/child-process" "3.16.5" - "@lerna/command" "3.18.0" - "@lerna/filter-options" "3.18.0" - "@lerna/run-topologically" "3.18.0" + "@lerna/command" "3.18.5" + "@lerna/filter-options" "3.20.0" + "@lerna/profiler" "3.20.0" + "@lerna/run-topologically" "3.18.5" "@lerna/validation-error" "3.13.0" p-map "^2.1.0" -"@lerna/filter-options@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-3.18.0.tgz#406667dc75a8fc813c26a91bde754b6a73e1a868" - integrity sha512-UGVcixs3TGzD8XSmFSbwUVVQnAjaZ6Rmt8Vuq2RcR98ULkGB1LiGNMY89XaNBhaaA8vx7yQWiLmJi2AfmD63Qg== +"@lerna/filter-options@3.20.0": + version "3.20.0" + resolved "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-3.20.0.tgz#0f0f5d5a4783856eece4204708cc902cbc8af59b" + integrity sha512-bmcHtvxn7SIl/R9gpiNMVG7yjx7WyT0HSGw34YVZ9B+3xF/83N3r5Rgtjh4hheLZ+Q91Or0Jyu5O3Nr+AwZe2g== dependencies: - "@lerna/collect-updates" "3.18.0" + "@lerna/collect-updates" "3.20.0" "@lerna/filter-packages" "3.18.0" dedent "^0.7.0" figgy-pudding "^3.5.1" @@ -1269,58 +1269,67 @@ "@lerna/child-process" "3.16.5" semver "^6.2.0" -"@lerna/import@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/import/-/import-3.18.0.tgz#c6b124b346a097e6c0f3f1ed4921a278d18bc80b" - integrity sha512-2pYIkkBTZsEdccfc+dPsKZeSw3tBzKSyl0b2lGrfmNX2Y41qqOzsJCyI1WO1uvEIP8aOaLy4hPpqRIBe4ee7hw== +"@lerna/import@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/import/-/import-3.18.5.tgz#a9c7d8601870729851293c10abd18b3707f7ba5e" + integrity sha512-PH0WVLEgp+ORyNKbGGwUcrueW89K3Iuk/DDCz8mFyG2IG09l/jOF0vzckEyGyz6PO5CMcz4TI1al/qnp3FrahQ== dependencies: "@lerna/child-process" "3.16.5" - "@lerna/command" "3.18.0" - "@lerna/prompt" "3.13.0" + "@lerna/command" "3.18.5" + "@lerna/prompt" "3.18.5" "@lerna/pulse-till-done" "3.13.0" "@lerna/validation-error" "3.13.0" dedent "^0.7.0" fs-extra "^8.1.0" p-map-series "^1.0.0" -"@lerna/init@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/init/-/init-3.18.0.tgz#b23b9170cce1f4630170dd744e8ee75785ea898d" - integrity sha512-/vHpmXkMlSaJaq25v5K13mcs/2L7E32O6dSsEkHaZCDRiV2BOqsZng9jjbE/4ynfsWfLLlU9ZcydwG72C3I+mQ== +"@lerna/info@3.20.0": + version "3.20.0" + resolved "https://registry.npmjs.org/@lerna/info/-/info-3.20.0.tgz#3a5212f3029f2bc6255f9533bdf4bcb120ef329a" + integrity sha512-Rsz+KQF9mczbGUbPTrtOed1N0C+cA08Qz0eX/oI+NNjvsryZIju/o7uedG4I3P55MBiAioNrJI88fHH3eTgYug== + dependencies: + "@lerna/command" "3.18.5" + "@lerna/output" "3.13.0" + envinfo "^7.3.1" + +"@lerna/init@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/init/-/init-3.18.5.tgz#86dd0b2b3290755a96975069b5cb007f775df9f5" + integrity sha512-oCwipWrha98EcJAHm8AGd2YFFLNI7AW9AWi0/LbClj1+XY9ah+uifXIgYGfTk63LbgophDd8936ZEpHMxBsbAg== dependencies: "@lerna/child-process" "3.16.5" - "@lerna/command" "3.18.0" + "@lerna/command" "3.18.5" fs-extra "^8.1.0" p-map "^2.1.0" write-json-file "^3.2.0" -"@lerna/link@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/link/-/link-3.18.0.tgz#bc72dc62ef4d8fb842b3286887980f98b764781d" - integrity sha512-FbbIpH0EpsC+dpAbvxCoF3cn7F1MAyJjEa5Lh3XkDGATOlinMFuKCbmX0NLpOPQZ5zghvrui97cx+jz5F2IlHw== +"@lerna/link@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/link/-/link-3.18.5.tgz#f24347e4f0b71d54575bd37cfa1794bc8ee91b18" + integrity sha512-xTN3vktJpkT7Nqc3QkZRtHO4bT5NvuLMtKNIBDkks0HpGxC9PRyyqwOoCoh1yOGbrWIuDezhfMg3Qow+6I69IQ== dependencies: - "@lerna/command" "3.18.0" - "@lerna/package-graph" "3.18.0" + "@lerna/command" "3.18.5" + "@lerna/package-graph" "3.18.5" "@lerna/symlink-dependencies" "3.17.0" p-map "^2.1.0" slash "^2.0.0" -"@lerna/list@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/list/-/list-3.18.0.tgz#6e5fe545ce4ba7c1eeb6d6cf69240d06c02bd496" - integrity sha512-mpB7Q6T+n2CaiPFz0LuOE+rXphDfHm0mKIwShnyS/XDcii8jXv+z9Iytj8p3rfCH2I1L80j2qL6jWzyGy/uzKA== +"@lerna/list@3.20.0": + version "3.20.0" + resolved "https://registry.npmjs.org/@lerna/list/-/list-3.20.0.tgz#7e67cc29c5cf661cfd097e8a7c2d3dcce7a81029" + integrity sha512-fXTicPrfioVnRzknyPawmYIVkzDRBaQqk9spejS1S3O1DOidkihK0xxNkr8HCVC0L22w6f92g83qWDp2BYRUbg== dependencies: - "@lerna/command" "3.18.0" - "@lerna/filter-options" "3.18.0" - "@lerna/listable" "3.18.0" + "@lerna/command" "3.18.5" + "@lerna/filter-options" "3.20.0" + "@lerna/listable" "3.18.5" "@lerna/output" "3.13.0" -"@lerna/listable@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/listable/-/listable-3.18.0.tgz#752b014406a9a012486626d22e940edb8205973a" - integrity sha512-9gLGKYNLSKeurD+sJ2RA+nz4Ftulr91U127gefz0RlmAPpYSjwcJkxwa0UfJvpQTXv9C7yzHLnn0BjyAQRjuew== +"@lerna/listable@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/listable/-/listable-3.18.5.tgz#e82798405b5ed8fc51843c8ef1e7a0e497388a1a" + integrity sha512-Sdr3pVyaEv5A7ZkGGYR7zN+tTl2iDcinryBPvtuv20VJrXBE8wYcOks1edBTcOWsPjCE/rMP4bo1pseyk3UTsg== dependencies: - "@lerna/query-graph" "3.18.0" + "@lerna/query-graph" "3.18.5" chalk "^2.3.1" columnify "^1.5.4" @@ -1342,13 +1351,13 @@ config-chain "^1.1.11" pify "^4.0.1" -"@lerna/npm-dist-tag@3.18.1": - version "3.18.1" - resolved "https://registry.npmjs.org/@lerna/npm-dist-tag/-/npm-dist-tag-3.18.1.tgz#d4dd82ea92e41e960b7117f83102ebcd7a23e511" - integrity sha512-vWkZh2T/O9OjPLDrba0BTWO7ug/C3sCwjw7Qyk1aEbxMBXB/eEJPqirwJTWT+EtRJQYB01ky3K8ZFOhElVyjLw== +"@lerna/npm-dist-tag@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/npm-dist-tag/-/npm-dist-tag-3.18.5.tgz#9ef9abb7c104077b31f6fab22cc73b314d54ac55" + integrity sha512-xw0HDoIG6HreVsJND9/dGls1c+lf6vhu7yJoo56Sz5bvncTloYGLUppIfDHQr4ZvmPCK8rsh0euCVh2giPxzKQ== dependencies: "@evocateur/npm-registry-fetch" "^4.0.0" - "@lerna/otplease" "3.16.0" + "@lerna/otplease" "3.18.5" figgy-pudding "^3.5.1" npm-package-arg "^6.1.0" npmlog "^4.1.2" @@ -1366,13 +1375,13 @@ signal-exit "^3.0.2" write-pkg "^3.1.0" -"@lerna/npm-publish@3.16.2": - version "3.16.2" - resolved "https://registry.npmjs.org/@lerna/npm-publish/-/npm-publish-3.16.2.tgz#a850b54739446c4aa766a0ceabfa9283bb0be676" - integrity sha512-tGMb9vfTxP57vUV5svkBQxd5Tzc+imZbu9ZYf8Mtwe0+HYfDjNiiHLIQw7G95w4YRdc5KsCE8sQ0uSj+f2soIg== +"@lerna/npm-publish@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/npm-publish/-/npm-publish-3.18.5.tgz#240e4039959fd9816b49c5b07421e11b5cb000af" + integrity sha512-3etLT9+2L8JAx5F8uf7qp6iAtOLSMj+ZYWY6oUgozPi/uLqU0/gsMsEXh3F0+YVW33q0M61RpduBoAlOOZnaTg== dependencies: "@evocateur/libnpmpublish" "^1.2.2" - "@lerna/otplease" "3.16.0" + "@lerna/otplease" "3.18.5" "@lerna/run-lifecycle" "3.16.2" figgy-pudding "^3.5.1" fs-extra "^8.1.0" @@ -1390,12 +1399,12 @@ "@lerna/get-npm-exec-opts" "3.13.0" npmlog "^4.1.2" -"@lerna/otplease@3.16.0": - version "3.16.0" - resolved "https://registry.npmjs.org/@lerna/otplease/-/otplease-3.16.0.tgz#de66aec4f3e835a465d7bea84b58a4ab6590a0fa" - integrity sha512-uqZ15wYOHC+/V0WnD2iTLXARjvx3vNrpiIeyIvVlDB7rWse9mL4egex/QSgZ+lDx1OID7l2kgvcUD9cFpbqB7Q== +"@lerna/otplease@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/otplease/-/otplease-3.18.5.tgz#b77b8e760b40abad9f7658d988f3ea77d4fd0231" + integrity sha512-S+SldXAbcXTEDhzdxYLU0ZBKuYyURP/ND2/dK6IpKgLxQYh/z4ScljPDMyKymmEvgiEJmBsPZAAPfmNPEzxjog== dependencies: - "@lerna/prompt" "3.13.0" + "@lerna/prompt" "3.18.5" figgy-pudding "^3.5.1" "@lerna/output@3.13.0": @@ -1419,10 +1428,10 @@ tar "^4.4.10" temp-write "^3.4.0" -"@lerna/package-graph@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-3.18.0.tgz#eb42d14404a55b26b2472081615e26b0817cd91a" - integrity sha512-BLYDHO5ihPh20i3zoXfLZ5ZWDCrPuGANgVhl7k5pCmRj90LCvT+C7V3zrw70fErGAfvkcYepMqxD+oBrAYwquQ== +"@lerna/package-graph@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-3.18.5.tgz#c740e2ea3578d059e551633e950690831b941f6b" + integrity sha512-8QDrR9T+dBegjeLr+n9WZTVxUYUhIUjUgZ0gvNxUBN8S1WB9r6H5Yk56/MVaB64tA3oGAN9IIxX6w0WvTfFudA== dependencies: "@lerna/prerelease-id-from-version" "3.16.0" "@lerna/validation-error" "3.13.0" @@ -1446,6 +1455,16 @@ dependencies: semver "^6.2.0" +"@lerna/profiler@3.20.0": + version "3.20.0" + resolved "https://registry.npmjs.org/@lerna/profiler/-/profiler-3.20.0.tgz#0f6dc236f4ea8f9ea5f358c6703305a4f32ad051" + integrity sha512-bh8hKxAlm6yu8WEOvbLENm42i2v9SsR4WbrCWSbsmOElx3foRnMlYk7NkGECa+U5c3K4C6GeBbwgqs54PP7Ljg== + dependencies: + figgy-pudding "^3.5.1" + fs-extra "^8.1.0" + npmlog "^4.1.2" + upath "^1.2.0" + "@lerna/project@3.18.0": version "3.18.0" resolved "https://registry.npmjs.org/@lerna/project/-/project-3.18.0.tgz#56feee01daeb42c03cbdf0ed8a2a10cbce32f670" @@ -1464,41 +1483,41 @@ resolve-from "^4.0.0" write-json-file "^3.2.0" -"@lerna/prompt@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/prompt/-/prompt-3.13.0.tgz#53571462bb3f5399cc1ca6d335a411fe093426a5" - integrity sha512-P+lWSFokdyvYpkwC3it9cE0IF2U5yy2mOUbGvvE4iDb9K7TyXGE+7lwtx2thtPvBAfIb7O13POMkv7df03HJeA== +"@lerna/prompt@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/prompt/-/prompt-3.18.5.tgz#628cd545f225887d060491ab95df899cfc5218a1" + integrity sha512-rkKj4nm1twSbBEb69+Em/2jAERK8htUuV8/xSjN0NPC+6UjzAwY52/x9n5cfmpa9lyKf/uItp7chCI7eDmNTKQ== dependencies: inquirer "^6.2.0" npmlog "^4.1.2" -"@lerna/publish@3.18.3": - version "3.18.3" - resolved "https://registry.npmjs.org/@lerna/publish/-/publish-3.18.3.tgz#478bb94ee712a40b723413e437bcb9e307d3709c" - integrity sha512-XlfWOWIhaSK0Y2sX5ppNWI5Y3CDtlxMcQa1hTbZlC5rrDA6vD32iutbmH6Ix3c6wtvVbSkgA39GWsQEXxPS+7w== +"@lerna/publish@3.20.2": + version "3.20.2" + resolved "https://registry.npmjs.org/@lerna/publish/-/publish-3.20.2.tgz#a45d29813099b3249657ea913d0dc3f8ebc5cc2e" + integrity sha512-N7Y6PdhJ+tYQPdI1tZum8W25cDlTp4D6brvRacKZusweWexxaopbV8RprBaKexkEX/KIbncuADq7qjDBdQHzaA== dependencies: "@evocateur/libnpmaccess" "^3.1.2" "@evocateur/npm-registry-fetch" "^4.0.0" "@evocateur/pacote" "^9.6.3" "@lerna/check-working-tree" "3.16.5" "@lerna/child-process" "3.16.5" - "@lerna/collect-updates" "3.18.0" - "@lerna/command" "3.18.0" + "@lerna/collect-updates" "3.20.0" + "@lerna/command" "3.18.5" "@lerna/describe-ref" "3.16.5" "@lerna/log-packed" "3.16.0" "@lerna/npm-conf" "3.16.0" - "@lerna/npm-dist-tag" "3.18.1" - "@lerna/npm-publish" "3.16.2" - "@lerna/otplease" "3.16.0" + "@lerna/npm-dist-tag" "3.18.5" + "@lerna/npm-publish" "3.18.5" + "@lerna/otplease" "3.18.5" "@lerna/output" "3.13.0" "@lerna/pack-directory" "3.16.4" "@lerna/prerelease-id-from-version" "3.16.0" - "@lerna/prompt" "3.13.0" + "@lerna/prompt" "3.18.5" "@lerna/pulse-till-done" "3.13.0" "@lerna/run-lifecycle" "3.16.2" - "@lerna/run-topologically" "3.18.0" + "@lerna/run-topologically" "3.18.5" "@lerna/validation-error" "3.13.0" - "@lerna/version" "3.18.3" + "@lerna/version" "3.20.2" figgy-pudding "^3.5.1" fs-extra "^8.1.0" npm-package-arg "^6.1.0" @@ -1515,12 +1534,12 @@ dependencies: npmlog "^4.1.2" -"@lerna/query-graph@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/query-graph/-/query-graph-3.18.0.tgz#43801a2f1b80a0ea0bfd9d42d470605326a3035d" - integrity sha512-fgUhLx6V0jDuKZaKj562jkuuhrfVcjl5sscdfttJ8dXNVADfDz76nzzwLY0ZU7/0m69jDedohn5Fx5p7hDEVEg== +"@lerna/query-graph@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/query-graph/-/query-graph-3.18.5.tgz#df4830bb5155273003bf35e8dda1c32d0927bd86" + integrity sha512-50Lf4uuMpMWvJ306be3oQDHrWV42nai9gbIVByPBYJuVW8dT8O8pA3EzitNYBUdLL9/qEVbrR0ry1HD7EXwtRA== dependencies: - "@lerna/package-graph" "3.18.0" + "@lerna/package-graph" "3.18.5" figgy-pudding "^3.5.1" "@lerna/resolve-symlink@3.16.0": @@ -1552,25 +1571,26 @@ npm-lifecycle "^3.1.2" npmlog "^4.1.2" -"@lerna/run-topologically@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/run-topologically/-/run-topologically-3.18.0.tgz#9508604553cfbeba106cd84b711fade17947f94a" - integrity sha512-lrfEewwuUMC3ioxf9Z9NdHUakN6ihekcPfdYbzR2slmdbjYKmIA5srkWdrK8NwOpQCAuekpOovH2s8X3FGEopg== +"@lerna/run-topologically@3.18.5": + version "3.18.5" + resolved "https://registry.npmjs.org/@lerna/run-topologically/-/run-topologically-3.18.5.tgz#3cd639da20e967d7672cb88db0f756b92f2fdfc3" + integrity sha512-6N1I+6wf4hLOnPW+XDZqwufyIQ6gqoPfHZFkfWlvTQ+Ue7CuF8qIVQ1Eddw5HKQMkxqN10thKOFfq/9NQZ4NUg== dependencies: - "@lerna/query-graph" "3.18.0" + "@lerna/query-graph" "3.18.5" figgy-pudding "^3.5.1" p-queue "^4.0.0" -"@lerna/run@3.18.0": - version "3.18.0" - resolved "https://registry.npmjs.org/@lerna/run/-/run-3.18.0.tgz#b7069880f6313e4c6026b564b7b76e5d0f30a521" - integrity sha512-sblxHBZ9djaaG7wefPcfEicDqzrB7CP1m/jIB0JvPEQwG4C2qp++ewBpkjRw/mBtjtzg0t7v0nNMXzaWYrQckQ== +"@lerna/run@3.20.0": + version "3.20.0" + resolved "https://registry.npmjs.org/@lerna/run/-/run-3.20.0.tgz#a479f7c42bdf9ebabb3a1e5a2bdebb7a8d201151" + integrity sha512-9U3AqeaCeB7KsGS9oyKNp62s9vYoULg/B4cqXTKZkc+OKL6QOEjYHYVSBcMK9lUXrMjCjDIuDSX3PnTCPxQ2Dw== dependencies: - "@lerna/command" "3.18.0" - "@lerna/filter-options" "3.18.0" + "@lerna/command" "3.18.5" + "@lerna/filter-options" "3.20.0" "@lerna/npm-run-script" "3.16.5" "@lerna/output" "3.13.0" - "@lerna/run-topologically" "3.18.0" + "@lerna/profiler" "3.20.0" + "@lerna/run-topologically" "3.18.5" "@lerna/timer" "3.13.0" "@lerna/validation-error" "3.13.0" p-map "^2.1.0" @@ -1610,23 +1630,23 @@ dependencies: npmlog "^4.1.2" -"@lerna/version@3.18.3": - version "3.18.3" - resolved "https://registry.npmjs.org/@lerna/version/-/version-3.18.3.tgz#01344b39c0749fdeb6c178714733bacbde4d602f" - integrity sha512-IXXRlyM3Q/jrc+QZio+bgjG4ZaK+4LYmY4Yql1xyY0wZhAKsWP/Q6ho7e1EJNjNC5dUJO99Fq7qB05MkDf2OcQ== +"@lerna/version@3.20.2": + version "3.20.2" + resolved "https://registry.npmjs.org/@lerna/version/-/version-3.20.2.tgz#3709141c0f537741d9bc10cb24f56897bcb30428" + integrity sha512-ckBJMaBWc+xJen0cMyCE7W67QXLLrc0ELvigPIn8p609qkfNM0L0CF803MKxjVOldJAjw84b8ucNWZLvJagP/Q== dependencies: "@lerna/check-working-tree" "3.16.5" "@lerna/child-process" "3.16.5" - "@lerna/collect-updates" "3.18.0" - "@lerna/command" "3.18.0" - "@lerna/conventional-commits" "3.16.4" + "@lerna/collect-updates" "3.20.0" + "@lerna/command" "3.18.5" + "@lerna/conventional-commits" "3.18.5" "@lerna/github-client" "3.16.5" "@lerna/gitlab-client" "3.15.0" "@lerna/output" "3.13.0" "@lerna/prerelease-id-from-version" "3.16.0" - "@lerna/prompt" "3.13.0" + "@lerna/prompt" "3.18.5" "@lerna/run-lifecycle" "3.16.2" - "@lerna/run-topologically" "3.18.0" + "@lerna/run-topologically" "3.18.5" "@lerna/validation-error" "3.13.0" chalk "^2.3.1" dedent "^0.7.0" @@ -3056,6 +3076,15 @@ cliui@^5.0.0: strip-ansi "^5.2.0" wrap-ansi "^5.1.0" +clone-deep@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" + integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== + dependencies: + is-plain-object "^2.0.4" + kind-of "^6.0.2" + shallow-clone "^3.0.0" + clone-response@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b" @@ -3976,6 +4005,11 @@ env-paths@^2.2.0: resolved "https://registry.npmjs.org/env-paths/-/env-paths-2.2.0.tgz#cdca557dc009152917d6166e2febe1f039685e43" integrity sha512-6u0VYSCo/OW6IoD5WCLLy9JUGARbamfSavcNXry/eu8aHVFei6CD3Sw+VGX5alea1i9pgPHW0mbu6Xj0uBh7gA== +envinfo@^7.3.1: + version "7.5.0" + resolved "https://registry.npmjs.org/envinfo/-/envinfo-7.5.0.tgz#91410bb6db262fb4f1409bd506e9ff57e91023f4" + integrity sha512-jDgnJaF/Btomk+m3PZDTTCb5XIIIX3zYItnCRfF73zVgvinLoRomuhi75Y4su0PtQxWz4v66XnLLckyvyJTOIQ== + equal-length@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/equal-length/-/equal-length-1.0.1.tgz#21ca112d48ab24b4e1e7ffc0e5339d31fdfc274c" @@ -6414,26 +6448,27 @@ left-pad@^1.3.0: resolved "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e" integrity sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA== -lerna@3.18.3: - version "3.18.3" - resolved "https://registry.npmjs.org/lerna/-/lerna-3.18.3.tgz#c94556e76f98df9c7ae4ed3bc0166117cc42cd13" - integrity sha512-Bnr/RjyDSVA2Vu+NArK7do4UIpyy+EShOON7tignfAekPbi7cNDnMMGgSmbCQdKITkqPACMfCMdyq0hJlg6n3g== - dependencies: - "@lerna/add" "3.18.0" - "@lerna/bootstrap" "3.18.0" - "@lerna/changed" "3.18.3" - "@lerna/clean" "3.18.0" - "@lerna/cli" "3.18.0" - "@lerna/create" "3.18.0" - "@lerna/diff" "3.18.0" - "@lerna/exec" "3.18.0" - "@lerna/import" "3.18.0" - "@lerna/init" "3.18.0" - "@lerna/link" "3.18.0" - "@lerna/list" "3.18.0" - "@lerna/publish" "3.18.3" - "@lerna/run" "3.18.0" - "@lerna/version" "3.18.3" +lerna@3.20.2: + version "3.20.2" + resolved "https://registry.npmjs.org/lerna/-/lerna-3.20.2.tgz#abf84e73055fe84ee21b46e64baf37b496c24864" + integrity sha512-bjdL7hPLpU3Y8CBnw/1ys3ynQMUjiK6l9iDWnEGwFtDy48Xh5JboR9ZJwmKGCz9A/sarVVIGwf1tlRNKUG9etA== + dependencies: + "@lerna/add" "3.20.0" + "@lerna/bootstrap" "3.20.0" + "@lerna/changed" "3.20.0" + "@lerna/clean" "3.20.0" + "@lerna/cli" "3.18.5" + "@lerna/create" "3.18.5" + "@lerna/diff" "3.18.5" + "@lerna/exec" "3.20.0" + "@lerna/import" "3.18.5" + "@lerna/info" "3.20.0" + "@lerna/init" "3.18.5" + "@lerna/link" "3.18.5" + "@lerna/list" "3.20.0" + "@lerna/publish" "3.20.2" + "@lerna/run" "3.20.0" + "@lerna/version" "3.20.2" import-local "^2.0.0" npmlog "^4.1.2" @@ -6668,7 +6703,7 @@ lodash.uniq@^4.5.0: resolved "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@4.17.14, lodash@4.17.15, lodash@^3.3.1, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.2.1, lodash@^4.5.1: +lodash@4.17.14, lodash@4.17.15, lodash@^3.3.1, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.2.1, lodash@^4.5.1: version "4.17.15" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== @@ -8930,6 +8965,13 @@ setprototypeof@1.1.1: resolved "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683" integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw== +shallow-clone@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" + integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== + dependencies: + kind-of "^6.0.2" + shebang-command@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" @@ -9914,7 +9956,7 @@ unzip-response@^2.0.1: resolved "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" integrity sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c= -upath@^1.1.1: +upath@^1.1.1, upath@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894" integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg== @@ -10372,7 +10414,7 @@ yargs@^13.3.0: y18n "^4.0.0" yargs-parser "^13.1.1" -yargs@^14.2.0: +yargs@^14.2.2: version "14.2.2" resolved "https://registry.npmjs.org/yargs/-/yargs-14.2.2.tgz#2769564379009ff8597cdd38fba09da9b493c4b5" integrity sha512-/4ld+4VV5RnrynMhPZJ/ZpOCGSCeghMykZ3BhdFBDa9Wy/RH6uEGNWDJog+aUlq+9OM1CFTgtYRW5Is1Po9NOA== From fb9f8514d2274fd63e270a690a29a8ad151d01fa Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2020 08:43:42 +1100 Subject: [PATCH 0035/2192] chore: update dependency conventional-changelog-conventionalcommits to v4.2.3 (#854) Co-authored-by: WhiteSource Renovate --- @commitlint/config-conventional/package.json | 2 +- .../package.json | 2 +- .../parser-preset-conventionalcommits/package.json | 2 +- yarn.lock | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index d5e029c1e9..ab8197e4c4 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -35,6 +35,6 @@ "@commitlint/utils": "^8.3.4" }, "dependencies": { - "conventional-changelog-conventionalcommits": "4.2.1" + "conventional-changelog-conventionalcommits": "4.2.3" } } diff --git a/@commitlint/load/fixtures/parser-preset-conventional-without-factory/package.json b/@commitlint/load/fixtures/parser-preset-conventional-without-factory/package.json index 5c6e0ba346..2c9cd17f70 100644 --- a/@commitlint/load/fixtures/parser-preset-conventional-without-factory/package.json +++ b/@commitlint/load/fixtures/parser-preset-conventional-without-factory/package.json @@ -2,6 +2,6 @@ "name": "parser-preset-conventional-without-factory", "version": "1.0.0", "devDependencies": { - "conventional-changelog-conventionalcommits": "4.2.1" + "conventional-changelog-conventionalcommits": "4.2.3" } } diff --git a/@commitlint/load/fixtures/parser-preset-conventionalcommits/package.json b/@commitlint/load/fixtures/parser-preset-conventionalcommits/package.json index bc3ef683be..73bab0845a 100644 --- a/@commitlint/load/fixtures/parser-preset-conventionalcommits/package.json +++ b/@commitlint/load/fixtures/parser-preset-conventionalcommits/package.json @@ -2,6 +2,6 @@ "name": "parser-preset-conventionalcommits", "version": "1.0.0", "devDependencies": { - "conventional-changelog-conventionalcommits": "4.2.1" + "conventional-changelog-conventionalcommits": "4.2.3" } } diff --git a/yarn.lock b/yarn.lock index 91369165e6..bf066ca342 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3320,13 +3320,13 @@ conventional-changelog-angular@^5.0.3: compare-func "^1.3.1" q "^1.5.1" -conventional-changelog-conventionalcommits@4.2.1: - version "4.2.1" - resolved "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.2.1.tgz#d6cb2e2c5d7bfca044a08b9dba84b4082e1a1bd9" - integrity sha512-vC02KucnkNNap+foDKFm7BVUSDAXktXrUJqGszUuYnt6T0J2azsbYz/w9TDc3VsrW2v6JOtiQWVcgZnporHr4Q== +conventional-changelog-conventionalcommits@4.2.3: + version "4.2.3" + resolved "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.2.3.tgz#22855b32d57d0328951c1c2dc01b172a5f24ea37" + integrity sha512-atGa+R4vvEhb8N/8v3IoW59gCBJeeFiX6uIbPu876ENAmkMwsenyn0R21kdDHJFLQdy6zW4J6b4xN8KI3b9oww== dependencies: compare-func "^1.3.1" - lodash "^4.2.1" + lodash "^4.17.15" q "^1.5.1" conventional-changelog-core@^3.1.6: From 34762340a443c996bbe890fd02bf5fe8c0467ca6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2020 08:44:53 +1100 Subject: [PATCH 0036/2192] chore: update dependency conventional-changelog-angular to v5.0.6 (#855) Co-authored-by: WhiteSource Renovate --- .../load/fixtures/parser-preset-angular/package.json | 2 +- @commitlint/parse/package.json | 2 +- @commitlint/rules/package.json | 2 +- yarn.lock | 10 +--------- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/@commitlint/load/fixtures/parser-preset-angular/package.json b/@commitlint/load/fixtures/parser-preset-angular/package.json index 200d4ce9af..11129a7928 100644 --- a/@commitlint/load/fixtures/parser-preset-angular/package.json +++ b/@commitlint/load/fixtures/parser-preset-angular/package.json @@ -2,6 +2,6 @@ "name": "parser-preset-angular", "version": "1.0.0", "devDependencies": { - "conventional-changelog-angular": "5.0.5" + "conventional-changelog-angular": "5.0.6" } } diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index fa58ac9b3e..2d0549276e 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -41,7 +41,7 @@ "typescript": "3.7.5" }, "dependencies": { - "conventional-changelog-angular": "^1.3.3", + "conventional-changelog-angular": "^5.0.0", "conventional-commits-parser": "^3.0.0", "lodash": "4.17.15" } diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index a0de10644d..a54ae21a9c 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -37,7 +37,7 @@ "@commitlint/parse": "^8.3.4", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "conventional-changelog-angular": "1.6.6", + "conventional-changelog-angular": "5.0.6", "globby": "10.0.1", "lodash": "4.17.15" }, diff --git a/yarn.lock b/yarn.lock index bf066ca342..2486226c85 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3304,15 +3304,7 @@ console-control-strings@^1.0.0, console-control-strings@~1.1.0: resolved "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= -conventional-changelog-angular@1.6.6, conventional-changelog-angular@^1.3.3: - version "1.6.6" - resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-1.6.6.tgz#b27f2b315c16d0a1f23eb181309d0e6a4698ea0f" - integrity sha512-suQnFSqCxRwyBxY68pYTsFkG0taIdinHLNEAX5ivtw8bCRnIgnpvcHmlR/yjUyZIrNPYAoXlY1WiEKWgSE4BNg== - dependencies: - compare-func "^1.3.1" - q "^1.5.1" - -conventional-changelog-angular@^5.0.3: +conventional-changelog-angular@5.0.6, conventional-changelog-angular@^5.0.0, conventional-changelog-angular@^5.0.3: version "5.0.6" resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.6.tgz#269540c624553aded809c29a3508fdc2b544c059" integrity sha512-QDEmLa+7qdhVIv8sFZfVxU1VSyVvnXPsxq8Vam49mKUcO1Z8VTLEJk9uI21uiJUsnmm0I4Hrsdc9TgkOQo9WSA== From 056c6fef346b4e84f8b1f93038a9461a7cbd9beb Mon Sep 17 00:00:00 2001 From: Dmitry Semenchuk Date: Tue, 4 Feb 2020 00:47:14 +0300 Subject: [PATCH 0037/2192] feat: add possibility to extend from string (#865) --- @commitlint/resolve-extends/src/index.test.ts | 11 +++++++++++ @commitlint/resolve-extends/src/index.ts | 7 +++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/@commitlint/resolve-extends/src/index.test.ts b/@commitlint/resolve-extends/src/index.test.ts index 5232e83ad3..e7f3ff75aa 100644 --- a/@commitlint/resolve-extends/src/index.test.ts +++ b/@commitlint/resolve-extends/src/index.test.ts @@ -30,6 +30,17 @@ test('fails for missing extends', async () => { ); }); +test('resolves extends for single config', () => { + const input = {extends: 'extender-name'}; + const ctx = { + resolve: id, + require: jest.fn(() => ({})) + } as ResolveExtendsContext; + resolveExtends(input, ctx); + + expect(ctx.require).toHaveBeenCalledWith('extender-name'); +}); + test('uses empty prefix by default', () => { const input = {extends: ['extender-name']}; const ctx = { diff --git a/@commitlint/resolve-extends/src/index.ts b/@commitlint/resolve-extends/src/index.ts index 1cba8d18e4..163ae1d9d4 100644 --- a/@commitlint/resolve-extends/src/index.ts +++ b/@commitlint/resolve-extends/src/index.ts @@ -13,7 +13,7 @@ export interface ResolvedConfig { export interface ResolveExtendsConfig { parserPreset?: unknown; - extends?: string[]; + extends?: string | string[]; [key: string]: unknown; } @@ -48,7 +48,10 @@ function loadExtends( config: ResolveExtendsConfig = {}, context: ResolveExtendsContext = {} ): ResolvedConfig[] { - return (config.extends || []).reduce((configs, raw) => { + const {extends: e} = config; + const ext = e ? (Array.isArray(e) ? e : [e]) : []; + + return ext.reduce((configs, raw) => { const load = context.require || require; const resolved = resolveConfig(raw, context); const c = load(resolved); From 2bc32dacc60b1507662f6e3df9a96ed527e6ba63 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2020 08:54:41 +1100 Subject: [PATCH 0038/2192] chore: update dependency semver to v7 (#877) Co-authored-by: WhiteSource Renovate --- @commitlint/config-lerna-scopes/package.json | 2 +- @commitlint/is-ignored/package.json | 4 ++-- yarn.lock | 25 +++++++++++++------- 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index f144670cd7..f0386f6331 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -43,7 +43,7 @@ "dependencies": { "import-from": "3.0.0", "resolve-pkg": "2.0.0", - "semver": "6.3.0" + "semver": "7.1.2" }, "devDependencies": { "@commitlint/test": "8.2.0", diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index 482a60b5a2..3ecf9a1d97 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -37,9 +37,9 @@ "@commitlint/parse": "^8.3.4", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "@types/semver": "^6.0.1" + "@types/semver": "7.1.0" }, "dependencies": { - "semver": "6.3.0" + "semver": "7.1.2" } } diff --git a/yarn.lock b/yarn.lock index 2486226c85..2f1775539f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1942,10 +1942,12 @@ dependencies: resolve-from "*" -"@types/semver@^6.0.1": - version "6.2.0" - resolved "https://registry.npmjs.org/@types/semver/-/semver-6.2.0.tgz#d688d574400d96c5b0114968705366f431831e1a" - integrity sha512-1OzrNb4RuAzIT7wHSsgZRlMBlNsJl+do6UblR7JMW4oB7bbR+uBEYtUh7gEc/jM84GGilh68lSOokyM/zNUlBA== +"@types/semver@7.1.0": + version "7.1.0" + resolved "https://registry.npmjs.org/@types/semver/-/semver-7.1.0.tgz#c8c630d4c18cd326beff77404887596f96408408" + integrity sha512-pOKLaubrAEMUItGNpgwl0HMFPrSAFic8oSVIvfu1UwcgGNmNyK9gyhBHKmBnUTwwVvpZfkzUC0GaMgnL6P86uA== + dependencies: + "@types/node" "*" "@types/stack-utils@^1.0.1": version "1.0.1" @@ -8893,16 +8895,21 @@ semver-diff@^2.0.0: resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== -semver@6.3.0, semver@^6.0.0, semver@^6.2.0, semver@^6.3.0: - version "6.3.0" - resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== - semver@7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== +semver@7.1.2: + version "7.1.2" + resolved "https://registry.npmjs.org/semver/-/semver-7.1.2.tgz#847bae5bce68c5d08889824f02667199b70e3d87" + integrity sha512-BJs9T/H8sEVHbeigqzIEo57Iu/3DG6c4QoqTfbQB3BPA4zgzAomh/Fk9E7QtjWQ8mx2dgA9YCfSF4y9k9bHNpQ== + +semver@^6.0.0, semver@^6.2.0, semver@^6.3.0: + version "6.3.0" + resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + send@0.17.1: version "0.17.1" resolved "https://registry.npmjs.org/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8" From a26f83c0fdc3c7bfe6ea40a9184ec3a33a1bcf27 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2020 09:13:27 +1100 Subject: [PATCH 0039/2192] chore: update dependency jest to v25 (#929) Co-authored-by: WhiteSource Renovate --- @commitlint/execute-rule/package.json | 2 +- package.json | 2 +- yarn.lock | 1567 ++++++++++++++----------- 3 files changed, 897 insertions(+), 674 deletions(-) diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index 4a8fbffbdc..916064a9c3 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -38,7 +38,7 @@ "@commitlint/utils": "^8.3.4", "@types/jest": "25.1.1", "@types/lodash": "4.14.149", - "jest": "24.8.0", + "jest": "25.1.0", "ts-jest": "24.1.0" } } diff --git a/package.json b/package.json index 3095aec7e3..78656a7f31 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "@types/jest": "25.1.1", "docsify-cli": "4.3.0", "husky": "3.0.9", - "jest": "24.8.0", + "jest": "25.1.0", "lerna": "3.20.2", "lint-staged": "8.2.1", "prettier": "1.17.1", diff --git a/yarn.lock b/yarn.lock index 2f1775539f..2251f700bc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -49,6 +49,13 @@ dependencies: "@babel/highlight" "^7.0.0" +"@babel/code-frame@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" + integrity sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g== + dependencies: + "@babel/highlight" "^7.8.3" + "@babel/core@7.7.7", "@babel/core@^7.1.0", "@babel/core@^7.6.0", "@babel/core@^7.7.7": version "7.7.7" resolved "https://registry.npmjs.org/@babel/core/-/core-7.7.7.tgz#ee155d2e12300bcc0cff6a8ad46f2af5063803e9" @@ -69,7 +76,28 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/generator@^7.0.0", "@babel/generator@^7.0.0-beta.44", "@babel/generator@^7.4.0", "@babel/generator@^7.6.0", "@babel/generator@^7.7.4", "@babel/generator@^7.7.7": +"@babel/core@^7.7.5": + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.8.4.tgz#d496799e5c12195b3602d0fddd77294e3e38e80e" + integrity sha512-0LiLrB2PwrVI+a2/IEskBopDYSd8BCb3rOvH7D5tzoWd696TBEduBvuLVm4Nx6rltrLZqvI3MCalB2K2aVzQjA== + dependencies: + "@babel/code-frame" "^7.8.3" + "@babel/generator" "^7.8.4" + "@babel/helpers" "^7.8.4" + "@babel/parser" "^7.8.4" + "@babel/template" "^7.8.3" + "@babel/traverse" "^7.8.4" + "@babel/types" "^7.8.3" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.1" + json5 "^2.1.0" + lodash "^4.17.13" + resolve "^1.3.2" + semver "^5.4.1" + source-map "^0.5.0" + +"@babel/generator@^7.0.0", "@babel/generator@^7.0.0-beta.44", "@babel/generator@^7.6.0", "@babel/generator@^7.7.4", "@babel/generator@^7.7.7": version "7.7.7" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.7.7.tgz#859ac733c44c74148e1a72980a64ec84b85f4f45" integrity sha512-/AOIBpHh/JU1l0ZFS4kiRCBnLi6OTHzh0RPk3h9isBxkkqELtQNFi1Vr/tiG9p1yfoUdKVwISuXWQR+hwwM4VQ== @@ -79,6 +107,16 @@ lodash "^4.17.13" source-map "^0.5.0" +"@babel/generator@^7.8.4": + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.8.4.tgz#35bbc74486956fe4251829f9f6c48330e8d0985e" + integrity sha512-PwhclGdRpNAf3IxZb0YVuITPZmmrXz9zf6fH8lT4XbrmfQKr6ryBzhv593P5C6poJRciFCL/eHGW2NuGrgEyxA== + dependencies: + "@babel/types" "^7.8.3" + jsesc "^2.5.1" + lodash "^4.17.13" + source-map "^0.5.0" + "@babel/helper-annotate-as-pure@^7.7.4": version "7.7.4" resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.7.4.tgz#bb3faf1e74b74bd547e867e48f551fa6b098b6ce" @@ -145,6 +183,15 @@ "@babel/template" "^7.7.4" "@babel/types" "^7.7.4" +"@babel/helper-function-name@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz#eeeb665a01b1f11068e9fb86ad56a1cb1a824cca" + integrity sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA== + dependencies: + "@babel/helper-get-function-arity" "^7.8.3" + "@babel/template" "^7.8.3" + "@babel/types" "^7.8.3" + "@babel/helper-get-function-arity@^7.7.4": version "7.7.4" resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.7.4.tgz#cb46348d2f8808e632f0ab048172130e636005f0" @@ -152,6 +199,13 @@ dependencies: "@babel/types" "^7.7.4" +"@babel/helper-get-function-arity@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5" + integrity sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA== + dependencies: + "@babel/types" "^7.8.3" + "@babel/helper-hoist-variables@^7.7.4": version "7.7.4" resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.7.4.tgz#612384e3d823fdfaaf9fce31550fe5d4db0f3d12" @@ -197,6 +251,11 @@ resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250" integrity sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA== +"@babel/helper-plugin-utils@^7.8.0": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz#9ea293be19babc0f52ff8ca88b34c3611b208670" + integrity sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ== + "@babel/helper-regex@^7.0.0", "@babel/helper-regex@^7.4.4": version "7.5.5" resolved "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.5.5.tgz#0aa6824f7100a2e0e89c1527c23936c152cab351" @@ -240,6 +299,13 @@ dependencies: "@babel/types" "^7.7.4" +"@babel/helper-split-export-declaration@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz#31a9f30070f91368a7182cf05f831781065fc7a9" + integrity sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA== + dependencies: + "@babel/types" "^7.8.3" + "@babel/helper-wrap-function@^7.7.4": version "7.7.4" resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.7.4.tgz#37ab7fed5150e22d9d7266e830072c0cdd8baace" @@ -259,6 +325,15 @@ "@babel/traverse" "^7.7.4" "@babel/types" "^7.7.4" +"@babel/helpers@^7.8.4": + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.8.4.tgz#754eb3ee727c165e0a240d6c207de7c455f36f73" + integrity sha512-VPbe7wcQ4chu4TDQjimHv/5tj73qz88o12EPkO2ValS2QiQS/1F2SsjyIGNnAD0vF/nZS6Cf9i+vW6HIlnaR8w== + dependencies: + "@babel/template" "^7.8.3" + "@babel/traverse" "^7.8.4" + "@babel/types" "^7.8.3" + "@babel/highlight@^7.0.0": version "7.5.0" resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa619591d02472be6e8cb32540" @@ -268,11 +343,25 @@ esutils "^2.0.2" js-tokens "^4.0.0" -"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.4.3", "@babel/parser@^7.7.4", "@babel/parser@^7.7.7": +"@babel/highlight@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797" + integrity sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg== + dependencies: + chalk "^2.0.0" + esutils "^2.0.2" + js-tokens "^4.0.0" + +"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.7.4", "@babel/parser@^7.7.7": version "7.7.7" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.7.7.tgz#1b886595419cf92d811316d5b715a53ff38b4937" integrity sha512-WtTZMZAZLbeymhkd/sEaPD8IQyGAhmuTuvTzLiCFM7iXiVdY0gc0IaI+cW0fh1BnSMbJSzXX6/fHllgHKwHhXw== +"@babel/parser@^7.7.5", "@babel/parser@^7.8.3", "@babel/parser@^7.8.4": + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz#d1dbe64691d60358a974295fa53da074dd2ce8e8" + integrity sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw== + "@babel/plugin-proposal-async-generator-functions@^7.2.0", "@babel/plugin-proposal-async-generator-functions@^7.7.4": version "7.7.4" resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.7.4.tgz#0351c5ac0a9e927845fffd5b82af476947b7ce6d" @@ -329,6 +418,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" +"@babel/plugin-syntax-bigint@^7.0.0": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea" + integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + "@babel/plugin-syntax-dynamic-import@^7.7.4": version "7.7.4" resolved "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.7.4.tgz#29ca3b4415abfe4a5ec381e903862ad1a54c3aec" @@ -705,7 +801,7 @@ dependencies: regenerator-runtime "^0.13.2" -"@babel/template@^7.4.0", "@babel/template@^7.7.4": +"@babel/template@^7.7.4": version "7.7.4" resolved "https://registry.npmjs.org/@babel/template/-/template-7.7.4.tgz#428a7d9eecffe27deac0a98e23bf8e3675d2a77b" integrity sha512-qUzihgVPguAzXCK7WXw8pqs6cEwi54s3E+HrejlkuWO6ivMKx9hZl3Y2fSXp9i5HgyWmj7RKP+ulaYnKM4yYxw== @@ -714,7 +810,16 @@ "@babel/parser" "^7.7.4" "@babel/types" "^7.7.4" -"@babel/traverse@^7.1.0", "@babel/traverse@^7.4.3", "@babel/traverse@^7.7.4": +"@babel/template@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz#e02ad04fe262a657809327f578056ca15fd4d1b8" + integrity sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ== + dependencies: + "@babel/code-frame" "^7.8.3" + "@babel/parser" "^7.8.3" + "@babel/types" "^7.8.3" + +"@babel/traverse@^7.1.0", "@babel/traverse@^7.7.4": version "7.7.4" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.7.4.tgz#9c1e7c60fb679fe4fcfaa42500833333c2058558" integrity sha512-P1L58hQyupn8+ezVA2z5KBm4/Zr4lCC8dwKCMYzsa5jFMDMQAzaBNy9W5VjB+KAmBjb40U7a/H6ao+Xo+9saIw== @@ -729,7 +834,22 @@ globals "^11.1.0" lodash "^4.17.13" -"@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.4.0", "@babel/types@^7.7.4": +"@babel/traverse@^7.8.4": + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.8.4.tgz#f0845822365f9d5b0e312ed3959d3f827f869e3c" + integrity sha512-NGLJPZwnVEyBPLI+bl9y9aSnxMhsKz42so7ApAv9D+b4vAFPpY013FTS9LdKxcABoIYFU52HcYga1pPlx454mg== + dependencies: + "@babel/code-frame" "^7.8.3" + "@babel/generator" "^7.8.4" + "@babel/helper-function-name" "^7.8.3" + "@babel/helper-split-export-declaration" "^7.8.3" + "@babel/parser" "^7.8.4" + "@babel/types" "^7.8.3" + debug "^4.1.0" + globals "^11.1.0" + lodash "^4.17.13" + +"@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.7.4": version "7.7.4" resolved "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz#516570d539e44ddf308c07569c258ff94fde9193" integrity sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA== @@ -738,6 +858,20 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" +"@babel/types@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz#5a383dffa5416db1b73dedffd311ffd0788fb31c" + integrity sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg== + dependencies: + esutils "^2.0.2" + lodash "^4.17.13" + to-fast-properties "^2.0.0" + +"@bcoe/v8-coverage@^0.2.3": + version "0.2.3" + resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" + integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== + "@cnakazawa/watch@^1.0.3": version "1.0.3" resolved "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.3.tgz#099139eaec7ebf07a27c1786a3ff64f39464d2ef" @@ -827,153 +961,169 @@ unique-filename "^1.1.1" which "^1.3.1" -"@jest/console@^24.7.1", "@jest/console@^24.9.0": - version "24.9.0" - resolved "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz#79b1bc06fb74a8cfb01cbdedf945584b1b9707f0" - integrity sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ== +"@istanbuljs/load-nyc-config@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.0.0.tgz#10602de5570baea82f8afbfa2630b24e7a8cfe5b" + integrity sha512-ZR0rq/f/E4f4XcgnDvtMWXCUJpi8eO0rssVhmztsZqLIEFA9UUP9zmpE0VxlM+kv/E1ul2I876Fwil2ayptDVg== dependencies: - "@jest/source-map" "^24.9.0" - chalk "^2.0.1" - slash "^2.0.0" + camelcase "^5.3.1" + find-up "^4.1.0" + js-yaml "^3.13.1" + resolve-from "^5.0.0" + +"@istanbuljs/schema@^0.1.2": + version "0.1.2" + resolved "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd" + integrity sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw== -"@jest/core@^24.9.0": - version "24.9.0" - resolved "https://registry.npmjs.org/@jest/core/-/core-24.9.0.tgz#2ceccd0b93181f9c4850e74f2a9ad43d351369c4" - integrity sha512-Fogg3s4wlAr1VX7q+rhV9RVnUv5tD7VuWfYy1+whMiWUrvl7U3QJSJyWcDio9Lq2prqYsZaeTv2Rz24pWGkJ2A== +"@jest/console@^25.1.0": + version "25.1.0" + resolved "https://registry.npmjs.org/@jest/console/-/console-25.1.0.tgz#1fc765d44a1e11aec5029c08e798246bd37075ab" + integrity sha512-3P1DpqAMK/L07ag/Y9/Jup5iDEG9P4pRAuZiMQnU0JB3UOvCyYCjCoxr7sIA80SeyUCUKrr24fKAxVpmBgQonA== dependencies: - "@jest/console" "^24.7.1" - "@jest/reporters" "^24.9.0" - "@jest/test-result" "^24.9.0" - "@jest/transform" "^24.9.0" - "@jest/types" "^24.9.0" - ansi-escapes "^3.0.0" - chalk "^2.0.1" + "@jest/source-map" "^25.1.0" + chalk "^3.0.0" + jest-util "^25.1.0" + slash "^3.0.0" + +"@jest/core@^25.1.0": + version "25.1.0" + resolved "https://registry.npmjs.org/@jest/core/-/core-25.1.0.tgz#3d4634fc3348bb2d7532915d67781cdac0869e47" + integrity sha512-iz05+NmwCmZRzMXvMo6KFipW7nzhbpEawrKrkkdJzgytavPse0biEnCNr2wRlyCsp3SmKaEY+SGv7YWYQnIdig== + dependencies: + "@jest/console" "^25.1.0" + "@jest/reporters" "^25.1.0" + "@jest/test-result" "^25.1.0" + "@jest/transform" "^25.1.0" + "@jest/types" "^25.1.0" + ansi-escapes "^4.2.1" + chalk "^3.0.0" exit "^0.1.2" - graceful-fs "^4.1.15" - jest-changed-files "^24.9.0" - jest-config "^24.9.0" - jest-haste-map "^24.9.0" - jest-message-util "^24.9.0" - jest-regex-util "^24.3.0" - jest-resolve "^24.9.0" - jest-resolve-dependencies "^24.9.0" - jest-runner "^24.9.0" - jest-runtime "^24.9.0" - jest-snapshot "^24.9.0" - jest-util "^24.9.0" - jest-validate "^24.9.0" - jest-watcher "^24.9.0" - micromatch "^3.1.10" - p-each-series "^1.0.0" + graceful-fs "^4.2.3" + jest-changed-files "^25.1.0" + jest-config "^25.1.0" + jest-haste-map "^25.1.0" + jest-message-util "^25.1.0" + jest-regex-util "^25.1.0" + jest-resolve "^25.1.0" + jest-resolve-dependencies "^25.1.0" + jest-runner "^25.1.0" + jest-runtime "^25.1.0" + jest-snapshot "^25.1.0" + jest-util "^25.1.0" + jest-validate "^25.1.0" + jest-watcher "^25.1.0" + micromatch "^4.0.2" + p-each-series "^2.1.0" realpath-native "^1.1.0" - rimraf "^2.5.4" - slash "^2.0.0" - strip-ansi "^5.0.0" + rimraf "^3.0.0" + slash "^3.0.0" + strip-ansi "^6.0.0" -"@jest/environment@^24.9.0": - version "24.9.0" - resolved "https://registry.npmjs.org/@jest/environment/-/environment-24.9.0.tgz#21e3afa2d65c0586cbd6cbefe208bafade44ab18" - integrity sha512-5A1QluTPhvdIPFYnO3sZC3smkNeXPVELz7ikPbhUj0bQjB07EoE9qtLrem14ZUYWdVayYbsjVwIiL4WBIMV4aQ== - dependencies: - "@jest/fake-timers" "^24.9.0" - "@jest/transform" "^24.9.0" - "@jest/types" "^24.9.0" - jest-mock "^24.9.0" - -"@jest/fake-timers@^24.9.0": - version "24.9.0" - resolved "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz#ba3e6bf0eecd09a636049896434d306636540c93" - integrity sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A== - dependencies: - "@jest/types" "^24.9.0" - jest-message-util "^24.9.0" - jest-mock "^24.9.0" - -"@jest/reporters@^24.9.0": - version "24.9.0" - resolved "https://registry.npmjs.org/@jest/reporters/-/reporters-24.9.0.tgz#86660eff8e2b9661d042a8e98a028b8d631a5b43" - integrity sha512-mu4X0yjaHrffOsWmVLzitKmmmWSQ3GGuefgNscUSWNiUNcEOSEQk9k3pERKEQVBb0Cnn88+UESIsZEMH3o88Gw== - dependencies: - "@jest/environment" "^24.9.0" - "@jest/test-result" "^24.9.0" - "@jest/transform" "^24.9.0" - "@jest/types" "^24.9.0" - chalk "^2.0.1" +"@jest/environment@^25.1.0": + version "25.1.0" + resolved "https://registry.npmjs.org/@jest/environment/-/environment-25.1.0.tgz#4a97f64770c9d075f5d2b662b5169207f0a3f787" + integrity sha512-cTpUtsjU4cum53VqBDlcW0E4KbQF03Cn0jckGPW/5rrE9tb+porD3+hhLtHAwhthsqfyF+bizyodTlsRA++sHg== + dependencies: + "@jest/fake-timers" "^25.1.0" + "@jest/types" "^25.1.0" + jest-mock "^25.1.0" + +"@jest/fake-timers@^25.1.0": + version "25.1.0" + resolved "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-25.1.0.tgz#a1e0eff51ffdbb13ee81f35b52e0c1c11a350ce8" + integrity sha512-Eu3dysBzSAO1lD7cylZd/CVKdZZ1/43SF35iYBNV1Lvvn2Undp3Grwsv8PrzvbLhqwRzDd4zxrY4gsiHc+wygQ== + dependencies: + "@jest/types" "^25.1.0" + jest-message-util "^25.1.0" + jest-mock "^25.1.0" + jest-util "^25.1.0" + lolex "^5.0.0" + +"@jest/reporters@^25.1.0": + version "25.1.0" + resolved "https://registry.npmjs.org/@jest/reporters/-/reporters-25.1.0.tgz#9178ecf136c48f125674ac328f82ddea46e482b0" + integrity sha512-ORLT7hq2acJQa8N+NKfs68ZtHFnJPxsGqmofxW7v7urVhzJvpKZG9M7FAcgh9Ee1ZbCteMrirHA3m5JfBtAaDg== + dependencies: + "@bcoe/v8-coverage" "^0.2.3" + "@jest/console" "^25.1.0" + "@jest/environment" "^25.1.0" + "@jest/test-result" "^25.1.0" + "@jest/transform" "^25.1.0" + "@jest/types" "^25.1.0" + chalk "^3.0.0" + collect-v8-coverage "^1.0.0" exit "^0.1.2" glob "^7.1.2" - istanbul-lib-coverage "^2.0.2" - istanbul-lib-instrument "^3.0.1" - istanbul-lib-report "^2.0.4" - istanbul-lib-source-maps "^3.0.1" - istanbul-reports "^2.2.6" - jest-haste-map "^24.9.0" - jest-resolve "^24.9.0" - jest-runtime "^24.9.0" - jest-util "^24.9.0" - jest-worker "^24.6.0" - node-notifier "^5.4.2" - slash "^2.0.0" + istanbul-lib-coverage "^3.0.0" + istanbul-lib-instrument "^4.0.0" + istanbul-lib-report "^3.0.0" + istanbul-lib-source-maps "^4.0.0" + istanbul-reports "^3.0.0" + jest-haste-map "^25.1.0" + jest-resolve "^25.1.0" + jest-runtime "^25.1.0" + jest-util "^25.1.0" + jest-worker "^25.1.0" + slash "^3.0.0" source-map "^0.6.0" - string-length "^2.0.0" + string-length "^3.1.0" + terminal-link "^2.0.0" + v8-to-istanbul "^4.0.1" + optionalDependencies: + node-notifier "^6.0.0" -"@jest/source-map@^24.3.0", "@jest/source-map@^24.9.0": - version "24.9.0" - resolved "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz#0e263a94430be4b41da683ccc1e6bffe2a191714" - integrity sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg== +"@jest/source-map@^25.1.0": + version "25.1.0" + resolved "https://registry.npmjs.org/@jest/source-map/-/source-map-25.1.0.tgz#b012e6c469ccdbc379413f5c1b1ffb7ba7034fb0" + integrity sha512-ohf2iKT0xnLWcIUhL6U6QN+CwFWf9XnrM2a6ybL9NXxJjgYijjLSitkYHIdzkd8wFliH73qj/+epIpTiWjRtAA== dependencies: callsites "^3.0.0" - graceful-fs "^4.1.15" + graceful-fs "^4.2.3" source-map "^0.6.0" -"@jest/test-result@^24.9.0": - version "24.9.0" - resolved "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz#11796e8aa9dbf88ea025757b3152595ad06ba0ca" - integrity sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA== +"@jest/test-result@^25.1.0": + version "25.1.0" + resolved "https://registry.npmjs.org/@jest/test-result/-/test-result-25.1.0.tgz#847af2972c1df9822a8200457e64be4ff62821f7" + integrity sha512-FZzSo36h++U93vNWZ0KgvlNuZ9pnDnztvaM7P/UcTx87aPDotG18bXifkf1Ji44B7k/eIatmMzkBapnAzjkJkg== dependencies: - "@jest/console" "^24.9.0" - "@jest/types" "^24.9.0" + "@jest/console" "^25.1.0" + "@jest/transform" "^25.1.0" + "@jest/types" "^25.1.0" "@types/istanbul-lib-coverage" "^2.0.0" + collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^24.9.0": - version "24.9.0" - resolved "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-24.9.0.tgz#f8f334f35b625a4f2f355f2fe7e6036dad2e6b31" - integrity sha512-6qqsU4o0kW1dvA95qfNog8v8gkRN9ph6Lz7r96IvZpHdNipP2cBcb07J1Z45mz/VIS01OHJ3pY8T5fUY38tg4A== +"@jest/test-sequencer@^25.1.0": + version "25.1.0" + resolved "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-25.1.0.tgz#4df47208542f0065f356fcdb80026e3c042851ab" + integrity sha512-WgZLRgVr2b4l/7ED1J1RJQBOharxS11EFhmwDqknpknE0Pm87HLZVS2Asuuw+HQdfQvm2aXL2FvvBLxOD1D0iw== dependencies: - "@jest/test-result" "^24.9.0" - jest-haste-map "^24.9.0" - jest-runner "^24.9.0" - jest-runtime "^24.9.0" + "@jest/test-result" "^25.1.0" + jest-haste-map "^25.1.0" + jest-runner "^25.1.0" + jest-runtime "^25.1.0" -"@jest/transform@^24.9.0": - version "24.9.0" - resolved "https://registry.npmjs.org/@jest/transform/-/transform-24.9.0.tgz#4ae2768b296553fadab09e9ec119543c90b16c56" - integrity sha512-TcQUmyNRxV94S0QpMOnZl0++6RMiqpbH/ZMccFB/amku6Uwvyb1cjYX7xkp5nGNkbX4QPH/FcB6q1HBTHynLmQ== +"@jest/transform@^25.1.0": + version "25.1.0" + resolved "https://registry.npmjs.org/@jest/transform/-/transform-25.1.0.tgz#221f354f512b4628d88ce776d5b9e601028ea9da" + integrity sha512-4ktrQ2TPREVeM+KxB4zskAT84SnmG1vaz4S+51aTefyqn3zocZUnliLLm5Fsl85I3p/kFPN4CRp1RElIfXGegQ== dependencies: "@babel/core" "^7.1.0" - "@jest/types" "^24.9.0" - babel-plugin-istanbul "^5.1.0" - chalk "^2.0.1" + "@jest/types" "^25.1.0" + babel-plugin-istanbul "^6.0.0" + chalk "^3.0.0" convert-source-map "^1.4.0" fast-json-stable-stringify "^2.0.0" - graceful-fs "^4.1.15" - jest-haste-map "^24.9.0" - jest-regex-util "^24.9.0" - jest-util "^24.9.0" - micromatch "^3.1.10" + graceful-fs "^4.2.3" + jest-haste-map "^25.1.0" + jest-regex-util "^25.1.0" + jest-util "^25.1.0" + micromatch "^4.0.2" pirates "^4.0.1" realpath-native "^1.1.0" - slash "^2.0.0" + slash "^3.0.0" source-map "^0.6.1" - write-file-atomic "2.4.1" - -"@jest/types@^24.9.0": - version "24.9.0" - resolved "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz#63cb26cb7500d069e5a389441a7c6ab5e909fc59" - integrity sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw== - dependencies: - "@types/istanbul-lib-coverage" "^2.0.0" - "@types/istanbul-reports" "^1.1.1" - "@types/yargs" "^13.0.0" + write-file-atomic "^3.0.0" "@jest/types@^25.1.0": version "25.1.0" @@ -1787,6 +1937,13 @@ resolved "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== +"@sinonjs/commons@^1.7.0": + version "1.7.0" + resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.7.0.tgz#f90ffc52a2e519f018b13b6c4da03cbff36ebed6" + integrity sha512-qbk9AP+cZUsKdW1GJsBpxPKFmCJ0T8swwzVje3qFd+AkQb74Q/tiuzrdfFg8AD2g5HH/XbE/I8Uc1KYHVYWfhg== + dependencies: + type-detect "4.0.8" + "@szmarczak/http-timer@^1.1.2": version "1.1.2" resolved "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421" @@ -1872,7 +2029,7 @@ "@types/minimatch" "*" "@types/node" "*" -"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0": +"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": version "2.0.1" resolved "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz#42995b446db9a48a11a07ec083499a860e9138ff" integrity sha512-hRJD2ahnnpLgsj6KWMYSrmXkM3rm2Dl1qkx6IOFD5FnuNPXJIG5L0dhgKXCYTRMGzU4n0wImQ/xfmRc4POUFlg== @@ -1964,13 +2121,6 @@ resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-13.1.0.tgz#c563aa192f39350a1d18da36c5a8da382bbd8228" integrity sha512-gCubfBUZ6KxzoibJ+SCUc/57Ms1jz5NjHe4+dI2krNmU5zCPAphyLJYyTOg06ueIyfj+SaCUqmzun7ImlxDcKg== -"@types/yargs@^13.0.0": - version "13.0.4" - resolved "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.4.tgz#53d231cebe1a540e7e13727fc1f0d13ad4a9ba3b" - integrity sha512-Ke1WmBbIkVM8bpvsNEcGgQM70XcEh/nbpxQhW7FhrsbCsXSY9BmLB1+LHtD7r9zrsOcFlLiF+a/UeJsdfw3C5A== - dependencies: - "@types/yargs-parser" "*" - "@types/yargs@^15.0.0": version "15.0.3" resolved "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.3.tgz#41453a0bc7ab393e995d1f5451455638edbd2baf" @@ -2005,7 +2155,7 @@ abbrev@1: resolved "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== -acorn-globals@^4.1.0: +acorn-globals@^4.3.2: version "4.3.4" resolved "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.4.tgz#9fa1926addc11c97308c4e66d7add0d40c3272e7" integrity sha512-clfQEh21R+D0leSbUdWf3OcfqyaCSAQ8Ryq00bofSekfr9W8u1jyYZo6ir0xu9Gtcf7BjcHJpnbZH7JOCpP60A== @@ -2018,16 +2168,16 @@ acorn-walk@^6.0.1: resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.2.0.tgz#123cb8f3b84c2171f1f7fb252615b1c78a6b1a8c" integrity sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA== -acorn@^5.5.3: - version "5.7.3" - resolved "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279" - integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== - acorn@^6.0.1: version "6.4.0" resolved "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz#b659d2ffbafa24baf5db1cdbb2c94a983ecd2784" integrity sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw== +acorn@^7.1.0: + version "7.1.0" + resolved "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c" + integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ== + agent-base@4, agent-base@^4.3.0: version "4.3.0" resolved "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee" @@ -2100,7 +2250,7 @@ ansi-regex@^3.0.0: resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= -ansi-regex@^4.0.0, ansi-regex@^4.1.0: +ansi-regex@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== @@ -2156,7 +2306,7 @@ anymatch@^2.0.0: micromatch "^3.1.4" normalize-path "^2.1.1" -anymatch@~3.1.1: +anymatch@^3.0.3, anymatch@~3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142" integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg== @@ -2310,11 +2460,6 @@ async-each@^1.0.0, async-each@^1.0.1: resolved "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== -async-limiter@~1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" - integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== - asynckit@^0.4.0: version "0.4.0" resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -2419,18 +2564,18 @@ aws4@^1.8.0: resolved "https://registry.npmjs.org/aws4/-/aws4-1.9.0.tgz#24390e6ad61386b0a747265754d2a17219de862c" integrity sha512-Uvq6hVe90D0B2WEnUqtdgY1bATGz3mw33nH9Y+dmA+w5DHvUmBgkr5rM/KCHpCsiFNRUfokW/szpPPgMK2hm4A== -babel-jest@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-24.9.0.tgz#3fc327cb8467b89d14d7bc70e315104a783ccd54" - integrity sha512-ntuddfyiN+EhMw58PTNL1ph4C9rECiQXjI4nMMBKBaNjXvqLdkXpPRcMSr4iyBrJg/+wz9brFUD6RhOAT6r4Iw== +babel-jest@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-25.1.0.tgz#206093ac380a4b78c4404a05b3277391278f80fb" + integrity sha512-tz0VxUhhOE2y+g8R2oFrO/2VtVjA1lkJeavlhExuRBg3LdNJY9gwQ+Vcvqt9+cqy71MCTJhewvTB7Qtnnr9SWg== dependencies: - "@jest/transform" "^24.9.0" - "@jest/types" "^24.9.0" + "@jest/transform" "^25.1.0" + "@jest/types" "^25.1.0" "@types/babel__core" "^7.1.0" - babel-plugin-istanbul "^5.1.0" - babel-preset-jest "^24.9.0" - chalk "^2.4.2" - slash "^2.0.0" + babel-plugin-istanbul "^6.0.0" + babel-preset-jest "^25.1.0" + chalk "^3.0.0" + slash "^3.0.0" babel-plugin-dynamic-import-node@^2.3.0: version "2.3.0" @@ -2452,20 +2597,21 @@ babel-plugin-espower@^3.0.1: espurify "^1.6.0" estraverse "^4.1.1" -babel-plugin-istanbul@^5.1.0: - version "5.2.0" - resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-5.2.0.tgz#df4ade83d897a92df069c4d9a25cf2671293c854" - integrity sha512-5LphC0USA8t4i1zCtjbbNb6jJj/9+X6P37Qfirc/70EQ34xKlMW+a1RHGwxGI+SwWpNwZ27HqvzAobeqaXwiZw== +babel-plugin-istanbul@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.0.0.tgz#e159ccdc9af95e0b570c75b4573b7c34d671d765" + integrity sha512-AF55rZXpe7trmEylbaE1Gv54wn6rwU03aptvRoVIGP8YykoSxqdVLV1TfwflBCE/QtHmqtP8SWlTENqbK8GCSQ== dependencies: "@babel/helper-plugin-utils" "^7.0.0" - find-up "^3.0.0" - istanbul-lib-instrument "^3.3.0" - test-exclude "^5.2.3" + "@istanbuljs/load-nyc-config" "^1.0.0" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-instrument "^4.0.0" + test-exclude "^6.0.0" -babel-plugin-jest-hoist@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.9.0.tgz#4f837091eb407e01447c8843cbec546d0002d756" - integrity sha512-2EMA2P8Vp7lG0RAzr4HXqtYwacfMErOuv1U3wrvxHX6rD1sV6xS3WXG3r8TRQ2r6w8OhvSdWt+z41hQNwNm3Xw== +babel-plugin-jest-hoist@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-25.1.0.tgz#fb62d7b3b53eb36c97d1bc7fec2072f9bd115981" + integrity sha512-oIsopO41vW4YFZ9yNYoLQATnnN46lp+MZ6H4VvPKFkcc2/fkl3CfE/NZZSmnEIEsJRmJAgkVEK0R7Zbl50CpTw== dependencies: "@types/babel__traverse" "^7.0.6" @@ -2478,13 +2624,14 @@ babel-polyfill@^6.3.14: core-js "^2.5.0" regenerator-runtime "^0.10.5" -babel-preset-jest@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-24.9.0.tgz#192b521e2217fb1d1f67cf73f70c336650ad3cdc" - integrity sha512-izTUuhE4TMfTRPF92fFwD2QfdXaZW08qvWTFCI51V8rW5x00UuPgc3ajRoWofXOuxjfcOM5zzSYsQS3H8KGCAg== +babel-preset-jest@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-25.1.0.tgz#d0aebfebb2177a21cde710996fce8486d34f1d33" + integrity sha512-eCGn64olaqwUMaugXsTtGAM2I0QTahjEtnRu0ql8Ie+gDWAc1N6wqN0k2NilnyTunM69Pad7gJY7LOtwLimoFQ== dependencies: + "@babel/plugin-syntax-bigint" "^7.0.0" "@babel/plugin-syntax-object-rest-spread" "^7.0.0" - babel-plugin-jest-hoist "^24.9.0" + babel-plugin-jest-hoist "^25.1.0" babel-runtime@^6.26.0: version "6.26.0" @@ -3078,6 +3225,15 @@ cliui@^5.0.0: strip-ansi "^5.2.0" wrap-ansi "^5.1.0" +cliui@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" + integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^6.2.0" + clone-deep@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" @@ -3116,6 +3272,11 @@ code-point-at@^1.0.0: resolved "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= +collect-v8-coverage@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.0.tgz#150ee634ac3650b71d9c985eb7f608942334feb1" + integrity sha512-VKIhJgvk8E1W28m5avZ2Gv2Ruv5YiF56ug2oclvaG9md69BuZImMG2sk9g7QNKLUbtYAKQjXjYxbYZVUlMMKmQ== + collection-visit@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" @@ -3535,17 +3696,22 @@ crypto-random-string@^1.0.0: resolved "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e" integrity sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4= -cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0": +cssom@^0.4.1: + version "0.4.4" + resolved "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz#5a66cf93d2d0b661d80bf6a44fb65f5c2e4e0a10" + integrity sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw== + +cssom@~0.3.6: version "0.3.8" resolved "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a" integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg== -cssstyle@^1.0.0: - version "1.4.0" - resolved "https://registry.npmjs.org/cssstyle/-/cssstyle-1.4.0.tgz#9d31328229d3c565c61e586b02041a28fccdccf1" - integrity sha512-GBrLZYZ4X4x6/QEoBnIrqb8B/f5l4+8me2dkom/j1Gtbxy0kBv6OGzKuAsGM75bkGwGAFkt56Iwg28S3XTZgSA== +cssstyle@^2.0.0: + version "2.2.0" + resolved "https://registry.npmjs.org/cssstyle/-/cssstyle-2.2.0.tgz#e4c44debccd6b7911ed617a4395e5754bba59992" + integrity sha512-sEb3XFPx3jNnCAMtqrXPDeSgQr+jojtCeNf8cvMNMh1cG970+lljssvQDzPq6lmmJu2Vhqood/gtEomBiHOGnA== dependencies: - cssom "0.3.x" + cssom "~0.3.6" currently-unhandled@^0.4.1: version "0.4.1" @@ -3584,7 +3750,7 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" -data-urls@^1.0.0: +data-urls@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/data-urls/-/data-urls-1.1.0.tgz#15ee0582baa5e22bb59c77140da8f9c76963bbfe" integrity sha512-YTWYI9se1P55u58gL5GkQHW4P6VJBJ5iBT+B5a7i2Tjadhv52paJG0qHX4A0OR6/t52odI64KP2YvFpkDOi3eQ== @@ -3801,10 +3967,10 @@ detect-indent@^5.0.0: resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" integrity sha1-OHHMCmoALow+Wzz38zYmRnXwa50= -detect-newline@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2" - integrity sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I= +detect-newline@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" + integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== dezalgo@^1.0.0: version "1.0.3" @@ -3814,11 +3980,6 @@ dezalgo@^1.0.0: asap "^2.0.0" wrappy "1" -diff-sequences@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.9.0.tgz#5715d6244e2aa65f48bba0bc972db0b0b11e95b5" - integrity sha512-Dj6Wk3tWyTE+Fo1rW8v0Xhwk80um6yFYKbuAxc9c3EZxIHFDYwbi34Uk42u1CdnIiVorvt4RmlSDjIPyzGC2ew== - diff-sequences@^25.1.0: version "25.1.0" resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-25.1.0.tgz#fd29a46f1c913fd66c22645dc75bffbe43051f32" @@ -4079,12 +4240,12 @@ escape-string-regexp@^2.0.0: resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== -escodegen@^1.9.1: - version "1.12.0" - resolved "https://registry.npmjs.org/escodegen/-/escodegen-1.12.0.tgz#f763daf840af172bb3a2b6dd7219c0e17f7ff541" - integrity sha512-TuA+EhsanGcme5T3R0L80u4t8CpbXQjegRmf7+FPTJrtCTErXFeelblRgHQa1FofEzqYYJmJ/OqjTwREp9qgmg== +escodegen@^1.11.1: + version "1.13.0" + resolved "https://registry.npmjs.org/escodegen/-/escodegen-1.13.0.tgz#c7adf9bd3f3cc675bb752f202f79a720189cab29" + integrity sha512-eYk2dCkxR07DsHA/X2hRBj0CFAZeri/LyDMc0C8JT1Hqi6JnVpMhJ7XFITbb0+yZS3lVkaPL2oCkZ3AVmeVbMw== dependencies: - esprima "^3.1.3" + esprima "^4.0.1" estraverse "^4.2.0" esutils "^2.0.2" optionator "^0.8.1" @@ -4106,12 +4267,7 @@ espower-location-detector@^1.0.0: source-map "^0.5.0" xtend "^4.0.0" -esprima@^3.1.3: - version "3.1.3" - resolved "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" - integrity sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM= - -esprima@^4.0.0: +esprima@^4.0.0, esprima@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== @@ -4187,6 +4343,22 @@ execa@^1.0.0: signal-exit "^3.0.0" strip-eof "^1.0.0" +execa@^3.2.0: + version "3.4.0" + resolved "https://registry.npmjs.org/execa/-/execa-3.4.0.tgz#c08ed4550ef65d858fac269ffc8572446f37eb89" + integrity sha512-r9vdGQk4bmCuK1yKQu1KTwcT2zwfWdbdaXfCtAh+5nU/4fSX+JAb7vZGvI5naJrQlvONrEB20jeruESI69530g== + dependencies: + cross-spawn "^7.0.0" + get-stream "^5.0.0" + human-signals "^1.1.1" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.0" + onetime "^5.1.0" + p-finally "^2.0.0" + signal-exit "^3.0.2" + strip-final-newline "^2.0.0" + exit-hook@^1.0.0: version "1.1.1" resolved "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8" @@ -4224,17 +4396,17 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2: dependencies: homedir-polyfill "^1.0.1" -expect@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/expect/-/expect-24.9.0.tgz#b75165b4817074fa4a157794f46fe9f1ba15b6ca" - integrity sha512-wvVAx8XIol3Z5m9zvZXiyZOQ+sRJqNTIm6sGjdWlaZIeupQGO3WbYI+15D/AmEwZywL6wtJkbAbJtzkOfBuR0Q== +expect@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/expect/-/expect-25.1.0.tgz#7e8d7b06a53f7d66ec927278db3304254ee683ee" + integrity sha512-wqHzuoapQkhc3OKPlrpetsfueuEiMf3iWh0R8+duCu9PIjXoP7HgD5aeypwTnXUAjC8aMsiVDaWwlbJ1RlQ38g== dependencies: - "@jest/types" "^24.9.0" - ansi-styles "^3.2.0" - jest-get-type "^24.9.0" - jest-matcher-utils "^24.9.0" - jest-message-util "^24.9.0" - jest-regex-util "^24.9.0" + "@jest/types" "^25.1.0" + ansi-styles "^4.0.0" + jest-get-type "^25.1.0" + jest-matcher-utils "^25.1.0" + jest-message-util "^25.1.0" + jest-regex-util "^25.1.0" extend-shallow@^2.0.1: version "2.0.1" @@ -4614,7 +4786,7 @@ fsevents@^1.0.0, fsevents@^1.2.7: bindings "^1.5.0" nan "^2.12.1" -fsevents@~2.1.2: +fsevents@^2.1.2, fsevents@~2.1.2: version "2.1.2" resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.1.2.tgz#4c0a1fb34bc68e543b4b82a9ec392bfbda840805" integrity sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA== @@ -4652,6 +4824,11 @@ genfun@^5.0.0: resolved "https://registry.npmjs.org/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537" integrity sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA== +gensync@^1.0.0-beta.1: + version "1.0.0-beta.1" + resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz#58f4361ff987e5ff6e1e7a210827aa371eaac269" + integrity sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg== + get-caller-file@^1.0.1: version "1.0.3" resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" @@ -4710,7 +4887,7 @@ get-stream@^4.0.0, get-stream@^4.1.0: dependencies: pump "^3.0.0" -get-stream@^5.1.0: +get-stream@^5.0.0, get-stream@^5.1.0: version "5.1.0" resolved "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz#01203cdc92597f9b909067c3e656cc1f4d3c4dc9" integrity sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw== @@ -4960,7 +5137,7 @@ got@^9.6.0: to-readable-stream "^1.0.0" url-parse-lax "^3.0.0" -graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2: +graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== @@ -4970,7 +5147,7 @@ growly@^1.3.0: resolved "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" integrity sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE= -handlebars@^4.1.2, handlebars@^4.4.0: +handlebars@^4.4.0: version "4.5.3" resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz#5cf75bd8714f7605713511a56be7c349becb0482" integrity sha512-3yPecJoJHK/4c6aZhSvxOyG4vJKDshV36VHp0iVCDVh7o9w2vwi3NSnL2MMPj3YdduqaBcu7cGbggJQM0br9xA== @@ -5096,6 +5273,11 @@ html-encoding-sniffer@^1.0.2: dependencies: whatwg-encoding "^1.0.1" +html-escaper@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.0.tgz#71e87f931de3fe09e56661ab9a29aadec707b491" + integrity sha512-a4u9BeERWGu/S8JiWEAQcdrg9v4QArtP9keViQjGMdff20fBdd8waotXaNmODqBe6uZ3Nafi7K/ho4gCQHV3Ig== + http-cache-semantics@^3.8.1: version "3.8.1" resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2" @@ -5142,6 +5324,11 @@ https-proxy-agent@^2.2.3: agent-base "^4.3.0" debug "^3.1.0" +human-signals@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" + integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw== + humanize-ms@^1.2.1: version "1.2.1" resolved "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" @@ -5369,7 +5556,7 @@ interpret@^1.0.0: resolved "https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296" integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw== -invariant@^2.2.2, invariant@^2.2.4: +invariant@^2.2.2: version "2.2.4" resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== @@ -5381,6 +5568,11 @@ invert-kv@^1.0.0: resolved "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY= +ip-regex@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" + integrity sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk= + ip@1.1.5: version "1.1.5" resolved "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" @@ -5798,6 +5990,11 @@ is-wsl@^1.1.0: resolved "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= +is-wsl@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/is-wsl/-/is-wsl-2.1.1.tgz#4a1c152d429df3d441669498e2486d3596ebaf1d" + integrity sha512-umZHcSrwlDHo2TGMXv0DZ8dIUGunZ2Iv68YZnrmCiBPkZ4aaOhtv7pXJKeki9k3qJ3RJr0cDyitcl5wEH3AYog== + is-yarn-global@^0.3.0: version "0.3.0" resolved "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232" @@ -5835,112 +6032,101 @@ isstream@~0.1.2: resolved "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= -istanbul-lib-coverage@^2.0.2, istanbul-lib-coverage@^2.0.5: - version "2.0.5" - resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz#675f0ab69503fad4b1d849f736baaca803344f49" - integrity sha512-8aXznuEPCJvGnMSRft4udDRDtb1V3pkQkMMI5LI+6HuQz5oQ4J2UFn1H82raA3qJtyOLkkwVqICBQkjnGtn5mA== +istanbul-lib-coverage@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz#f5944a37c70b550b02a78a5c3b2055b280cec8ec" + integrity sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg== -istanbul-lib-instrument@^3.0.1, istanbul-lib-instrument@^3.3.0: - version "3.3.0" - resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-3.3.0.tgz#a5f63d91f0bbc0c3e479ef4c5de027335ec6d630" - integrity sha512-5nnIN4vo5xQZHdXno/YDXJ0G+I3dAm4XgzfSVTPLQpj/zAV2dV6Juy0yaf10/zrJOJeHoN3fraFe+XRq2bFVZA== - dependencies: - "@babel/generator" "^7.4.0" - "@babel/parser" "^7.4.3" - "@babel/template" "^7.4.0" - "@babel/traverse" "^7.4.3" - "@babel/types" "^7.4.0" - istanbul-lib-coverage "^2.0.5" - semver "^6.0.0" +istanbul-lib-instrument@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.1.tgz#61f13ac2c96cfefb076fe7131156cc05907874e6" + integrity sha512-imIchxnodll7pvQBYOqUu88EufLCU56LMeFPZZM/fJZ1irYcYdqroaV+ACK1Ila8ls09iEYArp+nqyC6lW1Vfg== + dependencies: + "@babel/core" "^7.7.5" + "@babel/parser" "^7.7.5" + "@babel/template" "^7.7.4" + "@babel/traverse" "^7.7.4" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-coverage "^3.0.0" + semver "^6.3.0" -istanbul-lib-report@^2.0.4: - version "2.0.8" - resolved "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-2.0.8.tgz#5a8113cd746d43c4889eba36ab10e7d50c9b4f33" - integrity sha512-fHBeG573EIihhAblwgxrSenp0Dby6tJMFR/HvlerBsrCTD5bkUuoNtn3gVh29ZCS824cGGBPn7Sg7cNk+2xUsQ== +istanbul-lib-report@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6" + integrity sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw== dependencies: - istanbul-lib-coverage "^2.0.5" - make-dir "^2.1.0" - supports-color "^6.1.0" + istanbul-lib-coverage "^3.0.0" + make-dir "^3.0.0" + supports-color "^7.1.0" -istanbul-lib-source-maps@^3.0.1: - version "3.0.6" - resolved "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz#284997c48211752ec486253da97e3879defba8c8" - integrity sha512-R47KzMtDJH6X4/YW9XTx+jrLnZnscW4VpNN+1PViSYTejLVPWv7oov+Duf8YQSPyVRUvueQqz1TcsC6mooZTXw== +istanbul-lib-source-maps@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.0.tgz#75743ce6d96bb86dc7ee4352cf6366a23f0b1ad9" + integrity sha512-c16LpFRkR8vQXyHZ5nLpY35JZtzj1PQY1iZmesUbf1FZHbIupcWfjgOXBY9YHkLEQ6puz1u4Dgj6qmU/DisrZg== dependencies: debug "^4.1.1" - istanbul-lib-coverage "^2.0.5" - make-dir "^2.1.0" - rimraf "^2.6.3" + istanbul-lib-coverage "^3.0.0" source-map "^0.6.1" -istanbul-reports@^2.2.6: - version "2.2.6" - resolved "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-2.2.6.tgz#7b4f2660d82b29303a8fe6091f8ca4bf058da1af" - integrity sha512-SKi4rnMyLBKe0Jy2uUdx28h8oG7ph2PPuQPvIAh31d+Ci+lSiEu4C+h3oBPuJ9+mPKhOyW0M8gY4U5NM1WLeXA== +istanbul-reports@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.0.tgz#d4d16d035db99581b6194e119bbf36c963c5eb70" + integrity sha512-2osTcC8zcOSUkImzN2EWQta3Vdi4WjjKw99P2yWx5mLnigAM0Rd5uYFn1cf2i/Ois45GkNjaoTqc5CxgMSX80A== dependencies: - handlebars "^4.1.2" + html-escaper "^2.0.0" + istanbul-lib-report "^3.0.0" -jest-changed-files@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-24.9.0.tgz#08d8c15eb79a7fa3fc98269bc14b451ee82f8039" - integrity sha512-6aTWpe2mHF0DhL28WjdkO8LyGjs3zItPET4bMSeXU6T3ub4FPMw+mcOcbdGXQOAfmLcxofD23/5Bl9Z4AkFwqg== +jest-changed-files@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-25.1.0.tgz#73dae9a7d9949fdfa5c278438ce8f2ff3ec78131" + integrity sha512-bdL1aHjIVy3HaBO3eEQeemGttsq1BDlHgWcOjEOIAcga7OOEGWHD2WSu8HhL7I1F0mFFyci8VKU4tRNk+qtwDA== dependencies: - "@jest/types" "^24.9.0" - execa "^1.0.0" - throat "^4.0.0" + "@jest/types" "^25.1.0" + execa "^3.2.0" + throat "^5.0.0" -jest-cli@^24.8.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-24.9.0.tgz#ad2de62d07472d419c6abc301fc432b98b10d2af" - integrity sha512-+VLRKyitT3BWoMeSUIHRxV/2g8y9gw91Jh5z2UmXZzkZKpbC08CSehVxgHUwTpy+HwGcns/tqafQDJW7imYvGg== +jest-cli@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-25.1.0.tgz#75f0b09cf6c4f39360906bf78d580be1048e4372" + integrity sha512-p+aOfczzzKdo3AsLJlhs8J5EW6ffVidfSZZxXedJ0mHPBOln1DccqFmGCoO8JWd4xRycfmwy1eoQkMsF8oekPg== dependencies: - "@jest/core" "^24.9.0" - "@jest/test-result" "^24.9.0" - "@jest/types" "^24.9.0" - chalk "^2.0.1" + "@jest/core" "^25.1.0" + "@jest/test-result" "^25.1.0" + "@jest/types" "^25.1.0" + chalk "^3.0.0" exit "^0.1.2" - import-local "^2.0.0" + import-local "^3.0.2" is-ci "^2.0.0" - jest-config "^24.9.0" - jest-util "^24.9.0" - jest-validate "^24.9.0" + jest-config "^25.1.0" + jest-util "^25.1.0" + jest-validate "^25.1.0" prompts "^2.0.1" realpath-native "^1.1.0" - yargs "^13.3.0" + yargs "^15.0.0" -jest-config@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-config/-/jest-config-24.9.0.tgz#fb1bbc60c73a46af03590719efa4825e6e4dd1b5" - integrity sha512-RATtQJtVYQrp7fvWg6f5y3pEFj9I+H8sWw4aKxnDZ96mob5i5SD6ZEGWgMLXQ4LE8UurrjbdlLWdUeo+28QpfQ== +jest-config@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-config/-/jest-config-25.1.0.tgz#d114e4778c045d3ef239452213b7ad3ec1cbea90" + integrity sha512-tLmsg4SZ5H7tuhBC5bOja0HEblM0coS3Wy5LTCb2C8ZV6eWLewHyK+3qSq9Bi29zmWQ7ojdCd3pxpx4l4d2uGw== dependencies: "@babel/core" "^7.1.0" - "@jest/test-sequencer" "^24.9.0" - "@jest/types" "^24.9.0" - babel-jest "^24.9.0" - chalk "^2.0.1" + "@jest/test-sequencer" "^25.1.0" + "@jest/types" "^25.1.0" + babel-jest "^25.1.0" + chalk "^3.0.0" glob "^7.1.1" - jest-environment-jsdom "^24.9.0" - jest-environment-node "^24.9.0" - jest-get-type "^24.9.0" - jest-jasmine2 "^24.9.0" - jest-regex-util "^24.3.0" - jest-resolve "^24.9.0" - jest-util "^24.9.0" - jest-validate "^24.9.0" - micromatch "^3.1.10" - pretty-format "^24.9.0" + jest-environment-jsdom "^25.1.0" + jest-environment-node "^25.1.0" + jest-get-type "^25.1.0" + jest-jasmine2 "^25.1.0" + jest-regex-util "^25.1.0" + jest-resolve "^25.1.0" + jest-util "^25.1.0" + jest-validate "^25.1.0" + micromatch "^4.0.2" + pretty-format "^25.1.0" realpath-native "^1.1.0" -jest-diff@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-24.9.0.tgz#931b7d0d5778a1baf7452cb816e325e3724055da" - integrity sha512-qMfrTs8AdJE2iqrTp0hzh7kTd2PQWrsFyj9tORoKmu32xjPjeE4NyjVRDz8ybYwqS2ik8N4hsIpiVTyFeo2lBQ== - dependencies: - chalk "^2.0.1" - diff-sequences "^24.9.0" - jest-get-type "^24.9.0" - pretty-format "^24.9.0" - jest-diff@^25.1.0: version "25.1.0" resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-25.1.0.tgz#58b827e63edea1bc80c1de952b80cec9ac50e1ad" @@ -5951,303 +6137,292 @@ jest-diff@^25.1.0: jest-get-type "^25.1.0" pretty-format "^25.1.0" -jest-docblock@^24.3.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-docblock/-/jest-docblock-24.9.0.tgz#7970201802ba560e1c4092cc25cbedf5af5a8ce2" - integrity sha512-F1DjdpDMJMA1cN6He0FNYNZlo3yYmOtRUnktrT9Q37njYzC5WEaDdmbynIgy0L/IvXvvgsG8OsqhLPXTpfmZAA== +jest-docblock@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-docblock/-/jest-docblock-25.1.0.tgz#0f44bea3d6ca6dfc38373d465b347c8818eccb64" + integrity sha512-370P/mh1wzoef6hUKiaMcsPtIapY25suP6JqM70V9RJvdKLrV4GaGbfUseUVk4FZJw4oTZ1qSCJNdrClKt5JQA== dependencies: - detect-newline "^2.1.0" + detect-newline "^3.0.0" -jest-each@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-each/-/jest-each-24.9.0.tgz#eb2da602e2a610898dbc5f1f6df3ba86b55f8b05" - integrity sha512-ONi0R4BvW45cw8s2Lrx8YgbeXL1oCQ/wIDwmsM3CqM/nlblNCPmnC3IPQlMbRFZu3wKdQ2U8BqM6lh3LJ5Bsog== +jest-each@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-each/-/jest-each-25.1.0.tgz#a6b260992bdf451c2d64a0ccbb3ac25e9b44c26a" + integrity sha512-R9EL8xWzoPySJ5wa0DXFTj7NrzKpRD40Jy+zQDp3Qr/2QmevJgkN9GqioCGtAJ2bW9P/MQRznQHQQhoeAyra7A== dependencies: - "@jest/types" "^24.9.0" - chalk "^2.0.1" - jest-get-type "^24.9.0" - jest-util "^24.9.0" - pretty-format "^24.9.0" - -jest-environment-jsdom@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-24.9.0.tgz#4b0806c7fc94f95edb369a69cc2778eec2b7375b" - integrity sha512-Zv9FV9NBRzLuALXjvRijO2351DRQeLYXtpD4xNvfoVFw21IOKNhZAEUKcbiEtjTkm2GsJ3boMVgkaR7rN8qetA== - dependencies: - "@jest/environment" "^24.9.0" - "@jest/fake-timers" "^24.9.0" - "@jest/types" "^24.9.0" - jest-mock "^24.9.0" - jest-util "^24.9.0" - jsdom "^11.5.1" - -jest-environment-node@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-24.9.0.tgz#333d2d2796f9687f2aeebf0742b519f33c1cbfd3" - integrity sha512-6d4V2f4nxzIzwendo27Tr0aFm+IXWa0XEUnaH6nU0FMaozxovt+sfRvh4J47wL1OvF83I3SSTu0XK+i4Bqe7uA== - dependencies: - "@jest/environment" "^24.9.0" - "@jest/fake-timers" "^24.9.0" - "@jest/types" "^24.9.0" - jest-mock "^24.9.0" - jest-util "^24.9.0" - -jest-get-type@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.9.0.tgz#1684a0c8a50f2e4901b6644ae861f579eed2ef0e" - integrity sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q== + "@jest/types" "^25.1.0" + chalk "^3.0.0" + jest-get-type "^25.1.0" + jest-util "^25.1.0" + pretty-format "^25.1.0" + +jest-environment-jsdom@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-25.1.0.tgz#6777ab8b3e90fd076801efd3bff8e98694ab43c3" + integrity sha512-ILb4wdrwPAOHX6W82GGDUiaXSSOE274ciuov0lztOIymTChKFtC02ddyicRRCdZlB5YSrv3vzr1Z5xjpEe1OHQ== + dependencies: + "@jest/environment" "^25.1.0" + "@jest/fake-timers" "^25.1.0" + "@jest/types" "^25.1.0" + jest-mock "^25.1.0" + jest-util "^25.1.0" + jsdom "^15.1.1" + +jest-environment-node@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-25.1.0.tgz#797bd89b378cf0bd794dc8e3dca6ef21126776db" + integrity sha512-U9kFWTtAPvhgYY5upnH9rq8qZkj6mYLup5l1caAjjx9uNnkLHN2xgZy5mo4SyLdmrh/EtB9UPpKFShvfQHD0Iw== + dependencies: + "@jest/environment" "^25.1.0" + "@jest/fake-timers" "^25.1.0" + "@jest/types" "^25.1.0" + jest-mock "^25.1.0" + jest-util "^25.1.0" jest-get-type@^25.1.0: version "25.1.0" resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-25.1.0.tgz#1cfe5fc34f148dc3a8a3b7275f6b9ce9e2e8a876" integrity sha512-yWkBnT+5tMr8ANB6V+OjmrIJufHtCAqI5ic2H40v+tRqxDmE0PGnIiTyvRWFOMtmVHYpwRqyazDbTnhpjsGvLw== -jest-haste-map@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.9.0.tgz#b38a5d64274934e21fa417ae9a9fbeb77ceaac7d" - integrity sha512-kfVFmsuWui2Sj1Rp1AJ4D9HqJwE4uwTlS/vO+eRUaMmd54BFpli2XhMQnPC2k4cHFVbB2Q2C+jtI1AGLgEnCjQ== +jest-haste-map@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-25.1.0.tgz#ae12163d284f19906260aa51fd405b5b2e5a4ad3" + integrity sha512-/2oYINIdnQZAqyWSn1GTku571aAfs8NxzSErGek65Iu5o8JYb+113bZysRMcC/pjE5v9w0Yz+ldbj9NxrFyPyw== dependencies: - "@jest/types" "^24.9.0" - anymatch "^2.0.0" + "@jest/types" "^25.1.0" + anymatch "^3.0.3" fb-watchman "^2.0.0" - graceful-fs "^4.1.15" - invariant "^2.2.4" - jest-serializer "^24.9.0" - jest-util "^24.9.0" - jest-worker "^24.9.0" - micromatch "^3.1.10" + graceful-fs "^4.2.3" + jest-serializer "^25.1.0" + jest-util "^25.1.0" + jest-worker "^25.1.0" + micromatch "^4.0.2" sane "^4.0.3" walker "^1.0.7" optionalDependencies: - fsevents "^1.2.7" + fsevents "^2.1.2" -jest-jasmine2@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-24.9.0.tgz#1f7b1bd3242c1774e62acabb3646d96afc3be6a0" - integrity sha512-Cq7vkAgaYKp+PsX+2/JbTarrk0DmNhsEtqBXNwUHkdlbrTBLtMJINADf2mf5FkowNsq8evbPc07/qFO0AdKTzw== +jest-jasmine2@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-25.1.0.tgz#681b59158a430f08d5d0c1cce4f01353e4b48137" + integrity sha512-GdncRq7jJ7sNIQ+dnXvpKO2MyP6j3naNK41DTTjEAhLEdpImaDA9zSAZwDhijjSF/D7cf4O5fdyUApGBZleaEg== dependencies: "@babel/traverse" "^7.1.0" - "@jest/environment" "^24.9.0" - "@jest/test-result" "^24.9.0" - "@jest/types" "^24.9.0" - chalk "^2.0.1" + "@jest/environment" "^25.1.0" + "@jest/source-map" "^25.1.0" + "@jest/test-result" "^25.1.0" + "@jest/types" "^25.1.0" + chalk "^3.0.0" co "^4.6.0" - expect "^24.9.0" + expect "^25.1.0" is-generator-fn "^2.0.0" - jest-each "^24.9.0" - jest-matcher-utils "^24.9.0" - jest-message-util "^24.9.0" - jest-runtime "^24.9.0" - jest-snapshot "^24.9.0" - jest-util "^24.9.0" - pretty-format "^24.9.0" - throat "^4.0.0" - -jest-leak-detector@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-24.9.0.tgz#b665dea7c77100c5c4f7dfcb153b65cf07dcf96a" - integrity sha512-tYkFIDsiKTGwb2FG1w8hX9V0aUb2ot8zY/2nFg087dUageonw1zrLMP4W6zsRO59dPkTSKie+D4rhMuP9nRmrA== - dependencies: - jest-get-type "^24.9.0" - pretty-format "^24.9.0" - -jest-matcher-utils@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-24.9.0.tgz#f5b3661d5e628dffe6dd65251dfdae0e87c3a073" - integrity sha512-OZz2IXsu6eaiMAwe67c1T+5tUAtQyQx27/EMEkbFAGiw52tB9em+uGbzpcgYVpA8wl0hlxKPZxrly4CXU/GjHA== + jest-each "^25.1.0" + jest-matcher-utils "^25.1.0" + jest-message-util "^25.1.0" + jest-runtime "^25.1.0" + jest-snapshot "^25.1.0" + jest-util "^25.1.0" + pretty-format "^25.1.0" + throat "^5.0.0" + +jest-leak-detector@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-25.1.0.tgz#ed6872d15aa1c72c0732d01bd073dacc7c38b5c6" + integrity sha512-3xRI264dnhGaMHRvkFyEKpDeaRzcEBhyNrOG5oT8xPxOyUAblIAQnpiR3QXu4wDor47MDTiHbiFcbypdLcLW5w== dependencies: - chalk "^2.0.1" - jest-diff "^24.9.0" - jest-get-type "^24.9.0" - pretty-format "^24.9.0" + jest-get-type "^25.1.0" + pretty-format "^25.1.0" + +jest-matcher-utils@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-25.1.0.tgz#fa5996c45c7193a3c24e73066fc14acdee020220" + integrity sha512-KGOAFcSFbclXIFE7bS4C53iYobKI20ZWleAdAFun4W1Wz1Kkej8Ng6RRbhL8leaEvIOjGXhGf/a1JjO8bkxIWQ== + dependencies: + chalk "^3.0.0" + jest-diff "^25.1.0" + jest-get-type "^25.1.0" + pretty-format "^25.1.0" -jest-message-util@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz#527f54a1e380f5e202a8d1149b0ec872f43119e3" - integrity sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw== +jest-message-util@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-message-util/-/jest-message-util-25.1.0.tgz#702a9a5cb05c144b9aa73f06e17faa219389845e" + integrity sha512-Nr/Iwar2COfN22aCqX0kCVbXgn8IBm9nWf4xwGr5Olv/KZh0CZ32RKgZWMVDXGdOahicM10/fgjdimGNX/ttCQ== dependencies: "@babel/code-frame" "^7.0.0" - "@jest/test-result" "^24.9.0" - "@jest/types" "^24.9.0" + "@jest/test-result" "^25.1.0" + "@jest/types" "^25.1.0" "@types/stack-utils" "^1.0.1" - chalk "^2.0.1" - micromatch "^3.1.10" - slash "^2.0.0" + chalk "^3.0.0" + micromatch "^4.0.2" + slash "^3.0.0" stack-utils "^1.0.1" -jest-mock@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz#c22835541ee379b908673ad51087a2185c13f1c6" - integrity sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w== +jest-mock@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-mock/-/jest-mock-25.1.0.tgz#411d549e1b326b7350b2e97303a64715c28615fd" + integrity sha512-28/u0sqS+42vIfcd1mlcg4ZVDmSUYuNvImP4X2lX5hRMLW+CN0BeiKVD4p+ujKKbSPKd3rg/zuhCF+QBLJ4vag== dependencies: - "@jest/types" "^24.9.0" + "@jest/types" "^25.1.0" jest-pnp-resolver@^1.2.1: version "1.2.1" resolved "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.1.tgz#ecdae604c077a7fbc70defb6d517c3c1c898923a" integrity sha512-pgFw2tm54fzgYvc/OHrnysABEObZCUNFnhjoRjaVOCN8NYc032/gVjPaHD4Aq6ApkSieWtfKAFQtmDKAmhupnQ== -jest-regex-util@^24.3.0, jest-regex-util@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz#c13fb3380bde22bf6575432c493ea8fe37965636" - integrity sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA== +jest-regex-util@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-25.1.0.tgz#efaf75914267741838e01de24da07b2192d16d87" + integrity sha512-9lShaDmDpqwg+xAd73zHydKrBbbrIi08Kk9YryBEBybQFg/lBWR/2BDjjiSE7KIppM9C5+c03XiDaZ+m4Pgs1w== -jest-resolve-dependencies@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-24.9.0.tgz#ad055198959c4cfba8a4f066c673a3f0786507ab" - integrity sha512-Fm7b6AlWnYhT0BXy4hXpactHIqER7erNgIsIozDXWl5dVm+k8XdGVe1oTg1JyaFnOxarMEbax3wyRJqGP2Pq+g== +jest-resolve-dependencies@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-25.1.0.tgz#8a1789ec64eb6aaa77fd579a1066a783437e70d2" + integrity sha512-Cu/Je38GSsccNy4I2vL12ZnBlD170x2Oh1devzuM9TLH5rrnLW1x51lN8kpZLYTvzx9j+77Y5pqBaTqfdzVzrw== dependencies: - "@jest/types" "^24.9.0" - jest-regex-util "^24.3.0" - jest-snapshot "^24.9.0" + "@jest/types" "^25.1.0" + jest-regex-util "^25.1.0" + jest-snapshot "^25.1.0" -jest-resolve@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-24.9.0.tgz#dff04c7687af34c4dd7e524892d9cf77e5d17321" - integrity sha512-TaLeLVL1l08YFZAt3zaPtjiVvyy4oSA6CRe+0AFPPVX3Q/VI0giIWWoAvoS5L96vj9Dqxj4fB5p2qrHCmTU/MQ== +jest-resolve@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-25.1.0.tgz#23d8b6a4892362baf2662877c66aa241fa2eaea3" + integrity sha512-XkBQaU1SRCHj2Evz2Lu4Czs+uIgJXWypfO57L7JYccmAXv4slXA6hzNblmcRmf7P3cQ1mE7fL3ABV6jAwk4foQ== dependencies: - "@jest/types" "^24.9.0" + "@jest/types" "^25.1.0" browser-resolve "^1.11.3" - chalk "^2.0.1" + chalk "^3.0.0" jest-pnp-resolver "^1.2.1" realpath-native "^1.1.0" -jest-runner@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-runner/-/jest-runner-24.9.0.tgz#574fafdbd54455c2b34b4bdf4365a23857fcdf42" - integrity sha512-KksJQyI3/0mhcfspnxxEOBueGrd5E4vV7ADQLT9ESaCzz02WnbdbKWIf5Mkaucoaj7obQckYPVX6JJhgUcoWWg== +jest-runner@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-runner/-/jest-runner-25.1.0.tgz#fef433a4d42c89ab0a6b6b268e4a4fbe6b26e812" + integrity sha512-su3O5fy0ehwgt+e8Wy7A8CaxxAOCMzL4gUBftSs0Ip32S0epxyZPDov9Znvkl1nhVOJNf4UwAsnqfc3plfQH9w== dependencies: - "@jest/console" "^24.7.1" - "@jest/environment" "^24.9.0" - "@jest/test-result" "^24.9.0" - "@jest/types" "^24.9.0" - chalk "^2.4.2" + "@jest/console" "^25.1.0" + "@jest/environment" "^25.1.0" + "@jest/test-result" "^25.1.0" + "@jest/types" "^25.1.0" + chalk "^3.0.0" exit "^0.1.2" - graceful-fs "^4.1.15" - jest-config "^24.9.0" - jest-docblock "^24.3.0" - jest-haste-map "^24.9.0" - jest-jasmine2 "^24.9.0" - jest-leak-detector "^24.9.0" - jest-message-util "^24.9.0" - jest-resolve "^24.9.0" - jest-runtime "^24.9.0" - jest-util "^24.9.0" - jest-worker "^24.6.0" + graceful-fs "^4.2.3" + jest-config "^25.1.0" + jest-docblock "^25.1.0" + jest-haste-map "^25.1.0" + jest-jasmine2 "^25.1.0" + jest-leak-detector "^25.1.0" + jest-message-util "^25.1.0" + jest-resolve "^25.1.0" + jest-runtime "^25.1.0" + jest-util "^25.1.0" + jest-worker "^25.1.0" source-map-support "^0.5.6" - throat "^4.0.0" - -jest-runtime@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-runtime/-/jest-runtime-24.9.0.tgz#9f14583af6a4f7314a6a9d9f0226e1a781c8e4ac" - integrity sha512-8oNqgnmF3v2J6PVRM2Jfuj8oX3syKmaynlDMMKQ4iyzbQzIG6th5ub/lM2bCMTmoTKM3ykcUYI2Pw9xwNtjMnw== - dependencies: - "@jest/console" "^24.7.1" - "@jest/environment" "^24.9.0" - "@jest/source-map" "^24.3.0" - "@jest/transform" "^24.9.0" - "@jest/types" "^24.9.0" - "@types/yargs" "^13.0.0" - chalk "^2.0.1" + throat "^5.0.0" + +jest-runtime@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-runtime/-/jest-runtime-25.1.0.tgz#02683218f2f95aad0f2ec1c9cdb28c1dc0ec0314" + integrity sha512-mpPYYEdbExKBIBB16ryF6FLZTc1Rbk9Nx0ryIpIMiDDkOeGa0jQOKVI/QeGvVGlunKKm62ywcioeFVzIbK03bA== + dependencies: + "@jest/console" "^25.1.0" + "@jest/environment" "^25.1.0" + "@jest/source-map" "^25.1.0" + "@jest/test-result" "^25.1.0" + "@jest/transform" "^25.1.0" + "@jest/types" "^25.1.0" + "@types/yargs" "^15.0.0" + chalk "^3.0.0" + collect-v8-coverage "^1.0.0" exit "^0.1.2" glob "^7.1.3" - graceful-fs "^4.1.15" - jest-config "^24.9.0" - jest-haste-map "^24.9.0" - jest-message-util "^24.9.0" - jest-mock "^24.9.0" - jest-regex-util "^24.3.0" - jest-resolve "^24.9.0" - jest-snapshot "^24.9.0" - jest-util "^24.9.0" - jest-validate "^24.9.0" + graceful-fs "^4.2.3" + jest-config "^25.1.0" + jest-haste-map "^25.1.0" + jest-message-util "^25.1.0" + jest-mock "^25.1.0" + jest-regex-util "^25.1.0" + jest-resolve "^25.1.0" + jest-snapshot "^25.1.0" + jest-util "^25.1.0" + jest-validate "^25.1.0" realpath-native "^1.1.0" - slash "^2.0.0" - strip-bom "^3.0.0" - yargs "^13.3.0" + slash "^3.0.0" + strip-bom "^4.0.0" + yargs "^15.0.0" -jest-serializer@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.9.0.tgz#e6d7d7ef96d31e8b9079a714754c5d5c58288e73" - integrity sha512-DxYipDr8OvfrKH3Kel6NdED3OXxjvxXZ1uIY2I9OFbGg+vUkkg7AGvi65qbhbWNPvDckXmzMPbK3u3HaDO49bQ== +jest-serializer@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-serializer/-/jest-serializer-25.1.0.tgz#73096ba90e07d19dec4a0c1dd89c355e2f129e5d" + integrity sha512-20Wkq5j7o84kssBwvyuJ7Xhn7hdPeTXndnwIblKDR2/sy1SUm6rWWiG9kSCgJPIfkDScJCIsTtOKdlzfIHOfKA== -jest-snapshot@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-24.9.0.tgz#ec8e9ca4f2ec0c5c87ae8f925cf97497b0e951ba" - integrity sha512-uI/rszGSs73xCM0l+up7O7a40o90cnrk429LOiK3aeTvfC0HHmldbd81/B7Ix81KSFe1lwkbl7GnBGG4UfuDew== +jest-snapshot@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-25.1.0.tgz#d5880bd4b31faea100454608e15f8d77b9d221d9" + integrity sha512-xZ73dFYN8b/+X2hKLXz4VpBZGIAn7muD/DAg+pXtDzDGw3iIV10jM7WiHqhCcpDZfGiKEj7/2HXAEPtHTj0P2A== dependencies: "@babel/types" "^7.0.0" - "@jest/types" "^24.9.0" - chalk "^2.0.1" - expect "^24.9.0" - jest-diff "^24.9.0" - jest-get-type "^24.9.0" - jest-matcher-utils "^24.9.0" - jest-message-util "^24.9.0" - jest-resolve "^24.9.0" + "@jest/types" "^25.1.0" + chalk "^3.0.0" + expect "^25.1.0" + jest-diff "^25.1.0" + jest-get-type "^25.1.0" + jest-matcher-utils "^25.1.0" + jest-message-util "^25.1.0" + jest-resolve "^25.1.0" mkdirp "^0.5.1" natural-compare "^1.4.0" - pretty-format "^24.9.0" - semver "^6.2.0" + pretty-format "^25.1.0" + semver "^7.1.1" -jest-util@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz#7396814e48536d2e85a37de3e4c431d7cb140162" - integrity sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg== +jest-util@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-util/-/jest-util-25.1.0.tgz#7bc56f7b2abd534910e9fa252692f50624c897d9" + integrity sha512-7did6pLQ++87Qsj26Fs/TIwZMUFBXQ+4XXSodRNy3luch2DnRXsSnmpVtxxQ0Yd6WTipGpbhh2IFP1mq6/fQGw== dependencies: - "@jest/console" "^24.9.0" - "@jest/fake-timers" "^24.9.0" - "@jest/source-map" "^24.9.0" - "@jest/test-result" "^24.9.0" - "@jest/types" "^24.9.0" - callsites "^3.0.0" - chalk "^2.0.1" - graceful-fs "^4.1.15" + "@jest/types" "^25.1.0" + chalk "^3.0.0" is-ci "^2.0.0" mkdirp "^0.5.1" - slash "^2.0.0" - source-map "^0.6.0" -jest-validate@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-validate/-/jest-validate-24.9.0.tgz#0775c55360d173cd854e40180756d4ff52def8ab" - integrity sha512-HPIt6C5ACwiqSiwi+OfSSHbK8sG7akG8eATl+IPKaeIjtPOeBUd/g3J7DghugzxrGjI93qS/+RPKe1H6PqvhRQ== +jest-validate@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-validate/-/jest-validate-25.1.0.tgz#1469fa19f627bb0a9a98e289f3e9ab6a668c732a" + integrity sha512-kGbZq1f02/zVO2+t1KQGSVoCTERc5XeObLwITqC6BTRH3Adv7NZdYqCpKIZLUgpLXf2yISzQ465qOZpul8abXA== dependencies: - "@jest/types" "^24.9.0" + "@jest/types" "^25.1.0" camelcase "^5.3.1" - chalk "^2.0.1" - jest-get-type "^24.9.0" + chalk "^3.0.0" + jest-get-type "^25.1.0" leven "^3.1.0" - pretty-format "^24.9.0" + pretty-format "^25.1.0" -jest-watcher@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-watcher/-/jest-watcher-24.9.0.tgz#4b56e5d1ceff005f5b88e528dc9afc8dd4ed2b3b" - integrity sha512-+/fLOfKPXXYJDYlks62/4R4GoT+GU1tYZed99JSCOsmzkkF7727RqKrjNAxtfO4YpGv11wybgRvCjR73lK2GZw== +jest-watcher@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-watcher/-/jest-watcher-25.1.0.tgz#97cb4a937f676f64c9fad2d07b824c56808e9806" + integrity sha512-Q9eZ7pyaIr6xfU24OeTg4z1fUqBF/4MP6J801lyQfg7CsnZ/TCzAPvCfckKdL5dlBBEKBeHV0AdyjFZ5eWj4ig== dependencies: - "@jest/test-result" "^24.9.0" - "@jest/types" "^24.9.0" - "@types/yargs" "^13.0.0" - ansi-escapes "^3.0.0" - chalk "^2.0.1" - jest-util "^24.9.0" - string-length "^2.0.0" + "@jest/test-result" "^25.1.0" + "@jest/types" "^25.1.0" + ansi-escapes "^4.2.1" + chalk "^3.0.0" + jest-util "^25.1.0" + string-length "^3.1.0" -jest-worker@^24.6.0, jest-worker@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz#5dbfdb5b2d322e98567898238a9697bcce67b3e5" - integrity sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw== +jest-worker@^25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-25.1.0.tgz#75d038bad6fdf58eba0d2ec1835856c497e3907a" + integrity sha512-ZHhHtlxOWSxCoNOKHGbiLzXnl42ga9CxDr27H36Qn+15pQZd3R/F24jrmjDelw9j/iHUIWMWs08/u2QN50HHOg== dependencies: merge-stream "^2.0.0" - supports-color "^6.1.0" + supports-color "^7.0.0" -jest@24.8.0: - version "24.8.0" - resolved "https://registry.npmjs.org/jest/-/jest-24.8.0.tgz#d5dff1984d0d1002196e9b7f12f75af1b2809081" - integrity sha512-o0HM90RKFRNWmAWvlyV8i5jGZ97pFwkeVoGvPW1EtLTgJc2+jcuqcbbqcSZLE/3f2S5pt0y2ZBETuhpWNl1Reg== +jest@25.1.0: + version "25.1.0" + resolved "https://registry.npmjs.org/jest/-/jest-25.1.0.tgz#b85ef1ddba2fdb00d295deebbd13567106d35be9" + integrity sha512-FV6jEruneBhokkt9MQk0WUFoNTwnF76CLXtwNMfsc0um0TlB/LG2yxUd0KqaFjEJ9laQmVWQWS0sG/t2GsuI0w== dependencies: - import-local "^2.0.0" - jest-cli "^24.8.0" + "@jest/core" "^25.1.0" + import-local "^3.0.2" + jest-cli "^25.1.0" js-levenshtein@^1.1.3: version "1.1.6" @@ -6277,36 +6452,36 @@ jsbn@~0.1.0: resolved "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= -jsdom@^11.5.1: - version "11.12.0" - resolved "https://registry.npmjs.org/jsdom/-/jsdom-11.12.0.tgz#1a80d40ddd378a1de59656e9e6dc5a3ba8657bc8" - integrity sha512-y8Px43oyiBM13Zc1z780FrfNLJCXTL40EWlty/LXUtcjykRBNgLlCjWXpfSPBl2iv+N7koQN+dvqszHZgT/Fjw== +jsdom@^15.1.1: + version "15.2.1" + resolved "https://registry.npmjs.org/jsdom/-/jsdom-15.2.1.tgz#d2feb1aef7183f86be521b8c6833ff5296d07ec5" + integrity sha512-fAl1W0/7T2G5vURSyxBzrJ1LSdQn6Tr5UX/xD4PXDx/PDgwygedfW6El/KIj3xJ7FU61TTYnc/l/B7P49Eqt6g== dependencies: abab "^2.0.0" - acorn "^5.5.3" - acorn-globals "^4.1.0" + acorn "^7.1.0" + acorn-globals "^4.3.2" array-equal "^1.0.0" - cssom ">= 0.3.2 < 0.4.0" - cssstyle "^1.0.0" - data-urls "^1.0.0" + cssom "^0.4.1" + cssstyle "^2.0.0" + data-urls "^1.1.0" domexception "^1.0.1" - escodegen "^1.9.1" + escodegen "^1.11.1" html-encoding-sniffer "^1.0.2" - left-pad "^1.3.0" - nwsapi "^2.0.7" - parse5 "4.0.0" + nwsapi "^2.2.0" + parse5 "5.1.0" pn "^1.1.0" - request "^2.87.0" - request-promise-native "^1.0.5" - sax "^1.2.4" + request "^2.88.0" + request-promise-native "^1.0.7" + saxes "^3.1.9" symbol-tree "^3.2.2" - tough-cookie "^2.3.4" + tough-cookie "^3.0.1" w3c-hr-time "^1.0.1" + w3c-xmlserializer "^1.1.2" webidl-conversions "^4.0.2" - whatwg-encoding "^1.0.3" - whatwg-mimetype "^2.1.0" - whatwg-url "^6.4.1" - ws "^5.2.0" + whatwg-encoding "^1.0.5" + whatwg-mimetype "^2.3.0" + whatwg-url "^7.0.0" + ws "^7.0.0" xml-name-validator "^3.0.0" jsesc@^2.5.1: @@ -6437,11 +6612,6 @@ lcid@^1.0.0: dependencies: invert-kv "^1.0.0" -left-pad@^1.3.0: - version "1.3.0" - resolved "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e" - integrity sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA== - lerna@3.20.2: version "3.20.2" resolved "https://registry.npmjs.org/lerna/-/lerna-3.20.2.tgz#abf84e73055fe84ee21b46e64baf37b496c24864" @@ -6733,6 +6903,13 @@ log-update@^2.3.0: cli-cursor "^2.0.0" wrap-ansi "^3.0.1" +lolex@^5.0.0: + version "5.1.2" + resolved "https://registry.npmjs.org/lolex/-/lolex-5.1.2.tgz#953694d098ce7c07bc5ed6d0e42bc6c0c6d5a367" + integrity sha512-h4hmjAvHTmd+25JSwrtTIuwbKdwg5NzZVRMLn9saij4SZaepCrTCxPr35H/3bjwfMJtN+t3CX8672UIkglz28A== + dependencies: + "@sinonjs/commons" "^1.7.0" + longest@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" @@ -7293,16 +7470,16 @@ node-modules-regexp@^1.0.0: resolved "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40" integrity sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA= -node-notifier@^5.4.2: - version "5.4.3" - resolved "https://registry.npmjs.org/node-notifier/-/node-notifier-5.4.3.tgz#cb72daf94c93904098e28b9c590fd866e464bd50" - integrity sha512-M4UBGcs4jeOK9CjTsYwkvH6/MzuUmGCyTW+kCY7uO+1ZVr0+FHGdPdIf5CCLqAaxnRrWidyoQlNkMIIVwbKB8Q== +node-notifier@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/node-notifier/-/node-notifier-6.0.0.tgz#cea319e06baa16deec8ce5cd7f133c4a46b68e12" + integrity sha512-SVfQ/wMw+DesunOm5cKqr6yDcvUTDl/yc97ybGHMrteNEY6oekXpNpS3lZwgLlwz0FLgHoiW28ZpmBHUDg37cw== dependencies: growly "^1.3.0" - is-wsl "^1.1.0" - semver "^5.5.0" + is-wsl "^2.1.1" + semver "^6.3.0" shellwords "^0.1.1" - which "^1.3.0" + which "^1.3.1" node-releases@^1.1.42: version "1.1.44" @@ -7428,6 +7605,13 @@ npm-run-path@^2.0.0: dependencies: path-key "^2.0.0" +npm-run-path@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + npm-which@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/npm-which/-/npm-which-3.0.1.tgz#9225f26ec3a285c209cae67c3b11a6b4ab7140aa" @@ -7452,7 +7636,7 @@ number-is-nan@^1.0.0: resolved "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= -nwsapi@^2.0.7: +nwsapi@^2.2.0: version "2.2.0" resolved "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7" integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ== @@ -7669,18 +7853,21 @@ p-cancelable@^1.0.0: resolved "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw== -p-each-series@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/p-each-series/-/p-each-series-1.0.0.tgz#930f3d12dd1f50e7434457a22cd6f04ac6ad7f71" - integrity sha1-kw89Et0fUOdDRFeiLNbwSsatf3E= - dependencies: - p-reduce "^1.0.0" +p-each-series@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/p-each-series/-/p-each-series-2.1.0.tgz#961c8dd3f195ea96c747e636b262b800a6b1af48" + integrity sha512-ZuRs1miPT4HrjFa+9fRfOFXxGJfORgelKV9f9nNOWw2gl6gVsRaVDOQP0+MI0G0wGKns1Yacsu0GjOFbTK0JFQ== p-finally@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4= +p-finally@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/p-finally/-/p-finally-2.0.1.tgz#bd6fcaa9c559a096b680806f4d657b3f0f240561" + integrity sha512-vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw== + p-limit@^1.1.0: version "1.3.0" resolved "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" @@ -7886,10 +8073,10 @@ parse-url@^5.0.0: parse-path "^4.0.0" protocols "^1.4.0" -parse5@4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608" - integrity sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA== +parse5@5.1.0: + version "5.1.0" + resolved "https://registry.npmjs.org/parse5/-/parse5-5.1.0.tgz#c59341c9723f414c452975564c7c00a68d58acd2" + integrity sha512-fxNG2sQjHvlVAYmzBZS9YlDp6PTSSDwa98vkD4QgVDDCAo84z5X1t5XyJQ62ImdLXx5NdIIfihey6xpum9/gRQ== parseurl@~1.3.3: version "1.3.3" @@ -7938,7 +8125,7 @@ path-key@^2.0.0, path-key@^2.0.1: resolved "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= -path-key@^3.1.0: +path-key@^3.0.0, path-key@^3.1.0: version "3.1.1" resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== @@ -8079,16 +8266,6 @@ prettier@1.17.1: resolved "https://registry.npmjs.org/prettier/-/prettier-1.17.1.tgz#ed64b4e93e370cb8a25b9ef7fef3e4fd1c0995db" integrity sha512-TzGRNvuUSmPgwivDqkZ9tM/qTGW9hqDKWOE9YHiyQdixlKbv7kvEqsmDPrcHJTKwthU774TQwZXVtaQ/mMsvjg== -pretty-format@^24.9.0: - version "24.9.0" - resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-24.9.0.tgz#12fac31b37019a4eea3c11aa9a959eb7628aa7c9" - integrity sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA== - dependencies: - "@jest/types" "^24.9.0" - ansi-regex "^4.0.0" - ansi-styles "^3.2.0" - react-is "^16.8.4" - pretty-format@^25.1.0: version "25.1.0" resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-25.1.0.tgz#ed869bdaec1356fc5ae45de045e2c8ec7b07b0c8" @@ -8257,7 +8434,7 @@ rc@^1.0.1, rc@^1.1.6, rc@^1.2.8: minimist "^1.2.0" strip-json-comments "~2.0.1" -react-is@^16.12.0, react-is@^16.8.4: +react-is@^16.12.0: version "16.12.0" resolved "https://registry.npmjs.org/react-is/-/react-is-16.12.0.tgz#2cc0fe0fba742d97fd527c42a13bec4eeb06241c" integrity sha512-rPCkf/mWBtKc97aLL9/txD8DZdemK0vkA3JMLShjlJB3Pj3s+lpf1KaBzMfQrAmhMQB0n1cU/SUGgKKBCe837Q== @@ -8306,14 +8483,6 @@ read-pkg-up@^3.0.0: find-up "^2.0.0" read-pkg "^3.0.0" -read-pkg-up@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-4.0.0.tgz#1b221c6088ba7799601c808f91161c66e58f8978" - integrity sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA== - dependencies: - find-up "^3.0.0" - read-pkg "^3.0.0" - read-pkg@5.2.0, read-pkg@^5.2.0: version "5.2.0" resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz#7bf295438ca5a33e56cd30e053b34ee7250c93cc" @@ -8583,7 +8752,7 @@ request-promise-core@1.1.3: dependencies: lodash "^4.17.15" -request-promise-native@^1.0.5: +request-promise-native@^1.0.7: version "1.0.8" resolved "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.8.tgz#a455b960b826e44e2bf8999af64dff2bfe58cb36" integrity sha512-dapwLGqkHtwL5AEbfenuzjTYg35Jd6KPytsC2/TLkVMz8rm+tNt72MGUWT1RP/aYawMpN6HqbNGBQaRcBtjQMQ== @@ -8592,7 +8761,7 @@ request-promise-native@^1.0.5: stealthy-require "^1.1.1" tough-cookie "^2.3.3" -request@^2.87.0, request@^2.88.0: +request@^2.88.0: version "2.88.0" resolved "https://registry.npmjs.org/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef" integrity sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg== @@ -8774,6 +8943,13 @@ rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3: dependencies: glob "^7.1.3" +rimraf@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.1.tgz#48d3d4cb46c80d388ab26cd61b1b466ae9ae225a" + integrity sha512-IQ4ikL8SjBiEDZfk+DFVwqRK8md24RWMEJkdSlgNLkyyAImcjf8SWvU1qFMDOb4igBClbTQ/ugPqXcRwdFTxZw== + dependencies: + glob "^7.1.3" + rsvp@^4.8.4: version "4.8.5" resolved "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz#c8f155311d167f68f21e168df71ec5b083113734" @@ -8868,10 +9044,12 @@ sane@^4.0.3: minimist "^1.1.1" walker "~1.0.5" -sax@^1.2.4: - version "1.2.4" - resolved "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" - integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== +saxes@^3.1.9: + version "3.1.11" + resolved "https://registry.npmjs.org/saxes/-/saxes-3.1.11.tgz#d59d1fd332ec92ad98a2e0b2ee644702384b1c5b" + integrity sha512-Ydydq3zC+WYDJK1+gRxRapLIED9PWeSuuS41wqyoRmzvhhh9nc+QQrVMKJYzJFULazeGhzSV0QleN2wD3boh2g== + dependencies: + xmlchars "^2.1.1" select@^1.1.2: version "1.1.2" @@ -8900,7 +9078,7 @@ semver@7.0.0: resolved "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -semver@7.1.2: +semver@7.1.2, semver@^7.1.1: version "7.1.2" resolved "https://registry.npmjs.org/semver/-/semver-7.1.2.tgz#847bae5bce68c5d08889824f02667199b70e3d87" integrity sha512-BJs9T/H8sEVHbeigqzIEo57Iu/3DG6c4QoqTfbQB3BPA4zgzAomh/Fk9E7QtjWQ8mx2dgA9YCfSF4y9k9bHNpQ== @@ -9147,6 +9325,11 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== +source-map@^0.7.3: + version "0.7.3" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" + integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== + spdx-correct@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" @@ -9282,13 +9465,13 @@ string-argv@^0.0.2: resolved "https://registry.npmjs.org/string-argv/-/string-argv-0.0.2.tgz#dac30408690c21f3c3630a3ff3a05877bdcbd736" integrity sha1-2sMECGkMIfPDYwo/86BYd73L1zY= -string-length@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/string-length/-/string-length-2.0.0.tgz#d40dbb686a3ace960c1cffca562bf2c45f8363ed" - integrity sha1-1A27aGo6zpYMHP/KVivyxF+DY+0= +string-length@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/string-length/-/string-length-3.1.0.tgz#107ef8c23456e187a8abd4a61162ff4ac6e25837" + integrity sha512-Ttp5YvkGm5v9Ijagtaz1BnN+k9ObpvS0eIBblPMp2YWL8FBmi9qblQ9fexc2k/CXFgrTIteU3jAw3payCnwSTA== dependencies: astral-regex "^1.0.0" - strip-ansi "^4.0.0" + strip-ansi "^5.2.0" string-to-stream@3.0.1: version "3.0.1" @@ -9323,7 +9506,7 @@ string-width@^3.0.0, string-width@^3.1.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" -string-width@^4.2.0: +string-width@^4.1.0, string-width@^4.2.0: version "4.2.0" resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== @@ -9423,11 +9606,21 @@ strip-bom@^2.0.0: dependencies: is-utf8 "^0.2.0" +strip-bom@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" + integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== + strip-eof@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" + integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== + strip-indent@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz#0c7962a6adefa7bbd4ac366460a638552ae1a0a2" @@ -9477,13 +9670,6 @@ supports-color@^5.3.0: dependencies: has-flag "^3.0.0" -supports-color@^6.1.0: - version "6.1.0" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3" - integrity sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ== - dependencies: - has-flag "^3.0.0" - supports-color@^7.0.0, supports-color@^7.1.0: version "7.1.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1" @@ -9491,6 +9677,14 @@ supports-color@^7.0.0, supports-color@^7.1.0: dependencies: has-flag "^4.0.0" +supports-hyperlinks@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.0.0.tgz#b1b94a159e9df00b0a554b2d5f0e0a89690334b0" + integrity sha512-bFhn0MQ8qefLyJ3K7PpHiPUTuTVPWw6RXfaMeV6xgJLXtBbszyboz1bvGTVv4R0YpQm2DqlXXn0fFHhxUHVE5w== + dependencies: + has-flag "^4.0.0" + supports-color "^7.0.0" + symbol-observable@^1.0.4, symbol-observable@^1.1.0: version "1.2.0" resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" @@ -9564,15 +9758,22 @@ term-size@^1.2.0: dependencies: execa "^0.7.0" -test-exclude@^5.2.3: - version "5.2.3" - resolved "https://registry.npmjs.org/test-exclude/-/test-exclude-5.2.3.tgz#c3d3e1e311eb7ee405e092dac10aefd09091eac0" - integrity sha512-M+oxtseCFO3EDtAaGH7iiej3CBkzXqFMbzqYAACdzKui4eZA+pq3tZEwChvOdNfa7xxy8BfbmgJSIr43cC/+2g== +terminal-link@^2.0.0: + version "2.1.1" + resolved "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" + integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ== dependencies: - glob "^7.1.3" + ansi-escapes "^4.2.1" + supports-hyperlinks "^2.0.0" + +test-exclude@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" + integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== + dependencies: + "@istanbuljs/schema" "^0.1.2" + glob "^7.1.4" minimatch "^3.0.4" - read-pkg-up "^4.0.0" - require-main-filename "^2.0.0" text-extensions@^1.0.0: version "1.9.0" @@ -9593,11 +9794,6 @@ thenify-all@^1.0.0: dependencies: any-promise "^1.0.0" -throat@^4.0.0: - version "4.1.0" - resolved "https://registry.npmjs.org/throat/-/throat-4.1.0.tgz#89037cbc92c56ab18926e6ba4cbb200e15672a6a" - integrity sha1-iQN8vJLFarGJJua6TLsgDhVnKmo= - throat@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/throat/-/throat-5.0.0.tgz#c5199235803aad18754a667d659b5e72ce16764b" @@ -9714,7 +9910,7 @@ toposort@^2.0.2: resolved "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz#ae21768175d1559d48bef35420b2f4962f09c330" integrity sha1-riF2gXXRVZ1IvvNUILL0li8JwzA= -tough-cookie@^2.3.3, tough-cookie@^2.3.4: +tough-cookie@^2.3.3: version "2.5.0" resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== @@ -9722,6 +9918,15 @@ tough-cookie@^2.3.3, tough-cookie@^2.3.4: psl "^1.1.28" punycode "^2.1.1" +tough-cookie@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-3.0.1.tgz#9df4f57e739c26930a018184887f4adb7dca73b2" + integrity sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg== + dependencies: + ip-regex "^2.1.0" + psl "^1.1.28" + punycode "^2.1.1" + tough-cookie@~2.4.3: version "2.4.3" resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781" @@ -9802,6 +10007,11 @@ type-check@~0.3.2: dependencies: prelude-ls "~1.1.2" +type-detect@4.0.8: + version "4.0.8" + resolved "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" + integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== + type-fest@^0.3.0: version "0.3.1" resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz#63d00d204e059474fe5e1b7c011112bbd1dc29e1" @@ -10055,6 +10265,15 @@ uuid@^3.0.1, uuid@^3.3.2: resolved "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866" integrity sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ== +v8-to-istanbul@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-4.0.1.tgz#d6a2a3823b8ff49bdf2167ff2a45d82dff81d02f" + integrity sha512-x0yZvZAkjJwdD3fPiJzYP37aod0ati4LlmD2RmpKjqewjKAov/u/ytZ8ViIZb07cN4cePKzl9ijiUi7C1LQ8hQ== + dependencies: + "@types/istanbul-lib-coverage" "^2.0.1" + convert-source-map "^1.6.0" + source-map "^0.7.3" + validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3: version "3.0.4" resolved "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" @@ -10102,6 +10321,15 @@ w3c-hr-time@^1.0.1: dependencies: browser-process-hrtime "^0.1.2" +w3c-xmlserializer@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-1.1.2.tgz#30485ca7d70a6fd052420a3d12fd90e6339ce794" + integrity sha512-p10l/ayESzrBMYWRID6xbuCKh2Fp77+sA0doRuGn4tTIMrrZVeqfpKjXHY+oDh3K4nLdPgNwMTVP6Vp4pvqbNg== + dependencies: + domexception "^1.0.1" + webidl-conversions "^4.0.2" + xml-name-validator "^3.0.0" + walker@^1.0.7, walker@~1.0.5: version "1.0.7" resolved "https://registry.npmjs.org/walker/-/walker-1.0.7.tgz#2f7f9b8fd10d677262b18a884e28d19618e028fb" @@ -10126,27 +10354,18 @@ well-known-symbols@^2.0.0: resolved "https://registry.npmjs.org/well-known-symbols/-/well-known-symbols-2.0.0.tgz#e9c7c07dbd132b7b84212c8174391ec1f9871ba5" integrity sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q== -whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.3: +whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0" integrity sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw== dependencies: iconv-lite "0.4.24" -whatwg-mimetype@^2.1.0, whatwg-mimetype@^2.2.0: +whatwg-mimetype@^2.2.0, whatwg-mimetype@^2.3.0: version "2.3.0" resolved "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g== -whatwg-url@^6.4.1: - version "6.5.0" - resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-6.5.0.tgz#f2df02bff176fd65070df74ad5ccbb5a199965a8" - integrity sha512-rhRZRqx/TLJQWUpQ6bmrt2UV4f0HCQ463yQuONJqC6fO2VoEb1pTYddbe59SkYq87aoM5A3bdhMZiUiVws+fzQ== - dependencies: - lodash.sortby "^4.7.0" - tr46 "^1.0.1" - webidl-conversions "^4.0.2" - whatwg-url@^7.0.0: version "7.1.0" resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz#c2c492f1eca612988efd3d2266be1b9fc6170d06" @@ -10166,7 +10385,7 @@ which-module@^2.0.0: resolved "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= -which@^1.2.10, which@^1.2.14, which@^1.2.9, which@^1.3.0, which@^1.3.1: +which@^1.2.10, which@^1.2.14, which@^1.2.9, which@^1.3.1: version "1.3.1" resolved "https://registry.npmjs.org/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== @@ -10236,20 +10455,20 @@ wrap-ansi@^5.1.0: string-width "^3.0.0" strip-ansi "^5.0.0" +wrap-ansi@^6.2.0: + version "6.2.0" + resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" + integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrappy@1: version "1.0.2" resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= -write-file-atomic@2.4.1: - version "2.4.1" - resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.1.tgz#d0b05463c188ae804396fd5ab2a370062af87529" - integrity sha512-TGHFeZEZMnv+gBFRfjAcxL5bPHrsGKtnb4qsFAws7/vlh+QfwAaySIw4AXP9ZskTTh5GWu3FLuJhsWVdiJPGvg== - dependencies: - graceful-fs "^4.1.11" - imurmurhash "^0.1.4" - signal-exit "^3.0.2" - write-file-atomic@^2.0.0, write-file-atomic@^2.3.0, write-file-atomic@^2.4.2: version "2.4.3" resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" @@ -10309,12 +10528,10 @@ ws@^1.1.5: options ">=0.0.5" ultron "1.0.x" -ws@^5.2.0: - version "5.2.2" - resolved "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz#dffef14866b8e8dc9133582514d1befaf96e980f" - integrity sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA== - dependencies: - async-limiter "~1.0.0" +ws@^7.0.0: + version "7.2.1" + resolved "https://registry.npmjs.org/ws/-/ws-7.2.1.tgz#03ed52423cd744084b2cf42ed197c8b65a936b8e" + integrity sha512-sucePNSafamSKoOqoNfBd8V0StlkzJKL2ZAhGQinCfNQ+oacw+Pk7lcdAElecBF2VkLNZRiIb5Oi1Q5lVUVt2A== xdg-basedir@^3.0.0: version "3.0.0" @@ -10326,6 +10543,11 @@ xml-name-validator@^3.0.0: resolved "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw== +xmlchars@^2.1.1: + version "2.2.0" + resolved "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" + integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== + xtend@^4.0.0, xtend@~4.0.1: version "4.0.2" resolved "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" @@ -10374,14 +10596,6 @@ yargs-parser@10.x, yargs-parser@^10.0.0: dependencies: camelcase "^4.1.0" -yargs-parser@^13.1.1: - version "13.1.1" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0" - integrity sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - yargs-parser@^15.0.0: version "15.0.0" resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-15.0.0.tgz#cdd7a97490ec836195f59f3f4dbe5ea9e8f75f08" @@ -10390,6 +10604,14 @@ yargs-parser@^15.0.0: camelcase "^5.0.0" decamelize "^1.2.0" +yargs-parser@^16.1.0: + version "16.1.0" + resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-16.1.0.tgz#73747d53ae187e7b8dbe333f95714c76ea00ecf1" + integrity sha512-H/V41UNZQPkUMIT5h5hiwg4QKIY1RPvoBV4XcjUbRM8Bk2oKqqyZ0DIEbTFZB0XjbtSPG8SAa/0DxCQmiRgzKg== + dependencies: + camelcase "^5.0.0" + decamelize "^1.2.0" + yargs-parser@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz#275ecf0d7ffe05c77e64e7c86e4cd94bf0e1228a" @@ -10397,12 +10619,13 @@ yargs-parser@^5.0.0: dependencies: camelcase "^3.0.0" -yargs@^13.3.0: - version "13.3.0" - resolved "https://registry.npmjs.org/yargs/-/yargs-13.3.0.tgz#4c657a55e07e5f2cf947f8a366567c04a0dedc83" - integrity sha512-2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA== +yargs@^14.2.2: + version "14.2.2" + resolved "https://registry.npmjs.org/yargs/-/yargs-14.2.2.tgz#2769564379009ff8597cdd38fba09da9b493c4b5" + integrity sha512-/4ld+4VV5RnrynMhPZJ/ZpOCGSCeghMykZ3BhdFBDa9Wy/RH6uEGNWDJog+aUlq+9OM1CFTgtYRW5Is1Po9NOA== dependencies: cliui "^5.0.0" + decamelize "^1.2.0" find-up "^3.0.0" get-caller-file "^2.0.1" require-directory "^2.1.1" @@ -10411,24 +10634,24 @@ yargs@^13.3.0: string-width "^3.0.0" which-module "^2.0.0" y18n "^4.0.0" - yargs-parser "^13.1.1" + yargs-parser "^15.0.0" -yargs@^14.2.2: - version "14.2.2" - resolved "https://registry.npmjs.org/yargs/-/yargs-14.2.2.tgz#2769564379009ff8597cdd38fba09da9b493c4b5" - integrity sha512-/4ld+4VV5RnrynMhPZJ/ZpOCGSCeghMykZ3BhdFBDa9Wy/RH6uEGNWDJog+aUlq+9OM1CFTgtYRW5Is1Po9NOA== +yargs@^15.0.0: + version "15.1.0" + resolved "https://registry.npmjs.org/yargs/-/yargs-15.1.0.tgz#e111381f5830e863a89550bd4b136bb6a5f37219" + integrity sha512-T39FNN1b6hCW4SOIk1XyTOWxtXdcen0t+XYrysQmChzSipvhBO8Bj0nK1ozAasdk24dNWuMZvr4k24nz+8HHLg== dependencies: - cliui "^5.0.0" + cliui "^6.0.0" decamelize "^1.2.0" - find-up "^3.0.0" + find-up "^4.1.0" get-caller-file "^2.0.1" require-directory "^2.1.1" require-main-filename "^2.0.0" set-blocking "^2.0.0" - string-width "^3.0.0" + string-width "^4.2.0" which-module "^2.0.0" y18n "^4.0.0" - yargs-parser "^15.0.0" + yargs-parser "^16.1.0" yargs@^7.0.2: version "7.1.0" From f9960b64025466b579f402ebe8ba3d78deebf9c8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2020 09:14:03 +1100 Subject: [PATCH 0040/2192] chore: update dependency ts-jest to v25 (#931) Co-authored-by: WhiteSource Renovate Co-authored-by: Mario Nebl --- @commitlint/execute-rule/package.json | 2 +- package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index 916064a9c3..b0749c5728 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -39,6 +39,6 @@ "@types/jest": "25.1.1", "@types/lodash": "4.14.149", "jest": "25.1.0", - "ts-jest": "24.1.0" + "ts-jest": "25.2.0" } } diff --git a/package.json b/package.json index 78656a7f31..4a08b24ec6 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "lerna": "3.20.2", "lint-staged": "8.2.1", "prettier": "1.17.1", - "ts-jest": "24.1.0", + "ts-jest": "25.2.0", "typescript": "3.7.5" }, "husky": { diff --git a/yarn.lock b/yarn.lock index 2251f700bc..25e7015f59 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9962,10 +9962,10 @@ trim-right@^1.0.1: resolved "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" integrity sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM= -ts-jest@24.1.0: - version "24.1.0" - resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-24.1.0.tgz#2eaa813271a2987b7e6c3fefbda196301c131734" - integrity sha512-HEGfrIEAZKfu1pkaxB9au17b1d9b56YZSqz5eCVE8mX68+5reOvlM93xGOzzCREIov9mdH7JBG+s0UyNAqr0tQ== +ts-jest@25.2.0: + version "25.2.0" + resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-25.2.0.tgz#dfd87c2b71ef4867f5a0a44f40cb9c67e02991ac" + integrity sha512-VaRdb0da46eorLfuHEFf0G3d+jeREcV+Wb/SvW71S4y9Oe8SHWU+m1WY/3RaMknrBsnvmVH0/rRjT8dkgeffNQ== dependencies: bs-logger "0.x" buffer-from "1.x" From bdd3bb309e1210a099fca2fbfdc3e4a103810d6a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2020 09:17:59 +1100 Subject: [PATCH 0041/2192] chore: update dependency chalk to v3 (#853) Co-authored-by: WhiteSource Renovate --- @commitlint/cli/package.json | 2 +- @commitlint/format/package.json | 2 +- @commitlint/load/package.json | 2 +- @commitlint/prompt/package.json | 2 +- yarn.lock | 26 +++++++++++++------------- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index def8580e40..b03ac5e346 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -59,7 +59,7 @@ "@commitlint/lint": "^8.3.5", "@commitlint/load": "^8.3.5", "@commitlint/read": "^8.3.4", - "chalk": "2.4.2", + "chalk": "3.0.0", "core-js": "^3.6.1", "get-stdin": "7.0.0", "lodash": "4.17.15", diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index ad9f1fbba3..0ba6cf7e4d 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -40,6 +40,6 @@ "typescript": "3.7.5" }, "dependencies": { - "chalk": "^2.0.1" + "chalk": "^3.0.0" } } diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index d3fbe81dee..2d02830b9a 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -42,7 +42,7 @@ "@commitlint/execute-rule": "^8.3.4", "@commitlint/resolve-extends": "^8.3.5", "@commitlint/rules": "^8.3.4", - "chalk": "2.4.2", + "chalk": "3.0.0", "cosmiconfig": "^6.0.0", "lodash": "4.17.15", "resolve-from": "^5.0.0" diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 685be8034e..ef46fd7f65 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -51,7 +51,7 @@ }, "dependencies": { "@commitlint/load": "^8.3.5", - "chalk": "^2.0.0", + "chalk": "^3.0.0", "lodash": "4.17.15", "throat": "^5.0.0", "vorpal": "^1.12.0" diff --git a/yarn.lock b/yarn.lock index 25e7015f59..abcd24b826 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3008,14 +3008,13 @@ caseless@~0.12.0: resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= -chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: - version "2.4.2" - resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" - integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== +chalk@3.0.0, chalk@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4" + integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg== dependencies: - ansi-styles "^3.2.1" - escape-string-regexp "^1.0.5" - supports-color "^5.3.0" + ansi-styles "^4.1.0" + supports-color "^7.1.0" chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: version "1.1.3" @@ -3028,13 +3027,14 @@ chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4" - integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg== +chalk@^2.0.0, chalk@^2.0.1, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: + version "2.4.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" chardet@^0.7.0: version "0.7.0" From f3ab98969e9d34eb1b4233fe4398e69874d0c72d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2020 09:18:29 +1100 Subject: [PATCH 0042/2192] chore: update dependency globby to v10.0.2 (#892) Co-authored-by: WhiteSource Renovate --- @commitlint/config-patternplate/package.json | 2 +- @commitlint/ensure/package.json | 2 +- @commitlint/rules/package.json | 2 +- yarn.lock | 16 +++++++++++++++- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index e1e2061f24..a44f643d5f 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -30,7 +30,7 @@ "homepage": "https://github.com/conventional-changelog/commitlint#readme", "dependencies": { "@commitlint/config-angular": "^8.3.4", - "globby": "10.0.1", + "globby": "10.0.2", "lodash": "4.17.15" }, "devDependencies": { diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 3ee7128da9..0b73396545 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -35,7 +35,7 @@ "license": "MIT", "devDependencies": { "@commitlint/utils": "^8.3.4", - "globby": "10.0.1" + "globby": "10.0.2" }, "dependencies": { "lodash": "4.17.15" diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index a54ae21a9c..4623f393f4 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -38,7 +38,7 @@ "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "conventional-changelog-angular": "5.0.6", - "globby": "10.0.1", + "globby": "10.0.2", "lodash": "4.17.15" }, "dependencies": { diff --git a/yarn.lock b/yarn.lock index abcd24b826..8f1bd50da9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5057,7 +5057,21 @@ globals@^11.1.0: resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globby@10.0.1, globby@^10.0.1: +globby@10.0.2: + version "10.0.2" + resolved "https://registry.npmjs.org/globby/-/globby-10.0.2.tgz#277593e745acaa4646c3ab411289ec47a0392543" + integrity sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg== + dependencies: + "@types/glob" "^7.1.1" + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.0.3" + glob "^7.1.3" + ignore "^5.1.1" + merge2 "^1.2.3" + slash "^3.0.0" + +globby@^10.0.1: version "10.0.1" resolved "https://registry.npmjs.org/globby/-/globby-10.0.1.tgz#4782c34cb75dd683351335c5829cc3420e606b22" integrity sha512-sSs4inE1FB2YQiymcmTv6NWENryABjUNPeWhOvmn4SjtKybglsyPZxFB3U1/+L1bYi0rNZDqCLlHyLYDl1Pq5A== From 5c0f1c02ef2621efbf4bd9446941fc0b1da670ea Mon Sep 17 00:00:00 2001 From: Armano Date: Tue, 4 Feb 2020 23:22:36 +0100 Subject: [PATCH 0043/2192] chore: use frozen lockfile to fail build if an update is needed (#920) * test: add ci step to verify if lockfile is valid * chore: remove git diff --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7171a9fa1c..542f3131ee 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ commands: steps: - run: name: Install dependencies - command: yarn install --ignore-engines + command: yarn install --ignore-engines --frozen-lockfile audit: steps: - run: From 10c250e1a176a7a1ed3691e6efd919b7b0578384 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2020 09:33:11 +1100 Subject: [PATCH 0044/2192] chore: update dependency husky to v4 (#894) Co-authored-by: WhiteSource Renovate --- .../fixtures/husky/integration/package.json | 2 +- @commitlint/cli/fixtures/husky/package.json | 2 +- @commitlint/cli/fixtures/signoff/package.json | 2 +- package.json | 2 +- yarn.lock | 52 ++++++++++++------- 5 files changed, 38 insertions(+), 22 deletions(-) diff --git a/@commitlint/cli/fixtures/husky/integration/package.json b/@commitlint/cli/fixtures/husky/integration/package.json index 74434082b0..3f0ef85bae 100644 --- a/@commitlint/cli/fixtures/husky/integration/package.json +++ b/@commitlint/cli/fixtures/husky/integration/package.json @@ -1,6 +1,6 @@ { "scripts": {}, "devDependencies": { - "husky": "3.0.9" + "husky": "4.2.1" } } diff --git a/@commitlint/cli/fixtures/husky/package.json b/@commitlint/cli/fixtures/husky/package.json index 00d91bccd8..b58fe3a7b1 100644 --- a/@commitlint/cli/fixtures/husky/package.json +++ b/@commitlint/cli/fixtures/husky/package.json @@ -1,6 +1,6 @@ { "scripts": {}, "devDependencies": { - "husky": "3.0.9" + "husky": "4.2.1" } } diff --git a/@commitlint/cli/fixtures/signoff/package.json b/@commitlint/cli/fixtures/signoff/package.json index 00d91bccd8..b58fe3a7b1 100644 --- a/@commitlint/cli/fixtures/signoff/package.json +++ b/@commitlint/cli/fixtures/signoff/package.json @@ -1,6 +1,6 @@ { "scripts": {}, "devDependencies": { - "husky": "3.0.9" + "husky": "4.2.1" } } diff --git a/package.json b/package.json index 4a08b24ec6..f576176842 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "@lerna/project": "3.18.0", "@types/jest": "25.1.1", "docsify-cli": "4.3.0", - "husky": "3.0.9", + "husky": "4.2.1", "jest": "25.1.0", "lerna": "3.20.2", "lint-staged": "8.2.1", diff --git a/yarn.lock b/yarn.lock index 8f1bd50da9..bad18b9a49 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3368,6 +3368,11 @@ compare-func@^1.3.1: array-ify "^1.0.0" dot-prop "^3.0.0" +compare-versions@^3.5.1: + version "3.5.1" + resolved "https://registry.npmjs.org/compare-versions/-/compare-versions-3.5.1.tgz#26e1f5cf0d48a77eced5046b9f67b6b61075a393" + integrity sha512-9fGPIB7C6AyM18CJJBHt5EnCZDG3oiTJYy0NjfIAGjKpzv0tkxWko7TNQHF5ymqm7IH03tqmeuBxtvD+Izh6mg== + component-emitter@^1.2.1: version "1.3.0" resolved "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" @@ -3616,7 +3621,7 @@ core-util-is@1.0.2, core-util-is@~1.0.0: resolved "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= -cosmiconfig@^5.1.0, cosmiconfig@^5.2.0, cosmiconfig@^5.2.1: +cosmiconfig@^5.1.0, cosmiconfig@^5.2.0: version "5.2.1" resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" integrity sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA== @@ -4651,6 +4656,13 @@ find-up@^4.0.0, find-up@^4.1.0: locate-path "^5.0.0" path-exists "^4.0.0" +find-versions@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/find-versions/-/find-versions-3.2.0.tgz#10297f98030a786829681690545ef659ed1d254e" + integrity sha512-P8WRou2S+oe222TOCHitLy8zj+SIsVJh52VP4lvXkaFVnOFFdoWv1H1Jjvel1aI6NCFOAaeAVm8qrI0odiLcww== + dependencies: + semver-regex "^2.0.0" + findup-sync@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/findup-sync/-/findup-sync-3.0.0.tgz#17b108f9ee512dfb7a5c7f3c8b27ea9e1a9c08d1" @@ -4865,7 +4877,7 @@ get-port@^5.0.0: resolved "https://registry.npmjs.org/get-port/-/get-port-5.1.0.tgz#a8f6510d0000f07d5c65653a4b0ae648fe832683" integrity sha512-bjioH1E9bTQUvgaB6VycVy1QVbTZI41yTnF9qkZz6ixgy/uhCH6D63bKeZ6Code/07JYA61MeI94jSdHss8PNA== -get-stdin@7.0.0, get-stdin@^7.0.0: +get-stdin@7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz#8d5de98f15171a125c5e516643c7a6d0ea8a96f6" integrity sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ== @@ -5350,22 +5362,21 @@ humanize-ms@^1.2.1: dependencies: ms "^2.0.0" -husky@3.0.9: - version "3.0.9" - resolved "https://registry.npmjs.org/husky/-/husky-3.0.9.tgz#a2c3e9829bfd6b4957509a9500d2eef5dbfc8044" - integrity sha512-Yolhupm7le2/MqC1VYLk/cNmYxsSsqKkTyBhzQHhPK1jFnC89mmmNVuGtLNabjDI6Aj8UNIr0KpRNuBkiC4+sg== +husky@4.2.1: + version "4.2.1" + resolved "https://registry.npmjs.org/husky/-/husky-4.2.1.tgz#b09f1bd9129e6c323cc515dc17081d0615e2d7c1" + integrity sha512-Qa0lRreeIf4Tl92sSs42ER6qc3hzoyQPPorzOrFWfPEVbdi6LuvJEqWKPk905fOWIR76iBpp7ECZNIwk+a8xuQ== dependencies: - chalk "^2.4.2" + chalk "^3.0.0" ci-info "^2.0.0" - cosmiconfig "^5.2.1" - execa "^1.0.0" - get-stdin "^7.0.0" + compare-versions "^3.5.1" + cosmiconfig "^6.0.0" + find-versions "^3.2.0" opencollective-postinstall "^2.0.2" pkg-dir "^4.2.0" please-upgrade-node "^3.2.0" - read-pkg "^5.2.0" - run-node "^1.0.0" slash "^3.0.0" + which-pm-runs "^1.0.0" iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@~0.4.13: version "0.4.24" @@ -8497,7 +8508,7 @@ read-pkg-up@^3.0.0: find-up "^2.0.0" read-pkg "^3.0.0" -read-pkg@5.2.0, read-pkg@^5.2.0: +read-pkg@5.2.0: version "5.2.0" resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz#7bf295438ca5a33e56cd30e053b34ee7250c93cc" integrity sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg== @@ -8983,11 +8994,6 @@ run-async@^2.2.0: dependencies: is-promise "^2.1.0" -run-node@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/run-node/-/run-node-1.0.0.tgz#46b50b946a2aa2d4947ae1d886e9856fd9cabe5e" - integrity sha512-kc120TBlQ3mih1LSzdAJXo4xn/GWS2ec0l3S+syHDXP9uRr0JAT8Qd3mdMuyjqCzeZktgP3try92cEgf9Nks8A== - run-parallel@^1.1.9: version "1.1.9" resolved "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz#c9dd3a7cf9f4b2c4b6244e173a6ed866e61dd679" @@ -9082,6 +9088,11 @@ semver-diff@^2.0.0: dependencies: semver "^5.0.3" +semver-regex@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/semver-regex/-/semver-regex-2.0.0.tgz#a93c2c5844539a770233379107b38c7b4ac9d338" + integrity sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw== + "semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" @@ -10399,6 +10410,11 @@ which-module@^2.0.0: resolved "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= +which-pm-runs@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz#670b3afbc552e0b55df6b7780ca74615f23ad1cb" + integrity sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs= + which@^1.2.10, which@^1.2.14, which@^1.2.9, which@^1.3.1: version "1.3.1" resolved "https://registry.npmjs.org/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" From ffc0bac26993acb2ab6a8fa51065f93c92b0d644 Mon Sep 17 00:00:00 2001 From: Luciano Graziani Date: Tue, 4 Feb 2020 19:35:34 -0300 Subject: [PATCH 0045/2192] fix: #840 add caret to lodash versions (#843) Co-authored-by: Mario Nebl --- @commitlint/cli/package.json | 2 +- @commitlint/config-patternplate/package.json | 4 ++-- @commitlint/ensure/package.json | 2 +- @commitlint/lint/package.json | 2 +- @commitlint/load/package.json | 2 +- @commitlint/parse/package.json | 2 +- @commitlint/prompt/package.json | 2 +- @commitlint/resolve-extends/package.json | 2 +- @commitlint/rules/package.json | 4 ++-- @packages/utils/package.json | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index b03ac5e346..b0bc43eac7 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -62,7 +62,7 @@ "chalk": "3.0.0", "core-js": "^3.6.1", "get-stdin": "7.0.0", - "lodash": "4.17.15", + "lodash": "^4.17.15", "meow": "5.0.0", "regenerator-runtime": "0.13.3", "resolve-from": "5.0.0", diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index a44f643d5f..652a245661 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -30,8 +30,8 @@ "homepage": "https://github.com/conventional-changelog/commitlint#readme", "dependencies": { "@commitlint/config-angular": "^8.3.4", - "globby": "10.0.2", - "lodash": "4.17.15" + "globby": "^10.0.2", + "lodash": "^4.17.15" }, "devDependencies": { "@commitlint/utils": "^8.3.4" diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 0b73396545..901870af08 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -38,6 +38,6 @@ "globby": "10.0.2" }, "dependencies": { - "lodash": "4.17.15" + "lodash": "^4.17.15" } } diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 3c2657d56c..daaf955f0a 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -53,6 +53,6 @@ "@commitlint/is-ignored": "^8.3.5", "@commitlint/parse": "^8.3.4", "@commitlint/rules": "^8.3.4", - "lodash": "4.17.15" + "lodash": "^4.17.15" } } diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 2d02830b9a..2ab4e58541 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -44,7 +44,7 @@ "@commitlint/rules": "^8.3.4", "chalk": "3.0.0", "cosmiconfig": "^6.0.0", - "lodash": "4.17.15", + "lodash": "^4.17.15", "resolve-from": "^5.0.0" } } diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 2d0549276e..f7df2deb65 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -43,6 +43,6 @@ "dependencies": { "conventional-changelog-angular": "^5.0.0", "conventional-commits-parser": "^3.0.0", - "lodash": "4.17.15" + "lodash": "^4.17.15" } } diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index ef46fd7f65..4811b66c2f 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -52,7 +52,7 @@ "dependencies": { "@commitlint/load": "^8.3.5", "chalk": "^3.0.0", - "lodash": "4.17.15", + "lodash": "^4.17.15", "throat": "^5.0.0", "vorpal": "^1.12.0" } diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index a1c2c3c09e..24c1cb8480 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -42,7 +42,7 @@ }, "dependencies": { "import-fresh": "^3.0.0", - "lodash": "4.17.15", + "lodash": "^4.17.15", "resolve-from": "^5.0.0", "resolve-global": "^1.0.0" } diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index 4623f393f4..b5f7322ee1 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -38,8 +38,8 @@ "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "conventional-changelog-angular": "5.0.6", - "globby": "10.0.2", - "lodash": "4.17.15" + "globby": "^10.0.2", + "lodash": "^4.17.15" }, "dependencies": { "@commitlint/ensure": "^8.3.4", diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 9df2a1bdea..c2a95c4224 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -44,7 +44,7 @@ "@marionebl/sander": "0.6.1", "execa": "0.11.0", "is-builtin-module": "3.0.0", - "lodash": "4.17.15", + "lodash": "^4.17.15", "meow": "4.0.1", "read-pkg": "5.2.0", "require-from-string": "2.0.2", From a7008ffc4db4b52e78c9079050cc5b75ad2d34a1 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Wed, 5 Feb 2020 09:40:08 +1100 Subject: [PATCH 0046/2192] chore: configure renovate (#934) --- package.json | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index f576176842..21e29fa6cb 100644 --- a/package.json +++ b/package.json @@ -37,19 +37,12 @@ ] }, "renovate": { - "dependencies": { - "semanticPrefix": "chore:", - "semanticCommitScope": "" - }, + "rangeStrategy": "update-lockfile", "extends": [ - "config:base" - ], - "pin": { - "semanticPrefix": "chore:", - "semanticCommitScope": "" - }, - "semanticPrefix": "chore:", - "semanticCommitScope": "" + "config:base", + ":semanticCommitType(chore)", + ":semanticCommitScopeDisabled" + ] }, "workspaces": [ "@alias/*", From 35e1707ff5ca423873caae3303ead70e3d71c08b Mon Sep 17 00:00:00 2001 From: Armano Date: Tue, 4 Feb 2020 23:54:16 +0100 Subject: [PATCH 0047/2192] test(config-lerna-scopes): migrate ava tests to jest (#914) * test(config-lerna-scopes): migrate ava tests to jest * test(config-lerna-scopes): fix timeout * test: remove ava from dependencies * test(config-lerna-scopes): increase timeout to 60sec --- .../fixtures/lerna-two/package.json | 2 +- @commitlint/config-lerna-scopes/index.test.js | 72 ++ @commitlint/config-lerna-scopes/package.json | 13 - @commitlint/config-lerna-scopes/test.js | 69 -- @commitlint/ensure/src/enum.test.ts | 1 - .../babel-preset-commitlint/package.json | 14 - jest.config.js | 2 +- yarn.lock | 956 +----------------- 8 files changed, 113 insertions(+), 1016 deletions(-) create mode 100644 @commitlint/config-lerna-scopes/index.test.js delete mode 100644 @commitlint/config-lerna-scopes/test.js diff --git a/@commitlint/config-lerna-scopes/fixtures/lerna-two/package.json b/@commitlint/config-lerna-scopes/fixtures/lerna-two/package.json index 3468c54237..5b52f8f9fe 100644 --- a/@commitlint/config-lerna-scopes/fixtures/lerna-two/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/lerna-two/package.json @@ -2,6 +2,6 @@ "name": "version-mismatch", "version": "1.0.0", "devDependencies": { - "lerna": "3.20.2" + "lerna": "2.11.0" } } diff --git a/@commitlint/config-lerna-scopes/index.test.js b/@commitlint/config-lerna-scopes/index.test.js new file mode 100644 index 0000000000..0e7a86c1ed --- /dev/null +++ b/@commitlint/config-lerna-scopes/index.test.js @@ -0,0 +1,72 @@ +import {npm} from '@commitlint/test'; +import config from '.'; + +test('exports rules key', () => { + expect(config).toHaveProperty('rules'); +}); + +test('rules hold object', () => { + expect(config).toMatchObject({ + rules: expect.any(Object) + }); +}); + +test('rules contain scope-enum', () => { + expect(config).toMatchObject({ + rules: { + 'scope-enum': expect.anything() + } + }); +}); + +test('scope-enum is function', () => { + expect(config).toMatchObject({ + rules: { + 'scope-enum': expect.any(Function) + } + }); +}); + +test('scope-enum does not throw for missing context', async () => { + const {'scope-enum': fn} = config.rules; + await expect(fn()).resolves.toBeTruthy(); +}); + +test('scope-enum has expected severity', async () => { + const {'scope-enum': fn} = config.rules; + const [severity] = await fn(); + expect(severity).toBe(2); +}); + +test('scope-enum has expected modifier', async () => { + const {'scope-enum': fn} = config.rules; + const [, modifier] = await fn(); + expect(modifier).toBe('always'); +}); + +test('returns empty value for empty lerna repository', async () => { + const {'scope-enum': fn} = config.rules; + const cwd = await npm.bootstrap('fixtures/empty', __dirname); + const [, , value] = await fn({cwd}); + expect(value).toEqual([]); +}, 60000); + +test('returns expected value for basic lerna repository', async () => { + const {'scope-enum': fn} = config.rules; + const cwd = await npm.bootstrap('fixtures/basic', __dirname); + const [, , value] = await fn({cwd}); + expect(value).toEqual(['a', 'b']); +}, 60000); + +test('returns expected value for scoped lerna repository', async () => { + const {'scope-enum': fn} = config.rules; + const cwd = await npm.bootstrap('fixtures/scoped', __dirname); + const [, , value] = await fn({cwd}); + expect(value).toEqual(['a', 'b']); +}, 60000); + +test('works with lerna version < 3', async () => { + const {'scope-enum': fn} = config.rules; + const cwd = await npm.bootstrap('fixtures/lerna-two', __dirname); + await expect(fn({cwd})).resolves.toBeTruthy(); +}, 60000); diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index f0386f6331..7d97d0a114 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -6,21 +6,9 @@ "index.js" ], "scripts": { - "clean": "exit 0", - "start": "ava --watch --verbose", - "test": "ava --verbose", "deps": "dep-check", "pkg": "pkg-check" }, - "ava": { - "files": [ - "test.js" - ], - "sources": [ - "index.js", - "fixtures/**/*" - ] - }, "repository": { "type": "git", "url": "git+https://github.com/conventional-changelog/commitlint.git" @@ -49,7 +37,6 @@ "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "@lerna/project": "3.18.0", - "ava": "2.4.0", "lerna": "3.20.2" } } diff --git a/@commitlint/config-lerna-scopes/test.js b/@commitlint/config-lerna-scopes/test.js deleted file mode 100644 index 95e7caab69..0000000000 --- a/@commitlint/config-lerna-scopes/test.js +++ /dev/null @@ -1,69 +0,0 @@ -import {npm} from '@commitlint/test'; -import test from 'ava'; -import config from '.'; - -test('exports rules key', t => { - t.true(Object.prototype.hasOwnProperty.call(config, 'rules')); -}); - -test('rules hold object', t => { - t.is(typeof config.rules, 'object'); -}); - -test('rules contain scope-enum', t => { - t.true(Object.prototype.hasOwnProperty.call(config.rules, 'scope-enum')); -}); - -test('scope-enum is function', t => { - const {'scope-enum': fn} = config.rules; - t.is(typeof fn, 'function'); -}); - -test('scope-enum does not throw for missing context', async t => { - const {'scope-enum': fn} = config.rules; - try { - await fn(); - t.pass(); - } catch (err) { - t.fail(); - } -}); - -test('scope-enum has expected severity', async t => { - const {'scope-enum': fn} = config.rules; - const [severity] = await fn(); - t.is(severity, 2); -}); - -test('scope-enum has expected modifier', async t => { - const {'scope-enum': fn} = config.rules; - const [, modifier] = await fn(); - t.is(modifier, 'always'); -}); - -test('returns empty value for empty lerna repository', async t => { - const {'scope-enum': fn} = config.rules; - const cwd = await npm.bootstrap('fixtures/empty'); - const [, , value] = await fn({cwd}); - t.deepEqual(value, []); -}); - -test('returns expected value for basic lerna repository', async t => { - const {'scope-enum': fn} = config.rules; - const cwd = await npm.bootstrap('fixtures/basic'); - const [, , value] = await fn({cwd}); - t.deepEqual(value, ['a', 'b']); -}); - -test('returns expected value for scoped lerna repository', async t => { - const {'scope-enum': fn} = config.rules; - const cwd = await npm.bootstrap('fixtures/scoped'); - const [, , value] = await fn({cwd}); - t.deepEqual(value, ['a', 'b']); -}); - -test('works with lerna version < 3', async t => { - const {'scope-enum': fn} = config.rules; - const cwd = await npm.bootstrap('fixtures/lerna-two'); - await t.notThrowsAsync(fn({cwd})); -}); diff --git a/@commitlint/ensure/src/enum.test.ts b/@commitlint/ensure/src/enum.test.ts index a885e5ddc4..599234021a 100644 --- a/@commitlint/ensure/src/enum.test.ts +++ b/@commitlint/ensure/src/enum.test.ts @@ -1,4 +1,3 @@ -// import testAva from 'ava'; import ensure from './enum'; test('false for no params', () => { diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index f5628dde33..cce7f975a0 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -6,20 +6,6 @@ "files": [ "index.js" ], - "ava": { - "files": [ - "test.js", - "*.test.js" - ] - }, - "nyc": { - "all": true, - "sourceMap": false, - "instrument": false, - "include": [ - "source/**/*.js" - ] - }, "engines": { "node": ">=4" }, diff --git a/jest.config.js b/jest.config.js index 836c556ebb..67bfbbc991 100644 --- a/jest.config.js +++ b/jest.config.js @@ -5,6 +5,6 @@ module.exports = { testMatch: [ '**/*.test.ts?(x)', '**/@commitlint/{lint,read,travis-cli,cli,load,prompt}/src/**/*.test.js?(x)', - '**/@commitlint/prompt-cli/*.test.js?(x)' + '**/@commitlint/{prompt-cli,config-lerna-scopes}/*.test.js?(x)' ] }; diff --git a/yarn.lock b/yarn.lock index bad18b9a49..4d059f217d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,30 +2,6 @@ # yarn lockfile v1 -"@ava/babel-plugin-throws-helper@^4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@ava/babel-plugin-throws-helper/-/babel-plugin-throws-helper-4.0.0.tgz#8f5b45b7a0a79c6f4032de2101e0c221847efb62" - integrity sha512-3diBLIVBPPh3j4+hb5lo0I1D+S/O/VDJPI4Y502apBxmwEqjyXG4gTSPFUlm41sSZeZzMarT/Gzovw9kV7An0w== - -"@ava/babel-preset-stage-4@^4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@ava/babel-preset-stage-4/-/babel-preset-stage-4-4.0.0.tgz#9be5a59ead170062e228bb6ffd2b29f0489424fd" - integrity sha512-lZEV1ZANzfzSYBU6WHSErsy7jLPbD1iIgAboASPMcKo7woVni5/5IKWeT0RxC8rY802MFktur3OKEw2JY1Tv2w== - dependencies: - "@babel/plugin-proposal-async-generator-functions" "^7.2.0" - "@babel/plugin-proposal-dynamic-import" "^7.5.0" - "@babel/plugin-proposal-optional-catch-binding" "^7.2.0" - "@babel/plugin-transform-dotall-regex" "^7.4.4" - "@babel/plugin-transform-modules-commonjs" "^7.5.0" - -"@ava/babel-preset-transform-test-files@^6.0.0": - version "6.0.0" - resolved "https://registry.npmjs.org/@ava/babel-preset-transform-test-files/-/babel-preset-transform-test-files-6.0.0.tgz#639e8929d2cdc8863c1f16020ce644c525723cd4" - integrity sha512-8eKhFzZp7Qcq1VLfoC75ggGT8nQs9q8fIxltU47yCB7Wi7Y8Qf6oqY1Bm0z04fIec24vEgr0ENhDHEOUGVDqnA== - dependencies: - "@ava/babel-plugin-throws-helper" "^4.0.0" - babel-plugin-espower "^3.0.1" - "@babel/cli@7.7.7", "@babel/cli@^7.7.7": version "7.7.7" resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.7.7.tgz#56849acbf81d1a970dd3d1b3097c8ebf5da3f534" @@ -56,7 +32,7 @@ dependencies: "@babel/highlight" "^7.8.3" -"@babel/core@7.7.7", "@babel/core@^7.1.0", "@babel/core@^7.6.0", "@babel/core@^7.7.7": +"@babel/core@7.7.7", "@babel/core@^7.1.0", "@babel/core@^7.7.7": version "7.7.7" resolved "https://registry.npmjs.org/@babel/core/-/core-7.7.7.tgz#ee155d2e12300bcc0cff6a8ad46f2af5063803e9" integrity sha512-jlSjuj/7z138NLZALxVgrx13AOtqip42ATZP7+kYl53GvDV6+4dCek1mVUo8z8c8Xnw/mx2q3d9HWh3griuesQ== @@ -97,7 +73,7 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/generator@^7.0.0", "@babel/generator@^7.0.0-beta.44", "@babel/generator@^7.6.0", "@babel/generator@^7.7.4", "@babel/generator@^7.7.7": +"@babel/generator@^7.0.0-beta.44", "@babel/generator@^7.7.4", "@babel/generator@^7.7.7": version "7.7.7" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.7.7.tgz#859ac733c44c74148e1a72980a64ec84b85f4f45" integrity sha512-/AOIBpHh/JU1l0ZFS4kiRCBnLi6OTHzh0RPk3h9isBxkkqELtQNFi1Vr/tiG9p1yfoUdKVwISuXWQR+hwwM4VQ== @@ -352,7 +328,7 @@ esutils "^2.0.2" js-tokens "^4.0.0" -"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.7.4", "@babel/parser@^7.7.7": +"@babel/parser@^7.1.0", "@babel/parser@^7.7.4", "@babel/parser@^7.7.7": version "7.7.7" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.7.7.tgz#1b886595419cf92d811316d5b715a53ff38b4937" integrity sha512-WtTZMZAZLbeymhkd/sEaPD8IQyGAhmuTuvTzLiCFM7iXiVdY0gc0IaI+cW0fh1BnSMbJSzXX6/fHllgHKwHhXw== @@ -362,7 +338,7 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz#d1dbe64691d60358a974295fa53da074dd2ce8e8" integrity sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw== -"@babel/plugin-proposal-async-generator-functions@^7.2.0", "@babel/plugin-proposal-async-generator-functions@^7.7.4": +"@babel/plugin-proposal-async-generator-functions@^7.7.4": version "7.7.4" resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.7.4.tgz#0351c5ac0a9e927845fffd5b82af476947b7ce6d" integrity sha512-1ypyZvGRXriY/QP668+s8sFr2mqinhkRDMPSQLNghCQE+GAkFtp+wkHVvg2+Hdki8gwP+NFzJBJ/N1BfzCCDEw== @@ -371,7 +347,7 @@ "@babel/helper-remap-async-to-generator" "^7.7.4" "@babel/plugin-syntax-async-generators" "^7.7.4" -"@babel/plugin-proposal-dynamic-import@^7.5.0", "@babel/plugin-proposal-dynamic-import@^7.7.4": +"@babel/plugin-proposal-dynamic-import@^7.7.4": version "7.7.4" resolved "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.7.4.tgz#dde64a7f127691758cbfed6cf70de0fa5879d52d" integrity sha512-StH+nGAdO6qDB1l8sZ5UBV8AC3F2VW2I8Vfld73TMKyptMU9DY5YsJAS8U81+vEtxcH3Y/La0wG0btDrhpnhjQ== @@ -395,7 +371,7 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-object-rest-spread" "^7.7.4" -"@babel/plugin-proposal-optional-catch-binding@^7.2.0", "@babel/plugin-proposal-optional-catch-binding@^7.7.4": +"@babel/plugin-proposal-optional-catch-binding@^7.7.4": version "7.7.4" resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.7.4.tgz#ec21e8aeb09ec6711bc0a39ca49520abee1de379" integrity sha512-DyM7U2bnsQerCQ+sejcTNZh8KQEUuC3ufzdnVnSiUv/qoGJp2Z3hanKL18KDhsBT5Wj6a7CMT5mdyCNJsEaA9w== @@ -526,7 +502,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-dotall-regex@^7.4.4", "@babel/plugin-transform-dotall-regex@^7.7.7": +"@babel/plugin-transform-dotall-regex@^7.7.7": version "7.7.7" resolved "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.7.7.tgz#3e9713f1b69f339e87fa796b097d73ded16b937b" integrity sha512-b4in+YlTeE/QmTgrllnb3bHA0HntYvjz8O3Mcbx75UBPJA2xhb5A8nle498VhxSXJHQefjtQxpnLPehDJ4TRlg== @@ -587,7 +563,7 @@ "@babel/helper-plugin-utils" "^7.0.0" babel-plugin-dynamic-import-node "^2.3.0" -"@babel/plugin-transform-modules-commonjs@^7.5.0", "@babel/plugin-transform-modules-commonjs@^7.7.5": +"@babel/plugin-transform-modules-commonjs@^7.7.5": version "7.7.5" resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.7.5.tgz#1d27f5eb0bcf7543e774950e5b2fa782e637b345" integrity sha512-9Cq4zTFExwFhQI6MT1aFxgqhIsMWQWDVwOgLzl7PTWJHsNaqFvklAU+Oz6AQLAS0dJKTwZSOCo20INwktxpi3Q== @@ -880,13 +856,6 @@ exec-sh "^0.3.2" minimist "^1.2.0" -"@concordance/react@^2.0.0": - version "2.0.0" - resolved "https://registry.npmjs.org/@concordance/react/-/react-2.0.0.tgz#aef913f27474c53731f4fd79cc2f54897de90fde" - integrity sha512-huLSkUuM2/P+U0uy2WwlKuixMsTODD8p4JVQBI4VKeopkiN0C7M3N9XYVawb4M+4spN5RrO/eLhk7KoQX6nsfA== - dependencies: - arrify "^1.0.1" - "@evocateur/libnpmaccess@^3.1.2": version "3.1.2" resolved "https://registry.npmjs.org/@evocateur/libnpmaccess/-/libnpmaccess-3.1.2.tgz#ecf7f6ce6b004e9f942b098d92200be4a4b1c845" @@ -1932,11 +1901,6 @@ dependencies: any-observable "^0.3.0" -"@sindresorhus/is@^0.14.0": - version "0.14.0" - resolved "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" - integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== - "@sinonjs/commons@^1.7.0": version "1.7.0" resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.7.0.tgz#f90ffc52a2e519f018b13b6c4da03cbff36ebed6" @@ -1944,13 +1908,6 @@ dependencies: type-detect "4.0.8" -"@szmarczak/http-timer@^1.1.2": - version "1.1.2" - resolved "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421" - integrity sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA== - dependencies: - defer-to-connect "^1.0.1" - "@types/babel__core@^7.1.0": version "7.1.3" resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.3.tgz#e441ea7df63cd080dfcd02ab199e6d16a735fc30" @@ -2216,13 +2173,6 @@ ansi-align@^2.0.0: dependencies: string-width "^2.0.0" -ansi-align@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz#b536b371cf687caaef236c18d3e21fe3797467cb" - integrity sha512-ZpClVKqXN3RGBmKibdfWzqCY4lnjEuoNzU5T0oEFpfd/z5qJHVarukridD4juLO2FXMiwUQxr9WqQtaYa8XRYw== - dependencies: - string-width "^3.0.0" - ansi-escapes@^1.0.0, ansi-escapes@^1.1.0: version "1.4.0" resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" @@ -2306,7 +2256,7 @@ anymatch@^2.0.0: micromatch "^3.1.4" normalize-path "^2.1.1" -anymatch@^3.0.3, anymatch@~3.1.1: +anymatch@^3.0.3: version "3.1.1" resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142" integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg== @@ -2398,11 +2348,6 @@ array-uniq@^1.0.1: resolved "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY= -array-uniq@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/array-uniq/-/array-uniq-2.1.0.tgz#46603d5e28e79bfd02b046fcc1d77c6820bd8e98" - integrity sha512-bdHxtev7FN6+MXI1YFW0Q8mQ8dTJc2S8AMfju+ZR77pbg2yAdVyDlwkaUI7Har0LyOMRFPHrJ9lYdyjZZswdlQ== - array-unique@^0.2.1: version "0.2.1" resolved "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" @@ -2418,11 +2363,6 @@ arrify@^1.0.1: resolved "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= -arrify@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" - integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== - asap@^2.0.0: version "2.0.6" resolved "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" @@ -2450,11 +2390,6 @@ astral-regex@^1.0.0: resolved "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg== -astral-regex@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" - integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== - async-each@^1.0.0, async-each@^1.0.1: version "1.0.3" resolved "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" @@ -2475,85 +2410,6 @@ atob@^2.1.2: resolved "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== -ava@2.4.0: - version "2.4.0" - resolved "https://registry.npmjs.org/ava/-/ava-2.4.0.tgz#a3bd8b0e01d8826004c91de375eb2313ba5237c3" - integrity sha512-CQWtzZZZeU2g4StojRv6MO9RIRi4sLxGSB9+3C3hv0ttUEG1tkJLTLyrBQeFS4WEeK12Z4ovE3f2iPVhSy8elA== - dependencies: - "@ava/babel-preset-stage-4" "^4.0.0" - "@ava/babel-preset-transform-test-files" "^6.0.0" - "@babel/core" "^7.6.0" - "@babel/generator" "^7.6.0" - "@concordance/react" "^2.0.0" - ansi-escapes "^4.2.1" - ansi-styles "^4.1.0" - arr-flatten "^1.1.0" - array-union "^2.1.0" - array-uniq "^2.1.0" - arrify "^2.0.1" - bluebird "^3.5.5" - chalk "^2.4.2" - chokidar "^3.0.2" - chunkd "^1.0.0" - ci-parallel-vars "^1.0.0" - clean-stack "^2.2.0" - clean-yaml-object "^0.1.0" - cli-cursor "^3.1.0" - cli-truncate "^2.0.0" - code-excerpt "^2.1.1" - common-path-prefix "^1.0.0" - concordance "^4.0.0" - convert-source-map "^1.6.0" - currently-unhandled "^0.4.1" - debug "^4.1.1" - del "^4.1.1" - dot-prop "^5.1.0" - emittery "^0.4.1" - empower-core "^1.2.0" - equal-length "^1.0.0" - escape-string-regexp "^2.0.0" - esm "^3.2.25" - figures "^3.0.0" - find-up "^4.1.0" - get-port "^5.0.0" - globby "^10.0.1" - ignore-by-default "^1.0.0" - import-local "^3.0.2" - indent-string "^4.0.0" - is-ci "^2.0.0" - is-error "^2.2.2" - is-observable "^2.0.0" - is-plain-object "^3.0.0" - is-promise "^2.1.0" - lodash "^4.17.15" - loud-rejection "^2.1.0" - make-dir "^3.0.0" - matcher "^2.0.0" - md5-hex "^3.0.1" - meow "^5.0.0" - micromatch "^4.0.2" - ms "^2.1.2" - observable-to-promise "^1.0.0" - ora "^3.4.0" - package-hash "^4.0.0" - pkg-conf "^3.1.0" - plur "^3.1.1" - pretty-ms "^5.0.0" - require-precompiled "^0.1.0" - resolve-cwd "^3.0.0" - slash "^3.0.0" - source-map-support "^0.5.13" - stack-utils "^1.0.2" - strip-ansi "^5.2.0" - strip-bom-buf "^2.0.0" - supertap "^1.0.0" - supports-color "^7.0.0" - trim-off-newlines "^1.0.1" - trim-right "^1.0.1" - unique-temp-dir "^1.0.0" - update-notifier "^3.0.1" - write-file-atomic "^3.0.0" - aws-sign2@~0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" @@ -2584,19 +2440,6 @@ babel-plugin-dynamic-import-node@^2.3.0: dependencies: object.assign "^4.1.0" -babel-plugin-espower@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/babel-plugin-espower/-/babel-plugin-espower-3.0.1.tgz#180db17126f88e754105b8b5216d21e520a6bd4e" - integrity sha512-Ms49U7VIAtQ/TtcqRbD6UBmJBUCSxiC3+zPc+eGqxKUIFO1lTshyEDRUjhoAbd2rWfwYf3cZ62oXozrd8W6J0A== - dependencies: - "@babel/generator" "^7.0.0" - "@babel/parser" "^7.0.0" - call-matcher "^1.0.0" - core-js "^2.0.0" - espower-location-detector "^1.0.0" - espurify "^1.6.0" - estraverse "^4.1.1" - babel-plugin-istanbul@^6.0.0: version "6.0.0" resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.0.0.tgz#e159ccdc9af95e0b570c75b4573b7c34d671d765" @@ -2681,11 +2524,6 @@ binary-extensions@^1.0.0: resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65" integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw== -binary-extensions@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.0.0.tgz#23c0df14f6a88077f5f986c0d167ec03c3d5537c" - integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== - bindings@^1.5.0: version "1.5.0" resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" @@ -2705,11 +2543,6 @@ bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5: resolved "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== -blueimp-md5@^2.10.0: - version "2.12.0" - resolved "https://registry.npmjs.org/blueimp-md5/-/blueimp-md5-2.12.0.tgz#be7367938a889dec3ffbb71138617c117e9c130a" - integrity sha512-zo+HIdIhzojv6F1siQPqPFROyVy7C50KzHv/k/Iz+BtvtVzSHXiMXOpq2wCfNkeBqdCv+V8XOV96tsEt2W/3rQ== - boxen@^1.2.1: version "1.3.0" resolved "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b" @@ -2723,20 +2556,6 @@ boxen@^1.2.1: term-size "^1.2.0" widest-line "^2.0.0" -boxen@^3.0.0: - version "3.2.0" - resolved "https://registry.npmjs.org/boxen/-/boxen-3.2.0.tgz#fbdff0de93636ab4450886b6ff45b92d098f45eb" - integrity sha512-cU4J/+NodM3IHdSL2yN8bqYqnmlBTidDR4RC7nJs61ZmtGz8VZzM3HLQX0zY5mrSmPtR3xWwsq2jOUQqFZN8+A== - dependencies: - ansi-align "^3.0.0" - camelcase "^5.3.1" - chalk "^2.4.2" - cli-boxes "^2.2.0" - string-width "^3.0.0" - term-size "^1.2.0" - type-fest "^0.3.0" - widest-line "^2.0.0" - brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -2779,7 +2598,7 @@ braces@^2.3.1, braces@^2.3.2: split-string "^3.0.2" to-regex "^3.0.1" -braces@^3.0.1, braces@~3.0.2: +braces@^3.0.1: version "3.0.2" resolved "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== @@ -2887,44 +2706,16 @@ cache-base@^1.0.1: union-value "^1.0.0" unset-value "^1.0.0" -cacheable-request@^6.0.0: - version "6.1.0" - resolved "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz#20ffb8bd162ba4be11e9567d823db651052ca912" - integrity sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg== - dependencies: - clone-response "^1.0.2" - get-stream "^5.1.0" - http-cache-semantics "^4.0.0" - keyv "^3.0.0" - lowercase-keys "^2.0.0" - normalize-url "^4.1.0" - responselike "^1.0.2" - cachedir@2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/cachedir/-/cachedir-2.1.0.tgz#b448c32b44cd9c0cd6ce4c419fa5b3c112c02191" integrity sha512-xGBpPqoBvn3unBW7oxgb8aJn42K0m9m1/wyjmazah10Fq7bROGG3kRAE6OIyr3U3PIJUqGuebhCEdMk9OKJG0A== -call-matcher@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/call-matcher/-/call-matcher-1.1.0.tgz#23b2c1bc7a8394c8be28609d77ddbd5786680432" - integrity sha512-IoQLeNwwf9KTNbtSA7aEBb1yfDbdnzwjCetjkC8io5oGeOmK2CBNdg0xr+tadRYKO0p7uQyZzvon0kXlZbvGrw== - dependencies: - core-js "^2.0.0" - deep-equal "^1.0.0" - espurify "^1.6.0" - estraverse "^4.0.0" - call-me-maybe@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b" integrity sha1-JtII6onje1y95gJQoV8DHBak1ms= -call-signature@0.0.2: - version "0.0.2" - resolved "https://registry.npmjs.org/call-signature/-/call-signature-0.0.2.tgz#a84abc825a55ef4cb2b028bd74e205a65b9a4996" - integrity sha1-qEq8glpV70yysCi9dOIFpluaSZY= - caller-callsite@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134" @@ -3076,31 +2867,11 @@ chokidar@^2.1.8: optionalDependencies: fsevents "^1.2.7" -chokidar@^3.0.2: - version "3.3.1" - resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.3.1.tgz#c84e5b3d18d9a4d77558fef466b1bf16bbeb3450" - integrity sha512-4QYCEWOcK3OJrxwvyyAOxFuhpvOVCYkr33LPfFNBjAD/w3sEzWsp2BUOkI4l9bHvWioAd0rc6NlHUOEaWkTeqg== - dependencies: - anymatch "~3.1.1" - braces "~3.0.2" - glob-parent "~5.1.0" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.3.0" - optionalDependencies: - fsevents "~2.1.2" - chownr@^1.1.1, chownr@^1.1.2: version "1.1.3" resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142" integrity sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw== -chunkd@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/chunkd/-/chunkd-1.0.0.tgz#4ead4a3704bcce510c4bb4d4a8be30c557836dd1" - integrity sha512-xx3Pb5VF9QaqCotolyZ1ywFBgyuJmu6+9dLiqBxgelEse9Xsr3yUlpoX3O4Oh11M00GT2kYMsRByTKIMJW2Lkg== - ci-info@^1.5.0: version "1.6.0" resolved "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" @@ -3111,11 +2882,6 @@ ci-info@^2.0.0: resolved "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== -ci-parallel-vars@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/ci-parallel-vars/-/ci-parallel-vars-1.0.0.tgz#af97729ed1c7381911ca37bcea263d62638701b3" - integrity sha512-u6dx20FBXm+apMi+5x7UVm6EH7BL1gc4XrcnQewjcB7HWRcor/V5qWc3RG2HwpgDJ26gIi2DSEu3B7sXynAw/g== - class-utils@^0.3.5: version "0.3.6" resolved "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" @@ -3126,26 +2892,11 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" -clean-stack@^2.2.0: - version "2.2.0" - resolved "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" - integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== - -clean-yaml-object@^0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/clean-yaml-object/-/clean-yaml-object-0.1.0.tgz#63fb110dc2ce1a84dc21f6d9334876d010ae8b68" - integrity sha1-Y/sRDcLOGoTcIfbZM0h20BCui2g= - cli-boxes@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143" integrity sha1-T6kXw+WclKAEzWH47lCdplFocUM= -cli-boxes@^2.2.0: - version "2.2.0" - resolved "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.0.tgz#538ecae8f9c6ca508e3c3c95b453fe93cb4c168d" - integrity sha512-gpaBrMAizVEANOpfZp/EEUixTXDyGt7DFzdK5hU+UbWt/J0lB0w20ncZj59Z9a93xHb9u12zF5BS6i9RKbtg4w== - cli-cursor@^1.0.1, cli-cursor@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987" @@ -3160,18 +2911,6 @@ cli-cursor@^2.0.0, cli-cursor@^2.1.0: dependencies: restore-cursor "^2.0.0" -cli-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" - integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== - dependencies: - restore-cursor "^3.1.0" - -cli-spinners@^2.0.0: - version "2.2.0" - resolved "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.2.0.tgz#e8b988d9206c692302d8ee834e7a85c0144d8f77" - integrity sha512-tgU3fKwzYjiLEQgPMD9Jt+JjHVL9kW93FiIMX/l7rivvOD4/LL0Mf7gda3+4U2KJBloybwgj5KEoQgGRioMiKQ== - cli-truncate@^0.2.1: version "0.2.1" resolved "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" @@ -3180,14 +2919,6 @@ cli-truncate@^0.2.1: slice-ansi "0.0.4" string-width "^1.0.1" -cli-truncate@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz#c39e28bf05edcde5be3b98992a22deed5a2b93c7" - integrity sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg== - dependencies: - slice-ansi "^3.0.0" - string-width "^4.2.0" - cli-width@^1.0.1: version "1.1.1" resolved "https://registry.npmjs.org/cli-width/-/cli-width-1.1.1.tgz#a4d293ef67ebb7b88d4a4d42c0ccf00c4d1e366d" @@ -3243,13 +2974,6 @@ clone-deep@^4.0.1: kind-of "^6.0.2" shallow-clone "^3.0.0" -clone-response@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b" - integrity sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws= - dependencies: - mimic-response "^1.0.0" - clone@^1.0.2: version "1.0.4" resolved "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" @@ -3260,13 +2984,6 @@ co@^4.6.0: resolved "https://registry.npmjs.org/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ= -code-excerpt@^2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/code-excerpt/-/code-excerpt-2.1.1.tgz#5fe3057bfbb71a5f300f659ef2cc0a47651ba77c" - integrity sha512-tJLhH3EpFm/1x7heIW0hemXJTUU5EWl2V0EIX558jp05Mt1U6DVryCgkp3l37cxqs+DNbNgxG43SkwJXpQ14Jw== - dependencies: - convert-to-spaces "^1.0.1" - code-point-at@^1.0.0: version "1.1.0" resolved "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" @@ -3355,11 +3072,6 @@ commitizen@3.1.2: strip-bom "3.0.0" strip-json-comments "2.0.1" -common-path-prefix@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-1.0.0.tgz#cd52f6f0712e0baab97d6f9732874f22f47752c0" - integrity sha1-zVL28HEuC6q5fW+XModPIvR3UsA= - compare-func@^1.3.1: version "1.3.2" resolved "https://registry.npmjs.org/compare-func/-/compare-func-1.3.2.tgz#99dd0ba457e1f9bc722b12c08ec33eeab31fa648" @@ -3403,23 +3115,6 @@ concat-stream@^2.0.0: readable-stream "^3.0.2" typedarray "^0.0.6" -concordance@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/concordance/-/concordance-4.0.0.tgz#5932fdee397d129bdbc3a1885fbe69839b1b7e15" - integrity sha512-l0RFuB8RLfCS0Pt2Id39/oCPykE01pyxgAFypWTlaGRgvLkZrtczZ8atEHpTeEIW+zYWXTBuA9cCSeEOScxReQ== - dependencies: - date-time "^2.1.0" - esutils "^2.0.2" - fast-diff "^1.1.2" - js-string-escape "^1.0.1" - lodash.clonedeep "^4.5.0" - lodash.flattendeep "^4.4.0" - lodash.islength "^4.0.1" - lodash.merge "^4.6.1" - md5-hex "^2.0.0" - semver "^5.5.1" - well-known-symbols "^2.0.0" - config-chain@^1.1.11: version "1.1.12" resolved "https://registry.npmjs.org/config-chain/-/config-chain-1.1.12.tgz#0fde8d091200eb5e808caf25fe618c02f48e4efa" @@ -3440,18 +3135,6 @@ configstore@^3.0.0: write-file-atomic "^2.0.0" xdg-basedir "^3.0.0" -configstore@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/configstore/-/configstore-4.0.0.tgz#5933311e95d3687efb592c528b922d9262d227e7" - integrity sha512-CmquAXFBocrzaSM8mtGPMM/HiWmyIpr4CcJl/rgY2uCObZ/S7cKU0silxslqJejl+t/T9HS8E0PUNQD81JGUEQ== - dependencies: - dot-prop "^4.1.0" - graceful-fs "^4.1.2" - make-dir "^1.0.0" - unique-string "^1.0.0" - write-file-atomic "^2.0.0" - xdg-basedir "^3.0.0" - connect-livereload@^0.6.0: version "0.6.1" resolved "https://registry.npmjs.org/connect-livereload/-/connect-livereload-0.6.1.tgz#1ac0c8bb9d9cfd5b28b629987a56a9239db9baaa" @@ -3576,11 +3259,6 @@ convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.6.0, dependencies: safe-buffer "~5.1.1" -convert-to-spaces@^1.0.1: - version "1.0.2" - resolved "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-1.0.2.tgz#7e3e48bbe6d997b1417ddca2868204b4d3d85715" - integrity sha1-fj5Iu+bZl7FBfdyihoIEtNPYVxU= - copy-concurrently@^1.0.0: version "1.0.5" resolved "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0" @@ -3606,7 +3284,7 @@ core-js-compat@^3.6.0: browserslist "^4.8.2" semver "7.0.0" -core-js@^2.0.0, core-js@^2.4.0, core-js@^2.5.0: +core-js@^2.4.0, core-js@^2.5.0: version "2.6.11" resolved "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c" integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg== @@ -3769,13 +3447,6 @@ date-fns@^1.27.2: resolved "https://registry.npmjs.org/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c" integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw== -date-time@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/date-time/-/date-time-2.1.0.tgz#0286d1b4c769633b3ca13e1e62558d2dbdc2eba2" - integrity sha512-/9+C44X7lot0IeiyfgJmETtRMhBidBYM2QFFIkGa0U1k+hSyY87Nw7PY3eDqpvCBm7I3WCSfPeZskW/YYq6m4g== - dependencies: - time-zone "^1.0.0" - dateformat@^3.0.0: version "3.0.3" resolved "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" @@ -3832,30 +3503,11 @@ decode-uri-component@^0.2.0: resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= -decompress-response@^3.3.0: - version "3.3.0" - resolved "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" - integrity sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M= - dependencies: - mimic-response "^1.0.0" - dedent@0.7.0, dedent@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= -deep-equal@^1.0.0: - version "1.1.1" - resolved "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz#b5c98c942ceffaf7cb051e24e1434a25a2e6076a" - integrity sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g== - dependencies: - is-arguments "^1.0.4" - is-date-object "^1.0.1" - is-regex "^1.0.4" - object-is "^1.0.1" - object-keys "^1.1.1" - regexp.prototype.flags "^1.2.0" - deep-extend@0.5.1, deep-extend@^0.6.0: version "0.5.1" resolved "https://registry.npmjs.org/deep-extend/-/deep-extend-0.5.1.tgz#b894a9dd90d3023fbf1c55a394fb858eb2066f1f" @@ -3873,11 +3525,6 @@ defaults@^1.0.3: dependencies: clone "^1.0.2" -defer-to-connect@^1.0.1: - version "1.1.1" - resolved "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.1.tgz#88ae694b93f67b81815a2c8c769aef6574ac8f2f" - integrity sha512-J7thop4u3mRTkYRQ+Vpfwy2G5Ehoy82I14+14W4YMDLKdWloI9gSzRbV30s/NckQGVJtPkWNcW4oMAUigTdqiQ== - define-properties@^1.1.2, define-properties@^1.1.3: version "1.1.3" resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" @@ -3919,19 +3566,6 @@ del@^3.0.0: pify "^3.0.0" rimraf "^2.2.8" -del@^4.1.1: - version "4.1.1" - resolved "https://registry.npmjs.org/del/-/del-4.1.1.tgz#9e8f117222ea44a31ff3a156c049b99052a9f0b4" - integrity sha512-QwGuEUouP2kVwQenAsOof5Fv8K9t3D8Ca8NxcXKrIpEHjTXK5J2nXLdP+ALI1cgv8wj7KuwBhTwBkOZSJKM5XQ== - dependencies: - "@types/glob" "^7.1.1" - globby "^6.1.0" - is-path-cwd "^2.0.0" - is-path-in-cwd "^2.0.0" - p-map "^2.0.0" - pify "^4.0.1" - rimraf "^2.6.3" - delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" @@ -4068,13 +3702,6 @@ dot-prop@^4.1.0, dot-prop@^4.2.0: dependencies: is-obj "^1.0.0" -dot-prop@^5.1.0: - version "5.2.0" - resolved "https://registry.npmjs.org/dot-prop/-/dot-prop-5.2.0.tgz#c34ecc29556dc45f1f4c22697b6f4904e0cc4fcb" - integrity sha512-uEUyaDKoSQ1M4Oq8l45hSE26SnTxL6snNnqvK/VWx5wJhmff5z0FUVJDKDanor/6w3kzE3i7XZOk+7wC0EXr1A== - dependencies: - is-obj "^2.0.0" - duplexer3@^0.1.4: version "0.1.4" resolved "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" @@ -4118,11 +3745,6 @@ elegant-spinner@^1.0.1: resolved "https://registry.npmjs.org/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" integrity sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4= -emittery@^0.4.1: - version "0.4.1" - resolved "https://registry.npmjs.org/emittery/-/emittery-0.4.1.tgz#abe9d3297389ba424ac87e53d1c701962ce7433d" - integrity sha512-r4eRSeStEGf6M5SKdrQhhLK5bOwOBxQhIE3YSTnZE3GpKiLfnnhE+tPtrJE79+eDJgm39BM6LSoI8SCx4HbwlQ== - emoji-regex@^7.0.1: version "7.0.3" resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" @@ -4133,14 +3755,6 @@ emoji-regex@^8.0.0: resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== -empower-core@^1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/empower-core/-/empower-core-1.2.0.tgz#ce3fb2484d5187fa29c23fba8344b0b2fdf5601c" - integrity sha512-g6+K6Geyc1o6FdXs9HwrXleCFan7d66G5xSCfSF7x1mJDCes6t0om9lFQG3zOrzh3Bkb/45N0cZ5Gqsf7YrzGQ== - dependencies: - call-signature "0.0.2" - core-js "^2.0.0" - encodeurl@~1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" @@ -4170,11 +3784,6 @@ envinfo@^7.3.1: resolved "https://registry.npmjs.org/envinfo/-/envinfo-7.5.0.tgz#91410bb6db262fb4f1409bd506e9ff57e91023f4" integrity sha512-jDgnJaF/Btomk+m3PZDTTCb5XIIIX3zYItnCRfF73zVgvinLoRomuhi75Y4su0PtQxWz4v66XnLLckyvyJTOIQ== -equal-length@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/equal-length/-/equal-length-1.0.1.tgz#21ca112d48ab24b4e1e7ffc0e5339d31fdfc274c" - integrity sha1-IcoRLUirJLTh5//A5TOdMf38J0w= - err-code@^1.0.0: version "1.1.2" resolved "https://registry.npmjs.org/err-code/-/err-code-1.1.2.tgz#06e0116d3028f6aef4806849eb0ea6a748ae6960" @@ -4213,11 +3822,6 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -es6-error@^4.0.1: - version "4.1.1" - resolved "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz#9e3af407459deed47e9a91f9b885a84eb05c561d" - integrity sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg== - es6-promise@^4.0.3: version "4.2.8" resolved "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" @@ -4240,11 +3844,6 @@ escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.4, escape-string-regexp@^ resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= -escape-string-regexp@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" - integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== - escodegen@^1.11.1: version "1.13.0" resolved "https://registry.npmjs.org/escodegen/-/escodegen-1.13.0.tgz#c7adf9bd3f3cc675bb752f202f79a720189cab29" @@ -4257,34 +3856,12 @@ escodegen@^1.11.1: optionalDependencies: source-map "~0.6.1" -esm@^3.2.25: - version "3.2.25" - resolved "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz#342c18c29d56157688ba5ce31f8431fbb795cc10" - integrity sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA== - -espower-location-detector@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/espower-location-detector/-/espower-location-detector-1.0.0.tgz#a17b7ecc59d30e179e2bef73fb4137704cb331b5" - integrity sha1-oXt+zFnTDheeK+9z+0E3cEyzMbU= - dependencies: - is-url "^1.2.1" - path-is-absolute "^1.0.0" - source-map "^0.5.0" - xtend "^4.0.0" - esprima@^4.0.0, esprima@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== -espurify@^1.6.0: - version "1.8.1" - resolved "https://registry.npmjs.org/espurify/-/espurify-1.8.1.tgz#5746c6c1ab42d302de10bd1d5bf7f0e8c0515056" - integrity sha512-ZDko6eY/o+D/gHCWyHTU85mKDgYcS4FJj7S+YD6WIInm7GQ6AnOjmcL4+buFV/JOztVLELi/7MmuGU5NHta0Mg== - dependencies: - core-js "^2.0.0" - -estraverse@^4.0.0, estraverse@^4.1.1, estraverse@^4.2.0: +estraverse@^4.2.0: version "4.3.0" resolved "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== @@ -4489,11 +4066,6 @@ fast-deep-equal@^2.0.1: resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= -fast-diff@^1.1.2: - version "1.2.0" - resolved "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" - integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== - fast-glob@^2.2.6: version "2.2.7" resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz#6953857c3afa475fff92ee6015d52da70a4cd39d" @@ -4566,13 +4138,6 @@ figures@^2.0.0: dependencies: escape-string-regexp "^1.0.5" -figures@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/figures/-/figures-3.1.0.tgz#4b198dd07d8d71530642864af2d45dd9e459c4ec" - integrity sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg== - dependencies: - escape-string-regexp "^1.0.5" - file-uri-to-path@1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" @@ -4798,7 +4363,7 @@ fsevents@^1.0.0, fsevents@^1.2.7: bindings "^1.5.0" nan "^2.12.1" -fsevents@^2.1.2, fsevents@~2.1.2: +fsevents@^2.1.2: version "2.1.2" resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.1.2.tgz#4c0a1fb34bc68e543b4b82a9ec392bfbda840805" integrity sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA== @@ -4872,11 +4437,6 @@ get-port@^4.2.0: resolved "https://registry.npmjs.org/get-port/-/get-port-4.2.0.tgz#e37368b1e863b7629c43c5a323625f95cf24b119" integrity sha512-/b3jarXkH8KJoOMQc3uVGHASwGLPq3gSFJ7tgJm2diza+bydJPTGOibin2steecKeOylE8oY2JERlVWkAJO6yw== -get-port@^5.0.0: - version "5.1.0" - resolved "https://registry.npmjs.org/get-port/-/get-port-5.1.0.tgz#a8f6510d0000f07d5c65653a4b0ae648fe832683" - integrity sha512-bjioH1E9bTQUvgaB6VycVy1QVbTZI41yTnF9qkZz6ixgy/uhCH6D63bKeZ6Code/07JYA61MeI94jSdHss8PNA== - get-stdin@7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz#8d5de98f15171a125c5e516643c7a6d0ea8a96f6" @@ -4899,7 +4459,7 @@ get-stream@^4.0.0, get-stream@^4.1.0: dependencies: pump "^3.0.0" -get-stream@^5.0.0, get-stream@^5.1.0: +get-stream@^5.0.0: version "5.1.0" resolved "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz#01203cdc92597f9b909067c3e656cc1f4d3c4dc9" integrity sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw== @@ -5001,7 +4561,7 @@ glob-parent@^3.1.0: is-glob "^3.1.0" path-dirname "^1.0.0" -glob-parent@^5.0.0, glob-parent@^5.1.0, glob-parent@~5.1.0: +glob-parent@^5.0.0, glob-parent@^5.1.0: version "5.1.0" resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz#5f4c1d1e748d30cd73ad2944b3577a81b081e8c2" integrity sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw== @@ -5069,7 +4629,7 @@ globals@^11.1.0: resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globby@10.0.2: +globby@10.0.2, globby@^10.0.2: version "10.0.2" resolved "https://registry.npmjs.org/globby/-/globby-10.0.2.tgz#277593e745acaa4646c3ab411289ec47a0392543" integrity sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg== @@ -5083,20 +4643,6 @@ globby@10.0.2: merge2 "^1.2.3" slash "^3.0.0" -globby@^10.0.1: - version "10.0.1" - resolved "https://registry.npmjs.org/globby/-/globby-10.0.1.tgz#4782c34cb75dd683351335c5829cc3420e606b22" - integrity sha512-sSs4inE1FB2YQiymcmTv6NWENryABjUNPeWhOvmn4SjtKybglsyPZxFB3U1/+L1bYi0rNZDqCLlHyLYDl1Pq5A== - dependencies: - "@types/glob" "^7.1.1" - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.0.3" - glob "^7.1.3" - ignore "^5.1.1" - merge2 "^1.2.3" - slash "^3.0.0" - globby@^6.1.0: version "6.1.0" resolved "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" @@ -5146,23 +4692,6 @@ got@^6.7.1: unzip-response "^2.0.1" url-parse-lax "^1.0.0" -got@^9.6.0: - version "9.6.0" - resolved "https://registry.npmjs.org/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85" - integrity sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q== - dependencies: - "@sindresorhus/is" "^0.14.0" - "@szmarczak/http-timer" "^1.1.2" - cacheable-request "^6.0.0" - decompress-response "^3.3.0" - duplexer3 "^0.1.4" - get-stream "^4.1.0" - lowercase-keys "^1.0.1" - mimic-response "^1.0.1" - p-cancelable "^1.0.0" - to-readable-stream "^1.0.0" - url-parse-lax "^3.0.0" - graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" @@ -5255,11 +4784,6 @@ has-values@^1.0.0: is-number "^3.0.0" kind-of "^4.0.0" -has-yarn@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77" - integrity sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw== - has@^1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" @@ -5267,14 +4791,6 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" -hasha@^5.0.0: - version "5.1.0" - resolved "https://registry.npmjs.org/hasha/-/hasha-5.1.0.tgz#dd05ccdfcfe7dab626247ce2a58efe461922f4ca" - integrity sha512-OFPDWmzPN1l7atOV1TgBVmNtBxaIysToK6Ve9DK+vT6pYuklw/nPNT+HJbZi0KDcI6vWB+9tgvZ5YD7fA3CXcA== - dependencies: - is-stream "^2.0.0" - type-fest "^0.8.0" - hoek@5.0.3: version "5.0.3" resolved "https://registry.npmjs.org/hoek/-/hoek-5.0.3.tgz#b71d40d943d0a95da01956b547f83c4a5b4a34ac" @@ -5309,11 +4825,6 @@ http-cache-semantics@^3.8.1: resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2" integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w== -http-cache-semantics@^4.0.0: - version "4.0.3" - resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.0.3.tgz#495704773277eeef6e43f9ab2c2c7d259dda25c5" - integrity sha512-TcIMG3qeVLgDr1TEd2XvHaTnMPwYQUQMIBLy+5pLSDKYFc7UIqj39w8EGzZkaxoLv/l2K8HaI0t5AVA+YYgUew== - http-errors@~1.7.2: version "1.7.3" resolved "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz#6c619e4f9c60308c38519498c14fbb10aacebb06" @@ -5390,11 +4901,6 @@ iferr@^0.1.5: resolved "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" integrity sha1-xg7taebY/bazEEofy8ocGS3FtQE= -ignore-by-default@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09" - integrity sha1-SMptcvbGo68Aqa1K5odr44ieKwk= - ignore-walk@^3.0.1: version "3.0.3" resolved "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz#017e2447184bfeade7c238e4aefdd1e8f95b1e37" @@ -5473,16 +4979,11 @@ indent-string@^2.1.0: dependencies: repeating "^2.0.0" -indent-string@^3.0.0, indent-string@^3.2.0: +indent-string@^3.0.0: version "3.2.0" resolved "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" integrity sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok= -indent-string@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" - integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== - infer-owner@^1.0.3, infer-owner@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" @@ -5603,11 +5104,6 @@ ip@1.1.5: resolved "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= -irregular-plurals@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/irregular-plurals/-/irregular-plurals-2.0.0.tgz#39d40f05b00f656d0b7fa471230dd3b714af2872" - integrity sha512-Y75zBYLkh0lJ9qxeHlMjQ7bSbyiSqNW/UOPWDmzC7cXskL1hekSITh1Oc6JV0XCWWZ9DE8VYSB71xocLk3gmGw== - is-accessor-descriptor@^0.1.6: version "0.1.6" resolved "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" @@ -5622,11 +5118,6 @@ is-accessor-descriptor@^1.0.0: dependencies: kind-of "^6.0.0" -is-arguments@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz#3faf966c7cba0ff437fb31f6250082fcf0448cf3" - integrity sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA== - is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" @@ -5639,13 +5130,6 @@ is-binary-path@^1.0.0: dependencies: binary-extensions "^1.0.0" -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== - dependencies: - binary-extensions "^2.0.0" - is-buffer@^1.1.5: version "1.1.6" resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" @@ -5731,11 +5215,6 @@ is-equal-shallow@^0.1.3: dependencies: is-primitive "^2.0.0" -is-error@^2.2.2: - version "2.2.2" - resolved "https://registry.npmjs.org/is-error/-/is-error-2.2.2.tgz#c10ade187b3c93510c5470a5567833ee25649843" - integrity sha512-IOQqts/aHWbiisY5DuPJQ0gcbvaLFCa7fBa9xoLfxBZvQ+ZI/Zh9xoI7Gk+G64N0FdK4AbibytHht2tWgpJWLg== - is-extendable@^0.1.0, is-extendable@^0.1.1: version "0.1.1" resolved "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" @@ -5801,7 +5280,7 @@ is-glob@^3.1.0: dependencies: is-extglob "^2.1.0" -is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: +is-glob@^4.0.0, is-glob@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== @@ -5821,11 +5300,6 @@ is-npm@^1.0.0: resolved "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4" integrity sha1-8vtjpl5JBbQGyGBydloaTceTufQ= -is-npm@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/is-npm/-/is-npm-3.0.0.tgz#ec9147bfb629c43f494cf67936a961edec7e8053" - integrity sha512-wsigDr1Kkschp2opC4G3yA6r9EgVA6NjRpWzIi9axXqeIaAATPRJc4uLujXe3Nd9uO8KoDyA4MD6aZSeXTADhA== - is-number@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" @@ -5848,11 +5322,6 @@ is-obj@^1.0.0, is-obj@^1.0.1: resolved "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= -is-obj@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" - integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== - is-observable@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-observable/-/is-observable-1.1.0.tgz#b3e986c8f44de950867cab5403f5a3465005975e" @@ -5860,21 +5329,11 @@ is-observable@^1.1.0: dependencies: symbol-observable "^1.1.0" -is-observable@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/is-observable/-/is-observable-2.0.0.tgz#327af1e8cdea9cd717f95911b87c5d34301721a6" - integrity sha512-fhBZv3eFKUbyHXZ1oHujdo2tZ+CNbdpdzzlENgCGZUC8keoGxUew2jYFLYcUB4qo7LDD03o4KK11m/QYD7kEjg== - is-path-cwd@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" integrity sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0= -is-path-cwd@^2.0.0: - version "2.2.0" - resolved "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb" - integrity sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ== - is-path-in-cwd@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz#5ac48b345ef675339bd6c7a48a912110b241cf52" @@ -5882,13 +5341,6 @@ is-path-in-cwd@^1.0.0: dependencies: is-path-inside "^1.0.0" -is-path-in-cwd@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz#bfe2dca26c69f397265a4009963602935a053acb" - integrity sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ== - dependencies: - is-path-inside "^2.1.0" - is-path-inside@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" @@ -5896,13 +5348,6 @@ is-path-inside@^1.0.0: dependencies: path-is-inside "^1.0.1" -is-path-inside@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-2.1.0.tgz#7c9810587d659a40d27bcdb4d5616eab059494b2" - integrity sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg== - dependencies: - path-is-inside "^1.0.2" - is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" @@ -5942,7 +5387,7 @@ is-redirect@^1.0.0: resolved "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" integrity sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ= -is-regex@^1.0.4, is-regex@^1.0.5: +is-regex@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz#39d589a358bf18967f726967120b8fc1aed74eae" integrity sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ== @@ -5995,11 +5440,6 @@ is-typedarray@^1.0.0, is-typedarray@~1.0.0: resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= -is-url@^1.2.1: - version "1.2.4" - resolved "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz#04a4df46d28c4cff3d73d01ff06abeb318a1aa52" - integrity sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww== - is-utf8@^0.2.0, is-utf8@^0.2.1: version "0.2.1" resolved "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" @@ -6020,11 +5460,6 @@ is-wsl@^2.1.1: resolved "https://registry.npmjs.org/is-wsl/-/is-wsl-2.1.1.tgz#4a1c152d429df3d441669498e2486d3596ebaf1d" integrity sha512-umZHcSrwlDHo2TGMXv0DZ8dIUGunZ2Iv68YZnrmCiBPkZ4aaOhtv7pXJKeki9k3qJ3RJr0cDyitcl5wEH3AYog== -is-yarn-global@^0.3.0: - version "0.3.0" - resolved "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232" - integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw== - isarray@1.0.0, isarray@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" @@ -6454,17 +5889,12 @@ js-levenshtein@^1.1.3: resolved "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d" integrity sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g== -js-string-escape@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/js-string-escape/-/js-string-escape-1.0.1.tgz#e2625badbc0d67c7533e9edc1068c587ae4137ef" - integrity sha1-4mJbrbwNZ8dTPp7cEGjFh65BN+8= - "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-yaml@>=3.13.0, js-yaml@^3.10.0, js-yaml@^3.13.1: +js-yaml@>=3.13.0, js-yaml@^3.13.1: version "3.13.1" resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== @@ -6519,11 +5949,6 @@ jsesc@~0.5.0: resolved "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" integrity sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0= -json-buffer@3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" - integrity sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg= - json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" @@ -6580,13 +6005,6 @@ jsprim@^1.2.2: json-schema "0.2.3" verror "1.10.0" -keyv@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9" - integrity sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA== - dependencies: - json-buffer "3.0.0" - kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" resolved "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" @@ -6623,13 +6041,6 @@ latest-version@^3.0.0: dependencies: package-json "^4.0.0" -latest-version@^5.0.0: - version "5.1.0" - resolved "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz#119dfe908fe38d15dfa43ecd13fa12ec8832face" - integrity sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA== - dependencies: - package-json "^6.3.0" - lcid@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" @@ -6783,7 +6194,7 @@ load-json-file@^4.0.0: pify "^3.0.0" strip-bom "^3.0.0" -load-json-file@^5.2.0, load-json-file@^5.3.0: +load-json-file@^5.3.0: version "5.3.0" resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-5.3.0.tgz#4d3c1e01fa1c03ea78a60ac7af932c9ce53403f3" integrity sha512-cJGP40Jc/VXUsp8/OrnyKyTZ1y6v/dphm3bioS+RrKXjK2BB6wHUd6JptZEFDGgGahMT+InnZO5i1Ei9mpC8Bw== @@ -6827,21 +6238,11 @@ lodash.clonedeep@^4.5.0: resolved "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= -lodash.flattendeep@^4.4.0: - version "4.4.0" - resolved "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz#fb030917f86a3134e5bc9bec0d69e0013ddfedb2" - integrity sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI= - lodash.get@^4.4.2: version "4.4.2" resolved "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk= -lodash.islength@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/lodash.islength/-/lodash.islength-4.0.1.tgz#4e9868d452575d750affd358c979543dc20ed577" - integrity sha1-Tpho1FJXXXUK/9NYyXlUPcIO1Xc= - lodash.ismatch@^4.4.0: version "4.4.0" resolved "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37" @@ -6857,11 +6258,6 @@ lodash.memoize@4.x: resolved "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= -lodash.merge@^4.6.1: - version "4.6.2" - resolved "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" - integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== - lodash.set@^4.3.2: version "4.3.2" resolved "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23" @@ -6955,24 +6351,11 @@ loud-rejection@^1.0.0: currently-unhandled "^0.4.1" signal-exit "^3.0.0" -loud-rejection@^2.1.0: - version "2.2.0" - resolved "https://registry.npmjs.org/loud-rejection/-/loud-rejection-2.2.0.tgz#4255eb6e9c74045b0edc021fa7397ab655a8517c" - integrity sha512-S0FayMXku80toa5sZ6Ro4C+s+EtFDCsyJNG/AzFMfX3AxD5Si4dZsgzm/kKnbOxHl5Cv8jBlno8+3XYIh2pNjQ== - dependencies: - currently-unhandled "^0.4.1" - signal-exit "^3.0.2" - -lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: +lowercase-keys@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== -lowercase-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" - integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== - lru-cache@^4.0.1, lru-cache@^4.1.1: version "4.1.5" resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" @@ -7078,37 +6461,11 @@ matcher@^1.0.0: dependencies: escape-string-regexp "^1.0.4" -matcher@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/matcher/-/matcher-2.1.0.tgz#64e1041c15b993e23b786f93320a7474bf833c28" - integrity sha512-o+nZr+vtJtgPNklyeUKkkH42OsK8WAfdgaJE2FNxcjLPg+5QbeEoT6vRj8Xq/iv18JlQ9cmKsEu0b94ixWf1YQ== - dependencies: - escape-string-regexp "^2.0.0" - math-random@^1.0.1: version "1.0.4" resolved "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz#5dd6943c938548267016d4e34f057583080c514c" integrity sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A== -md5-hex@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/md5-hex/-/md5-hex-2.0.0.tgz#d0588e9f1c74954492ecd24ac0ac6ce997d92e33" - integrity sha1-0FiOnxx0lUSS7NJKwKxs6ZfZLjM= - dependencies: - md5-o-matic "^0.1.1" - -md5-hex@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/md5-hex/-/md5-hex-3.0.1.tgz#be3741b510591434b2784d79e556eefc2c9a8e5c" - integrity sha512-BUiRtTtV39LIJwinWBjqVsU9xhdnz7/i889V859IBFpuqGAj6LuOvHv5XLbgZ2R7ptJoJaEcxkv88/h25T7Ciw== - dependencies: - blueimp-md5 "^2.10.0" - -md5-o-matic@^0.1.1: - version "0.1.1" - resolved "https://registry.npmjs.org/md5-o-matic/-/md5-o-matic-0.1.1.tgz#822bccd65e117c514fab176b25945d54100a03c3" - integrity sha1-givM1l4RfFFPqxdrJZRdVBAKA8M= - medium-zoom@^1.0.4: version "1.0.5" resolved "https://registry.npmjs.org/medium-zoom/-/medium-zoom-1.0.5.tgz#81413dda20ccdd857141ff420cfab788dd32e20e" @@ -7248,11 +6605,6 @@ mimic-fn@^2.1.0: resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== -mimic-response@^1.0.0, mimic-response@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" - integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== - minimatch@^3.0.4: version "3.0.4" resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" @@ -7368,7 +6720,7 @@ ms@2.1.1: resolved "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg== -ms@^2.0.0, ms@^2.1.1, ms@^2.1.2: +ms@^2.0.0, ms@^2.1.1: version "2.1.2" resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== @@ -7548,7 +6900,7 @@ normalize-path@^2.0.0, normalize-path@^2.0.1, normalize-path@^2.1.1: dependencies: remove-trailing-separator "^1.0.1" -normalize-path@^3.0.0, normalize-path@~3.0.0: +normalize-path@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== @@ -7558,11 +6910,6 @@ normalize-url@^3.3.0: resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559" integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg== -normalize-url@^4.1.0: - version "4.5.0" - resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz#453354087e6ca96957bd8f5baf753f5982142129" - integrity sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ== - npm-bundled@^1.0.1: version "1.1.1" resolved "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.1.tgz#1edd570865a94cdb1bc8220775e29466c9fb234b" @@ -7690,11 +7037,6 @@ object-inspect@^1.7.0: resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67" integrity sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw== -object-is@^1.0.1: - version "1.0.2" - resolved "https://registry.npmjs.org/object-is/-/object-is-1.0.2.tgz#6b80eb84fe451498f65007982f035a5b445edec4" - integrity sha512-Epah+btZd5wrrfjkJZq1AOB9O6OxUQto45hzFd7lXGrpHPGE0W1k+426yrZV+k6NJOzLNNW/nVsmZdIWsAqoOQ== - object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" @@ -7740,14 +7082,6 @@ object.pick@^1.3.0: dependencies: isobject "^3.0.1" -observable-to-promise@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/observable-to-promise/-/observable-to-promise-1.0.0.tgz#37e136f16a15385ac063411ada0e1202bfff58f4" - integrity sha512-cqnGUrNsE6vdVDTPAX9/WeVzwy/z37vdxupdQXU8vgTXRFH72KCZiZga8aca2ulRPIeem8W3vW9rQHBwfIl2WA== - dependencies: - is-observable "^2.0.0" - symbol-observable "^1.0.4" - octokit-pagination-methods@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4" @@ -7828,18 +7162,6 @@ options@>=0.0.5: resolved "https://registry.npmjs.org/opts/-/opts-1.2.7.tgz#4de4721d592c96901dae623a438c988e9ea7779f" integrity sha512-hwZhzGGG/GQ7igxAVFOEun2N4fWul31qE9nfBdCnZGQCB5+L7tN9xZ+94B4aUpLOJx/of3zZs5XsuubayQYQjA== -ora@^3.4.0: - version "3.4.0" - resolved "https://registry.npmjs.org/ora/-/ora-3.4.0.tgz#bf0752491059a3ef3ed4c85097531de9fdbcd318" - integrity sha512-eNwHudNbO1folBP3JsZ19v9azXWtQZjICdr3Q0TDPIaeBQ3mXLrh54wM+er0+hSp+dWKf+Z8KM58CYzEyIYxYg== - dependencies: - chalk "^2.4.2" - cli-cursor "^2.1.0" - cli-spinners "^2.0.0" - log-symbols "^2.2.0" - strip-ansi "^5.2.0" - wcwidth "^1.0.1" - os-homedir@^1.0.0: version "1.0.2" resolved "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" @@ -7860,7 +7182,7 @@ os-name@^3.1.0: macos-release "^2.2.0" windows-release "^3.1.0" -os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.2: +os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= @@ -7873,11 +7195,6 @@ osenv@^0.1.4, osenv@^0.1.5: os-homedir "^1.0.0" os-tmpdir "^1.0.0" -p-cancelable@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" - integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw== - p-each-series@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/p-each-series/-/p-each-series-2.1.0.tgz#961c8dd3f195ea96c747e636b262b800a6b1af48" @@ -7979,16 +7296,6 @@ p-waterfall@^1.0.0: dependencies: p-reduce "^1.0.0" -package-hash@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/package-hash/-/package-hash-4.0.0.tgz#3537f654665ec3cc38827387fc904c163c54f506" - integrity sha512-whdkPIooSu/bASggZ96BWVvZTRMOFxnyUG5PnTSGKoJE2gd5mbVNmR2Nj20QFzxYYgAXpoqC+AiXzl+UMRh7zQ== - dependencies: - graceful-fs "^4.1.15" - hasha "^5.0.0" - lodash.flattendeep "^4.4.0" - release-zalgo "^1.0.0" - package-json@^4.0.0: version "4.0.1" resolved "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz#8869a0401253661c4c4ca3da6c2121ed555f5eed" @@ -7999,16 +7306,6 @@ package-json@^4.0.0: registry-url "^3.0.3" semver "^5.1.0" -package-json@^6.3.0: - version "6.5.0" - resolved "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz#6feedaca35e75725876d0b0e64974697fed145b0" - integrity sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ== - dependencies: - got "^9.6.0" - registry-auth-token "^4.0.0" - registry-url "^5.0.0" - semver "^6.2.0" - parallel-transform@^1.1.0: version "1.2.0" resolved "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.2.0.tgz#9049ca37d6cb2182c3b1d2c720be94d14a5814fc" @@ -8070,11 +7367,6 @@ parse-json@^5.0.0: json-parse-better-errors "^1.0.1" lines-and-columns "^1.1.6" -parse-ms@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/parse-ms/-/parse-ms-2.1.0.tgz#348565a753d4391fa524029956b172cb7753097d" - integrity sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA== - parse-passwd@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" @@ -8186,7 +7478,12 @@ performance-now@^2.1.0: resolved "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= -picomatch@^2.0.4, picomatch@^2.0.5, picomatch@^2.0.7: +picomatch@^2.0.4: + version "2.2.1" + resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a" + integrity sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA== + +picomatch@^2.0.5: version "2.1.1" resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.1.1.tgz#ecdfbea7704adb5fe6fb47f9866c4c0e15e905c5" integrity sha512-OYMyqkKzK7blWO/+XZYP6w8hH0LDvkBvdvKukti+7kqYFCiEAk+gI3DWnryapc0Dau05ugGTy0foQ6mqn4AHYA== @@ -8225,14 +7522,6 @@ pirates@^4.0.1: dependencies: node-modules-regexp "^1.0.0" -pkg-conf@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/pkg-conf/-/pkg-conf-3.1.0.tgz#d9f9c75ea1bae0e77938cde045b276dac7cc69ae" - integrity sha512-m0OTbR/5VPNPqO1ph6Fqbj7Hv6QU7gR/tQW40ZqrL1rjgCU85W6C1bJn0BItuJqnR98PWzw7Z8hHeChD1WrgdQ== - dependencies: - find-up "^3.0.0" - load-json-file "^5.2.0" - pkg-dir@4.2.0, pkg-dir@^4.2.0: version "4.2.0" resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" @@ -8254,13 +7543,6 @@ please-upgrade-node@^3.0.2, please-upgrade-node@^3.2.0: dependencies: semver-compare "^1.0.0" -plur@^3.1.1: - version "3.1.1" - resolved "https://registry.npmjs.org/plur/-/plur-3.1.1.tgz#60267967866a8d811504fe58f2faaba237546a5b" - integrity sha512-t1Ax8KUvV3FFII8ltczPn2tJdjqbd1sIzu6t4JL7nQ3EyeL/lTrj5PWKb06ic5/6XYDr65rQ4uzQEGN70/6X5w== - dependencies: - irregular-plurals "^2.0.0" - pn@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb" @@ -8281,11 +7563,6 @@ prepend-http@^1.0.1: resolved "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= -prepend-http@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" - integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc= - prettier@1.17.1: version "1.17.1" resolved "https://registry.npmjs.org/prettier/-/prettier-1.17.1.tgz#ed64b4e93e370cb8a25b9ef7fef3e4fd1c0995db" @@ -8301,13 +7578,6 @@ pretty-format@^25.1.0: ansi-styles "^4.0.0" react-is "^16.12.0" -pretty-ms@^5.0.0: - version "5.1.0" - resolved "https://registry.npmjs.org/pretty-ms/-/pretty-ms-5.1.0.tgz#b906bdd1ec9e9799995c372e2b1c34f073f95384" - integrity sha512-4gaK1skD2gwscCfkswYQRmddUb2GJZtzDGRjHWadVHtK/DIKFufa12MvES6/xu1tVbUYeia5bmLcwJtZJQUqnw== - dependencies: - parse-ms "^2.1.0" - prismjs@^1.15.0: version "1.17.1" resolved "https://registry.npmjs.org/prismjs/-/prismjs-1.17.1.tgz#e669fcbd4cdd873c35102881c33b14d0d68519be" @@ -8449,7 +7719,7 @@ range-parser@~1.2.1: resolved "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== -rc@^1.0.1, rc@^1.1.6, rc@^1.2.8: +rc@^1.0.1, rc@^1.1.6: version "1.2.8" resolved "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== @@ -8584,13 +7854,6 @@ readdirp@^2.0.0, readdirp@^2.2.1: micromatch "^3.1.10" readable-stream "^2.0.2" -readdirp@~3.3.0: - version "3.3.0" - resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.3.0.tgz#984458d13a1e42e2e9f5841b129e162f369aff17" - integrity sha512-zz0pAkSPOXXm1viEwygWIPSPkcBYjW1xU5j/JBh5t9bGCJwa6f9+BJa6VaB2g+b55yVrmXzqkyLf4xaWYM0IkQ== - dependencies: - picomatch "^2.0.7" - readline2@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/readline2/-/readline2-1.0.1.tgz#41059608ffc154757b715d9989d199ffbf372e35" @@ -8679,14 +7942,6 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" -regexp.prototype.flags@^1.2.0: - version "1.3.0" - resolved "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz#7aba89b3c13a64509dabcf3ca8d9fbb9bdf5cb75" - integrity sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ== - dependencies: - define-properties "^1.1.3" - es-abstract "^1.17.0-next.1" - regexpu-core@^4.6.0: version "4.6.0" resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.6.0.tgz#2037c18b327cfce8a6fea2a4ec441f2432afb8b6" @@ -8707,14 +7962,6 @@ registry-auth-token@^3.0.1: rc "^1.1.6" safe-buffer "^5.0.1" -registry-auth-token@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.0.0.tgz#30e55961eec77379da551ea5c4cf43cbf03522be" - integrity sha512-lpQkHxd9UL6tb3k/aHAVfnVtn+Bcs9ob5InuFLLEDqSqeq+AljB8GZW9xY0x7F+xYwEcjKe07nyoxzEYz6yvkw== - dependencies: - rc "^1.2.8" - safe-buffer "^5.0.1" - registry-url@^3.0.3: version "3.1.0" resolved "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" @@ -8722,13 +7969,6 @@ registry-url@^3.0.3: dependencies: rc "^1.0.1" -registry-url@^5.0.0: - version "5.1.0" - resolved "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz#e98334b50d5434b81136b44ec638d9c2009c5009" - integrity sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw== - dependencies: - rc "^1.2.8" - regjsgen@^0.5.0: version "0.5.1" resolved "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.1.tgz#48f0bf1a5ea205196929c0d9798b42d1ed98443c" @@ -8741,13 +7981,6 @@ regjsparser@^0.6.0: dependencies: jsesc "~0.5.0" -release-zalgo@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/release-zalgo/-/release-zalgo-1.0.0.tgz#09700b7e5074329739330e535c5a90fb67851730" - integrity sha1-CXALflB0Mpc5Mw5TXFqQ+2eFFzA= - dependencies: - es6-error "^4.0.1" - remove-trailing-separator@^1.0.1: version "1.1.0" resolved "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" @@ -8832,11 +8065,6 @@ require-main-filename@^2.0.0: resolved "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== -require-precompiled@^0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/require-precompiled/-/require-precompiled-0.1.0.tgz#5a1b52eb70ebed43eb982e974c85ab59571e56fa" - integrity sha1-WhtS63Dr7UPrmC6XTIWrWVceVvo= - resolve-cwd@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" @@ -8910,13 +8138,6 @@ resolve@1.x, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.3.2, resolve@^1.8.1: dependencies: path-parse "^1.0.6" -responselike@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" - integrity sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec= - dependencies: - lowercase-keys "^1.0.0" - restore-cursor@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541" @@ -8933,14 +8154,6 @@ restore-cursor@^2.0.0: onetime "^2.0.0" signal-exit "^3.0.2" -restore-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" - integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== - dependencies: - onetime "^5.1.0" - signal-exit "^3.0.2" - ret@~0.1.10: version "0.1.15" resolved "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" @@ -9132,11 +8345,6 @@ send@0.17.1: range-parser "~1.2.1" statuses "~1.5.0" -serialize-error@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/serialize-error/-/serialize-error-2.1.0.tgz#50b679d5635cdf84667bdc8e59af4e5b81d5f60a" - integrity sha1-ULZ51WNc34Rme9yOWa9OW4HV9go= - serve-static@^1.12.1: version "1.14.1" resolved "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz#666e636dc4f010f7ef29970a88a674320898b2f9" @@ -9244,15 +8452,6 @@ slice-ansi@0.0.4: resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" integrity sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU= -slice-ansi@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz#31ddc10930a1b7e0b67b08c96c2f49b77a789787" - integrity sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ== - dependencies: - ansi-styles "^4.0.0" - astral-regex "^2.0.0" - is-fullwidth-code-point "^3.0.0" - slide@^1.1.6: version "1.1.6" resolved "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" @@ -9327,7 +8526,7 @@ source-map-resolve@^0.5.0: source-map-url "^0.4.0" urix "^0.1.0" -source-map-support@^0.5.13, source-map-support@^0.5.6: +source-map-support@^0.5.6: version "0.5.16" resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.16.tgz#0ae069e7fe3ba7538c64c98515e35339eac5a042" integrity sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ== @@ -9444,7 +8643,7 @@ ssri@^6.0.0, ssri@^6.0.1: dependencies: figgy-pudding "^3.5.1" -stack-utils@^1.0.1, stack-utils@^1.0.2: +stack-utils@^1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.2.tgz#33eba3897788558bebfc2db059dc158ec36cebb8" integrity sha512-MTX+MeG5U994cazkjd/9KNAapsHnibjMLnfXodlkXw76JEea0UiNzrqidzo1emMwk7w5Qhc9jd4Bn9TBb1MFwA== @@ -9612,13 +8811,6 @@ strip-ansi@^6.0.0: dependencies: ansi-regex "^5.0.0" -strip-bom-buf@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/strip-bom-buf/-/strip-bom-buf-2.0.0.tgz#ff9c223937f8e7154b77e9de9bde094186885c15" - integrity sha512-gLFNHucd6gzb8jMsl5QmZ3QgnUJmp7qn4uUSHNwEXumAp7YizoGYw19ZUVfuq4aBOQUtyn2k8X/CwzWB73W2lQ== - dependencies: - is-utf8 "^0.2.1" - strip-bom@3.0.0, strip-bom@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" @@ -9672,17 +8864,6 @@ strong-log-transformer@^2.0.0: minimist "^1.2.0" through "^2.3.4" -supertap@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/supertap/-/supertap-1.0.0.tgz#bd9751c7fafd68c68cf8222a29892206a119fa9e" - integrity sha512-HZJ3geIMPgVwKk2VsmO5YHqnnJYl6bV5A9JW2uzqV43WmpgliNEYbuvukfor7URpaqpxuw3CfZ3ONdVbZjCgIA== - dependencies: - arrify "^1.0.1" - indent-string "^3.2.0" - js-yaml "^3.10.0" - serialize-error "^2.1.0" - strip-ansi "^4.0.0" - supports-color@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" @@ -9710,7 +8891,7 @@ supports-hyperlinks@^2.0.0: has-flag "^4.0.0" supports-color "^7.0.0" -symbol-observable@^1.0.4, symbol-observable@^1.1.0: +symbol-observable@^1.1.0: version "1.2.0" resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ== @@ -9844,11 +9025,6 @@ through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6: resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= -time-zone@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/time-zone/-/time-zone-1.0.0.tgz#99c5bf55958966af6d06d83bdf3800dc82faec5d" - integrity sha1-mcW/VZWJZq9tBtg73zgA3IL67F0= - timed-out@^4.0.0: version "4.0.1" resolved "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" @@ -9895,11 +9071,6 @@ to-object-path@^0.3.0: dependencies: kind-of "^3.0.2" -to-readable-stream@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz#ce0aa0c2f3df6adf852efb404a783e77c0475771" - integrity sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q== - to-regex-range@^2.1.0: version "2.1.1" resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" @@ -9977,16 +9148,11 @@ trim-newlines@^2.0.0: resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-2.0.0.tgz#b403d0b91be50c331dfc4b82eeceb22c3de16d20" integrity sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA= -trim-off-newlines@^1.0.0, trim-off-newlines@^1.0.1: +trim-off-newlines@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3" integrity sha1-n5up2e+odkw4dpi8v+sshI8RrbM= -trim-right@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" - integrity sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM= - ts-jest@25.2.0: version "25.2.0" resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-25.2.0.tgz#dfd87c2b71ef4867f5a0a44f40cb9c67e02991ac" @@ -10047,7 +9213,7 @@ type-fest@^0.6.0: resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg== -type-fest@^0.8.0, type-fest@^0.8.1: +type-fest@^0.8.1: version "0.8.1" resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== @@ -10082,11 +9248,6 @@ uid-number@0.0.6: resolved "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" integrity sha1-DqEOgDXo61uOREnwbaHHMGY7qoE= -uid2@0.0.3: - version "0.0.3" - resolved "https://registry.npmjs.org/uid2/-/uid2-0.0.3.tgz#483126e11774df2f71b8b639dcd799c376162b82" - integrity sha1-SDEm4Rd03y9xuLY53NeZw3YWK4I= - ultron@1.0.x: version "1.0.2" resolved "https://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz#ace116ab557cd197386a4e88f4685378c8b2e4fa" @@ -10151,15 +9312,6 @@ unique-string@^1.0.0: dependencies: crypto-random-string "^1.0.0" -unique-temp-dir@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/unique-temp-dir/-/unique-temp-dir-1.0.0.tgz#6dce95b2681ca003eebfb304a415f9cbabcc5385" - integrity sha1-bc6VsmgcoAPuv7MEpBX5y6vMU4U= - dependencies: - mkdirp "^0.5.1" - os-tmpdir "^1.0.1" - uid2 "0.0.3" - universal-user-agent@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-4.0.0.tgz#27da2ec87e32769619f68a14996465ea1cb9df16" @@ -10211,24 +9363,6 @@ update-notifier@^2.1.0: semver-diff "^2.0.0" xdg-basedir "^3.0.0" -update-notifier@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/update-notifier/-/update-notifier-3.0.1.tgz#78ecb68b915e2fd1be9f767f6e298ce87b736250" - integrity sha512-grrmrB6Zb8DUiyDIaeRTBCkgISYUgETNe7NglEbVsrLWXeESnlCSP50WfRSj/GmzMPl6Uchj24S/p80nP/ZQrQ== - dependencies: - boxen "^3.0.0" - chalk "^2.0.1" - configstore "^4.0.0" - has-yarn "^2.1.0" - import-lazy "^2.1.0" - is-ci "^2.0.0" - is-installed-globally "^0.1.0" - is-npm "^3.0.0" - is-yarn-global "^0.3.0" - latest-version "^5.0.0" - semver-diff "^2.0.0" - xdg-basedir "^3.0.0" - uri-js@^4.2.2: version "4.2.2" resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" @@ -10248,13 +9382,6 @@ url-parse-lax@^1.0.0: dependencies: prepend-http "^1.0.1" -url-parse-lax@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c" - integrity sha1-FrXK/Afb42dsGxmZF3gj1lA6yww= - dependencies: - prepend-http "^2.0.0" - use@^3.1.0: version "3.1.1" resolved "https://registry.npmjs.org/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" @@ -10362,7 +9489,7 @@ walker@^1.0.7, walker@~1.0.5: dependencies: makeerror "1.0.x" -wcwidth@^1.0.0, wcwidth@^1.0.1: +wcwidth@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" integrity sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g= @@ -10374,11 +9501,6 @@ webidl-conversions@^4.0.2: resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg== -well-known-symbols@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/well-known-symbols/-/well-known-symbols-2.0.0.tgz#e9c7c07dbd132b7b84212c8174391ec1f9871ba5" - integrity sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q== - whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0" @@ -10578,7 +9700,7 @@ xmlchars@^2.1.1: resolved "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== -xtend@^4.0.0, xtend@~4.0.1: +xtend@~4.0.1: version "4.0.2" resolved "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== From a1fdb764b706bc71e85755f6f312e1d1670ebc9c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2020 09:59:27 +1100 Subject: [PATCH 0048/2192] chore: update dependency cross-env to v7 (#928) Co-authored-by: WhiteSource Renovate --- @commitlint/cli/package.json | 2 +- @commitlint/lint/package.json | 2 +- @commitlint/prompt/package.json | 2 +- @commitlint/travis-cli/package.json | 2 +- yarn.lock | 12 ++++++------ 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index b0bc43eac7..fab00ef91e 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -49,7 +49,7 @@ "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "babel-preset-commitlint": "^8.2.0", - "cross-env": "6.0.3", + "cross-env": "7.0.0", "execa": "0.11.0", "sander": "0.6.0", "string-to-stream": "3.0.1" diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index daaf955f0a..02bd18f270 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -46,7 +46,7 @@ "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "babel-preset-commitlint": "^8.2.0", - "cross-env": "6.0.3", + "cross-env": "7.0.0", "execa": "0.11.0" }, "dependencies": { diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 4811b66c2f..4d520f79e8 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -47,7 +47,7 @@ "@commitlint/utils": "^8.3.4", "babel-preset-commitlint": "^8.2.0", "commitizen": "3.1.2", - "cross-env": "6.0.3" + "cross-env": "7.0.0" }, "dependencies": { "@commitlint/load": "^8.3.5", diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index bc3b8c2afe..2c5fabd280 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -47,7 +47,7 @@ "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "babel-preset-commitlint": "^8.2.0", - "cross-env": "6.0.3" + "cross-env": "7.0.0" }, "dependencies": { "@commitlint/cli": "^8.3.5", diff --git a/yarn.lock b/yarn.lock index 4d059f217d..5d3b009649 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3338,12 +3338,12 @@ create-error-class@^3.0.0: dependencies: capture-stack-trace "^1.0.0" -cross-env@6.0.3: - version "6.0.3" - resolved "https://registry.npmjs.org/cross-env/-/cross-env-6.0.3.tgz#4256b71e49b3a40637a0ce70768a6ef5c72ae941" - integrity sha512-+KqxF6LCvfhWvADcDPqo64yVIB31gv/jQulX2NGzKS/g3GEVz6/pt4wjHFtFWsHMddebWD/sDthJemzM4MaAag== +cross-env@7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/cross-env/-/cross-env-7.0.0.tgz#5a3b2ddce51ec713ea58f2fb79ce22e65b4f5479" + integrity sha512-rV6M9ldNgmwP7bx5u6rZsTbYidzwvrwIYZnT08hSGLcQCcggofgFW+sNe7IhA1SRauPS0QuLbbX+wdNtpqE5CQ== dependencies: - cross-spawn "^7.0.0" + cross-spawn "^7.0.1" cross-spawn@^5.0.1: version "5.1.0" @@ -3365,7 +3365,7 @@ cross-spawn@^6.0.0: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^7.0.0: +cross-spawn@^7.0.1: version "7.0.1" resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.1.tgz#0ab56286e0f7c24e153d04cc2aa027e43a9a5d14" integrity sha512-u7v4o84SwFpD32Z8IIcPZ6z1/ie24O6RU3RbtL5Y316l3KuHVPx9ItBgWQ6VlfAFnRnTtMUrsQ9MUUTuEZjogg== From eaf6ba2b8e92f19c0edb459b82d1fe8ebf2c30b8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2020 10:08:40 +1100 Subject: [PATCH 0049/2192] chore: update dependency globby to v11 (#893) Co-authored-by: WhiteSource Renovate --- @commitlint/config-patternplate/package.json | 2 +- @commitlint/ensure/package.json | 2 +- @commitlint/rules/package.json | 2 +- yarn.lock | 20 +++++++++----------- 4 files changed, 12 insertions(+), 14 deletions(-) diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 652a245661..7efa2a559a 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -30,7 +30,7 @@ "homepage": "https://github.com/conventional-changelog/commitlint#readme", "dependencies": { "@commitlint/config-angular": "^8.3.4", - "globby": "^10.0.2", + "globby": "^11.0.0", "lodash": "^4.17.15" }, "devDependencies": { diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 901870af08..9a5b2fc3b6 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -35,7 +35,7 @@ "license": "MIT", "devDependencies": { "@commitlint/utils": "^8.3.4", - "globby": "10.0.2" + "globby": "11.0.0" }, "dependencies": { "lodash": "^4.17.15" diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index b5f7322ee1..07edd0a709 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -38,7 +38,7 @@ "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "conventional-changelog-angular": "5.0.6", - "globby": "^10.0.2", + "globby": "^11.0.0", "lodash": "^4.17.15" }, "dependencies": { diff --git a/yarn.lock b/yarn.lock index 5d3b009649..d7469bc796 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4078,7 +4078,7 @@ fast-glob@^2.2.6: merge2 "^1.2.3" micromatch "^3.1.10" -fast-glob@^3.0.3: +fast-glob@^3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.1.1.tgz#87ee30e9e9f3eb40d6f254a7997655da753d7c82" integrity sha512-nTCREpBY8w8r+boyFYAx21iL6faSsQynliPHM4Uf56SbkyohCNxpVPEH9xrF5TXKy+IsjkPUHDKiUkzBVRXn9g== @@ -4629,18 +4629,16 @@ globals@^11.1.0: resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globby@10.0.2, globby@^10.0.2: - version "10.0.2" - resolved "https://registry.npmjs.org/globby/-/globby-10.0.2.tgz#277593e745acaa4646c3ab411289ec47a0392543" - integrity sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg== +globby@11.0.0, globby@^11.0.0: + version "11.0.0" + resolved "https://registry.npmjs.org/globby/-/globby-11.0.0.tgz#56fd0e9f0d4f8fb0c456f1ab0dee96e1380bc154" + integrity sha512-iuehFnR3xu5wBBtm4xi0dMe92Ob87ufyu/dHwpDYfbcpYpIbrO5OnS8M1vWvrBhSGEJ3/Ecj7gnX76P8YxpPEg== dependencies: - "@types/glob" "^7.1.1" array-union "^2.1.0" dir-glob "^3.0.1" - fast-glob "^3.0.3" - glob "^7.1.3" - ignore "^5.1.1" - merge2 "^1.2.3" + fast-glob "^3.1.1" + ignore "^5.1.4" + merge2 "^1.3.0" slash "^3.0.0" globby@^6.1.0: @@ -4913,7 +4911,7 @@ ignore@^4.0.3: resolved "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== -ignore@^5.1.1: +ignore@^5.1.4: version "5.1.4" resolved "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz#84b7b3dbe64552b6ef0eca99f6743dbec6d97adf" integrity sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A== From 3956489d4a262a6b1869ddb9d2a8d2556be9a069 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2020 10:13:41 +1100 Subject: [PATCH 0050/2192] chore: update dependency lint-staged to v10 (#930) Co-authored-by: WhiteSource Renovate --- package.json | 2 +- yarn.lock | 222 ++++++++++----------------------------------------- 2 files changed, 45 insertions(+), 179 deletions(-) diff --git a/package.json b/package.json index 21e29fa6cb..5ab3d92dbc 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "husky": "4.2.1", "jest": "25.1.0", "lerna": "3.20.2", - "lint-staged": "8.2.1", + "lint-staged": "10.0.7", "prettier": "1.17.1", "ts-jest": "25.2.0", "typescript": "3.7.5" diff --git a/yarn.lock b/yarn.lock index d7469bc796..613ae8a833 100644 --- a/yarn.lock +++ b/yarn.lock @@ -763,13 +763,6 @@ js-levenshtein "^1.1.3" semver "^5.5.0" -"@babel/runtime@^7.0.0": - version "7.7.7" - resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.7.7.tgz#194769ca8d6d7790ec23605af9ee3e42a0aa79cf" - integrity sha512-uCnC2JEVAu8AKB5do1WRIsvrdJ0flYx/A/9f/6chdacnEZ7LmavjdsDXr5ksYBegxtuTPR5Va9/+13QF/kFkCA== - dependencies: - regenerator-runtime "^0.13.2" - "@babel/runtime@^7.6.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.8.3.tgz#0811944f73a6c926bb2ad35e918dcc1bfab279f1" @@ -2331,7 +2324,7 @@ array-ify@^1.0.0: resolved "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" integrity sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4= -array-union@^1.0.1, array-union@^1.0.2: +array-union@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" integrity sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk= @@ -3041,16 +3034,16 @@ combined-stream@^1.0.6, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" -commander@^2.14.1, commander@^2.9.0, commander@~2.20.3: - version "2.20.3" - resolved "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - commander@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/commander/-/commander-4.0.1.tgz#b67622721785993182e807f4883633e6401ba53c" integrity sha512-IPF4ouhCP+qdlcmCedhxX4xiGBPyigb8v5NeUp+0LyhwLgxMqyp3S0vl7TAPfS/hiP7FC3caI/PB9lTmP8r1NA== +commander@~2.20.3: + version "2.20.3" + resolved "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" + integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== + commitizen@3.1.2: version "3.1.2" resolved "https://registry.npmjs.org/commitizen/-/commitizen-3.1.2.tgz#29ddd8b39396923e9058a0e4840cbeef144290be" @@ -3299,7 +3292,7 @@ core-util-is@1.0.2, core-util-is@~1.0.0: resolved "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= -cosmiconfig@^5.1.0, cosmiconfig@^5.2.0: +cosmiconfig@^5.1.0: version "5.2.1" resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" integrity sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA== @@ -3473,7 +3466,7 @@ debug@^3.1.0: dependencies: ms "^2.1.1" -debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: +debug@^4.1.0, debug@^4.1.1: version "4.1.1" resolved "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== @@ -3554,18 +3547,6 @@ define-property@^2.0.2: is-descriptor "^1.0.2" isobject "^3.0.1" -del@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/del/-/del-3.0.0.tgz#53ecf699ffcbcb39637691ab13baf160819766e5" - integrity sha1-U+z2mf/LyzljdpGrE7rxYIGXZuU= - dependencies: - globby "^6.1.0" - is-path-cwd "^1.0.0" - is-path-in-cwd "^1.0.0" - p-map "^1.1.1" - pify "^3.0.0" - rimraf "^2.2.8" - delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" @@ -3839,7 +3820,7 @@ escape-html@~1.0.3: resolved "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= -escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.4, escape-string-regexp@^1.0.5: +escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= @@ -3925,7 +3906,7 @@ execa@^1.0.0: signal-exit "^3.0.0" strip-eof "^1.0.0" -execa@^3.2.0: +execa@^3.2.0, execa@^3.4.0: version "3.4.0" resolved "https://registry.npmjs.org/execa/-/execa-3.4.0.tgz#c08ed4550ef65d858fac269ffc8572446f37eb89" integrity sha512-r9vdGQk4bmCuK1yKQu1KTwcT2zwfWdbdaXfCtAh+5nU/4fSX+JAb7vZGvI5naJrQlvONrEB20jeruESI69530g== @@ -4246,11 +4227,6 @@ flush-write-stream@^1.0.0: inherits "^2.0.3" readable-stream "^2.3.6" -fn-name@~2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/fn-name/-/fn-name-2.0.1.tgz#5214d7537a4d06a4a301c0cc262feb84188002e7" - integrity sha1-UhTXU3pNBqSjAcDMJi/rhBiAAuc= - for-in@^1.0.1, for-in@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" @@ -4373,15 +4349,6 @@ function-bind@^1.1.1: resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== -g-status@^2.0.2: - version "2.0.2" - resolved "https://registry.npmjs.org/g-status/-/g-status-2.0.2.tgz#270fd32119e8fc9496f066fe5fe88e0a6bc78b97" - integrity sha512-kQoE9qH+T1AHKgSSD0Hkv98bobE90ILQcXAF4wvGgsr7uFqNvwmh8j+Lq3l0RVt3E3HjSbv2B9biEGcEtpHLCA== - dependencies: - arrify "^1.0.1" - matcher "^1.0.0" - simple-git "^1.85.0" - gauge@~2.7.3: version "2.7.4" resolved "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" @@ -4585,7 +4552,7 @@ glob@7.1.3: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: +glob@^7.0.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: version "7.1.6" resolved "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== @@ -4641,17 +4608,6 @@ globby@11.0.0, globby@^11.0.0: merge2 "^1.3.0" slash "^3.0.0" -globby@^6.1.0: - version "6.1.0" - resolved "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" - integrity sha1-9abXDoOV4hyFj7BInWTfAkJNUGw= - dependencies: - array-union "^1.0.1" - glob "^7.0.3" - object-assign "^4.0.1" - pify "^2.0.0" - pinkie-promise "^2.0.0" - globby@^9.2.0: version "9.2.0" resolved "https://registry.npmjs.org/globby/-/globby-9.2.0.tgz#fd029a706c703d29bdd170f4b6db3a3f7a7cb63d" @@ -5327,18 +5283,6 @@ is-observable@^1.1.0: dependencies: symbol-observable "^1.1.0" -is-path-cwd@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" - integrity sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0= - -is-path-in-cwd@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz#5ac48b345ef675339bd6c7a48a912110b241cf52" - integrity sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ== - dependencies: - is-path-inside "^1.0.0" - is-path-inside@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" @@ -6088,35 +6032,24 @@ lines-and-columns@^1.1.6: resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= -lint-staged@8.2.1: - version "8.2.1" - resolved "https://registry.npmjs.org/lint-staged/-/lint-staged-8.2.1.tgz#752fcf222d9d28f323a3b80f1e668f3654ff221f" - integrity sha512-n0tDGR/rTCgQNwXnUf/eWIpPNddGWxC32ANTNYsj2k02iZb7Cz5ox2tytwBu+2r0zDXMEMKw7Y9OD/qsav561A== +lint-staged@10.0.7: + version "10.0.7" + resolved "https://registry.npmjs.org/lint-staged/-/lint-staged-10.0.7.tgz#d205f92d9359419a23bc6aa3b6f8546b1998da64" + integrity sha512-Byj0F4l7GYUpYYHEqyFH69NiI6ICTg0CeCKbhRorL+ickbzILKUlZLiyCkljZV02wnoh7yH7PmFyYm9PRNwk9g== dependencies: - chalk "^2.3.1" - commander "^2.14.1" - cosmiconfig "^5.2.0" - debug "^3.1.0" + chalk "^3.0.0" + commander "^4.0.1" + cosmiconfig "^6.0.0" + debug "^4.1.1" dedent "^0.7.0" - del "^3.0.0" - execa "^1.0.0" - g-status "^2.0.2" - is-glob "^4.0.0" - is-windows "^1.0.2" - listr "^0.14.2" - listr-update-renderer "^0.5.0" - lodash "^4.17.11" - log-symbols "^2.2.0" - micromatch "^3.1.8" - npm-which "^3.0.1" - p-map "^1.1.1" - path-is-inside "^1.0.2" - pify "^3.0.0" - please-upgrade-node "^3.0.2" - staged-git-files "1.1.2" - string-argv "^0.0.2" - stringify-object "^3.2.2" - yup "^0.27.0" + execa "^3.4.0" + listr "^0.14.3" + log-symbols "^3.0.0" + micromatch "^4.0.2" + normalize-path "^3.0.0" + please-upgrade-node "^3.2.0" + string-argv "0.3.1" + stringify-object "^3.3.0" listr-silent-renderer@^1.1.1: version "1.1.1" @@ -6147,7 +6080,7 @@ listr-verbose-renderer@^0.5.0: date-fns "^1.27.2" figures "^2.0.0" -listr@^0.14.2: +listr@^0.14.3: version "0.14.3" resolved "https://registry.npmjs.org/listr/-/listr-0.14.3.tgz#2fea909604e434be464c50bddba0d496928fa586" integrity sha512-RmAl7su35BFd/xoMamRjpIE4j3v+L28o8CT5YhAXQJm1fD+1l9ngXY8JAQRJ+tFK2i5njvi0iRUKV09vPwA0iA== @@ -6286,7 +6219,7 @@ lodash.uniq@^4.5.0: resolved "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@4.17.14, lodash@4.17.15, lodash@^3.3.1, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.2.1, lodash@^4.5.1: +lodash@4.17.14, lodash@4.17.15, lodash@^3.3.1, lodash@^4.17.10, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.2.1, lodash@^4.5.1: version "4.17.15" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== @@ -6298,12 +6231,12 @@ log-symbols@^1.0.2: dependencies: chalk "^1.0.0" -log-symbols@^2.2.0: - version "2.2.0" - resolved "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a" - integrity sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg== +log-symbols@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/log-symbols/-/log-symbols-3.0.0.tgz#f3a08516a5dea893336a7dee14d18a1cfdab77c4" + integrity sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ== dependencies: - chalk "^2.0.1" + chalk "^2.4.2" log-update@^1.0.2: version "1.0.2" @@ -6452,13 +6385,6 @@ marked@0.3.9, marked@^0.7.0: resolved "https://registry.npmjs.org/marked/-/marked-0.3.9.tgz#54ce6a57e720c3ac6098374ec625fcbcc97ff290" integrity sha512-nW5u0dxpXxHfkHzzrveY45gCbi+R4PaO4WRZYqZNl+vB0hVGeqlFn0aOg1c8AKL63TrNFn9Bm2UP4AdiZ9TPLw== -matcher@^1.0.0: - version "1.1.1" - resolved "https://registry.npmjs.org/matcher/-/matcher-1.1.1.tgz#51d8301e138f840982b338b116bb0c09af62c1c2" - integrity sha512-+BmqxWIubKTRKNWx/ahnCkk3mG8m7OturVlqq6HiojGJTd5hVYbgZm6WzcYPCoB+KBT4Vd6R7WSRG2OADNaCjg== - dependencies: - escape-string-regexp "^1.0.4" - math-random@^1.0.1: version "1.0.4" resolved "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz#5dd6943c938548267016d4e34f057583080c514c" @@ -6549,7 +6475,7 @@ micromatch@^2.1.5: parse-glob "^3.0.4" regex-cache "^0.4.2" -micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.8: +micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4: version "3.1.10" resolved "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== @@ -6952,13 +6878,6 @@ npm-packlist@^1.4.4: ignore-walk "^3.0.1" npm-bundled "^1.0.1" -npm-path@^2.0.2: - version "2.0.4" - resolved "https://registry.npmjs.org/npm-path/-/npm-path-2.0.4.tgz#c641347a5ff9d6a09e4d9bce5580c4f505278e64" - integrity sha512-IFsj0R9C7ZdR5cP+ET342q77uSRdtWOlWpih5eC+lu29tIDbNEgDbzgVJ5UFvYHWhxDZ5TFkJafFioO0pPQjCw== - dependencies: - which "^1.2.10" - npm-pick-manifest@^3.0.0: version "3.0.2" resolved "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-3.0.2.tgz#f4d9e5fd4be2153e5f4e5f9b7be8dc419a99abb7" @@ -6982,15 +6901,6 @@ npm-run-path@^4.0.0: dependencies: path-key "^3.0.0" -npm-which@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/npm-which/-/npm-which-3.0.1.tgz#9225f26ec3a285c209cae67c3b11a6b4ab7140aa" - integrity sha1-kiXybsOihcIJyuZ8OxGmtKtxQKo= - dependencies: - commander "^2.9.0" - npm-path "^2.0.2" - which "^1.2.10" - npmlog@^4.1.2: version "4.1.2" resolved "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" @@ -7250,11 +7160,6 @@ p-map-series@^1.0.0: dependencies: p-reduce "^1.0.0" -p-map@^1.1.1: - version "1.2.0" - resolved "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz#e4e94f311eabbc8633a1e79908165fca26241b6b" - integrity sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA== - p-map@^2.0.0, p-map@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" @@ -7430,7 +7335,7 @@ path-is-absolute@^1.0.0: resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= -path-is-inside@^1.0.1, path-is-inside@^1.0.2: +path-is-inside@^1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= @@ -7534,7 +7439,7 @@ pkg-dir@^3.0.0: dependencies: find-up "^3.0.0" -please-upgrade-node@^3.0.2, please-upgrade-node@^3.2.0: +please-upgrade-node@^3.2.0: version "3.2.0" resolved "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz#aeddd3f994c933e4ad98b99d9a556efa0e2fe942" integrity sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg== @@ -7621,11 +7526,6 @@ promzard@^0.3.0: dependencies: read "1" -property-expr@^1.5.0: - version "1.5.1" - resolved "https://registry.npmjs.org/property-expr/-/property-expr-1.5.1.tgz#22e8706894a0c8e28d58735804f6ba3a3673314f" - integrity sha512-CGuc0VUTGthpJXL36ydB6jnbyOf/rAHFvmVrJlH+Rg0DqqLFQGAP6hIaxD/G0OAmBJPhXDHuEJigrp0e0wFV6g== - proto-list@~1.2.1: version "1.2.4" resolved "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" @@ -8172,7 +8072,7 @@ right-pad@^1.0.1: resolved "https://registry.npmjs.org/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0" integrity sha1-jKCMLLtbVedNr6lr9/0aJ9VoyNA= -rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3: +rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3: version "2.7.1" resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== @@ -8423,13 +8323,6 @@ signal-exit@^3.0.0, signal-exit@^3.0.2: resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= -simple-git@^1.85.0: - version "1.129.0" - resolved "https://registry.npmjs.org/simple-git/-/simple-git-1.129.0.tgz#eddd2611d2bf41c77e1d08cd70c0b7f3af785040" - integrity sha512-XbzNmugMTeV2crZnPl+b1ZJn+nqXCUNyrZxDXpLM0kHL3B85sbPlpd8q9I4qtAHI9D2FxTB6w4BuiAGKYtyzKw== - dependencies: - debug "^4.0.1" - sisteransi@^1.0.3: version "1.0.4" resolved "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.4.tgz#386713f1ef688c7c0304dc4c0632898941cad2e3" @@ -8646,11 +8539,6 @@ stack-utils@^1.0.1: resolved "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.2.tgz#33eba3897788558bebfc2db059dc158ec36cebb8" integrity sha512-MTX+MeG5U994cazkjd/9KNAapsHnibjMLnfXodlkXw76JEea0UiNzrqidzo1emMwk7w5Qhc9jd4Bn9TBb1MFwA== -staged-git-files@1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/staged-git-files/-/staged-git-files-1.1.2.tgz#4326d33886dc9ecfa29a6193bf511ba90a46454b" - integrity sha512-0Eyrk6uXW6tg9PYkhi/V/J4zHp33aNyi2hOCmhFLqLTIhbgqWn5jlSzI+IU0VqrZq6+DbHcabQl/WP6P3BG0QA== - static-extend@^0.1.1: version "0.1.2" resolved "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" @@ -8682,10 +8570,10 @@ stream-shift@^1.0.0: resolved "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ== -string-argv@^0.0.2: - version "0.0.2" - resolved "https://registry.npmjs.org/string-argv/-/string-argv-0.0.2.tgz#dac30408690c21f3c3630a3ff3a05877bdcbd736" - integrity sha1-2sMECGkMIfPDYwo/86BYd73L1zY= +string-argv@0.3.1: + version "0.3.1" + resolved "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da" + integrity sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg== string-length@^3.1.0: version "3.1.0" @@ -8767,7 +8655,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -stringify-object@^3.2.2: +stringify-object@^3.3.0: version "3.3.0" resolved "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz#703065aefca19300d3ce88af4f5b3956d7556629" integrity sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw== @@ -8899,11 +8787,6 @@ symbol-tree@^3.2.2: resolved "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== -synchronous-promise@^2.0.6: - version "2.0.10" - resolved "https://registry.npmjs.org/synchronous-promise/-/synchronous-promise-2.0.10.tgz#e64c6fd3afd25f423963353043f4a68ebd397fd8" - integrity sha512-6PC+JRGmNjiG3kJ56ZMNWDPL8hjyghF5cMXIFOKg+NiwwEZZIvxTWd0pinWKyD227odg9ygF8xVhhz7gb8Uq7A== - tar-fs@2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/tar-fs/-/tar-fs-2.0.0.tgz#677700fc0c8b337a78bee3623fdc235f21d7afad" @@ -9099,11 +8982,6 @@ toidentifier@1.0.0: resolved "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553" integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw== -toposort@^2.0.2: - version "2.0.2" - resolved "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz#ae21768175d1559d48bef35420b2f4962f09c330" - integrity sha1-riF2gXXRVZ1IvvNUILL0li8JwzA= - tough-cookie@^2.3.3: version "2.5.0" resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" @@ -9535,7 +9413,7 @@ which-pm-runs@^1.0.0: resolved "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz#670b3afbc552e0b55df6b7780ca74615f23ad1cb" integrity sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs= -which@^1.2.10, which@^1.2.14, which@^1.2.9, which@^1.3.1: +which@^1.2.14, which@^1.2.9, which@^1.3.1: version "1.3.1" resolved "https://registry.npmjs.org/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== @@ -9821,15 +9699,3 @@ yargs@^7.0.2: which-module "^1.0.0" y18n "^3.2.1" yargs-parser "^5.0.0" - -yup@^0.27.0: - version "0.27.0" - resolved "https://registry.npmjs.org/yup/-/yup-0.27.0.tgz#f8cb198c8e7dd2124beddc2457571329096b06e7" - integrity sha512-v1yFnE4+u9za42gG/b/081E7uNW9mUj3qtkmelLbW5YPROZzSH/KUUyJu9Wt8vxFJcT9otL/eZopS0YK1L5yPQ== - dependencies: - "@babel/runtime" "^7.0.0" - fn-name "~2.0.1" - lodash "^4.17.11" - property-expr "^1.5.0" - synchronous-promise "^2.0.6" - toposort "^2.0.2" From 6b86efe2421e135e870f6769b01126ef4697acff Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2020 10:21:16 +1100 Subject: [PATCH 0051/2192] chore: update dependency lerna to ^3.20.2 (#936) Co-authored-by: WhiteSource Renovate --- @commitlint/config-lerna-scopes/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index 7d97d0a114..7f90683ef8 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "peerDependencies": { - "lerna": "^3.0.0" + "lerna": "^3.20.2" }, "dependencies": { "import-from": "3.0.0", From a296d811b30e9da0afbb9c6c71b7620cbc905d93 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Wed, 5 Feb 2020 10:35:31 +1100 Subject: [PATCH 0052/2192] chore: update docsify (#937) --- package.json | 13 +- yarn.lock | 795 ++++++++++++++++++--------------------------------- 2 files changed, 278 insertions(+), 530 deletions(-) diff --git a/package.json b/package.json index 5ab3d92dbc..9f0db03e87 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "devDependencies": { "@lerna/project": "3.18.0", "@types/jest": "25.1.1", - "docsify-cli": "4.3.0", + "docsify-cli": "^4.4.0", "husky": "4.2.1", "jest": "25.1.0", "lerna": "3.20.2", @@ -94,15 +94,6 @@ } }, "resolutions": { - "**/lodash": "4.17.15", - "docsify-cli/**/randomatic": "3", - "docsify-cli/**/stringstream": "0.0.6", - "docsify-cli/**/sshpk": "1.14.1", - "docsify-cli/**/marked": "0.3.9", - "docsify-cli/**/hoek": "5.0.3", - "docsify-cli/**/braces": "2.3.1", - "deep-extend": "0.5.1", - "moment": "2.19.3", - "js-yaml": ">=3.13.0" + "**/lodash": "4.17.15" } } diff --git a/yarn.lock b/yarn.lock index 613ae8a833..534be0ec29 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1894,6 +1894,11 @@ dependencies: any-observable "^0.3.0" +"@sindresorhus/is@^0.14.0": + version "0.14.0" + resolved "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" + integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== + "@sinonjs/commons@^1.7.0": version "1.7.0" resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.7.0.tgz#f90ffc52a2e519f018b13b6c4da03cbff36ebed6" @@ -1901,6 +1906,13 @@ dependencies: type-detect "4.0.8" +"@szmarczak/http-timer@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421" + integrity sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA== + dependencies: + defer-to-connect "^1.0.1" + "@types/babel__core@^7.1.0": version "7.1.3" resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.3.tgz#e441ea7df63cd080dfcd02ab199e6d16a735fc30" @@ -2159,12 +2171,12 @@ ajv@^6.5.5: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ansi-align@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/ansi-align/-/ansi-align-2.0.0.tgz#c36aeccba563b89ceb556f3690f0b1d9e3547f7f" - integrity sha1-w2rsy6VjuJzrVW82kPCx2eNUf38= +ansi-align@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz#b536b371cf687caaef236c18d3e21fe3797467cb" + integrity sha512-ZpClVKqXN3RGBmKibdfWzqCY4lnjEuoNzU5T0oEFpfd/z5qJHVarukridD4juLO2FXMiwUQxr9WqQtaYa8XRYw== dependencies: - string-width "^2.0.0" + string-width "^3.0.0" ansi-escapes@^1.0.0, ansi-escapes@^1.1.0: version "1.4.0" @@ -2233,14 +2245,6 @@ any-promise@^1.0.0: resolved "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" integrity sha1-q8av7tzqUugJzcA3au0845Y10X8= -anymatch@^1.3.0: - version "1.3.2" - resolved "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz#553dcb8f91e3c889845dfdba34c77721b90b9d7a" - integrity sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA== - dependencies: - micromatch "^2.1.5" - normalize-path "^2.0.0" - anymatch@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" @@ -2282,19 +2286,12 @@ argparse@^1.0.7: dependencies: sprintf-js "~1.0.2" -arr-diff@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" - integrity sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8= - dependencies: - arr-flatten "^1.0.1" - arr-diff@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" integrity sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA= -arr-flatten@^1.0.1, arr-flatten@^1.1.0: +arr-flatten@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" integrity sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg== @@ -2341,11 +2338,6 @@ array-uniq@^1.0.1: resolved "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY= -array-unique@^0.2.1: - version "0.2.1" - resolved "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" - integrity sha1-odl8yvy8JiXMcPrc6zalDFiwGlM= - array-unique@^0.3.2: version "0.3.2" resolved "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" @@ -2383,11 +2375,16 @@ astral-regex@^1.0.0: resolved "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg== -async-each@^1.0.0, async-each@^1.0.1: +async-each@^1.0.1: version "1.0.3" resolved "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== +async-limiter@~1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" + integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== + asynckit@^0.4.0: version "0.4.0" resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -2536,17 +2533,18 @@ bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5: resolved "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== -boxen@^1.2.1: - version "1.3.0" - resolved "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b" - integrity sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw== +boxen@^3.0.0: + version "3.2.0" + resolved "https://registry.npmjs.org/boxen/-/boxen-3.2.0.tgz#fbdff0de93636ab4450886b6ff45b92d098f45eb" + integrity sha512-cU4J/+NodM3IHdSL2yN8bqYqnmlBTidDR4RC7nJs61ZmtGz8VZzM3HLQX0zY5mrSmPtR3xWwsq2jOUQqFZN8+A== dependencies: - ansi-align "^2.0.0" - camelcase "^4.0.0" - chalk "^2.0.1" - cli-boxes "^1.0.0" - string-width "^2.0.0" + ansi-align "^3.0.0" + camelcase "^5.3.1" + chalk "^2.4.2" + cli-boxes "^2.2.0" + string-width "^3.0.0" term-size "^1.2.0" + type-fest "^0.3.0" widest-line "^2.0.0" brace-expansion@^1.1.7: @@ -2557,24 +2555,6 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" -braces@2.3.1, braces@^1.8.2: - version "2.3.1" - resolved "https://registry.npmjs.org/braces/-/braces-2.3.1.tgz#7086c913b4e5a08dbe37ac0ee6a2500c4ba691bb" - integrity sha512-SO5lYHA3vO6gz66erVvedSCkp7AKWdv6VcQ2N4ysXfPxdAlxAMMAdwegGGcv1Bqwm7naF1hNdk5d6AAIEHV2nQ== - dependencies: - arr-flatten "^1.1.0" - array-unique "^0.3.2" - define-property "^1.0.0" - extend-shallow "^2.0.1" - fill-range "^4.0.0" - isobject "^3.0.1" - kind-of "^6.0.2" - repeat-element "^1.1.2" - snapdragon "^0.8.1" - snapdragon-node "^2.0.1" - split-string "^3.0.2" - to-regex "^3.0.1" - braces@^2.3.1, braces@^2.3.2: version "2.3.2" resolved "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" @@ -2699,6 +2679,19 @@ cache-base@^1.0.1: union-value "^1.0.0" unset-value "^1.0.0" +cacheable-request@^6.0.0: + version "6.1.0" + resolved "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz#20ffb8bd162ba4be11e9567d823db651052ca912" + integrity sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg== + dependencies: + clone-response "^1.0.2" + get-stream "^5.1.0" + http-cache-semantics "^4.0.0" + keyv "^3.0.0" + lowercase-keys "^2.0.0" + normalize-url "^4.1.0" + responselike "^1.0.2" + cachedir@2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/cachedir/-/cachedir-2.1.0.tgz#b448c32b44cd9c0cd6ce4c419fa5b3c112c02191" @@ -2755,12 +2748,7 @@ camelcase@^2.0.0: resolved "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f" integrity sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8= -camelcase@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a" - integrity sha1-MvxLn82vhF/N9+c7uXysImHwqwo= - -camelcase@^4.0.0, camelcase@^4.1.0: +camelcase@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= @@ -2782,11 +2770,6 @@ capture-exit@^2.0.0: dependencies: rsvp "^4.8.4" -capture-stack-trace@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz#a6c0bbe1f38f3aa0b92238ecb6ff42c344d4135d" - integrity sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw== - caseless@~0.12.0: version "0.12.0" resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" @@ -2825,23 +2808,7 @@ chardet@^0.7.0: resolved "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== -chokidar@^1.7.0: - version "1.7.0" - resolved "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468" - integrity sha1-eY5ol3gVHIB2tLNg5e3SjNortGg= - dependencies: - anymatch "^1.3.0" - async-each "^1.0.0" - glob-parent "^2.0.0" - inherits "^2.0.1" - is-binary-path "^1.0.0" - is-glob "^2.0.0" - path-is-absolute "^1.0.0" - readdirp "^2.0.0" - optionalDependencies: - fsevents "^1.0.0" - -chokidar@^2.1.8: +chokidar@^2.1.5, chokidar@^2.1.8: version "2.1.8" resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917" integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg== @@ -2865,11 +2832,6 @@ chownr@^1.1.1, chownr@^1.1.2: resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142" integrity sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw== -ci-info@^1.5.0: - version "1.6.0" - resolved "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" - integrity sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A== - ci-info@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" @@ -2885,10 +2847,10 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" -cli-boxes@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143" - integrity sha1-T6kXw+WclKAEzWH47lCdplFocUM= +cli-boxes@^2.2.0: + version "2.2.0" + resolved "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.0.tgz#538ecae8f9c6ca508e3c3c95b453fe93cb4c168d" + integrity sha512-gpaBrMAizVEANOpfZp/EEUixTXDyGt7DFzdK5hU+UbWt/J0lB0w20ncZj59Z9a93xHb9u12zF5BS6i9RKbtg4w== cli-cursor@^1.0.1, cli-cursor@^1.0.2: version "1.0.2" @@ -2931,15 +2893,6 @@ clipboard@^2.0.0: select "^1.1.2" tiny-emitter "^2.0.0" -cliui@^3.2.0: - version "3.2.0" - resolved "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" - integrity sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0= - dependencies: - string-width "^1.0.1" - strip-ansi "^3.0.1" - wrap-ansi "^2.0.0" - cliui@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" @@ -2967,6 +2920,13 @@ clone-deep@^4.0.1: kind-of "^6.0.2" shallow-clone "^3.0.0" +clone-response@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b" + integrity sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws= + dependencies: + mimic-response "^1.0.0" + clone@^1.0.2: version "1.0.4" resolved "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" @@ -3116,10 +3076,10 @@ config-chain@^1.1.11: ini "^1.3.4" proto-list "~1.2.1" -configstore@^3.0.0: - version "3.1.2" - resolved "https://registry.npmjs.org/configstore/-/configstore-3.1.2.tgz#c6f25defaeef26df12dd33414b001fe81a543f8f" - integrity sha512-vtv5HtGjcYUgFrXc6Kx747B83MRRVS5R1VTEQoXvuP+kMI+if6uywV0nDGoiydJRy4yk7h9od5Og0kxx4zUXmw== +configstore@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/configstore/-/configstore-4.0.0.tgz#5933311e95d3687efb592c528b922d9262d227e7" + integrity sha512-CmquAXFBocrzaSM8mtGPMM/HiWmyIpr4CcJl/rgY2uCObZ/S7cKU0silxslqJejl+t/T9HS8E0PUNQD81JGUEQ== dependencies: dot-prop "^4.1.0" graceful-fs "^4.1.2" @@ -3313,23 +3273,15 @@ cosmiconfig@^6.0.0: path-type "^4.0.0" yaml "^1.7.2" -cp-file@^4.1.1: - version "4.2.0" - resolved "https://registry.npmjs.org/cp-file/-/cp-file-4.2.0.tgz#715361663b71ede0b6dddbc3c80e2ba02e725ec3" - integrity sha1-cVNhZjtx7eC23dvDyA4roC5yXsM= +cp-file@^7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/cp-file/-/cp-file-7.0.0.tgz#b9454cfd07fe3b974ab9ea0e5f29655791a9b8cd" + integrity sha512-0Cbj7gyvFVApzpK/uhCtQ/9kE9UnYpxMzaq5nQQC/Dh4iaj5fxp7iEFIullrYwzj8nf0qnsI1Qsx34hAeAebvw== dependencies: graceful-fs "^4.1.2" - make-dir "^1.0.0" + make-dir "^3.0.0" nested-error-stacks "^2.0.0" - pify "^2.3.0" - safe-buffer "^5.0.1" - -create-error-class@^3.0.0: - version "3.0.2" - resolved "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz#06be7abef947a3f14a30fd610671d401bca8b7b6" - integrity sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y= - dependencies: - capture-stack-trace "^1.0.0" + p-event "^4.1.0" cross-env@7.0.0: version "7.0.0" @@ -3358,7 +3310,7 @@ cross-spawn@^6.0.0: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^7.0.1: +cross-spawn@^7.0.0, cross-spawn@^7.0.1: version "7.0.1" resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.1.tgz#0ab56286e0f7c24e153d04cc2aa027e43a9a5d14" integrity sha512-u7v4o84SwFpD32Z8IIcPZ6z1/ie24O6RU3RbtL5Y316l3KuHVPx9ItBgWQ6VlfAFnRnTtMUrsQ9MUUTuEZjogg== @@ -3486,7 +3438,7 @@ decamelize-keys@^1.0.0: decamelize "^1.1.0" map-obj "^1.0.0" -decamelize@^1.1.0, decamelize@^1.1.1, decamelize@^1.1.2, decamelize@^1.2.0: +decamelize@^1.1.0, decamelize@^1.1.2, decamelize@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= @@ -3496,15 +3448,22 @@ decode-uri-component@^0.2.0: resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= +decompress-response@^3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" + integrity sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M= + dependencies: + mimic-response "^1.0.0" + dedent@0.7.0, dedent@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= -deep-extend@0.5.1, deep-extend@^0.6.0: - version "0.5.1" - resolved "https://registry.npmjs.org/deep-extend/-/deep-extend-0.5.1.tgz#b894a9dd90d3023fbf1c55a394fb858eb2066f1f" - integrity sha512-N8vBdOa+DF7zkRrDCsaOXoCs/E2fJfx9B9MrKnnSiHNh4ws7eSys6YQE4KvT1cecKmOASYQBhbKjeuDD9lT81w== +deep-extend@^0.6.0: + version "0.6.0" + resolved "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" + integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== deep-is@~0.1.3: version "0.1.3" @@ -3518,6 +3477,11 @@ defaults@^1.0.3: dependencies: clone "^1.0.2" +defer-to-connect@^1.0.1: + version "1.1.3" + resolved "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591" + integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ== + define-properties@^1.1.2, define-properties@^1.1.3: version "1.1.3" resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" @@ -3619,26 +3583,26 @@ dir-glob@^3.0.1: dependencies: path-type "^4.0.0" -docsify-cli@4.3.0: - version "4.3.0" - resolved "https://registry.npmjs.org/docsify-cli/-/docsify-cli-4.3.0.tgz#12b9cca29840d71653fe19bdc2ce8265a753b392" - integrity sha512-88O1sMeoZv4lb5GPSJzDtOAv2KzBjpQaSqVlVqY+6hGJfb2wpz9PvlUhvlgPq54zu4kPDeCCyUYgqa/llhKg3w== +docsify-cli@^4.4.0: + version "4.4.0" + resolved "https://registry.npmjs.org/docsify-cli/-/docsify-cli-4.4.0.tgz#ca68b4941207f7d1ceffb4bc9f01043657077e0a" + integrity sha512-Ve3aUIGbjPpcjRtb3QHJQ9wI0fETMve1bBdTIztWfPnAJ2tOAYO7XUDHe9864RheGOli5s8iI3BviY6CS1ZImA== dependencies: - chalk "^1.1.3" + chalk "^2.4.2" connect "^3.6.0" connect-livereload "^0.6.0" - cp-file "^4.1.1" + cp-file "^7.0.0" docsify ">=3" docsify-server-renderer ">=4" - fs-extra "^2.1.2" - livereload "^0.7.0" - lru-cache "^4.1.1" - opn "^5.3.0" + fs-extra "^8.1.0" + get-port "^5.0.0" + livereload "^0.8.2" + lru-cache "^5.1.1" + open "^6.4.0" serve-static "^1.12.1" - update-notifier "^2.1.0" - y18n "^3.2.1" + update-notifier "^3.0.1" yargonaut "^1.1.2" - yargs "^7.0.2" + yargs "^14.2.0" docsify-server-renderer@>=4: version "4.10.2" @@ -3932,13 +3896,6 @@ exit@^0.1.2: resolved "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw= -expand-brackets@^0.1.4: - version "0.1.5" - resolved "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" - integrity sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s= - dependencies: - is-posix-bracket "^0.1.0" - expand-brackets@^2.1.4: version "2.1.4" resolved "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" @@ -4000,13 +3957,6 @@ external-editor@^3.0.0, external-editor@^3.0.3: iconv-lite "^0.4.24" tmp "^0.0.33" -extglob@^0.3.1: - version "0.3.2" - resolved "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" - integrity sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE= - dependencies: - is-extglob "^1.0.0" - extglob@^2.0.4: version "2.0.4" resolved "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" @@ -4124,11 +4074,6 @@ file-uri-to-path@1.0.0: resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== -filename-regex@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" - integrity sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY= - fill-range@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" @@ -4227,18 +4172,11 @@ flush-write-stream@^1.0.0: inherits "^2.0.3" readable-stream "^2.3.6" -for-in@^1.0.1, for-in@^1.0.2: +for-in@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= -for-own@^0.1.4: - version "0.1.5" - resolved "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" - integrity sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4= - dependencies: - for-in "^1.0.1" - forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" @@ -4278,14 +4216,6 @@ fs-constants@^1.0.0: resolved "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== -fs-extra@^2.1.2: - version "2.1.2" - resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-2.1.2.tgz#046c70163cef9aad46b0e4a7fa467fb22d71de35" - integrity sha1-BGxwFjzvmq1GsOSn+kZ/si1x3jU= - dependencies: - graceful-fs "^4.1.2" - jsonfile "^2.1.0" - fs-extra@^7.0.0: version "7.0.1" resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" @@ -4331,7 +4261,7 @@ fs.realpath@^1.0.0: resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= -fsevents@^1.0.0, fsevents@^1.2.7: +fsevents@^1.2.7: version "1.2.11" resolved "https://registry.npmjs.org/fsevents/-/fsevents-1.2.11.tgz#67bf57f4758f02ede88fb2a1712fef4d15358be3" integrity sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw== @@ -4373,11 +4303,6 @@ gensync@^1.0.0-beta.1: resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz#58f4361ff987e5ff6e1e7a210827aa371eaac269" integrity sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg== -get-caller-file@^1.0.1: - version "1.0.3" - resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" - integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== - get-caller-file@^2.0.1: version "2.0.5" resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" @@ -4404,6 +4329,11 @@ get-port@^4.2.0: resolved "https://registry.npmjs.org/get-port/-/get-port-4.2.0.tgz#e37368b1e863b7629c43c5a323625f95cf24b119" integrity sha512-/b3jarXkH8KJoOMQc3uVGHASwGLPq3gSFJ7tgJm2diza+bydJPTGOibin2steecKeOylE8oY2JERlVWkAJO6yw== +get-port@^5.0.0: + version "5.1.1" + resolved "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz#0469ed07563479de6efb986baf053dcd7d4e3193" + integrity sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ== + get-stdin@7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz#8d5de98f15171a125c5e516643c7a6d0ea8a96f6" @@ -4426,7 +4356,7 @@ get-stream@^4.0.0, get-stream@^4.1.0: dependencies: pump "^3.0.0" -get-stream@^5.0.0: +get-stream@^5.0.0, get-stream@^5.1.0: version "5.1.0" resolved "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz#01203cdc92597f9b909067c3e656cc1f4d3c4dc9" integrity sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw== @@ -4505,21 +4435,6 @@ gitconfiglocal@^1.0.0: dependencies: ini "^1.3.2" -glob-base@^0.3.0: - version "0.3.0" - resolved "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" - integrity sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q= - dependencies: - glob-parent "^2.0.0" - is-glob "^2.0.0" - -glob-parent@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" - integrity sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg= - dependencies: - is-glob "^2.0.0" - glob-parent@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" @@ -4629,22 +4544,22 @@ good-listener@^1.2.2: dependencies: delegate "^3.1.2" -got@^6.7.1: - version "6.7.1" - resolved "https://registry.npmjs.org/got/-/got-6.7.1.tgz#240cd05785a9a18e561dc1b44b41c763ef1e8db0" - integrity sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA= +got@^9.6.0: + version "9.6.0" + resolved "https://registry.npmjs.org/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85" + integrity sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q== dependencies: - create-error-class "^3.0.0" + "@sindresorhus/is" "^0.14.0" + "@szmarczak/http-timer" "^1.1.2" + cacheable-request "^6.0.0" + decompress-response "^3.3.0" duplexer3 "^0.1.4" - get-stream "^3.0.0" - is-redirect "^1.0.0" - is-retry-allowed "^1.0.0" - is-stream "^1.0.0" - lowercase-keys "^1.0.0" - safe-buffer "^5.0.1" - timed-out "^4.0.0" - unzip-response "^2.0.1" - url-parse-lax "^1.0.0" + get-stream "^4.1.0" + lowercase-keys "^1.0.1" + mimic-response "^1.0.1" + p-cancelable "^1.0.0" + to-readable-stream "^1.0.0" + url-parse-lax "^3.0.0" graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.3: version "4.2.3" @@ -4738,6 +4653,11 @@ has-values@^1.0.0: is-number "^3.0.0" kind-of "^4.0.0" +has-yarn@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77" + integrity sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw== + has@^1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" @@ -4745,11 +4665,6 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" -hoek@5.0.3: - version "5.0.3" - resolved "https://registry.npmjs.org/hoek/-/hoek-5.0.3.tgz#b71d40d943d0a95da01956b547f83c4a5b4a34ac" - integrity sha512-Bmr56pxML1c9kU+NS51SMFkiVQAb+9uFfXwyqR2tn4w2FPvmPt65eZ9aCcEfRXd9G74HkZnILC6p967pED4aiw== - homedir-polyfill@^1.0.1: version "1.0.3" resolved "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" @@ -4779,6 +4694,11 @@ http-cache-semantics@^3.8.1: resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2" integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w== +http-cache-semantics@^4.0.0: + version "4.0.3" + resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.0.3.tgz#495704773277eeef6e43f9ab2c2c7d259dda25c5" + integrity sha512-TcIMG3qeVLgDr1TEd2XvHaTnMPwYQUQMIBLy+5pLSDKYFc7UIqj39w8EGzZkaxoLv/l2K8HaI0t5AVA+YYgUew== + http-errors@~1.7.2: version "1.7.3" resolved "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz#6c619e4f9c60308c38519498c14fbb10aacebb06" @@ -5043,11 +4963,6 @@ invariant@^2.2.2: dependencies: loose-envify "^1.0.0" -invert-kv@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" - integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY= - ip-regex@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" @@ -5101,13 +5016,6 @@ is-callable@^1.1.4, is-callable@^1.1.5: resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz#f7e46b596890456db74e7f6e976cb3273d06faab" integrity sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q== -is-ci@^1.0.10: - version "1.2.1" - resolved "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz#e3779c8ee17fccf428488f6e281187f2e632841c" - integrity sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg== - dependencies: - ci-info "^1.5.0" - is-ci@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" @@ -5157,18 +5065,6 @@ is-directory@^0.3.1: resolved "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" integrity sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE= -is-dotfile@^1.0.0: - version "1.0.3" - resolved "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" - integrity sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE= - -is-equal-shallow@^0.1.3: - version "0.1.3" - resolved "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" - integrity sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ= - dependencies: - is-primitive "^2.0.0" - is-extendable@^0.1.0, is-extendable@^0.1.1: version "0.1.1" resolved "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" @@ -5181,11 +5077,6 @@ is-extendable@^1.0.1: dependencies: is-plain-object "^2.0.4" -is-extglob@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" - integrity sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA= - is-extglob@^2.1.0, is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" @@ -5220,13 +5111,6 @@ is-generator-fn@^2.0.0: resolved "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== -is-glob@^2.0.0, is-glob@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" - integrity sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM= - dependencies: - is-extglob "^1.0.0" - is-glob@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" @@ -5249,10 +5133,10 @@ is-installed-globally@^0.1.0: global-dirs "^0.1.0" is-path-inside "^1.0.0" -is-npm@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4" - integrity sha1-8vtjpl5JBbQGyGBydloaTceTufQ= +is-npm@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/is-npm/-/is-npm-3.0.0.tgz#ec9147bfb629c43f494cf67936a961edec7e8053" + integrity sha512-wsigDr1Kkschp2opC4G3yA6r9EgVA6NjRpWzIi9axXqeIaAATPRJc4uLujXe3Nd9uO8KoDyA4MD6aZSeXTADhA== is-number@^3.0.0: version "3.0.0" @@ -5261,11 +5145,6 @@ is-number@^3.0.0: dependencies: kind-of "^3.0.2" -is-number@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz#0026e37f5454d73e356dfe6564699867c6a7f0ff" - integrity sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ== - is-number@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" @@ -5309,26 +5188,11 @@ is-plain-object@^3.0.0: dependencies: isobject "^4.0.0" -is-posix-bracket@^0.1.0: - version "0.1.1" - resolved "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" - integrity sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q= - -is-primitive@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" - integrity sha1-IHurkWOEmcB7Kt8kCkGochADRXU= - is-promise@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o= -is-redirect@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" - integrity sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ= - is-regex@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz#39d589a358bf18967f726967120b8fc1aed74eae" @@ -5341,11 +5205,6 @@ is-regexp@^1.0.0: resolved "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069" integrity sha1-/S2INUXEa6xaYz57mgnof6LLUGk= -is-retry-allowed@^1.0.0: - version "1.2.0" - resolved "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz#d778488bd0a4666a3be8a1482b9f2baafedea8b4" - integrity sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg== - is-ssh@^1.3.0: version "1.3.1" resolved "https://registry.npmjs.org/is-ssh/-/is-ssh-1.3.1.tgz#f349a8cadd24e65298037a522cf7520f2e81a0f3" @@ -5353,7 +5212,7 @@ is-ssh@^1.3.0: dependencies: protocols "^1.1.0" -is-stream@^1.0.0, is-stream@^1.1.0: +is-stream@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= @@ -5402,6 +5261,11 @@ is-wsl@^2.1.1: resolved "https://registry.npmjs.org/is-wsl/-/is-wsl-2.1.1.tgz#4a1c152d429df3d441669498e2486d3596ebaf1d" integrity sha512-umZHcSrwlDHo2TGMXv0DZ8dIUGunZ2Iv68YZnrmCiBPkZ4aaOhtv7pXJKeki9k3qJ3RJr0cDyitcl5wEH3AYog== +is-yarn-global@^0.3.0: + version "0.3.0" + resolved "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232" + integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw== + isarray@1.0.0, isarray@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" @@ -5836,7 +5700,7 @@ js-levenshtein@^1.1.3: resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-yaml@>=3.13.0, js-yaml@^3.13.1: +js-yaml@^3.13.1: version "3.13.1" resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== @@ -5891,6 +5755,11 @@ jsesc@~0.5.0: resolved "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" integrity sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0= +json-buffer@3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" + integrity sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg= + json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" @@ -5918,13 +5787,6 @@ json5@2.x, json5@^2.1.0: dependencies: minimist "^1.2.0" -jsonfile@^2.1.0: - version "2.4.0" - resolved "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8" - integrity sha1-NzaitCi4e72gzIO1P6PWM6NcKug= - optionalDependencies: - graceful-fs "^4.1.6" - jsonfile@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" @@ -5947,6 +5809,13 @@ jsprim@^1.2.2: json-schema "0.2.3" verror "1.10.0" +keyv@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9" + integrity sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA== + dependencies: + json-buffer "3.0.0" + kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" resolved "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" @@ -5976,19 +5845,12 @@ kleur@^3.0.3: resolved "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== -latest-version@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/latest-version/-/latest-version-3.1.0.tgz#a205383fea322b33b5ae3b18abee0dc2f356ee15" - integrity sha1-ogU4P+oyKzO1rjsYq+4NwvNW7hU= - dependencies: - package-json "^4.0.0" - -lcid@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" - integrity sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU= +latest-version@^5.0.0: + version "5.1.0" + resolved "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz#119dfe908fe38d15dfa43ecd13fa12ec8832face" + integrity sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA== dependencies: - invert-kv "^1.0.0" + package-json "^6.3.0" lerna@3.20.2: version "3.20.2" @@ -6095,14 +5957,14 @@ listr@^0.14.3: p-map "^2.0.0" rxjs "^6.3.3" -livereload@^0.7.0: - version "0.7.0" - resolved "https://registry.npmjs.org/livereload/-/livereload-0.7.0.tgz#38238dd155ffb251191697f737b6b13f471da115" - integrity sha512-PHnIGczQEvmCctDvRTWylA+1wSwE0/eFm+LkNhlmlAFus/aCRlVE97UOLOf6TUGLmZyfg7z7twG37ZiOgNJAyQ== +livereload@^0.8.2: + version "0.8.2" + resolved "https://registry.npmjs.org/livereload/-/livereload-0.8.2.tgz#0ebb756cd5150bc956e33110b884bc2d7d87b723" + integrity sha512-8wCvhiCL4cGVoT3U5xoe+UjpiiVZLrlOvr6dbhb1VlyC5QarhrlyRRt4z7EMGO4KSgXj+tKF/dr284F28/wI+g== dependencies: - chokidar "^1.7.0" + chokidar "^2.1.5" opts ">= 1.2.0" - ws "^1.1.5" + ws "^6.2.1" load-json-file@^1.0.0: version "1.1.0" @@ -6282,12 +6144,17 @@ loud-rejection@^1.0.0: currently-unhandled "^0.4.1" signal-exit "^3.0.0" -lowercase-keys@^1.0.0: +lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== -lru-cache@^4.0.1, lru-cache@^4.1.1: +lowercase-keys@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" + integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== + +lru-cache@^4.0.1: version "4.1.5" resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== @@ -6380,15 +6247,10 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" -marked@0.3.9, marked@^0.7.0: - version "0.3.9" - resolved "https://registry.npmjs.org/marked/-/marked-0.3.9.tgz#54ce6a57e720c3ac6098374ec625fcbcc97ff290" - integrity sha512-nW5u0dxpXxHfkHzzrveY45gCbi+R4PaO4WRZYqZNl+vB0hVGeqlFn0aOg1c8AKL63TrNFn9Bm2UP4AdiZ9TPLw== - -math-random@^1.0.1: - version "1.0.4" - resolved "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz#5dd6943c938548267016d4e34f057583080c514c" - integrity sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A== +marked@^0.7.0: + version "0.7.0" + resolved "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz#b64201f051d271b1edc10a04d1ae9b74bb8e5c0e" + integrity sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg== medium-zoom@^1.0.4: version "1.0.5" @@ -6456,25 +6318,6 @@ merge@^1.2.1: resolved "https://registry.npmjs.org/merge/-/merge-1.2.1.tgz#38bebf80c3220a8a487b6fcfb3941bb11720c145" integrity sha512-VjFo4P5Whtj4vsLzsYBu5ayHhoHJ0UqNm7ibvShmbmoz7tGi0vXaoJbGdB+GmDMLUdg8DpQXEIeVDAe8MaABvQ== -micromatch@^2.1.5: - version "2.3.11" - resolved "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" - integrity sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU= - dependencies: - arr-diff "^2.0.0" - array-unique "^0.2.1" - braces "^1.8.2" - expand-brackets "^0.1.4" - extglob "^0.3.1" - filename-regex "^2.0.0" - is-extglob "^1.0.0" - is-glob "^2.0.1" - kind-of "^3.0.2" - normalize-path "^2.0.1" - object.omit "^2.0.0" - parse-glob "^3.0.4" - regex-cache "^0.4.2" - micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4: version "3.1.10" resolved "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" @@ -6529,6 +6372,11 @@ mimic-fn@^2.1.0: resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== +mimic-response@^1.0.0, mimic-response@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" + integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== + minimatch@^3.0.4: version "3.0.4" resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" @@ -6617,11 +6465,6 @@ modify-values@^1.0.0: resolved "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== -moment@2.19.3: - version "2.19.3" - resolved "https://registry.npmjs.org/moment/-/moment-2.19.3.tgz#bdb99d270d6d7fda78cc0fbace855e27fe7da69f" - integrity sha1-vbmdJw1tf9p4zA+6zoVeJ/59pp8= - move-concurrently@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92" @@ -6817,7 +6660,7 @@ normalize-package-data@^2.0.0, normalize-package-data@^2.3.0, normalize-package- semver "2 || 3 || 4 || 5" validate-npm-package-license "^3.0.1" -normalize-path@^2.0.0, normalize-path@^2.0.1, normalize-path@^2.1.1: +normalize-path@^2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" integrity sha1-GrKLVW4Zg2Oowab35vogE3/mrtk= @@ -6834,6 +6677,11 @@ normalize-url@^3.3.0: resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559" integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg== +normalize-url@^4.1.0: + version "4.5.0" + resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz#453354087e6ca96957bd8f5baf753f5982142129" + integrity sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ== + npm-bundled@^1.0.1: version "1.1.1" resolved "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.1.tgz#1edd570865a94cdb1bc8220775e29466c9fb234b" @@ -6975,14 +6823,6 @@ object.getownpropertydescriptors@^2.0.3: define-properties "^1.1.3" es-abstract "^1.17.0-next.1" -object.omit@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" - integrity sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo= - dependencies: - for-own "^0.1.4" - is-extendable "^0.1.1" - object.pick@^1.3.0: version "1.3.0" resolved "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" @@ -7028,18 +6868,18 @@ onetime@^5.1.0: dependencies: mimic-fn "^2.1.0" +open@^6.4.0: + version "6.4.0" + resolved "https://registry.npmjs.org/open/-/open-6.4.0.tgz#5c13e96d0dc894686164f18965ecfe889ecfc8a9" + integrity sha512-IFenVPgF70fSm1keSd2iDBIDIBZkroLeuffXq+wKTzTJlBpesFWojV9lb8mzOfaAzM1sr7HQHuO0vtV0zYekGg== + dependencies: + is-wsl "^1.1.0" + opencollective-postinstall@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.2.tgz#5657f1bede69b6e33a45939b061eb53d3c6c3a89" integrity sha512-pVOEP16TrAO2/fjej1IdOyupJY8KDUM1CvsaScRbw6oddvpQoOfGk4ywha0HKKVAD6RkW4x6Q+tNBwhf3Bgpuw== -opn@^5.3.0: - version "5.5.0" - resolved "https://registry.npmjs.org/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" - integrity sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA== - dependencies: - is-wsl "^1.1.0" - optimist@^0.6.1: version "0.6.1" resolved "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" @@ -7060,11 +6900,6 @@ optionator@^0.8.1: type-check "~0.3.2" word-wrap "~1.2.3" -options@>=0.0.5: - version "0.0.6" - resolved "https://registry.npmjs.org/options/-/options-0.0.6.tgz#ec22d312806bb53e731773e7cdaefcf1c643128f" - integrity sha1-7CLTEoBrtT5zF3Pnza788cZDEo8= - "opts@>= 1.2.0": version "1.2.7" resolved "https://registry.npmjs.org/opts/-/opts-1.2.7.tgz#4de4721d592c96901dae623a438c988e9ea7779f" @@ -7075,13 +6910,6 @@ os-homedir@^1.0.0: resolved "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= -os-locale@^1.4.0: - version "1.4.0" - resolved "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" - integrity sha1-IPnxeuKe00XoveWDsT0gCYA8FNk= - dependencies: - lcid "^1.0.0" - os-name@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/os-name/-/os-name-3.1.0.tgz#dec19d966296e1cd62d701a5a66ee1ddeae70801" @@ -7103,11 +6931,23 @@ osenv@^0.1.4, osenv@^0.1.5: os-homedir "^1.0.0" os-tmpdir "^1.0.0" +p-cancelable@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" + integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw== + p-each-series@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/p-each-series/-/p-each-series-2.1.0.tgz#961c8dd3f195ea96c747e636b262b800a6b1af48" integrity sha512-ZuRs1miPT4HrjFa+9fRfOFXxGJfORgelKV9f9nNOWw2gl6gVsRaVDOQP0+MI0G0wGKns1Yacsu0GjOFbTK0JFQ== +p-event@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/p-event/-/p-event-4.1.0.tgz#e92bb866d7e8e5b732293b1c8269d38e9982bf8e" + integrity sha512-4vAd06GCsgflX4wHN1JqrMzBh/8QZ4j+rzp0cd2scXRwuBEv+QR3wrVA5aLhWDLw4y2WgDKvzWF3CCLmVM1UgA== + dependencies: + p-timeout "^2.0.1" + p-finally@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" @@ -7182,6 +7022,13 @@ p-reduce@^1.0.0: resolved "https://registry.npmjs.org/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa" integrity sha1-GMKw3ZNqRpClKfgjH1ig/bakffo= +p-timeout@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/p-timeout/-/p-timeout-2.0.1.tgz#d8dd1979595d2dc0139e1fe46b8b646cb3cdf038" + integrity sha512-88em58dDVB/KzPEx1X0N3LwFfYZPyDc4B6eF38M1rk9VTZMbxXXgjugz8mmwpS9Ox4BDZ+t6t3QP5+/gazweIA== + dependencies: + p-finally "^1.0.0" + p-try@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" @@ -7199,15 +7046,15 @@ p-waterfall@^1.0.0: dependencies: p-reduce "^1.0.0" -package-json@^4.0.0: - version "4.0.1" - resolved "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz#8869a0401253661c4c4ca3da6c2121ed555f5eed" - integrity sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0= +package-json@^6.3.0: + version "6.5.0" + resolved "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz#6feedaca35e75725876d0b0e64974697fed145b0" + integrity sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ== dependencies: - got "^6.7.1" - registry-auth-token "^3.0.1" - registry-url "^3.0.3" - semver "^5.1.0" + got "^9.6.0" + registry-auth-token "^4.0.0" + registry-url "^5.0.0" + semver "^6.2.0" parallel-transform@^1.1.0: version "1.2.0" @@ -7235,16 +7082,6 @@ parse-github-repo-url@^1.3.0: resolved "https://registry.npmjs.org/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz#9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50" integrity sha1-nn2LslKmy2ukJZUGC3v23z28H1A= -parse-glob@^3.0.4: - version "3.0.4" - resolved "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" - integrity sha1-ssN2z7EfNVE7rdFz7wu246OIORw= - dependencies: - glob-base "^0.3.0" - is-dotfile "^1.0.0" - is-extglob "^1.0.0" - is-glob "^2.0.0" - parse-json@^2.2.0: version "2.2.0" resolved "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" @@ -7461,10 +7298,10 @@ prelude-ls@~1.1.2: resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prepend-http@^1.0.1: - version "1.0.4" - resolved "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" - integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= +prepend-http@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" + integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc= prettier@1.17.1: version "1.17.1" @@ -7603,21 +7440,12 @@ quick-lru@^1.0.0: resolved "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8" integrity sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g= -randomatic@3: - version "3.1.1" - resolved "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed" - integrity sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw== - dependencies: - is-number "^4.0.0" - kind-of "^6.0.0" - math-random "^1.0.1" - range-parser@~1.2.1: version "1.2.1" resolved "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== -rc@^1.0.1, rc@^1.1.6: +rc@^1.2.8: version "1.2.8" resolved "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== @@ -7743,7 +7571,7 @@ readdir-scoped-modules@^1.0.0: graceful-fs "^4.1.2" once "^1.3.0" -readdirp@^2.0.0, readdirp@^2.2.1: +readdirp@^2.2.1: version "2.2.1" resolved "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525" integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ== @@ -7825,13 +7653,6 @@ regenerator-transform@^0.14.0: dependencies: private "^0.1.6" -regex-cache@^0.4.2: - version "0.4.4" - resolved "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd" - integrity sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ== - dependencies: - is-equal-shallow "^0.1.3" - regex-not@^1.0.0, regex-not@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" @@ -7852,20 +7673,19 @@ regexpu-core@^4.6.0: unicode-match-property-ecmascript "^1.0.4" unicode-match-property-value-ecmascript "^1.1.0" -registry-auth-token@^3.0.1: - version "3.4.0" - resolved "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.4.0.tgz#d7446815433f5d5ed6431cd5dca21048f66b397e" - integrity sha512-4LM6Fw8eBQdwMYcES4yTnn2TqIasbXuwDx3um+QRs7S55aMKCBKBxvPXl2RiUjHwuJLTyYfxSpmfSAjQpcuP+A== +registry-auth-token@^4.0.0: + version "4.1.1" + resolved "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.1.1.tgz#40a33be1e82539460f94328b0f7f0f84c16d9479" + integrity sha512-9bKS7nTl9+/A1s7tnPeGrUpRcVY+LUh7bfFgzpndALdPfXQBfQV77rQVtqgUV3ti4vc/Ik81Ex8UJDWDQ12zQA== dependencies: - rc "^1.1.6" - safe-buffer "^5.0.1" + rc "^1.2.8" -registry-url@^3.0.3: - version "3.1.0" - resolved "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" - integrity sha1-PU74cPc93h138M+aOBQyRE4XSUI= +registry-url@^5.0.0: + version "5.1.0" + resolved "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz#e98334b50d5434b81136b44ec638d9c2009c5009" + integrity sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw== dependencies: - rc "^1.0.1" + rc "^1.2.8" regjsgen@^0.5.0: version "0.5.1" @@ -7953,11 +7773,6 @@ require-from-string@2.0.2: resolved "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== -require-main-filename@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" - integrity sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE= - require-main-filename@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" @@ -8036,6 +7851,13 @@ resolve@1.x, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.3.2, resolve@^1.8.1: dependencies: path-parse "^1.0.6" +responselike@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" + integrity sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec= + dependencies: + lowercase-keys "^1.0.0" + restore-cursor@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541" @@ -8204,7 +8026,7 @@ semver-regex@^2.0.0: resolved "https://registry.npmjs.org/semver-regex/-/semver-regex-2.0.0.tgz#a93c2c5844539a770233379107b38c7b4ac9d338" integrity sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw== -"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: +"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.0.3, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -8497,21 +8319,6 @@ sprintf-js@~1.0.2: resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= -sshpk@1.14.1: - version "1.14.1" - resolved "https://registry.npmjs.org/sshpk/-/sshpk-1.14.1.tgz#130f5975eddad963f1d56f92b9ac6c51fa9f83eb" - integrity sha1-Ew9Zde3a2WPx1W+SuaxsUfqfg+s= - dependencies: - asn1 "~0.2.3" - assert-plus "^1.0.0" - dashdash "^1.12.0" - getpass "^0.1.1" - optionalDependencies: - bcrypt-pbkdf "^1.0.0" - ecc-jsbn "~0.1.1" - jsbn "~0.1.0" - tweetnacl "~0.14.0" - sshpk@^1.7.0: version "1.16.1" resolved "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877" @@ -8590,7 +8397,7 @@ string-to-stream@3.0.1: dependencies: readable-stream "^3.4.0" -string-width@^1.0.1, string-width@^1.0.2: +string-width@^1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" integrity sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= @@ -8599,7 +8406,7 @@ string-width@^1.0.1, string-width@^1.0.2: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -"string-width@^1.0.2 || 2", string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: +"string-width@^1.0.2 || 2", string-width@^2.1.0, string-width@^2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== @@ -8664,11 +8471,6 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -stringstream@0.0.6: - version "0.0.6" - resolved "https://registry.npmjs.org/stringstream/-/stringstream-0.0.6.tgz#7880225b0d4ad10e30927d167a1d6f2fd3b33a72" - integrity sha512-87GEBAkegbBcweToUrdzf3eLhWNg06FJTebl4BVJz/JgWy8CvEr9dRtX5qWphiynMSQlxxi+QqN0z5T32SLlhA== - strip-ansi@^3.0.0, strip-ansi@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" @@ -8906,11 +8708,6 @@ through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6: resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= -timed-out@^4.0.0: - version "4.0.1" - resolved "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" - integrity sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8= - tiny-emitter@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423" @@ -8952,6 +8749,11 @@ to-object-path@^0.3.0: dependencies: kind-of "^3.0.2" +to-readable-stream@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz#ce0aa0c2f3df6adf852efb404a783e77c0475771" + integrity sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q== + to-regex-range@^2.1.0: version "2.1.1" resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" @@ -9124,11 +8926,6 @@ uid-number@0.0.6: resolved "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" integrity sha1-DqEOgDXo61uOREnwbaHHMGY7qoE= -ultron@1.0.x: - version "1.0.2" - resolved "https://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz#ace116ab557cd197386a4e88f4685378c8b2e4fa" - integrity sha1-rOEWq1V80Zc4ak6I9GhTeMiy5Po= - umask@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d" @@ -9213,29 +9010,26 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" -unzip-response@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" - integrity sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c= - upath@^1.1.1, upath@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894" integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg== -update-notifier@^2.1.0: - version "2.5.0" - resolved "https://registry.npmjs.org/update-notifier/-/update-notifier-2.5.0.tgz#d0744593e13f161e406acb1d9408b72cad08aff6" - integrity sha512-gwMdhgJHGuj/+wHJJs9e6PcCszpxR1b236igrOkUofGhqJuG+amlIKwApH1IW1WWl7ovZxsX49lMBWLxSdm5Dw== +update-notifier@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/update-notifier/-/update-notifier-3.0.1.tgz#78ecb68b915e2fd1be9f767f6e298ce87b736250" + integrity sha512-grrmrB6Zb8DUiyDIaeRTBCkgISYUgETNe7NglEbVsrLWXeESnlCSP50WfRSj/GmzMPl6Uchj24S/p80nP/ZQrQ== dependencies: - boxen "^1.2.1" + boxen "^3.0.0" chalk "^2.0.1" - configstore "^3.0.0" + configstore "^4.0.0" + has-yarn "^2.1.0" import-lazy "^2.1.0" - is-ci "^1.0.10" + is-ci "^2.0.0" is-installed-globally "^0.1.0" - is-npm "^1.0.0" - latest-version "^3.0.0" + is-npm "^3.0.0" + is-yarn-global "^0.3.0" + latest-version "^5.0.0" semver-diff "^2.0.0" xdg-basedir "^3.0.0" @@ -9251,12 +9045,12 @@ urix@^0.1.0: resolved "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI= -url-parse-lax@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz#7af8f303645e9bd79a272e7a14ac68bc0609da73" - integrity sha1-evjzA2Rem9eaJy56FKxovAYJ2nM= +url-parse-lax@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c" + integrity sha1-FrXK/Afb42dsGxmZF3gj1lA6yww= dependencies: - prepend-http "^1.0.1" + prepend-http "^2.0.0" use@^3.1.0: version "3.1.1" @@ -9398,11 +9192,6 @@ whatwg-url@^7.0.0: tr46 "^1.0.1" webidl-conversions "^4.0.2" -which-module@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" - integrity sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8= - which-module@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" @@ -9548,13 +9337,12 @@ write-pkg@^3.1.0: sort-keys "^2.0.0" write-json-file "^2.2.0" -ws@^1.1.5: - version "1.1.5" - resolved "https://registry.npmjs.org/ws/-/ws-1.1.5.tgz#cbd9e6e75e09fc5d2c90015f21f0c40875e0dd51" - integrity sha512-o3KqipXNUdS7wpQzBHSe180lBGO60SoK0yVo3CYJgb2MkobuWuBX6dhkYP5ORCLd55y+SaflMOV5fqAB53ux4w== +ws@^6.2.1: + version "6.2.1" + resolved "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz#442fdf0a47ed64f59b6a5d8ff130f4748ed524fb" + integrity sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA== dependencies: - options ">=0.0.5" - ultron "1.0.x" + async-limiter "~1.0.0" ws@^7.0.0: version "7.2.1" @@ -9581,11 +9369,6 @@ xtend@~4.0.1: resolved "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== -y18n@^3.2.1: - version "3.2.1" - resolved "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" - integrity sha1-bRX7qITAhnnA136I53WegR4H+kE= - y18n@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" @@ -9640,14 +9423,7 @@ yargs-parser@^16.1.0: camelcase "^5.0.0" decamelize "^1.2.0" -yargs-parser@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz#275ecf0d7ffe05c77e64e7c86e4cd94bf0e1228a" - integrity sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo= - dependencies: - camelcase "^3.0.0" - -yargs@^14.2.2: +yargs@^14.2.0, yargs@^14.2.2: version "14.2.2" resolved "https://registry.npmjs.org/yargs/-/yargs-14.2.2.tgz#2769564379009ff8597cdd38fba09da9b493c4b5" integrity sha512-/4ld+4VV5RnrynMhPZJ/ZpOCGSCeghMykZ3BhdFBDa9Wy/RH6uEGNWDJog+aUlq+9OM1CFTgtYRW5Is1Po9NOA== @@ -9680,22 +9456,3 @@ yargs@^15.0.0: which-module "^2.0.0" y18n "^4.0.0" yargs-parser "^16.1.0" - -yargs@^7.0.2: - version "7.1.0" - resolved "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz#6ba318eb16961727f5d284f8ea003e8d6154d0c8" - integrity sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg= - dependencies: - camelcase "^3.0.0" - cliui "^3.2.0" - decamelize "^1.1.1" - get-caller-file "^1.0.1" - os-locale "^1.4.0" - read-pkg-up "^1.0.1" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^1.0.2" - which-module "^1.0.0" - y18n "^3.2.1" - yargs-parser "^5.0.0" From dbc87dc1b989e6bad2873b5e47db870fc252d13a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2020 10:45:21 +1100 Subject: [PATCH 0053/2192] chore: update babel monorepo (#940) Co-authored-by: WhiteSource Renovate --- @commitlint/travis-cli/package.json | 4 +- yarn.lock | 60 ++++++++++++++++++----------- 2 files changed, 40 insertions(+), 24 deletions(-) diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 2c5fabd280..e8d6e0bbf1 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -42,8 +42,8 @@ }, "license": "MIT", "devDependencies": { - "@babel/cli": "7.7.7", - "@babel/core": "7.7.7", + "@babel/cli": "7.8.4", + "@babel/core": "7.8.4", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "babel-preset-commitlint": "^8.2.0", diff --git a/yarn.lock b/yarn.lock index 534be0ec29..dd7967e3ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,7 +2,23 @@ # yarn lockfile v1 -"@babel/cli@7.7.7", "@babel/cli@^7.7.7": +"@babel/cli@7.8.4": + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.8.4.tgz#505fb053721a98777b2b175323ea4f090b7d3c1c" + integrity sha512-XXLgAm6LBbaNxaGhMAznXXaxtCWfuv6PIDJ9Alsy9JYTOh+j2jJz+L/162kkfU1j/pTSxK1xGmlwI4pdIMkoag== + dependencies: + commander "^4.0.1" + convert-source-map "^1.1.0" + fs-readdir-recursive "^1.1.0" + glob "^7.0.0" + lodash "^4.17.13" + make-dir "^2.1.0" + slash "^2.0.0" + source-map "^0.5.0" + optionalDependencies: + chokidar "^2.1.8" + +"@babel/cli@^7.7.7": version "7.7.7" resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.7.7.tgz#56849acbf81d1a970dd3d1b3097c8ebf5da3f534" integrity sha512-XQw5KyCZyu/M8/0rYiZyuwbgIQNzOrJzs9dDLX+MieSgBwTLvTj4QVbLmxJACAIvQIDT7PtyHN2sC48EOWTgaA== @@ -32,27 +48,7 @@ dependencies: "@babel/highlight" "^7.8.3" -"@babel/core@7.7.7", "@babel/core@^7.1.0", "@babel/core@^7.7.7": - version "7.7.7" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.7.7.tgz#ee155d2e12300bcc0cff6a8ad46f2af5063803e9" - integrity sha512-jlSjuj/7z138NLZALxVgrx13AOtqip42ATZP7+kYl53GvDV6+4dCek1mVUo8z8c8Xnw/mx2q3d9HWh3griuesQ== - dependencies: - "@babel/code-frame" "^7.5.5" - "@babel/generator" "^7.7.7" - "@babel/helpers" "^7.7.4" - "@babel/parser" "^7.7.7" - "@babel/template" "^7.7.4" - "@babel/traverse" "^7.7.4" - "@babel/types" "^7.7.4" - convert-source-map "^1.7.0" - debug "^4.1.0" - json5 "^2.1.0" - lodash "^4.17.13" - resolve "^1.3.2" - semver "^5.4.1" - source-map "^0.5.0" - -"@babel/core@^7.7.5": +"@babel/core@7.8.4", "@babel/core@^7.7.5": version "7.8.4" resolved "https://registry.npmjs.org/@babel/core/-/core-7.8.4.tgz#d496799e5c12195b3602d0fddd77294e3e38e80e" integrity sha512-0LiLrB2PwrVI+a2/IEskBopDYSd8BCb3rOvH7D5tzoWd696TBEduBvuLVm4Nx6rltrLZqvI3MCalB2K2aVzQjA== @@ -73,6 +69,26 @@ semver "^5.4.1" source-map "^0.5.0" +"@babel/core@^7.1.0", "@babel/core@^7.7.7": + version "7.7.7" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.7.7.tgz#ee155d2e12300bcc0cff6a8ad46f2af5063803e9" + integrity sha512-jlSjuj/7z138NLZALxVgrx13AOtqip42ATZP7+kYl53GvDV6+4dCek1mVUo8z8c8Xnw/mx2q3d9HWh3griuesQ== + dependencies: + "@babel/code-frame" "^7.5.5" + "@babel/generator" "^7.7.7" + "@babel/helpers" "^7.7.4" + "@babel/parser" "^7.7.7" + "@babel/template" "^7.7.4" + "@babel/traverse" "^7.7.4" + "@babel/types" "^7.7.4" + convert-source-map "^1.7.0" + debug "^4.1.0" + json5 "^2.1.0" + lodash "^4.17.13" + resolve "^1.3.2" + semver "^5.4.1" + source-map "^0.5.0" + "@babel/generator@^7.0.0-beta.44", "@babel/generator@^7.7.4", "@babel/generator@^7.7.7": version "7.7.7" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.7.7.tgz#859ac733c44c74148e1a72980a64ec84b85f4f45" From 80d3362da46b79a088dbf51fd57149a590fa1e1e Mon Sep 17 00:00:00 2001 From: Armano Date: Wed, 5 Feb 2020 00:55:50 +0100 Subject: [PATCH 0054/2192] chore: enable typescript error on unused locals (#938) * chore: enable typescript error on unused locals * chore: add more typescript compiler flags --- @commitlint/load/src/load.test.ts | 1 - @commitlint/resolve-extends/src/index.test.ts | 1 - @commitlint/resolve-extends/src/index.ts | 2 +- @commitlint/rules/src/body-max-length.ts | 2 +- @commitlint/rules/src/body-max-line-length.ts | 2 +- @commitlint/rules/src/body-min-length.ts | 2 +- @commitlint/rules/src/footer-max-length.ts | 2 +- @commitlint/rules/src/footer-max-line-length.ts | 2 +- @commitlint/rules/src/footer-min-length.ts | 2 +- @commitlint/rules/src/header-max-length.ts | 2 +- @commitlint/rules/src/header-min-length.ts | 2 +- @commitlint/rules/src/scope-max-length.ts | 2 +- @commitlint/rules/src/scope-min-length.ts | 2 +- @commitlint/rules/src/subject-max-length.ts | 2 +- @commitlint/rules/src/subject-min-length.ts | 2 +- @commitlint/rules/src/type-max-length.ts | 2 +- @commitlint/rules/src/type-min-length.ts | 2 +- tsconfig.shared.json | 9 ++++++++- 18 files changed, 23 insertions(+), 18 deletions(-) diff --git a/@commitlint/load/src/load.test.ts b/@commitlint/load/src/load.test.ts index 4caeb1cf9e..bf633a8c82 100644 --- a/@commitlint/load/src/load.test.ts +++ b/@commitlint/load/src/load.test.ts @@ -12,7 +12,6 @@ import resolveFrom from 'resolve-from'; import {fix, git, npm} from '@commitlint/test'; import load from './load'; -import {RuleSeverity} from './types'; const fixBootstrap = (name: string) => fix.bootstrap(name, __dirname); const gitBootstrap = (name: string) => git.bootstrap(name, __dirname); diff --git a/@commitlint/resolve-extends/src/index.test.ts b/@commitlint/resolve-extends/src/index.test.ts index e7f3ff75aa..556dffc79b 100644 --- a/@commitlint/resolve-extends/src/index.test.ts +++ b/@commitlint/resolve-extends/src/index.test.ts @@ -1,5 +1,4 @@ import resolveExtends, {ResolveExtendsContext} from '.'; -import resolveGlobal from 'resolve-global'; const id = (id: unknown) => id; diff --git a/@commitlint/resolve-extends/src/index.ts b/@commitlint/resolve-extends/src/index.ts index 163ae1d9d4..252ca9379d 100644 --- a/@commitlint/resolve-extends/src/index.ts +++ b/@commitlint/resolve-extends/src/index.ts @@ -94,7 +94,7 @@ function getId(raw: string = '', prefix: string = ''): string { return relative || absolute ? raw : [prefix, raw].filter(String).join('-'); } -function resolveConfig( +function resolveConfig( raw: string, context: ResolveExtendsContext = {} ): string { diff --git a/@commitlint/rules/src/body-max-length.ts b/@commitlint/rules/src/body-max-length.ts index 461fdb84b7..995f29cb11 100644 --- a/@commitlint/rules/src/body-max-length.ts +++ b/@commitlint/rules/src/body-max-length.ts @@ -3,7 +3,7 @@ import {Rule} from './types'; export const bodyMaxLength: Rule = ( parsed, - when = undefined, + _when = undefined, value = 0 ) => { const input = parsed.body; diff --git a/@commitlint/rules/src/body-max-line-length.ts b/@commitlint/rules/src/body-max-line-length.ts index 76d42d2d81..83019ca195 100644 --- a/@commitlint/rules/src/body-max-line-length.ts +++ b/@commitlint/rules/src/body-max-line-length.ts @@ -3,7 +3,7 @@ import {Rule} from './types'; export const bodyMaxLineLength: Rule = ( parsed, - when = undefined, + _when = undefined, value = 0 ) => { const input = parsed.body; diff --git a/@commitlint/rules/src/body-min-length.ts b/@commitlint/rules/src/body-min-length.ts index a866db8512..c554746e5d 100644 --- a/@commitlint/rules/src/body-min-length.ts +++ b/@commitlint/rules/src/body-min-length.ts @@ -3,7 +3,7 @@ import {Rule} from './types'; export const bodyMinLength: Rule = ( parsed, - when = undefined, + _when = undefined, value = 0 ) => { if (!parsed.body) { diff --git a/@commitlint/rules/src/footer-max-length.ts b/@commitlint/rules/src/footer-max-length.ts index 0b7dfaffbb..82dd42961f 100644 --- a/@commitlint/rules/src/footer-max-length.ts +++ b/@commitlint/rules/src/footer-max-length.ts @@ -3,7 +3,7 @@ import {Rule} from './types'; export const footerMaxLength: Rule = ( parsed, - when = undefined, + _when = undefined, value = 0 ) => { const input = parsed.footer; diff --git a/@commitlint/rules/src/footer-max-line-length.ts b/@commitlint/rules/src/footer-max-line-length.ts index 09a0c58743..5ef7123222 100644 --- a/@commitlint/rules/src/footer-max-line-length.ts +++ b/@commitlint/rules/src/footer-max-line-length.ts @@ -3,7 +3,7 @@ import {Rule} from './types'; export const footerMaxLineLength: Rule = ( parsed, - when = undefined, + _when = undefined, value = 0 ) => { const input = parsed.footer; diff --git a/@commitlint/rules/src/footer-min-length.ts b/@commitlint/rules/src/footer-min-length.ts index 980a756d25..9447444e10 100644 --- a/@commitlint/rules/src/footer-min-length.ts +++ b/@commitlint/rules/src/footer-min-length.ts @@ -3,7 +3,7 @@ import {Rule} from './types'; export const footerMinLength: Rule = ( parsed, - when = undefined, + _when = undefined, value = 0 ) => { if (!parsed.footer) { diff --git a/@commitlint/rules/src/header-max-length.ts b/@commitlint/rules/src/header-max-length.ts index ea0c3af965..32bbd65b69 100644 --- a/@commitlint/rules/src/header-max-length.ts +++ b/@commitlint/rules/src/header-max-length.ts @@ -3,7 +3,7 @@ import {Rule} from './types'; export const headerMaxLength: Rule = ( parsed, - when = undefined, + _when = undefined, value = 0 ) => { return [ diff --git a/@commitlint/rules/src/header-min-length.ts b/@commitlint/rules/src/header-min-length.ts index 82362d2de5..c36b549867 100644 --- a/@commitlint/rules/src/header-min-length.ts +++ b/@commitlint/rules/src/header-min-length.ts @@ -3,7 +3,7 @@ import {Rule} from './types'; export const headerMinLength: Rule = ( parsed, - when = undefined, + _when = undefined, value = 0 ) => { return [ diff --git a/@commitlint/rules/src/scope-max-length.ts b/@commitlint/rules/src/scope-max-length.ts index f6eabaa105..24e3d5f478 100644 --- a/@commitlint/rules/src/scope-max-length.ts +++ b/@commitlint/rules/src/scope-max-length.ts @@ -3,7 +3,7 @@ import {Rule} from './types'; export const scopeMaxLength: Rule = ( parsed, - when = undefined, + _when = undefined, value = 0 ) => { const input = parsed.scope; diff --git a/@commitlint/rules/src/scope-min-length.ts b/@commitlint/rules/src/scope-min-length.ts index cf307968ee..ec088f6848 100644 --- a/@commitlint/rules/src/scope-min-length.ts +++ b/@commitlint/rules/src/scope-min-length.ts @@ -3,7 +3,7 @@ import {Rule} from './types'; export const scopeMinLength: Rule = ( parsed, - when = undefined, + _when = undefined, value = 0 ) => { const input = parsed.scope; diff --git a/@commitlint/rules/src/subject-max-length.ts b/@commitlint/rules/src/subject-max-length.ts index af5000260f..c8d492c706 100644 --- a/@commitlint/rules/src/subject-max-length.ts +++ b/@commitlint/rules/src/subject-max-length.ts @@ -3,7 +3,7 @@ import {Rule} from './types'; export const subjectMaxLength: Rule = ( parsed, - when = undefined, + _when = undefined, value = 0 ) => { const input = parsed.subject; diff --git a/@commitlint/rules/src/subject-min-length.ts b/@commitlint/rules/src/subject-min-length.ts index 5f86be8949..5cd7077c8a 100644 --- a/@commitlint/rules/src/subject-min-length.ts +++ b/@commitlint/rules/src/subject-min-length.ts @@ -3,7 +3,7 @@ import {Rule} from './types'; export const subjectMinLength: Rule = ( parsed, - when = undefined, + _when = undefined, value = 0 ) => { const input = parsed.subject; diff --git a/@commitlint/rules/src/type-max-length.ts b/@commitlint/rules/src/type-max-length.ts index fc06da43a6..29fc60076c 100644 --- a/@commitlint/rules/src/type-max-length.ts +++ b/@commitlint/rules/src/type-max-length.ts @@ -3,7 +3,7 @@ import {Rule} from './types'; export const typeMaxLength: Rule = ( parsed, - when = undefined, + _when = undefined, value = 0 ) => { const input = parsed.type; diff --git a/@commitlint/rules/src/type-min-length.ts b/@commitlint/rules/src/type-min-length.ts index 663091e989..c48852c398 100644 --- a/@commitlint/rules/src/type-min-length.ts +++ b/@commitlint/rules/src/type-min-length.ts @@ -3,7 +3,7 @@ import {Rule} from './types'; export const typeMinLength: Rule = ( parsed, - when = undefined, + _when = undefined, value = 0 ) => { const input = parsed.type; diff --git a/tsconfig.shared.json b/tsconfig.shared.json index 9b015b776e..a37ec27451 100644 --- a/tsconfig.shared.json +++ b/tsconfig.shared.json @@ -9,6 +9,13 @@ "module": "commonjs", "esModuleInterop": true, "allowSyntheticDefaultImports": true, - "strict": true + "strict": true, + "allowUnreachableCode": false, + "allowUnusedLabels": false, + "noUnusedLocals": true, + "noUnusedParameters": true, + "forceConsistentCasingInFileNames": true, + "keyofStringsOnly": true, + "noFallthroughCasesInSwitch": true } } From aaa6c6e39fb39a5e3bb3c59b9bf037bceeebafd6 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Wed, 5 Feb 2020 12:29:51 +1100 Subject: [PATCH 0055/2192] chore: remove obsolete git add (#942) --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 9f0db03e87..d6df1ef2d1 100644 --- a/package.json +++ b/package.json @@ -32,8 +32,7 @@ }, "lint-staged": { "*.{ts,js}": [ - "prettier --write", - "git add" + "prettier --write" ] }, "renovate": { From c63cf3309334e4fd1d32a04f4fafe97b84c9f036 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Wed, 5 Feb 2020 15:48:18 +1100 Subject: [PATCH 0056/2192] chore: enable isolated modules (#941) * chore: enable isolated modules * test: omit types file from test --- @commitlint/ensure/src/case.ts | 17 ++--------------- @commitlint/ensure/src/index.test.ts | 6 +++++- @commitlint/ensure/src/index.ts | 4 ++-- @commitlint/ensure/src/types.ts | 13 +++++++++++++ @commitlint/ensure/tsconfig.json | 9 ++------- @commitlint/is-ignored/src/defaults.ts | 3 +-- @commitlint/is-ignored/src/index.ts | 2 +- @commitlint/is-ignored/src/is-ignored.ts | 7 ++++--- @commitlint/is-ignored/src/types.ts | 1 + @commitlint/is-ignored/tsconfig.json | 2 +- @commitlint/load/package.json | 1 - @commitlint/load/src/types.ts | 3 +-- @commitlint/load/tsconfig.json | 3 +-- tsconfig.shared.json | 4 +++- 14 files changed, 37 insertions(+), 38 deletions(-) create mode 100644 @commitlint/ensure/src/types.ts create mode 100644 @commitlint/is-ignored/src/types.ts diff --git a/@commitlint/ensure/src/case.ts b/@commitlint/ensure/src/case.ts index 40d1dde568..f05067bd9f 100644 --- a/@commitlint/ensure/src/case.ts +++ b/@commitlint/ensure/src/case.ts @@ -1,21 +1,8 @@ -import * as _ from 'lodash'; +import _ from 'lodash'; +import {TargetCaseType} from '.'; export default ensureCase; -export type TargetCaseType = - | 'camel-case' - | 'kebab-case' - | 'snake-case' - | 'pascal-case' - | 'start-case' - | 'upper-case' - | 'uppercase' - | 'sentence-case' - | 'sentencecase' - | 'lower-case' - | 'lowercase' - | 'lowerCase'; - function ensureCase( raw: string = '', target: TargetCaseType = 'lowercase' diff --git a/@commitlint/ensure/src/index.test.ts b/@commitlint/ensure/src/index.test.ts index e495bf87b4..406a84ba9c 100644 --- a/@commitlint/ensure/src/index.test.ts +++ b/@commitlint/ensure/src/index.test.ts @@ -4,7 +4,11 @@ import {camelCase, values} from 'lodash'; import * as ensure from '.'; test('exports all checkers', async () => { - const expected = (await glob('*.ts')).map(f => camelCase(f)).sort(); + const ignore = ['types']; + const expected = (await glob('*.ts')) + .map(f => camelCase(f)) + .sort() + .filter(item => !ignore.includes(item)); const actual = Object.keys(ensure).sort(); expect(actual).toEqual(expected); }); diff --git a/@commitlint/ensure/src/index.ts b/@commitlint/ensure/src/index.ts index 7ff21e7e19..45db1238f8 100644 --- a/@commitlint/ensure/src/index.ts +++ b/@commitlint/ensure/src/index.ts @@ -1,11 +1,11 @@ -import ensureCase, {TargetCaseType} from './case'; +import ensureCase from './case'; import ensureEnum from './enum'; import maxLength from './max-length'; import maxLineLength from './max-line-length'; import minLength from './min-length'; import notEmpty from './not-empty'; +export * from './types'; export {ensureCase as case}; export {ensureEnum as enum}; -export {TargetCaseType}; export {maxLength, maxLineLength, minLength, notEmpty}; diff --git a/@commitlint/ensure/src/types.ts b/@commitlint/ensure/src/types.ts new file mode 100644 index 0000000000..9d7be804af --- /dev/null +++ b/@commitlint/ensure/src/types.ts @@ -0,0 +1,13 @@ +export type TargetCaseType = + | 'camel-case' + | 'kebab-case' + | 'snake-case' + | 'pascal-case' + | 'start-case' + | 'upper-case' + | 'uppercase' + | 'sentence-case' + | 'sentencecase' + | 'lower-case' + | 'lowercase' + | 'lowerCase'; diff --git a/@commitlint/ensure/tsconfig.json b/@commitlint/ensure/tsconfig.json index f4a57643f0..36dcb6ac74 100644 --- a/@commitlint/ensure/tsconfig.json +++ b/@commitlint/ensure/tsconfig.json @@ -5,11 +5,6 @@ "rootDir": "./src", "outDir": "./lib" }, - "include": [ - "./src" - ], - "exclude": [ - "./src/**/*.test.ts", - "./lib/**/*" - ] + "include": ["./src/**/*.ts"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"] } diff --git a/@commitlint/is-ignored/src/defaults.ts b/@commitlint/is-ignored/src/defaults.ts index 289e9d54e4..bf3e9aab1e 100644 --- a/@commitlint/is-ignored/src/defaults.ts +++ b/@commitlint/is-ignored/src/defaults.ts @@ -1,6 +1,5 @@ import * as semver from 'semver'; - -export type Matcher = (commit: string) => boolean; +import {Matcher} from './types'; const isSemver = (c: string): boolean => { const firstLine = c.split('\n').shift(); diff --git a/@commitlint/is-ignored/src/index.ts b/@commitlint/is-ignored/src/index.ts index 52d319a0bc..d5d119ef9e 100644 --- a/@commitlint/is-ignored/src/index.ts +++ b/@commitlint/is-ignored/src/index.ts @@ -1,2 +1,2 @@ export * from './is-ignored'; -export {Matcher} from './defaults'; +export * from './types'; diff --git a/@commitlint/is-ignored/src/is-ignored.ts b/@commitlint/is-ignored/src/is-ignored.ts index 4ede7337e9..85646b9885 100644 --- a/@commitlint/is-ignored/src/is-ignored.ts +++ b/@commitlint/is-ignored/src/is-ignored.ts @@ -1,7 +1,8 @@ -import * as Defaults from './defaults'; +import {wildcards} from './defaults'; +import {Matcher} from './types'; export interface IsIgnoredOptions { - ignores?: Defaults.Matcher[]; + ignores?: Matcher[]; defaults?: boolean; } @@ -27,6 +28,6 @@ export default function isIgnored( ); } - const base = opts.defaults === false ? [] : Defaults.wildcards; + const base = opts.defaults === false ? [] : wildcards; return [...base, ...ignores].some(w => w(commit)); } diff --git a/@commitlint/is-ignored/src/types.ts b/@commitlint/is-ignored/src/types.ts new file mode 100644 index 0000000000..b65554ca37 --- /dev/null +++ b/@commitlint/is-ignored/src/types.ts @@ -0,0 +1 @@ +export type Matcher = (commit: string) => boolean; diff --git a/@commitlint/is-ignored/tsconfig.json b/@commitlint/is-ignored/tsconfig.json index f4a57643f0..f3d0083154 100644 --- a/@commitlint/is-ignored/tsconfig.json +++ b/@commitlint/is-ignored/tsconfig.json @@ -6,7 +6,7 @@ "outDir": "./lib" }, "include": [ - "./src" + "./src/**/*.ts" ], "exclude": [ "./src/**/*.test.ts", diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 2ab4e58541..76f2c6cfdb 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -41,7 +41,6 @@ "dependencies": { "@commitlint/execute-rule": "^8.3.4", "@commitlint/resolve-extends": "^8.3.5", - "@commitlint/rules": "^8.3.4", "chalk": "3.0.0", "cosmiconfig": "^6.0.0", "lodash": "^4.17.15", diff --git a/@commitlint/load/src/types.ts b/@commitlint/load/src/types.ts index 77960194a7..37cdaa5a6b 100644 --- a/@commitlint/load/src/types.ts +++ b/@commitlint/load/src/types.ts @@ -1,7 +1,6 @@ import {TargetCaseType} from '@commitlint/ensure'; -import {RuleCondition} from '@commitlint/rules'; -export {RuleCondition} from '@commitlint/rules'; +export type RuleCondition = 'always' | 'never'; export type PluginRecords = Record; diff --git a/@commitlint/load/tsconfig.json b/@commitlint/load/tsconfig.json index 955cf565b8..08efe81993 100644 --- a/@commitlint/load/tsconfig.json +++ b/@commitlint/load/tsconfig.json @@ -14,7 +14,6 @@ ], "references": [ { "path": "../execute-rule" }, - { "path": "../resolve-extends" }, - { "path": "../rules" } + { "path": "../resolve-extends" } ] } diff --git a/tsconfig.shared.json b/tsconfig.shared.json index a37ec27451..3a76d85bb5 100644 --- a/tsconfig.shared.json +++ b/tsconfig.shared.json @@ -16,6 +16,8 @@ "noUnusedParameters": true, "forceConsistentCasingInFileNames": true, "keyofStringsOnly": true, - "noFallthroughCasesInSwitch": true + "noFallthroughCasesInSwitch": true, + "isolatedModules": true, + "skipLibCheck": true } } From f859318333f78078daeb7752fac4aa5979fd52f7 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Wed, 5 Feb 2020 15:54:34 +1100 Subject: [PATCH 0057/2192] chore: ignore fixture package.json files for renovate (#949) --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index d6df1ef2d1..a12ddd74dc 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ }, "renovate": { "rangeStrategy": "update-lockfile", + "ignorePaths": ["**/fixtures/**/package.json"], "extends": [ "config:base", ":semanticCommitType(chore)", From 35661f372df3e34c22da288a2f6a96b555ad8c2a Mon Sep 17 00:00:00 2001 From: Armano Date: Wed, 5 Feb 2020 06:14:53 +0100 Subject: [PATCH 0058/2192] refactor: replace unmaintained sander package with fs-extra (#947) * test(cli): replace unmaintained sander package with fs-extra * fix: remove sander in favor of fs-extra * chore: update lockfile * fix: adapt to fs-extra API Co-authored-by: Mario Nebl --- @commitlint/cli/package.json | 2 +- @commitlint/cli/src/cli.test.js | 13 ++++++------- @commitlint/read/package.json | 2 +- @commitlint/read/src/get-edit-commit.ts | 5 ++--- @commitlint/read/src/get-edit-file-path.ts | 7 +++---- @commitlint/read/src/read.test.ts | 14 +++++++------- @packages/utils/package.json | 1 - package.json | 3 --- yarn.lock | 22 ++-------------------- 9 files changed, 22 insertions(+), 47 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index fab00ef91e..51b6ef6f28 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -51,7 +51,7 @@ "babel-preset-commitlint": "^8.2.0", "cross-env": "7.0.0", "execa": "0.11.0", - "sander": "0.6.0", + "fs-extra": "^8.1.0", "string-to-stream": "3.0.1" }, "dependencies": { diff --git a/@commitlint/cli/src/cli.test.js b/@commitlint/cli/src/cli.test.js index 9f66db8431..f035517cfe 100644 --- a/@commitlint/cli/src/cli.test.js +++ b/@commitlint/cli/src/cli.test.js @@ -2,7 +2,7 @@ import path from 'path'; import {fix, git} from '@commitlint/test'; import execa from 'execa'; import {merge} from 'lodash'; -import * as sander from 'sander'; +import fs from 'fs-extra'; import stream from 'string-to-stream'; const bin = require.resolve('../lib/cli.js'); @@ -233,7 +233,7 @@ test('should work with husky via commitlint -e %HUSKY_GIT_PARAMS%', async () => test('should allow reading of environment variables for edit file, succeeding if valid', async () => { const cwd = await gitBootstrap('fixtures/simple'); - await sander.writeFile(cwd, 'commit-msg-file', 'foo'); + await fs.writeFile(path.join(cwd, 'commit-msg-file'), 'foo'); const actual = await cli(['--env', 'variable'], { cwd, env: {variable: 'commit-msg-file'} @@ -243,9 +243,8 @@ test('should allow reading of environment variables for edit file, succeeding if test('should allow reading of environment variables for edit file, failing if invalid', async () => { const cwd = await gitBootstrap('fixtures/simple'); - await sander.writeFile( - cwd, - 'commit-msg-file', + await fs.writeFile( + path.join(cwd, 'commit-msg-file'), 'foo: bar\n\nFoo bar bizz buzz.\n\nCloses #123.' ); const actual = await cli(['--env', 'variable'], { @@ -428,7 +427,7 @@ test('should work with relative formatter path', async () => { async function writePkg(payload, options) { const pkgPath = path.join(options.cwd, 'package.json'); - const pkg = JSON.parse(await sander.readFile(pkgPath)); + const pkg = JSON.parse(await fs.readFile(pkgPath, 'utf-8')); const result = merge(pkg, payload); - await sander.writeFile(pkgPath, JSON.stringify(result, null, ' ')); + await fs.writeFile(pkgPath, JSON.stringify(result, null, ' ')); } diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 02ed2ea446..1962a34888 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -45,7 +45,7 @@ }, "dependencies": { "@commitlint/top-level": "^8.3.4", - "@marionebl/sander": "^0.6.0", + "fs-extra": "^8.1.0", "git-raw-commits": "^2.0.0" } } diff --git a/@commitlint/read/src/get-edit-commit.ts b/@commitlint/read/src/get-edit-commit.ts index a36a7ba0ea..81041db926 100644 --- a/@commitlint/read/src/get-edit-commit.ts +++ b/@commitlint/read/src/get-edit-commit.ts @@ -1,8 +1,7 @@ import toplevel from '@commitlint/top-level'; +import fs from 'fs-extra'; import {getEditFilePath} from './get-edit-file-path'; -const sander = require('@marionebl/sander'); - // Get recently edited commit message export async function getEditCommit( cwd?: string, @@ -15,7 +14,7 @@ export async function getEditCommit( } const editFilePath = await getEditFilePath(top, edit); + const editFile: Buffer = await fs.readFile(editFilePath); - const editFile: Buffer = await sander.readFile(editFilePath); return [`${editFile.toString('utf-8')}\n`]; } diff --git a/@commitlint/read/src/get-edit-file-path.ts b/@commitlint/read/src/get-edit-file-path.ts index 3b8ecf37aa..6d92ce4fb6 100644 --- a/@commitlint/read/src/get-edit-file-path.ts +++ b/@commitlint/read/src/get-edit-file-path.ts @@ -1,7 +1,6 @@ import path from 'path'; import {Stats} from 'fs'; - -const sander = require('@marionebl/sander'); +import fs from 'fs-extra'; // Get path to recently edited commit message file export async function getEditFilePath( @@ -13,13 +12,13 @@ export async function getEditFilePath( } const dotgitPath = path.join(top, '.git'); - const dotgitStats: Stats = sander.lstatSync(dotgitPath); + const dotgitStats: Stats = await fs.lstat(dotgitPath); if (dotgitStats.isDirectory()) { return path.join(top, '.git/COMMIT_EDITMSG'); } - const gitFile: string = await sander.readFile(dotgitPath, { + const gitFile: string = await fs.readFile(dotgitPath, { encoding: 'utf-8' }); const relativeGitPath = gitFile.replace('gitdir: ', '').replace('\n', ''); diff --git a/@commitlint/read/src/read.test.ts b/@commitlint/read/src/read.test.ts index 98d445a446..a4c1a4c48e 100644 --- a/@commitlint/read/src/read.test.ts +++ b/@commitlint/read/src/read.test.ts @@ -1,14 +1,14 @@ +import path from 'path'; import {git} from '@commitlint/test'; import execa from 'execa'; - -const sander = require('@marionebl/sander'); +import fs from 'fs-extra'; import read from './read'; test('get edit commit message specified by the `edit` flag', async () => { const cwd: string = await git.bootstrap(); - await sander.writeFile(cwd, 'commit-msg-file', 'foo'); + await fs.writeFile(path.join(cwd, 'commit-msg-file'), 'foo'); const expected = ['foo\n']; const actual = await read({edit: 'commit-msg-file', cwd}); @@ -18,7 +18,7 @@ test('get edit commit message specified by the `edit` flag', async () => { test('get edit commit message from git root', async () => { const cwd: string = await git.bootstrap(); - await sander.writeFile(cwd, 'alpha.txt', 'alpha'); + await fs.writeFile(path.join(cwd, 'alpha.txt'), 'alpha'); await execa('git', ['add', '.'], {cwd}); await execa('git', ['commit', '-m', 'alpha'], {cwd}); const expected = ['alpha\n\n']; @@ -28,7 +28,7 @@ test('get edit commit message from git root', async () => { test('get history commit messages', async () => { const cwd: string = await git.bootstrap(); - await sander.writeFile(cwd, 'alpha.txt', 'alpha'); + await fs.writeFile(path.join(cwd, 'alpha.txt'), 'alpha'); await execa('git', ['add', 'alpha.txt'], {cwd}); await execa('git', ['commit', '-m', 'alpha'], {cwd}); await execa('git', ['rm', 'alpha.txt'], {cwd}); @@ -41,8 +41,8 @@ test('get history commit messages', async () => { test('get edit commit message from git subdirectory', async () => { const cwd: string = await git.bootstrap(); - await sander.mkdir(cwd, 'beta'); - await sander.writeFile(cwd, 'beta/beta.txt', 'beta'); + await fs.mkdir(path.join(cwd, 'beta')); + await fs.writeFile(path.join(cwd, 'beta/beta.txt'), 'beta'); await execa('git', ['add', '.'], {cwd}); await execa('git', ['commit', '-m', 'beta'], {cwd}); diff --git a/@packages/utils/package.json b/@packages/utils/package.json index c2a95c4224..eb8cab915a 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -41,7 +41,6 @@ "license": "MIT", "dependencies": { "@commitlint/test": "8.2.0", - "@marionebl/sander": "0.6.1", "execa": "0.11.0", "is-builtin-module": "3.0.0", "lodash": "^4.17.15", diff --git a/package.json b/package.json index a12ddd74dc..88e75732a3 100644 --- a/package.json +++ b/package.json @@ -72,9 +72,6 @@ "name": "Mario Nebl", "email": "hello@herebecode.com" }, - "dependencies": { - "@marionebl/sander": "0.6.1" - }, "devDependencies": { "@lerna/project": "3.18.0", "@types/jest": "25.1.1", diff --git a/yarn.lock b/yarn.lock index dd7967e3ca..a00fb78aa5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1798,15 +1798,6 @@ npmlog "^4.1.2" write-file-atomic "^2.3.0" -"@marionebl/sander@0.6.1", "@marionebl/sander@^0.6.0": - version "0.6.1" - resolved "https://registry.npmjs.org/@marionebl/sander/-/sander-0.6.1.tgz#1958965874f24bc51be48875feb50d642fc41f7b" - integrity sha1-GViWWHTyS8Ub5Ih1/rUNZC/EH3s= - dependencies: - graceful-fs "^4.1.3" - mkdirp "^0.5.1" - rimraf "^2.5.2" - "@mrmlnc/readdir-enhanced@^2.2.1": version "2.2.1" resolved "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde" @@ -4577,7 +4568,7 @@ got@^9.6.0: to-readable-stream "^1.0.0" url-parse-lax "^3.0.0" -graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.3: +graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== @@ -7910,7 +7901,7 @@ right-pad@^1.0.1: resolved "https://registry.npmjs.org/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0" integrity sha1-jKCMLLtbVedNr6lr9/0aJ9VoyNA= -rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3: +rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3: version "2.7.1" resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== @@ -7989,15 +7980,6 @@ safe-regex@^1.1.0: resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -sander@0.6.0: - version "0.6.0" - resolved "https://registry.npmjs.org/sander/-/sander-0.6.0.tgz#af1624cd7fb6dfad98ebef565319f920078da925" - integrity sha1-rxYkzX+2362Y6+9WUxn5IAeNqSU= - dependencies: - graceful-fs "^4.1.3" - mkdirp "^0.5.1" - rimraf "^2.5.2" - sane@^4.0.3: version "4.1.0" resolved "https://registry.npmjs.org/sane/-/sane-4.1.0.tgz#ed881fd922733a6c461bc189dc2b6c006f3ffded" From 9fa03d5c0e6ead0dc63afcdd478ef19c80cd31c5 Mon Sep 17 00:00:00 2001 From: Armano Date: Wed, 5 Feb 2020 06:40:38 +0100 Subject: [PATCH 0059/2192] chore: import only required lodash functions (#945) Co-authored-by: Mario Nebl --- @commitlint/cli/src/cli.test.js | 2 +- @commitlint/config-patternplate/index.js | 2 +- @commitlint/ensure/src/case.ts | 16 ++++++++++------ @commitlint/ensure/src/index.test.ts | 3 ++- @commitlint/lint/src/index.js | 3 ++- @commitlint/load/src/load.ts | 5 ++++- @commitlint/load/src/utils/load-parser-opts.ts | 2 +- @commitlint/load/src/utils/pick-config.ts | 2 +- @commitlint/parse/src/index.ts | 3 ++- @commitlint/prompt/src/library/format.js | 2 +- .../prompt/src/library/get-forced-case-fn.js | 16 ++++++++++------ @commitlint/prompt/src/library/meta.js | 2 +- @commitlint/resolve-extends/src/index.ts | 5 ++++- @packages/utils/pkg-check.js | 2 +- 14 files changed, 41 insertions(+), 24 deletions(-) diff --git a/@commitlint/cli/src/cli.test.js b/@commitlint/cli/src/cli.test.js index f035517cfe..c99a710007 100644 --- a/@commitlint/cli/src/cli.test.js +++ b/@commitlint/cli/src/cli.test.js @@ -1,7 +1,7 @@ import path from 'path'; import {fix, git} from '@commitlint/test'; import execa from 'execa'; -import {merge} from 'lodash'; +import merge from 'lodash/merge'; import fs from 'fs-extra'; import stream from 'string-to-stream'; diff --git a/@commitlint/config-patternplate/index.js b/@commitlint/config-patternplate/index.js index 8bb07cac52..905613babe 100644 --- a/@commitlint/config-patternplate/index.js +++ b/@commitlint/config-patternplate/index.js @@ -1,6 +1,6 @@ const path = require('path'); const globby = require('globby'); -const {merge} = require('lodash'); +const merge = require('lodash/merge'); function pathToId(root, filePath) { const relativePath = path.relative(root, filePath); diff --git a/@commitlint/ensure/src/case.ts b/@commitlint/ensure/src/case.ts index f05067bd9f..cb72e18633 100644 --- a/@commitlint/ensure/src/case.ts +++ b/@commitlint/ensure/src/case.ts @@ -1,4 +1,8 @@ -import _ from 'lodash'; +import camelCase from 'lodash/camelCase'; +import kebabCase from 'lodash/kebabCase'; +import snakeCase from 'lodash/snakeCase'; +import upperFirst from 'lodash/upperFirst'; +import startCase from 'lodash/startCase'; import {TargetCaseType} from '.'; export default ensureCase; @@ -25,15 +29,15 @@ function ensureCase( function toCase(input: string, target: TargetCaseType): string { switch (target) { case 'camel-case': - return _.camelCase(input); + return camelCase(input); case 'kebab-case': - return _.kebabCase(input); + return kebabCase(input); case 'snake-case': - return _.snakeCase(input); + return snakeCase(input); case 'pascal-case': - return _.upperFirst(_.camelCase(input)); + return upperFirst(camelCase(input)); case 'start-case': - return _.startCase(input); + return startCase(input); case 'upper-case': case 'uppercase': return input.toUpperCase(); diff --git a/@commitlint/ensure/src/index.test.ts b/@commitlint/ensure/src/index.test.ts index 406a84ba9c..73097266ee 100644 --- a/@commitlint/ensure/src/index.test.ts +++ b/@commitlint/ensure/src/index.test.ts @@ -1,6 +1,7 @@ import path from 'path'; import globby from 'globby'; -import {camelCase, values} from 'lodash'; +import values from 'lodash/values'; +import camelCase from 'lodash/camelCase'; import * as ensure from '.'; test('exports all checkers', async () => { diff --git a/@commitlint/lint/src/index.js b/@commitlint/lint/src/index.js index 25e2fd64c9..5a352fa4d1 100644 --- a/@commitlint/lint/src/index.js +++ b/@commitlint/lint/src/index.js @@ -2,7 +2,8 @@ import util from 'util'; import isIgnored from '@commitlint/is-ignored'; import parse from '@commitlint/parse'; import implementations from '@commitlint/rules'; -import {toPairs, values} from 'lodash'; +import toPairs from 'lodash/toPairs'; +import values from 'lodash/values'; const buildCommitMesage = ({header, body, footer}) => { let message = header; diff --git a/@commitlint/load/src/load.ts b/@commitlint/load/src/load.ts index 7ca6643a7d..14cbdf7d94 100644 --- a/@commitlint/load/src/load.ts +++ b/@commitlint/load/src/load.ts @@ -1,6 +1,9 @@ import Path from 'path'; -import {toPairs, merge, mergeWith, pick} from 'lodash'; +import toPairs from 'lodash/toPairs'; +import merge from 'lodash/merge'; +import mergeWith from 'lodash/mergeWith'; +import pick from 'lodash/pick'; import resolveFrom from 'resolve-from'; import executeRule from '@commitlint/execute-rule'; diff --git a/@commitlint/load/src/utils/load-parser-opts.ts b/@commitlint/load/src/utils/load-parser-opts.ts index 788c77112f..5abe25fd99 100644 --- a/@commitlint/load/src/utils/load-parser-opts.ts +++ b/@commitlint/load/src/utils/load-parser-opts.ts @@ -1,4 +1,4 @@ -import {startsWith} from 'lodash'; +import startsWith from 'lodash/startsWith'; export async function loadParserOpts( parserName: string, diff --git a/@commitlint/load/src/utils/pick-config.ts b/@commitlint/load/src/utils/pick-config.ts index 04074cbb87..ce7187a706 100644 --- a/@commitlint/load/src/utils/pick-config.ts +++ b/@commitlint/load/src/utils/pick-config.ts @@ -1,5 +1,5 @@ import {UserConfig} from '../types'; -import {pick} from 'lodash'; +import pick from 'lodash/pick'; export const pickConfig = (input: unknown): UserConfig => pick( diff --git a/@commitlint/parse/src/index.ts b/@commitlint/parse/src/index.ts index 3f2a8fd72c..9834946b57 100644 --- a/@commitlint/parse/src/index.ts +++ b/@commitlint/parse/src/index.ts @@ -1,4 +1,5 @@ -import {isArray, mergeWith} from 'lodash'; +import mergeWith from 'lodash/mergeWith'; +import isArray from 'lodash/isArray'; import {Commit, Parser, ParserOptions} from './types'; const {sync} = require('conventional-commits-parser'); diff --git a/@commitlint/prompt/src/library/format.js b/@commitlint/prompt/src/library/format.js index 64bd01d7c1..dfab8add54 100644 --- a/@commitlint/prompt/src/library/format.js +++ b/@commitlint/prompt/src/library/format.js @@ -1,5 +1,5 @@ import chalk from 'chalk'; -import {toPairs} from 'lodash'; +import toPairs from 'lodash/toPairs'; export default format; diff --git a/@commitlint/prompt/src/library/get-forced-case-fn.js b/@commitlint/prompt/src/library/get-forced-case-fn.js index 29ebd553bf..dd4c7fb07e 100644 --- a/@commitlint/prompt/src/library/get-forced-case-fn.js +++ b/@commitlint/prompt/src/library/get-forced-case-fn.js @@ -1,4 +1,8 @@ -import * as _ from 'lodash'; +import camelCase from 'lodash/camelCase'; +import kebabCase from 'lodash/kebabCase'; +import snakeCase from 'lodash/snakeCase'; +import upperFirst from 'lodash/upperFirst'; +import startCase from 'lodash/startCase'; /** * Get forced case for rule @@ -38,15 +42,15 @@ export default function getForcedCaseFn(rule) { switch (target) { case 'camel-case': - return input => _.camelCase(input); + return input => camelCase(input); case 'kebab-case': - return input => _.kebabCase(input); + return input => kebabCase(input); case 'snake-case': - return input => _.snakeCase(input); + return input => snakeCase(input); case 'pascal-case': - return input => _.upperFirst(_.camelCase(input)); + return input => upperFirst(camelCase(input)); case 'start-case': - return input => _.startCase(input); + return input => startCase(input); case 'upper-case': case 'uppercase': return input => input.toUpperCase(); diff --git a/@commitlint/prompt/src/library/meta.js b/@commitlint/prompt/src/library/meta.js index 9cec53604e..f463734efb 100644 --- a/@commitlint/prompt/src/library/meta.js +++ b/@commitlint/prompt/src/library/meta.js @@ -1,5 +1,5 @@ import chalk from 'chalk'; -import {toPairs} from 'lodash'; +import toPairs from 'lodash/toPairs'; /** * Get formatted meta hints for configuration diff --git a/@commitlint/resolve-extends/src/index.ts b/@commitlint/resolve-extends/src/index.ts index 252ca9379d..9a94e5ba03 100644 --- a/@commitlint/resolve-extends/src/index.ts +++ b/@commitlint/resolve-extends/src/index.ts @@ -2,7 +2,10 @@ import path from 'path'; import 'resolve-global'; import resolveFrom from 'resolve-from'; -import {isArray, merge, mergeWith, omit} from 'lodash'; +import isArray from 'lodash/isArray'; +import merge from 'lodash/merge'; +import mergeWith from 'lodash/mergeWith'; +import omit from 'lodash/omit'; const importFresh = require('import-fresh'); diff --git a/@packages/utils/pkg-check.js b/@packages/utils/pkg-check.js index 3122ae80a6..9cc5c7bd8a 100755 --- a/@packages/utils/pkg-check.js +++ b/@packages/utils/pkg-check.js @@ -8,7 +8,7 @@ const meow = require('meow'); const readPkg = require('read-pkg'); const requireFromString = require('require-from-string'); const tar = require('tar-fs'); -const {values} = require('lodash'); +const values = require('lodash/values'); const {fix} = require('@commitlint/test'); const builtin = require.resolve('is-builtin-module'); From f88a3666b3ee659a92fbc72f36fcb0d142cf69e0 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Wed, 5 Feb 2020 16:54:11 +1100 Subject: [PATCH 0060/2192] test: speed up config-lerna-scopes test suite (#950) --- @commitlint/config-lerna-scopes/index.test.js | 20 +- @packages/test/src/index.ts | 3 +- @packages/test/src/lerna.ts | 21 + @packages/test/tsconfig.json | 2 +- package.json | 4 +- yarn.lock | 650 +++++++++++++++++- 6 files changed, 668 insertions(+), 32 deletions(-) create mode 100644 @packages/test/src/lerna.ts diff --git a/@commitlint/config-lerna-scopes/index.test.js b/@commitlint/config-lerna-scopes/index.test.js index 0e7a86c1ed..45df721bcd 100644 --- a/@commitlint/config-lerna-scopes/index.test.js +++ b/@commitlint/config-lerna-scopes/index.test.js @@ -1,4 +1,4 @@ -import {npm} from '@commitlint/test'; +import {lerna} from '@commitlint/test'; import config from '.'; test('exports rules key', () => { @@ -46,27 +46,29 @@ test('scope-enum has expected modifier', async () => { test('returns empty value for empty lerna repository', async () => { const {'scope-enum': fn} = config.rules; - const cwd = await npm.bootstrap('fixtures/empty', __dirname); + const cwd = await lerna.bootstrap('empty', __dirname); const [, , value] = await fn({cwd}); expect(value).toEqual([]); -}, 60000); +}); test('returns expected value for basic lerna repository', async () => { const {'scope-enum': fn} = config.rules; - const cwd = await npm.bootstrap('fixtures/basic', __dirname); + const cwd = await lerna.bootstrap('basic', __dirname); + const [, , value] = await fn({cwd}); expect(value).toEqual(['a', 'b']); -}, 60000); +}); test('returns expected value for scoped lerna repository', async () => { const {'scope-enum': fn} = config.rules; - const cwd = await npm.bootstrap('fixtures/scoped', __dirname); + const cwd = await lerna.bootstrap('scoped', __dirname); + const [, , value] = await fn({cwd}); expect(value).toEqual(['a', 'b']); -}, 60000); +}); test('works with lerna version < 3', async () => { const {'scope-enum': fn} = config.rules; - const cwd = await npm.bootstrap('fixtures/lerna-two', __dirname); + const cwd = await lerna.bootstrap('lerna-two', __dirname); await expect(fn({cwd})).resolves.toBeTruthy(); -}, 60000); +}); diff --git a/@packages/test/src/index.ts b/@packages/test/src/index.ts index 2825fd2120..4c28118d53 100644 --- a/@packages/test/src/index.ts +++ b/@packages/test/src/index.ts @@ -1,5 +1,6 @@ import * as fix from './fix'; import * as git from './git'; +import * as lerna from './lerna'; import * as npm from './npm'; -export {fix, git, npm}; +export {fix, git, lerna, npm}; diff --git a/@packages/test/src/lerna.ts b/@packages/test/src/lerna.ts new file mode 100644 index 0000000000..f8c7b7550f --- /dev/null +++ b/@packages/test/src/lerna.ts @@ -0,0 +1,21 @@ +import path from 'path'; +import fs from 'fs-extra'; +import resolvePkg from 'resolve-pkg'; +import * as fix from './fix'; + +export type LernaFixture = 'basic' | 'empty' | 'lerna-two' | 'scoped'; + +export async function bootstrap( + fixture: string, + directory: string +): Promise { + const cwd = await fix.bootstrap(`fixtures/${fixture}`, directory); + const lerna = fixture === 'lerna-two' ? 'lerna-v2' : 'lerna-v3'; + await fs.mkdirp(path.join(cwd, 'node_modules', '@lerna')); + await fs.symlink( + resolvePkg('@lerna/project')!, + path.join(cwd, 'node_modules', '@lerna', 'project') + ); + await fs.symlink(resolvePkg(lerna)!, path.join(cwd, 'node_modules', 'lerna')); + return cwd; +} diff --git a/@packages/test/tsconfig.json b/@packages/test/tsconfig.json index f4a57643f0..f3d0083154 100644 --- a/@packages/test/tsconfig.json +++ b/@packages/test/tsconfig.json @@ -6,7 +6,7 @@ "outDir": "./lib" }, "include": [ - "./src" + "./src/**/*.ts" ], "exclude": [ "./src/**/*.test.ts", diff --git a/package.json b/package.json index 88e75732a3..87c896383e 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,9 @@ "lint-staged": "10.0.7", "prettier": "1.17.1", "ts-jest": "25.2.0", - "typescript": "3.7.5" + "typescript": "3.7.5", + "lerna-v2": "npm:lerna@2", + "lerna-v3": "npm:lerna@3" }, "husky": { "hooks": { diff --git a/yarn.lock b/yarn.lock index a00fb78aa5..cf5eca4216 100644 --- a/yarn.lock +++ b/yarn.lock @@ -939,6 +939,11 @@ unique-filename "^1.1.1" which "^1.3.1" +"@improved/node@^1.0.0": + version "1.1.1" + resolved "https://registry.npmjs.org/@improved/node/-/node-1.1.1.tgz#7be3d401b7cd2f848d5bb8713d2826b84fc51817" + integrity sha512-ePDxG9UuU9Kobk90ZUjtmDW8IT9U7aRb1/Rl9683MRNM+ur0ocHL2v7TPH2ajTiVSBUFbbeW8vKIt9jrb0JIAA== + "@istanbuljs/load-nyc-config@^1.0.0": version "1.0.0" resolved "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.0.0.tgz#10602de5570baea82f8afbfa2630b24e7a8cfe5b" @@ -2147,6 +2152,11 @@ acorn@^7.1.0: resolved "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c" integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ== +add-stream@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" + integrity sha1-anmQQ3ynNtXhKI25K9MmbV9csqo= + agent-base@4, agent-base@^4.3.0: version "4.3.0" resolved "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee" @@ -2328,7 +2338,7 @@ array-ify@^1.0.0: resolved "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" integrity sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4= -array-union@^1.0.2: +array-union@^1.0.1, array-union@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" integrity sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk= @@ -2392,6 +2402,11 @@ async-limiter@~1.0.0: resolved "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== +async@^1.5.0: + version "1.5.2" + resolved "https://registry.npmjs.org/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" + integrity sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo= + asynckit@^0.4.0: version "0.4.0" resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -2777,6 +2792,11 @@ capture-exit@^2.0.0: dependencies: rsvp "^4.8.4" +capture-stack-trace@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz#a6c0bbe1f38f3aa0b92238ecb6ff42c344d4135d" + integrity sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw== + caseless@~0.12.0: version "0.12.0" resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" @@ -2801,7 +2821,7 @@ chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.0, chalk@^2.0.1, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: +chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -2810,6 +2830,11 @@ chalk@^2.0.0, chalk@^2.0.1, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" +chardet@^0.4.0: + version "0.4.2" + resolved "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" + integrity sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I= + chardet@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" @@ -2839,6 +2864,11 @@ chownr@^1.1.1, chownr@^1.1.2: resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142" integrity sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw== +ci-info@^1.5.0: + version "1.6.0" + resolved "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" + integrity sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A== + ci-info@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" @@ -2900,6 +2930,15 @@ clipboard@^2.0.0: select "^1.1.2" tiny-emitter "^2.0.0" +cliui@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" + integrity sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0= + dependencies: + string-width "^1.0.1" + strip-ansi "^3.0.1" + wrap-ansi "^2.0.0" + cliui@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" @@ -2939,6 +2978,14 @@ clone@^1.0.2: resolved "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= +cmd-shim@^2.0.2: + version "2.1.0" + resolved "https://registry.npmjs.org/cmd-shim/-/cmd-shim-2.1.0.tgz#e59a08d4248dda3bb502044083a4db4ac890579a" + integrity sha512-A5C0Cyf2H8sKsHqX0tvIWRXw5/PK++3Dc0lDbsugr90nOECLLuSPahVQBG8pgmgiXgm/TzBWMqI2rWdZwHduAw== + dependencies: + graceful-fs "^4.1.2" + mkdirp "~0.5.0" + co@^4.6.0: version "4.6.0" resolved "https://registry.npmjs.org/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" @@ -3001,6 +3048,13 @@ combined-stream@^1.0.6, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" +command-join@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/command-join/-/command-join-2.0.1.tgz#0a9e58a84e94bd0d1b6c75ce1078723d8a7645cb" + integrity sha512-LBA9kSxtg2SA8itaBeuitpn4pZQOhGVP1dyU1cnXLYrBpF3sikaPhjWPqyqVh7oGpneI05RtJs9a0fftIEgXcA== + dependencies: + "@improved/node" "^1.0.0" + commander@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/commander/-/commander-4.0.1.tgz#b67622721785993182e807f4883633e6401ba53c" @@ -3055,7 +3109,7 @@ concat-map@0.0.1: resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= -concat-stream@^1.5.0: +concat-stream@^1.4.10, concat-stream@^1.5.0: version "1.6.2" resolved "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== @@ -3123,6 +3177,39 @@ conventional-changelog-angular@5.0.6, conventional-changelog-angular@^5.0.0, con compare-func "^1.3.1" q "^1.5.1" +conventional-changelog-angular@^1.6.6: + version "1.6.6" + resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-1.6.6.tgz#b27f2b315c16d0a1f23eb181309d0e6a4698ea0f" + integrity sha512-suQnFSqCxRwyBxY68pYTsFkG0taIdinHLNEAX5ivtw8bCRnIgnpvcHmlR/yjUyZIrNPYAoXlY1WiEKWgSE4BNg== + dependencies: + compare-func "^1.3.1" + q "^1.5.1" + +conventional-changelog-atom@^0.2.8: + version "0.2.8" + resolved "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-0.2.8.tgz#8037693455990e3256f297320a45fa47ee553a14" + integrity sha512-8pPZqhMbrnltNBizjoDCb/Sz85KyUXNDQxuAEYAU5V/eHn0okMBVjqc8aHWYpHrytyZWvMGbayOlDv7i8kEf6g== + dependencies: + q "^1.5.1" + +conventional-changelog-cli@^1.3.13: + version "1.3.22" + resolved "https://registry.npmjs.org/conventional-changelog-cli/-/conventional-changelog-cli-1.3.22.tgz#13570fe1728f56f013ff7a88878ff49d5162a405" + integrity sha512-pnjdIJbxjkZ5VdAX/H1wndr1G10CY8MuZgnXuJhIHglOXfIrXygb7KZC836GW9uo1u8PjEIvIw/bKX0lOmOzZg== + dependencies: + add-stream "^1.0.0" + conventional-changelog "^1.1.24" + lodash "^4.2.1" + meow "^4.0.0" + tempfile "^1.1.1" + +conventional-changelog-codemirror@^0.3.8: + version "0.3.8" + resolved "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-0.3.8.tgz#a1982c8291f4ee4d6f2f62817c6b2ecd2c4b7b47" + integrity sha512-3HFZKtBXTaUCHvz7ai6nk2+psRIkldDoNzCsom0egDtVmPsvvHZkzjynhdQyULfacRSsBTaiQ0ol6nBOL4dDiQ== + dependencies: + q "^1.5.1" + conventional-changelog-conventionalcommits@4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.2.3.tgz#22855b32d57d0328951c1c2dc01b172a5f24ea37" @@ -3132,6 +3219,25 @@ conventional-changelog-conventionalcommits@4.2.3: lodash "^4.17.15" q "^1.5.1" +conventional-changelog-core@^2.0.11: + version "2.0.11" + resolved "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-2.0.11.tgz#19b5fbd55a9697773ed6661f4e32030ed7e30287" + integrity sha512-HvTE6RlqeEZ/NFPtQeFLsIDOLrGP3bXYr7lFLMhCVsbduF1MXIe8OODkwMFyo1i9ku9NWBwVnVn0jDmIFXjDRg== + dependencies: + conventional-changelog-writer "^3.0.9" + conventional-commits-parser "^2.1.7" + dateformat "^3.0.0" + get-pkg-repo "^1.0.0" + git-raw-commits "^1.3.6" + git-remote-origin-url "^2.0.0" + git-semver-tags "^1.3.6" + lodash "^4.2.1" + normalize-package-data "^2.3.5" + q "^1.5.1" + read-pkg "^1.1.0" + read-pkg-up "^1.0.1" + through2 "^2.0.0" + conventional-changelog-core@^3.1.6: version "3.2.3" resolved "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-3.2.3.tgz#b31410856f431c847086a7dcb4d2ca184a7d88fb" @@ -3151,11 +3257,75 @@ conventional-changelog-core@^3.1.6: read-pkg-up "^3.0.0" through2 "^3.0.0" +conventional-changelog-ember@^0.3.12: + version "0.3.12" + resolved "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-0.3.12.tgz#b7d31851756d0fcb49b031dffeb6afa93b202400" + integrity sha512-mmJzA7uzbrOqeF89dMMi6z17O07ORTXlTMArnLG9ZTX4oLaKNolUlxFUFlFm9JUoVWajVpaHQWjxH1EOQ+ARoQ== + dependencies: + q "^1.5.1" + +conventional-changelog-eslint@^1.0.9: + version "1.0.9" + resolved "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-1.0.9.tgz#b13cc7e4b472c819450ede031ff1a75c0e3d07d3" + integrity sha512-h87nfVh2fdk9fJIvz26wCBsbDC/KxqCc5wSlNMZbXcARtbgNbNDIF7Y7ctokFdnxkzVdaHsbINkh548T9eBA7Q== + dependencies: + q "^1.5.1" + +conventional-changelog-express@^0.3.6: + version "0.3.6" + resolved "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-0.3.6.tgz#4a6295cb11785059fb09202180d0e59c358b9c2c" + integrity sha512-3iWVtBJZ9RnRnZveNDzOD8QRn6g6vUif0qVTWWyi5nUIAbuN1FfPVyKdAlJJfp5Im+dE8Kiy/d2SpaX/0X678Q== + dependencies: + q "^1.5.1" + +conventional-changelog-jquery@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-0.1.0.tgz#0208397162e3846986e71273b6c79c5b5f80f510" + integrity sha1-Agg5cWLjhGmG5xJztsecW1+A9RA= + dependencies: + q "^1.4.1" + +conventional-changelog-jscs@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/conventional-changelog-jscs/-/conventional-changelog-jscs-0.1.0.tgz#0479eb443cc7d72c58bf0bcf0ef1d444a92f0e5c" + integrity sha1-BHnrRDzH1yxYvwvPDvHURKkvDlw= + dependencies: + q "^1.4.1" + +conventional-changelog-jshint@^0.3.8: + version "0.3.8" + resolved "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-0.3.8.tgz#9051c1ac0767abaf62a31f74d2fe8790e8acc6c8" + integrity sha512-hn9QU4ZI/5V50wKPJNPGT4gEWgiBFpV6adieILW4MaUFynuDYOvQ71EMSj3EznJyKi/KzuXpc9dGmX8njZMjig== + dependencies: + compare-func "^1.3.1" + q "^1.5.1" + +conventional-changelog-preset-loader@^1.1.8: + version "1.1.8" + resolved "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-1.1.8.tgz#40bb0f142cd27d16839ec6c74ee8db418099b373" + integrity sha512-MkksM4G4YdrMlT2MbTsV2F6LXu/hZR0Tc/yenRrDIKRwBl/SP7ER4ZDlglqJsCzLJi4UonBc52Bkm5hzrOVCcw== + conventional-changelog-preset-loader@^2.1.1: version "2.3.0" resolved "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.0.tgz#580fa8ab02cef22c24294d25e52d7ccd247a9a6a" integrity sha512-/rHb32J2EJnEXeK4NpDgMaAVTFZS3o1ExmjKMtYVgIC4MQn0vkNSbYpdGRotkfGGRWiqk3Ri3FBkiZGbAfIfOQ== +conventional-changelog-writer@^3.0.9: + version "3.0.9" + resolved "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-3.0.9.tgz#4aecdfef33ff2a53bb0cf3b8071ce21f0e994634" + integrity sha512-n9KbsxlJxRQsUnK6wIBRnARacvNnN4C/nxnxCkH+B/R1JS2Fa+DiP1dU4I59mEDEjgnFaN2+9wr1P1s7GYB5/Q== + dependencies: + compare-func "^1.3.1" + conventional-commits-filter "^1.1.6" + dateformat "^3.0.0" + handlebars "^4.0.2" + json-stringify-safe "^5.0.1" + lodash "^4.2.1" + meow "^4.0.0" + semver "^5.5.0" + split "^1.0.0" + through2 "^2.0.0" + conventional-changelog-writer@^4.0.6: version "4.0.11" resolved "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.0.11.tgz#9f56d2122d20c96eb48baae0bf1deffaed1edba4" @@ -3172,11 +3342,36 @@ conventional-changelog-writer@^4.0.6: split "^1.0.0" through2 "^3.0.0" +conventional-changelog@^1.1.24: + version "1.1.24" + resolved "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-1.1.24.tgz#3d94c29c960f5261c002678315b756cdd3d7d1f0" + integrity sha512-2WcSUst4Y3Z4hHvoMTWXMJr/DmgVdLiMOVY1Kak2LfFz+GIz2KDp5naqbFesYbfXPmaZ5p491dO0FWZIJoJw1Q== + dependencies: + conventional-changelog-angular "^1.6.6" + conventional-changelog-atom "^0.2.8" + conventional-changelog-codemirror "^0.3.8" + conventional-changelog-core "^2.0.11" + conventional-changelog-ember "^0.3.12" + conventional-changelog-eslint "^1.0.9" + conventional-changelog-express "^0.3.6" + conventional-changelog-jquery "^0.1.0" + conventional-changelog-jscs "^0.1.0" + conventional-changelog-jshint "^0.3.8" + conventional-changelog-preset-loader "^1.1.8" + conventional-commit-types@^2.0.0: version "2.3.0" resolved "https://registry.npmjs.org/conventional-commit-types/-/conventional-commit-types-2.3.0.tgz#bc3c8ebba0a9e4b3ecc548f1d0674e251ab8be22" integrity sha512-6iB39PrcGYdz0n3z31kj6/Km6mK9hm9oMRhwcLnKxE7WNoeRKZbTAobliKrbYZ5jqyCvtcVEfjCiaEzhL3AVmQ== +conventional-commits-filter@^1.1.1, conventional-commits-filter@^1.1.6: + version "1.1.6" + resolved "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-1.1.6.tgz#4389cd8e58fe89750c0b5fb58f1d7f0cc8ad3831" + integrity sha512-KcDgtCRKJCQhyk6VLT7zR+ZOyCnerfemE/CsR3iQpzRRFbLEs0Y6rwk3mpDvtOh04X223z+1xyJ582Stfct/0Q== + dependencies: + is-subset "^0.1.1" + modify-values "^1.0.0" + conventional-commits-filter@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.2.tgz#f122f89fbcd5bb81e2af2fcac0254d062d1039c1" @@ -3185,6 +3380,19 @@ conventional-commits-filter@^2.0.2: lodash.ismatch "^4.4.0" modify-values "^1.0.0" +conventional-commits-parser@^2.1.1, conventional-commits-parser@^2.1.7: + version "2.1.7" + resolved "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-2.1.7.tgz#eca45ed6140d72ba9722ee4132674d639e644e8e" + integrity sha512-BoMaddIEJ6B4QVMSDu9IkVImlGOSGA1I2BQyOZHeLQ6qVOJLcLKn97+fL6dGbzWEiqDzfH4OkcveULmeq2MHFQ== + dependencies: + JSONStream "^1.0.4" + is-text-path "^1.0.0" + lodash "^4.2.1" + meow "^4.0.0" + split2 "^2.0.0" + through2 "^2.0.0" + trim-off-newlines "^1.0.0" + conventional-commits-parser@^3.0.0, conventional-commits-parser@^3.0.3: version "3.0.8" resolved "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.0.8.tgz#23310a9bda6c93c874224375e72b09fb275fe710" @@ -3198,6 +3406,19 @@ conventional-commits-parser@^3.0.0, conventional-commits-parser@^3.0.3: through2 "^3.0.0" trim-off-newlines "^1.0.0" +conventional-recommended-bump@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-1.2.1.tgz#1b7137efb5091f99fe009e2fe9ddb7cc490e9375" + integrity sha512-oJjG6DkRgtnr/t/VrPdzmf4XZv8c4xKVJrVT4zrSHd92KEL+EYxSbYoKq8lQ7U5yLMw7130wrcQTLRjM/T+d4w== + dependencies: + concat-stream "^1.4.10" + conventional-commits-filter "^1.1.1" + conventional-commits-parser "^2.1.1" + git-raw-commits "^1.3.0" + git-semver-tags "^1.3.0" + meow "^3.3.0" + object-assign "^4.0.1" + conventional-recommended-bump@^5.0.0: version "5.0.1" resolved "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-5.0.1.tgz#5af63903947b6e089e77767601cb592cabb106ba" @@ -3290,6 +3511,13 @@ cp-file@^7.0.0: nested-error-stacks "^2.0.0" p-event "^4.1.0" +create-error-class@^3.0.0: + version "3.0.2" + resolved "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz#06be7abef947a3f14a30fd610671d401bca8b7b6" + integrity sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y= + dependencies: + capture-stack-trace "^1.0.0" + cross-env@7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/cross-env/-/cross-env-7.0.0.tgz#5a3b2ddce51ec713ea58f2fb79ce22e65b4f5479" @@ -3445,7 +3673,7 @@ decamelize-keys@^1.0.0: decamelize "^1.1.0" map-obj "^1.0.0" -decamelize@^1.1.0, decamelize@^1.1.2, decamelize@^1.2.0: +decamelize@^1.1.0, decamelize@^1.1.1, decamelize@^1.1.2, decamelize@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= @@ -3864,6 +4092,19 @@ execa@^0.7.0: signal-exit "^3.0.0" strip-eof "^1.0.0" +execa@^0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/execa/-/execa-0.8.0.tgz#d8d76bbc1b55217ed190fd6dd49d3c774ecfc8da" + integrity sha1-2NdrvBtVIX7RkP1t1J08d07PyNo= + dependencies: + cross-spawn "^5.0.1" + get-stream "^3.0.0" + is-stream "^1.1.0" + npm-run-path "^2.0.0" + p-finally "^1.0.0" + signal-exit "^3.0.0" + strip-eof "^1.0.0" + execa@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" @@ -3955,6 +4196,15 @@ extend@~3.0.2: resolved "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== +external-editor@^2.0.4: + version "2.2.0" + resolved "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz#045511cfd8d133f3846673d1047c154e214ad3d5" + integrity sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A== + dependencies: + chardet "^0.4.0" + iconv-lite "^0.4.17" + tmp "^0.0.33" + external-editor@^3.0.0, external-editor@^3.0.3: version "3.1.0" resolved "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" @@ -4132,7 +4382,7 @@ find-up@^1.0.0: path-exists "^2.0.0" pinkie-promise "^2.0.0" -find-up@^2.0.0: +find-up@^2.0.0, find-up@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" integrity sha1-RdG35QbHF93UgndaK3eSCjwMV6c= @@ -4223,6 +4473,15 @@ fs-constants@^1.0.0: resolved "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== +fs-extra@^4.0.1: + version "4.0.3" + resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" + integrity sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg== + dependencies: + graceful-fs "^4.1.2" + jsonfile "^4.0.0" + universalify "^0.1.0" + fs-extra@^7.0.0: version "7.0.1" resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" @@ -4310,6 +4569,11 @@ gensync@^1.0.0-beta.1: resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz#58f4361ff987e5ff6e1e7a210827aa371eaac269" integrity sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg== +get-caller-file@^1.0.1: + version "1.0.3" + resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" + integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== + get-caller-file@^2.0.1: version "2.0.5" resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" @@ -4331,6 +4595,11 @@ get-pkg-repo@^1.0.0: parse-github-repo-url "^1.3.0" through2 "^2.0.0" +get-port@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz#dd7ce7de187c06c8bf353796ac71e099f0980ebc" + integrity sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw= + get-port@^4.2.0: version "4.2.0" resolved "https://registry.npmjs.org/get-port/-/get-port-4.2.0.tgz#e37368b1e863b7629c43c5a323625f95cf24b119" @@ -4393,6 +4662,17 @@ git-raw-commits@2.0.0: split2 "^2.0.0" through2 "^2.0.0" +git-raw-commits@^1.3.0, git-raw-commits@^1.3.6: + version "1.3.6" + resolved "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-1.3.6.tgz#27c35a32a67777c1ecd412a239a6c19d71b95aff" + integrity sha512-svsK26tQ8vEKnMshTDatSIQSMDdz8CxIIqKsvPqbtV23Etmw6VNaFAitu8zwZ0VrOne7FztwPyRLxK7/DIUTQg== + dependencies: + dargs "^4.0.1" + lodash.template "^4.0.2" + meow "^4.0.0" + split2 "^2.0.0" + through2 "^2.0.0" + git-raw-commits@^2.0.0: version "2.0.3" resolved "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.3.tgz#f040e67b8445962d4d168903a9e84c4240c17655" @@ -4412,6 +4692,14 @@ git-remote-origin-url@^2.0.0: gitconfiglocal "^1.0.0" pify "^2.3.0" +git-semver-tags@^1.3.0, git-semver-tags@^1.3.6: + version "1.3.6" + resolved "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-1.3.6.tgz#357ea01f7280794fe0927f2806bee6414d2caba5" + integrity sha512-2jHlJnln4D/ECk9FxGEBh3k44wgYdWjWDtMmJPaecjoRmxKo3Y1Lh8GMYuOPu04CHw86NTAODchYjC5pnpMQig== + dependencies: + meow "^4.0.0" + semver "^5.5.0" + git-semver-tags@^2.0.3: version "2.0.3" resolved "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-2.0.3.tgz#48988a718acf593800f99622a952a77c405bfa34" @@ -4474,7 +4762,7 @@ glob@7.1.3: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: +glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: version "7.1.6" resolved "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== @@ -4530,6 +4818,17 @@ globby@11.0.0, globby@^11.0.0: merge2 "^1.3.0" slash "^3.0.0" +globby@^6.1.0: + version "6.1.0" + resolved "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" + integrity sha1-9abXDoOV4hyFj7BInWTfAkJNUGw= + dependencies: + array-union "^1.0.1" + glob "^7.0.3" + object-assign "^4.0.1" + pify "^2.0.0" + pinkie-promise "^2.0.0" + globby@^9.2.0: version "9.2.0" resolved "https://registry.npmjs.org/globby/-/globby-9.2.0.tgz#fd029a706c703d29bdd170f4b6db3a3f7a7cb63d" @@ -4551,6 +4850,23 @@ good-listener@^1.2.2: dependencies: delegate "^3.1.2" +got@^6.7.1: + version "6.7.1" + resolved "https://registry.npmjs.org/got/-/got-6.7.1.tgz#240cd05785a9a18e561dc1b44b41c763ef1e8db0" + integrity sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA= + dependencies: + create-error-class "^3.0.0" + duplexer3 "^0.1.4" + get-stream "^3.0.0" + is-redirect "^1.0.0" + is-retry-allowed "^1.0.0" + is-stream "^1.0.0" + lowercase-keys "^1.0.0" + safe-buffer "^5.0.1" + timed-out "^4.0.0" + unzip-response "^2.0.1" + url-parse-lax "^1.0.0" + got@^9.6.0: version "9.6.0" resolved "https://registry.npmjs.org/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85" @@ -4578,6 +4894,17 @@ growly@^1.3.0: resolved "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" integrity sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE= +handlebars@^4.0.2: + version "4.7.3" + resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.7.3.tgz#8ece2797826886cf8082d1726ff21d2a022550ee" + integrity sha512-SRGwSYuNfx8DwHD/6InAPzD6RgeruWLT+B8e8a7gGs8FWgHzlExpTFMEq2IA6QpAfOClpKHy6+8IqTjeBCu6Kg== + dependencies: + neo-async "^2.6.0" + optimist "^0.6.1" + source-map "^0.6.1" + optionalDependencies: + uglify-js "^3.1.4" + handlebars@^4.4.0: version "4.5.3" resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz#5cf75bd8714f7605713511a56be7c349becb0482" @@ -4679,7 +5006,7 @@ homedir-polyfill@^1.0.1: dependencies: parse-passwd "^1.0.0" -hosted-git-info@^2.1.4, hosted-git-info@^2.7.1: +hosted-git-info@^2.1.4, hosted-git-info@^2.5.0, hosted-git-info@^2.7.1: version "2.8.5" resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c" integrity sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg== @@ -4770,7 +5097,7 @@ husky@4.2.1: slash "^3.0.0" which-pm-runs "^1.0.0" -iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@~0.4.13: +iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.24, iconv-lite@~0.4.13: version "0.4.24" resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== @@ -4939,6 +5266,26 @@ inquirer@6.2.0: strip-ansi "^4.0.0" through "^2.3.6" +inquirer@^3.2.2: + version "3.3.0" + resolved "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz#9dd2f2ad765dcab1ff0443b491442a20ba227dc9" + integrity sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ== + dependencies: + ansi-escapes "^3.0.0" + chalk "^2.0.0" + cli-cursor "^2.1.0" + cli-width "^2.0.0" + external-editor "^2.0.4" + figures "^2.0.0" + lodash "^4.3.0" + mute-stream "0.0.7" + run-async "^2.2.0" + rx-lite "^4.0.8" + rx-lite-aggregates "^4.0.8" + string-width "^2.1.0" + strip-ansi "^4.0.0" + through "^2.3.6" + inquirer@^6.2.0: version "6.5.2" resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca" @@ -4970,6 +5317,11 @@ invariant@^2.2.2: dependencies: loose-envify "^1.0.0" +invert-kv@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" + integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY= + ip-regex@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" @@ -5023,6 +5375,13 @@ is-callable@^1.1.4, is-callable@^1.1.5: resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz#f7e46b596890456db74e7f6e976cb3273d06faab" integrity sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q== +is-ci@^1.0.10: + version "1.2.1" + resolved "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz#e3779c8ee17fccf428488f6e281187f2e632841c" + integrity sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg== + dependencies: + ci-info "^1.5.0" + is-ci@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" @@ -5200,6 +5559,11 @@ is-promise@^2.1.0: resolved "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o= +is-redirect@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" + integrity sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ= + is-regex@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz#39d589a358bf18967f726967120b8fc1aed74eae" @@ -5212,6 +5576,11 @@ is-regexp@^1.0.0: resolved "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069" integrity sha1-/S2INUXEa6xaYz57mgnof6LLUGk= +is-retry-allowed@^1.0.0: + version "1.2.0" + resolved "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz#d778488bd0a4666a3be8a1482b9f2baafedea8b4" + integrity sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg== + is-ssh@^1.3.0: version "1.3.1" resolved "https://registry.npmjs.org/is-ssh/-/is-ssh-1.3.1.tgz#f349a8cadd24e65298037a522cf7520f2e81a0f3" @@ -5219,7 +5588,7 @@ is-ssh@^1.3.0: dependencies: protocols "^1.1.0" -is-stream@^1.1.0: +is-stream@^1.0.0, is-stream@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= @@ -5229,6 +5598,11 @@ is-stream@^2.0.0: resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3" integrity sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw== +is-subset@^0.1.1: + version "0.1.1" + resolved "https://registry.npmjs.org/is-subset/-/is-subset-0.1.1.tgz#8a59117d932de1de00f245fcdd39ce43f1e939a6" + integrity sha1-ilkRfZMt4d4A8kX83TnOQ/HpOaY= + is-symbol@^1.0.2: version "1.0.3" resolved "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz#38e1014b9e6329be0de9d24a414fd7441ec61937" @@ -5236,7 +5610,7 @@ is-symbol@^1.0.2: dependencies: has-symbols "^1.0.1" -is-text-path@^1.0.1: +is-text-path@^1.0.0, is-text-path@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e" integrity sha1-Thqg+1G/vLPpJogAE5cgLBd1tm4= @@ -5859,7 +6233,59 @@ latest-version@^5.0.0: dependencies: package-json "^6.3.0" -lerna@3.20.2: +lcid@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" + integrity sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU= + dependencies: + invert-kv "^1.0.0" + +"lerna-v2@npm:lerna@2": + version "2.11.0" + resolved "https://registry.npmjs.org/lerna/-/lerna-2.11.0.tgz#89b5681e286d388dda5bbbdbbf6b84c8094eff65" + integrity sha512-kgM6zwe2P2tR30MYvgiLLW+9buFCm6E7o8HnRlhTgm70WVBvXVhydqv+q/MF2HrVZkCawfVtCfetyQmtd4oHhQ== + dependencies: + async "^1.5.0" + chalk "^2.1.0" + cmd-shim "^2.0.2" + columnify "^1.5.4" + command-join "^2.0.0" + conventional-changelog-cli "^1.3.13" + conventional-recommended-bump "^1.2.1" + dedent "^0.7.0" + execa "^0.8.0" + find-up "^2.1.0" + fs-extra "^4.0.1" + get-port "^3.2.0" + glob "^7.1.2" + glob-parent "^3.1.0" + globby "^6.1.0" + graceful-fs "^4.1.11" + hosted-git-info "^2.5.0" + inquirer "^3.2.2" + is-ci "^1.0.10" + load-json-file "^4.0.0" + lodash "^4.17.4" + minimatch "^3.0.4" + npmlog "^4.1.2" + p-finally "^1.0.0" + package-json "^4.0.1" + path-exists "^3.0.0" + read-cmd-shim "^1.0.1" + read-pkg "^3.0.0" + rimraf "^2.6.1" + safe-buffer "^5.1.1" + semver "^5.4.1" + signal-exit "^3.0.2" + slash "^1.0.0" + strong-log-transformer "^1.0.6" + temp-write "^3.3.0" + write-file-atomic "^2.3.0" + write-json-file "^2.2.0" + write-pkg "^3.1.0" + yargs "^8.0.2" + +"lerna-v3@npm:lerna@3", lerna@3.20.2: version "3.20.2" resolved "https://registry.npmjs.org/lerna/-/lerna-3.20.2.tgz#abf84e73055fe84ee21b46e64baf37b496c24864" integrity sha512-bjdL7hPLpU3Y8CBnw/1ys3ynQMUjiK6l9iDWnEGwFtDy48Xh5JboR9ZJwmKGCz9A/sarVVIGwf1tlRNKUG9etA== @@ -5984,6 +6410,16 @@ load-json-file@^1.0.0: pinkie-promise "^2.0.0" strip-bom "^2.0.0" +load-json-file@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8" + integrity sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg= + dependencies: + graceful-fs "^4.1.2" + parse-json "^2.2.0" + pify "^2.0.0" + strip-bom "^3.0.0" + load-json-file@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" @@ -6088,7 +6524,7 @@ lodash.uniq@^4.5.0: resolved "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@4.17.14, lodash@4.17.15, lodash@^3.3.1, lodash@^4.17.10, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.2.1, lodash@^4.5.1: +lodash@4.17.14, lodash@4.17.15, lodash@^3.3.1, lodash@^4.17.10, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.5.1: version "4.17.15" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== @@ -6264,6 +6700,13 @@ medium-zoom@^1.0.4: resolved "https://registry.npmjs.org/medium-zoom/-/medium-zoom-1.0.5.tgz#81413dda20ccdd857141ff420cfab788dd32e20e" integrity sha512-aLGa6WlTuFKWvH88bqTrY5ztJMN+D0hd8UX6BYc4YSoPayppzETjZUcdVcksgaoQEMg4cZSmXPg846fTp2rjRQ== +mem@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76" + integrity sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y= + dependencies: + mimic-fn "^1.0.0" + meow@4.0.1, meow@^4.0.0: version "4.0.1" resolved "https://registry.npmjs.org/meow/-/meow-4.0.1.tgz#d48598f6f4b1472f35bf6317a95945ace347f975" @@ -6409,6 +6852,11 @@ minimist@1.2.0, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0: resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= +minimist@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/minimist/-/minimist-0.1.0.tgz#99df657a52574c21c9057497df742790b2b4c0de" + integrity sha1-md9lelJXTCHJBXSX33QnkLK0wN4= + minimist@~0.0.1: version "0.0.10" resolved "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" @@ -6460,7 +6908,7 @@ mkdirp-promise@^5.0.1: dependencies: mkdirp "*" -mkdirp@*, mkdirp@0.x, mkdirp@^0.5.0, mkdirp@^0.5.1: +mkdirp@*, mkdirp@0.x, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0: version "0.5.1" resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= @@ -6472,6 +6920,11 @@ modify-values@^1.0.0: resolved "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== +moment@^2.6.0: + version "2.24.0" + resolved "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b" + integrity sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg== + move-concurrently@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92" @@ -6917,6 +7370,15 @@ os-homedir@^1.0.0: resolved "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= +os-locale@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz#42bc2900a6b5b8bd17376c8e882b65afccf24bf2" + integrity sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA== + dependencies: + execa "^0.7.0" + lcid "^1.0.0" + mem "^1.1.0" + os-name@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/os-name/-/os-name-3.1.0.tgz#dec19d966296e1cd62d701a5a66ee1ddeae70801" @@ -7053,6 +7515,16 @@ p-waterfall@^1.0.0: dependencies: p-reduce "^1.0.0" +package-json@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz#8869a0401253661c4c4ca3da6c2121ed555f5eed" + integrity sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0= + dependencies: + got "^6.7.1" + registry-auth-token "^3.0.1" + registry-url "^3.0.3" + semver "^5.1.0" + package-json@^6.3.0: version "6.5.0" resolved "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz#6feedaca35e75725876d0b0e64974697fed145b0" @@ -7208,6 +7680,13 @@ path-type@^1.0.0: pify "^2.0.0" pinkie-promise "^2.0.0" +path-type@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73" + integrity sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM= + dependencies: + pify "^2.0.0" + path-type@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" @@ -7305,6 +7784,11 @@ prelude-ls@~1.1.2: resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= +prepend-http@^1.0.1: + version "1.0.4" + resolved "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" + integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= + prepend-http@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" @@ -7432,7 +7916,7 @@ punycode@^2.1.0, punycode@^2.1.1: resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -q@^1.5.1: +q@^1.4.1, q@^1.5.1: version "1.5.1" resolved "https://registry.npmjs.org/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= @@ -7452,7 +7936,7 @@ range-parser@~1.2.1: resolved "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== -rc@^1.2.8: +rc@^1.0.1, rc@^1.1.6, rc@^1.2.8: version "1.2.8" resolved "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== @@ -7503,6 +7987,14 @@ read-pkg-up@^1.0.1: find-up "^1.0.0" read-pkg "^1.0.0" +read-pkg-up@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be" + integrity sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4= + dependencies: + find-up "^2.0.0" + read-pkg "^2.0.0" + read-pkg-up@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" @@ -7521,7 +8013,7 @@ read-pkg@5.2.0: parse-json "^5.0.0" type-fest "^0.6.0" -read-pkg@^1.0.0: +read-pkg@^1.0.0, read-pkg@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" integrity sha1-9f+qXs0pyzHAR0vKfXVra7KePyg= @@ -7530,6 +8022,15 @@ read-pkg@^1.0.0: normalize-package-data "^2.3.2" path-type "^1.0.0" +read-pkg@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz#8ef1c0623c6a6db0dc6713c4bfac46332b2368f8" + integrity sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg= + dependencies: + load-json-file "^2.0.0" + normalize-package-data "^2.3.2" + path-type "^2.0.0" + read-pkg@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" @@ -7680,6 +8181,14 @@ regexpu-core@^4.6.0: unicode-match-property-ecmascript "^1.0.4" unicode-match-property-value-ecmascript "^1.1.0" +registry-auth-token@^3.0.1: + version "3.4.0" + resolved "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.4.0.tgz#d7446815433f5d5ed6431cd5dca21048f66b397e" + integrity sha512-4LM6Fw8eBQdwMYcES4yTnn2TqIasbXuwDx3um+QRs7S55aMKCBKBxvPXl2RiUjHwuJLTyYfxSpmfSAjQpcuP+A== + dependencies: + rc "^1.1.6" + safe-buffer "^5.0.1" + registry-auth-token@^4.0.0: version "4.1.1" resolved "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.1.1.tgz#40a33be1e82539460f94328b0f7f0f84c16d9479" @@ -7687,6 +8196,13 @@ registry-auth-token@^4.0.0: dependencies: rc "^1.2.8" +registry-url@^3.0.3: + version "3.1.0" + resolved "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" + integrity sha1-PU74cPc93h138M+aOBQyRE4XSUI= + dependencies: + rc "^1.0.1" + registry-url@^5.0.0: version "5.1.0" resolved "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz#e98334b50d5434b81136b44ec638d9c2009c5009" @@ -7780,6 +8296,11 @@ require-from-string@2.0.2: resolved "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== +require-main-filename@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" + integrity sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE= + require-main-filename@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" @@ -7901,7 +8422,7 @@ right-pad@^1.0.1: resolved "https://registry.npmjs.org/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0" integrity sha1-jKCMLLtbVedNr6lr9/0aJ9VoyNA= -rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3: +rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3: version "2.7.1" resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== @@ -7946,6 +8467,18 @@ run-queue@^1.0.0, run-queue@^1.0.3: dependencies: aproba "^1.1.1" +rx-lite-aggregates@^4.0.8: + version "4.0.8" + resolved "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be" + integrity sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74= + dependencies: + rx-lite "*" + +rx-lite@*, rx-lite@^4.0.8: + version "4.0.8" + resolved "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" + integrity sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ= + rx-lite@^3.1.2: version "3.1.2" resolved "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102" @@ -8024,7 +8557,7 @@ semver-regex@^2.0.0: resolved "https://registry.npmjs.org/semver-regex/-/semver-regex-2.0.0.tgz#a93c2c5844539a770233379107b38c7b4ac9d338" integrity sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw== -"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.0.3, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: +"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -8148,6 +8681,11 @@ sisteransi@^1.0.3: resolved "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.4.tgz#386713f1ef688c7c0304dc4c0632898941cad2e3" integrity sha512-/ekMoM4NJ59ivGSfKapeG+FWtrmWvA1p6FBZwXrqojw90vJu8lBmrTxCMuBCydKtkaUe2zt4PlxeTKpjwMbyig== +slash@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" + integrity sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU= + slash@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" @@ -8404,7 +8942,7 @@ string-width@^1.0.1: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -"string-width@^1.0.2 || 2", string-width@^2.1.0, string-width@^2.1.1: +"string-width@^1.0.2 || 2", string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== @@ -8541,6 +9079,17 @@ strip-json-comments@2.0.1, strip-json-comments@~2.0.1: resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= +strong-log-transformer@^1.0.6: + version "1.0.6" + resolved "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-1.0.6.tgz#f7fb93758a69a571140181277eea0c2eb1301fa3" + integrity sha1-9/uTdYpppXEUAYEnfuoMLrEwH6M= + dependencies: + byline "^5.0.0" + duplexer "^0.1.1" + minimist "^0.1.0" + moment "^2.6.0" + through "^2.3.4" + strong-log-transformer@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz#0f5ed78d325e0421ac6f90f7f10e691d6ae3ae10" @@ -8626,7 +9175,7 @@ temp-dir@^1.0.0: resolved "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" integrity sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0= -temp-write@^3.4.0: +temp-write@^3.3.0, temp-write@^3.4.0: version "3.4.0" resolved "https://registry.npmjs.org/temp-write/-/temp-write-3.4.0.tgz#8cff630fb7e9da05f047c74ce4ce4d685457d492" integrity sha1-jP9jD7fp2gXwR8dM5M5NaFRX1JI= @@ -8638,6 +9187,14 @@ temp-write@^3.4.0: temp-dir "^1.0.0" uuid "^3.0.1" +tempfile@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/tempfile/-/tempfile-1.1.1.tgz#5bcc4eaecc4ab2c707d8bc11d99ccc9a2cb287f2" + integrity sha1-W8xOrsxKsscH2LwR2ZzMmiyyh/I= + dependencies: + os-tmpdir "^1.0.0" + uuid "^2.0.1" + term-size@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz#458b83887f288fc56d6fffbfad262e26638efa69" @@ -8706,6 +9263,11 @@ through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6: resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= +timed-out@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" + integrity sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8= + tiny-emitter@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423" @@ -9008,6 +9570,11 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" +unzip-response@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" + integrity sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c= + upath@^1.1.1, upath@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894" @@ -9043,6 +9610,13 @@ urix@^0.1.0: resolved "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI= +url-parse-lax@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz#7af8f303645e9bd79a272e7a14ac68bc0609da73" + integrity sha1-evjzA2Rem9eaJy56FKxovAYJ2nM= + dependencies: + prepend-http "^1.0.1" + url-parse-lax@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c" @@ -9080,6 +9654,11 @@ utils-merge@1.0.1: resolved "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= +uuid@^2.0.1: + version "2.0.3" + resolved "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz#67e2e863797215530dff318e5bf9dcebfd47b21a" + integrity sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho= + uuid@^3.0.1, uuid@^3.3.2: version "3.3.3" resolved "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866" @@ -9367,6 +9946,11 @@ xtend@~4.0.1: resolved "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== +y18n@^3.2.1: + version "3.2.1" + resolved "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" + integrity sha1-bRX7qITAhnnA136I53WegR4H+kE= + y18n@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" @@ -9421,6 +10005,13 @@ yargs-parser@^16.1.0: camelcase "^5.0.0" decamelize "^1.2.0" +yargs-parser@^7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz#8d0ac42f16ea55debd332caf4c4038b3e3f5dfd9" + integrity sha1-jQrELxbqVd69MyyvTEA4s+P139k= + dependencies: + camelcase "^4.1.0" + yargs@^14.2.0, yargs@^14.2.2: version "14.2.2" resolved "https://registry.npmjs.org/yargs/-/yargs-14.2.2.tgz#2769564379009ff8597cdd38fba09da9b493c4b5" @@ -9454,3 +10045,22 @@ yargs@^15.0.0: which-module "^2.0.0" y18n "^4.0.0" yargs-parser "^16.1.0" + +yargs@^8.0.2: + version "8.0.2" + resolved "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz#6299a9055b1cefc969ff7e79c1d918dceb22c360" + integrity sha1-YpmpBVsc78lp/355wdkY3Osiw2A= + dependencies: + camelcase "^4.1.0" + cliui "^3.2.0" + decamelize "^1.1.1" + get-caller-file "^1.0.1" + os-locale "^2.0.0" + read-pkg-up "^2.0.0" + require-directory "^2.1.1" + require-main-filename "^1.0.1" + set-blocking "^2.0.0" + string-width "^2.0.0" + which-module "^2.0.0" + y18n "^3.2.1" + yargs-parser "^7.0.0" From 2754047f5466bec1686f5cb9b8d689454c08abaf Mon Sep 17 00:00:00 2001 From: Armano Date: Wed, 5 Feb 2020 22:29:15 +0100 Subject: [PATCH 0061/2192] chore: remove invalid find-up type package (#953) * chore(top-level): align version of type for find-up package * chore(top-level): remove type of find-up package --- @commitlint/top-level/package.json | 1 - @commitlint/top-level/src/index.ts | 7 ------- yarn.lock | 5 ----- 3 files changed, 13 deletions(-) diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index 475d8c2ac6..6e33642ead 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -35,7 +35,6 @@ "license": "MIT", "devDependencies": { "@commitlint/utils": "^8.3.4", - "@types/find-up": "2.1.1", "@types/node": "12.12.26" }, "dependencies": { diff --git a/@commitlint/top-level/src/index.ts b/@commitlint/top-level/src/index.ts index 4fb04043e4..560aa982b2 100644 --- a/@commitlint/top-level/src/index.ts +++ b/@commitlint/top-level/src/index.ts @@ -1,13 +1,6 @@ import path from 'path'; import up from 'find-up'; -declare module 'find-up' { - interface Options { - cwd?: string; - type?: 'file' | 'directory'; - } -} - export default toplevel; /** diff --git a/yarn.lock b/yarn.lock index cf5eca4216..4284cdf4bc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1975,11 +1975,6 @@ dependencies: "@types/node" "*" -"@types/find-up@2.1.1": - version "2.1.1" - resolved "https://registry.npmjs.org/@types/find-up/-/find-up-2.1.1.tgz#1cd2d240f1ad1f48d32346074724dc3107248a11" - integrity sha512-60LC501bQRN9/3yfVaEEMd7IndaufffL56PBRAejPpUrY304Ps1jfnjNqPw5jmM5R8JHWiKBAe5IHzNcPV41AA== - "@types/fs-extra@^8.0.1": version "8.0.1" resolved "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.0.1.tgz#a2378d6e7e8afea1564e44aafa2e207dadf77686" From 830c3433af1f80e19eba014fa52a07bdf3728468 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Thu, 6 Feb 2020 09:32:01 +1100 Subject: [PATCH 0062/2192] test: speed up npm bootstrap (#954) --- @packages/test/src/npm.ts | 53 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/@packages/test/src/npm.ts b/@packages/test/src/npm.ts index 35d9a5cce5..d923848cc5 100644 --- a/@packages/test/src/npm.ts +++ b/@packages/test/src/npm.ts @@ -1,15 +1,62 @@ -import execa from 'execa'; import path from 'path'; import fs from 'fs-extra'; +import resolvePkg from 'resolve-pkg'; import * as git from './git'; export async function bootstrap(fixture: string, directory?: string) { const cwd = await git.bootstrap(fixture, directory); + const manifestPath = path.join(cwd, 'package.json'); + const targetModulesPath = path.join(cwd, 'node_modules'); - if (await fs.pathExists(path.join(cwd, 'package.json'))) { - await execa('npm', ['install'], {cwd}); + if (await fs.pathExists(manifestPath)) { + const {dependencies = {}, devDependencies = {}} = await fs.readJson( + manifestPath + ); + const deps = Object.keys({...dependencies, ...devDependencies}); + await Promise.all( + deps.map(async (dependency: any) => { + const sourcePath = resolvePkg(dependency); + + if (!sourcePath) { + throw new Error(`Could not resolve dependency ${dependency}`); + } + + const sourceModulesPath = findParentPath(sourcePath, 'node_modules'); + + if (!sourceModulesPath) { + throw new Error(`Could not determine node_modules for ${sourcePath}`); + } + + const relativePath = path.relative(sourceModulesPath, sourcePath); + const targetPath = path.join(targetModulesPath, relativePath); + + await fs.mkdirp(path.join(targetPath, '..')); + await fs.symlink(sourcePath, targetPath); + }) + ); } return cwd; } + +function findParentPath(path: string, dirname: string): string | undefined { + const rawFragments = path.split('/'); + + const {matched, fragments} = rawFragments.reduceRight( + ({fragments, matched}, item) => { + if (item === dirname && !matched) { + return {fragments, matched: true}; + } + + if (!matched && fragments.length > 0) { + fragments.pop(); + } + + return {fragments, matched}; + }, + {fragments: rawFragments, matched: false} + ); + + return matched ? fragments.join('/') : undefined; +} From 935bc10439ee48cd40e8404e8f469701023d1c4a Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Wed, 5 Feb 2020 23:47:45 +0100 Subject: [PATCH 0063/2192] refactor: port lint to typescript (#908) * chore(lint): add first draft of lint types * chore(lint): update package settings for typescript * fix(is-ignored): explicitly export default from is ignored * docs(lint): add todo message for plugin types * refactor: port to ts * fix: add missing references * refactor: move shared types to package * fix: streamline verison * refactor: reuse RuleSeverity Co-authored-by: Mario Nebl --- @commitlint/ensure/package.json | 1 + @commitlint/ensure/src/case.ts | 2 +- @commitlint/ensure/src/index.ts | 1 - @commitlint/ensure/tsconfig.json | 3 +- @commitlint/is-ignored/package.json | 1 + @commitlint/is-ignored/src/defaults.ts | 2 +- @commitlint/is-ignored/src/index.ts | 2 +- @commitlint/is-ignored/src/is-ignored.ts | 7 +- @commitlint/is-ignored/src/types.ts | 1 - @commitlint/is-ignored/tsconfig.json | 3 +- @commitlint/lint/package.json | 14 +-- @commitlint/lint/src/commit-message.ts | 18 ++++ .../lint/src/{index.test.js => lint.test.ts} | 22 ++--- @commitlint/lint/src/{index.js => lint.ts} | 85 +++++++++++-------- @commitlint/lint/tsconfig.json | 21 +++++ @commitlint/load/package.json | 1 + @commitlint/load/src/load.ts | 6 +- ...loadPlugin.test.ts => load-plugin.test.ts} | 2 +- .../utils/{loadPlugin.ts => load-plugin.ts} | 6 +- @commitlint/load/src/utils/pick-config.ts | 2 +- .../{pluginErrors.ts => plugin-errors.ts} | 0 .../{pluginNaming.ts => plugin-naming.ts} | 0 @commitlint/load/tsconfig.json | 3 +- @commitlint/parse/src/index.ts | 3 +- @commitlint/parse/tsconfig.json | 22 ++--- @commitlint/rules/package.json | 4 +- @commitlint/rules/src/body-case.ts | 8 +- @commitlint/rules/src/body-empty.ts | 2 +- @commitlint/rules/src/body-leading-blank.ts | 2 +- @commitlint/rules/src/body-max-length.ts | 2 +- @commitlint/rules/src/body-max-line-length.ts | 2 +- @commitlint/rules/src/body-min-length.ts | 2 +- @commitlint/rules/src/footer-empty.ts | 2 +- @commitlint/rules/src/footer-leading-blank.ts | 2 +- @commitlint/rules/src/footer-max-length.ts | 2 +- .../rules/src/footer-max-line-length.ts | 2 +- @commitlint/rules/src/footer-min-length.ts | 2 +- @commitlint/rules/src/header-case.ts | 4 +- @commitlint/rules/src/header-full-stop.ts | 2 +- @commitlint/rules/src/header-max-length.ts | 2 +- @commitlint/rules/src/header-min-length.ts | 2 +- @commitlint/rules/src/index.test.ts | 2 +- @commitlint/rules/src/index.ts | 2 - @commitlint/rules/src/references-empty.ts | 2 +- @commitlint/rules/src/scope-case.ts | 4 +- @commitlint/rules/src/scope-empty.ts | 2 +- @commitlint/rules/src/scope-enum.ts | 2 +- @commitlint/rules/src/scope-max-length.ts | 2 +- @commitlint/rules/src/scope-min-length.ts | 2 +- @commitlint/rules/src/signed-off-by.ts | 2 +- @commitlint/rules/src/subject-case.ts | 4 +- @commitlint/rules/src/subject-empty.ts | 2 +- @commitlint/rules/src/subject-full-stop.ts | 2 +- @commitlint/rules/src/subject-max-length.ts | 2 +- @commitlint/rules/src/subject-min-length.ts | 2 +- @commitlint/rules/src/type-case.ts | 4 +- @commitlint/rules/src/type-empty.ts | 2 +- @commitlint/rules/src/type-enum.ts | 2 +- @commitlint/rules/src/type-max-length.ts | 2 +- @commitlint/rules/src/type-min-length.ts | 2 +- @commitlint/rules/tsconfig.json | 4 +- @commitlint/types/package.json | 32 +++++++ .../src/types.ts => types/src/ensure.ts} | 0 @commitlint/types/src/index.ts | 6 ++ @commitlint/types/src/is-ignored.ts | 6 ++ @commitlint/types/src/lint.ts | 43 ++++++++++ .../{load/src/types.ts => types/src/load.ts} | 24 ++++-- .../src/types.ts => types/src/parse.ts} | 0 .../src/types.ts => types/src/rules.ts} | 2 +- @commitlint/types/tsconfig.json | 14 +++ tsconfig.json | 3 +- tsconfig.shared.json | 3 +- 72 files changed, 300 insertions(+), 151 deletions(-) delete mode 100644 @commitlint/is-ignored/src/types.ts create mode 100644 @commitlint/lint/src/commit-message.ts rename @commitlint/lint/src/{index.test.js => lint.test.ts} (94%) rename @commitlint/lint/src/{index.js => lint.ts} (64%) create mode 100644 @commitlint/lint/tsconfig.json rename @commitlint/load/src/utils/{loadPlugin.test.ts => load-plugin.test.ts} (98%) rename @commitlint/load/src/utils/{loadPlugin.ts => load-plugin.ts} (93%) rename @commitlint/load/src/utils/{pluginErrors.ts => plugin-errors.ts} (100%) rename @commitlint/load/src/utils/{pluginNaming.ts => plugin-naming.ts} (100%) create mode 100644 @commitlint/types/package.json rename @commitlint/{ensure/src/types.ts => types/src/ensure.ts} (100%) create mode 100644 @commitlint/types/src/index.ts create mode 100644 @commitlint/types/src/is-ignored.ts create mode 100644 @commitlint/types/src/lint.ts rename @commitlint/{load/src/types.ts => types/src/load.ts} (85%) rename @commitlint/{parse/src/types.ts => types/src/parse.ts} (100%) rename @commitlint/{rules/src/types.ts => types/src/rules.ts} (95%) create mode 100644 @commitlint/types/tsconfig.json diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 9a5b2fc3b6..2b46a02b31 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -38,6 +38,7 @@ "globby": "11.0.0" }, "dependencies": { + "@commitlint/types": "^8.3.4", "lodash": "^4.17.15" } } diff --git a/@commitlint/ensure/src/case.ts b/@commitlint/ensure/src/case.ts index cb72e18633..13701efde5 100644 --- a/@commitlint/ensure/src/case.ts +++ b/@commitlint/ensure/src/case.ts @@ -3,7 +3,7 @@ import kebabCase from 'lodash/kebabCase'; import snakeCase from 'lodash/snakeCase'; import upperFirst from 'lodash/upperFirst'; import startCase from 'lodash/startCase'; -import {TargetCaseType} from '.'; +import {TargetCaseType} from '@commitlint/types'; export default ensureCase; diff --git a/@commitlint/ensure/src/index.ts b/@commitlint/ensure/src/index.ts index 45db1238f8..982e128525 100644 --- a/@commitlint/ensure/src/index.ts +++ b/@commitlint/ensure/src/index.ts @@ -5,7 +5,6 @@ import maxLineLength from './max-line-length'; import minLength from './min-length'; import notEmpty from './not-empty'; -export * from './types'; export {ensureCase as case}; export {ensureEnum as enum}; export {maxLength, maxLineLength, minLength, notEmpty}; diff --git a/@commitlint/ensure/tsconfig.json b/@commitlint/ensure/tsconfig.json index 36dcb6ac74..84537266e0 100644 --- a/@commitlint/ensure/tsconfig.json +++ b/@commitlint/ensure/tsconfig.json @@ -6,5 +6,6 @@ "outDir": "./lib" }, "include": ["./src/**/*.ts"], - "exclude": ["./src/**/*.test.ts", "./lib/**/*"] + "exclude": ["./src/**/*.test.ts", "./lib/**/*"], + "references": [{ "path": "../types" }] } diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index 3ecf9a1d97..5662e358dd 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -40,6 +40,7 @@ "@types/semver": "7.1.0" }, "dependencies": { + "@commitlint/types": "^8.3.4", "semver": "7.1.2" } } diff --git a/@commitlint/is-ignored/src/defaults.ts b/@commitlint/is-ignored/src/defaults.ts index bf3e9aab1e..59a5884922 100644 --- a/@commitlint/is-ignored/src/defaults.ts +++ b/@commitlint/is-ignored/src/defaults.ts @@ -1,5 +1,5 @@ import * as semver from 'semver'; -import {Matcher} from './types'; +import {Matcher} from '@commitlint/types'; const isSemver = (c: string): boolean => { const firstLine = c.split('\n').shift(); diff --git a/@commitlint/is-ignored/src/index.ts b/@commitlint/is-ignored/src/index.ts index d5d119ef9e..9d279861bd 100644 --- a/@commitlint/is-ignored/src/index.ts +++ b/@commitlint/is-ignored/src/index.ts @@ -1,2 +1,2 @@ export * from './is-ignored'; -export * from './types'; +export {default} from './is-ignored'; diff --git a/@commitlint/is-ignored/src/is-ignored.ts b/@commitlint/is-ignored/src/is-ignored.ts index 85646b9885..42ba3c8cc0 100644 --- a/@commitlint/is-ignored/src/is-ignored.ts +++ b/@commitlint/is-ignored/src/is-ignored.ts @@ -1,10 +1,5 @@ import {wildcards} from './defaults'; -import {Matcher} from './types'; - -export interface IsIgnoredOptions { - ignores?: Matcher[]; - defaults?: boolean; -} +import {IsIgnoredOptions} from '@commitlint/types'; export default function isIgnored( commit: string = '', diff --git a/@commitlint/is-ignored/src/types.ts b/@commitlint/is-ignored/src/types.ts deleted file mode 100644 index b65554ca37..0000000000 --- a/@commitlint/is-ignored/src/types.ts +++ /dev/null @@ -1 +0,0 @@ -export type Matcher = (commit: string) => boolean; diff --git a/@commitlint/is-ignored/tsconfig.json b/@commitlint/is-ignored/tsconfig.json index f3d0083154..a561833c69 100644 --- a/@commitlint/is-ignored/tsconfig.json +++ b/@commitlint/is-ignored/tsconfig.json @@ -11,5 +11,6 @@ "exclude": [ "./src/**/*.test.ts", "./lib/**/*" - ] + ], + "references": [{"path": "../types"}] } diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 02bd18f270..89bd869fdf 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -2,21 +2,14 @@ "name": "@commitlint/lint", "version": "8.3.5", "description": "Lint a string against commitlint rules", - "main": "lib/index.js", + "main": "lib/lint.js", + "types": "lib/lint.d.ts", "files": [ "lib/" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps", "deps": "dep-check", - "pkg": "pkg-check --skip-import", - "start": "yarn run watch", - "watch": "babel src --out-dir lib --watch --source-maps" - }, - "babel": { - "presets": [ - "babel-preset-commitlint" - ] + "pkg": "pkg-check --skip-import" }, "engines": { "node": ">=4" @@ -53,6 +46,7 @@ "@commitlint/is-ignored": "^8.3.5", "@commitlint/parse": "^8.3.4", "@commitlint/rules": "^8.3.4", + "@commitlint/types": "^8.3.4", "lodash": "^4.17.15" } } diff --git a/@commitlint/lint/src/commit-message.ts b/@commitlint/lint/src/commit-message.ts new file mode 100644 index 0000000000..e27cdc82e3 --- /dev/null +++ b/@commitlint/lint/src/commit-message.ts @@ -0,0 +1,18 @@ +export interface CommitMessageData { + header: string; + body?: string | null; + footer?: string | null; +} + +export const buildCommitMesage = ({ + header, + body, + footer +}: CommitMessageData): string => { + let message = header; + + message = body ? `${message}\n\n${body}` : message; + message = footer ? `${message}\n\n${footer}` : message; + + return message; +}; diff --git a/@commitlint/lint/src/index.test.js b/@commitlint/lint/src/lint.test.ts similarity index 94% rename from @commitlint/lint/src/index.test.js rename to @commitlint/lint/src/lint.test.ts index 60dbc6d37b..c8ff6cc123 100644 --- a/@commitlint/lint/src/index.test.js +++ b/@commitlint/lint/src/lint.test.ts @@ -1,12 +1,12 @@ -import lint from '.'; +import lint from './lint'; test('throws without params', async () => { - const error = lint(); + const error = (lint as any)(); await expect(error).rejects.toThrow('Expected a raw commit'); }); test('throws with empty message', async () => { - const error = lint(''); + const error = (lint as any)(''); await expect(error).rejects.toThrow('Expected a raw commit'); }); @@ -91,7 +91,7 @@ test('throws for invalid rule config', async () => { const error = lint('type(scope): foo', { 'type-enum': 1, 'scope-enum': {0: 2, 1: 'never', 2: ['foo'], length: 3} - }); + } as any); await expect(error).rejects.toThrow('type-enum must be array'); await expect(error).rejects.toThrow('scope-enum must be array'); @@ -109,15 +109,15 @@ test('allows disable shorthand', async () => { }); test('throws for rule with invalid length', async () => { - const error = lint('type(scope): foo', {'scope-enum': [1, 2, 3, 4]}); + const error = lint('type(scope): foo', {'scope-enum': [1, 2, 3, 4]} as any); await expect(error).rejects.toThrow('scope-enum must be 2 or 3 items long'); }); test('throws for rule with invalid level', async () => { const error = lint('type(scope): foo', { - 'type-enum': ['2', 'always'], - 'header-max-length': [{}, 'always'] + 'type-enum': ['2', 'always'] as any, + 'header-max-length': [{}, 'always'] as any }); await expect(error).rejects.toThrow('rule type-enum must be number'); await expect(error).rejects.toThrow('rule header-max-length must be number'); @@ -137,8 +137,8 @@ test('throws for rule with out of range level', async () => { test('throws for rule with invalid condition', async () => { const error = lint('type(scope): foo', { - 'type-enum': [1, 2], - 'header-max-length': [1, {}] + 'type-enum': [1, 2] as any, + 'header-max-length': [1, {}] as any }); await expect(error).rejects.toThrow('type-enum must be string'); @@ -147,8 +147,8 @@ test('throws for rule with invalid condition', async () => { test('throws for rule with out of range condition', async () => { const error = lint('type(scope): foo', { - 'type-enum': [1, 'foo'], - 'header-max-length': [1, 'bar'] + 'type-enum': [1, 'foo'] as any, + 'header-max-length': [1, 'bar'] as any }); await expect(error).rejects.toThrow('type-enum must be "always" or "never"'); diff --git a/@commitlint/lint/src/index.js b/@commitlint/lint/src/lint.ts similarity index 64% rename from @commitlint/lint/src/index.js rename to @commitlint/lint/src/lint.ts index 5a352fa4d1..fb3985734b 100644 --- a/@commitlint/lint/src/index.js +++ b/@commitlint/lint/src/lint.ts @@ -1,20 +1,29 @@ import util from 'util'; import isIgnored from '@commitlint/is-ignored'; import parse from '@commitlint/parse'; -import implementations from '@commitlint/rules'; +import defaultRules from '@commitlint/rules'; import toPairs from 'lodash/toPairs'; import values from 'lodash/values'; +import {buildCommitMesage} from './commit-message'; +import { + LintRuleConfig, + LintOptions, + LintRuleOutcome, + Rule, + Plugin, + RuleSeverity +} from '@commitlint/types'; + +export default async function lint( + message: string, + rawRulesConfig?: LintRuleConfig, + rawOpts?: LintOptions +) { + const opts = rawOpts + ? rawOpts + : {defaultIgnores: undefined, ignores: undefined}; + const rulesConfig = rawRulesConfig || {}; -const buildCommitMesage = ({header, body, footer}) => { - let message = header; - - message = body ? `${message}\n\n${body}` : message; - message = footer ? `${message}\n\n${footer}` : message; - - return message; -}; - -export default async (message, rules = {}, opts = {}) => { // Found a wildcard match, skip if ( isIgnored(message, {defaults: opts.defaultIgnores, ignores: opts.ignores}) @@ -29,25 +38,27 @@ export default async (message, rules = {}, opts = {}) => { // Parse the commit message const parsed = await parse(message, undefined, opts.parserOpts); + const allRules: Map | Rule> = new Map( + Object.entries(defaultRules) + ); - const mergedImplementations = Object.assign({}, implementations); if (opts.plugins) { - values(opts.plugins).forEach(plugin => { + values(opts.plugins).forEach((plugin: Plugin) => { if (plugin.rules) { - Object.keys(plugin.rules).forEach(ruleKey => { - mergedImplementations[ruleKey] = plugin.rules[ruleKey]; - }); + Object.keys(plugin.rules).forEach(ruleKey => + allRules.set(ruleKey, plugin.rules[ruleKey]) + ); } }); } // Find invalid rules configs - const missing = Object.keys(rules).filter( - name => typeof mergedImplementations[name] !== 'function' + const missing = Object.keys(rulesConfig).filter( + name => typeof allRules.get(name) !== 'function' ); if (missing.length > 0) { - const names = Object.keys(mergedImplementations); + const names = [...allRules.keys()]; throw new RangeError( `Found invalid rule names: ${missing.join( ', ' @@ -55,7 +66,7 @@ export default async (message, rules = {}, opts = {}) => { ); } - const invalid = toPairs(rules) + const invalid = toPairs(rulesConfig) .map(([name, config]) => { if (!Array.isArray(config)) { return new Error( @@ -65,7 +76,13 @@ export default async (message, rules = {}, opts = {}) => { ); } - const [level, when] = config; + const [level] = config; + + if (level === RuleSeverity.Disabled && config.length === 1) { + return null; + } + + const [, when] = config; if (typeof level !== 'number' || isNaN(level)) { return new Error( @@ -75,10 +92,6 @@ export default async (message, rules = {}, opts = {}) => { ); } - if (level === 0 && config.length === 1) { - return null; - } - if (config.length !== 2 && config.length !== 3) { return new Error( `config for rule ${name} must be 2 or 3 items long, received ${util.inspect( @@ -113,18 +126,15 @@ export default async (message, rules = {}, opts = {}) => { return null; }) - .filter(item => item instanceof Error); + .filter((item): item is Error => item instanceof Error); if (invalid.length > 0) { throw new Error(invalid.map(i => i.message).join('\n')); } // Validate against all rules - const results = toPairs(rules) - .filter(entry => { - const [, [level]] = toPairs(entry); - return level > 0; - }) + const results = toPairs(rulesConfig) + .filter(([, [level]]) => level > 0) .map(entry => { const [name, config] = entry; const [level, when, value] = config; @@ -134,9 +144,14 @@ export default async (message, rules = {}, opts = {}) => { return null; } - const rule = mergedImplementations[name]; + const rule = allRules.get(name); + + if (!rule) { + throw new Error(`Could not find rule implementation for ${name}`); + } - const [valid, message] = rule(parsed, when, value); + const executableRule = rule as Rule; + const [valid, message] = executableRule(parsed, when, value); return { level, @@ -145,7 +160,7 @@ export default async (message, rules = {}, opts = {}) => { message }; }) - .filter(Boolean); + .filter((result): result is LintRuleOutcome => result !== null); const errors = results.filter(result => result.level === 2 && !result.valid); const warnings = results.filter( @@ -160,4 +175,4 @@ export default async (message, rules = {}, opts = {}) => { warnings, input: buildCommitMesage(parsed) }; -}; +} diff --git a/@commitlint/lint/tsconfig.json b/@commitlint/lint/tsconfig.json new file mode 100644 index 0000000000..7b8a9e3c44 --- /dev/null +++ b/@commitlint/lint/tsconfig.json @@ -0,0 +1,21 @@ +{ + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": [ + "./src" + ], + "exclude": [ + "./src/**/*.test.ts", + "./lib/**/*" + ], + "references": [ + {"path": "../is-ignored"}, + {"path": "../parse"}, + {"path": "../rules"}, + {"path": "../types"} + ] +} diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 76f2c6cfdb..58c82f4617 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -41,6 +41,7 @@ "dependencies": { "@commitlint/execute-rule": "^8.3.4", "@commitlint/resolve-extends": "^8.3.5", + "@commitlint/types": "^8.3.5", "chalk": "3.0.0", "cosmiconfig": "^6.0.0", "lodash": "^4.17.15", diff --git a/@commitlint/load/src/load.ts b/@commitlint/load/src/load.ts index 14cbdf7d94..7f03536529 100644 --- a/@commitlint/load/src/load.ts +++ b/@commitlint/load/src/load.ts @@ -8,8 +8,6 @@ import resolveFrom from 'resolve-from'; import executeRule from '@commitlint/execute-rule'; import resolveExtends from '@commitlint/resolve-extends'; - -import loadPlugin from './utils/loadPlugin'; import { UserConfig, LoadOptions, @@ -17,7 +15,9 @@ import { UserPreset, QualifiedRules, ParserPreset -} from './types'; +} from '@commitlint/types'; + +import loadPlugin from './utils/load-plugin'; import {loadConfig} from './utils/load-config'; import {loadParserOpts} from './utils/load-parser-opts'; import {pickConfig} from './utils/pick-config'; diff --git a/@commitlint/load/src/utils/loadPlugin.test.ts b/@commitlint/load/src/utils/load-plugin.test.ts similarity index 98% rename from @commitlint/load/src/utils/loadPlugin.test.ts rename to @commitlint/load/src/utils/load-plugin.test.ts index 49f074b3c7..65c1fe9cae 100644 --- a/@commitlint/load/src/utils/loadPlugin.test.ts +++ b/@commitlint/load/src/utils/load-plugin.test.ts @@ -1,4 +1,4 @@ -import loadPlugin from './loadPlugin'; +import loadPlugin from './load-plugin'; jest.mock('commitlint-plugin-example', () => ({example: true}), { virtual: true diff --git a/@commitlint/load/src/utils/loadPlugin.ts b/@commitlint/load/src/utils/load-plugin.ts similarity index 93% rename from @commitlint/load/src/utils/loadPlugin.ts rename to @commitlint/load/src/utils/load-plugin.ts index 724f2f7ebc..742a4e6cd5 100644 --- a/@commitlint/load/src/utils/loadPlugin.ts +++ b/@commitlint/load/src/utils/load-plugin.ts @@ -1,8 +1,8 @@ import path from 'path'; import chalk from 'chalk'; -import {normalizePackageName, getShorthandName} from './pluginNaming'; -import {WhitespacePluginError, MissingPluginError} from './pluginErrors'; -import {PluginRecords} from '../types'; +import {normalizePackageName, getShorthandName} from './plugin-naming'; +import {WhitespacePluginError, MissingPluginError} from './plugin-errors'; +import {PluginRecords} from '@commitlint/types'; export default function loadPlugin( plugins: PluginRecords, diff --git a/@commitlint/load/src/utils/pick-config.ts b/@commitlint/load/src/utils/pick-config.ts index ce7187a706..881db12103 100644 --- a/@commitlint/load/src/utils/pick-config.ts +++ b/@commitlint/load/src/utils/pick-config.ts @@ -1,4 +1,4 @@ -import {UserConfig} from '../types'; +import {UserConfig} from '@commitlint/types'; import pick from 'lodash/pick'; export const pickConfig = (input: unknown): UserConfig => diff --git a/@commitlint/load/src/utils/pluginErrors.ts b/@commitlint/load/src/utils/plugin-errors.ts similarity index 100% rename from @commitlint/load/src/utils/pluginErrors.ts rename to @commitlint/load/src/utils/plugin-errors.ts diff --git a/@commitlint/load/src/utils/pluginNaming.ts b/@commitlint/load/src/utils/plugin-naming.ts similarity index 100% rename from @commitlint/load/src/utils/pluginNaming.ts rename to @commitlint/load/src/utils/plugin-naming.ts diff --git a/@commitlint/load/tsconfig.json b/@commitlint/load/tsconfig.json index 08efe81993..baa69a842d 100644 --- a/@commitlint/load/tsconfig.json +++ b/@commitlint/load/tsconfig.json @@ -14,6 +14,7 @@ ], "references": [ { "path": "../execute-rule" }, - { "path": "../resolve-extends" } + { "path": "../resolve-extends" }, + { "path": "../types" } ] } diff --git a/@commitlint/parse/src/index.ts b/@commitlint/parse/src/index.ts index 9834946b57..8074362dc2 100644 --- a/@commitlint/parse/src/index.ts +++ b/@commitlint/parse/src/index.ts @@ -1,12 +1,11 @@ import mergeWith from 'lodash/mergeWith'; import isArray from 'lodash/isArray'; -import {Commit, Parser, ParserOptions} from './types'; +import {Commit, Parser, ParserOptions} from '@commitlint/types'; const {sync} = require('conventional-commits-parser'); const defaultChangelogOpts = require('conventional-changelog-angular'); export default parse; -export * from './types'; async function parse( message: string, diff --git a/@commitlint/parse/tsconfig.json b/@commitlint/parse/tsconfig.json index f4a57643f0..ffd5b0f116 100644 --- a/@commitlint/parse/tsconfig.json +++ b/@commitlint/parse/tsconfig.json @@ -1,15 +1,11 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": [ - "./src" - ], - "exclude": [ - "./src/**/*.test.ts", - "./lib/**/*" - ] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"], + "references": [{"path": "../types"}] } diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index 07edd0a709..cff30083a6 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -44,7 +44,7 @@ "dependencies": { "@commitlint/ensure": "^8.3.4", "@commitlint/message": "^8.3.4", - "@commitlint/parse": "^8.3.4", - "@commitlint/to-lines": "^8.3.4" + "@commitlint/to-lines": "^8.3.4", + "@commitlint/types": "^8.3.4" } } diff --git a/@commitlint/rules/src/body-case.ts b/@commitlint/rules/src/body-case.ts index cef24f86a3..62473783b9 100644 --- a/@commitlint/rules/src/body-case.ts +++ b/@commitlint/rules/src/body-case.ts @@ -1,8 +1,8 @@ -import * as ensure from '@commitlint/ensure'; +import {case as ensureCase} from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from './types'; +import {TargetCaseType, Rule} from '@commitlint/types'; -export const bodyCase: Rule = ( +export const bodyCase: Rule = ( parsed, when = 'always', value = undefined @@ -15,7 +15,7 @@ export const bodyCase: Rule = ( const negated = when === 'never'; - const result = ensure.case(body, value); + const result = ensureCase(body, value); return [ negated ? !result : result, message([`body must`, negated ? `not` : null, `be ${value}`]) diff --git a/@commitlint/rules/src/body-empty.ts b/@commitlint/rules/src/body-empty.ts index 8df58844ae..571563bc9c 100644 --- a/@commitlint/rules/src/body-empty.ts +++ b/@commitlint/rules/src/body-empty.ts @@ -1,6 +1,6 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const bodyEmpty: Rule = (parsed, when = 'always') => { const negated = when === 'never'; diff --git a/@commitlint/rules/src/body-leading-blank.ts b/@commitlint/rules/src/body-leading-blank.ts index 447557b0ff..0b6bdf1d4b 100644 --- a/@commitlint/rules/src/body-leading-blank.ts +++ b/@commitlint/rules/src/body-leading-blank.ts @@ -1,6 +1,6 @@ import toLines from '@commitlint/to-lines'; import message from '@commitlint/message'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const bodyLeadingBlank: Rule = (parsed, when) => { // Flunk if no body is found diff --git a/@commitlint/rules/src/body-max-length.ts b/@commitlint/rules/src/body-max-length.ts index 995f29cb11..bc0cc81df3 100644 --- a/@commitlint/rules/src/body-max-length.ts +++ b/@commitlint/rules/src/body-max-length.ts @@ -1,5 +1,5 @@ import {maxLength} from '@commitlint/ensure'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const bodyMaxLength: Rule = ( parsed, diff --git a/@commitlint/rules/src/body-max-line-length.ts b/@commitlint/rules/src/body-max-line-length.ts index 83019ca195..2746993a97 100644 --- a/@commitlint/rules/src/body-max-line-length.ts +++ b/@commitlint/rules/src/body-max-line-length.ts @@ -1,5 +1,5 @@ import {maxLineLength} from '@commitlint/ensure'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const bodyMaxLineLength: Rule = ( parsed, diff --git a/@commitlint/rules/src/body-min-length.ts b/@commitlint/rules/src/body-min-length.ts index c554746e5d..3b50e6c4dc 100644 --- a/@commitlint/rules/src/body-min-length.ts +++ b/@commitlint/rules/src/body-min-length.ts @@ -1,5 +1,5 @@ import {minLength} from '@commitlint/ensure'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const bodyMinLength: Rule = ( parsed, diff --git a/@commitlint/rules/src/footer-empty.ts b/@commitlint/rules/src/footer-empty.ts index 1f4ac03021..810001e8a5 100644 --- a/@commitlint/rules/src/footer-empty.ts +++ b/@commitlint/rules/src/footer-empty.ts @@ -1,6 +1,6 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const footerEmpty: Rule = (parsed, when = 'always') => { const negated = when === 'never'; diff --git a/@commitlint/rules/src/footer-leading-blank.ts b/@commitlint/rules/src/footer-leading-blank.ts index e4bb637842..094ba93c30 100644 --- a/@commitlint/rules/src/footer-leading-blank.ts +++ b/@commitlint/rules/src/footer-leading-blank.ts @@ -1,6 +1,6 @@ import toLines from '@commitlint/to-lines'; import message from '@commitlint/message'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const footerLeadingBlank: Rule = (parsed, when = 'always') => { // Flunk if no footer is found diff --git a/@commitlint/rules/src/footer-max-length.ts b/@commitlint/rules/src/footer-max-length.ts index 82dd42961f..7c2d771be6 100644 --- a/@commitlint/rules/src/footer-max-length.ts +++ b/@commitlint/rules/src/footer-max-length.ts @@ -1,5 +1,5 @@ import {maxLength} from '@commitlint/ensure'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const footerMaxLength: Rule = ( parsed, diff --git a/@commitlint/rules/src/footer-max-line-length.ts b/@commitlint/rules/src/footer-max-line-length.ts index 5ef7123222..9bc1ffe281 100644 --- a/@commitlint/rules/src/footer-max-line-length.ts +++ b/@commitlint/rules/src/footer-max-line-length.ts @@ -1,5 +1,5 @@ import {maxLineLength} from '@commitlint/ensure'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const footerMaxLineLength: Rule = ( parsed, diff --git a/@commitlint/rules/src/footer-min-length.ts b/@commitlint/rules/src/footer-min-length.ts index 9447444e10..cd8571d5c5 100644 --- a/@commitlint/rules/src/footer-min-length.ts +++ b/@commitlint/rules/src/footer-min-length.ts @@ -1,5 +1,5 @@ import {minLength} from '@commitlint/ensure'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const footerMinLength: Rule = ( parsed, diff --git a/@commitlint/rules/src/header-case.ts b/@commitlint/rules/src/header-case.ts index 144ecb39fa..dedb264df3 100644 --- a/@commitlint/rules/src/header-case.ts +++ b/@commitlint/rules/src/header-case.ts @@ -1,6 +1,6 @@ -import {TargetCaseType, case as ensureCase} from '@commitlint/ensure'; +import {case as ensureCase} from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from './types'; +import {TargetCaseType, Rule} from '@commitlint/types'; const negated = (when?: string) => when === 'never'; diff --git a/@commitlint/rules/src/header-full-stop.ts b/@commitlint/rules/src/header-full-stop.ts index ffecb8d60c..c22c1a791d 100644 --- a/@commitlint/rules/src/header-full-stop.ts +++ b/@commitlint/rules/src/header-full-stop.ts @@ -1,5 +1,5 @@ import message from '@commitlint/message'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const headerFullStop: Rule = ( parsed, diff --git a/@commitlint/rules/src/header-max-length.ts b/@commitlint/rules/src/header-max-length.ts index 32bbd65b69..4eab3dc50e 100644 --- a/@commitlint/rules/src/header-max-length.ts +++ b/@commitlint/rules/src/header-max-length.ts @@ -1,5 +1,5 @@ import {maxLength} from '@commitlint/ensure'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const headerMaxLength: Rule = ( parsed, diff --git a/@commitlint/rules/src/header-min-length.ts b/@commitlint/rules/src/header-min-length.ts index c36b549867..10cf63aa2e 100644 --- a/@commitlint/rules/src/header-min-length.ts +++ b/@commitlint/rules/src/header-min-length.ts @@ -1,5 +1,5 @@ import {minLength} from '@commitlint/ensure'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const headerMinLength: Rule = ( parsed, diff --git a/@commitlint/rules/src/index.test.ts b/@commitlint/rules/src/index.test.ts index 75838535bc..9ee9603da2 100644 --- a/@commitlint/rules/src/index.test.ts +++ b/@commitlint/rules/src/index.test.ts @@ -16,7 +16,7 @@ test('rules export functions', () => { async function glob(pattern: string | string[]) { const files = await globby(pattern, { - ignore: ['**/index.ts', '**/*.test.ts', '**/types.ts'], + ignore: ['**/index.ts', '**/*.test.ts'], cwd: __dirname }); return files.map(relative).map(toExport); diff --git a/@commitlint/rules/src/index.ts b/@commitlint/rules/src/index.ts index 0a8b1f1f65..f726e45905 100644 --- a/@commitlint/rules/src/index.ts +++ b/@commitlint/rules/src/index.ts @@ -31,8 +31,6 @@ import {typeEnum} from './type-enum'; import {typeMaxLength} from './type-max-length'; import {typeMinLength} from './type-min-length'; -export * from './types'; - export default { 'body-case': bodyCase, 'body-empty': bodyEmpty, diff --git a/@commitlint/rules/src/references-empty.ts b/@commitlint/rules/src/references-empty.ts index 3e3e483981..7582c4e555 100644 --- a/@commitlint/rules/src/references-empty.ts +++ b/@commitlint/rules/src/references-empty.ts @@ -1,5 +1,5 @@ import message from '@commitlint/message'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const referencesEmpty: Rule = (parsed, when = 'never') => { const negated = when === 'always'; diff --git a/@commitlint/rules/src/scope-case.ts b/@commitlint/rules/src/scope-case.ts index fc29fbe288..0d6781e2f5 100644 --- a/@commitlint/rules/src/scope-case.ts +++ b/@commitlint/rules/src/scope-case.ts @@ -1,6 +1,6 @@ -import {TargetCaseType, case as ensureCase} from '@commitlint/ensure'; +import {case as ensureCase} from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from './types'; +import {TargetCaseType, Rule} from '@commitlint/types'; const negated = (when?: string) => when === 'never'; diff --git a/@commitlint/rules/src/scope-empty.ts b/@commitlint/rules/src/scope-empty.ts index 89358a4b6d..9d600372de 100644 --- a/@commitlint/rules/src/scope-empty.ts +++ b/@commitlint/rules/src/scope-empty.ts @@ -1,6 +1,6 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const scopeEmpty: Rule = (parsed, when = 'never') => { const negated = when === 'always'; diff --git a/@commitlint/rules/src/scope-enum.ts b/@commitlint/rules/src/scope-enum.ts index 0753ae0b8d..2aa8e149f1 100644 --- a/@commitlint/rules/src/scope-enum.ts +++ b/@commitlint/rules/src/scope-enum.ts @@ -1,6 +1,6 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const scopeEnum: Rule = ( parsed, diff --git a/@commitlint/rules/src/scope-max-length.ts b/@commitlint/rules/src/scope-max-length.ts index 24e3d5f478..8cdaea7256 100644 --- a/@commitlint/rules/src/scope-max-length.ts +++ b/@commitlint/rules/src/scope-max-length.ts @@ -1,5 +1,5 @@ import {maxLength} from '@commitlint/ensure'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const scopeMaxLength: Rule = ( parsed, diff --git a/@commitlint/rules/src/scope-min-length.ts b/@commitlint/rules/src/scope-min-length.ts index ec088f6848..5492579c8c 100644 --- a/@commitlint/rules/src/scope-min-length.ts +++ b/@commitlint/rules/src/scope-min-length.ts @@ -1,5 +1,5 @@ import {minLength} from '@commitlint/ensure'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const scopeMinLength: Rule = ( parsed, diff --git a/@commitlint/rules/src/signed-off-by.ts b/@commitlint/rules/src/signed-off-by.ts index 78d844b486..82762fa7cd 100644 --- a/@commitlint/rules/src/signed-off-by.ts +++ b/@commitlint/rules/src/signed-off-by.ts @@ -1,6 +1,6 @@ import message from '@commitlint/message'; import toLines from '@commitlint/to-lines'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const signedOffBy: Rule = ( parsed, diff --git a/@commitlint/rules/src/subject-case.ts b/@commitlint/rules/src/subject-case.ts index 4694cf7194..fb8a8ab024 100644 --- a/@commitlint/rules/src/subject-case.ts +++ b/@commitlint/rules/src/subject-case.ts @@ -1,6 +1,6 @@ -import {TargetCaseType, case as ensureCase} from '@commitlint/ensure'; +import {case as ensureCase} from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from './types'; +import {TargetCaseType, Rule} from '@commitlint/types'; const negated = (when?: string) => when === 'never'; diff --git a/@commitlint/rules/src/subject-empty.ts b/@commitlint/rules/src/subject-empty.ts index 331adb5a4e..20e6f4863f 100644 --- a/@commitlint/rules/src/subject-empty.ts +++ b/@commitlint/rules/src/subject-empty.ts @@ -1,6 +1,6 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const subjectEmpty: Rule = (parsed, when = 'always') => { const negated = when === 'never'; diff --git a/@commitlint/rules/src/subject-full-stop.ts b/@commitlint/rules/src/subject-full-stop.ts index 133f03b647..7faa4910bc 100644 --- a/@commitlint/rules/src/subject-full-stop.ts +++ b/@commitlint/rules/src/subject-full-stop.ts @@ -1,5 +1,5 @@ import message from '@commitlint/message'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const subjectFullStop: Rule = ( parsed, diff --git a/@commitlint/rules/src/subject-max-length.ts b/@commitlint/rules/src/subject-max-length.ts index c8d492c706..db65f1a468 100644 --- a/@commitlint/rules/src/subject-max-length.ts +++ b/@commitlint/rules/src/subject-max-length.ts @@ -1,5 +1,5 @@ import {maxLength} from '@commitlint/ensure'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const subjectMaxLength: Rule = ( parsed, diff --git a/@commitlint/rules/src/subject-min-length.ts b/@commitlint/rules/src/subject-min-length.ts index 5cd7077c8a..43fee9701a 100644 --- a/@commitlint/rules/src/subject-min-length.ts +++ b/@commitlint/rules/src/subject-min-length.ts @@ -1,5 +1,5 @@ import {minLength} from '@commitlint/ensure'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const subjectMinLength: Rule = ( parsed, diff --git a/@commitlint/rules/src/type-case.ts b/@commitlint/rules/src/type-case.ts index 2fc37ec35f..1a5bceef9c 100644 --- a/@commitlint/rules/src/type-case.ts +++ b/@commitlint/rules/src/type-case.ts @@ -1,6 +1,6 @@ -import {TargetCaseType, case as ensureCase} from '@commitlint/ensure'; +import {case as ensureCase} from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from './types'; +import {TargetCaseType, Rule} from '@commitlint/types'; const negated = (when?: string) => when === 'never'; diff --git a/@commitlint/rules/src/type-empty.ts b/@commitlint/rules/src/type-empty.ts index 667f6dfba0..9d58864299 100644 --- a/@commitlint/rules/src/type-empty.ts +++ b/@commitlint/rules/src/type-empty.ts @@ -1,6 +1,6 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const typeEmpty: Rule = (parsed, when = 'always') => { const negated = when === 'never'; diff --git a/@commitlint/rules/src/type-enum.ts b/@commitlint/rules/src/type-enum.ts index 974f94fc6b..1aba3b61fa 100644 --- a/@commitlint/rules/src/type-enum.ts +++ b/@commitlint/rules/src/type-enum.ts @@ -1,6 +1,6 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const typeEnum: Rule = ( parsed, diff --git a/@commitlint/rules/src/type-max-length.ts b/@commitlint/rules/src/type-max-length.ts index 29fc60076c..29569ed79f 100644 --- a/@commitlint/rules/src/type-max-length.ts +++ b/@commitlint/rules/src/type-max-length.ts @@ -1,5 +1,5 @@ import {maxLength} from '@commitlint/ensure'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const typeMaxLength: Rule = ( parsed, diff --git a/@commitlint/rules/src/type-min-length.ts b/@commitlint/rules/src/type-min-length.ts index c48852c398..08ea3150d9 100644 --- a/@commitlint/rules/src/type-min-length.ts +++ b/@commitlint/rules/src/type-min-length.ts @@ -1,5 +1,5 @@ import {minLength} from '@commitlint/ensure'; -import {Rule} from './types'; +import {Rule} from '@commitlint/types'; export const typeMinLength: Rule = ( parsed, diff --git a/@commitlint/rules/tsconfig.json b/@commitlint/rules/tsconfig.json index 7824a8d568..1cafd13cb7 100644 --- a/@commitlint/rules/tsconfig.json +++ b/@commitlint/rules/tsconfig.json @@ -15,7 +15,7 @@ "references": [ { "path": "../ensure" }, { "path": "../message" }, - { "path": "../parse" }, - { "path": "../to-lines" } + { "path": "../to-lines" }, + { "path": "../types" }, ] } diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json new file mode 100644 index 0000000000..12b349b704 --- /dev/null +++ b/@commitlint/types/package.json @@ -0,0 +1,32 @@ +{ + "name": "@commitlint/types", + "version": "8.3.5", + "description": "Shared types for commitlint packages", + "main": "lib/index.js", + "types": "lib/index.d.ts", + "files": [ + "lib/" + ], + "scripts": { + "pkg": "pkg-check" + }, + "engines": { + "node": ">=4" + }, + "repository": { + "type": "git", + "url": "https://github.com/conventional-changelog/commitlint.git" + }, + "bugs": { + "url": "https://github.com/conventional-changelog/commitlint/issues" + }, + "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "author": { + "name": "Mario Nebl", + "email": "hello@herebecode.com" + }, + "license": "MIT", + "devDependencies": { + "@commitlint/utils": "^8.3.4" + } +} diff --git a/@commitlint/ensure/src/types.ts b/@commitlint/types/src/ensure.ts similarity index 100% rename from @commitlint/ensure/src/types.ts rename to @commitlint/types/src/ensure.ts diff --git a/@commitlint/types/src/index.ts b/@commitlint/types/src/index.ts new file mode 100644 index 0000000000..f562854fed --- /dev/null +++ b/@commitlint/types/src/index.ts @@ -0,0 +1,6 @@ +export * from './ensure'; +export * from './is-ignored'; +export * from './rules'; +export * from './lint'; +export * from './load'; +export * from './parse'; diff --git a/@commitlint/types/src/is-ignored.ts b/@commitlint/types/src/is-ignored.ts new file mode 100644 index 0000000000..45227cdbfd --- /dev/null +++ b/@commitlint/types/src/is-ignored.ts @@ -0,0 +1,6 @@ +export type Matcher = (commit: string) => boolean; + +export interface IsIgnoredOptions { + ignores?: Matcher[]; + defaults?: boolean; +} diff --git a/@commitlint/types/src/lint.ts b/@commitlint/types/src/lint.ts new file mode 100644 index 0000000000..6ebf81e448 --- /dev/null +++ b/@commitlint/types/src/lint.ts @@ -0,0 +1,43 @@ +import {IsIgnoredOptions} from './is-ignored'; +import {RuleConfigTuple, PluginRecords, RuleSeverity} from './load'; +import {ParserOptions} from './parse'; + +export type LintRuleConfig = Record< + string, + | Readonly<[RuleSeverity.Disabled]> + | RuleConfigTuple + | RuleConfigTuple +>; + +export interface LintOptions { + /** If it should ignore the default commit messages (defaults to `true`) */ + defaultIgnores?: IsIgnoredOptions['defaults']; + /** Additional commits to ignore, defined by ignore matchers */ + ignores?: IsIgnoredOptions['ignores']; + /** The parser configuration to use when linting the commit */ + parserOpts?: ParserOptions; + + plugins?: PluginRecords; +} + +export interface LintOutcome { + /** The linted commit, as string */ + input: string; + /** If the linted commit is considered valid */ + valid: boolean; + /** All errors, per rule, for the commit */ + errors: LintRuleOutcome[]; + /** All warnings, per rule, for the commit */ + warnings: LintRuleOutcome[]; +} + +export interface LintRuleOutcome { + /** If the commit is considered valid for the rule */ + valid: boolean; + /** The "severity" of the rule (1 = warning, 2 = error) */ + level: RuleSeverity; + /** The name of the rule */ + name: string; + /** The message returned from the rule, if invalid */ + message: string; +} diff --git a/@commitlint/load/src/types.ts b/@commitlint/types/src/load.ts similarity index 85% rename from @commitlint/load/src/types.ts rename to @commitlint/types/src/load.ts index 37cdaa5a6b..6f446b1369 100644 --- a/@commitlint/load/src/types.ts +++ b/@commitlint/types/src/load.ts @@ -1,8 +1,13 @@ -import {TargetCaseType} from '@commitlint/ensure'; +import {TargetCaseType} from './ensure'; +import {Rule, RuleCondition} from './rules'; -export type RuleCondition = 'always' | 'never'; +export type PluginRecords = Record; -export type PluginRecords = Record; +export interface Plugin { + rules: { + [ruleName: string]: Rule; + }; +} export interface LoadOptions { cwd?: string; @@ -10,15 +15,14 @@ export interface LoadOptions { } export enum RuleSeverity { + Disabled = 0, Warning = 1, Error = 2 } -export type RuleConfigTuple = ReadonlyArray< - T extends void - ? [RuleSeverity, RuleCondition] - : [RuleSeverity, RuleCondition, T] ->; +export type RuleConfigTuple = T extends void + ? Readonly<[RuleSeverity, RuleCondition]> + : Readonly<[RuleSeverity, RuleCondition, T]>; export enum RuleConfigQuality { User, @@ -33,7 +37,9 @@ export type QualifiedRuleConfig = export type RuleConfig< V = RuleConfigQuality.Qualified, T = void -> = V extends false ? RuleConfigTuple : QualifiedRuleConfig; +> = V extends RuleConfigQuality.Qualified + ? RuleConfigTuple + : QualifiedRuleConfig; export type CaseRuleConfig = RuleConfig< V, diff --git a/@commitlint/parse/src/types.ts b/@commitlint/types/src/parse.ts similarity index 100% rename from @commitlint/parse/src/types.ts rename to @commitlint/types/src/parse.ts diff --git a/@commitlint/rules/src/types.ts b/@commitlint/types/src/rules.ts similarity index 95% rename from @commitlint/rules/src/types.ts rename to @commitlint/types/src/rules.ts index 968f80f358..b064cb4d32 100644 --- a/@commitlint/rules/src/types.ts +++ b/@commitlint/types/src/rules.ts @@ -1,4 +1,4 @@ -import {Commit} from '@commitlint/parse'; +import {Commit} from './parse'; /** * Rules always have a condition. diff --git a/@commitlint/types/tsconfig.json b/@commitlint/types/tsconfig.json new file mode 100644 index 0000000000..f9b6b7f3f1 --- /dev/null +++ b/@commitlint/types/tsconfig.json @@ -0,0 +1,14 @@ +{ + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": [ + "./src" + ], + "exclude": [ + "./lib/**/*" + ] +} diff --git a/tsconfig.json b/tsconfig.json index 0065cef64f..314a1e218e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,6 +15,7 @@ { "path": "@commitlint/to-lines" }, { "path": "@commitlint/top-level" }, { "path": "@commitlint/read" }, - { "path": "@commitlint/rules" } + { "path": "@commitlint/rules" }, + { "path": "@commitlint/lint" }, ] } diff --git a/tsconfig.shared.json b/tsconfig.shared.json index 3a76d85bb5..d86bf1bb65 100644 --- a/tsconfig.shared.json +++ b/tsconfig.shared.json @@ -18,6 +18,7 @@ "keyofStringsOnly": true, "noFallthroughCasesInSwitch": true, "isolatedModules": true, - "skipLibCheck": true + "skipLibCheck": true, + "downlevelIteration": true } } From e6c85a7fc5ef92fed53fdf87e3bfbdda2af17f9a Mon Sep 17 00:00:00 2001 From: Armano Date: Wed, 5 Feb 2020 23:48:07 +0100 Subject: [PATCH 0064/2192] chore: align all packages (#952) * chore: update required devDependencies * chore: align repository field across packages * chore: remove empty scripts * chore(config-lerna-scopes): remove lerna dev dependency * chore: remove unneeded devDependencies * chore(core): add missing utils to devDependencies --- @alias/commitlint-config-angular/package.json | 4 +--- @alias/commitlint-config-lerna-scopes/package.json | 4 +--- @alias/commitlint-config-patternplate/package.json | 4 +--- @commitlint/config-angular-type-enum/package.json | 7 ++----- @commitlint/config-angular/package.json | 7 ++----- @commitlint/config-conventional/package.json | 7 ++----- @commitlint/config-lerna-scopes/package.json | 6 ++---- @commitlint/config-patternplate/package.json | 7 ++----- @commitlint/core/package.json | 3 +++ @commitlint/ensure/package.json | 1 + @commitlint/execute-rule/package.json | 7 +------ @commitlint/format/package.json | 5 +---- @commitlint/lint/package.json | 3 +-- @commitlint/load/package.json | 1 + @commitlint/message/package.json | 3 +-- @commitlint/parse/package.json | 3 +-- @commitlint/prompt-cli/package.json | 2 +- @commitlint/prompt/package.json | 2 +- @commitlint/read/package.json | 1 + @commitlint/resolve-extends/package.json | 5 +---- @commitlint/rules/package.json | 1 + @commitlint/to-lines/package.json | 1 - @commitlint/top-level/package.json | 3 +-- @packages/utils/package.json | 4 ---- package.json | 1 + yarn.lock | 9 +-------- 26 files changed, 31 insertions(+), 70 deletions(-) diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index a09b5dcdfc..13eff8ab7b 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -6,14 +6,12 @@ "index.js" ], "scripts": { - "test": "exit 0", - "clean": "exit 0", "deps": "dep-check", "pkg": "pkg-check" }, "repository": { "type": "git", - "url": "git+https://github.com/conventional-changelog/commitlint.git" + "url": "https://github.com/conventional-changelog/commitlint.git" }, "keywords": [ "conventional-changelog", diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index b6dc6846ab..2c9a95054c 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -6,14 +6,12 @@ "index.js" ], "scripts": { - "test": "exit 0", - "clean": "exit 0", "deps": "dep-check", "pkg": "pkg-check" }, "repository": { "type": "git", - "url": "git+https://github.com/conventional-changelog/commitlint.git" + "url": "https://github.com/conventional-changelog/commitlint.git" }, "keywords": [ "conventional-changelog", diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index 8e450cebc3..2790b34a6a 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -6,14 +6,12 @@ "index.js" ], "scripts": { - "test": "exit 0", - "clean": "exit 0", "deps": "dep-check", "pkg": "pkg-check" }, "repository": { "type": "git", - "url": "git+https://github.com/conventional-changelog/commitlint.git" + "url": "https://github.com/conventional-changelog/commitlint.git" }, "keywords": [ "conventional-changelog", diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 65cc3b0a0e..5485a90a44 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -6,15 +6,12 @@ "index.js" ], "scripts": { - "clean": "exit 0", "deps": "dep-check", - "pkg": "pkg-check", - "start": "exit 0", - "test": "exit 0" + "pkg": "pkg-check" }, "repository": { "type": "git", - "url": "git+https://github.com/conventional-changelog/commitlint.git" + "url": "https://github.com/conventional-changelog/commitlint.git" }, "keywords": [ "conventional-changelog", diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index 0f17a56526..f008abebf5 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -6,15 +6,12 @@ "index.js" ], "scripts": { - "clean": "exit 0", "deps": "dep-check", - "pkg": "pkg-check --skip-import", - "start": "exit 0", - "test": "exit 0" + "pkg": "pkg-check --skip-import" }, "repository": { "type": "git", - "url": "git+https://github.com/conventional-changelog/commitlint.git" + "url": "https://github.com/conventional-changelog/commitlint.git" }, "keywords": [ "conventional-changelog", diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index ab8197e4c4..7693571f52 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -6,18 +6,15 @@ "index.js" ], "scripts": { - "clean": "exit 0", "deps": "dep-check", - "pkg": "pkg-check", - "start": "exit 0", - "test": "exit 0" + "pkg": "pkg-check" }, "publishConfig": { "access": "public" }, "repository": { "type": "git", - "url": "git+https://github.com/conventional-changelog/commitlint.git" + "url": "https://github.com/conventional-changelog/commitlint.git" }, "keywords": [ "conventional-changelog", diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index 7f90683ef8..cea5d9003d 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -11,7 +11,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/conventional-changelog/commitlint.git" + "url": "https://github.com/conventional-changelog/commitlint.git" }, "keywords": [ "conventional-changelog", @@ -35,8 +35,6 @@ }, "devDependencies": { "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4", - "@lerna/project": "3.18.0", - "lerna": "3.20.2" + "@commitlint/utils": "^8.3.4" } } diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 7efa2a559a..57e9029d47 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -6,15 +6,12 @@ "index.js" ], "scripts": { - "clean": "exit 0", "deps": "dep-check", - "pkg": "pkg-check --skip-import", - "start": "exit 0", - "test": "exit 0" + "pkg": "pkg-check --skip-import" }, "repository": { "type": "git", - "url": "git+https://github.com/conventional-changelog/commitlint.git" + "url": "https://github.com/conventional-changelog/commitlint.git" }, "keywords": [ "conventional-changelog", diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index 20f7394d48..f009181724 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -36,5 +36,8 @@ "@commitlint/lint": "^8.3.5", "@commitlint/load": "^8.3.5", "@commitlint/read": "^8.3.4" + }, + "devDependencies": { + "@commitlint/utils": "^8.3.4" } } diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 2b46a02b31..6338a403d9 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -35,6 +35,7 @@ "license": "MIT", "devDependencies": { "@commitlint/utils": "^8.3.4", + "@types/lodash": "4.14.149", "globby": "11.0.0" }, "dependencies": { diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index b0749c5728..a775c28083 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -34,11 +34,6 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^8.3.4", - "@commitlint/utils": "^8.3.4", - "@types/jest": "25.1.1", - "@types/lodash": "4.14.149", - "jest": "25.1.0", - "ts-jest": "25.2.0" + "@commitlint/utils": "^8.3.4" } } diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index 0ba6cf7e4d..56488ee01a 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -34,10 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^8.3.4", - "@types/lodash": "4.14.149", - "lodash": "4.17.15", - "typescript": "3.7.5" + "@commitlint/utils": "^8.3.4" }, "dependencies": { "chalk": "^3.0.0" diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 89bd869fdf..02b44482f2 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -39,8 +39,7 @@ "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "babel-preset-commitlint": "^8.2.0", - "cross-env": "7.0.0", - "execa": "0.11.0" + "cross-env": "7.0.0" }, "dependencies": { "@commitlint/is-ignored": "^8.3.5", diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 58c82f4617..b96658fc62 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -36,6 +36,7 @@ "devDependencies": { "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", + "@types/lodash": "4.14.149", "execa": "0.11.0" }, "dependencies": { diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index e6a7182040..df9545284b 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -35,7 +35,6 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4", - "typescript": "3.7.5" + "@commitlint/utils": "^8.3.4" } } diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index f7df2deb65..c28639ba83 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -37,8 +37,7 @@ "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "@types/lodash": "4.14.149", - "import-from": "3.0.0", - "typescript": "3.7.5" + "import-from": "3.0.0" }, "dependencies": { "conventional-changelog-angular": "^5.0.0", diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 0d0850a4c3..7c3bb148bf 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -15,7 +15,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/conventional-changelog/commitlint.git" + "url": "https://github.com/conventional-changelog/commitlint.git" }, "keywords": [ "commitlint", diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 4d520f79e8..f9ea4cdf3d 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -26,7 +26,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/conventional-changelog/commitlint.git" + "url": "https://github.com/conventional-changelog/commitlint.git" }, "keywords": [ "conventional-changelog", diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 1962a34888..27ee2730c7 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -41,6 +41,7 @@ "devDependencies": { "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", + "@types/fs-extra": "^8.0.1", "@types/git-raw-commits": "^2.0.0" }, "dependencies": { diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index 24c1cb8480..c2260d53a6 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -34,11 +34,8 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^8.3.4", "@commitlint/utils": "^8.3.4", - "@types/lodash": "4.14.149", - "@types/node": "12.12.26", - "@types/resolve-from": "5.0.1" + "@types/lodash": "4.14.149" }, "dependencies": { "import-fresh": "^3.0.0", diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index cff30083a6..e2dd806fcb 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -37,6 +37,7 @@ "@commitlint/parse": "^8.3.4", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", + "@types/lodash": "4.14.149", "conventional-changelog-angular": "5.0.6", "globby": "^11.0.0", "lodash": "^4.17.15" diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index 9384d03831..6cb71c172a 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -34,7 +34,6 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^8.3.4", "@commitlint/utils": "^8.3.4" } } diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index 6e33642ead..beaec1f4f9 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -34,8 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^8.3.4", - "@types/node": "12.12.26" + "@commitlint/utils": "^8.3.4" }, "dependencies": { "find-up": "^4.0.0" diff --git a/@packages/utils/package.json b/@packages/utils/package.json index eb8cab915a..b6e753ce46 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -11,10 +11,6 @@ "pkg-check": "./pkg-check.js" }, "scripts": { - "build": "exit 0", - "clean": "exit 0", - "start": "exit 0", - "test": "exit 0", "deps": "node dep-check.js", "pkg": "node pkg-check.js --skip-main" }, diff --git a/package.json b/package.json index 87c896383e..39d61f8d5f 100644 --- a/package.json +++ b/package.json @@ -74,6 +74,7 @@ }, "devDependencies": { "@lerna/project": "3.18.0", + "@types/node": "12.12.26", "@types/jest": "25.1.1", "docsify-cli": "^4.4.0", "husky": "4.2.1", diff --git a/yarn.lock b/yarn.lock index 4284cdf4bc..a20efebb65 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2061,13 +2061,6 @@ resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== -"@types/resolve-from@5.0.1": - version "5.0.1" - resolved "https://registry.npmjs.org/@types/resolve-from/-/resolve-from-5.0.1.tgz#2714eaa840c0472dcfa96ec3fb9d170dbf0b677d" - integrity sha512-1G7n5Jtr5inoS1Ez2Y9Efedk9/wH6uGQslbfhGTOw9J42PCAwuyaDgQHW7fIq02+shwB02kM/w31W8gMxI8ORg== - dependencies: - resolve-from "*" - "@types/semver@7.1.0": version "7.1.0" resolved "https://registry.npmjs.org/@types/semver/-/semver-7.1.0.tgz#c8c630d4c18cd326beff77404887596f96408408" @@ -8323,7 +8316,7 @@ resolve-dir@^1.0.0, resolve-dir@^1.0.1: expand-tilde "^2.0.0" global-modules "^1.0.0" -resolve-from@*, resolve-from@5.0.0, resolve-from@^5.0.0: +resolve-from@5.0.0, resolve-from@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== From f62e6723b70b09270c2731e9d3d0b81d0b3b4cb8 Mon Sep 17 00:00:00 2001 From: Armano Date: Thu, 6 Feb 2020 00:02:37 +0100 Subject: [PATCH 0065/2192] test: fix npm bootstrap on windows machines (#955) --- @packages/test/src/npm.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/@packages/test/src/npm.ts b/@packages/test/src/npm.ts index d923848cc5..fb8d3e157e 100644 --- a/@packages/test/src/npm.ts +++ b/@packages/test/src/npm.ts @@ -40,8 +40,11 @@ export async function bootstrap(fixture: string, directory?: string) { return cwd; } -function findParentPath(path: string, dirname: string): string | undefined { - const rawFragments = path.split('/'); +function findParentPath( + parentPath: string, + dirname: string +): string | undefined { + const rawFragments = parentPath.split(path.sep); const {matched, fragments} = rawFragments.reduceRight( ({fragments, matched}, item) => { @@ -58,5 +61,5 @@ function findParentPath(path: string, dirname: string): string | undefined { {fragments: rawFragments, matched: false} ); - return matched ? fragments.join('/') : undefined; + return matched ? fragments.join(path.sep) : undefined; } From 191bb871929c7b6edc24435a8a4adc487cae30f6 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Thu, 6 Feb 2020 10:02:51 +1100 Subject: [PATCH 0066/2192] chore: clarify lowest supported Node.js version (#956) This resyncs all pages to specify Node.js >= 8 as lowest supported version. This also lifts the target output to ES2017 and pulls in the ES2017 lib as those correspond to the feature set of Node.js 8. --- @alias/commitlint-config-angular/package.json | 3 +++ @alias/commitlint-config-lerna-scopes/package.json | 3 +++ @alias/commitlint-config-patternplate/package.json | 3 +++ @alias/commitlint/package.json | 2 +- @commitlint/cli/package.json | 2 +- @commitlint/config-angular-type-enum/package.json | 3 +++ @commitlint/config-angular/package.json | 3 +++ @commitlint/config-conventional/package.json | 3 +++ @commitlint/config-lerna-scopes/package.json | 3 +++ @commitlint/config-patternplate/package.json | 3 +++ @commitlint/core/package.json | 2 +- @commitlint/ensure/package.json | 2 +- @commitlint/execute-rule/package.json | 2 +- @commitlint/format/package.json | 2 +- @commitlint/is-ignored/package.json | 2 +- @commitlint/lint/package.json | 2 +- @commitlint/load/package.json | 2 +- @commitlint/message/package.json | 2 +- @commitlint/parse/package.json | 2 +- @commitlint/prompt-cli/package.json | 3 +++ @commitlint/prompt/package.json | 3 +++ @commitlint/read/package.json | 2 +- @commitlint/resolve-extends/package.json | 2 +- @commitlint/rules/package.json | 2 +- @commitlint/to-lines/package.json | 2 +- @commitlint/top-level/package.json | 2 +- @commitlint/travis-cli/package.json | 2 +- @commitlint/types/package.json | 2 +- @packages/babel-preset-commitlint/package.json | 2 +- @packages/test/package.json | 2 +- @packages/utils/package.json | 2 +- package.json | 2 +- tsconfig.shared.json | 5 ++--- 33 files changed, 54 insertions(+), 25 deletions(-) diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index 13eff8ab7b..4c7e3a4de5 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -25,6 +25,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "dependencies": { "@commitlint/config-angular": "^8.3.4" }, diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index 2c9a95054c..9fb506eb8c 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -25,6 +25,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "dependencies": { "@commitlint/config-lerna-scopes": "^8.3.4" }, diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index 2790b34a6a..ff4b2f6d50 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -25,6 +25,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "dependencies": { "@commitlint/config-patternplate": "^8.3.4", "@commitlint/utils": "^8.3.4" diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 959d93da7e..e605120c04 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -13,7 +13,7 @@ "pkg": "pkg-check --skip-main" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 51b6ef6f28..3b24c8e877 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -23,7 +23,7 @@ ] }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 5485a90a44..5f26b5dde7 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -25,6 +25,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "devDependencies": { "@commitlint/utils": "^8.3.4" } diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index f008abebf5..eef237bf34 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -25,6 +25,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "devDependencies": { "@commitlint/utils": "^8.3.4" }, diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index 7693571f52..75832c49e8 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -28,6 +28,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "devDependencies": { "@commitlint/utils": "^8.3.4" }, diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index cea5d9003d..d4c660f1ba 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -28,6 +28,9 @@ "peerDependencies": { "lerna": "^3.20.2" }, + "engines": { + "node": ">=8" + }, "dependencies": { "import-from": "3.0.0", "resolve-pkg": "2.0.0", diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 57e9029d47..2f2fcbc36f 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -25,6 +25,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "dependencies": { "@commitlint/config-angular": "^8.3.4", "globby": "^11.0.0", diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index f009181724..bb45ed41a3 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -10,7 +10,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 6338a403d9..0ad403e3eb 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index a775c28083..0ddee8a14f 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index 56488ee01a..d8d8201f69 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index 5662e358dd..fcaa632965 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 02b44482f2..4b7b230e3a 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index b96658fc62..67b7fb7674 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index df9545284b..7bbb92e8fe 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index c28639ba83..8fc6cd9472 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 7c3bb148bf..7ff2ed2775 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -27,6 +27,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "devDependencies": { "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index f9ea4cdf3d..b267f5841d 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -41,6 +41,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 27ee2730c7..7a5b38f748 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -17,7 +17,7 @@ ] }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index c2260d53a6..b1328b8642 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index e2dd806fcb..a95fc8bf49 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index 6cb71c172a..1863f19e10 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index beaec1f4f9..194716fab2 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index e8d6e0bbf1..830de1b615 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -21,7 +21,7 @@ ] }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index 12b349b704..412cc10620 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -11,7 +11,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index cce7f975a0..5e22fe433c 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -7,7 +7,7 @@ "index.js" ], "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@packages/test/package.json b/@packages/test/package.json index 5563b4ba9e..1dfacc6b26 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -8,7 +8,7 @@ "lib/" ], "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@packages/utils/package.json b/@packages/utils/package.json index b6e753ce46..c04d775bfb 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -15,7 +15,7 @@ "pkg": "node pkg-check.js --skip-main" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/package.json b/package.json index 39d61f8d5f..a7f6daf8bb 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@packages/*" ], "engines": { - "node": ">=6" + "node": ">=8" }, "repository": { "type": "git", diff --git a/tsconfig.shared.json b/tsconfig.shared.json index d86bf1bb65..9567130005 100644 --- a/tsconfig.shared.json +++ b/tsconfig.shared.json @@ -1,8 +1,7 @@ { "compilerOptions": { - "lib": [ - "es2015" - ], + "target": "ES2017", + "lib": ["es2017"], "declaration": true, "declarationMap": true, "sourceMap": true, From f6b00210bd2524fa8a78a6e69ee32f5b35066904 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Thu, 6 Feb 2020 10:44:04 +1100 Subject: [PATCH 0067/2192] ci: trial testing on windows (#958) * ci: trial testing on windows * ci: run subset on secondary environments --- .circleci/config.yml | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 542f3131ee..0247cd29de 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,8 @@ version: 2.1 +orbs: + win: circleci/windows@2.2.0 + commands: update-yarn: steps: @@ -42,7 +45,7 @@ commands: key: v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "yarn.lock" }} paths: - node_modules - run-node: + run-all: steps: - checkout - restore_cache: @@ -55,22 +58,37 @@ commands: - lint - deps - test + run-tests: + steps: + - checkout + - restore_cache: + keys: + - v1-dependencies-{{ checksum "yarn.lock" }} + - update-yarn + - install + - save-cache + - build + - test jobs: v8: docker: - image: node:8 steps: - - run-node + - run-tests v10: docker: - image: node:10 steps: - - run-node + - run-tests v12: docker: - image: node:12 steps: - - run-node + - run-all + windows-v12: + executor: win/default + steps: + - run-tests workflows: node: @@ -78,3 +96,4 @@ workflows: - v8 - v10 - v12 + - windows-v12 From 41916da454b91410228dff4487699853987c60eb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 6 Feb 2020 12:58:29 +1100 Subject: [PATCH 0068/2192] chore: update win orb to v2.4.0 (#959) Co-authored-by: WhiteSource Renovate --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0247cd29de..41e9578b5e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2.1 orbs: - win: circleci/windows@2.2.0 + win: circleci/windows@2.4.0 commands: update-yarn: From 5281822244d1d4200277856209eb5cf70ce892f1 Mon Sep 17 00:00:00 2001 From: Armano Date: Thu, 6 Feb 2020 04:29:01 +0100 Subject: [PATCH 0069/2192] test: remove temp files after test run (#960) * test(test): remove temp files after test run * test(test-environment): create test environment package * refactor(test-environment): rename tmp to test --- @packages/test-environment/package.json | 32 +++++++++++++++++++ .../test-environment/src/test-environment.ts | 15 +++++++++ @packages/test-environment/tsconfig.json | 15 +++++++++ @packages/test/src/fix.ts | 5 ++- jest.config.js | 2 +- tsconfig.json | 1 + yarn.lock | 12 +------ 7 files changed, 69 insertions(+), 13 deletions(-) create mode 100644 @packages/test-environment/package.json create mode 100644 @packages/test-environment/src/test-environment.ts create mode 100644 @packages/test-environment/tsconfig.json diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json new file mode 100644 index 0000000000..e1b7c74c2e --- /dev/null +++ b/@packages/test-environment/package.json @@ -0,0 +1,32 @@ +{ + "name": "@commitlint/test-environment", + "version": "8.3.5", + "description": "test environment for @commitlint", + "main": "lib/test-environment.js", + "types": "lib/test-environment.d.ts", + "files": [ + "lib/" + ], + "engines": { + "node": ">=8" + }, + "repository": { + "type": "git", + "url": "https://github.com/conventional-changelog/commitlint.git" + }, + "bugs": { + "url": "https://github.com/conventional-changelog/commitlint/issues" + }, + "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "keywords": [ + "conventional-changelog", + "commitlint", + "test", + "cli" + ], + "license": "MIT", + "dependencies": { + "@types/tmp": "^0.1.0", + "tmp": "0.1.0" + } +} diff --git a/@packages/test-environment/src/test-environment.ts b/@packages/test-environment/src/test-environment.ts new file mode 100644 index 0000000000..b314a06e5d --- /dev/null +++ b/@packages/test-environment/src/test-environment.ts @@ -0,0 +1,15 @@ +// https://github.com/raszi/node-tmp/issues/229 +import NodeEnvironment from 'jest-environment-node'; +import tmp from 'tmp'; + +class TestEnvironment extends NodeEnvironment { + async setup() { + await super.setup(); + + tmp.setGracefulCleanup(); + + this.global.tmp = tmp; + } +} + +export default TestEnvironment; diff --git a/@packages/test-environment/tsconfig.json b/@packages/test-environment/tsconfig.json new file mode 100644 index 0000000000..a38b053b3c --- /dev/null +++ b/@packages/test-environment/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": [ + "./src/**/*.ts" + ], + "exclude": [ + "./src/**/*.test.ts", + "./lib/**/*" + ] +} diff --git a/@packages/test/src/fix.ts b/@packages/test/src/fix.ts index 85a45fc9da..446e81c630 100644 --- a/@packages/test/src/fix.ts +++ b/@packages/test/src/fix.ts @@ -1,8 +1,11 @@ -import tmp from 'tmp'; import fs from 'fs-extra'; import path from 'path'; import pkgDir from 'pkg-dir'; +declare global { + var tmp: typeof import('tmp'); +} + export async function bootstrap(fixture?: string, directory?: string) { const tmpDir = tmp.dirSync({ keep: false, diff --git a/jest.config.js b/jest.config.js index 67bfbbc991..c21326e247 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,6 @@ module.exports = { preset: 'ts-jest/presets/js-with-babel', - testEnvironment: 'node', + testEnvironment: '@commitlint/test-environment', testRegex: undefined, testMatch: [ '**/*.test.ts?(x)', diff --git a/tsconfig.json b/tsconfig.json index 314a1e218e..1e84cc1ba1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ "include": [], "extends": "./tsconfig.shared.json", "references": [ + { "path": "@packages/test-environment" }, { "path": "@packages/test" }, { "path": "@commitlint/ensure" }, { "path": "@commitlint/execute-rule" }, diff --git a/yarn.lock b/yarn.lock index a20efebb65..5d6dac6595 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2036,21 +2036,11 @@ resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== -"@types/node@*": - version "12.0.2" - resolved "https://registry.npmjs.org/@types/node/-/node-12.0.2.tgz#3452a24edf9fea138b48fad4a0a028a683da1e40" - integrity sha512-5tabW/i+9mhrfEOUcLDu2xBPsHJ+X5Orqy9FKpale3SjDA17j5AEpYq5vfy3oAeAHGcvANRCO3NV3d2D6q3NiA== - -"@types/node@12.12.26": +"@types/node@*", "@types/node@12.12.26", "@types/node@>= 8": version "12.12.26" resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9" integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA== -"@types/node@>= 8": - version "13.5.0" - resolved "https://registry.npmjs.org/@types/node/-/node-13.5.0.tgz#4e498dbf355795a611a87ae5ef811a8660d42662" - integrity sha512-Onhn+z72D2O2Pb2ql2xukJ55rglumsVo1H6Fmyi8mlU9SvKdBk/pUSUAiBY/d9bAOF7VVWajX3sths/+g6ZiAQ== - "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" From b5ba369aa2765c23bddcc035b5c07d43de27010c Mon Sep 17 00:00:00 2001 From: Armano Date: Thu, 6 Feb 2020 04:29:39 +0100 Subject: [PATCH 0070/2192] refactor: port core to typescript (#961) * refactor(core): port core to typescript * refactor(core): rename file and fix formatting --- @commitlint/core/index.js | 4 ---- @commitlint/core/package.json | 4 +++- @commitlint/core/src/core.ts | 11 +++++++++++ @commitlint/core/tsconfig.json | 10 ++++++++++ tsconfig.json | 1 + 5 files changed, 25 insertions(+), 5 deletions(-) delete mode 100644 @commitlint/core/index.js create mode 100644 @commitlint/core/src/core.ts create mode 100644 @commitlint/core/tsconfig.json diff --git a/@commitlint/core/index.js b/@commitlint/core/index.js deleted file mode 100644 index c845835ba9..0000000000 --- a/@commitlint/core/index.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports.format = require('@commitlint/format'); -module.exports.load = require('@commitlint/load'); -module.exports.lint = require('@commitlint/lint'); -module.exports.read = require('@commitlint/read'); diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index bb45ed41a3..f03b84c11f 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -2,8 +2,10 @@ "name": "@commitlint/core", "version": "8.3.5", "description": "Lint your commit messages", + "main": "lib/core.js", + "types": "lib/core.d.ts", "files": [ - "index.js" + "lib/" ], "scripts": { "deps": "dep-check", diff --git a/@commitlint/core/src/core.ts b/@commitlint/core/src/core.ts new file mode 100644 index 0000000000..2ca69e66be --- /dev/null +++ b/@commitlint/core/src/core.ts @@ -0,0 +1,11 @@ +import format from '@commitlint/format'; +import load from '@commitlint/load'; +import lint from '@commitlint/lint'; +import read from '@commitlint/read'; + +export = { + format, + load, + lint, + read +}; diff --git a/@commitlint/core/tsconfig.json b/@commitlint/core/tsconfig.json new file mode 100644 index 0000000000..433a665f64 --- /dev/null +++ b/@commitlint/core/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src/**/*.ts"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"] +} diff --git a/tsconfig.json b/tsconfig.json index 1e84cc1ba1..ca6f018b3d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,5 +18,6 @@ { "path": "@commitlint/read" }, { "path": "@commitlint/rules" }, { "path": "@commitlint/lint" }, + { "path": "@commitlint/core" }, ] } From dc77563259e979b42796c2333ae5a246bdce736c Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Thu, 6 Feb 2020 15:16:34 +1100 Subject: [PATCH 0071/2192] build: run prettier on everything (#962) * build: run prettier on everything * build: use prettier when any eligible file has changed * docs: fill list to protect against prettier garbling empty items * build: ignore changelog files * docs: avoid garbling example values * docs: avoid garbling example values * chore: add new reference Co-Authored-By: Armano * style: apply autoformatting Co-authored-by: Armano --- .devcontainer/devcontainer.json | 22 +- .editorconfig | 2 +- .github/CODE_OF_CONDUCT.md | 20 +- .github/CONTRIBUTING.md | 53 +- .github/ISSUE_TEMPLATE.md | 30 +- .github/PULL_REQUEST_TEMPLATE.md | 12 +- .prettierignore | 1 + .vscode/launch.json | 27 +- .vscode/settings.json | 4 +- @commitlint/cli/fixtures/husky/package.json | 8 +- @commitlint/cli/fixtures/signoff/package.json | 8 +- .../config-angular-type-enum/README.md | 2 +- @commitlint/config-angular/README.md | 84 ++- @commitlint/config-conventional/README.md | 78 +- .../fixtures/basic/lerna.json | 8 +- .../fixtures/basic/package.json | 10 +- .../fixtures/basic/packages/a/package.json | 4 +- .../fixtures/basic/packages/b/package.json | 4 +- .../fixtures/empty/lerna.json | 8 +- .../fixtures/empty/package.json | 10 +- .../fixtures/lerna-two/lerna.json | 8 +- .../fixtures/lerna-two/package.json | 10 +- .../fixtures/scoped/@packages/a/package.json | 4 +- .../fixtures/scoped/@packages/b/package.json | 4 +- .../fixtures/scoped/lerna.json | 8 +- .../fixtures/scoped/package.json | 10 +- @commitlint/config-lerna-scopes/readme.md | 1 + @commitlint/config-patternplate/README.md | 11 +- @commitlint/core/tsconfig.json | 16 +- @commitlint/ensure/tsconfig.json | 18 +- @commitlint/execute-rule/tsconfig.json | 21 +- @commitlint/format/README.md | 74 +- @commitlint/format/tsconfig.json | 21 +- @commitlint/is-ignored/tsconfig.json | 23 +- @commitlint/lint/README.md | 16 +- @commitlint/lint/tsconfig.json | 33 +- @commitlint/load/README.md | 5 +- .../parser-preset-angular/package.json | 10 +- .../package.json | 10 +- .../package.json | 10 +- .../recursive-extends-json/.commitlintrc.json | 8 +- .../recursive-extends-package/package.json | 10 +- .../recursive-extends-yaml/.commitlintrc.yml | 2 +- .../second-extended/package.json | 10 +- @commitlint/load/tsconfig.json | 31 +- @commitlint/message/tsconfig.json | 21 +- @commitlint/parse/README.md | 8 +- @commitlint/parse/tsconfig.json | 18 +- @commitlint/prompt/README.md | 1 + @commitlint/read/README.md | 10 +- .../recursive-extends-json/.commitlintrc.json | 8 +- .../recursive-extends-package/package.json | 10 +- .../recursive-extends-yaml/.commitlintrc.yml | 2 +- @commitlint/read/tsconfig.json | 25 +- @commitlint/resolve-extends/tsconfig.json | 21 +- @commitlint/rules/tsconfig.json | 33 +- @commitlint/to-lines/tsconfig.json | 21 +- @commitlint/top-level/tsconfig.json | 21 +- @commitlint/travis-cli/README.md | 4 +- @commitlint/types/package.json | 60 +- @commitlint/types/tsconfig.json | 20 +- @packages/test-environment/tsconfig.json | 21 +- @packages/test/tsconfig.json | 21 +- README.md | 144 ++-- docker-compose.yml | 7 +- docs/README.md | 18 +- docs/_sidebar.md | 32 +- docs/assets/commitlint.json | 681 ++++-------------- docs/concepts-commit-conventions.md | 8 +- docs/concepts-shareable-config.md | 2 +- docs/guides-ci-setup.md | 2 +- docs/guides-local-setup.md | 3 +- docs/guides-upgrade.md | 41 +- docs/guides-use-prompt.md | 1 + docs/index.html | 268 +++---- docs/reference-api.md | 168 +++-- docs/reference-configuration.md | 167 +++-- docs/reference-examples.md | 7 +- docs/reference-plugins.md | 20 +- docs/reference-rules.md | 546 ++++++++------ package.json | 9 +- tsconfig.json | 42 +- tsconfig.shared.json | 42 +- 83 files changed, 1473 insertions(+), 1829 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index d36de54ff3..df93c1ca68 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,13 +1,13 @@ { - "name": "commitlint-dev", - "dockerComposeFile": ["../docker-compose.yml"], - "service": "commitlint", - "workspaceFolder": "/root/repo", - "shutdownAction": "stopCompose", - "extensions": [ - "editorconfig.editorconfig", - "ms-vsliveshare.vsliveshare-pack", - "ms-azuretools.vscode-docker", - "esbenp.prettier-vscode" - ] + "name": "commitlint-dev", + "dockerComposeFile": ["../docker-compose.yml"], + "service": "commitlint", + "workspaceFolder": "/root/repo", + "shutdownAction": "stopCompose", + "extensions": [ + "editorconfig.editorconfig", + "ms-vsliveshare.vsliveshare-pack", + "ms-azuretools.vscode-docker", + "esbenp.prettier-vscode" + ] } diff --git a/.editorconfig b/.editorconfig index 0186fe53aa..39506da27e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,7 +4,7 @@ insert_final_newline = true trim_trailing_whitespace = true indent_style = tab -[{.*rc,*.yml,*.md,package.json,lerna.json,tsconfig.json,tsconfig.*.json,*.svg}] +[{.*rc,*.yml,*.md,*.json,*.svg}] indent_style = space [*.md] diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index f7633cdee8..0147257dd9 100644 --- a/.github/CODE_OF_CONDUCT.md +++ b/.github/CODE_OF_CONDUCT.md @@ -8,19 +8,19 @@ In the interest of fostering an open and welcoming environment, we as contributo Examples of behavior that contributes to creating a positive environment include: -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members +- Using welcoming and inclusive language +- Being respectful of differing viewpoints and experiences +- Gracefully accepting constructive criticism +- Focusing on what is best for the community +- Showing empathy towards other community members Examples of unacceptable behavior by participants include: -* The use of sexualized language or imagery and unwelcome sexual attention or advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a professional setting +- The use of sexualized language or imagery and unwelcome sexual attention or advances +- Trolling, insulting/derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or electronic address, without explicit permission +- Other conduct which could reasonably be considered inappropriate in a professional setting ## Our Responsibilities diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index a7a46aec3d..9227d107c7 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -6,52 +6,57 @@ Yeay! You want to contribute to commitlint. That's amazing! To smoothen everyone's experience involved with the project please take note of the following guidelines and rules. ## Found an Issue? + Thank you for reporting any issues you find. We do our best to test and make commitlint as solid as possible, but any reported issue is a real help. > commitlint issues Please follow these guidelines when reporting issues: -* Provide a title in the format of ` when ` -* Tag your issue with the tag `bug` -* Provide a short summary of what you are trying to do -* Provide the log of the encountered error if applicable -* Provide the exact version of commitlint. Check `npm ls @commitlint/cli` when in doubt -* Be awesome and consider contributing a [pull request](#want-to-contribute) + +- Provide a title in the format of ` when ` +- Tag your issue with the tag `bug` +- Provide a short summary of what you are trying to do +- Provide the log of the encountered error if applicable +- Provide the exact version of commitlint. Check `npm ls @commitlint/cli` when in doubt +- Be awesome and consider contributing a [pull request](#want-to-contribute) ## Want to contribute? + You consider contributing changes to commitlint – we dig that! Please consider these guidelines when filing a pull request: > commitlint pull requests -* Follow the [Coding Rules](#coding-rules) -* Follow the [Commit Rules](#commit-rules) -* Make sure you rebased the current master branch when filing the pull request -* Squash your commits when filing the pull request -* Provide a short title with a maximum of 100 characters -* Provide a more detailed description containing - * What you want to achieve - * What you changed - * What you added - * What you removed +- Follow the [Coding Rules](#coding-rules) +- Follow the [Commit Rules](#commit-rules) +- Make sure you rebased the current master branch when filing the pull request +- Squash your commits when filing the pull request +- Provide a short title with a maximum of 100 characters +- Provide a more detailed description containing + _ What you want to achieve + _ What you changed + _ What you added + _ What you removed ## Coding Rules + To keep the code base of commitlint neat and tidy the following rules apply to every change > Coding standards -* `prettier` is king -* Favor micro library over swiss army knives (rimraf, ncp vs. fs-extra) -* Be awesome +- `prettier` is king +- Favor micro library over swiss army knives (rimraf, ncp vs. fs-extra) +- Be awesome ## Commit Rules + To help everyone with understanding the commit history of commitlint the following commit rules are enforced. To make your life easier commitlint is commitizen-friendly and provides the npm run-script `commit`. > Commit standards -* [conventional-changelog](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/prompt) -* husky commit message hook available -* present tense -* maximum of 100 characters -* message format of `$type($scope): $message` +- [conventional-changelog](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/prompt) +- husky commit message hook available +- present tense +- maximum of 100 characters +- message format of `$type($scope): $message` diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index eabb0c9a9c..05a7b16e0b 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,30 +1,34 @@ ## Expected Behavior + ## Current Behavior + ## Affected packages -* [ ] cli -* [ ] core -* [ ] prompt -* [ ] config-angular + +- [ ] cli +- [ ] core +- [ ] prompt +- [ ] config-angular ## Possible Solution + ## Steps to Reproduce (for bugs) + -1. -2. -3. -4. + +1. First step +2. Second step
commitlint.config.js @@ -35,14 +39,16 @@
## Context + ## Your Environment + -| Executable | Version | -| ---: | :--- | +| Executable | Version | +| ---------------------: | :------ | | `commitlint --version` | VERSION | -| `git --version` | VERSION | -| `node --version` | VERSION | +| `git --version` | VERSION | +| `node --version` | VERSION | diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index f3dfbc8d72..cca22af6cb 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,20 +1,21 @@ ## Description + ## Motivation and Context + ## Usage examples + ```js // commitlint.config.js -module.exports = { - -}; +module.exports = {}; ``` ```sh @@ -22,17 +23,22 @@ echo "your commit message here" | commitlint # fails/passes ``` ## How Has This Been Tested? + ## Types of changes + + - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Checklist: + + - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [ ] I have added tests to cover my changes. diff --git a/.prettierignore b/.prettierignore index c3af857904..6093e975dd 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,2 @@ lib/ +CHANGELOG.md diff --git a/.vscode/launch.json b/.vscode/launch.json index a1d47c049f..3096b4ea7c 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,21 +4,16 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ - { - "type": "node", - "request": "launch", - "name": "Jest Test Current file", - "program": "${workspaceFolder}/node_modules/jest/bin/jest.js", - "cwd": "${workspaceFolder}", - "args": [ - "--runInBand", - "--no-cache", - "--no-coverage", - "${fileBasename}" - ], - "sourceMaps": true, - "console": "integratedTerminal", - "internalConsoleOptions": "neverOpen" - } + { + "type": "node", + "request": "launch", + "name": "Jest Test Current file", + "program": "${workspaceFolder}/node_modules/jest/bin/jest.js", + "cwd": "${workspaceFolder}", + "args": ["--runInBand", "--no-cache", "--no-coverage", "${fileBasename}"], + "sourceMaps": true, + "console": "integratedTerminal", + "internalConsoleOptions": "neverOpen" + } ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 55712c19f1..25fa6215fd 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "typescript.tsdk": "node_modules/typescript/lib" -} \ No newline at end of file + "typescript.tsdk": "node_modules/typescript/lib" +} diff --git a/@commitlint/cli/fixtures/husky/package.json b/@commitlint/cli/fixtures/husky/package.json index b58fe3a7b1..3f0ef85bae 100644 --- a/@commitlint/cli/fixtures/husky/package.json +++ b/@commitlint/cli/fixtures/husky/package.json @@ -1,6 +1,6 @@ { - "scripts": {}, - "devDependencies": { - "husky": "4.2.1" - } + "scripts": {}, + "devDependencies": { + "husky": "4.2.1" + } } diff --git a/@commitlint/cli/fixtures/signoff/package.json b/@commitlint/cli/fixtures/signoff/package.json index b58fe3a7b1..3f0ef85bae 100644 --- a/@commitlint/cli/fixtures/signoff/package.json +++ b/@commitlint/cli/fixtures/signoff/package.json @@ -1,6 +1,6 @@ { - "scripts": {}, - "devDependencies": { - "husky": "4.2.1" - } + "scripts": {}, + "devDependencies": { + "husky": "4.2.1" + } } diff --git a/@commitlint/config-angular-type-enum/README.md b/@commitlint/config-angular-type-enum/README.md index 1ee08c66de..ad912be470 100644 --- a/@commitlint/config-angular-type-enum/README.md +++ b/@commitlint/config-angular-type-enum/README.md @@ -23,7 +23,7 @@ echo "build: bar" | commitlint # passes ```js // commitlint.config.js -const types = require("@commitlint/config-angular-type-enum"); +const types = require('@commitlint/config-angular-type-enum'); // Use as rule creating errors for non-allowed types module.exports = { diff --git a/@commitlint/config-angular/README.md b/@commitlint/config-angular/README.md index 62ae7f98ae..76ac78b3a7 100644 --- a/@commitlint/config-angular/README.md +++ b/@commitlint/config-angular/README.md @@ -5,10 +5,6 @@ Shareable `commitlint` config enforcing the [Angular commit convention](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines). Use with [@commitlint/cli](../cli) and [@commitlint/prompt-cli](../prompt-cli). -|:warning:| | -|:-------:|--| -| **IMPORTANT** | As of version 5.0.0 of this package the `chore` type is no longer allowed. This breaks compat with most of the tooling present in the conventional-changelog community. See [config-conventional](../config-conventional) for a replacement that retains compatibility. | - ## Getting started ```sh @@ -17,18 +13,19 @@ echo "module.exports = {extends: ['@commitlint/config-angular']};" > commitlint. ``` ## Rules + ### Problems The following rules are considered problems for `@commitlint/config-angular` and will yield a non-zero exit code when not met. Consult [docs/rules](https://conventional-changelog.github.io/commitlint/#/reference-rules) for a list of available rules. - #### type-enum -* **condition**: `type` is found in value -* **rule**: `always` -* **value** - ```js +- **condition**: `type` is found in value +- **rule**: `always` +- **value** + + ``` [ 'build', 'ci', @@ -40,7 +37,7 @@ Consult [docs/rules](https://conventional-changelog.github.io/commitlint/#/refer 'revert', 'style', 'test' - ] + ] ``` ```sh @@ -49,11 +46,12 @@ echo "fix: some message" # passes ``` #### type-case -* **description**: `type` is in case `value` -* **rule**: `always` -* **value** - ```js - 'lowerCase' + +- **description**: `type` is in case `value` +- **rule**: `always` +- **value** + ``` + 'lowerCase' ``` ```sh @@ -62,8 +60,9 @@ echo "fix: some message" # passes ``` #### type-empty -* **condition**: `type` is empty -* **rule**: `never` + +- **condition**: `type` is empty +- **rule**: `never` ```sh echo ": some message" # fails @@ -71,10 +70,12 @@ echo "fix: some message" # passes ``` #### scope-case -* **condition**: `scope` is in case `value` -* **rule**: `always` -```js - 'lowerCase' + +- **condition**: `scope` is in case `value` +- **rule**: `always` + +``` +'lowerCase' ``` ```sh @@ -83,8 +84,9 @@ echo "fix(scope): some message" # passes ``` #### subject-case -* **condition**: `subject` is in one of the cases `['sentence-case', 'start-case', 'pascal-case', 'upper-case']` -* **rule**: `never` + +- **condition**: `subject` is in one of the cases `['sentence-case', 'start-case', 'pascal-case', 'upper-case']` +- **rule**: `never` ```sh echo "fix(SCOPE): Some message" # fails @@ -96,8 +98,9 @@ echo "fix(scope): some Message" # passes ``` #### subject-empty -* **condition**: `subject` is empty -* **rule**: `never` + +- **condition**: `subject` is empty +- **rule**: `never` ```sh echo "fix:" # fails @@ -105,11 +108,13 @@ echo "fix: some message" # passes ``` #### subject-full-stop -* **condition**: `subject` ends with `value` -* **rule**: `never` -* **value** -```js - '.' + +- **condition**: `subject` ends with `value` +- **rule**: `never` +- **value** + +``` +'.' ``` ```sh @@ -117,13 +122,14 @@ echo "fix: some message." # fails echo "fix: some message" # passes ``` - #### header-max-length -* **condition**: `header` has `value` or less characters -* **rule**: `always` -* **value** -```js - 72 + +- **condition**: `header` has `value` or less characters +- **rule**: `always` +- **value** + +``` +72 ``` ```sh @@ -132,8 +138,10 @@ echo "fix: some message" # passes ``` ### Warnings + The following rules are considered warnings for `@commitlint/config-angular` and will print warning messages when not met. #### body-leading-blank -* **condition**: Body begins with blank line -* **rule**: `always` + +- **condition**: Body begins with blank line +- **rule**: `always` diff --git a/@commitlint/config-conventional/README.md b/@commitlint/config-conventional/README.md index 1e31874593..60ba13cd35 100644 --- a/@commitlint/config-conventional/README.md +++ b/@commitlint/config-conventional/README.md @@ -5,10 +5,6 @@ Shareable `commitlint` config enforcing [conventional commits](https://conventionalcommits.org/). Use with [@commitlint/cli](https://npm.im/@commitlint/cli) and [@commitlint/prompt-cli](https://npm.im/@commitlint/prompt-cli). -| :warning: | | -|:-------:|--| -| **IMPORTANT** | This is a direct replacement for [@commitlint/config-angular](https://npm.im/@commitlint/config-angular) prior to version 4. `config-angular` diverged from the conventional commit convention as of version 5. See [#146](https://github.com/conventional-changelog/commitlint/issues/146) for details. | - ## Getting started ```sh @@ -17,19 +13,20 @@ echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commit ``` ## Rules + ### Problems The following rules are considered problems for `@commitlint/config-conventional` and will yield a non-zero exit code when not met. Consult [docs/rules](https://conventional-changelog.github.io/commitlint/#/reference-rules) for a list of available rules. - #### type-enum -* **condition**: `type` is found in value -* **rule**: `always` -* **value** - ```js +- **condition**: `type` is found in value +- **rule**: `always` +- **value** + + ``` [ 'build', 'ci', @@ -42,7 +39,7 @@ Consult [docs/rules](https://conventional-changelog.github.io/commitlint/#/refer 'revert', 'style', 'test' - ] + ]; ``` ```sh @@ -51,11 +48,12 @@ echo "fix: some message" # passes ``` #### type-case -* **description**: `type` is in case `value` -* **rule**: `always` -* **value** - ```js - 'lowerCase' + +- **description**: `type` is in case `value` +- **rule**: `always` +- **value** + ``` + 'lowerCase' ``` ```sh @@ -64,8 +62,9 @@ echo "fix: some message" # passes ``` #### type-empty -* **condition**: `type` is empty -* **rule**: `never` + +- **condition**: `type` is empty +- **rule**: `never` ```sh echo ": some message" # fails @@ -73,10 +72,12 @@ echo "fix: some message" # passes ``` #### scope-case -* **condition**: `scope` is in case `value` -* **rule**: `always` -```js - 'lowerCase' + +- **condition**: `scope` is in case `value` +- **rule**: `always` + +``` +'lowerCase' ``` ```sh @@ -85,8 +86,9 @@ echo "fix(scope): some message" # passes ``` #### subject-case -* **condition**: `subject` is in one of the cases `['sentence-case', 'start-case', 'pascal-case', 'upper-case']` -* **rule**: `never` + +- **condition**: `subject` is in one of the cases `['sentence-case', 'start-case', 'pascal-case', 'upper-case']` +- **rule**: `never` ```sh echo "fix(SCOPE): Some message" # fails @@ -98,8 +100,9 @@ echo "fix(scope): some Message" # passes ``` #### subject-empty -* **condition**: `subject` is empty -* **rule**: `never` + +- **condition**: `subject` is empty +- **rule**: `never` ```sh echo "fix:" # fails @@ -107,11 +110,13 @@ echo "fix: some message" # passes ``` #### subject-full-stop -* **condition**: `subject` ends with `value` -* **rule**: `never` -* **value** -```js - '.' + +- **condition**: `subject` ends with `value` +- **rule**: `never` +- **value** + +``` +'.' ``` ```sh @@ -119,13 +124,14 @@ echo "fix: some message." # fails echo "fix: some message" # passes ``` - #### header-max-length -* **condition**: `header` has `value` or less characters -* **rule**: `always` -* **value** -```js - 100 + +- **condition**: `header` has `value` or less characters +- **rule**: `always` +- **value** + +``` +100 ``` ```sh diff --git a/@commitlint/config-lerna-scopes/fixtures/basic/lerna.json b/@commitlint/config-lerna-scopes/fixtures/basic/lerna.json index 7d013836f6..4beded578e 100644 --- a/@commitlint/config-lerna-scopes/fixtures/basic/lerna.json +++ b/@commitlint/config-lerna-scopes/fixtures/basic/lerna.json @@ -1,7 +1,5 @@ { - "lerna": "3.2.1", - "version": "1.0.0", - "packages": [ - "packages/*" - ] + "lerna": "3.2.1", + "version": "1.0.0", + "packages": ["packages/*"] } diff --git a/@commitlint/config-lerna-scopes/fixtures/basic/package.json b/@commitlint/config-lerna-scopes/fixtures/basic/package.json index e2ba59bfa5..005f3ae70a 100644 --- a/@commitlint/config-lerna-scopes/fixtures/basic/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/basic/package.json @@ -1,7 +1,7 @@ { - "name": "basic", - "version": "1.0.0", - "devDependencies": { - "lerna": "3.20.2" - } + "name": "basic", + "version": "1.0.0", + "devDependencies": { + "lerna": "3.20.2" + } } diff --git a/@commitlint/config-lerna-scopes/fixtures/basic/packages/a/package.json b/@commitlint/config-lerna-scopes/fixtures/basic/packages/a/package.json index 5693ad0511..9113c2528e 100644 --- a/@commitlint/config-lerna-scopes/fixtures/basic/packages/a/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/basic/packages/a/package.json @@ -1,4 +1,4 @@ { - "name": "a", - "version": "1.0.0" + "name": "a", + "version": "1.0.0" } diff --git a/@commitlint/config-lerna-scopes/fixtures/basic/packages/b/package.json b/@commitlint/config-lerna-scopes/fixtures/basic/packages/b/package.json index e63566ecae..c2d84cc127 100644 --- a/@commitlint/config-lerna-scopes/fixtures/basic/packages/b/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/basic/packages/b/package.json @@ -1,4 +1,4 @@ { - "name": "b", - "version": "1.0.0" + "name": "b", + "version": "1.0.0" } diff --git a/@commitlint/config-lerna-scopes/fixtures/empty/lerna.json b/@commitlint/config-lerna-scopes/fixtures/empty/lerna.json index 7d013836f6..4beded578e 100644 --- a/@commitlint/config-lerna-scopes/fixtures/empty/lerna.json +++ b/@commitlint/config-lerna-scopes/fixtures/empty/lerna.json @@ -1,7 +1,5 @@ { - "lerna": "3.2.1", - "version": "1.0.0", - "packages": [ - "packages/*" - ] + "lerna": "3.2.1", + "version": "1.0.0", + "packages": ["packages/*"] } diff --git a/@commitlint/config-lerna-scopes/fixtures/empty/package.json b/@commitlint/config-lerna-scopes/fixtures/empty/package.json index 43554010a3..9dc8be2d5a 100644 --- a/@commitlint/config-lerna-scopes/fixtures/empty/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/empty/package.json @@ -1,7 +1,7 @@ { - "name": "empty", - "version": "1.0.0", - "devDependencies": { - "lerna": "3.20.2" - } + "name": "empty", + "version": "1.0.0", + "devDependencies": { + "lerna": "3.20.2" + } } diff --git a/@commitlint/config-lerna-scopes/fixtures/lerna-two/lerna.json b/@commitlint/config-lerna-scopes/fixtures/lerna-two/lerna.json index 91353a207e..3e3994157f 100644 --- a/@commitlint/config-lerna-scopes/fixtures/lerna-two/lerna.json +++ b/@commitlint/config-lerna-scopes/fixtures/lerna-two/lerna.json @@ -1,7 +1,5 @@ { - "lerna": "2.4.0", - "version": "1.0.0", - "packages": [ - "packages/*" - ] + "lerna": "2.4.0", + "version": "1.0.0", + "packages": ["packages/*"] } diff --git a/@commitlint/config-lerna-scopes/fixtures/lerna-two/package.json b/@commitlint/config-lerna-scopes/fixtures/lerna-two/package.json index 5b52f8f9fe..00b9dc02e4 100644 --- a/@commitlint/config-lerna-scopes/fixtures/lerna-two/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/lerna-two/package.json @@ -1,7 +1,7 @@ { - "name": "version-mismatch", - "version": "1.0.0", - "devDependencies": { - "lerna": "2.11.0" - } + "name": "version-mismatch", + "version": "1.0.0", + "devDependencies": { + "lerna": "2.11.0" + } } diff --git a/@commitlint/config-lerna-scopes/fixtures/scoped/@packages/a/package.json b/@commitlint/config-lerna-scopes/fixtures/scoped/@packages/a/package.json index bd2d94edfe..7ba283037e 100644 --- a/@commitlint/config-lerna-scopes/fixtures/scoped/@packages/a/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/scoped/@packages/a/package.json @@ -1,4 +1,4 @@ { - "name": "@packages/a", - "version": "1.0.0" + "name": "@packages/a", + "version": "1.0.0" } diff --git a/@commitlint/config-lerna-scopes/fixtures/scoped/@packages/b/package.json b/@commitlint/config-lerna-scopes/fixtures/scoped/@packages/b/package.json index f0c995bc44..3fd2cf7616 100644 --- a/@commitlint/config-lerna-scopes/fixtures/scoped/@packages/b/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/scoped/@packages/b/package.json @@ -1,4 +1,4 @@ { - "name": "@packages/b", - "version": "1.0.0" + "name": "@packages/b", + "version": "1.0.0" } diff --git a/@commitlint/config-lerna-scopes/fixtures/scoped/lerna.json b/@commitlint/config-lerna-scopes/fixtures/scoped/lerna.json index 4fec852f4c..405f4392c4 100644 --- a/@commitlint/config-lerna-scopes/fixtures/scoped/lerna.json +++ b/@commitlint/config-lerna-scopes/fixtures/scoped/lerna.json @@ -1,7 +1,5 @@ { - "lerna": "3.2.1", - "version": "1.0.0", - "packages": [ - "@packages/*" - ] + "lerna": "3.2.1", + "version": "1.0.0", + "packages": ["@packages/*"] } diff --git a/@commitlint/config-lerna-scopes/fixtures/scoped/package.json b/@commitlint/config-lerna-scopes/fixtures/scoped/package.json index 65cb096c6b..8e7b40a75f 100644 --- a/@commitlint/config-lerna-scopes/fixtures/scoped/package.json +++ b/@commitlint/config-lerna-scopes/fixtures/scoped/package.json @@ -1,7 +1,7 @@ { - "name": "scoped", - "version": "1.0.0", - "devDependencies": { - "lerna": "3.20.2" - } + "name": "scoped", + "version": "1.0.0", + "devDependencies": { + "lerna": "3.20.2" + } } diff --git a/@commitlint/config-lerna-scopes/readme.md b/@commitlint/config-lerna-scopes/readme.md index c06db1343f..7c4784cb74 100644 --- a/@commitlint/config-lerna-scopes/readme.md +++ b/@commitlint/config-lerna-scopes/readme.md @@ -1,6 +1,7 @@ > Lint your commits, angular-style # @commitlint/config-lerna-scopes + Shareable `commitlint` config enforcing lerna package names as scopes. Use with [@commitlint/cli](../cli) and [@commitlint/prompt-cli](../prompt-cli). diff --git a/@commitlint/config-patternplate/README.md b/@commitlint/config-patternplate/README.md index cccc35be42..0ceb446100 100644 --- a/@commitlint/config-patternplate/README.md +++ b/@commitlint/config-patternplate/README.md @@ -1,25 +1,30 @@ > Lint your commits, patternplate-style # @commitlint/config-patternplate + Shareable `commitlint` config enforcing the patternplate commit convention. Use with [@commitlint/cli](../cli) and [@commitlint/prompt-cli](../prompt-cli). ## Getting started + ```sh npm install --save-dev @commitlint/config-patternplate @commitlint/cli echo "module.exports = {extends: ['@commitlint/config-patternplate']};" > commitlint.config.js ``` ## Rules + `@commitlint/config-patternplate` extends the [shareable angular config](../config-angular#rules). Additionally these rules apply: ### Problems + The following rules are considered problems for `@commitlint/config-patterplate` and will yield a non-zero exit code when not met. #### scope-enum -* **description**: `scope` is found in `value` -* **rule**: `always` -* **value**: determined based on pattern tree. `system` and all pattern ids present in `patterns` are allowed + +- **description**: `scope` is found in `value` +- **rule**: `always` +- **value**: determined based on pattern tree. `system` and all pattern ids present in `patterns` are allowed Consult [docs/rules](https://conventional-changelog.github.io/commitlint/#/reference-rules) for a list of available rules. diff --git a/@commitlint/core/tsconfig.json b/@commitlint/core/tsconfig.json index 433a665f64..8d5ce01f6d 100644 --- a/@commitlint/core/tsconfig.json +++ b/@commitlint/core/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": ["./src/**/*.ts"], - "exclude": ["./src/**/*.test.ts", "./lib/**/*"] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src/**/*.ts"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"] } diff --git a/@commitlint/ensure/tsconfig.json b/@commitlint/ensure/tsconfig.json index 84537266e0..f3092129e3 100644 --- a/@commitlint/ensure/tsconfig.json +++ b/@commitlint/ensure/tsconfig.json @@ -1,11 +1,11 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": ["./src/**/*.ts"], - "exclude": ["./src/**/*.test.ts", "./lib/**/*"], - "references": [{ "path": "../types" }] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src/**/*.ts"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"], + "references": [{"path": "../types"}] } diff --git a/@commitlint/execute-rule/tsconfig.json b/@commitlint/execute-rule/tsconfig.json index f4a57643f0..49479bf34f 100644 --- a/@commitlint/execute-rule/tsconfig.json +++ b/@commitlint/execute-rule/tsconfig.json @@ -1,15 +1,10 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": [ - "./src" - ], - "exclude": [ - "./src/**/*.test.ts", - "./lib/**/*" - ] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"] } diff --git a/@commitlint/format/README.md b/@commitlint/format/README.md index bc1a398d9b..7bd79eab97 100644 --- a/@commitlint/format/README.md +++ b/@commitlint/format/README.md @@ -13,41 +13,44 @@ npm install --save @commitlint/format ```js const format = require('@commitlint/format'); -const output = format({ - valid: false, - errorCount: 1, - warningCount: 1, - results: [ - { - valid: false, - input: 'some: commit message', - errors: [ - { - valid: false, - level: 2, - name: 'some-error', - message: 'This will show up red as it has level 2' - } - ], - warnings: [ - { - valid: true, - level: 0, - name: 'some-hint', - message: 'This will not show up as it has level 0' - }, - { - valid: false, - level: 1, - name: 'some-warning', - message: 'This will show up yellow as it has level 1' - } - ] - } - ] -}, { - color: false -}); +const output = format( + { + valid: false, + errorCount: 1, + warningCount: 1, + results: [ + { + valid: false, + input: 'some: commit message', + errors: [ + { + valid: false, + level: 2, + name: 'some-error', + message: 'This will show up red as it has level 2' + } + ], + warnings: [ + { + valid: true, + level: 0, + name: 'some-hint', + message: 'This will not show up as it has level 0' + }, + { + valid: false, + level: 1, + name: 'some-warning', + message: 'This will show up yellow as it has level 1' + } + ] + } + ] + }, + { + color: false + } +); process.stdout.write(output); @@ -60,4 +63,3 @@ process.stdout.write(output); ``` Consult [docs/api](https://conventional-changelog.github.io/commitlint/#/reference-api) for comprehensive documentation. - diff --git a/@commitlint/format/tsconfig.json b/@commitlint/format/tsconfig.json index f4a57643f0..49479bf34f 100644 --- a/@commitlint/format/tsconfig.json +++ b/@commitlint/format/tsconfig.json @@ -1,15 +1,10 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": [ - "./src" - ], - "exclude": [ - "./src/**/*.test.ts", - "./lib/**/*" - ] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"] } diff --git a/@commitlint/is-ignored/tsconfig.json b/@commitlint/is-ignored/tsconfig.json index a561833c69..f3092129e3 100644 --- a/@commitlint/is-ignored/tsconfig.json +++ b/@commitlint/is-ignored/tsconfig.json @@ -1,16 +1,11 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": [ - "./src/**/*.ts" - ], - "exclude": [ - "./src/**/*.test.ts", - "./lib/**/*" - ], - "references": [{"path": "../types"}] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src/**/*.ts"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"], + "references": [{"path": "../types"}] } diff --git a/@commitlint/lint/README.md b/@commitlint/lint/README.md index 66095d2d9a..9f766bd597 100644 --- a/@commitlint/lint/README.md +++ b/@commitlint/lint/README.md @@ -13,13 +13,15 @@ npm install --save @commitlint/lint ```js const lint = require('@commitlint/lint'); -lint('foo: bar', {'type-enum': [1, 'always', ['foo']]}) - .then(report => console.log(report)); - // => { valid: true, errors: [], warnings: [] } - -lint('foo: bar', {'type-enum': [1, 'always', ['bar']]}) - .then(report => console.log(report)); - /* => +lint('foo: bar', {'type-enum': [1, 'always', ['foo']]}).then(report => + console.log(report) +); +// => { valid: true, errors: [], warnings: [] } + +lint('foo: bar', {'type-enum': [1, 'always', ['bar']]}).then(report => + console.log(report) +); +/* => { valid: true, errors: [], warnings: diff --git a/@commitlint/lint/tsconfig.json b/@commitlint/lint/tsconfig.json index 7b8a9e3c44..d30e6bdbf0 100644 --- a/@commitlint/lint/tsconfig.json +++ b/@commitlint/lint/tsconfig.json @@ -1,21 +1,16 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": [ - "./src" - ], - "exclude": [ - "./src/**/*.test.ts", - "./lib/**/*" - ], - "references": [ - {"path": "../is-ignored"}, - {"path": "../parse"}, - {"path": "../rules"}, - {"path": "../types"} - ] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"], + "references": [ + {"path": "../is-ignored"}, + {"path": "../parse"}, + {"path": "../rules"}, + {"path": "../types"} + ] } diff --git a/@commitlint/load/README.md b/@commitlint/load/README.md index b163d937a7..c74a7ffea6 100644 --- a/@commitlint/load/README.md +++ b/@commitlint/load/README.md @@ -8,13 +8,12 @@ npm install --save-dev @commitlint/load ``` -## Example +## Example ```js const load = require('@commitlint/load'); -load({extends: ['./package']}) -.then(config => console.log(config)); +load({extends: ['./package']}).then(config => console.log(config)); // => { extends: ['./package', './package-b'], rules: {} } ``` diff --git a/@commitlint/load/fixtures/parser-preset-angular/package.json b/@commitlint/load/fixtures/parser-preset-angular/package.json index 11129a7928..43419864cd 100644 --- a/@commitlint/load/fixtures/parser-preset-angular/package.json +++ b/@commitlint/load/fixtures/parser-preset-angular/package.json @@ -1,7 +1,7 @@ { - "name": "parser-preset-angular", - "version": "1.0.0", - "devDependencies": { - "conventional-changelog-angular": "5.0.6" - } + "name": "parser-preset-angular", + "version": "1.0.0", + "devDependencies": { + "conventional-changelog-angular": "5.0.6" + } } diff --git a/@commitlint/load/fixtures/parser-preset-conventional-without-factory/package.json b/@commitlint/load/fixtures/parser-preset-conventional-without-factory/package.json index 2c9cd17f70..bf73e5d3b9 100644 --- a/@commitlint/load/fixtures/parser-preset-conventional-without-factory/package.json +++ b/@commitlint/load/fixtures/parser-preset-conventional-without-factory/package.json @@ -1,7 +1,7 @@ { - "name": "parser-preset-conventional-without-factory", - "version": "1.0.0", - "devDependencies": { - "conventional-changelog-conventionalcommits": "4.2.3" - } + "name": "parser-preset-conventional-without-factory", + "version": "1.0.0", + "devDependencies": { + "conventional-changelog-conventionalcommits": "4.2.3" + } } diff --git a/@commitlint/load/fixtures/parser-preset-conventionalcommits/package.json b/@commitlint/load/fixtures/parser-preset-conventionalcommits/package.json index 73bab0845a..ddf3e0fc81 100644 --- a/@commitlint/load/fixtures/parser-preset-conventionalcommits/package.json +++ b/@commitlint/load/fixtures/parser-preset-conventionalcommits/package.json @@ -1,7 +1,7 @@ { - "name": "parser-preset-conventionalcommits", - "version": "1.0.0", - "devDependencies": { - "conventional-changelog-conventionalcommits": "4.2.3" - } + "name": "parser-preset-conventionalcommits", + "version": "1.0.0", + "devDependencies": { + "conventional-changelog-conventionalcommits": "4.2.3" + } } diff --git a/@commitlint/load/fixtures/recursive-extends-json/.commitlintrc.json b/@commitlint/load/fixtures/recursive-extends-json/.commitlintrc.json index b0feb26419..9a5e8e1d9f 100644 --- a/@commitlint/load/fixtures/recursive-extends-json/.commitlintrc.json +++ b/@commitlint/load/fixtures/recursive-extends-json/.commitlintrc.json @@ -1,6 +1,6 @@ { - "extends": ["./first-extended"], - "rules": { - "zero": 0 - } + "extends": ["./first-extended"], + "rules": { + "zero": 0 + } } diff --git a/@commitlint/load/fixtures/recursive-extends-package/package.json b/@commitlint/load/fixtures/recursive-extends-package/package.json index 031a432619..1818049244 100644 --- a/@commitlint/load/fixtures/recursive-extends-package/package.json +++ b/@commitlint/load/fixtures/recursive-extends-package/package.json @@ -1,8 +1,10 @@ { "commitlint": { - "extends": ["./first-extended"], - "rules": { - "zero": 0 - } + "extends": [ + "./first-extended" + ], + "rules": { + "zero": 0 + } } } diff --git a/@commitlint/load/fixtures/recursive-extends-yaml/.commitlintrc.yml b/@commitlint/load/fixtures/recursive-extends-yaml/.commitlintrc.yml index b76a5986b3..a5ef7fdffd 100644 --- a/@commitlint/load/fixtures/recursive-extends-yaml/.commitlintrc.yml +++ b/@commitlint/load/fixtures/recursive-extends-yaml/.commitlintrc.yml @@ -1,4 +1,4 @@ extends: -- "./first-extended" + - './first-extended' rules: zero: 0 diff --git a/@commitlint/load/fixtures/recursive-parser-preset-conventional-atom/first-extended/second-extended/package.json b/@commitlint/load/fixtures/recursive-parser-preset-conventional-atom/first-extended/second-extended/package.json index ae831e512d..4d37766e0b 100644 --- a/@commitlint/load/fixtures/recursive-parser-preset-conventional-atom/first-extended/second-extended/package.json +++ b/@commitlint/load/fixtures/recursive-parser-preset-conventional-atom/first-extended/second-extended/package.json @@ -1,7 +1,7 @@ { - "name": "@second-extend/recursive-parser-preset-conventional-atom", - "version": "1.0.0", - "devDependencies": { - "conventional-changelog-atom": "2.0.3" - } + "name": "@second-extend/recursive-parser-preset-conventional-atom", + "version": "1.0.0", + "devDependencies": { + "conventional-changelog-atom": "2.0.3" + } } diff --git a/@commitlint/load/tsconfig.json b/@commitlint/load/tsconfig.json index baa69a842d..51cdcedab0 100644 --- a/@commitlint/load/tsconfig.json +++ b/@commitlint/load/tsconfig.json @@ -1,20 +1,15 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": [ - "./src" - ], - "exclude": [ - "./src/**/*.test.ts", - "./lib/**/*" - ], - "references": [ - { "path": "../execute-rule" }, - { "path": "../resolve-extends" }, - { "path": "../types" } - ] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"], + "references": [ + {"path": "../execute-rule"}, + {"path": "../resolve-extends"}, + {"path": "../types"} + ] } diff --git a/@commitlint/message/tsconfig.json b/@commitlint/message/tsconfig.json index f4a57643f0..49479bf34f 100644 --- a/@commitlint/message/tsconfig.json +++ b/@commitlint/message/tsconfig.json @@ -1,15 +1,10 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": [ - "./src" - ], - "exclude": [ - "./src/**/*.test.ts", - "./lib/**/*" - ] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"] } diff --git a/@commitlint/parse/README.md b/@commitlint/parse/README.md index 6914b3be8d..be40697885 100644 --- a/@commitlint/parse/README.md +++ b/@commitlint/parse/README.md @@ -18,10 +18,10 @@ const parse = require('@commitlint/parse'); ### parse(message: string, parser: Function, parserOpts: Object) -* **message**: Commit message to parser -* **parser**: Sync parser function to use. Defaults to `sync` of `conventional-commits-parser` -* **parserOpts**: Options to pass to `parser` - ```js +- **message**: Commit message to parser +- **parser**: Sync parser function to use. Defaults to `sync` of `conventional-commits-parser` +- **parserOpts**: Options to pass to `parser` + ``` { commentChar: null, // character indicating comment lines issuePrefixes: ['#'] // prefix characters for issue references diff --git a/@commitlint/parse/tsconfig.json b/@commitlint/parse/tsconfig.json index ffd5b0f116..119e645565 100644 --- a/@commitlint/parse/tsconfig.json +++ b/@commitlint/parse/tsconfig.json @@ -1,11 +1,11 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": ["./src"], - "exclude": ["./src/**/*.test.ts", "./lib/**/*"], - "references": [{"path": "../types"}] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"], + "references": [{"path": "../types"}] } diff --git a/@commitlint/prompt/README.md b/@commitlint/prompt/README.md index 55f18044e1..bb7d7b8fa1 100644 --- a/@commitlint/prompt/README.md +++ b/@commitlint/prompt/README.md @@ -14,6 +14,7 @@ echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commit ``` In package.json + ``` { "scripts": { diff --git a/@commitlint/read/README.md b/@commitlint/read/README.md index 4b0c993aa8..26a7e0d1d4 100644 --- a/@commitlint/read/README.md +++ b/@commitlint/read/README.md @@ -14,14 +14,12 @@ npm install --save @commitlint/read const read = require('@commitlint/read'); // Read last edited commit message -read({edit: true}) - .then(messages => console.log(messages)); - // => ['I did something\n\n'] +read({edit: true}).then(messages => console.log(messages)); +// => ['I did something\n\n'] // Read from the third to second commit message from HEAD -read({from: 'HEAD~2', to: 'HEAD~1'}) - .then(messages => console.log(messages)); - // => ['Initial commit\n\n'] +read({from: 'HEAD~2', to: 'HEAD~1'}).then(messages => console.log(messages)); +// => ['Initial commit\n\n'] ``` Consult [docs/api](https://conventional-changelog.github.io/commitlint/#/reference-api) for comprehensive documentation. diff --git a/@commitlint/read/fixtures/recursive-extends-json/.commitlintrc.json b/@commitlint/read/fixtures/recursive-extends-json/.commitlintrc.json index b0feb26419..9a5e8e1d9f 100644 --- a/@commitlint/read/fixtures/recursive-extends-json/.commitlintrc.json +++ b/@commitlint/read/fixtures/recursive-extends-json/.commitlintrc.json @@ -1,6 +1,6 @@ { - "extends": ["./first-extended"], - "rules": { - "zero": 0 - } + "extends": ["./first-extended"], + "rules": { + "zero": 0 + } } diff --git a/@commitlint/read/fixtures/recursive-extends-package/package.json b/@commitlint/read/fixtures/recursive-extends-package/package.json index 031a432619..1818049244 100644 --- a/@commitlint/read/fixtures/recursive-extends-package/package.json +++ b/@commitlint/read/fixtures/recursive-extends-package/package.json @@ -1,8 +1,10 @@ { "commitlint": { - "extends": ["./first-extended"], - "rules": { - "zero": 0 - } + "extends": [ + "./first-extended" + ], + "rules": { + "zero": 0 + } } } diff --git a/@commitlint/read/fixtures/recursive-extends-yaml/.commitlintrc.yml b/@commitlint/read/fixtures/recursive-extends-yaml/.commitlintrc.yml index b76a5986b3..a5ef7fdffd 100644 --- a/@commitlint/read/fixtures/recursive-extends-yaml/.commitlintrc.yml +++ b/@commitlint/read/fixtures/recursive-extends-yaml/.commitlintrc.yml @@ -1,4 +1,4 @@ extends: -- "./first-extended" + - './first-extended' rules: zero: 0 diff --git a/@commitlint/read/tsconfig.json b/@commitlint/read/tsconfig.json index 5eb707a721..f54e2e29b1 100644 --- a/@commitlint/read/tsconfig.json +++ b/@commitlint/read/tsconfig.json @@ -1,18 +1,11 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": [ - "./src" - ], - "exclude": [ - "./src/**/*.test.ts", - "./lib/**/*" - ], - "references": [ - { "path": "../top-level" } - ] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"], + "references": [{"path": "../top-level"}] } diff --git a/@commitlint/resolve-extends/tsconfig.json b/@commitlint/resolve-extends/tsconfig.json index f4a57643f0..49479bf34f 100644 --- a/@commitlint/resolve-extends/tsconfig.json +++ b/@commitlint/resolve-extends/tsconfig.json @@ -1,15 +1,10 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": [ - "./src" - ], - "exclude": [ - "./src/**/*.test.ts", - "./lib/**/*" - ] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"] } diff --git a/@commitlint/rules/tsconfig.json b/@commitlint/rules/tsconfig.json index 1cafd13cb7..3f6d480309 100644 --- a/@commitlint/rules/tsconfig.json +++ b/@commitlint/rules/tsconfig.json @@ -1,21 +1,16 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": [ - "./src" - ], - "exclude": [ - "./src/**/*.test.ts", - "./lib/**/*" - ], - "references": [ - { "path": "../ensure" }, - { "path": "../message" }, - { "path": "../to-lines" }, - { "path": "../types" }, - ] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"], + "references": [ + {"path": "../ensure"}, + {"path": "../message"}, + {"path": "../to-lines"}, + {"path": "../types"} + ] } diff --git a/@commitlint/to-lines/tsconfig.json b/@commitlint/to-lines/tsconfig.json index f4a57643f0..49479bf34f 100644 --- a/@commitlint/to-lines/tsconfig.json +++ b/@commitlint/to-lines/tsconfig.json @@ -1,15 +1,10 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": [ - "./src" - ], - "exclude": [ - "./src/**/*.test.ts", - "./lib/**/*" - ] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"] } diff --git a/@commitlint/top-level/tsconfig.json b/@commitlint/top-level/tsconfig.json index f4a57643f0..49479bf34f 100644 --- a/@commitlint/top-level/tsconfig.json +++ b/@commitlint/top-level/tsconfig.json @@ -1,15 +1,10 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": [ - "./src" - ], - "exclude": [ - "./src/**/*.test.ts", - "./lib/**/*" - ] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"] } diff --git a/@commitlint/travis-cli/README.md b/@commitlint/travis-cli/README.md index a85348bf77..74b29545f4 100644 --- a/@commitlint/travis-cli/README.md +++ b/@commitlint/travis-cli/README.md @@ -2,7 +2,7 @@ # @commitlint/travis-cli -This package is a convenience wrapper around `commitlint`, +This package is a convenience wrapper around `commitlint`, providing zero-configuration linting of all relevant commits for a given change/build combination. @@ -15,5 +15,5 @@ npm install --save-dev @commitlint/travis-cli ```yml # .travis.yml script - - commitlint-travis +- commitlint-travis ``` diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index 412cc10620..56bcb55bcf 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -1,32 +1,32 @@ { - "name": "@commitlint/types", - "version": "8.3.5", - "description": "Shared types for commitlint packages", - "main": "lib/index.js", - "types": "lib/index.d.ts", - "files": [ - "lib/" - ], - "scripts": { - "pkg": "pkg-check" - }, - "engines": { - "node": ">=8" - }, - "repository": { - "type": "git", - "url": "https://github.com/conventional-changelog/commitlint.git" - }, - "bugs": { - "url": "https://github.com/conventional-changelog/commitlint/issues" - }, - "homepage": "https://github.com/conventional-changelog/commitlint#readme", - "author": { - "name": "Mario Nebl", - "email": "hello@herebecode.com" - }, - "license": "MIT", - "devDependencies": { - "@commitlint/utils": "^8.3.4" - } + "name": "@commitlint/types", + "version": "8.3.5", + "description": "Shared types for commitlint packages", + "main": "lib/index.js", + "types": "lib/index.d.ts", + "files": [ + "lib/" + ], + "scripts": { + "pkg": "pkg-check" + }, + "engines": { + "node": ">=8" + }, + "repository": { + "type": "git", + "url": "https://github.com/conventional-changelog/commitlint.git" + }, + "bugs": { + "url": "https://github.com/conventional-changelog/commitlint/issues" + }, + "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "author": { + "name": "Mario Nebl", + "email": "hello@herebecode.com" + }, + "license": "MIT", + "devDependencies": { + "@commitlint/utils": "^8.3.4" + } } diff --git a/@commitlint/types/tsconfig.json b/@commitlint/types/tsconfig.json index f9b6b7f3f1..d5ce29824f 100644 --- a/@commitlint/types/tsconfig.json +++ b/@commitlint/types/tsconfig.json @@ -1,14 +1,10 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": [ - "./src" - ], - "exclude": [ - "./lib/**/*" - ] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src"], + "exclude": ["./lib/**/*"] } diff --git a/@packages/test-environment/tsconfig.json b/@packages/test-environment/tsconfig.json index a38b053b3c..8d5ce01f6d 100644 --- a/@packages/test-environment/tsconfig.json +++ b/@packages/test-environment/tsconfig.json @@ -1,15 +1,10 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": [ - "./src/**/*.ts" - ], - "exclude": [ - "./src/**/*.test.ts", - "./lib/**/*" - ] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src/**/*.ts"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"] } diff --git a/@packages/test/tsconfig.json b/@packages/test/tsconfig.json index f3d0083154..8d5ce01f6d 100644 --- a/@packages/test/tsconfig.json +++ b/@packages/test/tsconfig.json @@ -1,15 +1,10 @@ { - "extends": "../../tsconfig.shared.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./lib" - }, - "include": [ - "./src/**/*.ts" - ], - "exclude": [ - "./src/**/*.test.ts", - "./lib/**/*" - ] + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src/**/*.ts"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"] } diff --git a/README.md b/README.md index ea8d529428..bed9be00ce 100644 --- a/README.md +++ b/README.md @@ -6,55 +6,62 @@

-> Demo generated with [svg-term-cli](https://github.com/marionebl/svg-term-cli) +> Demo generated with [svg-term-cli](https://github.com/marionebl/svg-term-cli) > > `cat docs/assets/commitlint.json | svg-term --out docs/assets/commitlint.svg --frame --profile=Seti --height=20 --width=80` [![npm latest][2]][3] [![CircleCI][4]][5] - -* 🚓 Be a good `commitizen` -* 📦 Share configuration via `npm` -* 🤖 Tap into `conventional-changelog` +- 🚓 Be a good `commitizen` +- 📦 Share configuration via `npm` +- 🤖 Tap into `conventional-changelog` ## Contents -* [What is commitlint](#what-is-commitlint) - * [Benefits using commitlint](#benefits-using-commitlint) -* [Getting started](#getting-started) -* [CLI](#cli) -* [Config](#config) -* [Shared configuration](#shared-configuration) -* [API](#api) -* [Tools](#tools) -* [Roadmap](#roadmap) -* [Version Support](#version-support) -* [Related projects](#related-projects) -* [License](#license) -* [Development](#development) - * [Install and run](#install-and-run) - * [Publishing a release](#publishing-a-release) - -* * * +- [What is commitlint](#what-is-commitlint) + - [Benefits using commitlint](#benefits-using-commitlint) +- [Getting started](#getting-started) +- [CLI](#cli) +- [Config](#config) +- [Shared configuration](#shared-configuration) +- [API](#api) +- [Tools](#tools) +- [Roadmap](#roadmap) +- [Version Support](#version-support) +- [Related projects](#related-projects) +- [License](#license) +- [Development](#development) + - [Install and run](#install-and-run) + - [Publishing a release](#publishing-a-release) + +--- ## What is commitlint + commitlint checks if your commit messages meet the [conventional commit format](https://conventionalcommits.org). In general the pattern mostly looks like this: + ```sh type(scope?): subject #scope is optional ``` + Real world examples can look like this: + ``` chore: run tests on travis ci ``` + ``` fix(server): send cors headers ``` + ``` feat(blog): add comment section ``` + Common types according to [commitlint-config-conventional (based on the the Angular convention)](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional#type-enum) can be: + - build - ci - chore @@ -70,10 +77,10 @@ Common types according to [commitlint-config-conventional (based on the the Angu These can be modified by [your own configuration](#config). ### Benefits using commitlint + - [Why Use Conventional Commits?](https://www.conventionalcommits.org/en/v1.0.0-beta.2/#why-use-conventional-commits) - ["The perks of committing with conventions" (Talk slides)](https://slides.com/marionebl/the-perks-of-committing-with-conventions#/) - ## Getting started ```sh @@ -86,97 +93,96 @@ npm install --save-dev @commitlint/config-conventional @commitlint/cli echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js ``` - To lint commits before they are created you can use Husky's 'commit-msg' hook: + ```json { "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" - } + } } } ``` - **Detailed Setup instructions** -* [Local setup](https://conventional-changelog.github.io/commitlint/#/guides-local-setup) - Lint messages on commit with husky -* [CI setup](https://conventional-changelog.github.io/commitlint/#/guides-ci-setup) - Lint messages during CI builds - +- [Local setup](https://conventional-changelog.github.io/commitlint/#/guides-local-setup) - Lint messages on commit with husky +- [CI setup](https://conventional-changelog.github.io/commitlint/#/guides-ci-setup) - Lint messages during CI builds ## CLI -* Primary way to interact with commitlint. -* `npm install --save-dev @commitlint/cli` -* Packages: [cli](./@commitlint/cli) +- Primary way to interact with commitlint. +- `npm install --save-dev @commitlint/cli` +- Packages: [cli](./@commitlint/cli) ## Config -* Configuration is picked up from `commitlint.config.js`, `.commitlintrc.js`, `.commitlintrc.json`, or `.commitlintrc.yml` file or a `commitlint` field in `package.json` -* Packages: [cli](./@commitlint/cli), [core](./@commitlint/core) -* See [Rules](./docs/reference-rules.md) for a complete list of possible rules -* An example configuration can be found at [@commitlint/config-conventional](./@commitlint/config-conventional/index.js) +- Configuration is picked up from `commitlint.config.js`, `.commitlintrc.js`, `.commitlintrc.json`, or `.commitlintrc.yml` file or a `commitlint` field in `package.json` +- Packages: [cli](./@commitlint/cli), [core](./@commitlint/core) +- See [Rules](./docs/reference-rules.md) for a complete list of possible rules +- An example configuration can be found at [@commitlint/config-conventional](./@commitlint/config-conventional/index.js) ## Shared configuration A number of shared configurations are available to install and use with `commitlint`: -* [@commitlint/config-angular](./@commitlint/config-angular) -* [@commitlint/config-conventional](./@commitlint/config-conventional) -* [@commitlint/config-lerna-scopes](./@commitlint/config-lerna-scopes) -* [@commitlint/config-patternplate](./@commitlint/config-patternplate) -* [conventional-changelog-lint-config-atom](https://github.com/erikmueller/conventional-changelog-lint-config-atom) -* [conventional-changelog-lint-config-canonical](https://github.com/gajus/conventional-changelog-lint-config-canonical) -* [commitlint-config-jira](https://github.com/Gherciu/commitlint-jira) +- [@commitlint/config-angular](./@commitlint/config-angular) +- [@commitlint/config-conventional](./@commitlint/config-conventional) +- [@commitlint/config-lerna-scopes](./@commitlint/config-lerna-scopes) +- [@commitlint/config-patternplate](./@commitlint/config-patternplate) +- [conventional-changelog-lint-config-atom](https://github.com/erikmueller/conventional-changelog-lint-config-atom) +- [conventional-changelog-lint-config-canonical](https://github.com/gajus/conventional-changelog-lint-config-canonical) +- [commitlint-config-jira](https://github.com/Gherciu/commitlint-jira) ->⚠️ If you want to publish your own shareable config then make sure it has a name aligning with the pattern `commitlint-config-emoji-log` or `commitlint-config-your-config-name` — then in extend all you have to write is `emoji-log` or `your-config-name`. +> ⚠️ If you want to publish your own shareable config then make sure it has a name aligning with the pattern `commitlint-config-emoji-log` or `commitlint-config-your-config-name` — then in extend all you have to write is `emoji-log` or `your-config-name`. ## API -* Alternative, programmatic way to interact with `commitlint` -* Packages: - * [format](./@commitlint/format) - Format commitlint reports - * [lint](./@commitlint/lint) - Lint a string against commitlint rules - * [load](./@commitlint/load) - Load shared commitlint configuration - * [read](./@commitlint/read) - Read commit messages from a specified range or last edit -* See [API](./docs/reference-api.md) for a complete list of methods and examples +- Alternative, programmatic way to interact with `commitlint` +- Packages: + - [format](./@commitlint/format) - Format commitlint reports + - [lint](./@commitlint/lint) - Lint a string against commitlint rules + - [load](./@commitlint/load) - Load shared commitlint configuration + - [read](./@commitlint/read) - Read commit messages from a specified range or last edit +- See [API](./docs/reference-api.md) for a complete list of methods and examples ## Tools -* [commitizen adapter](./@commitlint/prompt) -* [prompt](./@commitlint/prompt-cli) +- [commitizen adapter](./@commitlint/prompt) +- [prompt](./@commitlint/prompt-cli) ## Roadmap > **Ideas**: [conventional-changelog/commitlint#94](https://github.com/conventional-changelog/commitlint/issues/94) -`commitlint` is considered stable and is used in various projects as development tool. +`commitlint` is considered stable and is used in various projects as development tool. We identify **ease of adoption** and **developer experience** as fields where there is room and need for improvement. The items on the roadmap should enhance `commitlint` regarding those aspects. -* [x] **Adoption**: Provide reusable Travis CI integration: `@commitlint/travis-cli` (https://github.com/conventional-changelog/commitlint/releases/tag/v5.1.0) -* [ ] **DX**: Support PR squash scenario via [ahmed-taj/commitlint-bot](https://github.com/ahmed-taj/commitlint-bot/) and `@commitlint/travis-cli` -* [ ] **Adoption**: Make [ahmed-taj/commitlint-bot](https://github.com/ahmed-taj/commitlint-bot/) configurable via `commitlint` configuration -* [ ] **Adoption**: Create `commitlint init` -* [ ] **DX**: Extend the configuration schema to allow for additional fields (descriptions, examples, fixes) on both the rule and value level -* [ ] **DX**: Incorporate an extended version of [lennym/commit-template](https://github.com/lennym/commit-template) deducing a template from commitlint configuration -* [ ] **DX**: Rewrite `@commitlint/prompt` for better usability (might involve a lot of yak-shaving) +- [x] **Adoption**: Provide reusable Travis CI integration: `@commitlint/travis-cli` (https://github.com/conventional-changelog/commitlint/releases/tag/v5.1.0) +- [ ] **DX**: Support PR squash scenario via [ahmed-taj/commitlint-bot](https://github.com/ahmed-taj/commitlint-bot/) and `@commitlint/travis-cli` +- [ ] **Adoption**: Make [ahmed-taj/commitlint-bot](https://github.com/ahmed-taj/commitlint-bot/) configurable via `commitlint` configuration +- [ ] **Adoption**: Create `commitlint init` +- [ ] **DX**: Extend the configuration schema to allow for additional fields (descriptions, examples, fixes) on both the rule and value level +- [ ] **DX**: Incorporate an extended version of [lennym/commit-template](https://github.com/lennym/commit-template) deducing a template from commitlint configuration +- [ ] **DX**: Rewrite `@commitlint/prompt` for better usability (might involve a lot of yak-shaving) ## Version Support -* Node.js [LTS](https://github.com/nodejs/LTS#lts-schedule) `>= 6` -* git `>= 2.13.2` +- Node.js [LTS](https://github.com/nodejs/LTS#lts-schedule) `>= 6` +- git `>= 2.13.2` ## Related projects -* [conventional-changelog](https://git.io/v18sw) – Generate a changelog from conventional commit history -* [commitizen](https://git.io/vwTym) – Simple commit conventions for internet citizens -* [create-semantic-module](https://git.io/vFjFg) – CLI for quickly integrating commitizen and commitlint in new or existing projects -* [commitlint.io](https://github.com/tomasen/commitlintio) - helps your project to ensures nice and tidy commit messages without needing any download or installation +- [conventional-changelog](https://git.io/v18sw) – Generate a changelog from conventional commit history +- [commitizen](https://git.io/vwTym) – Simple commit conventions for internet citizens +- [create-semantic-module](https://git.io/vFjFg) – CLI for quickly integrating commitizen and commitlint in new or existing projects +- [commitlint.io](https://github.com/tomasen/commitlintio) - helps your project to ensures nice and tidy commit messages without needing any download or installation ## License + Copyright by @marionebl. All `commitlint` packages are released under the MIT license. ## Development @@ -205,20 +211,18 @@ yarn test yarn run publish ``` - [0]: https://img.shields.io/badge/stability-stable-green.svg?style=flat-square [1]: https://nodejs.org/api/documentation.html#documentation_stability_index [2]: https://img.shields.io/npm/v/@commitlint/cli.svg?style=flat-square [3]: https://npmjs.org/package/@commitlint/cli [4]: https://img.shields.io/circleci/project/github/conventional-changelog/commitlint/master.svg?style=flat-square [5]: https://circleci.com/gh/conventional-changelog/commitlint + [8]: https://img.shields.io/badge/stability-experimental-orange.svg?style=flat-square [9]: https://nodejs.org/api/documentation.html#documentation_stability_index - [10]: https://img.shields.io/npm/v/@commitlint/cli/next.svg?style=flat-square - [11]: https://devtoolscommunity.herokuapp.com/badge.svg?style=flat-square [12]: https://devtoolscommunity.herokuapp.com diff --git a/docker-compose.yml b/docker-compose.yml index 7f82523ed3..5e57122d7a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,15 +1,14 @@ -version: "3" +version: '3' services: commitlint: build: . image: marionebl/commitlint-cubicle ports: - - "8443:8443" + - '8443:8443' environment: - SSH_AUTH_SOCK=/.ssh-agent/socket - SSH_AUTH_PROXY_SOCK=/.ssh-agent/proxy-socket volumes: - .:/root/repo - $SSH_AUTH_SOCK:/.ssh-agent/socket - command: code-server --no-auth /root/repo - + command: code-server --no-auth /root/repo diff --git a/docs/README.md b/docs/README.md index 679aa880ac..98fac07463 100644 --- a/docs/README.md +++ b/docs/README.md @@ -4,7 +4,7 @@ -> Demo generated with [svg-term-cli](https://github.com/marionebl/svg-term-cli) +> Demo generated with [svg-term-cli](https://github.com/marionebl/svg-term-cli) # commitlint   [![slack][11]][12] @@ -43,20 +43,19 @@ echo 'foo: bar' | commitlint commitlint --from=HEAD~1 ``` - ?> To get the most out of `commitlint` you'll want to automate it in your project lifecycle. See our [Local setup guide](./guides-local-setup.md?id=guides-local-setup) for next steps. ## Documentation -* **Guides** - Common use cases explained in a step-by-step pace -* **Concepts** - Overarching topics important to understand the use of `commitlint` -* **Reference** - Mostly technical documentation +- **Guides** - Common use cases explained in a step-by-step pace +- **Concepts** - Overarching topics important to understand the use of `commitlint` +- **Reference** - Mostly technical documentation ## Attributions -* `commitlint` is possible because of the hard work of the folks of the `conventional-changelog` project -* Thanks [@markusoelhafen](https://github.com/markusoelhafen) for providing -the `commitlint` icon +- `commitlint` is possible because of the hard work of the folks of the `conventional-changelog` project +- Thanks [@markusoelhafen](https://github.com/markusoelhafen) for providing + the `commitlint` icon [0]: https://img.shields.io/badge/stability-stable-green.svg?style=flat-square [1]: https://nodejs.org/api/documentation.html#documentation_stability_index @@ -64,13 +63,12 @@ the `commitlint` icon [3]: https://npmjs.org/package/@commitlint/cli [4]: https://img.shields.io/circleci/project/github/conventional-changelog/commitlint/master.svg?style=flat-square [5]: https://circleci.com/gh/conventional-changelog/commitlint + [8]: https://img.shields.io/badge/stability-experimental-orange.svg?style=flat-square [9]: https://nodejs.org/api/documentation.html#documentation_stability_index - [10]: https://img.shields.io/npm/v/@commitlint/cli/next.svg?style=flat-square - [11]: http://devtoolscommunity.herokuapp.com/badge.svg?style=flat-square [12]: http://devtoolscommunity.herokuapp.com diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 95328b19e7..d112ec0536 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -1,17 +1,19 @@ -* **Guides** - * [Local setup](guides-local-setup.md) - * [CI setup](guides-ci-setup.md) - * [Use prompt](guides-use-prompt.md) - * [Upgrade commitlint](guides-upgrade.md) +- **Guides** -* **Concepts** - * [Commit conventions](concepts-commit-conventions) - * [Shareable configuration](concepts-shareable-config.md) + - [Local setup](guides-local-setup.md) + - [CI setup](guides-ci-setup.md) + - [Use prompt](guides-use-prompt.md) + - [Upgrade commitlint](guides-upgrade.md) -* **Reference** - * [CLI](reference-cli.md) - * [Configuration](reference-configuration.md) - * [Rules](reference-rules.md) - * [API](reference-api.md) - * [Plugins](reference-plugins.md) - * [Examples](reference-examples.md) +- **Concepts** + + - [Commit conventions](concepts-commit-conventions) + - [Shareable configuration](concepts-shareable-config.md) + +- **Reference** + - [CLI](reference-cli.md) + - [Configuration](reference-configuration.md) + - [Rules](reference-rules.md) + - [API](reference-api.md) + - [Plugins](reference-plugins.md) + - [Examples](reference-examples.md) diff --git a/docs/assets/commitlint.json b/docs/assets/commitlint.json index cc477cf55f..e1110e8bf1 100644 --- a/docs/assets/commitlint.json +++ b/docs/assets/commitlint.json @@ -14,26 +14,11 @@ 0.043582, "\u001b[1m\u001b[30m⏎\u001b[0;10m \r⏎ \r\u001b[2K\u001b[34m~/Projects/labs/commitlint\u001b[30m\u001b[0;10m \u001b[90mmaster*\u001b[30m\u001b[0;10m\t\u001b[36m\u001b[30m\u001b[0;10m\r\n\u001b[32m❯\u001b[30m\u001b[0;10m \u001b[K" ], - [ - 1.424417, - "e" - ], - [ - 0.000242, - "\u001b[D\u001b[31m\u001b[1me\u001b[0;10m" - ], - [ - 0.007262, - "\u001b[33masy_install \u001b[12D\u001b[30m\u001b[0;10m" - ], - [ - 0.088508, - "\u001b[31m\u001b[1mc\u001b[0;10m\u001b[K" - ], - [ - 0.005534, - "\u001b[33mho \u001b[3D\u001b[30m\u001b[0;10m" - ], + [1.424417, "e"], + [0.000242, "\u001b[D\u001b[31m\u001b[1me\u001b[0;10m"], + [0.007262, "\u001b[33masy_install \u001b[12D\u001b[30m\u001b[0;10m"], + [0.088508, "\u001b[31m\u001b[1mc\u001b[0;10m\u001b[K"], + [0.005534, "\u001b[33mho \u001b[3D\u001b[30m\u001b[0;10m"], [ 0.074302, "\u001b[31m\u001b[1mh\u001b[0;10m\u001b[33mo \u001b[D\u001b[D\u001b[30m\u001b[0;10m" @@ -46,94 +31,28 @@ 0.000271, "\u001b[4D\u001b[35mecho\u001b[33m \u001b[D\u001b[30m\u001b[0;10m" ], - [ - 0.175855, - "\u001b[35m \u001b[30m\u001b[0;10m" - ], - [ - 0.00018, - "\u001b[D " - ], - [ - 0.159886, - "\"" - ], - [ - 0.000155, - "\u001b[D\u001b[31m\u001b[1m\"\u001b[0;10m" - ], - [ - 0.519818, - "\u001b[31m\u001b[1mf\u001b[0;10m" - ], - [ - 0.080105, - "\u001b[31m\u001b[1mo\u001b[0;10m" - ], - [ - 0.159857, - "\u001b[31m\u001b[1mo\u001b[0;10m" - ], - [ - 0.176008, - "\u001b[31m\u001b[1m\"\u001b[0;10m" - ], - [ - 0.000288, - "\u001b[5D\u001b[33m\"foo\"\u001b[30m\u001b[0;10m" - ], - [ - 0.503731, - "\u001b[33m \u001b[30m\u001b[0;10m" - ], - [ - 0.000264, - "\u001b[D " - ], - [ - 0.287853, - "|" - ], - [ - 0.000198, - "\u001b[D\u001b[32m|\u001b[30m\u001b[0;10m" - ], - [ - 0.239819, - "\u001b[32m \u001b[30m\u001b[0;10m" - ], - [ - 0.000253, - "\u001b[D " - ], - [ - 1.35986, - "c" - ], - [ - 0.000264, - "\u001b[D\u001b[31m\u001b[1mc\u001b[0;10m" - ], - [ - 0.011992, - "\u001b[33m++ \u001b[3D\u001b[30m\u001b[0;10m" - ], - [ - 0.059653, - "\u001b[31m\u001b[1mo\u001b[0;10m\u001b[K" - ], - [ - 0.007052, - "\u001b[33mde \u001b[3D\u001b[30m\u001b[0;10m" - ], - [ - 0.072258, - "\u001b[31m\u001b[1mm\u001b[0;10m\u001b[K" - ], - [ - 0.005423, - "\u001b[33mm \u001b[D\u001b[D\u001b[30m\u001b[0;10m" - ], + [0.175855, "\u001b[35m \u001b[30m\u001b[0;10m"], + [0.00018, "\u001b[D "], + [0.159886, "\""], + [0.000155, "\u001b[D\u001b[31m\u001b[1m\"\u001b[0;10m"], + [0.519818, "\u001b[31m\u001b[1mf\u001b[0;10m"], + [0.080105, "\u001b[31m\u001b[1mo\u001b[0;10m"], + [0.159857, "\u001b[31m\u001b[1mo\u001b[0;10m"], + [0.176008, "\u001b[31m\u001b[1m\"\u001b[0;10m"], + [0.000288, "\u001b[5D\u001b[33m\"foo\"\u001b[30m\u001b[0;10m"], + [0.503731, "\u001b[33m \u001b[30m\u001b[0;10m"], + [0.000264, "\u001b[D "], + [0.287853, "|"], + [0.000198, "\u001b[D\u001b[32m|\u001b[30m\u001b[0;10m"], + [0.239819, "\u001b[32m \u001b[30m\u001b[0;10m"], + [0.000253, "\u001b[D "], + [1.35986, "c"], + [0.000264, "\u001b[D\u001b[31m\u001b[1mc\u001b[0;10m"], + [0.011992, "\u001b[33m++ \u001b[3D\u001b[30m\u001b[0;10m"], + [0.059653, "\u001b[31m\u001b[1mo\u001b[0;10m\u001b[K"], + [0.007052, "\u001b[33mde \u001b[3D\u001b[30m\u001b[0;10m"], + [0.072258, "\u001b[31m\u001b[1mm\u001b[0;10m\u001b[K"], + [0.005423, "\u001b[33mm \u001b[D\u001b[D\u001b[30m\u001b[0;10m"], [ 0.107004, "\u001b[31m\u001b[1mm\u001b[0;10m\u001b[33m \u001b[D\u001b[30m\u001b[0;10m" @@ -142,30 +61,15 @@ 0.000313, "\u001b[4D\u001b[35mcomm\u001b[33m \u001b[D\u001b[30m\u001b[0;10m" ], - [ - 0.175907, - "\u001b[35mi\u001b[30m\u001b[0;10m" - ], - [ - 0.000305, - "\u001b[5D\u001b[31m\u001b[1mcommi\u001b[0;10m" - ], - [ - 0.005943, - "\u001b[33mtizen \u001b[6D\u001b[30m\u001b[0;10m" - ], + [0.175907, "\u001b[35mi\u001b[30m\u001b[0;10m"], + [0.000305, "\u001b[5D\u001b[31m\u001b[1mcommi\u001b[0;10m"], + [0.005943, "\u001b[33mtizen \u001b[6D\u001b[30m\u001b[0;10m"], [ 0.073589, "\u001b[31m\u001b[1mt\u001b[0;10m\u001b[33mizen \u001b[5D\u001b[30m\u001b[0;10m" ], - [ - 0.120186, - "\u001b[31m\u001b[1ml\u001b[0;10m\u001b[K" - ], - [ - 0.005786, - "\u001b[33mint \u001b[4D\u001b[30m\u001b[0;10m" - ], + [0.120186, "\u001b[31m\u001b[1ml\u001b[0;10m\u001b[K"], + [0.005786, "\u001b[33mint \u001b[4D\u001b[30m\u001b[0;10m"], [ 0.20203, "\u001b[31m\u001b[1mi\u001b[0;10m\u001b[33mnt \u001b[3D\u001b[30m\u001b[0;10m" @@ -182,18 +86,9 @@ 0.000346, "\u001b[10D\u001b[35mcommitlint\u001b[33m \u001b[D\u001b[30m\u001b[0;10m" ], - [ - 0.182852, - "\u001b[K\r\n" - ], - [ - 5.5e-05, - "\u001b[30m\u001b[0;10m" - ], - [ - 1.177726, - "\u001b[90m⧗\u001b[39m input: \u001b[1mfoo\u001b[22m\r\n" - ], + [0.182852, "\u001b[K\r\n"], + [5.5e-5, "\u001b[30m\u001b[0;10m"], + [1.177726, "\u001b[90m⧗\u001b[39m input: \u001b[1mfoo\u001b[22m\r\n"], [ 0.000414, "\u001b[31m✖\u001b[39m message may not be empty \u001b[90m[subject-empty]\u001b[39m\r\n\u001b[31m✖\u001b[39m type may not be empty \u001b[90m[type-empty]\u001b[39m\r\n\u001b[1m\u001b[31m✖\u001b[39m found 2 problems, 0 warnings\u001b[22m\r\n" @@ -203,17 +98,11 @@ "\u001b[1m\u001b[30m⏎\u001b[0;10m \r⏎ \r\u001b[2K" ], [ - 8.1e-05, + 8.1e-5, "\r\n\u001b[34m~/Projects/labs/commitlint\u001b[30m\u001b[0;10m \u001b[33m\u001b[30m\u001b[0;10m\u001b[90mmaster*\u001b[30m\u001b[0;10m\t\u001b[36m\u001b[30m\u001b[0;10m\r\n\u001b[31m❯\u001b[30m\u001b[0;10m \u001b[K" ], - [ - 1.780014, - "e" - ], - [ - 0.000274, - "\u001b[D\u001b[31m\u001b[1me\u001b[0;10m" - ], + [1.780014, "e"], + [0.000274, "\u001b[D\u001b[31m\u001b[1me\u001b[0;10m"], [ 0.000377, "\u001b[33mcho \"foo\" | commitlint\u001b[22D\u001b[30m\u001b[0;10m" @@ -250,34 +139,16 @@ 0.000345, "\u001b[D\u001b[31m\u001b[1m\"\u001b[0;10m\u001b[33mfoo\" | commitlint\u001b[17D\u001b[30m\u001b[0;10m" ], - [ - 1.439497, - "\u001b[31m\u001b[1mo\u001b[0;10m\u001b[K" - ], - [ - 0.495237, - "\u001b[D\u001b[K" - ], - [ - 0.136897, - "\u001b[31m\u001b[1mc\u001b[0;10m" - ], + [1.439497, "\u001b[31m\u001b[1mo\u001b[0;10m\u001b[K"], + [0.495237, "\u001b[D\u001b[K"], + [0.136897, "\u001b[31m\u001b[1mc\u001b[0;10m"], [ 0.000689, "\u001b[33mommitlint.config.js\" \u001b[21D\u001b[30m\u001b[0;10m" ], - [ - 0.56659, - "\u001b[D\u001b[K" - ], - [ - 0.097083, - "\u001b[31m\u001b[1mf\u001b[0;10m" - ], - [ - 0.0004, - "\u001b[33moo\" | commitlint\u001b[16D\u001b[30m\u001b[0;10m" - ], + [0.56659, "\u001b[D\u001b[K"], + [0.097083, "\u001b[31m\u001b[1mf\u001b[0;10m"], + [0.0004, "\u001b[33moo\" | commitlint\u001b[16D\u001b[30m\u001b[0;10m"], [ 0.127229, "\u001b[31m\u001b[1mo\u001b[0;10m\u001b[33mo\" | commitlint\u001b[15D\u001b[30m\u001b[0;10m" @@ -286,90 +157,27 @@ 0.13611, "\u001b[31m\u001b[1mo\u001b[0;10m\u001b[33m\" | commitlint\u001b[14D\u001b[30m\u001b[0;10m" ], - [ - 0.312225, - "\u001b[31m\u001b[1m:\u001b[0;10m\u001b[K" - ], - [ - 0.000715, - "\u001b[33m@commitlint/\u001b[12D\u001b[30m\u001b[0;10m" - ], - [ - 0.26294, - "\u001b[31m\u001b[1m \u001b[0;10m\u001b[K" - ], - [ - 0.272129, - "\u001b[31m\u001b[1mb\u001b[0;10m" - ], - [ - 0.088036, - "\u001b[31m\u001b[1ma\u001b[0;10m" - ], - [ - 0.079995, - "\u001b[31m\u001b[1mr\u001b[0;10m" - ], - [ - 0.35253, - "\u001b[31m\u001b[1m\"\u001b[0;10m" - ], - [ - 0.000435, - "\u001b[10D\u001b[33m\"foo: bar\"\u001b[30m\u001b[0;10m" - ], - [ - 0.327106, - "\u001b[33m \u001b[30m\u001b[0;10m" - ], - [ - 0.000283, - "\u001b[D " - ], - [ - 0.31973, - "|" - ], - [ - 0.000223, - "\u001b[D\u001b[32m|\u001b[30m\u001b[0;10m" - ], - [ - 0.263799, - "\u001b[32m \u001b[30m\u001b[0;10m" - ], - [ - 0.000219, - "\u001b[D " - ], - [ - 0.415723, - "c" - ], - [ - 0.000306, - "\u001b[D\u001b[31m\u001b[1mc\u001b[0;10m" - ], - [ - 0.011346, - "\u001b[33m++ \u001b[3D\u001b[30m\u001b[0;10m" - ], - [ - 0.052215, - "\u001b[31m\u001b[1mo\u001b[0;10m\u001b[K" - ], - [ - 0.006604, - "\u001b[33mde \u001b[3D\u001b[30m\u001b[0;10m" - ], - [ - 0.065406, - "\u001b[31m\u001b[1mm\u001b[0;10m\u001b[K" - ], - [ - 0.005895, - "\u001b[33mm \u001b[D\u001b[D\u001b[30m\u001b[0;10m" - ], + [0.312225, "\u001b[31m\u001b[1m:\u001b[0;10m\u001b[K"], + [0.000715, "\u001b[33m@commitlint/\u001b[12D\u001b[30m\u001b[0;10m"], + [0.26294, "\u001b[31m\u001b[1m \u001b[0;10m\u001b[K"], + [0.272129, "\u001b[31m\u001b[1mb\u001b[0;10m"], + [0.088036, "\u001b[31m\u001b[1ma\u001b[0;10m"], + [0.079995, "\u001b[31m\u001b[1mr\u001b[0;10m"], + [0.35253, "\u001b[31m\u001b[1m\"\u001b[0;10m"], + [0.000435, "\u001b[10D\u001b[33m\"foo: bar\"\u001b[30m\u001b[0;10m"], + [0.327106, "\u001b[33m \u001b[30m\u001b[0;10m"], + [0.000283, "\u001b[D "], + [0.31973, "|"], + [0.000223, "\u001b[D\u001b[32m|\u001b[30m\u001b[0;10m"], + [0.263799, "\u001b[32m \u001b[30m\u001b[0;10m"], + [0.000219, "\u001b[D "], + [0.415723, "c"], + [0.000306, "\u001b[D\u001b[31m\u001b[1mc\u001b[0;10m"], + [0.011346, "\u001b[33m++ \u001b[3D\u001b[30m\u001b[0;10m"], + [0.052215, "\u001b[31m\u001b[1mo\u001b[0;10m\u001b[K"], + [0.006604, "\u001b[33mde \u001b[3D\u001b[30m\u001b[0;10m"], + [0.065406, "\u001b[31m\u001b[1mm\u001b[0;10m\u001b[K"], + [0.005895, "\u001b[33mm \u001b[D\u001b[D\u001b[30m\u001b[0;10m"], [ 0.17011, "\u001b[31m\u001b[1mm\u001b[0;10m\u001b[33m \u001b[D\u001b[30m\u001b[0;10m" @@ -378,30 +186,15 @@ 0.000278, "\u001b[4D\u001b[35mcomm\u001b[33m \u001b[D\u001b[30m\u001b[0;10m" ], - [ - 0.439713, - "\u001b[35mi\u001b[30m\u001b[0;10m" - ], - [ - 0.000324, - "\u001b[5D\u001b[31m\u001b[1mcommi\u001b[0;10m" - ], - [ - 0.005334, - "\u001b[33mtizen \u001b[6D\u001b[30m\u001b[0;10m" - ], + [0.439713, "\u001b[35mi\u001b[30m\u001b[0;10m"], + [0.000324, "\u001b[5D\u001b[31m\u001b[1mcommi\u001b[0;10m"], + [0.005334, "\u001b[33mtizen \u001b[6D\u001b[30m\u001b[0;10m"], [ 0.114637, "\u001b[31m\u001b[1mt\u001b[0;10m\u001b[33mizen \u001b[5D\u001b[30m\u001b[0;10m" ], - [ - 0.120005, - "\u001b[31m\u001b[1ml\u001b[0;10m\u001b[K" - ], - [ - 0.005761, - "\u001b[33mint \u001b[4D\u001b[30m\u001b[0;10m" - ], + [0.120005, "\u001b[31m\u001b[1ml\u001b[0;10m\u001b[K"], + [0.005761, "\u001b[33mint \u001b[4D\u001b[30m\u001b[0;10m"], [ 0.16208, "\u001b[31m\u001b[1mi\u001b[0;10m\u001b[33mnt \u001b[3D\u001b[30m\u001b[0;10m" @@ -418,10 +211,7 @@ 0.000335, "\u001b[10D\u001b[35mcommitlint\u001b[33m \u001b[D\u001b[30m\u001b[0;10m" ], - [ - 0.686938, - "\u001b[K\r\n\u001b[30m\u001b[0;10m" - ], + [0.686938, "\u001b[K\r\n\u001b[30m\u001b[0;10m"], [ 1.179442, "\u001b[90m⧗\u001b[39m input: \u001b[1mfoo: bar\u001b[22m\r\n" @@ -435,93 +225,33 @@ "\u001b[1m\u001b[30m⏎\u001b[0;10m \r⏎ \r\u001b[2K" ], [ - 3.9e-05, + 3.9e-5, "\r\n\u001b[34m~/Projects/labs/commitlint\u001b[30m\u001b[0;10m \u001b[33m\u001b[30m\u001b[0;10m\u001b[90mmaster*\u001b[30m\u001b[0;10m\t\u001b[36m\u001b[30m\u001b[0;10m\r\n\u001b[31m❯\u001b[30m\u001b[0;10m \u001b[K" ], - [ - 0.45916, - "echo \"foo: bar\" | commitlint" - ], + [0.45916, "echo \"foo: bar\" | commitlint"], [ 0.000339, "\u001b[28D\u001b[35mecho\u001b[30m\u001b[0;10m \u001b[33m\"foo: bar\"\u001b[30m\u001b[0;10m \u001b[32m|\u001b[30m\u001b[0;10m \u001b[35mcommitlint\u001b[30m\u001b[0;10m" ], - [ - 0.246219, - "\u001b[D" - ], - [ - 0.502613, - "\u001b[D" - ], - [ - 0.088524, - "\u001b[D" - ], - [ - 0.087414, - "\u001b[D" - ], - [ - 0.088208, - "\u001b[D" - ], - [ - 0.083942, - "\u001b[D" - ], - [ - 0.083394, - "\u001b[D" - ], - [ - 0.08431, - "\u001b[D" - ], - [ - 0.088025, - "\u001b[D" - ], - [ - 0.088327, - "\u001b[D" - ], - [ - 0.087976, - "\u001b[D" - ], - [ - 0.084932, - "\u001b[D" - ], - [ - 0.083834, - "\u001b[D" - ], - [ - 0.086017, - "\u001b[D" - ], - [ - 0.088395, - "\u001b[D" - ], - [ - 0.088266, - "\u001b[D" - ], - [ - 0.087041, - "\u001b[D" - ], - [ - 0.083235, - "\u001b[D" - ], - [ - 0.219576, - "\u001b[D" - ], + [0.246219, "\u001b[D"], + [0.502613, "\u001b[D"], + [0.088524, "\u001b[D"], + [0.087414, "\u001b[D"], + [0.088208, "\u001b[D"], + [0.083942, "\u001b[D"], + [0.083394, "\u001b[D"], + [0.08431, "\u001b[D"], + [0.088025, "\u001b[D"], + [0.088327, "\u001b[D"], + [0.087976, "\u001b[D"], + [0.084932, "\u001b[D"], + [0.083834, "\u001b[D"], + [0.086017, "\u001b[D"], + [0.088395, "\u001b[D"], + [0.088266, "\u001b[D"], + [0.087041, "\u001b[D"], + [0.083235, "\u001b[D"], + [0.219576, "\u001b[D"], [ 0.527938, "\u001b[D\u001b[33m: bar\" \u001b[30m\u001b[0;10m|\u001b[32m \u001b[30m\u001b[0;10mc\u001b[35mommitlint\u001b[30m\u001b[0;10m\u001b[K\u001b[19D" @@ -602,10 +332,7 @@ 0.000667, "\u001b[5C\u001b[33m\"\u001b[30m\u001b[0;10m \u001b[32m|\u001b[30m\u001b[0;10m \u001b[35mcommitlint\u001b[19D\u001b[30m\u001b[0;10m" ], - [ - 0.382519, - "\u001b[D" - ], + [0.382519, "\u001b[D"], [ 0.128976, "\u001b[33ms): bar\u001b[30m\u001b[0;10m\"\u001b[32m \u001b[30m\u001b[0;10m|\u001b[35m commitlint\u001b[20D\u001b[30m\u001b[0;10m" @@ -646,30 +373,12 @@ 0.00047, "\u001b[6C\u001b[33m\"\u001b[30m\u001b[0;10m \u001b[32m|\u001b[30m\u001b[0;10m \u001b[35mcommitlint\u001b[20D\u001b[30m\u001b[0;10m" ], - [ - 0.174646, - "\u001b[C" - ], - [ - 0.160014, - "\u001b[C" - ], - [ - 0.144159, - "\u001b[C" - ], - [ - 0.151878, - "\u001b[C" - ], - [ - 0.15203, - "\u001b[C" - ], - [ - 0.751957, - "\u001b[C" - ], + [0.174646, "\u001b[C"], + [0.160014, "\u001b[C"], + [0.144159, "\u001b[C"], + [0.151878, "\u001b[C"], + [0.15203, "\u001b[C"], + [0.751957, "\u001b[C"], [ 0.296238, "\u001b[D\u001b[33m\" \u001b[30m\u001b[0;10m|\u001b[32m \u001b[30m\u001b[0;10mc\u001b[35mommitlint\u001b[30m\u001b[0;10m\u001b[K\u001b[14D" @@ -742,10 +451,7 @@ 0.000641, "\u001b[33m\"\u001b[30m\u001b[0;10m \u001b[32m|\u001b[30m\u001b[0;10m \u001b[35mcommitlint\u001b[14D\u001b[30m\u001b[0;10m" ], - [ - 0.190361, - "\u001b[14C\r\n\u001b[30m\u001b[0;10m" - ], + [0.190361, "\u001b[14C\r\n\u001b[30m\u001b[0;10m"], [ 1.170189, "\u001b[90m⧗\u001b[39m input: \u001b[1mchore(scope): messag\u001b[22m\r\n" @@ -762,106 +468,34 @@ 0.000104, "\r\n\u001b[34m~/Projects/labs/commitlint\u001b[30m\u001b[0;10m \u001b[33m\u001b[30m\u001b[0;10m\u001b[90mmaster*\u001b[30m\u001b[0;10m\t\u001b[36m\u001b[30m\u001b[0;10m\r\n\u001b[31m❯\u001b[30m\u001b[0;10m \u001b[K" ], - [ - 1.595015, - "echo \"chore(scope): messag\" | commitlint" - ], + [1.595015, "echo \"chore(scope): messag\" | commitlint"], [ 0.00045, "\u001b[40D\u001b[35mecho\u001b[30m\u001b[0;10m \u001b[33m\"chore(scope): messag\"\u001b[30m\u001b[0;10m \u001b[32m|\u001b[30m\u001b[0;10m \u001b[35mcommitlint\u001b[30m\u001b[0;10m" ], - [ - 0.41445, - "\u001b[D" - ], - [ - 0.503174, - "\u001b[D" - ], - [ - 0.08644, - "\u001b[D" - ], - [ - 0.08346, - "\u001b[D" - ], - [ - 0.087163, - "\u001b[D" - ], - [ - 0.084405, - "\u001b[D" - ], - [ - 0.085425, - "\u001b[D" - ], - [ - 0.084549, - "\u001b[D" - ], - [ - 0.083284, - "\u001b[D" - ], - [ - 0.083372, - "\u001b[D" - ], - [ - 0.083362, - "\u001b[D" - ], - [ - 0.083392, - "\u001b[D" - ], - [ - 0.088245, - "\u001b[D" - ], - [ - 0.085091, - "\u001b[D" - ], - [ - 0.084852, - "\u001b[D" - ], - [ - 0.087872, - "\u001b[D" - ], - [ - 0.087465, - "\u001b[D" - ], - [ - 0.083365, - "\u001b[D" - ], - [ - 0.088288, - "\u001b[D" - ], - [ - 0.088374, - "\u001b[D" - ], - [ - 0.086046, - "\u001b[D" - ], - [ - 0.656623, - "\u001b[D" - ], - [ - 0.711983, - "\u001b[D" - ], + [0.41445, "\u001b[D"], + [0.503174, "\u001b[D"], + [0.08644, "\u001b[D"], + [0.08346, "\u001b[D"], + [0.087163, "\u001b[D"], + [0.084405, "\u001b[D"], + [0.085425, "\u001b[D"], + [0.084549, "\u001b[D"], + [0.083284, "\u001b[D"], + [0.083372, "\u001b[D"], + [0.083362, "\u001b[D"], + [0.083392, "\u001b[D"], + [0.088245, "\u001b[D"], + [0.085091, "\u001b[D"], + [0.084852, "\u001b[D"], + [0.087872, "\u001b[D"], + [0.087465, "\u001b[D"], + [0.083365, "\u001b[D"], + [0.088288, "\u001b[D"], + [0.088374, "\u001b[D"], + [0.086046, "\u001b[D"], + [0.656623, "\u001b[D"], + [0.711983, "\u001b[D"], [ 0.42408, "\u001b[D\u001b[33m): messag\" \u001b[30m\u001b[0;10m|\u001b[32m \u001b[30m\u001b[0;10mc\u001b[35mommitlint\u001b[30m\u001b[0;10m\u001b[K\u001b[23D" @@ -902,10 +536,7 @@ 0.000218, "\u001b[10C \u001b[32m|\u001b[30m\u001b[0;10m \u001b[35mcommitlint\u001b[23D\u001b[30m\u001b[0;10m" ], - [ - 1.495663, - "\u001b[C" - ], + [1.495663, "\u001b[C"], [ 0.320133, "\u001b[D\u001b[33m: messag\" \u001b[30m\u001b[0;10m|\u001b[32m \u001b[30m\u001b[0;10mc\u001b[35mommitlint\u001b[30m\u001b[0;10m\u001b[K\u001b[22D" @@ -922,38 +553,14 @@ 0.000219, "\u001b[9C \u001b[32m|\u001b[30m\u001b[0;10m \u001b[35mcommitlint\u001b[22D\u001b[30m\u001b[0;10m" ], - [ - 0.327953, - "\u001b[C" - ], - [ - 0.184011, - "\u001b[C" - ], - [ - 0.167976, - "\u001b[C" - ], - [ - 0.143875, - "\u001b[C" - ], - [ - 0.159963, - "\u001b[C" - ], - [ - 0.151488, - "\u001b[C" - ], - [ - 0.160789, - "\u001b[C" - ], - [ - 0.151846, - "\u001b[C" - ], + [0.327953, "\u001b[C"], + [0.184011, "\u001b[C"], + [0.167976, "\u001b[C"], + [0.143875, "\u001b[C"], + [0.159963, "\u001b[C"], + [0.151488, "\u001b[C"], + [0.160789, "\u001b[C"], + [0.151846, "\u001b[C"], [ 0.184798, "\u001b[33me\u001b[30m\u001b[0;10m\"\u001b[32m \u001b[30m\u001b[0;10m|\u001b[35m commitlint\u001b[14D\u001b[30m\u001b[0;10m" @@ -962,10 +569,7 @@ 0.000621, "\u001b[33m\"\u001b[30m\u001b[0;10m \u001b[32m|\u001b[30m\u001b[0;10m \u001b[35mcommitlint\u001b[14D\u001b[30m\u001b[0;10m" ], - [ - 0.566558, - "\u001b[14C\r\n\u001b[30m\u001b[0;10m" - ], + [0.566558, "\u001b[14C\r\n\u001b[30m\u001b[0;10m"], [ 1.174173, "\u001b[90m⧗\u001b[39m input: \u001b[1mchore: message\u001b[22m\r\n" @@ -974,25 +578,16 @@ 0.000452, "\u001b[1m\u001b[32m✔\u001b[39m found 0 problems, 0 warnings\u001b[22m\r\n" ], - [ - 8.4e-05, - "\r\n" - ], + [8.4e-5, "\r\n"], [ 0.048998, "\u001b[1m\u001b[30m⏎\u001b[0;10m \r⏎ \r\u001b[2K" ], [ - 3.4e-05, + 3.4e-5, "\r\n\u001b[34m~/Projects/labs/commitlint\u001b[30m\u001b[0;10m \u001b[90mmaster*\u001b[30m\u001b[0;10m\t\u001b[36m\u001b[30m\u001b[0;10m\r\n\u001b[32m❯\u001b[30m\u001b[0;10m \u001b[K" ], - [ - 2.345267, - "\r\n\u001b[30m\u001b[0;10m\u001b[30m\u001b[0;1" - ], - [ - 8.2e-05, - "0m" - ] + [2.345267, "\r\n\u001b[30m\u001b[0;10m\u001b[30m\u001b[0;1"], + [8.2e-5, "0m"] ] } diff --git a/docs/concepts-commit-conventions.md b/docs/concepts-commit-conventions.md index 4ead5ee254..067ac7c494 100644 --- a/docs/concepts-commit-conventions.md +++ b/docs/concepts-commit-conventions.md @@ -1,12 +1,12 @@ # Concept: Commit conventions -Commit conventions allow your team to add more semantic meaning to your git history. This e.g. includes `type`, `scope` or `breaking changes`. +Commit conventions allow your team to add more semantic meaning to your git history. This e.g. includes `type`, `scope` or `breaking changes`. With this additional information tools can derive useful human-readable information for releases of your project. Some examples are -* Automated, rich changelogs -* Automatic version bumps -* Filter for test harnesses to run +- Automated, rich changelogs +- Automatic version bumps +- Filter for test harnesses to run The most common commit conventions follow this pattern: diff --git a/docs/concepts-shareable-config.md b/docs/concepts-shareable-config.md index 87fccba4f8..fcf35a80dc 100644 --- a/docs/concepts-shareable-config.md +++ b/docs/concepts-shareable-config.md @@ -30,7 +30,7 @@ You can also load local configuration by using a relative path to the file. // commitlint.config.js module.exports = { extends: ['./example'] // => ./example.js -} +}; ``` ## Scoped packages diff --git a/docs/guides-ci-setup.md b/docs/guides-ci-setup.md index 02ae38ce86..75bda0b07a 100644 --- a/docs/guides-ci-setup.md +++ b/docs/guides-ci-setup.md @@ -2,7 +2,7 @@ Enforce commit conventions with confidence by linting on your CI servers with `commitlint`. -This guide assumes you have a already configured `commitlint` for local usage. +This guide assumes you have a already configured `commitlint` for local usage. Follow the [Getting Started](./?id=getting-started) for basic installation and configuration instructions. diff --git a/docs/guides-local-setup.md b/docs/guides-local-setup.md index c3f6658215..df2f9f8f5d 100644 --- a/docs/guides-local-setup.md +++ b/docs/guides-local-setup.md @@ -36,7 +36,7 @@ This allows us to add [git hooks](https://git-scm.com/docs/githooks) directly in "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" - } + } } } ``` @@ -55,7 +55,6 @@ npx commitlint --from HEAD~1 --to HEAD --verbose This will check your last commit and return an error if invalid or a positive output if valid. - ### Test the hook You can test the hook by simply committing. You should see something like this if everything works. diff --git a/docs/guides-upgrade.md b/docs/guides-upgrade.md index d82b35f503..4f7002cd62 100644 --- a/docs/guides-upgrade.md +++ b/docs/guides-upgrade.md @@ -2,7 +2,7 @@ ## validate-commit-msg -The maintainers of [validate-commit-msg](https://github.com/conventional-changelog-archived-repos/validate-commit-msg) have deprecated their package in favor of `commitlint`. +The maintainers of [validate-commit-msg](https://github.com/conventional-changelog-archived-repos/validate-commit-msg) have deprecated their package in favor of `commitlint`. ### Migrating with default settings @@ -67,7 +67,7 @@ module.exports = { // Place your rules here 'scope-enum': [2, 'always', ['a', 'b']] // error if scope is given but not in provided list } -} +}; ``` ### validate-commit-msg option equivalents @@ -94,7 +94,6 @@ Refer to the [Rules Referece](reference-rules.md) for a list of all avaiable con There is also the [#commitlint](https://yargs.slack.com/messages/C7M8XJ4RL/) channel on the DevTools Slack workspace. Join us there and we'll do our best to help you with your migration. - ## Version 1 to 2 ```bash @@ -105,15 +104,15 @@ npm install --save-dev conventional-changelog-lint@latest #### CLI -* None +- None #### Config -* **wildcards** config is ignored - as of version `2.0.0` the former `.wildcards` configuration is ignored entirely. If your `.conventional-changelog-lintrc`, `commitlint.config.js` or an extended shareable configuration has a `.wildcards` key a warning will be issued. +- **wildcards** config is ignored - as of version `2.0.0` the former `.wildcards` configuration is ignored entirely. If your `.conventional-changelog-lintrc`, `commitlint.config.js` or an extended shareable configuration has a `.wildcards` key a warning will be issued. #### API -* None +- None ## Version 2 to 3 @@ -123,29 +122,29 @@ npm install --save commitlint mv .conventional-changelog-lintrc commitlint.config.js ``` -* Rename all calls to `conventional-changelog-lint` to `commitlint` +- Rename all calls to `conventional-changelog-lint` to `commitlint` ### Breaking changes #### CLI -* `conventional-changelog-lint` command now is called `commitlint` -* `commitlint` command now is installed via `@commitlint/cli` -* `.conventional-changelog-lintrc` now is called `commitlint.config.js` -* `commitlint` does not search upwards in the directory structure for config -* `--preset | -p` flag was removed. The `angular` preset is used always. +- `conventional-changelog-lint` command now is called `commitlint` +- `commitlint` command now is installed via `@commitlint/cli` +- `.conventional-changelog-lintrc` now is called `commitlint.config.js` +- `commitlint` does not search upwards in the directory structure for config +- `--preset | -p` flag was removed. The `angular` preset is used always. #### Config -* `.preset` key is removed. The `angular` preset is used always. +- `.preset` key is removed. The `angular` preset is used always. #### API -* `getConfiguration(name, settings, seed)` changed to `load(seed)` -* `getMessages(range)` changed to `read(range)` -* `getPreset(name, require)` removed -* `format(report, options)` now only respects `.color` on `options` -* `lint(message, options)` changed to `lint(message, rules)` +- `getConfiguration(name, settings, seed)` changed to `load(seed)` +- `getMessages(range)` changed to `read(range)` +- `getPreset(name, require)` removed +- `format(report, options)` now only respects `.color` on `options` +- `lint(message, options)` changed to `lint(message, rules)` ## Version 4 to 5 @@ -159,8 +158,8 @@ echo 'module.exports = {extends: ["@commitlint/config-conventional"]};'; #### Config -* `config-angular` dropped support for the `chore` type, breaking compat with conventional-changelog, -use `config-conventional` instead. +- `config-angular` dropped support for the `chore` type, breaking compat with conventional-changelog, + use `config-conventional` instead. ## Version 7 to 8 @@ -168,4 +167,4 @@ use `config-conventional` instead. #### Output on succesful commit will be ommited -* You can use the `--verbose` flag to get positive output +- You can use the `--verbose` flag to get positive output diff --git a/docs/guides-use-prompt.md b/docs/guides-use-prompt.md index 508bef7901..d636020315 100644 --- a/docs/guides-use-prompt.md +++ b/docs/guides-use-prompt.md @@ -36,5 +36,6 @@ npm run commit ``` ## An alternative to `@commitlint/prompt`: commitizen + Another way to author commit messages that adhere to the commit convention configured in `commitlint.config.js` is to use `commitizen`. For more information, checkout their [official website](http://commitizen.github.io/cz-cli/). diff --git a/docs/index.html b/docs/index.html index 7a8e8dab9d..5a6e0e9a20 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,136 +1,140 @@ + + + commitlint - Lint commit messages + + + + + + + - - - commitlint - Lint commit messages - - - - - - - - - -
- - - - - - - - - + +
+ + + + + + + + diff --git a/docs/reference-api.md b/docs/reference-api.md index f4a4749bb0..8fb7a43c00 100644 --- a/docs/reference-api.md +++ b/docs/reference-api.md @@ -4,7 +4,7 @@ > Format commitlint reports -### Install +### Install ``` npm install --save @commitlint/format @@ -12,7 +12,7 @@ npm install --save @commitlint/format ### Usage -* **Signature** +- **Signature** ```ts type Problem = { @@ -49,7 +49,7 @@ type formatOptions = { * Signs to use as decoration for messages with severy 0, 1, 2 **/ signs: readonly [string; string; string] = [' ', '⚠', '✖']; - + /** * Colors to use for messages with severy 0, 1, 2 **/ @@ -69,40 +69,43 @@ type formatOptions = { format(report?: Report = {}, options?: formatOptions = {}) => string[]; ``` -* **Example** +- **Example** ```js const format = require('@commitlint/format'); format(); // => [ '\u001b[1m\u001b[32m✔\u001b[39m found 0 problems, 0 warnings\u001b[22m' ] -format({ - results: [ - { - warnings: [ - { - level: 0, - name: 'some-hint', - message: 'This will not show up as it has level 0' - }, - { - level: 1, - name: 'some-warning', - message: 'This will show up yellow as it has level 1' - } - ], - errors: [ - { - level: 2, - name: 'some-error', - message: 'This will show up red as it has level 2' - } - ] - } - ] -}, { - color: false -}); +format( + { + results: [ + { + warnings: [ + { + level: 0, + name: 'some-hint', + message: 'This will not show up as it has level 0' + }, + { + level: 1, + name: 'some-warning', + message: 'This will show up yellow as it has level 1' + } + ], + errors: [ + { + level: 2, + name: 'some-error', + message: 'This will show up red as it has level 2' + } + ] + } + ] + }, + { + color: false + } +); /* => [ '✖ This will show up red as it has level 2 [some-error]', ' This will not show up as it has level 0 [some-hint]', @@ -115,7 +118,7 @@ format({ > Load shared commitlint configuration -### Install +### Install ``` npm install --save @commitlint/load @@ -123,7 +126,7 @@ npm install --save @commitlint/load ### Usage -* **Signature** +- **Signature** ```ts /** @@ -231,7 +234,7 @@ type LoadOptions = { load(seed: Seed = {}, options?: LoadOptions = {cwd: process.cwd()}) => Promise; ``` -* **Example** +- **Example** ```js const load = require('@commitlint/load'); @@ -240,20 +243,18 @@ load({ rules: { 'body-leading-blank': [2, 'always'] } -}) -.then(config => console.log(config)); +}).then(config => console.log(config)); // => { extends: [], rules: { 'body-leading-blank': [ 2, 'always' ] } } -load({extends: ['./package']}) -.then(config => console.log(config)); +load({extends: ['./package']}).then(config => console.log(config)); // => { extends: ['./package', './package-b'], rules: {} } -load({parserPreset: './parser-preset.js'}) -.then(config => console.log(config)); +load({parserPreset: './parser-preset.js'}).then(config => console.log(config)); // => { extends: [], rules: {}, parserPreset: {name: './parser-preset.js', path: './parser-preset.js', opts: {}}} -load({}, {file: '.commitlintrc.yml', cwd: process.cwd()}) -.then(config => console.log(config)); +load({}, {file: '.commitlintrc.yml', cwd: process.cwd()}).then(config => + console.log(config) +); // => { extends: [], rules: { 'body-leading-blank': [ 1, 'always' ] }, formatter: '@commitlint/format', plugins: {} } ``` @@ -261,7 +262,7 @@ load({}, {file: '.commitlintrc.yml', cwd: process.cwd()}) > Read commit messages from a specified range or disk -### Install +### Install ``` npm install --save @commitlint/read @@ -269,7 +270,7 @@ npm install --save @commitlint/read ### Usage -* **Signature** +- **Signature** ```ts type Range = { @@ -284,26 +285,24 @@ type Range = { read(range: Range) => Promise ``` -* **Example** +- **Example** ```js // git commit -m "I did something" const read = require('@commitlint/read'); -read({edit: true}) - .then(messages => console.log(messages)); +read({edit: true}).then(messages => console.log(messages)); // => ['I did something\n\n'] -read({edit: './git/GITGUI_EDITMESSAGE'}) - .then(messages => console.log(messages)); +read({edit: './git/GITGUI_EDITMESSAGE'}).then(messages => + console.log(messages) +); // => ['I did something via git gui\n\n'] -read({from: 'HEAD~2'}) - .then(messages => console.log(messages)); +read({from: 'HEAD~2'}).then(messages => console.log(messages)); // => ['I did something\n\n', 'Initial commit\n\n'] -read({from: 'HEAD~2', to: 'HEAD~1'}) - .then(messages => console.log(messages)); +read({from: 'HEAD~2', to: 'HEAD~1'}).then(messages => console.log(messages)); // => ['Initial commit\n\n'] ``` @@ -311,7 +310,7 @@ read({from: 'HEAD~2', to: 'HEAD~1'}) > Lint a string against commitlint rules -### Install +### Install ``` npm install --save @commitlint/lint @@ -319,7 +318,7 @@ npm install --save @commitlint/lint ### Usage -* **Signature** +- **Signature** ```ts type RuleLevel = 0 | 1 | 2; @@ -351,22 +350,23 @@ type Options = { lint(message: string, rules: {[ruleName: string]: Rule}, opts?: Options) => Promise; ``` -* **Basic Example** +- **Basic Example** ```js const lint = require('@commitlint/lint'); -lint('foo: bar') - .then(report => console.log(report)); - // => { valid: true, errors: [], warnings: [] } +lint('foo: bar').then(report => console.log(report)); +// => { valid: true, errors: [], warnings: [] } -lint('foo: bar', {'type-enum': [1, 'always', ['foo']]}) - .then(report => console.log(report)); - // => { valid: true, errors: [], warnings: [] } +lint('foo: bar', {'type-enum': [1, 'always', ['foo']]}).then(report => + console.log(report) +); +// => { valid: true, errors: [], warnings: [] } -lint('foo: bar', {'type-enum': [1, 'always', ['bar']]}) - .then(report => console.log(report)); - /* => +lint('foo: bar', {'type-enum': [1, 'always', ['bar']]}).then(report => + console.log(report) +); +/* => { valid: true, errors: [], warnings: @@ -376,13 +376,20 @@ lint('foo: bar', {'type-enum': [1, 'always', ['bar']]}) message: 'type must be one of [bar]' } ] } */ -const opts = {parserOpts: {headerPattern: /^(\w*)-(\w*)/, headerCorrespondence: ['type', 'scope']}}; +const opts = { + parserOpts: { + headerPattern: /^(\w*)-(\w*)/, + headerCorrespondence: ['type', 'scope'] + } +}; -lint('foo-bar', {'type-enum': [2, 'always', ['foo']]}, opts).then(report => console.log(report)); +lint('foo-bar', {'type-enum': [2, 'always', ['foo']]}, opts).then(report => + console.log(report) +); // => { valid: true, errors: [], warnings: [] } ``` -* **Load configuration** +- **Load configuration** ```js const load = require('@commitlint/load'); @@ -393,9 +400,15 @@ const CONFIG = { }; load(CONFIG) - .then(opts => lint('foo: bar', opts.rules, opts.parserPreset ? {parserOpts: opts.parserPreset.parserOpts} : {})) + .then(opts => + lint( + 'foo: bar', + opts.rules, + opts.parserPreset ? {parserOpts: opts.parserPreset.parserOpts} : {} + ) + ) .then(report => console.log(report)); - /* => +/* => { valid: false, errors: [ { level: 2, @@ -406,7 +419,7 @@ load(CONFIG) */ ``` -* **Read git history** +- **Read git history** ```js const lint = require('@commitlint/lint'); @@ -418,11 +431,12 @@ const RULES = { const check = commit => lint(commit, RULES); -read({to: 'HEAD', from: 'HEAD~2'}) - .then(commits => Promise.all(commits.map(check))); +read({to: 'HEAD', from: 'HEAD~2'}).then(commits => + Promise.all(commits.map(check)) +); ``` -* **Simplfied last-commit checker** +- **Simplfied last-commit checker** ```js const load = require('@commitlint/load'); @@ -432,7 +446,11 @@ const lint = require('@commitlint/lint'); Promise.all([load(), read({from: 'HEAD~1'})]) .then(tasks => { const [{rules, parserPreset}, [commit]] = tasks; - return lint(commit, rules, parserPreset ? {parserOpts: parserPreset.parserOpts}: {}); + return lint( + commit, + rules, + parserPreset ? {parserOpts: parserPreset.parserOpts} : {} + ); }) .then(report => console.log(JSON.stringify(result.valid))); ``` diff --git a/docs/reference-configuration.md b/docs/reference-configuration.md index 1e1478e077..4d78c987b4 100644 --- a/docs/reference-configuration.md +++ b/docs/reference-configuration.md @@ -2,72 +2,70 @@ `@commitlint/cli` picks up configuration from `./commitlint.config.js`. -The file is expected +The file is expected -* to contain valid JavaScript -* export a configuration object -* adhere to the schema outlined below +- to contain valid JavaScript +- export a configuration object +- adhere to the schema outlined below ```ts type Config = { - /* - * Resolveable ids to commitlint configurations to extend - */ - extends?: string[]; - /* - * Resolveable id to conventional-changelog parser preset to import and use - */ - parserPreset?: string; - /* - * Resolveable id to package, from node_modules, which formats the output. - */ - formatter: string; - /* - * Rules to check against - */ - rules?: {[name: string]: Rule}; - /* - * Functions that return true if commitlint should ignore the given message. - */ - ignores?: ((message: string) => boolean)[]; - /* - * Whether commitlint uses the default ignore rules. - */ - defaultIgnores?: boolean; -} + /* + * Resolveable ids to commitlint configurations to extend + */ + extends?: string[]; + /* + * Resolveable id to conventional-changelog parser preset to import and use + */ + parserPreset?: string; + /* + * Resolveable id to package, from node_modules, which formats the output. + */ + formatter: string; + /* + * Rules to check against + */ + rules?: {[name: string]: Rule}; + /* + * Functions that return true if commitlint should ignore the given message. + */ + ignores?: ((message: string) => boolean)[]; + /* + * Whether commitlint uses the default ignore rules. + */ + defaultIgnores?: boolean; +}; const Configuration: Config = { - /* - * Resolve and load @commitlint/config-conventional from node_modules. - * Referenced packages must be installed - */ - extends: ['@commitlint/config-conventional'], - /* - * Resolve and load conventional-changelog-atom from node_modules. - * Referenced packages must be installed - */ - parserPreset: 'conventional-changelog-atom', - /* - * Resolve and load @commitlint/format from node_modules. - * Referenced package must be installed - */ - formatter: '@commitlint/format', - /* - * Any rules defined here will override rules from @commitlint/config-conventional - */ - rules: { - 'type-enum': [2, 'always', ['foo']] - }, - /* - * Functions that return true if commitlint should ignore the given message. - */ - ignores: [ - (commit) => commit === '' - ], - /* - * Whether commitlint uses the default ignore rules. - */ - defaultIgnores: true + /* + * Resolve and load @commitlint/config-conventional from node_modules. + * Referenced packages must be installed + */ + extends: ['@commitlint/config-conventional'], + /* + * Resolve and load conventional-changelog-atom from node_modules. + * Referenced packages must be installed + */ + parserPreset: 'conventional-changelog-atom', + /* + * Resolve and load @commitlint/format from node_modules. + * Referenced package must be installed + */ + formatter: '@commitlint/format', + /* + * Any rules defined here will override rules from @commitlint/config-conventional + */ + rules: { + 'type-enum': [2, 'always', ['foo']] + }, + /* + * Functions that return true if commitlint should ignore the given message. + */ + ignores: [commit => commit === ''], + /* + * Whether commitlint uses the default ignore rules. + */ + defaultIgnores: true }; module.exports = Configuration; @@ -76,12 +74,12 @@ module.exports = Configuration; ## Shareable configuration Every commitlint configuration can extend other commitlint configurations. -Specify configurations to extend via the `.extends` key, using ids +Specify configurations to extend via the `.extends` key, using ids that can be resolved by the node resolve algorithm. This means installed npm packages and local files can be used. -* npm +- npm ``` npm install --save-dev commitlint-config-lerna @commitlint/config-conventional @@ -97,41 +95,40 @@ module.exports = { } ``` -* local - +- local ```js // commitlint.config.js module.exports = { - extends: ['./commitlint.base.js', './commitlint.types.js'] -} + extends: ['./commitlint.base.js', './commitlint.types.js'] +}; ``` ```js // commitlint.types.js, will be picked up by commitlint.config.js module.exports = { - rules: { - 'type-enum': [2, 'always', ['foo']] - } -} + rules: { + 'type-enum': [2, 'always', ['foo']] + } +}; ``` ```js // commitlint.base.js, will be picked up by commitlint.config.js module.exports = { - extends: ['@commitlint/config-conventional'], // extends can be nested - parserPreset: 'conventional-changelog-atom' -} + extends: ['@commitlint/config-conventional'], // extends can be nested + parserPreset: 'conventional-changelog-atom' +}; ``` ## Parser presets -The parser preset used to parse commit messages can be configured. +The parser preset used to parse commit messages can be configured. Use ids resolveable by the node resolve algorithm. This means installed npm packages and local files can be used. -* npm +- npm ``` npm install --save-dev conventional-changelog-atom @@ -140,26 +137,26 @@ npm install --save-dev conventional-changelog-atom ```js // commitlint.config.js module.exports = { - parserPreset: 'conventional-changelog-atom' -} + parserPreset: 'conventional-changelog-atom' +}; ``` -* local +- local ```js // commitlint.config.js module.exports = { - parserPreset: './parser-preset' -} + parserPreset: './parser-preset' +}; ``` ```js // parser-preset.js module.exports = { - parserOpts: { - headerPattern: /^(\w*)\((\w*)\)-(\w*)\s(.*)$/, - headerCorrespondence: ['type', 'scope', 'ticket', 'subject'] - } + parserOpts: { + headerPattern: /^(\w*)\((\w*)\)-(\w*)\s(.*)$/, + headerCorrespondence: ['type', 'scope', 'ticket', 'subject'] + } }; ``` @@ -170,7 +167,7 @@ Use ids resolvable by the node resolve algorithm. ```js module.exports = { - formatter: '@commitlint/format' + formatter: '@commitlint/format' }; ``` diff --git a/docs/reference-examples.md b/docs/reference-examples.md index cd6aae28f1..42709982c0 100644 --- a/docs/reference-examples.md +++ b/docs/reference-examples.md @@ -2,14 +2,13 @@ These examples show common usages of how commitlint can be configured. - ## Validate for issue/ticket numbers In your `package.json` add: -```js +``` commitlint: { - 'rules': { + 'rules': { 'references-empty': [2, 'never'], }, parserPreset: { @@ -19,5 +18,3 @@ In your `package.json` add: }, } ``` - - diff --git a/docs/reference-plugins.md b/docs/reference-plugins.md index 3cc83dc139..a5b1bd0b0c 100644 --- a/docs/reference-plugins.md +++ b/docs/reference-plugins.md @@ -9,11 +9,11 @@ Plugins can expose additional rules for use in commitlint. To do so, the plugin ```js module.exports = { - rules: { - "dollar-sign": function(parsed, when, value) { - // rule implementation ... - } + rules: { + 'dollar-sign': function(parsed, when, value) { + // rule implementation ... } + } }; ``` @@ -26,9 +26,9 @@ The plugin support was introduced in commitlint version `7.6.0`. Ensure the `pee ```json { - "peerDependencies": { - "@commitlint/lint": ">=7.6.0" - } + "peerDependencies": { + "@commitlint/lint": ">=7.6.0" + } } ``` @@ -38,11 +38,11 @@ In order to make your plugin available to the community you have to publish it o Recommended keywords: -* `commitlint` -* `commitlintplugin` +- `commitlint` +- `commitlintplugin` Add these keywords into your `package.json` file to make it easy for others to find. ## Further Reading -* [npm Developer Guide](https://docs.npmjs.com/misc/developers) +- [npm Developer Guide](https://docs.npmjs.com/misc/developers) diff --git a/docs/reference-rules.md b/docs/reference-rules.md index 90529a748c..363b39d261 100644 --- a/docs/reference-rules.md +++ b/docs/reference-rules.md @@ -1,361 +1,431 @@ # Rules Rules are made up by a name and a configuration array. The configuration array contains: -* **Level** `[0..2]`: `0` disables the rule. For `1` it will be considered a warning for `2` an error. -* **Applicable** `always|never`: `never` inverts the rule. -* **Value**: value to use for this rule. + +- **Level** `[0..2]`: `0` disables the rule. For `1` it will be considered a warning for `2` an error. +- **Applicable** `always|never`: `never` inverts the rule. +- **Value**: value to use for this rule. Rule configurations are either of type `array` residing on a key with the rule's name as key on the rules `object` or of type function returning type `array` or `Promise`. This means all of the following notations are supported. **Plain array** -```js + +``` "rules": { "header-max-length": [0, "always", 72], } ``` + **Function returning array** -```js + +``` "rules": { "header-max-length": () => [0, "always", 72], } ``` + **Async function returning array** -```js + +``` "rules": { "header-max-length": async () => [0, "always", 72], } ``` + **Function returning a promise resolving to array** -```js + +``` "rules": { "header-max-length": () => Promise.resolve([0, "always", 72]), } ``` - ### Available rules + #### body-leading-blank -* **condition**: `body` begins with blank line -* **rule**: `always` + +- **condition**: `body` begins with blank line +- **rule**: `always` #### body-max-length -* **condition**: `body` has `value` or less characters -* **rule**: `always` -* **value** -```js - Infinity + +- **condition**: `body` has `value` or less characters +- **rule**: `always` +- **value** + +``` +Infinity ``` #### body-max-line-length -* **condition**: `body` lines has `value` or less characters -* **rule**: `always` -* **value** -```js - Infinity + +- **condition**: `body` lines has `value` or less characters +- **rule**: `always` +- **value** + +``` +Infinity ``` #### body-min-length -* **condition**: `body` has `value` or more characters -* **rule**: `always` -* **value** -```js - 0 + +- **condition**: `body` has `value` or more characters +- **rule**: `always` +- **value** + +``` +0 ``` #### footer-leading-blank -* **condition**: `footer` begins with blank line -* **rule**: `always` + +- **condition**: `footer` begins with blank line +- **rule**: `always` #### footer-max-length -* **condition**: `footer` has `value` or less characters -* **rule**: `always` -* **value** -```js - Infinity + +- **condition**: `footer` has `value` or less characters +- **rule**: `always` +- **value** + +``` +Infinity ``` #### footer-max-line-length -* **condition**: `footer` lines has `value` or less characters -* **rule**: `always` -* **value** -```js - Infinity + +- **condition**: `footer` lines has `value` or less characters +- **rule**: `always` +- **value** + +``` +Infinity ``` #### footer-min-length -* **condition**: `footer` has `value` or more characters -* **rule**: `always` -* **value** -```js - 0 + +- **condition**: `footer` has `value` or more characters +- **rule**: `always` +- **value** + +``` +0 ``` #### header-case -* **condition**: `header` is in case `value` -* **rule**: `always` -```js - 'lowerCase' -``` -* **possible values** -```js - [ - 'lower-case', // default - 'upper-case', // UPPERCASE - 'camel-case', // camelCase - 'kebab-case', // kebab-case - 'pascal-case', // PascalCase - 'sentence-case', // Sentence case - 'snake-case', // snake_case - 'start-case', // Start Case - ] + +- **condition**: `header` is in case `value` +- **rule**: `always` + +``` +'lowerCase' +``` + +- **possible values** + +``` +[ + 'lower-case', // default + 'upper-case', // UPPERCASE + 'camel-case', // camelCase + 'kebab-case', // kebab-case + 'pascal-case', // PascalCase + 'sentence-case', // Sentence case + 'snake-case', // snake_case + 'start-case' // Start Case +] ``` #### header-full-stop -* **condition**: `header` ends with `value` -* **rule**: `never` -* **value** -```js - '.' + +- **condition**: `header` ends with `value` +- **rule**: `never` +- **value** + +``` +'.' ``` #### header-max-length -* **condition**: `header` has `value` or less characters -* **rule**: `always` -* **value** -```js - 72 + +- **condition**: `header` has `value` or less characters +- **rule**: `always` +- **value** + +``` +72 ``` #### header-min-length -* **condition**: `header` has `value` or more characters -* **rule**: `always` -* **value** -```js - 0 + +- **condition**: `header` has `value` or more characters +- **rule**: `always` +- **value** + +``` +0 ``` #### references-empty -* **condition**: `references` has at least one entry -* **rule**: `never` + +- **condition**: `references` has at least one entry +- **rule**: `never` #### scope-enum -* **condition**: `scope` is found in value -* **rule**: `always` -* **value** - ```js - [] + +- **condition**: `scope` is found in value +- **rule**: `always` +- **value** + ``` + [] ``` #### scope-case -* **condition**: `scope` is in case `value` -* **rule**: `always` -```js - 'lowerCase' -``` -* **possible values** -```js - [ - 'lower-case', // default - 'upper-case', // UPPERCASE - 'camel-case', // camelCase - 'kebab-case', // kebab-case - 'pascal-case', // PascalCase - 'sentence-case', // Sentence case - 'snake-case', // snake_case - 'start-case', // Start Case - ] + +- **condition**: `scope` is in case `value` +- **rule**: `always` + +``` +'lowerCase' +``` + +- **possible values** + +``` +[ + 'lower-case', // default + 'upper-case', // UPPERCASE + 'camel-case', // camelCase + 'kebab-case', // kebab-case + 'pascal-case', // PascalCase + 'sentence-case', // Sentence case + 'snake-case', // snake_case + 'start-case' // Start Case +] ``` #### scope-empty -* **condition**: `scope` is empty -* **rule**: `never` + +- **condition**: `scope` is empty +- **rule**: `never` #### scope-max-length -* **condition**: `scope` has `value` or less characters -* **rule**: `always` -* **value** -```js - Infinity + +- **condition**: `scope` has `value` or less characters +- **rule**: `always` +- **value** + +``` +Infinity ``` #### scope-min-length -* **condition**: `scope` has `value` or more characters -* **rule**: `always` -* **value** -```js - 0 + +- **condition**: `scope` has `value` or more characters +- **rule**: `always` +- **value** + +``` +0 ``` #### subject-case -* **condition**: `subject` is in case `value` -* **rule**: `always` -```js - 'lowerCase' -``` -* **possible values** -```js - [ - 'lower-case', // default - 'upper-case', // UPPERCASE - 'camel-case', // camelCase - 'kebab-case', // kebab-case - 'pascal-case', // PascalCase - 'sentence-case', // Sentence case - 'snake-case', // snake_case - 'start-case', // Start Case - ] + +- **condition**: `subject` is in case `value` +- **rule**: `always` + +``` +'lowerCase' +``` + +- **possible values** + +``` +[ + 'lower-case', // default + 'upper-case', // UPPERCASE + 'camel-case', // camelCase + 'kebab-case', // kebab-case + 'pascal-case', // PascalCase + 'sentence-case', // Sentence case + 'snake-case', // snake_case + 'start-case' // Start Case +] ``` #### subject-empty -* **condition**: `subject` is empty -* **rule**: `never` + +- **condition**: `subject` is empty +- **rule**: `never` #### subject-full-stop -* **condition**: `subject` ends with `value` -* **rule**: `never` -* **value** -```js - '.' + +- **condition**: `subject` ends with `value` +- **rule**: `never` +- **value** + +``` +'.' ``` #### subject-max-length -* **condition**: `subject` has `value` or less characters -* **rule**: `always` -* **value** -```js - Infinity + +- **condition**: `subject` has `value` or less characters +- **rule**: `always` +- **value** + +``` +Infinity ``` #### subject-min-length -* **condition**: `subject` has `value` or more characters -* **rule**: `always` -* **value** -```js - 0 + +- **condition**: `subject` has `value` or more characters +- **rule**: `always` +- **value** + +``` +0 ``` #### type-enum -* **condition**: `type` is found in value -* **rule**: `always` -* **value** - ```js - [ - 'feat', - 'fix', - 'docs', - 'style', - 'refactor', - 'test', - 'revert' - ] + +- **condition**: `type` is found in value +- **rule**: `always` +- **value** + ``` + ['feat', 'fix', 'docs', 'style', 'refactor', 'test', 'revert'] ``` #### type-case -* **description**: `type` is in case `value` -* **rule**: `always` -* **value** - ```js - 'lower-case' + +- **description**: `type` is in case `value` +- **rule**: `always` +- **value** + ``` + 'lower-case' ``` -* **possible values** -```js - [ - 'lower-case', // default - 'upper-case', // UPPERCASE - 'camel-case', // camelCase - 'kebab-case', // kebab-case - 'pascal-case', // PascalCase - 'sentence-case', // Sentence case - 'snake-case', // snake_case - 'start-case', // Start Case - ] +- **possible values** + +``` +[ + 'lower-case', // default + 'upper-case', // UPPERCASE + 'camel-case', // camelCase + 'kebab-case', // kebab-case + 'pascal-case', // PascalCase + 'sentence-case', // Sentence case + 'snake-case', // snake_case + 'start-case' // Start Case +]; ``` #### type-empty -* **condition**: `type` is empty -* **rule**: `never` + +- **condition**: `type` is empty +- **rule**: `never` #### type-max-length -* **condition**: `type` has `value` or less characters -* **rule**: `always` -* **value** -```js - Infinity + +- **condition**: `type` has `value` or less characters +- **rule**: `always` +- **value** + +``` +Infinity ``` #### type-min-length -* **condition**: `type` has `value` or more characters -* **rule**: `always` -* **value** -```js - 0 + +- **condition**: `type` has `value` or more characters +- **rule**: `always` +- **value** + +``` +0 ``` #### signed-off-by -* **condition**: `message` has `value` -* **rule**: `always` -* **value** -```js - 'Signed-off-by:' + +- **condition**: `message` has `value` +- **rule**: `always` +- **value** + +``` +'Signed-off-by:' ``` ### Deprecated rules #### body-tense `deprecated` -* **condition**: `body` is verbalized in tense present in `value` -* **rule**: `always` -* **value** -```js - ['present-imperative'] -``` -* **possible values** -```js - [ - 'past-tense', // did - 'present-imperative', // do - 'present-participle', // doing - 'present-third-person' // does - ] + +- **condition**: `body` is verbalized in tense present in `value` +- **rule**: `always` +- **value** + +``` +['present-imperative'] +``` + +- **possible values** + +``` +[ + 'past-tense', // did + 'present-imperative', // do + 'present-participle', // doing + 'present-third-person' // does +] ``` #### footer-tense `deprecated` -* **condition**: `footer` is verbalized in tense present in `value` -* **rule**: `always` -* **value** -```js - ['present-imperative'] -``` -* **possible values** -```js - [ - 'past-tense', // did - 'present-imperative', // do - 'present-participle', // doing - 'present-third-person' // does - ] + +- **condition**: `footer` is verbalized in tense present in `value` +- **rule**: `always` +- **value** + +``` +['present-imperative'] +``` + +- **possible values** + +``` +[ + 'past-tense', // did + 'present-imperative', // do + 'present-participle', // doing + 'present-third-person' // does +] ``` #### lang `deprecated` -* **condition**: `subject` is of language `value` -* **rule**: `always` -* **value** -```js - eng + +- **condition**: `subject` is of language `value` +- **rule**: `always` +- **value** + +``` +eng ``` #### subject-tense `deprecated` -* **condition**: `subject` is verbalized in tense present in `value` -* **rule**: `always` -* **value** -```js - ['present-imperative'] -``` -* **possible values** -```js - [ - 'past-tense', // did - 'present-imperative', // do - 'present-participle', // doing - 'present-third-person' // does - ] + +- **condition**: `subject` is verbalized in tense present in `value` +- **rule**: `always` +- **value** + +``` +['present-imperative'] +``` + +- **possible values** + +``` +[ + 'past-tense', // did + 'present-imperative', // do + 'present-participle', // doing + 'present-third-person' // does +] ``` diff --git a/package.json b/package.json index a7f6daf8bb..31e4d0fb7d 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "deps": "lerna run deps", "pkg": "lerna run pkg", "docs": "docsify serve docs", - "lint": "prettier @{alias,commitlint,packages}/**/*.{ts,js} -l", + "lint": "prettier **/*.{ts,js,json,yml,md} -l", "publish": "lerna publish --conventional-commits", "reinstall": "yarn clean && yarn install", "start": "lerna run start --stream --parallel --include-filtered-dependencies", @@ -26,18 +26,19 @@ ] }, "prettier": { - "useTabs": true, "singleQuote": true, "bracketSpacing": false }, "lint-staged": { - "*.{ts,js}": [ + "*.{ts,js,json,yml,md}": [ "prettier --write" ] }, "renovate": { "rangeStrategy": "update-lockfile", - "ignorePaths": ["**/fixtures/**/package.json"], + "ignorePaths": [ + "**/fixtures/**/package.json" + ], "extends": [ "config:base", ":semanticCommitType(chore)", diff --git a/tsconfig.json b/tsconfig.json index ca6f018b3d..ca6bc60377 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,23 +1,23 @@ { - "files": [], - "include": [], - "extends": "./tsconfig.shared.json", - "references": [ - { "path": "@packages/test-environment" }, - { "path": "@packages/test" }, - { "path": "@commitlint/ensure" }, - { "path": "@commitlint/execute-rule" }, - { "path": "@commitlint/format" }, - { "path": "@commitlint/is-ignored" }, - { "path": "@commitlint/load" }, - { "path": "@commitlint/message" }, - { "path": "@commitlint/parse" }, - { "path": "@commitlint/resolve-extends" }, - { "path": "@commitlint/to-lines" }, - { "path": "@commitlint/top-level" }, - { "path": "@commitlint/read" }, - { "path": "@commitlint/rules" }, - { "path": "@commitlint/lint" }, - { "path": "@commitlint/core" }, - ] + "files": [], + "include": [], + "extends": "./tsconfig.shared.json", + "references": [ + {"path": "@packages/test-environment"}, + {"path": "@packages/test"}, + {"path": "@commitlint/ensure"}, + {"path": "@commitlint/execute-rule"}, + {"path": "@commitlint/format"}, + {"path": "@commitlint/is-ignored"}, + {"path": "@commitlint/load"}, + {"path": "@commitlint/message"}, + {"path": "@commitlint/parse"}, + {"path": "@commitlint/resolve-extends"}, + {"path": "@commitlint/to-lines"}, + {"path": "@commitlint/top-level"}, + {"path": "@commitlint/read"}, + {"path": "@commitlint/rules"}, + {"path": "@commitlint/lint"}, + {"path": "@commitlint/core"} + ] } diff --git a/tsconfig.shared.json b/tsconfig.shared.json index 9567130005..ad1bb5892d 100644 --- a/tsconfig.shared.json +++ b/tsconfig.shared.json @@ -1,23 +1,23 @@ { - "compilerOptions": { - "target": "ES2017", - "lib": ["es2017"], - "declaration": true, - "declarationMap": true, - "sourceMap": true, - "module": "commonjs", - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "strict": true, - "allowUnreachableCode": false, - "allowUnusedLabels": false, - "noUnusedLocals": true, - "noUnusedParameters": true, - "forceConsistentCasingInFileNames": true, - "keyofStringsOnly": true, - "noFallthroughCasesInSwitch": true, - "isolatedModules": true, - "skipLibCheck": true, - "downlevelIteration": true - } + "compilerOptions": { + "target": "ES2017", + "lib": ["es2017"], + "declaration": true, + "declarationMap": true, + "sourceMap": true, + "module": "commonjs", + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "strict": true, + "allowUnreachableCode": false, + "allowUnusedLabels": false, + "noUnusedLocals": true, + "noUnusedParameters": true, + "forceConsistentCasingInFileNames": true, + "keyofStringsOnly": true, + "noFallthroughCasesInSwitch": true, + "isolatedModules": true, + "skipLibCheck": true, + "downlevelIteration": true + } } From 97d77570d82378e1f73c37dc616e7c00ef4ef4c7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 7 Feb 2020 07:32:25 +1100 Subject: [PATCH 0072/2192] chore: update dependency @types/jest to v25.1.2 (#963) Co-authored-by: WhiteSource Renovate --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 31e4d0fb7d..0fd5a5f6ee 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "devDependencies": { "@lerna/project": "3.18.0", "@types/node": "12.12.26", - "@types/jest": "25.1.1", + "@types/jest": "25.1.2", "docsify-cli": "^4.4.0", "husky": "4.2.1", "jest": "25.1.0", diff --git a/yarn.lock b/yarn.lock index 5d6dac6595..4fe524d634 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2018,10 +2018,10 @@ "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" -"@types/jest@25.1.1": - version "25.1.1" - resolved "https://registry.npmjs.org/@types/jest/-/jest-25.1.1.tgz#dcf65a8ee315b91ad39c0d358ae0ddc5602ab0e9" - integrity sha512-bKSZJYZJLzwaoVYNN4W3A0RvKNYsrLm5tsuXaMlfYDxKf4gY2sFrMYneCugNQWGg1gjPW+FHBwNrwPzEi4sIsw== +"@types/jest@25.1.2": + version "25.1.2" + resolved "https://registry.npmjs.org/@types/jest/-/jest-25.1.2.tgz#1c4c8770c27906c7d8def5d2033df9dbd39f60da" + integrity sha512-EsPIgEsonlXmYV7GzUqcvORsSS9Gqxw/OvkGwHfAdpjduNRxMlhsav0O5Kb0zijc/eXSO/uW6SJt9nwull8AUQ== dependencies: jest-diff "^25.1.0" pretty-format "^25.1.0" From a595575f3f015164cf6583649cd134c765dd33a9 Mon Sep 17 00:00:00 2001 From: Armano Date: Thu, 6 Feb 2020 21:55:49 +0100 Subject: [PATCH 0073/2192] test: update execa cli calls (#964) --- @commitlint/cli/package.json | 3 +-- @commitlint/cli/src/cli.test.js | 6 ++---- @commitlint/prompt-cli/cli.test.js | 6 ++---- @commitlint/prompt-cli/package.json | 3 +-- yarn.lock | 9 +-------- 5 files changed, 7 insertions(+), 20 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 3b24c8e877..b2a1bc330a 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -51,8 +51,7 @@ "babel-preset-commitlint": "^8.2.0", "cross-env": "7.0.0", "execa": "0.11.0", - "fs-extra": "^8.1.0", - "string-to-stream": "3.0.1" + "fs-extra": "^8.1.0" }, "dependencies": { "@commitlint/format": "^8.3.4", diff --git a/@commitlint/cli/src/cli.test.js b/@commitlint/cli/src/cli.test.js index c99a710007..36e2d79886 100644 --- a/@commitlint/cli/src/cli.test.js +++ b/@commitlint/cli/src/cli.test.js @@ -3,18 +3,16 @@ import {fix, git} from '@commitlint/test'; import execa from 'execa'; import merge from 'lodash/merge'; import fs from 'fs-extra'; -import stream from 'string-to-stream'; const bin = require.resolve('../lib/cli.js'); const cli = (args, options) => { return (input = '') => { const c = execa(bin, args, { - capture: ['stdout'], cwd: options.cwd, - env: options.env + env: options.env, + input: input }); - stream(input).pipe(c.stdin); return c.catch(err => err); }; }; diff --git a/@commitlint/prompt-cli/cli.test.js b/@commitlint/prompt-cli/cli.test.js index 3e896c6553..3ad7c8fead 100644 --- a/@commitlint/prompt-cli/cli.test.js +++ b/@commitlint/prompt-cli/cli.test.js @@ -1,17 +1,15 @@ import {git} from '@commitlint/test'; import execa from 'execa'; -import stream from 'string-to-stream'; const bin = require.resolve('./cli.js'); const cli = (args, options) => { return (input = '') => { const c = execa(bin, args, { - capture: ['stdout'], cwd: options.cwd, - env: options.env + env: options.env, + input: input }); - stream(input).pipe(c.stdin); return c.catch(err => err); }; }; diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 7ff2ed2775..c11beb6331 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -32,8 +32,7 @@ }, "devDependencies": { "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4", - "string-to-stream": "3.0.1" + "@commitlint/utils": "^8.3.4" }, "dependencies": { "@commitlint/prompt": "^8.3.5", diff --git a/yarn.lock b/yarn.lock index 4fe524d634..17d83c7776 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8038,7 +8038,7 @@ read@1, read@~1.0.1: string_decoder "~1.1.1" util-deprecate "~1.0.1" -"readable-stream@2 || 3", readable-stream@^3.0.1, readable-stream@^3.0.2, readable-stream@^3.1.1, readable-stream@^3.4.0: +"readable-stream@2 || 3", readable-stream@^3.0.1, readable-stream@^3.0.2, readable-stream@^3.1.1: version "3.4.0" resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.4.0.tgz#a51c26754658e0a3c21dbf59163bd45ba6f447fc" integrity sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ== @@ -8904,13 +8904,6 @@ string-length@^3.1.0: astral-regex "^1.0.0" strip-ansi "^5.2.0" -string-to-stream@3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/string-to-stream/-/string-to-stream-3.0.1.tgz#480e6fb4d5476d31cb2221f75307a5dcb6638a42" - integrity sha512-Hl092MV3USJuUCC6mfl9sPzGloA3K5VwdIeJjYIkXY/8K+mUvaeEabWJgArp+xXrsWxCajeT2pc4axbVhIZJyg== - dependencies: - readable-stream "^3.4.0" - string-width@^1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" From b27ab08544373cfb72a4808756e2e8126ea96a97 Mon Sep 17 00:00:00 2001 From: Gavin Sharp Date: Thu, 6 Feb 2020 16:35:55 -0500 Subject: [PATCH 0074/2192] fix: drop support for 'improvement' type (#899) The 'improvement' type was never added to the spec, and isn't supported by other tools in the ecosystem. BREAKING CHANGE: 'improvement' type will now be rejected by this config. --- @commitlint/config-conventional/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/@commitlint/config-conventional/index.js b/@commitlint/config-conventional/index.js index bec8fc77f3..2f84ceed08 100644 --- a/@commitlint/config-conventional/index.js +++ b/@commitlint/config-conventional/index.js @@ -24,7 +24,6 @@ module.exports = { 'docs', 'feat', 'fix', - 'improvement', 'perf', 'refactor', 'revert', From 96e81a5b5ffcd2192a6a20ffb0d5efbd369ac5a3 Mon Sep 17 00:00:00 2001 From: Armano Date: Thu, 6 Feb 2020 22:52:08 +0100 Subject: [PATCH 0075/2192] refactor: simplify commitlint alias package (#965) --- @alias/commitlint/cli.js | 11 ++------ @alias/commitlint/cli.test.js | 28 +++++++++++++++++++ .../fixtures/default/commitlint.config.js | 5 ++++ @alias/commitlint/package.json | 7 ++--- jest.config.js | 3 +- 5 files changed, 40 insertions(+), 14 deletions(-) create mode 100644 @alias/commitlint/cli.test.js create mode 100644 @alias/commitlint/fixtures/default/commitlint.config.js diff --git a/@alias/commitlint/cli.js b/@alias/commitlint/cli.js index 6fd6c3ff4a..caf2882a70 100755 --- a/@alias/commitlint/cli.js +++ b/@alias/commitlint/cli.js @@ -1,10 +1,3 @@ #!/usr/bin/env node -const path = require('path'); -const resolvePkg = require('resolve-pkg'); -const readPkg = require('read-pkg'); - -const pkgDir = resolvePkg('@commitlint/cli', {cwd: __dirname}); -const manifest = readPkg.sync({cwd: pkgDir}); -const bin = path.join(pkgDir, manifest.bin.commitlint); - -require(bin); +const pkgDir = require('@commitlint/cli'); +require(pkgDir); diff --git a/@alias/commitlint/cli.test.js b/@alias/commitlint/cli.test.js new file mode 100644 index 0000000000..ad5110be83 --- /dev/null +++ b/@alias/commitlint/cli.test.js @@ -0,0 +1,28 @@ +import execa from 'execa'; +import {fix} from '@commitlint/test'; + +const bin = require.resolve('./cli.js'); + +function cli(args, options, input) { + const c = execa(bin, args, { + cwd: options.cwd, + env: options.env, + input: input + }); + return c.catch(err => err); +} + +const fixBootstrap = fixture => fix.bootstrap(fixture, __dirname); + +test('should reprint input from stdin', async () => { + const cwd = await fixBootstrap('fixtures/default'); + const actual = await cli([], {cwd}, 'foo: bar'); + expect(actual.stdout).toContain('foo: bar'); +}); + +test('should produce success output with --verbose flag', async () => { + const cwd = await fixBootstrap('fixtures/default'); + const actual = await cli(['--verbose'], {cwd}, 'type: bar'); + expect(actual.stdout).toContain('0 problems, 0 warnings'); + expect(actual.stderr).toEqual(''); +}); diff --git a/@alias/commitlint/fixtures/default/commitlint.config.js b/@alias/commitlint/fixtures/default/commitlint.config.js new file mode 100644 index 0000000000..b6775fef5b --- /dev/null +++ b/@alias/commitlint/fixtures/default/commitlint.config.js @@ -0,0 +1,5 @@ +module.exports = { + rules: { + 'type-enum': [2, 'never', ['foo']] + } +}; diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index e605120c04..085f3985b9 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -34,11 +34,10 @@ }, "license": "MIT", "dependencies": { - "@commitlint/cli": "^8.3.5", - "read-pkg": "5.2.0", - "resolve-pkg": "2.0.0" + "@commitlint/cli": "^8.3.5" }, "devDependencies": { - "@commitlint/utils": "^8.3.4" + "@commitlint/utils": "^8.3.4", + "@commitlint/test": "8.2.0" } } diff --git a/jest.config.js b/jest.config.js index c21326e247..319d21f2d3 100644 --- a/jest.config.js +++ b/jest.config.js @@ -5,6 +5,7 @@ module.exports = { testMatch: [ '**/*.test.ts?(x)', '**/@commitlint/{lint,read,travis-cli,cli,load,prompt}/src/**/*.test.js?(x)', - '**/@commitlint/{prompt-cli,config-lerna-scopes}/*.test.js?(x)' + '**/@commitlint/{prompt-cli,config-lerna-scopes}/*.test.js?(x)', + '**/@alias/commitlint/*.test.js?(x)' ] }; From efa55c7c3e1d4c0566bb200655bb02a5c4e02e50 Mon Sep 17 00:00:00 2001 From: Armano Date: Thu, 6 Feb 2020 22:52:34 +0100 Subject: [PATCH 0076/2192] chore: update lerna commands (#966) --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 0fd5a5f6ee..29b71f7dd1 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "version": "1.0.0", "license": "MIT", "scripts": { - "build": "tsc -b && lerna run build --stream --parallel --include-filtered-dependencies", - "watch": "lerna run watch --stream --parallel --include-filtered-dependencies", + "build": "tsc -b && lerna run build --stream --parallel --include-dependencies", + "watch": "lerna run watch --stream --parallel --include-dependencies", "clean": "tsc -b --clean && lerna clean --yes && lerna exec 'git clean -xdf lib' && git clean -xdf node_modules", "commit": "node @commitlint/prompt-cli/cli.js", "deps": "lerna run deps", @@ -15,9 +15,9 @@ "lint": "prettier **/*.{ts,js,json,yml,md} -l", "publish": "lerna publish --conventional-commits", "reinstall": "yarn clean && yarn install", - "start": "lerna run start --stream --parallel --include-filtered-dependencies", - "test": "jest && lerna run test --stream --parallel --include-filtered-dependencies", - "test-ci": "jest --runInBand && lerna run test --stream --parallel --include-filtered-dependencies" + "start": "lerna run start --stream --parallel --include-dependencies", + "test": "jest && lerna run test --stream --parallel --include-dependencies", + "test-ci": "jest --runInBand && lerna run test --stream --parallel --include-dependencies" }, "commitlint": { "extends": [ From c44adfd3610a8977702befa59e220b4a01bf6419 Mon Sep 17 00:00:00 2001 From: Armano Date: Fri, 7 Feb 2020 05:29:53 +0100 Subject: [PATCH 0077/2192] chore: remove unused eslint-disable comments (#970) --- @commitlint/cli/src/cli.js | 4 ++-- @commitlint/prompt/src/index.js | 1 - @commitlint/prompt/src/input.js | 2 -- @packages/utils/pkg-check.js | 8 ++++---- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/@commitlint/cli/src/cli.js b/@commitlint/cli/src/cli.js index 5ed1444564..6ad0710816 100755 --- a/@commitlint/cli/src/cli.js +++ b/@commitlint/cli/src/cli.js @@ -1,6 +1,6 @@ #!/usr/bin/env node -import 'core-js/stable'; // eslint-disable-line import/no-unassigned-import -import 'regenerator-runtime/runtime'; // eslint-disable-line import/no-unassigned-import +import 'core-js/stable'; +import 'regenerator-runtime/runtime'; import load from '@commitlint/load'; import lint from '@commitlint/lint'; diff --git a/@commitlint/prompt/src/index.js b/@commitlint/prompt/src/index.js index 0aa619bfd5..137c473830 100644 --- a/@commitlint/prompt/src/index.js +++ b/@commitlint/prompt/src/index.js @@ -1,4 +1,3 @@ -/* eslint-disable import/no-unassigned-import, import/prefer-default-export */ import vorpal from 'vorpal'; import input from './input'; diff --git a/@commitlint/prompt/src/input.js b/@commitlint/prompt/src/input.js index 6ea40c92b1..45a49db145 100644 --- a/@commitlint/prompt/src/input.js +++ b/@commitlint/prompt/src/input.js @@ -8,7 +8,6 @@ import settings from './settings'; export default input; -/* eslint-disable valid-jsdoc */ /** * Get user input by interactive prompt based on * conventional-changelog-lint rules. @@ -48,7 +47,6 @@ async function input(prompter) { } results[input] = await getPrompt(input, { - // eslint-disable-line no-await-in-loop rules: inputRules, settings: inputSettings, results, diff --git a/@packages/utils/pkg-check.js b/@packages/utils/pkg-check.js index 9cc5c7bd8a..e508c3e349 100755 --- a/@packages/utils/pkg-check.js +++ b/@packages/utils/pkg-check.js @@ -91,10 +91,10 @@ function main(cli) { } return { - pkg: pkg, // eslint-disable-line object-shorthand - pkgFiles: pkgFiles, // eslint-disable-line object-shorthand + pkg: pkg, + pkgFiles: pkgFiles, files: tarball.files, - problems: problems // eslint-disable-line object-shorthand + problems: problems }; }); }); @@ -165,7 +165,7 @@ function getArchiveFiles(filePath, options) { .once('finish', () => resolve({ dirname: path.join(path.dirname(filePath), 'package'), - files: files // eslint-disable-line object-shorthand + files: files }) ); }); From 421a46d519e6778effa5845fbbcabc4d7d5267c3 Mon Sep 17 00:00:00 2001 From: Armano Date: Fri, 7 Feb 2020 05:30:22 +0100 Subject: [PATCH 0078/2192] test: fix not awaited parse tests (#971) --- @commitlint/parse/src/index.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/@commitlint/parse/src/index.test.ts b/@commitlint/parse/src/index.test.ts index 5e0f980026..591bcc69ce 100644 --- a/@commitlint/parse/src/index.test.ts +++ b/@commitlint/parse/src/index.test.ts @@ -1,12 +1,12 @@ import importFrom from 'import-from'; import parse from '.'; -test('throws when called without params', () => { - expect((parse as any)()).rejects.toThrowError('Expected a raw commit'); +test('throws when called without params', async () => { + await expect((parse as any)()).rejects.toThrowError('Expected a raw commit'); }); -test('throws when called with empty message', () => { - expect(parse('')).rejects.toThrowError('Expected a raw commit'); +test('throws when called with empty message', async () => { + await expect(parse('')).rejects.toThrowError('Expected a raw commit'); }); test('returns object with raw message', async () => { From 061b0eb9a856229e9434df603b4b85a691dfadf5 Mon Sep 17 00:00:00 2001 From: Armano Date: Fri, 7 Feb 2020 05:31:16 +0100 Subject: [PATCH 0079/2192] test: disable babel build for tests and simplify jest config (#969) --- @commitlint/cli/package.json | 3 +++ @commitlint/prompt/package.json | 3 +++ @commitlint/read/package.json | 3 +++ @commitlint/travis-cli/package.json | 3 +++ jest.config.js | 7 +------ 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index b2a1bc330a..06e79b24fd 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -20,6 +20,9 @@ "babel": { "presets": [ "babel-preset-commitlint" + ], + "ignore": [ + "**/*.test.js" ] }, "engines": { diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index b267f5841d..62d7599354 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -17,6 +17,9 @@ "babel": { "presets": [ "commitlint" + ], + "ignore": [ + "**/*.test.js" ] }, "config": { diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 7a5b38f748..5b77a67c8e 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -14,6 +14,9 @@ "babel": { "presets": [ "babel-preset-commitlint" + ], + "ignore": [ + "**/*.test.js" ] }, "engines": { diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 830de1b615..f1fa12241f 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -18,6 +18,9 @@ "babel": { "presets": [ "babel-preset-commitlint" + ], + "ignore": [ + "**/*.test.js" ] }, "engines": { diff --git a/jest.config.js b/jest.config.js index 319d21f2d3..ac0123951a 100644 --- a/jest.config.js +++ b/jest.config.js @@ -2,10 +2,5 @@ module.exports = { preset: 'ts-jest/presets/js-with-babel', testEnvironment: '@commitlint/test-environment', testRegex: undefined, - testMatch: [ - '**/*.test.ts?(x)', - '**/@commitlint/{lint,read,travis-cli,cli,load,prompt}/src/**/*.test.js?(x)', - '**/@commitlint/{prompt-cli,config-lerna-scopes}/*.test.js?(x)', - '**/@alias/commitlint/*.test.js?(x)' - ] + testMatch: ['**/*.test.[jt]s?(x)'] }; From 166cbb78c9abf2826ecc2660b4e9e0073e438f4f Mon Sep 17 00:00:00 2001 From: Armano Date: Fri, 7 Feb 2020 05:36:11 +0100 Subject: [PATCH 0080/2192] refactor: use builtin Object.values instead of lodash/values (#968) * refactor: use builtin Object.values instead of lodash * chore: plugin type can be now correctly inherited --- @commitlint/ensure/src/index.test.ts | 3 +-- @commitlint/lint/src/lint.ts | 4 +--- @commitlint/rules/package.json | 4 +--- @commitlint/rules/src/index.test.ts | 3 +-- @packages/utils/package.json | 1 - @packages/utils/pkg-check.js | 3 +-- 6 files changed, 5 insertions(+), 13 deletions(-) diff --git a/@commitlint/ensure/src/index.test.ts b/@commitlint/ensure/src/index.test.ts index 73097266ee..21e3147f31 100644 --- a/@commitlint/ensure/src/index.test.ts +++ b/@commitlint/ensure/src/index.test.ts @@ -1,6 +1,5 @@ import path from 'path'; import globby from 'globby'; -import values from 'lodash/values'; import camelCase from 'lodash/camelCase'; import * as ensure from '.'; @@ -15,7 +14,7 @@ test('exports all checkers', async () => { }); test('rules export functions', () => { - const actual = values(ensure); + const actual = Object.values(ensure); expect(actual.every(rule => typeof rule === 'function')).toBe(true); }); diff --git a/@commitlint/lint/src/lint.ts b/@commitlint/lint/src/lint.ts index fb3985734b..5ac511d9fa 100644 --- a/@commitlint/lint/src/lint.ts +++ b/@commitlint/lint/src/lint.ts @@ -3,14 +3,12 @@ import isIgnored from '@commitlint/is-ignored'; import parse from '@commitlint/parse'; import defaultRules from '@commitlint/rules'; import toPairs from 'lodash/toPairs'; -import values from 'lodash/values'; import {buildCommitMesage} from './commit-message'; import { LintRuleConfig, LintOptions, LintRuleOutcome, Rule, - Plugin, RuleSeverity } from '@commitlint/types'; @@ -43,7 +41,7 @@ export default async function lint( ); if (opts.plugins) { - values(opts.plugins).forEach((plugin: Plugin) => { + Object.values(opts.plugins).forEach(plugin => { if (plugin.rules) { Object.keys(plugin.rules).forEach(ruleKey => allRules.set(ruleKey, plugin.rules[ruleKey]) diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index a95fc8bf49..3cee9a2dab 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -37,10 +37,8 @@ "@commitlint/parse": "^8.3.4", "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "@types/lodash": "4.14.149", "conventional-changelog-angular": "5.0.6", - "globby": "^11.0.0", - "lodash": "^4.17.15" + "globby": "^11.0.0" }, "dependencies": { "@commitlint/ensure": "^8.3.4", diff --git a/@commitlint/rules/src/index.test.ts b/@commitlint/rules/src/index.test.ts index 9ee9603da2..273eb9e49c 100644 --- a/@commitlint/rules/src/index.test.ts +++ b/@commitlint/rules/src/index.test.ts @@ -1,6 +1,5 @@ import path from 'path'; import globby from 'globby'; -import values from 'lodash/values'; import rules from '.'; test('exports all rules', async () => { @@ -10,7 +9,7 @@ test('exports all rules', async () => { }); test('rules export functions', () => { - const actual = values(rules); + const actual = Object.values(rules); expect(actual.every(rule => typeof rule === 'function')).toBe(true); }); diff --git a/@packages/utils/package.json b/@packages/utils/package.json index c04d775bfb..cc2285a2f1 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -39,7 +39,6 @@ "@commitlint/test": "8.2.0", "execa": "0.11.0", "is-builtin-module": "3.0.0", - "lodash": "^4.17.15", "meow": "4.0.1", "read-pkg": "5.2.0", "require-from-string": "2.0.2", diff --git a/@packages/utils/pkg-check.js b/@packages/utils/pkg-check.js index e508c3e349..e3cada9483 100755 --- a/@packages/utils/pkg-check.js +++ b/@packages/utils/pkg-check.js @@ -8,7 +8,6 @@ const meow = require('meow'); const readPkg = require('read-pkg'); const requireFromString = require('require-from-string'); const tar = require('tar-fs'); -const values = require('lodash/values'); const {fix} = require('@commitlint/test'); const builtin = require.resolve('is-builtin-module'); @@ -198,7 +197,7 @@ function getPkgBinFiles(bin) { } if (typeof bin === 'object') { - return values(bin).map(b => path.normalize(b)); + return Object.values(bin).map(b => path.normalize(b)); } } From 3d0c79f9e0652fdff7d2c8c7d8cc874deb5a2143 Mon Sep 17 00:00:00 2001 From: Armano Date: Fri, 7 Feb 2020 22:08:22 +0100 Subject: [PATCH 0081/2192] test(parse): remove import-from package from tests (#967) --- @commitlint/lint/package.json | 6 +-- .../parser-preset/commitlint.config.js | 5 --- .../conventional-changelog-custom.js | 5 --- @commitlint/parse/package.json | 3 +- @commitlint/parse/src/index.test.ts | 37 ++++++++----------- 5 files changed, 17 insertions(+), 39 deletions(-) delete mode 100644 @commitlint/parse/fixtures/parser-preset/commitlint.config.js delete mode 100644 @commitlint/parse/fixtures/parser-preset/conventional-changelog-custom.js diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 4b7b230e3a..3337194e8f 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -34,12 +34,8 @@ }, "license": "MIT", "devDependencies": { - "@babel/cli": "^7.7.7", - "@babel/core": "^7.7.7", "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4", - "babel-preset-commitlint": "^8.2.0", - "cross-env": "7.0.0" + "@commitlint/utils": "^8.3.4" }, "dependencies": { "@commitlint/is-ignored": "^8.3.5", diff --git a/@commitlint/parse/fixtures/parser-preset/commitlint.config.js b/@commitlint/parse/fixtures/parser-preset/commitlint.config.js deleted file mode 100644 index 3acdc98aa8..0000000000 --- a/@commitlint/parse/fixtures/parser-preset/commitlint.config.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - parserOpts: { - parserPreset: './conventional-changelog-custom' - } -}; diff --git a/@commitlint/parse/fixtures/parser-preset/conventional-changelog-custom.js b/@commitlint/parse/fixtures/parser-preset/conventional-changelog-custom.js deleted file mode 100644 index 389f7feab5..0000000000 --- a/@commitlint/parse/fixtures/parser-preset/conventional-changelog-custom.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = Promise.resolve().then(() => ({ - parserOpts: { - headerPattern: /^(\w*)(?:\((.*)\))?-(.*)$/ - } -})); diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 8fc6cd9472..4104d1f5de 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -36,8 +36,7 @@ "devDependencies": { "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", - "@types/lodash": "4.14.149", - "import-from": "3.0.0" + "@types/lodash": "4.14.149" }, "dependencies": { "conventional-changelog-angular": "^5.0.0", diff --git a/@commitlint/parse/src/index.test.ts b/@commitlint/parse/src/index.test.ts index 591bcc69ce..9210d4e988 100644 --- a/@commitlint/parse/src/index.test.ts +++ b/@commitlint/parse/src/index.test.ts @@ -1,4 +1,3 @@ -import importFrom from 'import-from'; import parse from '.'; test('throws when called without params', async () => { @@ -81,10 +80,11 @@ test('uses angular grammar', async () => { test('uses custom opts parser', async () => { const message = 'type(scope)-subject'; - const changelogOpts: any = await importFrom( - __dirname, - '../fixtures/parser-preset/conventional-changelog-custom.js' - ); + const changelogOpts = { + parserOpts: { + headerPattern: /^(\w*)(?:\((.*)\))?-(.*)$/ + } + }; const actual = await parse(message, undefined, changelogOpts.parserOpts); const expected = { body: null, @@ -145,13 +145,11 @@ test('supports scopes with / and empty parserOpts', async () => { test('ignores comments', async () => { const message = 'type(some/scope): subject\n# some comment'; - const changelogOpts: any = await importFrom( - process.cwd(), - 'conventional-changelog-angular' - ); - const opts = Object.assign({}, changelogOpts.parserOpts, { + const changelogOpts = await require('conventional-changelog-angular'); + const opts = { + ...changelogOpts.parserOpts, commentChar: '#' - }); + }; const actual = await parse(message, undefined, opts); expect(actual.body).toBe(null); @@ -162,13 +160,11 @@ test('ignores comments', async () => { test('registers inline #', async () => { const message = 'type(some/scope): subject #reference\n# some comment\nthings #reference'; - const changelogOpts: any = await importFrom( - process.cwd(), - 'conventional-changelog-angular' - ); - const opts = Object.assign({}, changelogOpts.parserOpts, { + const changelogOpts = await require('conventional-changelog-angular'); + const opts = { + ...changelogOpts.parserOpts, commentChar: '#' - }); + }; const actual = await parse(message, undefined, opts); expect(actual.subject).toBe('subject #reference'); @@ -177,13 +173,10 @@ test('registers inline #', async () => { test('parses references leading subject', async () => { const message = '#1 some subject'; - const opts = await importFrom( - process.cwd(), - 'conventional-changelog-angular' - ); + const opts = await require('conventional-changelog-angular'); const { references: [actual] - } = await parse(message, undefined, opts as any); + } = await parse(message, undefined, opts); expect(actual.issue).toBe('1'); }); From 908ff5247ed4759f72b2f71e97c3ef0a138c23d8 Mon Sep 17 00:00:00 2001 From: Armano Date: Fri, 7 Feb 2020 22:08:52 +0100 Subject: [PATCH 0082/2192] refactor: use native Object.entries instead of lodash/toPairs (#973) --- @commitlint/lint/package.json | 3 +-- @commitlint/lint/src/lint.ts | 5 ++--- @commitlint/load/src/load.ts | 3 +-- @commitlint/prompt/src/library/format.js | 3 +-- @commitlint/prompt/src/library/meta.js | 3 +-- 5 files changed, 6 insertions(+), 11 deletions(-) diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 3337194e8f..a53dc2294c 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -41,7 +41,6 @@ "@commitlint/is-ignored": "^8.3.5", "@commitlint/parse": "^8.3.4", "@commitlint/rules": "^8.3.4", - "@commitlint/types": "^8.3.4", - "lodash": "^4.17.15" + "@commitlint/types": "^8.3.4" } } diff --git a/@commitlint/lint/src/lint.ts b/@commitlint/lint/src/lint.ts index 5ac511d9fa..f216c7996e 100644 --- a/@commitlint/lint/src/lint.ts +++ b/@commitlint/lint/src/lint.ts @@ -2,7 +2,6 @@ import util from 'util'; import isIgnored from '@commitlint/is-ignored'; import parse from '@commitlint/parse'; import defaultRules from '@commitlint/rules'; -import toPairs from 'lodash/toPairs'; import {buildCommitMesage} from './commit-message'; import { LintRuleConfig, @@ -64,7 +63,7 @@ export default async function lint( ); } - const invalid = toPairs(rulesConfig) + const invalid = Object.entries(rulesConfig) .map(([name, config]) => { if (!Array.isArray(config)) { return new Error( @@ -131,7 +130,7 @@ export default async function lint( } // Validate against all rules - const results = toPairs(rulesConfig) + const results = Object.entries(rulesConfig) .filter(([, [level]]) => level > 0) .map(entry => { const [name, config] = entry; diff --git a/@commitlint/load/src/load.ts b/@commitlint/load/src/load.ts index 7f03536529..ae083b0692 100644 --- a/@commitlint/load/src/load.ts +++ b/@commitlint/load/src/load.ts @@ -1,6 +1,5 @@ import Path from 'path'; -import toPairs from 'lodash/toPairs'; import merge from 'lodash/merge'; import mergeWith from 'lodash/mergeWith'; import pick from 'lodash/pick'; @@ -94,7 +93,7 @@ export default async function load( const rules = preset.rules ? preset.rules : {}; const qualifiedRules = (await Promise.all( - toPairs(rules || {}).map(entry => executeRule(entry)) + Object.entries(rules || {}).map(entry => executeRule(entry)) )).reduce((registry, item) => { const [key, value] = item as any; (registry as any)[key] = value; diff --git a/@commitlint/prompt/src/library/format.js b/@commitlint/prompt/src/library/format.js index dfab8add54..75919e1ba5 100644 --- a/@commitlint/prompt/src/library/format.js +++ b/@commitlint/prompt/src/library/format.js @@ -1,5 +1,4 @@ import chalk from 'chalk'; -import toPairs from 'lodash/toPairs'; export default format; @@ -11,7 +10,7 @@ export default format; */ function format(input, debug = false) { const results = debug - ? toPairs(input).reduce((registry, item) => { + ? Object.entries(input || {}).reduce((registry, item) => { const [name, value] = item; registry[name] = value === null ? chalk.grey(`<${name}>`) : chalk.bold(value); diff --git a/@commitlint/prompt/src/library/meta.js b/@commitlint/prompt/src/library/meta.js index f463734efb..bf278bbb5d 100644 --- a/@commitlint/prompt/src/library/meta.js +++ b/@commitlint/prompt/src/library/meta.js @@ -1,5 +1,4 @@ import chalk from 'chalk'; -import toPairs from 'lodash/toPairs'; /** * Get formatted meta hints for configuration @@ -8,7 +7,7 @@ import toPairs from 'lodash/toPairs'; */ export default function meta(settings) { return chalk.grey( - toPairs(settings) + Object.entries(settings || {}) .filter(item => item[1]) .map(item => { const [name, value] = item; From 517b8b2241f914ecdd6d8129bec73bc36591f63a Mon Sep 17 00:00:00 2001 From: Armano Date: Fri, 7 Feb 2020 22:09:09 +0100 Subject: [PATCH 0083/2192] refactor: use native Array.isArray instead of lodash/isArray (#974) --- @commitlint/parse/src/index.ts | 3 +-- @commitlint/resolve-extends/src/index.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/@commitlint/parse/src/index.ts b/@commitlint/parse/src/index.ts index 8074362dc2..846253f109 100644 --- a/@commitlint/parse/src/index.ts +++ b/@commitlint/parse/src/index.ts @@ -1,5 +1,4 @@ import mergeWith from 'lodash/mergeWith'; -import isArray from 'lodash/isArray'; import {Commit, Parser, ParserOptions} from '@commitlint/types'; const {sync} = require('conventional-commits-parser'); @@ -14,7 +13,7 @@ async function parse( ): Promise { const defaultOpts = (await defaultChangelogOpts).parserOpts; const opts = mergeWith({}, defaultOpts, parserOpts, (objValue, srcValue) => { - if (isArray(objValue)) return srcValue; + if (Array.isArray(objValue)) return srcValue; }); const parsed = parser(message, opts) as Commit; parsed.raw = message; diff --git a/@commitlint/resolve-extends/src/index.ts b/@commitlint/resolve-extends/src/index.ts index 9a94e5ba03..3e0c2acf23 100644 --- a/@commitlint/resolve-extends/src/index.ts +++ b/@commitlint/resolve-extends/src/index.ts @@ -2,7 +2,6 @@ import path from 'path'; import 'resolve-global'; import resolveFrom from 'resolve-from'; -import isArray from 'lodash/isArray'; import merge from 'lodash/merge'; import mergeWith from 'lodash/mergeWith'; import omit from 'lodash/omit'; @@ -37,7 +36,7 @@ export default function resolveExtends( const extended = loadExtends(config, context).reduceRight( (r, c) => mergeWith(r, omit(c, 'extends'), (objValue, srcValue) => { - if (isArray(objValue)) { + if (Array.isArray(objValue)) { return srcValue; } }), From 9c5ec165dc62cc828e39cba0558d024ebdb35188 Mon Sep 17 00:00:00 2001 From: Armano Date: Fri, 7 Feb 2020 22:09:40 +0100 Subject: [PATCH 0084/2192] refactor: use native String.startsWith instead of lodash/startsWith (#975) --- @commitlint/load/src/utils/load-parser-opts.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/@commitlint/load/src/utils/load-parser-opts.ts b/@commitlint/load/src/utils/load-parser-opts.ts index 5abe25fd99..9cb55d97c8 100644 --- a/@commitlint/load/src/utils/load-parser-opts.ts +++ b/@commitlint/load/src/utils/load-parser-opts.ts @@ -1,5 +1,3 @@ -import startsWith from 'lodash/startsWith'; - export async function loadParserOpts( parserName: string, pendingParser: Promise @@ -20,7 +18,7 @@ export async function loadParserOpts( if ( typeof parser === 'object' && typeof parser.parserOpts === 'function' && - startsWith(parserName, 'conventional-changelog-') + parserName.startsWith('conventional-changelog-') ) { return await new Promise(resolve => { const result = parser.parserOpts((_: never, opts: {parserOpts: any}) => { From c9c968d6b1f29cc9a4f8c9457c6b479c1f242d68 Mon Sep 17 00:00:00 2001 From: Armano Date: Sat, 8 Feb 2020 01:20:35 +0100 Subject: [PATCH 0085/2192] refactor(parse): refactor parse to use object spread (#977) --- @commitlint/parse/package.json | 6 ++---- @commitlint/parse/src/index.ts | 12 +++++------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 4104d1f5de..69450fcb60 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -35,12 +35,10 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4", - "@types/lodash": "4.14.149" + "@commitlint/utils": "^8.3.4" }, "dependencies": { "conventional-changelog-angular": "^5.0.0", - "conventional-commits-parser": "^3.0.0", - "lodash": "^4.17.15" + "conventional-commits-parser": "^3.0.0" } } diff --git a/@commitlint/parse/src/index.ts b/@commitlint/parse/src/index.ts index 846253f109..37d6b18bf4 100644 --- a/@commitlint/parse/src/index.ts +++ b/@commitlint/parse/src/index.ts @@ -1,20 +1,18 @@ -import mergeWith from 'lodash/mergeWith'; import {Commit, Parser, ParserOptions} from '@commitlint/types'; const {sync} = require('conventional-commits-parser'); const defaultChangelogOpts = require('conventional-changelog-angular'); -export default parse; - -async function parse( +export default async function parse( message: string, parser: Parser = sync, parserOpts?: ParserOptions ): Promise { const defaultOpts = (await defaultChangelogOpts).parserOpts; - const opts = mergeWith({}, defaultOpts, parserOpts, (objValue, srcValue) => { - if (Array.isArray(objValue)) return srcValue; - }); + const opts = { + ...defaultOpts, + ...(parserOpts || {}) + }; const parsed = parser(message, opts) as Commit; parsed.raw = message; return parsed; From f88f00d5d3d0a247b5635b50248bbb942b1ec962 Mon Sep 17 00:00:00 2001 From: Armano Date: Sat, 8 Feb 2020 22:51:36 +0100 Subject: [PATCH 0086/2192] fix(config-lerna-scopes): correct lerna in peerDependencies (#980) --- @commitlint/config-lerna-scopes/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index d4c660f1ba..3b07d73364 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "peerDependencies": { - "lerna": "^3.20.2" + "lerna": "^2.0.0 || ^3.0.0" }, "engines": { "node": ">=8" From 21a91e72f7463c77a97ca98ad13cfd5aee11cf33 Mon Sep 17 00:00:00 2001 From: Armano Date: Sat, 8 Feb 2020 22:59:09 +0100 Subject: [PATCH 0087/2192] test: eslint setup (#981) * chore: eslint setup * build: update circleci config * build: fix circleci config --- .circleci/config.yml | 6 + .eslintignore | 4 + .eslintrc.js | 74 ++ .prettierignore | 3 + package.json | 19 +- yarn.lock | 1584 ++++++++++++++++++++++++++---------------- 6 files changed, 1076 insertions(+), 614 deletions(-) create mode 100644 .eslintignore create mode 100644 .eslintrc.js diff --git a/.circleci/config.yml b/.circleci/config.yml index 41e9578b5e..ee75a34cf5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,6 +29,11 @@ commands: - run: name: Lint project command: yarn lint + format: + steps: + - run: + name: Format project + command: yarn format deps: steps: - run: @@ -56,6 +61,7 @@ commands: - save-cache - build - lint + - format - deps - test run-tests: diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000000..b1e8dbd975 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,4 @@ +lib/ +coverage/ +node_modules/ +fixtures/ diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000000..404882ffab --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,74 @@ +module.exports = { + root: true, + plugins: ['@typescript-eslint', 'jest', 'import'], + env: { + es6: true, + node: true + }, + parserOptions: { + sourceType: 'module', + ecmaVersion: 11, + ecmaFeatures: { + jsx: false + } + }, + extends: ['eslint:recommended', 'prettier'], + rules: { + // disallow non-import statements appearing before import statements + 'import/first': 'error', + // Forbid import of modules using absolute paths + 'import/no-absolute-path': 'error', + // disallow AMD require/define + 'import/no-amd': 'error', + // Forbid mutable exports + 'import/no-mutable-exports': 'error', + // Prevent importing the default as if it were named + 'import/no-named-default': 'error', + // Forbid a module from importing itself + 'import/no-self-import': 'error' + + // Enable after https://github.com/benmosher/eslint-plugin-import/issues/1650 is fixed + // Forbid the use of extraneous packages + // 'import/no-extraneous-dependencies': [ + // 'error', + // {devDependencies: ['**/*.test.js']} + // ] + }, + overrides: [ + { + files: ['*.ts'], + parser: '@typescript-eslint/parser', + extends: [ + 'plugin:@typescript-eslint/eslint-recommended', + 'plugin:@typescript-eslint/recommended', + 'prettier/@typescript-eslint' + ], + rules: { + '@typescript-eslint/no-unused-vars': 'off', + '@typescript-eslint/no-use-before-define': 'off', + '@typescript-eslint/no-explicit-any': 'off', + '@typescript-eslint/explicit-function-return-type': 'off', + '@typescript-eslint/no-var-requires': 'off', + '@typescript-eslint/no-inferrable-types': 'off', + '@typescript-eslint/no-non-null-assertion': 'off', + + // TODO: enable those rules? + 'no-empty': 'off', + 'no-var': 'off' + } + }, + { + files: ['*.test.ts', '*.test.js'], + env: { + jest: true + }, + extends: ['plugin:jest/recommended'], + rules: { + '@typescript-eslint/no-explicit-any': 'off', + '@typescript-eslint/no-var-requires': 'off', + // disallow non-import statements appearing before import statements + 'import/first': 'off' + } + } + ] +}; diff --git a/.prettierignore b/.prettierignore index 6093e975dd..9d955cd018 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,5 @@ lib/ +coverage/ +node_modules/ +fixtures/ CHANGELOG.md diff --git a/package.json b/package.json index 29b71f7dd1..9d0b20531b 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,10 @@ "deps": "lerna run deps", "pkg": "lerna run pkg", "docs": "docsify serve docs", - "lint": "prettier **/*.{ts,js,json,yml,md} -l", + "lint": "eslint . --ext .js,.ts", + "lint-fix": "eslint . --ext .js,.ts --fix", + "format": "prettier **/*.{ts,js,json,yml,md} -l", + "format-fix": "prettier **/*.{ts,js,json,yml,md} --write", "publish": "lerna publish --conventional-commits", "reinstall": "yarn clean && yarn install", "start": "lerna run start --stream --parallel --include-dependencies", @@ -75,18 +78,24 @@ }, "devDependencies": { "@lerna/project": "3.18.0", - "@types/node": "12.12.26", "@types/jest": "25.1.2", + "@types/node": "12.12.26", + "@typescript-eslint/eslint-plugin": "^2.19.0", + "@typescript-eslint/parser": "^2.19.0", "docsify-cli": "^4.4.0", + "eslint": "^6.8.0", + "eslint-config-prettier": "^6.10.0", + "eslint-plugin-import": "^2.20.1", + "eslint-plugin-jest": "^23.6.0", "husky": "4.2.1", "jest": "25.1.0", "lerna": "3.20.2", + "lerna-v2": "npm:lerna@2", + "lerna-v3": "npm:lerna@3", "lint-staged": "10.0.7", "prettier": "1.17.1", "ts-jest": "25.2.0", - "typescript": "3.7.5", - "lerna-v2": "npm:lerna@2", - "lerna-v3": "npm:lerna@3" + "typescript": "3.7.5" }, "husky": { "hooks": { diff --git a/yarn.lock b/yarn.lock index 17d83c7776..1bb6c5f55c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,7 +2,7 @@ # yarn lockfile v1 -"@babel/cli@7.8.4": +"@babel/cli@7.8.4", "@babel/cli@^7.7.7": version "7.8.4" resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.8.4.tgz#505fb053721a98777b2b175323ea4f090b7d3c1c" integrity sha512-XXLgAm6LBbaNxaGhMAznXXaxtCWfuv6PIDJ9Alsy9JYTOh+j2jJz+L/162kkfU1j/pTSxK1xGmlwI4pdIMkoag== @@ -18,37 +18,23 @@ optionalDependencies: chokidar "^2.1.8" -"@babel/cli@^7.7.7": - version "7.7.7" - resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.7.7.tgz#56849acbf81d1a970dd3d1b3097c8ebf5da3f534" - integrity sha512-XQw5KyCZyu/M8/0rYiZyuwbgIQNzOrJzs9dDLX+MieSgBwTLvTj4QVbLmxJACAIvQIDT7PtyHN2sC48EOWTgaA== - dependencies: - commander "^4.0.1" - convert-source-map "^1.1.0" - fs-readdir-recursive "^1.1.0" - glob "^7.0.0" - lodash "^4.17.13" - make-dir "^2.1.0" - slash "^2.0.0" - source-map "^0.5.0" - optionalDependencies: - chokidar "^2.1.8" - -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5": - version "7.5.5" - resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49531219699b988f669a8f9d" - integrity sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw== - dependencies: - "@babel/highlight" "^7.0.0" - -"@babel/code-frame@^7.8.3": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" integrity sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g== dependencies: "@babel/highlight" "^7.8.3" -"@babel/core@7.8.4", "@babel/core@^7.7.5": +"@babel/compat-data@^7.8.4": + version "7.8.5" + resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.8.5.tgz#d28ce872778c23551cbb9432fc68d28495b613b9" + integrity sha512-jWYUqQX/ObOhG1UiEkbH5SANsE/8oKXiQWjj7p7xgj9Zmnt//aUvyz4dBkK0HNsS8/cbyC5NmmH87VekW+mXFg== + dependencies: + browserslist "^4.8.5" + invariant "^2.2.4" + semver "^5.5.0" + +"@babel/core@7.8.4", "@babel/core@^7.1.0", "@babel/core@^7.7.5", "@babel/core@^7.7.7": version "7.8.4" resolved "https://registry.npmjs.org/@babel/core/-/core-7.8.4.tgz#d496799e5c12195b3602d0fddd77294e3e38e80e" integrity sha512-0LiLrB2PwrVI+a2/IEskBopDYSd8BCb3rOvH7D5tzoWd696TBEduBvuLVm4Nx6rltrLZqvI3MCalB2K2aVzQjA== @@ -69,37 +55,7 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/core@^7.1.0", "@babel/core@^7.7.7": - version "7.7.7" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.7.7.tgz#ee155d2e12300bcc0cff6a8ad46f2af5063803e9" - integrity sha512-jlSjuj/7z138NLZALxVgrx13AOtqip42ATZP7+kYl53GvDV6+4dCek1mVUo8z8c8Xnw/mx2q3d9HWh3griuesQ== - dependencies: - "@babel/code-frame" "^7.5.5" - "@babel/generator" "^7.7.7" - "@babel/helpers" "^7.7.4" - "@babel/parser" "^7.7.7" - "@babel/template" "^7.7.4" - "@babel/traverse" "^7.7.4" - "@babel/types" "^7.7.4" - convert-source-map "^1.7.0" - debug "^4.1.0" - json5 "^2.1.0" - lodash "^4.17.13" - resolve "^1.3.2" - semver "^5.4.1" - source-map "^0.5.0" - -"@babel/generator@^7.0.0-beta.44", "@babel/generator@^7.7.4", "@babel/generator@^7.7.7": - version "7.7.7" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.7.7.tgz#859ac733c44c74148e1a72980a64ec84b85f4f45" - integrity sha512-/AOIBpHh/JU1l0ZFS4kiRCBnLi6OTHzh0RPk3h9isBxkkqELtQNFi1Vr/tiG9p1yfoUdKVwISuXWQR+hwwM4VQ== - dependencies: - "@babel/types" "^7.7.4" - jsesc "^2.5.1" - lodash "^4.17.13" - source-map "^0.5.0" - -"@babel/generator@^7.8.4": +"@babel/generator@^7.0.0-beta.44", "@babel/generator@^7.8.4": version "7.8.4" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.8.4.tgz#35bbc74486956fe4251829f9f6c48330e8d0985e" integrity sha512-PwhclGdRpNAf3IxZb0YVuITPZmmrXz9zf6fH8lT4XbrmfQKr6ryBzhv593P5C6poJRciFCL/eHGW2NuGrgEyxA== @@ -109,71 +65,73 @@ lodash "^4.17.13" source-map "^0.5.0" -"@babel/helper-annotate-as-pure@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.7.4.tgz#bb3faf1e74b74bd547e867e48f551fa6b098b6ce" - integrity sha512-2BQmQgECKzYKFPpiycoF9tlb5HA4lrVyAmLLVK177EcQAqjVLciUb2/R+n1boQ9y5ENV3uz2ZqiNw7QMBBw1Og== +"@babel/helper-annotate-as-pure@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz#60bc0bc657f63a0924ff9a4b4a0b24a13cf4deee" + integrity sha512-6o+mJrZBxOoEX77Ezv9zwW7WV8DdluouRKNY/IR5u/YTMuKHgugHOzYWlYvYLpLA9nPsQCAAASpCIbjI9Mv+Uw== dependencies: - "@babel/types" "^7.7.4" + "@babel/types" "^7.8.3" -"@babel/helper-builder-binary-assignment-operator-visitor@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.7.4.tgz#5f73f2b28580e224b5b9bd03146a4015d6217f5f" - integrity sha512-Biq/d/WtvfftWZ9Uf39hbPBYDUo986m5Bb4zhkeYDGUllF43D+nUe5M6Vuo6/8JDK/0YX/uBdeoQpyaNhNugZQ== +"@babel/helper-builder-binary-assignment-operator-visitor@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.8.3.tgz#c84097a427a061ac56a1c30ebf54b7b22d241503" + integrity sha512-5eFOm2SyFPK4Rh3XMMRDjN7lBH0orh3ss0g3rTYZnBQ+r6YPj7lgDyCvPphynHvUrobJmeMignBr6Acw9mAPlw== dependencies: - "@babel/helper-explode-assignable-expression" "^7.7.4" - "@babel/types" "^7.7.4" + "@babel/helper-explode-assignable-expression" "^7.8.3" + "@babel/types" "^7.8.3" -"@babel/helper-builder-react-jsx@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.7.4.tgz#da188d247508b65375b2c30cf59de187be6b0c66" - integrity sha512-kvbfHJNN9dg4rkEM4xn1s8d1/h6TYNvajy9L1wx4qLn9HFg0IkTsQi4rfBe92nxrPUFcMsHoMV+8rU7MJb3fCA== +"@babel/helper-builder-react-jsx@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.8.3.tgz#dee98d7d79cc1f003d80b76fe01c7f8945665ff6" + integrity sha512-JT8mfnpTkKNCboTqZsQTdGo3l3Ik3l7QIt9hh0O9DYiwVel37VoJpILKM4YFbP2euF32nkQSb+F9cUk9b7DDXQ== dependencies: - "@babel/types" "^7.7.4" + "@babel/types" "^7.8.3" esutils "^2.0.0" -"@babel/helper-call-delegate@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.7.4.tgz#621b83e596722b50c0066f9dc37d3232e461b801" - integrity sha512-8JH9/B7J7tCYJ2PpWVpw9JhPuEVHztagNVuQAFBVFYluRMlpG7F1CgKEgGeL6KFqcsIa92ZYVj6DSc0XwmN1ZA== +"@babel/helper-call-delegate@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.8.3.tgz#de82619898aa605d409c42be6ffb8d7204579692" + integrity sha512-6Q05px0Eb+N4/GTyKPPvnkig7Lylw+QzihMpws9iiZQv7ZImf84ZsZpQH7QoWN4n4tm81SnSzPgHw2qtO0Zf3A== + dependencies: + "@babel/helper-hoist-variables" "^7.8.3" + "@babel/traverse" "^7.8.3" + "@babel/types" "^7.8.3" + +"@babel/helper-compilation-targets@^7.8.4": + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.8.4.tgz#03d7ecd454b7ebe19a254f76617e61770aed2c88" + integrity sha512-3k3BsKMvPp5bjxgMdrFyq0UaEO48HciVrOVF0+lon8pp95cyJ2ujAh0TrBHNMnJGT2rr0iKOJPFFbSqjDyf/Pg== dependencies: - "@babel/helper-hoist-variables" "^7.7.4" - "@babel/traverse" "^7.7.4" - "@babel/types" "^7.7.4" + "@babel/compat-data" "^7.8.4" + browserslist "^4.8.5" + invariant "^2.2.4" + levenary "^1.1.1" + semver "^5.5.0" -"@babel/helper-create-regexp-features-plugin@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.7.4.tgz#6d5762359fd34f4da1500e4cff9955b5299aaf59" - integrity sha512-Mt+jBKaxL0zfOIWrfQpnfYCN7/rS6GKx6CCCfuoqVVd+17R8zNDlzVYmIi9qyb2wOk002NsmSTDymkIygDUH7A== +"@babel/helper-create-regexp-features-plugin@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.8.3.tgz#c774268c95ec07ee92476a3862b75cc2839beb79" + integrity sha512-Gcsm1OHCUr9o9TcJln57xhWHtdXbA2pgQ58S0Lxlks0WMGNXuki4+GLfX0p+L2ZkINUGZvfkz8rzoqJQSthI+Q== dependencies: - "@babel/helper-regex" "^7.4.4" + "@babel/helper-regex" "^7.8.3" regexpu-core "^4.6.0" -"@babel/helper-define-map@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.7.4.tgz#2841bf92eb8bd9c906851546fe6b9d45e162f176" - integrity sha512-v5LorqOa0nVQUvAUTUF3KPastvUt/HzByXNamKQ6RdJRTV7j8rLL+WB5C/MzzWAwOomxDhYFb1wLLxHqox86lg== +"@babel/helper-define-map@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.8.3.tgz#a0655cad5451c3760b726eba875f1cd8faa02c15" + integrity sha512-PoeBYtxoZGtct3md6xZOCWPcKuMuk3IHhgxsRRNtnNShebf4C8YonTSblsK4tvDbm+eJAw2HAPOfCr+Q/YRG/g== dependencies: - "@babel/helper-function-name" "^7.7.4" - "@babel/types" "^7.7.4" + "@babel/helper-function-name" "^7.8.3" + "@babel/types" "^7.8.3" lodash "^4.17.13" -"@babel/helper-explode-assignable-expression@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.7.4.tgz#fa700878e008d85dc51ba43e9fb835cddfe05c84" - integrity sha512-2/SicuFrNSXsZNBxe5UGdLr+HZg+raWBLE9vC98bdYOKX/U6PY0mdGlYUJdtTDPSU0Lw0PNbKKDpwYHJLn2jLg== - dependencies: - "@babel/traverse" "^7.7.4" - "@babel/types" "^7.7.4" - -"@babel/helper-function-name@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.7.4.tgz#ab6e041e7135d436d8f0a3eca15de5b67a341a2e" - integrity sha512-AnkGIdiBhEuiwdoMnKm7jfPfqItZhgRaZfMg1XX3bS25INOnLPjPG1Ppnajh8eqgt5kPJnfqrRHqFqmjKDZLzQ== +"@babel/helper-explode-assignable-expression@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.8.3.tgz#a728dc5b4e89e30fc2dfc7d04fa28a930653f982" + integrity sha512-N+8eW86/Kj147bO9G2uclsg5pwfs/fqqY5rwgIL7eTBklgXjcOJ3btzS5iM6AitJcftnY7pm2lGsrJVYLGjzIw== dependencies: - "@babel/helper-get-function-arity" "^7.7.4" - "@babel/template" "^7.7.4" - "@babel/types" "^7.7.4" + "@babel/traverse" "^7.8.3" + "@babel/types" "^7.8.3" "@babel/helper-function-name@^7.8.3": version "7.8.3" @@ -184,13 +142,6 @@ "@babel/template" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/helper-get-function-arity@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.7.4.tgz#cb46348d2f8808e632f0ab048172130e636005f0" - integrity sha512-QTGKEdCkjgzgfJ3bAyRwF4yyT3pg+vDgan8DSivq1eS0gwi+KGKE5x8kRcbeFTb/673mkO5SN1IZfmCfA5o+EA== - dependencies: - "@babel/types" "^7.7.4" - "@babel/helper-get-function-arity@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5" @@ -198,98 +149,86 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-hoist-variables@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.7.4.tgz#612384e3d823fdfaaf9fce31550fe5d4db0f3d12" - integrity sha512-wQC4xyvc1Jo/FnLirL6CEgPgPCa8M74tOdjWpRhQYapz5JC7u3NYU1zCVoVAGCE3EaIP9T1A3iW0WLJ+reZlpQ== +"@babel/helper-hoist-variables@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.8.3.tgz#1dbe9b6b55d78c9b4183fc8cdc6e30ceb83b7134" + integrity sha512-ky1JLOjcDUtSc+xkt0xhYff7Z6ILTAHKmZLHPxAhOP0Nd77O+3nCsd6uSVYur6nJnCI029CrNbYlc0LoPfAPQg== dependencies: - "@babel/types" "^7.7.4" + "@babel/types" "^7.8.3" -"@babel/helper-member-expression-to-functions@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.7.4.tgz#356438e2569df7321a8326644d4b790d2122cb74" - integrity sha512-9KcA1X2E3OjXl/ykfMMInBK+uVdfIVakVe7W7Lg3wfXUNyS3Q1HWLFRwZIjhqiCGbslummPDnmb7vIekS0C1vw== +"@babel/helper-member-expression-to-functions@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.8.3.tgz#659b710498ea6c1d9907e0c73f206eee7dadc24c" + integrity sha512-fO4Egq88utkQFjbPrSHGmGLFqmrshs11d46WI+WZDESt7Wu7wN2G2Iu+NMMZJFDOVRHAMIkB5SNh30NtwCA7RA== dependencies: - "@babel/types" "^7.7.4" + "@babel/types" "^7.8.3" -"@babel/helper-module-imports@^7.0.0-beta.44", "@babel/helper-module-imports@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.7.4.tgz#e5a92529f8888bf319a6376abfbd1cebc491ad91" - integrity sha512-dGcrX6K9l8258WFjyDLJwuVKxR4XZfU0/vTUgOQYWEnRD8mgr+p4d6fCUMq/ys0h4CCt/S5JhbvtyErjWouAUQ== +"@babel/helper-module-imports@^7.0.0-beta.44", "@babel/helper-module-imports@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.8.3.tgz#7fe39589b39c016331b6b8c3f441e8f0b1419498" + integrity sha512-R0Bx3jippsbAEtzkpZ/6FIiuzOURPcMjHp+Z6xPe6DtApDJx+w7UYyOLanZqO8+wKR9G10s/FmHXvxaMd9s6Kg== dependencies: - "@babel/types" "^7.7.4" + "@babel/types" "^7.8.3" -"@babel/helper-module-transforms@^7.7.4", "@babel/helper-module-transforms@^7.7.5": - version "7.7.5" - resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.7.5.tgz#d044da7ffd91ec967db25cd6748f704b6b244835" - integrity sha512-A7pSxyJf1gN5qXVcidwLWydjftUN878VkalhXX5iQDuGyiGK3sOrrKKHF4/A4fwHtnsotv/NipwAeLzY4KQPvw== +"@babel/helper-module-transforms@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.8.3.tgz#d305e35d02bee720fbc2c3c3623aa0c316c01590" + integrity sha512-C7NG6B7vfBa/pwCOshpMbOYUmrYQDfCpVL/JCRu0ek8B5p8kue1+BCXpg2vOYs7w5ACB9GTOBYQ5U6NwrMg+3Q== dependencies: - "@babel/helper-module-imports" "^7.7.4" - "@babel/helper-simple-access" "^7.7.4" - "@babel/helper-split-export-declaration" "^7.7.4" - "@babel/template" "^7.7.4" - "@babel/types" "^7.7.4" + "@babel/helper-module-imports" "^7.8.3" + "@babel/helper-simple-access" "^7.8.3" + "@babel/helper-split-export-declaration" "^7.8.3" + "@babel/template" "^7.8.3" + "@babel/types" "^7.8.3" lodash "^4.17.13" -"@babel/helper-optimise-call-expression@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.7.4.tgz#034af31370d2995242aa4df402c3b7794b2dcdf2" - integrity sha512-VB7gWZ2fDkSuqW6b1AKXkJWO5NyNI3bFL/kK79/30moK57blr6NbH8xcl2XcKCwOmJosftWunZqfO84IGq3ZZg== +"@babel/helper-optimise-call-expression@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz#7ed071813d09c75298ef4f208956006b6111ecb9" + integrity sha512-Kag20n86cbO2AvHca6EJsvqAd82gc6VMGule4HwebwMlwkpXuVqrNRj6CkCV2sKxgi9MyAUnZVnZ6lJ1/vKhHQ== dependencies: - "@babel/types" "^7.7.4" - -"@babel/helper-plugin-utils@^7.0.0": - version "7.0.0" - resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250" - integrity sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA== + "@babel/types" "^7.8.3" -"@babel/helper-plugin-utils@^7.8.0": +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz#9ea293be19babc0f52ff8ca88b34c3611b208670" integrity sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ== -"@babel/helper-regex@^7.0.0", "@babel/helper-regex@^7.4.4": - version "7.5.5" - resolved "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.5.5.tgz#0aa6824f7100a2e0e89c1527c23936c152cab351" - integrity sha512-CkCYQLkfkiugbRDO8eZn6lRuR8kzZoGXCg3149iTk5se7g6qykSpy3+hELSwquhu+TgHn8nkLiBwHvNX8Hofcw== +"@babel/helper-regex@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.8.3.tgz#139772607d51b93f23effe72105b319d2a4c6965" + integrity sha512-BWt0QtYv/cg/NecOAZMdcn/waj/5P26DR4mVLXfFtDokSR6fyuG0Pj+e2FqtSME+MqED1khnSMulkmGl8qWiUQ== dependencies: lodash "^4.17.13" -"@babel/helper-remap-async-to-generator@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.7.4.tgz#c68c2407350d9af0e061ed6726afb4fff16d0234" - integrity sha512-Sk4xmtVdM9sA/jCI80f+KS+Md+ZHIpjuqmYPk1M7F/upHou5e4ReYmExAiu6PVe65BhJPZA2CY9x9k4BqE5klw== - dependencies: - "@babel/helper-annotate-as-pure" "^7.7.4" - "@babel/helper-wrap-function" "^7.7.4" - "@babel/template" "^7.7.4" - "@babel/traverse" "^7.7.4" - "@babel/types" "^7.7.4" - -"@babel/helper-replace-supers@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.7.4.tgz#3c881a6a6a7571275a72d82e6107126ec9e2cdd2" - integrity sha512-pP0tfgg9hsZWo5ZboYGuBn/bbYT/hdLPVSS4NMmiRJdwWhP0IznPwN9AE1JwyGsjSPLC364I0Qh5p+EPkGPNpg== +"@babel/helper-remap-async-to-generator@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.8.3.tgz#273c600d8b9bf5006142c1e35887d555c12edd86" + integrity sha512-kgwDmw4fCg7AVgS4DukQR/roGp+jP+XluJE5hsRZwxCYGg+Rv9wSGErDWhlI90FODdYfd4xG4AQRiMDjjN0GzA== dependencies: - "@babel/helper-member-expression-to-functions" "^7.7.4" - "@babel/helper-optimise-call-expression" "^7.7.4" - "@babel/traverse" "^7.7.4" - "@babel/types" "^7.7.4" + "@babel/helper-annotate-as-pure" "^7.8.3" + "@babel/helper-wrap-function" "^7.8.3" + "@babel/template" "^7.8.3" + "@babel/traverse" "^7.8.3" + "@babel/types" "^7.8.3" -"@babel/helper-simple-access@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.7.4.tgz#a169a0adb1b5f418cfc19f22586b2ebf58a9a294" - integrity sha512-zK7THeEXfan7UlWsG2A6CI/L9jVnI5+xxKZOdej39Y0YtDYKx9raHk5F2EtK9K8DHRTihYwg20ADt9S36GR78A== +"@babel/helper-replace-supers@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.8.3.tgz#91192d25f6abbcd41da8a989d4492574fb1530bc" + integrity sha512-xOUssL6ho41U81etpLoT2RTdvdus4VfHamCuAm4AHxGr+0it5fnwoVdwUJ7GFEqCsQYzJUhcbsN9wB9apcYKFA== dependencies: - "@babel/template" "^7.7.4" - "@babel/types" "^7.7.4" + "@babel/helper-member-expression-to-functions" "^7.8.3" + "@babel/helper-optimise-call-expression" "^7.8.3" + "@babel/traverse" "^7.8.3" + "@babel/types" "^7.8.3" -"@babel/helper-split-export-declaration@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.7.4.tgz#57292af60443c4a3622cf74040ddc28e68336fd8" - integrity sha512-guAg1SXFcVr04Guk9eq0S4/rWS++sbmyqosJzVs8+1fH5NI+ZcmkaSkc7dmtAFbHFva6yRJnjW3yAcGxjueDug== +"@babel/helper-simple-access@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.8.3.tgz#7f8109928b4dab4654076986af575231deb639ae" + integrity sha512-VNGUDjx5cCWg4vvCTR8qQ7YJYZ+HBjxOgXEl7ounz+4Sn7+LMD3CFrCTEU6/qXKbA2nKg21CwhhBzO0RpRbdCw== dependencies: - "@babel/types" "^7.7.4" + "@babel/template" "^7.8.3" + "@babel/types" "^7.8.3" "@babel/helper-split-export-declaration@^7.8.3": version "7.8.3" @@ -298,24 +237,15 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-wrap-function@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.7.4.tgz#37ab7fed5150e22d9d7266e830072c0cdd8baace" - integrity sha512-VsfzZt6wmsocOaVU0OokwrIytHND55yvyT4BPB9AIIgwr8+x7617hetdJTsuGwygN5RC6mxA9EJztTjuwm2ofg== - dependencies: - "@babel/helper-function-name" "^7.7.4" - "@babel/template" "^7.7.4" - "@babel/traverse" "^7.7.4" - "@babel/types" "^7.7.4" - -"@babel/helpers@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.7.4.tgz#62c215b9e6c712dadc15a9a0dcab76c92a940302" - integrity sha512-ak5NGZGJ6LV85Q1Zc9gn2n+ayXOizryhjSUBTdu5ih1tlVCJeuQENzc4ItyCVhINVXvIT/ZQ4mheGIsfBkpskg== +"@babel/helper-wrap-function@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.8.3.tgz#9dbdb2bb55ef14aaa01fe8c99b629bd5352d8610" + integrity sha512-LACJrbUET9cQDzb6kG7EeD7+7doC3JNvUgTEQOx2qaO1fKlzE/Bf05qs9w1oXQMmXlPO65lC3Tq9S6gZpTErEQ== dependencies: - "@babel/template" "^7.7.4" - "@babel/traverse" "^7.7.4" - "@babel/types" "^7.7.4" + "@babel/helper-function-name" "^7.8.3" + "@babel/template" "^7.8.3" + "@babel/traverse" "^7.8.3" + "@babel/types" "^7.8.3" "@babel/helpers@^7.8.4": version "7.8.4" @@ -326,15 +256,6 @@ "@babel/traverse" "^7.8.4" "@babel/types" "^7.8.3" -"@babel/highlight@^7.0.0": - version "7.5.0" - resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa619591d02472be6e8cb32540" - integrity sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ== - dependencies: - chalk "^2.0.0" - esutils "^2.0.2" - js-tokens "^4.0.0" - "@babel/highlight@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797" @@ -344,71 +265,82 @@ esutils "^2.0.2" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.7.4", "@babel/parser@^7.7.7": - version "7.7.7" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.7.7.tgz#1b886595419cf92d811316d5b715a53ff38b4937" - integrity sha512-WtTZMZAZLbeymhkd/sEaPD8IQyGAhmuTuvTzLiCFM7iXiVdY0gc0IaI+cW0fh1BnSMbJSzXX6/fHllgHKwHhXw== - -"@babel/parser@^7.7.5", "@babel/parser@^7.8.3", "@babel/parser@^7.8.4": +"@babel/parser@^7.1.0", "@babel/parser@^7.7.5", "@babel/parser@^7.8.3", "@babel/parser@^7.8.4": version "7.8.4" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz#d1dbe64691d60358a974295fa53da074dd2ce8e8" integrity sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw== -"@babel/plugin-proposal-async-generator-functions@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.7.4.tgz#0351c5ac0a9e927845fffd5b82af476947b7ce6d" - integrity sha512-1ypyZvGRXriY/QP668+s8sFr2mqinhkRDMPSQLNghCQE+GAkFtp+wkHVvg2+Hdki8gwP+NFzJBJ/N1BfzCCDEw== +"@babel/plugin-proposal-async-generator-functions@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.8.3.tgz#bad329c670b382589721b27540c7d288601c6e6f" + integrity sha512-NZ9zLv848JsV3hs8ryEh7Uaz/0KsmPLqv0+PdkDJL1cJy0K4kOCFa8zc1E3mp+RHPQcpdfb/6GovEsW4VDrOMw== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-remap-async-to-generator" "^7.7.4" - "@babel/plugin-syntax-async-generators" "^7.7.4" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-remap-async-to-generator" "^7.8.3" + "@babel/plugin-syntax-async-generators" "^7.8.0" -"@babel/plugin-proposal-dynamic-import@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.7.4.tgz#dde64a7f127691758cbfed6cf70de0fa5879d52d" - integrity sha512-StH+nGAdO6qDB1l8sZ5UBV8AC3F2VW2I8Vfld73TMKyptMU9DY5YsJAS8U81+vEtxcH3Y/La0wG0btDrhpnhjQ== +"@babel/plugin-proposal-dynamic-import@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.8.3.tgz#38c4fe555744826e97e2ae930b0fb4cc07e66054" + integrity sha512-NyaBbyLFXFLT9FP+zk0kYlUlA8XtCUbehs67F0nnEg7KICgMc2mNkIeu9TYhKzyXMkrapZFwAhXLdnt4IYHy1w== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-dynamic-import" "^7.7.4" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-dynamic-import" "^7.8.0" -"@babel/plugin-proposal-json-strings@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.7.4.tgz#7700a6bfda771d8dc81973249eac416c6b4c697d" - integrity sha512-wQvt3akcBTfLU/wYoqm/ws7YOAQKu8EVJEvHip/mzkNtjaclQoCCIqKXFP5/eyfnfbQCDV3OLRIK3mIVyXuZlw== +"@babel/plugin-proposal-json-strings@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.8.3.tgz#da5216b238a98b58a1e05d6852104b10f9a70d6b" + integrity sha512-KGhQNZ3TVCQG/MjRbAUwuH+14y9q0tpxs1nWWs3pbSleRdDro9SAMMDyye8HhY1gqZ7/NqIc8SKhya0wRDgP1Q== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-json-strings" "^7.7.4" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-json-strings" "^7.8.0" -"@babel/plugin-proposal-object-rest-spread@^7.7.7": - version "7.7.7" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.7.7.tgz#9f27075004ab99be08c5c1bd653a2985813cb370" - integrity sha512-3qp9I8lelgzNedI3hrhkvhaEYree6+WHnyA/q4Dza9z7iEIs1eyhWyJnetk3jJ69RT0AT4G0UhEGwyGFJ7GUuQ== +"@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.8.3.tgz#e4572253fdeed65cddeecfdab3f928afeb2fd5d2" + integrity sha512-TS9MlfzXpXKt6YYomudb/KU7nQI6/xnapG6in1uZxoxDghuSMZsPb6D2fyUwNYSAp4l1iR7QtFOjkqcRYcUsfw== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-object-rest-spread" "^7.7.4" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" -"@babel/plugin-proposal-optional-catch-binding@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.7.4.tgz#ec21e8aeb09ec6711bc0a39ca49520abee1de379" - integrity sha512-DyM7U2bnsQerCQ+sejcTNZh8KQEUuC3ufzdnVnSiUv/qoGJp2Z3hanKL18KDhsBT5Wj6a7CMT5mdyCNJsEaA9w== +"@babel/plugin-proposal-object-rest-spread@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.8.3.tgz#eb5ae366118ddca67bed583b53d7554cad9951bb" + integrity sha512-8qvuPwU/xxUCt78HocNlv0mXXo0wdh9VT1R04WU8HGOfaOob26pF+9P5/lYjN/q7DHOX1bvX60hnhOvuQUJdbA== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-optional-catch-binding" "^7.7.4" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-object-rest-spread" "^7.8.0" -"@babel/plugin-proposal-unicode-property-regex@^7.7.7": - version "7.7.7" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.7.7.tgz#433fa9dac64f953c12578b29633f456b68831c4e" - integrity sha512-80PbkKyORBUVm1fbTLrHpYdJxMThzM1UqFGh0ALEhO9TYbG86Ah9zQYAB/84axz2vcxefDLdZwWwZNlYARlu9w== +"@babel/plugin-proposal-optional-catch-binding@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.8.3.tgz#9dee96ab1650eed88646ae9734ca167ac4a9c5c9" + integrity sha512-0gkX7J7E+AtAw9fcwlVQj8peP61qhdg/89D5swOkjYbkboA2CVckn3kiyum1DE0wskGb7KJJxBdyEBApDLLVdw== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" -"@babel/plugin-syntax-async-generators@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.7.4.tgz#331aaf310a10c80c44a66b238b6e49132bd3c889" - integrity sha512-Li4+EjSpBgxcsmeEF8IFcfV/+yJGxHXDirDkEoyFjumuwbmfCVHUt0HuowD/iGM7OhIRyXJH9YXxqiH6N815+g== +"@babel/plugin-proposal-optional-chaining@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.8.3.tgz#ae10b3214cb25f7adb1f3bc87ba42ca10b7e2543" + integrity sha512-QIoIR9abkVn+seDE3OjA08jWcs3eZ9+wJCKSRgo3WdEU2csFYgdScb+8qHB3+WXsGJD55u+5hWCISI7ejXS+kg== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.0" + +"@babel/plugin-proposal-unicode-property-regex@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.8.3.tgz#b646c3adea5f98800c9ab45105ac34d06cd4a47f" + integrity sha512-1/1/rEZv2XGweRwwSkLpY+s60za9OZ1hJs4YDqFHCw0kYWYwL5IFljVY1MYBL+weT1l9pokDO2uhSTLVxzoHkQ== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-syntax-async-generators@^7.8.0": + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" + integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-bigint@^7.0.0": version "7.8.3" @@ -417,385 +349,397 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-dynamic-import@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.7.4.tgz#29ca3b4415abfe4a5ec381e903862ad1a54c3aec" - integrity sha512-jHQW0vbRGvwQNgyVxwDh4yuXu4bH1f5/EICJLAhl1SblLs2CDhrsmCk+v5XLdE9wxtAFRyxx+P//Iw+a5L/tTg== +"@babel/plugin-syntax-dynamic-import@^7.8.0": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" + integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-json-strings@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.7.4.tgz#86e63f7d2e22f9e27129ac4e83ea989a382e86cc" - integrity sha512-QpGupahTQW1mHRXddMG5srgpHWqRLwJnJZKXTigB9RPFCCGbDGCgBeM/iC82ICXp414WeYx/tD54w7M2qRqTMg== +"@babel/plugin-syntax-json-strings@^7.8.0": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" + integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-jsx@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.7.4.tgz#dab2b56a36fb6c3c222a1fbc71f7bf97f327a9ec" - integrity sha512-wuy6fiMe9y7HeZBWXYCGt2RGxZOj0BImZ9EyXJVnVGBKO/Br592rbR3rtIQn0eQhAk9vqaKP5n8tVqEFBQMfLg== +"@babel/plugin-syntax-jsx@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.8.3.tgz#521b06c83c40480f1e58b4fd33b92eceb1d6ea94" + integrity sha512-WxdW9xyLgBdefoo0Ynn3MRSkhe5tFVxxKNVdnZSh318WrG2e2jH+E9wd/++JsqcLJZPfz87njQJ8j2Upjm0M0A== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.7.4.tgz#47cf220d19d6d0d7b154304701f468fc1cc6ff46" - integrity sha512-mObR+r+KZq0XhRVS2BrBKBpr5jqrqzlPvS9C9vuOf5ilSwzloAl7RPWLrgKdWS6IreaVrjHxTjtyqFiOisaCwg== +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" + integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-catch-binding@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.7.4.tgz#a3e38f59f4b6233867b4a92dcb0ee05b2c334aa6" - integrity sha512-4ZSuzWgFxqHRE31Glu+fEr/MirNZOMYmD/0BhBWyLyOOQz/gTAl7QmWm2hX1QxEIXsr2vkdlwxIzTyiYRC4xcQ== +"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.8.0": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" + integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-top-level-await@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.7.4.tgz#bd7d8fa7b9fee793a36e4027fd6dd1aa32f946da" - integrity sha512-wdsOw0MvkL1UIgiQ/IFr3ETcfv1xb8RMM0H9wbiDyLaJFyiDg5oZvDLCXosIXmFeIlweML5iOBXAkqddkYNizg== +"@babel/plugin-syntax-optional-catch-binding@^7.8.0": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" + integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-transform-arrow-functions@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.7.4.tgz#76309bd578addd8aee3b379d809c802305a98a12" - integrity sha512-zUXy3e8jBNPiffmqkHRNDdZM2r8DWhCB7HhcoyZjiK1TxYEluLHAvQuYnTT+ARqRpabWqy/NHkO6e3MsYB5YfA== +"@babel/plugin-syntax-optional-chaining@^7.8.0": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" + integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-transform-async-to-generator@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.7.4.tgz#694cbeae6d613a34ef0292713fa42fb45c4470ba" - integrity sha512-zpUTZphp5nHokuy8yLlyafxCJ0rSlFoSHypTUWgpdwoDXWQcseaect7cJ8Ppk6nunOM6+5rPMkod4OYKPR5MUg== +"@babel/plugin-syntax-top-level-await@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.8.3.tgz#3acdece695e6b13aaf57fc291d1a800950c71391" + integrity sha512-kwj1j9lL/6Wd0hROD3b/OZZ7MSrZLqqn9RAZ5+cYYsflQ9HZBIKCUkr3+uL1MEJ1NePiUbf98jjiMQSv0NMR9g== dependencies: - "@babel/helper-module-imports" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-remap-async-to-generator" "^7.7.4" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-block-scoped-functions@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.7.4.tgz#d0d9d5c269c78eaea76227ace214b8d01e4d837b" - integrity sha512-kqtQzwtKcpPclHYjLK//3lH8OFsCDuDJBaFhVwf8kqdnF6MN4l618UDlcA7TfRs3FayrHj+svYnSX8MC9zmUyQ== +"@babel/plugin-transform-arrow-functions@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.8.3.tgz#82776c2ed0cd9e1a49956daeb896024c9473b8b6" + integrity sha512-0MRF+KC8EqH4dbuITCWwPSzsyO3HIWWlm30v8BbbpOrS1B++isGxPnnuq/IZvOX5J2D/p7DQalQm+/2PnlKGxg== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-block-scoping@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.7.4.tgz#200aad0dcd6bb80372f94d9e628ea062c58bf224" - integrity sha512-2VBe9u0G+fDt9B5OV5DQH4KBf5DoiNkwFKOz0TCvBWvdAN2rOykCTkrL+jTLxfCAm76l9Qo5OqL7HBOx2dWggg== +"@babel/plugin-transform-async-to-generator@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.8.3.tgz#4308fad0d9409d71eafb9b1a6ee35f9d64b64086" + integrity sha512-imt9tFLD9ogt56Dd5CI/6XgpukMwd/fLGSrix2httihVe7LOGVPhyhMh1BU5kDM7iHD08i8uUtmV2sWaBFlHVQ== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-module-imports" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-remap-async-to-generator" "^7.8.3" + +"@babel/plugin-transform-block-scoped-functions@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.8.3.tgz#437eec5b799b5852072084b3ae5ef66e8349e8a3" + integrity sha512-vo4F2OewqjbB1+yaJ7k2EJFHlTP3jR634Z9Cj9itpqNjuLXvhlVxgnjsHsdRgASR8xYDrx6onw4vW5H6We0Jmg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-transform-block-scoping@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.8.3.tgz#97d35dab66857a437c166358b91d09050c868f3a" + integrity sha512-pGnYfm7RNRgYRi7bids5bHluENHqJhrV4bCZRwc5GamaWIIs07N4rZECcmJL6ZClwjDz1GbdMZFtPs27hTB06w== + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" lodash "^4.17.13" -"@babel/plugin-transform-classes@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.7.4.tgz#c92c14be0a1399e15df72667067a8f510c9400ec" - integrity sha512-sK1mjWat7K+buWRuImEzjNf68qrKcrddtpQo3swi9j7dUcG6y6R6+Di039QN2bD1dykeswlagupEmpOatFHHUg== +"@babel/plugin-transform-classes@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.8.3.tgz#46fd7a9d2bb9ea89ce88720477979fe0d71b21b8" + integrity sha512-SjT0cwFJ+7Rbr1vQsvphAHwUHvSUPmMjMU/0P59G8U2HLFqSa082JO7zkbDNWs9kH/IUqpHI6xWNesGf8haF1w== dependencies: - "@babel/helper-annotate-as-pure" "^7.7.4" - "@babel/helper-define-map" "^7.7.4" - "@babel/helper-function-name" "^7.7.4" - "@babel/helper-optimise-call-expression" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-replace-supers" "^7.7.4" - "@babel/helper-split-export-declaration" "^7.7.4" + "@babel/helper-annotate-as-pure" "^7.8.3" + "@babel/helper-define-map" "^7.8.3" + "@babel/helper-function-name" "^7.8.3" + "@babel/helper-optimise-call-expression" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-replace-supers" "^7.8.3" + "@babel/helper-split-export-declaration" "^7.8.3" globals "^11.1.0" -"@babel/plugin-transform-computed-properties@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.7.4.tgz#e856c1628d3238ffe12d668eb42559f79a81910d" - integrity sha512-bSNsOsZnlpLLyQew35rl4Fma3yKWqK3ImWMSC/Nc+6nGjC9s5NFWAer1YQ899/6s9HxO2zQC1WoFNfkOqRkqRQ== +"@babel/plugin-transform-computed-properties@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.8.3.tgz#96d0d28b7f7ce4eb5b120bb2e0e943343c86f81b" + integrity sha512-O5hiIpSyOGdrQZRQ2ccwtTVkgUDBBiCuK//4RJ6UfePllUTCENOzKxfh6ulckXKc0DixTFLCfb2HVkNA7aDpzA== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-destructuring@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.7.4.tgz#2b713729e5054a1135097b6a67da1b6fe8789267" - integrity sha512-4jFMXI1Cu2aXbcXXl8Lr6YubCn6Oc7k9lLsu8v61TZh+1jny2BWmdtvY9zSUlLdGUvcy9DMAWyZEOqjsbeg/wA== +"@babel/plugin-transform-destructuring@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.8.3.tgz#20ddfbd9e4676906b1056ee60af88590cc7aaa0b" + integrity sha512-H4X646nCkiEcHZUZaRkhE2XVsoz0J/1x3VVujnn96pSoGCtKPA99ZZA+va+gK+92Zycd6OBKCD8tDb/731bhgQ== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-dotall-regex@^7.7.7": - version "7.7.7" - resolved "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.7.7.tgz#3e9713f1b69f339e87fa796b097d73ded16b937b" - integrity sha512-b4in+YlTeE/QmTgrllnb3bHA0HntYvjz8O3Mcbx75UBPJA2xhb5A8nle498VhxSXJHQefjtQxpnLPehDJ4TRlg== +"@babel/plugin-transform-dotall-regex@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.8.3.tgz#c3c6ec5ee6125c6993c5cbca20dc8621a9ea7a6e" + integrity sha512-kLs1j9Nn4MQoBYdRXH6AeaXMbEJFaFu/v1nQkvib6QzTj8MZI5OQzqmD83/2jEM1z0DLilra5aWO5YpyC0ALIw== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-create-regexp-features-plugin" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-duplicate-keys@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.7.4.tgz#3d21731a42e3f598a73835299dd0169c3b90ac91" - integrity sha512-g1y4/G6xGWMD85Tlft5XedGaZBCIVN+/P0bs6eabmcPP9egFleMAo65OOjlhcz1njpwagyY3t0nsQC9oTFegJA== +"@babel/plugin-transform-duplicate-keys@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.8.3.tgz#8d12df309aa537f272899c565ea1768e286e21f1" + integrity sha512-s8dHiBUbcbSgipS4SMFuWGqCvyge5V2ZeAWzR6INTVC3Ltjig/Vw1G2Gztv0vU/hRG9X8IvKvYdoksnUfgXOEQ== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-exponentiation-operator@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.7.4.tgz#dd30c0191e3a1ba19bcc7e389bdfddc0729d5db9" - integrity sha512-MCqiLfCKm6KEA1dglf6Uqq1ElDIZwFuzz1WH5mTf8k2uQSxEJMbOIEh7IZv7uichr7PMfi5YVSrr1vz+ipp7AQ== +"@babel/plugin-transform-exponentiation-operator@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.8.3.tgz#581a6d7f56970e06bf51560cd64f5e947b70d7b7" + integrity sha512-zwIpuIymb3ACcInbksHaNcR12S++0MDLKkiqXHl3AzpgdKlFNhog+z/K0+TGW+b0w5pgTq4H6IwV/WhxbGYSjQ== dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-builder-binary-assignment-operator-visitor" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-for-of@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.7.4.tgz#248800e3a5e507b1f103d8b4ca998e77c63932bc" - integrity sha512-zZ1fD1B8keYtEcKF+M1TROfeHTKnijcVQm0yO/Yu1f7qoDoxEIc/+GX6Go430Bg84eM/xwPFp0+h4EbZg7epAA== +"@babel/plugin-transform-for-of@^7.8.4": + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.8.4.tgz#6fe8eae5d6875086ee185dd0b098a8513783b47d" + integrity sha512-iAXNlOWvcYUYoV8YIxwS7TxGRJcxyl8eQCfT+A5j8sKUzRFvJdcyjp97jL2IghWSRDaL2PU2O2tX8Cu9dTBq5A== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-function-name@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.7.4.tgz#75a6d3303d50db638ff8b5385d12451c865025b1" - integrity sha512-E/x09TvjHNhsULs2IusN+aJNRV5zKwxu1cpirZyRPw+FyyIKEHPXTsadj48bVpc1R5Qq1B5ZkzumuFLytnbT6g== +"@babel/plugin-transform-function-name@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.8.3.tgz#279373cb27322aaad67c2683e776dfc47196ed8b" + integrity sha512-rO/OnDS78Eifbjn5Py9v8y0aR+aSYhDhqAwVfsTl0ERuMZyr05L1aFSCJnbv2mmsLkit/4ReeQ9N2BgLnOcPCQ== dependencies: - "@babel/helper-function-name" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-function-name" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-literals@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.7.4.tgz#27fe87d2b5017a2a5a34d1c41a6b9f6a6262643e" - integrity sha512-X2MSV7LfJFm4aZfxd0yLVFrEXAgPqYoDG53Br/tCKiKYfX0MjVjQeWPIhPHHsCqzwQANq+FLN786fF5rgLS+gw== +"@babel/plugin-transform-literals@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.8.3.tgz#aef239823d91994ec7b68e55193525d76dbd5dc1" + integrity sha512-3Tqf8JJ/qB7TeldGl+TT55+uQei9JfYaregDcEAyBZ7akutriFrt6C/wLYIer6OYhleVQvH/ntEhjE/xMmy10A== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-member-expression-literals@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.7.4.tgz#aee127f2f3339fc34ce5e3055d7ffbf7aa26f19a" - integrity sha512-9VMwMO7i69LHTesL0RdGy93JU6a+qOPuvB4F4d0kR0zyVjJRVJRaoaGjhtki6SzQUu8yen/vxPKN6CWnCUw6bA== +"@babel/plugin-transform-member-expression-literals@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.8.3.tgz#963fed4b620ac7cbf6029c755424029fa3a40410" + integrity sha512-3Wk2EXhnw+rP+IDkK6BdtPKsUE5IeZ6QOGrPYvw52NwBStw9V1ZVzxgK6fSKSxqUvH9eQPR3tm3cOq79HlsKYA== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-modules-amd@^7.7.5": - version "7.7.5" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.7.5.tgz#39e0fb717224b59475b306402bb8eedab01e729c" - integrity sha512-CT57FG4A2ZUNU1v+HdvDSDrjNWBrtCmSH6YbbgN3Lrf0Di/q/lWRxZrE72p3+HCCz9UjfZOEBdphgC0nzOS6DQ== +"@babel/plugin-transform-modules-amd@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.8.3.tgz#65606d44616b50225e76f5578f33c568a0b876a5" + integrity sha512-MadJiU3rLKclzT5kBH4yxdry96odTUwuqrZM+GllFI/VhxfPz+k9MshJM+MwhfkCdxxclSbSBbUGciBngR+kEQ== dependencies: - "@babel/helper-module-transforms" "^7.7.5" - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-module-transforms" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" babel-plugin-dynamic-import-node "^2.3.0" -"@babel/plugin-transform-modules-commonjs@^7.7.5": - version "7.7.5" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.7.5.tgz#1d27f5eb0bcf7543e774950e5b2fa782e637b345" - integrity sha512-9Cq4zTFExwFhQI6MT1aFxgqhIsMWQWDVwOgLzl7PTWJHsNaqFvklAU+Oz6AQLAS0dJKTwZSOCo20INwktxpi3Q== +"@babel/plugin-transform-modules-commonjs@^7.7.5", "@babel/plugin-transform-modules-commonjs@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.8.3.tgz#df251706ec331bd058a34bdd72613915f82928a5" + integrity sha512-JpdMEfA15HZ/1gNuB9XEDlZM1h/gF/YOH7zaZzQu2xCFRfwc01NXBMHHSTT6hRjlXJJs5x/bfODM3LiCk94Sxg== dependencies: - "@babel/helper-module-transforms" "^7.7.5" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-simple-access" "^7.7.4" + "@babel/helper-module-transforms" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-simple-access" "^7.8.3" babel-plugin-dynamic-import-node "^2.3.0" -"@babel/plugin-transform-modules-systemjs@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.7.4.tgz#cd98152339d3e763dfe838b7d4273edaf520bb30" - integrity sha512-y2c96hmcsUi6LrMqvmNDPBBiGCiQu0aYqpHatVVu6kD4mFEXKjyNxd/drc18XXAf9dv7UXjrZwBVmTTGaGP8iw== +"@babel/plugin-transform-modules-systemjs@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.8.3.tgz#d8bbf222c1dbe3661f440f2f00c16e9bb7d0d420" + integrity sha512-8cESMCJjmArMYqa9AO5YuMEkE4ds28tMpZcGZB/jl3n0ZzlsxOAi3mC+SKypTfT8gjMupCnd3YiXCkMjj2jfOg== dependencies: - "@babel/helper-hoist-variables" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-hoist-variables" "^7.8.3" + "@babel/helper-module-transforms" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" babel-plugin-dynamic-import-node "^2.3.0" -"@babel/plugin-transform-modules-umd@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.7.4.tgz#1027c355a118de0aae9fee00ad7813c584d9061f" - integrity sha512-u2B8TIi0qZI4j8q4C51ktfO7E3cQ0qnaXFI1/OXITordD40tt17g/sXqgNNCcMTcBFKrUPcGDx+TBJuZxLx7tw== +"@babel/plugin-transform-modules-umd@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.8.3.tgz#592d578ce06c52f5b98b02f913d653ffe972661a" + integrity sha512-evhTyWhbwbI3/U6dZAnx/ePoV7H6OUG+OjiJFHmhr9FPn0VShjwC2kdxqIuQ/+1P50TMrneGzMeyMTFOjKSnAw== dependencies: - "@babel/helper-module-transforms" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-module-transforms" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-named-capturing-groups-regex@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.7.4.tgz#fb3bcc4ee4198e7385805007373d6b6f42c98220" - integrity sha512-jBUkiqLKvUWpv9GLSuHUFYdmHg0ujC1JEYoZUfeOOfNydZXp1sXObgyPatpcwjWgsdBGsagWW0cdJpX/DO2jMw== +"@babel/plugin-transform-named-capturing-groups-regex@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.8.3.tgz#a2a72bffa202ac0e2d0506afd0939c5ecbc48c6c" + integrity sha512-f+tF/8UVPU86TrCb06JoPWIdDpTNSGGcAtaD9mLP0aYGA0OS0j7j7DHJR0GTFrUZPUU6loZhbsVZgTh0N+Qdnw== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.7.4" + "@babel/helper-create-regexp-features-plugin" "^7.8.3" -"@babel/plugin-transform-new-target@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.7.4.tgz#4a0753d2d60639437be07b592a9e58ee00720167" - integrity sha512-CnPRiNtOG1vRodnsyGX37bHQleHE14B9dnnlgSeEs3ek3fHN1A1SScglTCg1sfbe7sRQ2BUcpgpTpWSfMKz3gg== +"@babel/plugin-transform-new-target@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.8.3.tgz#60cc2ae66d85c95ab540eb34babb6434d4c70c43" + integrity sha512-QuSGysibQpyxexRyui2vca+Cmbljo8bcRckgzYV4kRIsHpVeyeC3JDO63pY+xFZ6bWOBn7pfKZTqV4o/ix9sFw== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-object-super@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.7.4.tgz#48488937a2d586c0148451bf51af9d7dda567262" - integrity sha512-ho+dAEhC2aRnff2JCA0SAK7V2R62zJd/7dmtoe7MHcso4C2mS+vZjn1Pb1pCVZvJs1mgsvv5+7sT+m3Bysb6eg== +"@babel/plugin-transform-object-super@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.8.3.tgz#ebb6a1e7a86ffa96858bd6ac0102d65944261725" + integrity sha512-57FXk+gItG/GejofIyLIgBKTas4+pEU47IXKDBWFTxdPd7F80H8zybyAY7UoblVfBhBGs2EKM+bJUu2+iUYPDQ== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-replace-supers" "^7.7.4" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-replace-supers" "^7.8.3" -"@babel/plugin-transform-parameters@^7.7.7": - version "7.7.7" - resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.7.7.tgz#7a884b2460164dc5f194f668332736584c760007" - integrity sha512-OhGSrf9ZBrr1fw84oFXj5hgi8Nmg+E2w5L7NhnG0lPvpDtqd7dbyilM2/vR8CKbJ907RyxPh2kj6sBCSSfI9Ew== +"@babel/plugin-transform-parameters@^7.8.4": + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.8.4.tgz#1d5155de0b65db0ccf9971165745d3bb990d77d3" + integrity sha512-IsS3oTxeTsZlE5KqzTbcC2sV0P9pXdec53SU+Yxv7o/6dvGM5AkTotQKhoSffhNgZ/dftsSiOoxy7evCYJXzVA== dependencies: - "@babel/helper-call-delegate" "^7.7.4" - "@babel/helper-get-function-arity" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-call-delegate" "^7.8.3" + "@babel/helper-get-function-arity" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-property-literals@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.7.4.tgz#2388d6505ef89b266103f450f9167e6bd73f98c2" - integrity sha512-MatJhlC4iHsIskWYyawl53KuHrt+kALSADLQQ/HkhTjX954fkxIEh4q5slL4oRAnsm/eDoZ4q0CIZpcqBuxhJQ== +"@babel/plugin-transform-property-literals@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.8.3.tgz#33194300d8539c1ed28c62ad5087ba3807b98263" + integrity sha512-uGiiXAZMqEoQhRWMK17VospMZh5sXWg+dlh2soffpkAl96KAm+WZuJfa6lcELotSRmooLqg0MWdH6UUq85nmmg== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-transform-react-jsx@^7.7.7": - version "7.7.7" - resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.7.7.tgz#5cbaa7445b4a09f774029f3cc7bb448ff3122a5d" - integrity sha512-SlPjWPbva2+7/ZJbGcoqjl4LsQaLpKEzxW9hcxU7675s24JmdotJOSJ4cgAbV82W3FcZpHIGmRZIlUL8ayMvjw== + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.8.3.tgz#4220349c0390fdefa505365f68c103562ab2fc4a" + integrity sha512-r0h+mUiyL595ikykci+fbwm9YzmuOrUBi0b+FDIKmi3fPQyFokWVEMJnRWHJPPQEjyFJyna9WZC6Viv6UHSv1g== dependencies: - "@babel/helper-builder-react-jsx" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-jsx" "^7.7.4" + "@babel/helper-builder-react-jsx" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-jsx" "^7.8.3" -"@babel/plugin-transform-regenerator@^7.7.5": - version "7.7.5" - resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.7.5.tgz#3a8757ee1a2780f390e89f246065ecf59c26fce9" - integrity sha512-/8I8tPvX2FkuEyWbjRCt4qTAgZK0DVy8QRguhA524UH48RfGJy94On2ri+dCuwOpcerPRl9O4ebQkRcVzIaGBw== +"@babel/plugin-transform-regenerator@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.8.3.tgz#b31031e8059c07495bf23614c97f3d9698bc6ec8" + integrity sha512-qt/kcur/FxrQrzFR432FGZznkVAjiyFtCOANjkAKwCbt465L6ZCiUQh2oMYGU3Wo8LRFJxNDFwWn106S5wVUNA== dependencies: regenerator-transform "^0.14.0" -"@babel/plugin-transform-reserved-words@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.7.4.tgz#6a7cf123ad175bb5c69aec8f6f0770387ed3f1eb" - integrity sha512-OrPiUB5s5XvkCO1lS7D8ZtHcswIC57j62acAnJZKqGGnHP+TIc/ljQSrgdX/QyOTdEK5COAhuc820Hi1q2UgLQ== +"@babel/plugin-transform-reserved-words@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.8.3.tgz#9a0635ac4e665d29b162837dd3cc50745dfdf1f5" + integrity sha512-mwMxcycN3omKFDjDQUl+8zyMsBfjRFr0Zn/64I41pmjv4NJuqcYlEtezwYtw9TFd9WR1vN5kiM+O0gMZzO6L0A== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-transform-runtime@^7.7.6": - version "7.7.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.7.6.tgz#4f2b548c88922fb98ec1c242afd4733ee3e12f61" - integrity sha512-tajQY+YmXR7JjTwRvwL4HePqoL3DYxpYXIHKVvrOIvJmeHe2y1w4tz5qz9ObUDC9m76rCzIMPyn4eERuwA4a4A== + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.8.3.tgz#c0153bc0a5375ebc1f1591cb7eea223adea9f169" + integrity sha512-/vqUt5Yh+cgPZXXjmaG9NT8aVfThKk7G4OqkVhrXqwsC5soMn/qTCxs36rZ2QFhpfTJcjw4SNDIZ4RUb8OL4jQ== dependencies: - "@babel/helper-module-imports" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-module-imports" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" resolve "^1.8.1" semver "^5.5.1" -"@babel/plugin-transform-shorthand-properties@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.7.4.tgz#74a0a9b2f6d67a684c6fbfd5f0458eb7ba99891e" - integrity sha512-q+suddWRfIcnyG5YiDP58sT65AJDZSUhXQDZE3r04AuqD6d/XLaQPPXSBzP2zGerkgBivqtQm9XKGLuHqBID6Q== +"@babel/plugin-transform-shorthand-properties@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.8.3.tgz#28545216e023a832d4d3a1185ed492bcfeac08c8" + integrity sha512-I9DI6Odg0JJwxCHzbzW08ggMdCezoWcuQRz3ptdudgwaHxTjxw5HgdFJmZIkIMlRymL6YiZcped4TTCB0JcC8w== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-spread@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.7.4.tgz#aa673b356fe6b7e70d69b6e33a17fef641008578" - integrity sha512-8OSs0FLe5/80cndziPlg4R0K6HcWSM0zyNhHhLsmw/Nc5MaA49cAsnoJ/t/YZf8qkG7fD+UjTRaApVDB526d7Q== +"@babel/plugin-transform-spread@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.8.3.tgz#9c8ffe8170fdfb88b114ecb920b82fb6e95fe5e8" + integrity sha512-CkuTU9mbmAoFOI1tklFWYYbzX5qCIZVXPVy0jpXgGwkplCndQAa58s2jr66fTeQnA64bDox0HL4U56CFYoyC7g== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-sticky-regex@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.7.4.tgz#ffb68c05090c30732076b1285dc1401b404a123c" - integrity sha512-Ls2NASyL6qtVe1H1hXts9yuEeONV2TJZmplLONkMPUG158CtmnrzW5Q5teibM5UVOFjG0D3IC5mzXR6pPpUY7A== +"@babel/plugin-transform-sticky-regex@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.8.3.tgz#be7a1290f81dae767475452199e1f76d6175b100" + integrity sha512-9Spq0vGCD5Bb4Z/ZXXSK5wbbLFMG085qd2vhL1JYu1WcQ5bXqZBAYRzU1d+p79GcHs2szYv5pVQCX13QgldaWw== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-regex" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-regex" "^7.8.3" -"@babel/plugin-transform-template-literals@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.7.4.tgz#1eb6411736dd3fe87dbd20cc6668e5121c17d604" - integrity sha512-sA+KxLwF3QwGj5abMHkHgshp9+rRz+oY9uoRil4CyLtgEuE/88dpkeWgNk5qKVsJE9iSfly3nvHapdRiIS2wnQ== +"@babel/plugin-transform-template-literals@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.8.3.tgz#7bfa4732b455ea6a43130adc0ba767ec0e402a80" + integrity sha512-820QBtykIQOLFT8NZOcTRJ1UNuztIELe4p9DCgvj4NK+PwluSJ49we7s9FB1HIGNIYT7wFUJ0ar2QpCDj0escQ== dependencies: - "@babel/helper-annotate-as-pure" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-annotate-as-pure" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-typeof-symbol@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.7.4.tgz#3174626214f2d6de322882e498a38e8371b2140e" - integrity sha512-KQPUQ/7mqe2m0B8VecdyaW5XcQYaePyl9R7IsKd+irzj6jvbhoGnRE+M0aNkyAzI07VfUQ9266L5xMARitV3wg== +"@babel/plugin-transform-typeof-symbol@^7.8.4": + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.8.4.tgz#ede4062315ce0aaf8a657a920858f1a2f35fc412" + integrity sha512-2QKyfjGdvuNfHsb7qnBBlKclbD4CfshH2KvDabiijLMGXPHJXGxtDzwIF7bQP+T0ysw8fYTtxPafgfs/c1Lrqg== dependencies: - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-unicode-regex@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.7.4.tgz#a3c0f65b117c4c81c5b6484f2a5e7b95346b83ae" - integrity sha512-N77UUIV+WCvE+5yHw+oks3m18/umd7y392Zv7mYTpFqHtkpcc+QUz+gLJNTWVlWROIWeLqY0f3OjZxV5TcXnRw== +"@babel/plugin-transform-unicode-regex@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.8.3.tgz#0cef36e3ba73e5c57273effb182f46b91a1ecaad" + integrity sha512-+ufgJjYdmWfSQ+6NS9VGUR2ns8cjJjYbrbi11mZBTaWm+Fui/ncTLFF28Ei1okavY+xkojGr1eJxNsWYeA5aZw== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-create-regexp-features-plugin" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" "@babel/preset-env@^7.7.7": - version "7.7.7" - resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.7.7.tgz#c294167b91e53e7e36d820e943ece8d0c7fe46ac" - integrity sha512-pCu0hrSSDVI7kCVUOdcMNQEbOPJ52E+LrQ14sN8uL2ALfSqePZQlKrOy+tM4uhEdYlCHi4imr8Zz2cZe9oSdIg== - dependencies: - "@babel/helper-module-imports" "^7.7.4" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-async-generator-functions" "^7.7.4" - "@babel/plugin-proposal-dynamic-import" "^7.7.4" - "@babel/plugin-proposal-json-strings" "^7.7.4" - "@babel/plugin-proposal-object-rest-spread" "^7.7.7" - "@babel/plugin-proposal-optional-catch-binding" "^7.7.4" - "@babel/plugin-proposal-unicode-property-regex" "^7.7.7" - "@babel/plugin-syntax-async-generators" "^7.7.4" - "@babel/plugin-syntax-dynamic-import" "^7.7.4" - "@babel/plugin-syntax-json-strings" "^7.7.4" - "@babel/plugin-syntax-object-rest-spread" "^7.7.4" - "@babel/plugin-syntax-optional-catch-binding" "^7.7.4" - "@babel/plugin-syntax-top-level-await" "^7.7.4" - "@babel/plugin-transform-arrow-functions" "^7.7.4" - "@babel/plugin-transform-async-to-generator" "^7.7.4" - "@babel/plugin-transform-block-scoped-functions" "^7.7.4" - "@babel/plugin-transform-block-scoping" "^7.7.4" - "@babel/plugin-transform-classes" "^7.7.4" - "@babel/plugin-transform-computed-properties" "^7.7.4" - "@babel/plugin-transform-destructuring" "^7.7.4" - "@babel/plugin-transform-dotall-regex" "^7.7.7" - "@babel/plugin-transform-duplicate-keys" "^7.7.4" - "@babel/plugin-transform-exponentiation-operator" "^7.7.4" - "@babel/plugin-transform-for-of" "^7.7.4" - "@babel/plugin-transform-function-name" "^7.7.4" - "@babel/plugin-transform-literals" "^7.7.4" - "@babel/plugin-transform-member-expression-literals" "^7.7.4" - "@babel/plugin-transform-modules-amd" "^7.7.5" - "@babel/plugin-transform-modules-commonjs" "^7.7.5" - "@babel/plugin-transform-modules-systemjs" "^7.7.4" - "@babel/plugin-transform-modules-umd" "^7.7.4" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.7.4" - "@babel/plugin-transform-new-target" "^7.7.4" - "@babel/plugin-transform-object-super" "^7.7.4" - "@babel/plugin-transform-parameters" "^7.7.7" - "@babel/plugin-transform-property-literals" "^7.7.4" - "@babel/plugin-transform-regenerator" "^7.7.5" - "@babel/plugin-transform-reserved-words" "^7.7.4" - "@babel/plugin-transform-shorthand-properties" "^7.7.4" - "@babel/plugin-transform-spread" "^7.7.4" - "@babel/plugin-transform-sticky-regex" "^7.7.4" - "@babel/plugin-transform-template-literals" "^7.7.4" - "@babel/plugin-transform-typeof-symbol" "^7.7.4" - "@babel/plugin-transform-unicode-regex" "^7.7.4" - "@babel/types" "^7.7.4" - browserslist "^4.6.0" - core-js-compat "^3.6.0" + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.8.4.tgz#9dac6df5f423015d3d49b6e9e5fa3413e4a72c4e" + integrity sha512-HihCgpr45AnSOHRbS5cWNTINs0TwaR8BS8xIIH+QwiW8cKL0llV91njQMpeMReEPVs+1Ao0x3RLEBLtt1hOq4w== + dependencies: + "@babel/compat-data" "^7.8.4" + "@babel/helper-compilation-targets" "^7.8.4" + "@babel/helper-module-imports" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-proposal-async-generator-functions" "^7.8.3" + "@babel/plugin-proposal-dynamic-import" "^7.8.3" + "@babel/plugin-proposal-json-strings" "^7.8.3" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-proposal-object-rest-spread" "^7.8.3" + "@babel/plugin-proposal-optional-catch-binding" "^7.8.3" + "@babel/plugin-proposal-optional-chaining" "^7.8.3" + "@babel/plugin-proposal-unicode-property-regex" "^7.8.3" + "@babel/plugin-syntax-async-generators" "^7.8.0" + "@babel/plugin-syntax-dynamic-import" "^7.8.0" + "@babel/plugin-syntax-json-strings" "^7.8.0" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" + "@babel/plugin-syntax-object-rest-spread" "^7.8.0" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" + "@babel/plugin-syntax-optional-chaining" "^7.8.0" + "@babel/plugin-syntax-top-level-await" "^7.8.3" + "@babel/plugin-transform-arrow-functions" "^7.8.3" + "@babel/plugin-transform-async-to-generator" "^7.8.3" + "@babel/plugin-transform-block-scoped-functions" "^7.8.3" + "@babel/plugin-transform-block-scoping" "^7.8.3" + "@babel/plugin-transform-classes" "^7.8.3" + "@babel/plugin-transform-computed-properties" "^7.8.3" + "@babel/plugin-transform-destructuring" "^7.8.3" + "@babel/plugin-transform-dotall-regex" "^7.8.3" + "@babel/plugin-transform-duplicate-keys" "^7.8.3" + "@babel/plugin-transform-exponentiation-operator" "^7.8.3" + "@babel/plugin-transform-for-of" "^7.8.4" + "@babel/plugin-transform-function-name" "^7.8.3" + "@babel/plugin-transform-literals" "^7.8.3" + "@babel/plugin-transform-member-expression-literals" "^7.8.3" + "@babel/plugin-transform-modules-amd" "^7.8.3" + "@babel/plugin-transform-modules-commonjs" "^7.8.3" + "@babel/plugin-transform-modules-systemjs" "^7.8.3" + "@babel/plugin-transform-modules-umd" "^7.8.3" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.8.3" + "@babel/plugin-transform-new-target" "^7.8.3" + "@babel/plugin-transform-object-super" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.8.4" + "@babel/plugin-transform-property-literals" "^7.8.3" + "@babel/plugin-transform-regenerator" "^7.8.3" + "@babel/plugin-transform-reserved-words" "^7.8.3" + "@babel/plugin-transform-shorthand-properties" "^7.8.3" + "@babel/plugin-transform-spread" "^7.8.3" + "@babel/plugin-transform-sticky-regex" "^7.8.3" + "@babel/plugin-transform-template-literals" "^7.8.3" + "@babel/plugin-transform-typeof-symbol" "^7.8.4" + "@babel/plugin-transform-unicode-regex" "^7.8.3" + "@babel/types" "^7.8.3" + browserslist "^4.8.5" + core-js-compat "^3.6.2" invariant "^2.2.2" - js-levenshtein "^1.1.3" + levenary "^1.1.1" semver "^5.5.0" "@babel/runtime@^7.6.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.8.3.tgz#0811944f73a6c926bb2ad35e918dcc1bfab279f1" - integrity sha512-fVHx1rzEmwB130VTkLnxR+HmxcTjGzH12LYQcFFoBwakMd3aOMD4OsRN7tGG/UOYE2ektgFrS8uACAoRk1CY0w== + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.8.4.tgz#d79f5a2040f7caa24d53e563aad49cbc05581308" + integrity sha512-neAp3zt80trRVBI1x0azq6c57aNBqYZH8KhMm3TaB7wEI5Q4A2SHfBHE8w9gOhI/lrqxtEbXZgQIrHP+wvSGwQ== dependencies: regenerator-runtime "^0.13.2" -"@babel/template@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/template/-/template-7.7.4.tgz#428a7d9eecffe27deac0a98e23bf8e3675d2a77b" - integrity sha512-qUzihgVPguAzXCK7WXw8pqs6cEwi54s3E+HrejlkuWO6ivMKx9hZl3Y2fSXp9i5HgyWmj7RKP+ulaYnKM4yYxw== - dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/parser" "^7.7.4" - "@babel/types" "^7.7.4" - -"@babel/template@^7.8.3": +"@babel/template@^7.7.4", "@babel/template@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz#e02ad04fe262a657809327f578056ca15fd4d1b8" integrity sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ== @@ -804,22 +748,7 @@ "@babel/parser" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/traverse@^7.1.0", "@babel/traverse@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.7.4.tgz#9c1e7c60fb679fe4fcfaa42500833333c2058558" - integrity sha512-P1L58hQyupn8+ezVA2z5KBm4/Zr4lCC8dwKCMYzsa5jFMDMQAzaBNy9W5VjB+KAmBjb40U7a/H6ao+Xo+9saIw== - dependencies: - "@babel/code-frame" "^7.5.5" - "@babel/generator" "^7.7.4" - "@babel/helper-function-name" "^7.7.4" - "@babel/helper-split-export-declaration" "^7.7.4" - "@babel/parser" "^7.7.4" - "@babel/types" "^7.7.4" - debug "^4.1.0" - globals "^11.1.0" - lodash "^4.17.13" - -"@babel/traverse@^7.8.4": +"@babel/traverse@^7.1.0", "@babel/traverse@^7.7.4", "@babel/traverse@^7.8.3", "@babel/traverse@^7.8.4": version "7.8.4" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.8.4.tgz#f0845822365f9d5b0e312ed3959d3f827f869e3c" integrity sha512-NGLJPZwnVEyBPLI+bl9y9aSnxMhsKz42so7ApAv9D+b4vAFPpY013FTS9LdKxcABoIYFU52HcYga1pPlx454mg== @@ -834,16 +763,7 @@ globals "^11.1.0" lodash "^4.17.13" -"@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.7.4": - version "7.7.4" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz#516570d539e44ddf308c07569c258ff94fde9193" - integrity sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA== - dependencies: - esutils "^2.0.2" - lodash "^4.17.13" - to-fast-properties "^2.0.0" - -"@babel/types@^7.8.3": +"@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz#5a383dffa5416db1b73dedffd311ffd0788fb31c" integrity sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg== @@ -1963,6 +1883,11 @@ resolved "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== +"@types/eslint-visitor-keys@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d" + integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag== + "@types/events@*": version "3.0.0" resolved "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" @@ -2026,6 +1951,11 @@ jest-diff "^25.1.0" pretty-format "^25.1.0" +"@types/json-schema@^7.0.3": + version "7.0.4" + resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.4.tgz#38fd73ddfd9b55abb1e1b2ed578cb55bd7b7d339" + integrity sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA== + "@types/lodash@4.14.149": version "4.14.149" resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.149.tgz#1342d63d948c6062838fbf961012f74d4e638440" @@ -2080,6 +2010,49 @@ dependencies: "@types/yargs-parser" "*" +"@typescript-eslint/eslint-plugin@^2.19.0": + version "2.19.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.19.0.tgz#bf743448a4633e4b52bee0c40148ba072ab3adbd" + integrity sha512-u7IcQ9qwsB6U806LupZmINRnQjC+RJyv36sV/ugaFWMHTbFm/hlLTRx3gGYJgHisxcGSTnf+I/fPDieRMhPSQQ== + dependencies: + "@typescript-eslint/experimental-utils" "2.19.0" + eslint-utils "^1.4.3" + functional-red-black-tree "^1.0.1" + regexpp "^3.0.0" + tsutils "^3.17.1" + +"@typescript-eslint/experimental-utils@2.19.0", "@typescript-eslint/experimental-utils@^2.5.0": + version "2.19.0" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.19.0.tgz#d5ca732f22c009e515ba09fcceb5f2127d841568" + integrity sha512-zwpg6zEOPbhB3+GaQfufzlMUOO6GXCNZq6skk+b2ZkZAIoBhVoanWK255BS1g5x9bMwHpLhX0Rpn5Fc3NdCZdg== + dependencies: + "@types/json-schema" "^7.0.3" + "@typescript-eslint/typescript-estree" "2.19.0" + eslint-scope "^5.0.0" + +"@typescript-eslint/parser@^2.19.0": + version "2.19.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.19.0.tgz#912160d9425395d09857dcd5382352bc98be11ae" + integrity sha512-s0jZoxAWjHnuidbbN7aA+BFVXn4TCcxEVGPV8lWMxZglSs3NRnFFAlL+aIENNmzB2/1jUJuySi6GiM6uACPmpg== + dependencies: + "@types/eslint-visitor-keys" "^1.0.0" + "@typescript-eslint/experimental-utils" "2.19.0" + "@typescript-eslint/typescript-estree" "2.19.0" + eslint-visitor-keys "^1.1.0" + +"@typescript-eslint/typescript-estree@2.19.0": + version "2.19.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.19.0.tgz#6bd7310b9827e04756fe712909f26956aac4b196" + integrity sha512-n6/Xa37k0jQdwpUszffi19AlNbVCR0sdvCs3DmSKMD7wBttKY31lhD2fug5kMD91B2qW4mQldaTEc1PEzvGu8w== + dependencies: + debug "^4.1.1" + eslint-visitor-keys "^1.1.0" + glob "^7.1.6" + is-glob "^4.0.1" + lodash "^4.17.15" + semver "^6.3.0" + tsutils "^3.17.1" + "@zkochan/cmd-shim@^3.1.0": version "3.1.0" resolved "https://registry.npmjs.org/@zkochan/cmd-shim/-/cmd-shim-3.1.0.tgz#2ab8ed81f5bb5452a85f25758eb9b8681982fd2e" @@ -2115,6 +2088,11 @@ acorn-globals@^4.3.2: acorn "^6.0.1" acorn-walk "^6.0.1" +acorn-jsx@^5.1.0: + version "5.1.0" + resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.1.0.tgz#294adb71b57398b0680015f0a38c563ee1db5384" + integrity sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw== + acorn-walk@^6.0.1: version "6.2.0" resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.2.0.tgz#123cb8f3b84c2171f1f7fb252615b1c78a6b1a8c" @@ -2156,6 +2134,16 @@ agentkeepalive@^3.4.1: dependencies: humanize-ms "^1.2.1" +ajv@^6.10.0, ajv@^6.10.2: + version "6.11.0" + resolved "https://registry.npmjs.org/ajv/-/ajv-6.11.0.tgz#c3607cbc8ae392d8a5a536f25b21f8e5f3f87fe9" + integrity sha512-nCprB/0syFYy9fVYU1ox1l2KN8S9I+tziH8D4zdZuLT3N6RMlGSGt5FSTpAiHB/Whv8Qs1cWHma1aMKZyaHRKA== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + ajv@^6.5.5: version "6.10.2" resolved "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" @@ -2316,6 +2304,15 @@ array-ify@^1.0.0: resolved "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" integrity sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4= +array-includes@^3.0.3: + version "3.1.1" + resolved "https://registry.npmjs.org/array-includes/-/array-includes-3.1.1.tgz#cdd67e6852bdf9c1215460786732255ed2459348" + integrity sha512-c2VXaCHl7zPsvpkFsw4nxvFie4fh1ur9bpcgsVkIjqn0H/Xwdg+7fv3n2r/isyS8EBj5b06M9kHyZuIr4El6WQ== + dependencies: + define-properties "^1.1.3" + es-abstract "^1.17.0" + is-string "^1.0.5" + array-union@^1.0.1, array-union@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" @@ -2338,6 +2335,14 @@ array-unique@^0.3.2: resolved "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg= +array.prototype.flat@^1.2.1: + version "1.2.3" + resolved "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz#0de82b426b0318dbfdb940089e38b043d37f6c7b" + integrity sha512-gBlRZV0VSmfPIeWfuuy56XZMvbVfbEUnOXUvt3F/eUUUSyzlgLxhEX4YAEpxNAogRGehPSnfXyPtYyKAhkzQhQ== + dependencies: + define-properties "^1.1.3" + es-abstract "^1.17.0-next.1" + arrify@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" @@ -2590,14 +2595,14 @@ browser-resolve@^1.11.3: dependencies: resolve "1.1.7" -browserslist@^4.6.0, browserslist@^4.8.2: - version "4.8.2" - resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.8.2.tgz#b45720ad5fbc8713b7253c20766f701c9a694289" - integrity sha512-+M4oeaTplPm/f1pXDw84YohEv7B1i/2Aisei8s4s6k3QsoSHa7i5sz8u/cGQkkatCPxMASKxPualR4wwYgVboA== +browserslist@^4.8.3, browserslist@^4.8.5: + version "4.8.6" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.8.6.tgz#96406f3f5f0755d272e27a66f4163ca821590a7e" + integrity sha512-ZHao85gf0eZ0ESxLfCp73GG9O/VTytYDIkIiZDlURppLTI9wErSM/5yAKEq6rcUdxBLjMELmrYUJGg5sxGKMHg== dependencies: - caniuse-lite "^1.0.30001015" - electron-to-chromium "^1.3.322" - node-releases "^1.1.42" + caniuse-lite "^1.0.30001023" + electron-to-chromium "^1.3.341" + node-releases "^1.1.47" bs-logger@0.x: version "0.2.6" @@ -2758,10 +2763,10 @@ camelcase@^5.0.0, camelcase@^5.3.1: resolved "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== -caniuse-lite@^1.0.30001015: - version "1.0.30001017" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001017.tgz#d3ad6ec18148b9bd991829958d9d7e562bb78cd6" - integrity sha512-EDnZyOJ6eYh6lHmCvCdHAFbfV4KJ9lSdfv4h/ppEhrU/Yudkl7jujwMZ1we6RX7DXqBfT04pVMQ4J+1wcTlsKA== +caniuse-lite@^1.0.30001023: + version "1.0.30001025" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001025.tgz#30336a8aca7f98618eb3cf38e35184e13d4e5fe6" + integrity sha512-SKyFdHYfXUZf5V85+PJgLYyit27q4wgvZuf8QTOk1osbypcROihMBlx9GRar2/pIcKH2r4OehdlBr9x6PXetAQ== capture-exit@^2.0.0: version "2.0.0" @@ -2881,6 +2886,13 @@ cli-cursor@^2.0.0, cli-cursor@^2.1.0: dependencies: restore-cursor "^2.0.0" +cli-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" + integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== + dependencies: + restore-cursor "^3.1.0" + cli-truncate@^0.2.1: version "0.2.1" resolved "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" @@ -3147,6 +3159,11 @@ console-control-strings@^1.0.0, console-control-strings@~1.1.0: resolved "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= +contains-path@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a" + integrity sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo= + conventional-changelog-angular@5.0.6, conventional-changelog-angular@^5.0.0, conventional-changelog-angular@^5.0.3: version "5.0.6" resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.6.tgz#269540c624553aded809c29a3508fdc2b544c059" @@ -3435,12 +3452,12 @@ copy-descriptor@^0.1.0: resolved "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= -core-js-compat@^3.6.0: - version "3.6.1" - resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.6.1.tgz#39638c935c83c93a793abb628b252ec43e85783a" - integrity sha512-2Tl1EuxZo94QS2VeH28Ebf5g3xbPZG/hj/N5HDDy4XMP/ImR0JIer/nggQRiMN91Q54JVkGbytf42wO29oXVHg== +core-js-compat@^3.6.2: + version "3.6.4" + resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.6.4.tgz#938476569ebb6cda80d339bcf199fae4f16fff17" + integrity sha512-zAa3IZPvsJ0slViBQ2z+vgyyTuhd3MFn1rBQjZSKVEgB0UMYhUkCj9jJUVPgGTGqWvsBVmfnruXgTcNyTlEiSA== dependencies: - browserslist "^4.8.2" + browserslist "^4.8.3" semver "7.0.0" core-js@^2.4.0, core-js@^2.5.0: @@ -3512,7 +3529,7 @@ cross-spawn@^5.0.1: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^6.0.0: +cross-spawn@^6.0.0, cross-spawn@^6.0.5: version "6.0.5" resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== @@ -3610,7 +3627,7 @@ dateformat@^3.0.0: resolved "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== -debug@2.6.9, debug@^2.2.0, debug@^2.3.3: +debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.9: version "2.6.9" resolved "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== @@ -3631,7 +3648,7 @@ debug@^3.1.0: dependencies: ms "^2.1.1" -debug@^4.1.0, debug@^4.1.1: +debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: version "4.1.1" resolved "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== @@ -3839,6 +3856,21 @@ docsify@>=3, docsify@^4.8.0: tinydate "^1.0.0" tweezer.js "^1.4.0" +doctrine@1.5.0: + version "1.5.0" + resolved "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa" + integrity sha1-N53Ocw9hZvds76TmcHoVmwLFpvo= + dependencies: + esutils "^2.0.2" + isarray "^1.0.0" + +doctrine@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" + integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== + dependencies: + esutils "^2.0.2" + domexception@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz#937442644ca6a31261ef36e3ec677fe805582c90" @@ -3893,10 +3925,10 @@ ee-first@1.1.1: resolved "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= -electron-to-chromium@^1.3.322: - version "1.3.322" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.322.tgz#a6f7e1c79025c2b05838e8e344f6e89eb83213a8" - integrity sha512-Tc8JQEfGQ1MzfSzI/bTlSr7btJv/FFO7Yh6tanqVmIWOuNCu6/D1MilIEgLtmWqIrsv+o4IjpLAhgMBr/ncNAA== +electron-to-chromium@^1.3.341: + version "1.3.345" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.345.tgz#2569d0d54a64ef0f32a4b7e8c80afa5fe57c5d98" + integrity sha512-f8nx53+Z9Y+SPWGg3YdHrbYYfIJAtbUjpFfW4X1RwTZ94iUG7geg9tV8HqzAXX7XTNgyWgAFvce4yce8ZKxKmg== elegant-spinner@^1.0.1: version "1.0.1" @@ -3954,6 +3986,23 @@ error-ex@^1.2.0, error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" +es-abstract@^1.17.0: + version "1.17.4" + resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.4.tgz#e3aedf19706b20e7c2594c35fc0d57605a79e184" + integrity sha512-Ae3um/gb8F0mui/jPL+QiqmglkUsaQf7FwBEHYIFkztkneosu9imhqHpBzQ3h1vit8t5iQ74t6PEVvphBZiuiQ== + dependencies: + es-to-primitive "^1.2.1" + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.1" + is-callable "^1.1.5" + is-regex "^1.0.5" + object-inspect "^1.7.0" + object-keys "^1.1.1" + object.assign "^4.1.0" + string.prototype.trimleft "^2.1.1" + string.prototype.trimright "^2.1.1" + es-abstract@^1.17.0-next.1: version "1.17.0" resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.0.tgz#f42a517d0036a5591dbb2c463591dc8bb50309b1" @@ -4014,12 +4063,146 @@ escodegen@^1.11.1: optionalDependencies: source-map "~0.6.1" +eslint-config-prettier@^6.10.0: + version "6.10.0" + resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.10.0.tgz#7b15e303bf9c956875c948f6b21500e48ded6a7f" + integrity sha512-AtndijGte1rPILInUdHjvKEGbIV06NuvPrqlIEaEaWtbtvJh464mDeyGMdZEQMsGvC0ZVkiex1fSNcC4HAbRGg== + dependencies: + get-stdin "^6.0.0" + +eslint-import-resolver-node@^0.3.2: + version "0.3.3" + resolved "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.3.tgz#dbaa52b6b2816b50bc6711af75422de808e98404" + integrity sha512-b8crLDo0M5RSe5YG8Pu2DYBj71tSB6OvXkfzwbJU2w7y8P4/yo0MyF8jU26IEuEuHF2K5/gcAJE3LhQGqBBbVg== + dependencies: + debug "^2.6.9" + resolve "^1.13.1" + +eslint-module-utils@^2.4.1: + version "2.5.2" + resolved "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.5.2.tgz#7878f7504824e1b857dd2505b59a8e5eda26a708" + integrity sha512-LGScZ/JSlqGKiT8OC+cYRxseMjyqt6QO54nl281CK93unD89ijSeRV6An8Ci/2nvWVKe8K/Tqdm75RQoIOCr+Q== + dependencies: + debug "^2.6.9" + pkg-dir "^2.0.0" + +eslint-plugin-import@^2.20.1: + version "2.20.1" + resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.20.1.tgz#802423196dcb11d9ce8435a5fc02a6d3b46939b3" + integrity sha512-qQHgFOTjguR+LnYRoToeZWT62XM55MBVXObHM6SKFd1VzDcX/vqT1kAz8ssqigh5eMj8qXcRoXXGZpPP6RfdCw== + dependencies: + array-includes "^3.0.3" + array.prototype.flat "^1.2.1" + contains-path "^0.1.0" + debug "^2.6.9" + doctrine "1.5.0" + eslint-import-resolver-node "^0.3.2" + eslint-module-utils "^2.4.1" + has "^1.0.3" + minimatch "^3.0.4" + object.values "^1.1.0" + read-pkg-up "^2.0.0" + resolve "^1.12.0" + +eslint-plugin-jest@^23.6.0: + version "23.7.0" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.7.0.tgz#84d5603b6e745b59898cb6750df6a44782a39b04" + integrity sha512-zkiyGlvJeHNjAEz8FaIxTXNblJJ/zj3waNbYbgflK7K6uy0cpE5zJBt/JpJtOBGM/UGkC6BqsQ4n0y7kQ2HA8w== + dependencies: + "@typescript-eslint/experimental-utils" "^2.5.0" + +eslint-scope@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz#e87c8887c73e8d1ec84f1ca591645c358bfc8fb9" + integrity sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw== + dependencies: + esrecurse "^4.1.0" + estraverse "^4.1.1" + +eslint-utils@^1.4.3: + version "1.4.3" + resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f" + integrity sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q== + dependencies: + eslint-visitor-keys "^1.1.0" + +eslint-visitor-keys@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2" + integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A== + +eslint@^6.8.0: + version "6.8.0" + resolved "https://registry.npmjs.org/eslint/-/eslint-6.8.0.tgz#62262d6729739f9275723824302fb227c8c93ffb" + integrity sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig== + dependencies: + "@babel/code-frame" "^7.0.0" + ajv "^6.10.0" + chalk "^2.1.0" + cross-spawn "^6.0.5" + debug "^4.0.1" + doctrine "^3.0.0" + eslint-scope "^5.0.0" + eslint-utils "^1.4.3" + eslint-visitor-keys "^1.1.0" + espree "^6.1.2" + esquery "^1.0.1" + esutils "^2.0.2" + file-entry-cache "^5.0.1" + functional-red-black-tree "^1.0.1" + glob-parent "^5.0.0" + globals "^12.1.0" + ignore "^4.0.6" + import-fresh "^3.0.0" + imurmurhash "^0.1.4" + inquirer "^7.0.0" + is-glob "^4.0.0" + js-yaml "^3.13.1" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.3.0" + lodash "^4.17.14" + minimatch "^3.0.4" + mkdirp "^0.5.1" + natural-compare "^1.4.0" + optionator "^0.8.3" + progress "^2.0.0" + regexpp "^2.0.1" + semver "^6.1.2" + strip-ansi "^5.2.0" + strip-json-comments "^3.0.1" + table "^5.2.3" + text-table "^0.2.0" + v8-compile-cache "^2.0.3" + +espree@^6.1.2: + version "6.1.2" + resolved "https://registry.npmjs.org/espree/-/espree-6.1.2.tgz#6c272650932b4f91c3714e5e7b5f5e2ecf47262d" + integrity sha512-2iUPuuPP+yW1PZaMSDM9eyVf8D5P0Hi8h83YtZ5bPc/zHYjII5khoixIUTMO794NOY8F/ThF1Bo8ncZILarUTA== + dependencies: + acorn "^7.1.0" + acorn-jsx "^5.1.0" + eslint-visitor-keys "^1.1.0" + esprima@^4.0.0, esprima@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== -estraverse@^4.2.0: +esquery@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708" + integrity sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA== + dependencies: + estraverse "^4.0.0" + +esrecurse@^4.1.0: + version "4.2.1" + resolved "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz#007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf" + integrity sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ== + dependencies: + estraverse "^4.1.0" + +estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: version "4.3.0" resolved "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== @@ -4232,6 +4415,11 @@ fast-deep-equal@^2.0.1: resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= +fast-deep-equal@^3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" + integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== + fast-glob@^2.2.6: version "2.2.7" resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz#6953857c3afa475fff92ee6015d52da70a4cd39d" @@ -4304,6 +4492,20 @@ figures@^2.0.0: dependencies: escape-string-regexp "^1.0.5" +figures@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/figures/-/figures-3.1.0.tgz#4b198dd07d8d71530642864af2d45dd9e459c4ec" + integrity sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg== + dependencies: + escape-string-regexp "^1.0.5" + +file-entry-cache@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c" + integrity sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g== + dependencies: + flat-cache "^2.0.1" + file-uri-to-path@1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" @@ -4399,6 +4601,20 @@ findup-sync@^3.0.0: micromatch "^3.0.4" resolve-dir "^1.0.1" +flat-cache@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0" + integrity sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA== + dependencies: + flatted "^2.0.0" + rimraf "2.6.3" + write "1.0.3" + +flatted@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08" + integrity sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg== + flush-write-stream@^1.0.0: version "1.1.1" resolved "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8" @@ -4523,6 +4739,11 @@ function-bind@^1.1.1: resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +functional-red-black-tree@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" + integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc= + gauge@~2.7.3: version "2.7.4" resolved "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" @@ -4598,6 +4819,11 @@ get-stdin@^4.0.1: resolved "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe" integrity sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4= +get-stdin@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b" + integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g== + get-stream@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" @@ -4740,7 +4966,7 @@ glob@7.1.3: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: +glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: version "7.1.6" resolved "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== @@ -4784,6 +5010,13 @@ globals@^11.1.0: resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== +globals@^12.1.0: + version "12.3.0" + resolved "https://registry.npmjs.org/globals/-/globals-12.3.0.tgz#1e564ee5c4dded2ab098b0f88f24702a3c56be13" + integrity sha512-wAfjdLgFsPZsklLJvOBUBmzYE8/CwhEqSBEMRXA3qxIiNtyqvjYurAtIfDh6chlEPUfmTY3MnZh5Hfh4q0UlIw== + dependencies: + type-fest "^0.8.1" + globby@11.0.0, globby@^11.0.0: version "11.0.0" resolved "https://registry.npmjs.org/globby/-/globby-11.0.0.tgz#56fd0e9f0d4f8fb0c456f1ab0dee96e1380bc154" @@ -5094,7 +5327,7 @@ ignore-walk@^3.0.1: dependencies: minimatch "^3.0.4" -ignore@^4.0.3: +ignore@^4.0.3, ignore@^4.0.6: version "4.0.6" resolved "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== @@ -5283,12 +5516,31 @@ inquirer@^6.2.0: strip-ansi "^5.1.0" through "^2.3.6" +inquirer@^7.0.0: + version "7.0.4" + resolved "https://registry.npmjs.org/inquirer/-/inquirer-7.0.4.tgz#99af5bde47153abca23f5c7fc30db247f39da703" + integrity sha512-Bu5Td5+j11sCkqfqmUTiwv+tWisMtP0L7Q8WrqA2C/BbBhy1YTdFrvjjlrKq8oagA/tLQBski2Gcx/Sqyi2qSQ== + dependencies: + ansi-escapes "^4.2.1" + chalk "^2.4.2" + cli-cursor "^3.1.0" + cli-width "^2.0.0" + external-editor "^3.0.3" + figures "^3.0.0" + lodash "^4.17.15" + mute-stream "0.0.8" + run-async "^2.2.0" + rxjs "^6.5.3" + string-width "^4.1.0" + strip-ansi "^5.1.0" + through "^2.3.6" + interpret@^1.0.0: version "1.2.0" resolved "https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296" integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw== -invariant@^2.2.2: +invariant@^2.2.2, invariant@^2.2.4: version "2.2.4" resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== @@ -5576,6 +5828,11 @@ is-stream@^2.0.0: resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3" integrity sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw== +is-string@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz#40493ed198ef3ff477b8c7f92f644ec82a5cd3a6" + integrity sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ== + is-subset@^0.1.1: version "0.1.1" resolved "https://registry.npmjs.org/is-subset/-/is-subset-0.1.1.tgz#8a59117d932de1de00f245fcdd39ce43f1e939a6" @@ -5625,7 +5882,7 @@ is-yarn-global@^0.3.0: resolved "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232" integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw== -isarray@1.0.0, isarray@~1.0.0: +isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= @@ -6049,11 +6306,6 @@ jest@25.1.0: import-local "^3.0.2" jest-cli "^25.1.0" -js-levenshtein@^1.1.3: - version "1.1.6" - resolved "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d" - integrity sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g== - "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -6134,6 +6386,11 @@ json-schema@0.2.3: resolved "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM= +json-stable-stringify-without-jsonify@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" + integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= + json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" @@ -6292,7 +6549,14 @@ leven@^3.1.0: resolved "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== -levn@~0.3.0: +levenary@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/levenary/-/levenary-1.1.1.tgz#842a9ee98d2075aa7faeedbe32679e9205f46f77" + integrity sha512-mkAdOIt79FD6irqjYSs4rdbnlT5vRonMEvBVPVb3XmevfS8kgRXwfes0dhPdEtzTWD/1eNE/Bm/G1iRt6DcnQQ== + dependencies: + leven "^3.1.0" + +levn@^0.3.0, levn@~0.3.0: version "0.3.0" resolved "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4= @@ -6502,7 +6766,7 @@ lodash.uniq@^4.5.0: resolved "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@4.17.14, lodash@4.17.15, lodash@^3.3.1, lodash@^4.17.10, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.5.1: +lodash@4.17.14, lodash@4.17.15, lodash@^3.3.1, lodash@^4.17.10, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.5.1: version "4.17.15" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== @@ -6950,7 +7214,7 @@ mute-stream@0.0.7: resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= -mute-stream@~0.0.4: +mute-stream@0.0.8, mute-stream@~0.0.4: version "0.0.8" resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== @@ -7063,10 +7327,10 @@ node-notifier@^6.0.0: shellwords "^0.1.1" which "^1.3.1" -node-releases@^1.1.42: - version "1.1.44" - resolved "https://registry.npmjs.org/node-releases/-/node-releases-1.1.44.tgz#cd66438a6eb875e3eb012b6a12e48d9f4326ffd7" - integrity sha512-NwbdvJyR7nrcGrXvKAvzc5raj/NkoJudkarh2yIpJ4t0NH4aqjUDz/486P+ynIW5eokKOfzGNRdYoLfBlomruw== +node-releases@^1.1.47: + version "1.1.48" + resolved "https://registry.npmjs.org/node-releases/-/node-releases-1.1.48.tgz#7f647f0c453a0495bcd64cbd4778c26035c2f03a" + integrity sha512-Hr8BbmUl1ujAST0K0snItzEA5zkJTQup8VNTKNfT6Zw8vTJkIiagUPNfxHmgDOyfFYNfKAul40sD0UEYTvwebw== dependencies: semver "^6.3.0" @@ -7268,6 +7532,16 @@ object.pick@^1.3.0: dependencies: isobject "^3.0.1" +object.values@^1.1.0: + version "1.1.1" + resolved "https://registry.npmjs.org/object.values/-/object.values-1.1.1.tgz#68a99ecde356b7e9295a3c5e0ce31dc8c953de5e" + integrity sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA== + dependencies: + define-properties "^1.1.3" + es-abstract "^1.17.0-next.1" + function-bind "^1.1.1" + has "^1.0.3" + octokit-pagination-methods@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4" @@ -7326,7 +7600,7 @@ optimist@^0.6.1: minimist "~0.0.1" wordwrap "~0.0.2" -optionator@^0.8.1: +optionator@^0.8.1, optionator@^0.8.3: version "0.8.3" resolved "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA== @@ -7733,6 +8007,13 @@ pkg-dir@4.2.0, pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" +pkg-dir@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b" + integrity sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s= + dependencies: + find-up "^2.1.0" + pkg-dir@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3" @@ -7804,6 +8085,11 @@ process-nextick-args@~2.0.0: resolved "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== +progress@^2.0.0: + version "2.0.3" + resolved "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" + integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== + promise-inflight@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" @@ -8147,6 +8433,16 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" +regexpp@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f" + integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw== + +regexpp@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.0.0.tgz#dd63982ee3300e67b41c1956f850aa680d9d330e" + integrity sha512-Z+hNr7RAVWxznLPuA7DIh8UNX1j9CDrUQxskw9IrBE1Dxue2lyXT+shqEIeLUjrokxIP8CMy1WkjgG3rTsd5/g== + regexpu-core@^4.6.0: version "4.6.0" resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.6.0.tgz#2037c18b327cfce8a6fea2a4ec441f2432afb8b6" @@ -8357,6 +8653,13 @@ resolve@1.x, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.3.2, resolve@^1.8.1: dependencies: path-parse "^1.0.6" +resolve@^1.12.0, resolve@^1.13.1: + version "1.15.1" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8" + integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w== + dependencies: + path-parse "^1.0.6" + responselike@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" @@ -8380,6 +8683,14 @@ restore-cursor@^2.0.0: onetime "^2.0.0" signal-exit "^3.0.2" +restore-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" + integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== + dependencies: + onetime "^5.1.0" + signal-exit "^3.0.2" + ret@~0.1.10: version "0.1.15" resolved "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" @@ -8400,6 +8711,13 @@ right-pad@^1.0.1: resolved "https://registry.npmjs.org/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0" integrity sha1-jKCMLLtbVedNr6lr9/0aJ9VoyNA= +rimraf@2.6.3: + version "2.6.3" + resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" + integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== + dependencies: + glob "^7.1.3" + rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3: version "2.7.1" resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" @@ -8462,7 +8780,7 @@ rx-lite@^3.1.2: resolved "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102" integrity sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI= -rxjs@^6.1.0, rxjs@^6.3.3, rxjs@^6.4.0: +rxjs@^6.1.0, rxjs@^6.3.3, rxjs@^6.4.0, rxjs@^6.5.3: version "6.5.4" resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz#e0777fe0d184cec7872df147f303572d414e211c" integrity sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q== @@ -8550,7 +8868,7 @@ semver@7.1.2, semver@^7.1.1: resolved "https://registry.npmjs.org/semver/-/semver-7.1.2.tgz#847bae5bce68c5d08889824f02667199b70e3d87" integrity sha512-BJs9T/H8sEVHbeigqzIEo57Iu/3DG6c4QoqTfbQB3BPA4zgzAomh/Fk9E7QtjWQ8mx2dgA9YCfSF4y9k9bHNpQ== -semver@^6.0.0, semver@^6.2.0, semver@^6.3.0: +semver@^6.0.0, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: version "6.3.0" resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== @@ -8679,6 +8997,15 @@ slice-ansi@0.0.4: resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" integrity sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU= +slice-ansi@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636" + integrity sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ== + dependencies: + ansi-styles "^3.2.0" + astral-regex "^1.0.0" + is-fullwidth-code-point "^2.0.0" + slide@^1.1.6: version "1.1.6" resolved "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" @@ -9050,6 +9377,11 @@ strip-json-comments@2.0.1, strip-json-comments@~2.0.1: resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= +strip-json-comments@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz#85713975a91fb87bf1b305cca77395e40d2a64a7" + integrity sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw== + strong-log-transformer@^1.0.6: version "1.0.6" resolved "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-1.0.6.tgz#f7fb93758a69a571140181277eea0c2eb1301fa3" @@ -9107,6 +9439,16 @@ symbol-tree@^3.2.2: resolved "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== +table@^5.2.3: + version "5.4.6" + resolved "https://registry.npmjs.org/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e" + integrity sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug== + dependencies: + ajv "^6.10.2" + lodash "^4.17.14" + slice-ansi "^2.1.0" + string-width "^3.0.0" + tar-fs@2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/tar-fs/-/tar-fs-2.0.0.tgz#677700fc0c8b337a78bee3623fdc235f21d7afad" @@ -9195,6 +9537,11 @@ text-extensions@^1.0.0: resolved "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" integrity sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ== +text-table@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" + integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= + thenify-all@^1.0.0: version "1.6.0" resolved "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726" @@ -9378,11 +9725,18 @@ ts-jest@25.2.0: semver "^5.5" yargs-parser "10.x" -tslib@^1.9.0: +tslib@^1.8.1, tslib@^1.9.0: version "1.10.0" resolved "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== +tsutils@^3.17.1: + version "3.17.1" + resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759" + integrity sha512-kzeQ5B8H3w60nFY2g8cJIuH7JDpsALXySGtwGJ0p2LSjLgay3NdIpqq5SoOBe46bKDW2iq25irHCr8wjomUS2g== + dependencies: + tslib "^1.8.1" + tunnel-agent@^0.6.0: version "0.6.0" resolved "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" @@ -9635,6 +9989,11 @@ uuid@^3.0.1, uuid@^3.3.2: resolved "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866" integrity sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ== +v8-compile-cache@^2.0.3: + version "2.1.0" + resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz#e14de37b31a6d194f5690d67efc4e7f6fc6ab30e" + integrity sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g== + v8-to-istanbul@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-4.0.1.tgz#d6a2a3823b8ff49bdf2167ff2a45d82dff81d02f" @@ -9885,6 +10244,13 @@ write-pkg@^3.1.0: sort-keys "^2.0.0" write-json-file "^2.2.0" +write@1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3" + integrity sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig== + dependencies: + mkdirp "^0.5.1" + ws@^6.2.1: version "6.2.1" resolved "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz#442fdf0a47ed64f59b6a5d8ff130f4748ed524fb" From 01c451c13e0eeb881332465dce0205d96fc5a6f2 Mon Sep 17 00:00:00 2001 From: Armano Date: Sat, 8 Feb 2020 23:52:30 +0100 Subject: [PATCH 0088/2192] test(config-lerna-scopes): add regression tests (#979) * test(config-lerna-scopes): add regression tests * test(config-lerna-scopes): do not break tests in case of lerna update * test(config-lerna-scopes): improve tests for lerna 2 and split tests --- .../lerna-two/packages/a2/package.json | 4 +++ .../lerna-two/packages/b2/package.json | 4 +++ @commitlint/config-lerna-scopes/index.test.js | 25 ++++++++++++++++++- @packages/test/package.json | 1 + 4 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 @commitlint/config-lerna-scopes/fixtures/lerna-two/packages/a2/package.json create mode 100644 @commitlint/config-lerna-scopes/fixtures/lerna-two/packages/b2/package.json diff --git a/@commitlint/config-lerna-scopes/fixtures/lerna-two/packages/a2/package.json b/@commitlint/config-lerna-scopes/fixtures/lerna-two/packages/a2/package.json new file mode 100644 index 0000000000..caecf1e4fb --- /dev/null +++ b/@commitlint/config-lerna-scopes/fixtures/lerna-two/packages/a2/package.json @@ -0,0 +1,4 @@ +{ + "name": "a2", + "version": "1.0.0" +} diff --git a/@commitlint/config-lerna-scopes/fixtures/lerna-two/packages/b2/package.json b/@commitlint/config-lerna-scopes/fixtures/lerna-two/packages/b2/package.json new file mode 100644 index 0000000000..cb876f041e --- /dev/null +++ b/@commitlint/config-lerna-scopes/fixtures/lerna-two/packages/b2/package.json @@ -0,0 +1,4 @@ +{ + "name": "b2", + "version": "1.0.0" +} diff --git a/@commitlint/config-lerna-scopes/index.test.js b/@commitlint/config-lerna-scopes/index.test.js index 45df721bcd..c7661b833e 100644 --- a/@commitlint/config-lerna-scopes/index.test.js +++ b/@commitlint/config-lerna-scopes/index.test.js @@ -1,5 +1,6 @@ import {lerna} from '@commitlint/test'; import config from '.'; +import semver from 'semver'; test('exports rules key', () => { expect(config).toHaveProperty('rules'); @@ -70,5 +71,27 @@ test('returns expected value for scoped lerna repository', async () => { test('works with lerna version < 3', async () => { const {'scope-enum': fn} = config.rules; const cwd = await lerna.bootstrap('lerna-two', __dirname); - await expect(fn({cwd})).resolves.toBeTruthy(); + const [, , value] = await fn({cwd}); + expect(value).toEqual(['a2', 'b2']); +}); + +test('uses lerna version < 3 if installed', async () => { + const semverLt = jest.spyOn(semver, 'lt'); + const cwd = await lerna.bootstrap('lerna-two', __dirname); + const packages = await config.utils.getPackages({cwd}); + + expect(packages).toEqual(['a2', 'b2']); + expect(semverLt).toHaveBeenLastCalledWith('2.11.0', '3.0.0'); + expect(semverLt).toHaveLastReturnedWith(true); +}); + +test('uses lerna version >= 3 if installed', async () => { + const semverLt = jest.spyOn(semver, 'lt'); + const cwd = await lerna.bootstrap('basic', __dirname); + + const packages = await config.utils.getPackages({cwd}); + + expect(packages).toEqual(['a', 'b']); + expect(semverLt).toHaveBeenLastCalledWith('3.20.2', '3.0.0'); + expect(semverLt).toHaveLastReturnedWith(false); }); diff --git a/@packages/test/package.json b/@packages/test/package.json index 1dfacc6b26..0ed6f31c9c 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -35,6 +35,7 @@ "execa": "0.11.0", "fs-extra": "^8.1.0", "pkg-dir": "4.2.0", + "resolve-pkg": "2.0.0", "tmp": "0.1.0" } } From c49a57c77767b8213d565df3a8bbcd7369f36641 Mon Sep 17 00:00:00 2001 From: Avi Sharvit Date: Sun, 9 Feb 2020 10:17:45 +0200 Subject: [PATCH 0089/2192] feat: passdown argv to lint command (#891) passdown travis-cli argument to @commitlint/cli --- @commitlint/travis-cli/src/cli.js | 6 +++-- @commitlint/travis-cli/src/cli.test.js | 37 ++++++++++++++++++++++++-- 2 files changed, 39 insertions(+), 4 deletions(-) diff --git a/@commitlint/travis-cli/src/cli.js b/@commitlint/travis-cli/src/cli.js index f6e2177c44..d05b33fe55 100755 --- a/@commitlint/travis-cli/src/cli.js +++ b/@commitlint/travis-cli/src/cli.js @@ -42,13 +42,15 @@ async function main() { // Restore stashed changes if any await pop(); + const args = process.argv.slice(2); + // Lint all commits in TRAVIS_COMMIT_RANGE if available if (IS_PR && RANGE) { const [start, end] = RANGE.split('.').filter(Boolean); - await lint(['--from', start, '--to', end]); + await lint(['--from', start, '--to', end, ...args]); } else { const input = await log(COMMIT); - await lint([], {input}); + await lint(args, {input}); } } diff --git a/@commitlint/travis-cli/src/cli.test.js b/@commitlint/travis-cli/src/cli.test.js index 9b37462aed..a47bfe52c2 100644 --- a/@commitlint/travis-cli/src/cli.test.js +++ b/@commitlint/travis-cli/src/cli.test.js @@ -18,9 +18,9 @@ const validBaseEnv = { TRAVIS_PULL_REQUEST_SLUG: 'TRAVIS_PULL_REQUEST_SLUG' }; -const cli = async (config = {}) => { +const cli = async (config = {}, args = []) => { try { - return await execa(bin, [], config); + return await execa(bin, args, config); } catch (err) { throw new Error([err.stdout, err.stderr].join('\n')); } @@ -98,6 +98,39 @@ test('should call git with expected args on pull_request', async () => { ]); }); +test('should call git with extra expected args on pull_request', async () => { + const cwd = await git.clone( + 'https://github.com/conventional-changelog/commitlint.git', + ['--depth=10'], + __dirname, + TRAVIS_COMMITLINT_GIT_BIN + ); + + const result = await cli( + { + cwd, + env: {...validBaseEnv, TRAVIS_EVENT_TYPE: 'pull_request'} + }, + ['--config', './config/commitlint.config.js'] + ); + const invocations = await getInvocations(result.stdout); + expect(invocations.length).toBe(3); + + const [stash, branches, commilint] = invocations; + + expect(stash).toEqual(['git', 'stash', '-k', '-u', '--quiet']); + expect(branches).toEqual(['git', 'stash', 'pop', '--quiet']); + expect(commilint).toEqual([ + 'commitlint', + '--from', + 'TRAVIS_COMMIT_A', + '--to', + 'TRAVIS_COMMIT_B', + '--config', + './config/commitlint.config.js' + ]); +}); + function getInvocations(stdout) { const matches = stdout.match(/[^[\]]+/g); const raw = Array.isArray(matches) ? matches : []; From f74e036e08339cd7f8a4fcb0d869f86b45c723ed Mon Sep 17 00:00:00 2001 From: Armano Date: Sun, 9 Feb 2020 09:45:08 +0100 Subject: [PATCH 0090/2192] chore: upgrade execa to 3.4.0 (#984) * fix: upgrade execa to 3.4.0 * test: align with changes in api of execa * test: enable reject flag instead of try catching error --- @commitlint/cli/package.json | 2 +- @commitlint/cli/src/cli.test.js | 68 ++++++++++----------- @commitlint/load/package.json | 2 +- @commitlint/prompt-cli/cli.test.js | 6 +- @commitlint/prompt-cli/package.json | 2 +- @commitlint/travis-cli/package.json | 2 +- @packages/test/package.json | 3 +- @packages/utils/dep-check.js | 2 +- @packages/utils/package.json | 2 +- yarn.lock | 93 +++-------------------------- 10 files changed, 52 insertions(+), 130 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 06e79b24fd..c133b6a3b7 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -53,7 +53,7 @@ "@commitlint/utils": "^8.3.4", "babel-preset-commitlint": "^8.2.0", "cross-env": "7.0.0", - "execa": "0.11.0", + "execa": "^3.4.0", "fs-extra": "^8.1.0" }, "dependencies": { diff --git a/@commitlint/cli/src/cli.test.js b/@commitlint/cli/src/cli.test.js index 36e2d79886..53d6258a90 100644 --- a/@commitlint/cli/src/cli.test.js +++ b/@commitlint/cli/src/cli.test.js @@ -8,12 +8,12 @@ const bin = require.resolve('../lib/cli.js'); const cli = (args, options) => { return (input = '') => { - const c = execa(bin, args, { + return execa(bin, args, { cwd: options.cwd, env: options.env, - input: input + input: input, + reject: false }); - return c.catch(err => err); }; }; @@ -23,7 +23,7 @@ const fixBootstrap = fixture => fix.bootstrap(fixture, __dirname); test('should throw when called without [input]', async () => { const cwd = await gitBootstrap('fixtures/default'); const actual = await cli([], {cwd})(); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should reprint input from stdin', async () => { @@ -57,7 +57,7 @@ test('should produce help for empty config', async () => { const cwd = await gitBootstrap('fixtures/empty'); const actual = await cli([], {cwd})('foo: bar'); expect(actual.stdout).toContain('Please add rules'); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should produce help for problems', async () => { @@ -66,7 +66,7 @@ test('should produce help for problems', async () => { expect(actual.stdout).toContain( 'Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint' ); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should produce help for problems with correct helpurl', async () => { @@ -78,26 +78,26 @@ test('should produce help for problems with correct helpurl', async () => { expect(actual.stdout).toContain( 'Get help: https://github.com/conventional-changelog/commitlint/#testhelpurl' ); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should fail for input from stdin without rules', async () => { const cwd = await gitBootstrap('fixtures/empty'); const actual = await cli([], {cwd})('foo: bar'); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should succeed for input from stdin with rules', async () => { const cwd = await gitBootstrap('fixtures/default'); const actual = await cli([], {cwd})('type: bar'); - expect(actual.code).toBe(0); + expect(actual.exitCode).toBe(0); }); test('should fail for input from stdin with rule from rc', async () => { const cwd = await gitBootstrap('fixtures/simple'); const actual = await cli([], {cwd})('foo: bar'); expect(actual.stdout).toContain('type must not be one of [foo]'); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should work with --config option', async () => { @@ -105,14 +105,14 @@ test('should work with --config option', async () => { const cwd = await gitBootstrap('fixtures/specify-config-file'); const actual = await cli(['--config', file], {cwd})('foo: bar'); expect(actual.stdout).toContain('type must not be one of [foo]'); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should fail for input from stdin with rule from js', async () => { const cwd = await gitBootstrap('fixtures/extends-root'); const actual = await cli(['--extends', './extended'], {cwd})('foo: bar'); expect(actual.stdout).toContain('type must not be one of [foo]'); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should produce no error output with --quiet flag', async () => { @@ -120,7 +120,7 @@ test('should produce no error output with --quiet flag', async () => { const actual = await cli(['--quiet'], {cwd})('foo: bar'); expect(actual.stdout).toEqual(''); expect(actual.stderr).toEqual(''); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should produce no error output with -q flag', async () => { @@ -128,7 +128,7 @@ test('should produce no error output with -q flag', async () => { const actual = await cli(['-q'], {cwd})('foo: bar'); expect(actual.stdout).toEqual(''); expect(actual.stderr).toEqual(''); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should work with husky commitmsg hook and git commit', async () => { @@ -236,7 +236,7 @@ test('should allow reading of environment variables for edit file, succeeding if cwd, env: {variable: 'commit-msg-file'} })(); - expect(actual.code).toBe(0); + expect(actual.exitCode).toBe(0); }); test('should allow reading of environment variables for edit file, failing if invalid', async () => { @@ -249,7 +249,7 @@ test('should allow reading of environment variables for edit file, failing if in cwd, env: {variable: 'commit-msg-file'} })(); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should pick up parser preset and fail accordingly', async () => { @@ -257,7 +257,7 @@ test('should pick up parser preset and fail accordingly', async () => { const actual = await cli(['--parser-preset', './parser-preset'], {cwd})( 'type(scope): subject' ); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); expect(actual.stdout).toContain('may not be empty'); }); @@ -266,7 +266,7 @@ test('should pick up parser preset and succeed accordingly', async () => { const actual = await cli(['--parser-preset', './parser-preset'], {cwd})( '----type(scope): subject' ); - expect(actual.code).toBe(0); + expect(actual.exitCode).toBe(0); }); test('should pick up config from outside git repo and fail accordingly', async () => { @@ -274,7 +274,7 @@ test('should pick up config from outside git repo and fail accordingly', async ( const cwd = await git.init(path.join(outer, 'inner-scope')); const actual = await cli([], {cwd})('inner: bar'); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should pick up config from outside git repo and succeed accordingly', async () => { @@ -282,7 +282,7 @@ test('should pick up config from outside git repo and succeed accordingly', asyn const cwd = await git.init(path.join(outer, 'inner-scope')); const actual = await cli([], {cwd})('outer: bar'); - expect(actual.code).toBe(0); + expect(actual.exitCode).toBe(0); }); test('should pick up config from inside git repo with precedence and succeed accordingly', async () => { @@ -290,7 +290,7 @@ test('should pick up config from inside git repo with precedence and succeed acc const cwd = await git.init(path.join(outer, 'inner-scope')); const actual = await cli([], {cwd})('inner: bar'); - expect(actual.code).toBe(0); + expect(actual.exitCode).toBe(0); }); test('should pick up config from inside git repo with precedence and fail accordingly', async () => { @@ -298,7 +298,7 @@ test('should pick up config from inside git repo with precedence and fail accord const cwd = await git.init(path.join(outer, 'inner-scope')); const actual = await cli([], {cwd})('outer: bar'); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should handle --amend with signoff', async () => { @@ -320,7 +320,7 @@ test('should handle --amend with signoff', async () => { test('should handle linting with issue prefixes', async () => { const cwd = await gitBootstrap('fixtures/issue-prefixes'); const actual = await cli([], {cwd})('foobar REF-1'); - expect(actual.code).toBe(0); + expect(actual.exitCode).toBe(0); }, 10000); test('should print full commit message when input from stdin fails', async () => { @@ -330,7 +330,7 @@ test('should print full commit message when input from stdin fails', async () => const actual = await cli(['--color=false'], {cwd})(input); expect(actual.stdout).toContain(input); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should not print commit message fully or partially when input succeeds', async () => { @@ -341,7 +341,7 @@ test('should not print commit message fully or partially when input succeeds', a expect(actual.stdout).not.toContain(message); expect(actual.stdout).not.toContain(message.split('\n')[0]); - expect(actual.code).toBe(0); + expect(actual.exitCode).toBe(0); }); test('should fail for invalid formatters from configuration', async () => { @@ -352,37 +352,37 @@ test('should fail for invalid formatters from configuration', async () => { 'Using format custom-formatter, but cannot find the module' ); expect(actual.stdout).toEqual(''); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should skip linting if message matches ignores config', async () => { const cwd = await gitBootstrap('fixtures/ignores'); const actual = await cli([], {cwd})('WIP'); - expect(actual.code).toBe(0); + expect(actual.exitCode).toBe(0); }); test('should not skip linting if message does not match ignores config', async () => { const cwd = await gitBootstrap('fixtures/ignores'); const actual = await cli([], {cwd})('foo'); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should not skip linting if defaultIgnores is false', async () => { const cwd = await gitBootstrap('fixtures/default-ignores-false'); const actual = await cli([], {cwd})('fixup! foo: bar'); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should skip linting if defaultIgnores is true', async () => { const cwd = await gitBootstrap('fixtures/default-ignores-true'); const actual = await cli([], {cwd})('fixup! foo: bar'); - expect(actual.code).toBe(0); + expect(actual.exitCode).toBe(0); }); test('should skip linting if defaultIgnores is unset', async () => { const cwd = await gitBootstrap('fixtures/default-ignores-unset'); const actual = await cli([], {cwd})('fixup! foo: bar'); - expect(actual.code).toBe(0); + expect(actual.exitCode).toBe(0); }); test('should fail for invalid formatters from flags', async () => { @@ -393,7 +393,7 @@ test('should fail for invalid formatters from flags', async () => { 'Using format through-flag, but cannot find the module' ); expect(actual.stdout).toEqual(''); - expect(actual.code).toBe(1); + expect(actual.exitCode).toBe(1); }); test('should work with absolute formatter path', async () => { @@ -407,7 +407,7 @@ test('should work with absolute formatter path', async () => { ); expect(actual.stdout).toContain('custom-formatter-ok'); - expect(actual.code).toBe(0); + expect(actual.exitCode).toBe(0); }); test('should work with relative formatter path', async () => { @@ -420,7 +420,7 @@ test('should work with relative formatter path', async () => { ); expect(actual.stdout).toContain('custom-formatter-ok'); - expect(actual.code).toBe(0); + expect(actual.exitCode).toBe(0); }); async function writePkg(payload, options) { diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 67b7fb7674..a90b86261b 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -37,7 +37,7 @@ "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", "@types/lodash": "4.14.149", - "execa": "0.11.0" + "execa": "^3.4.0" }, "dependencies": { "@commitlint/execute-rule": "^8.3.4", diff --git a/@commitlint/prompt-cli/cli.test.js b/@commitlint/prompt-cli/cli.test.js index 3ad7c8fead..546ef1279d 100644 --- a/@commitlint/prompt-cli/cli.test.js +++ b/@commitlint/prompt-cli/cli.test.js @@ -5,12 +5,12 @@ const bin = require.resolve('./cli.js'); const cli = (args, options) => { return (input = '') => { - const c = execa(bin, args, { + return execa(bin, args, { cwd: options.cwd, env: options.env, - input: input + input: input, + reject: false }); - return c.catch(err => err); }; }; diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index c11beb6331..890dc0354d 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -36,6 +36,6 @@ }, "dependencies": { "@commitlint/prompt": "^8.3.5", - "execa": "0.11.0" + "execa": "^3.4.0" } } diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index f1fa12241f..b61c88c069 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -54,6 +54,6 @@ }, "dependencies": { "@commitlint/cli": "^8.3.5", - "execa": "0.11.0" + "execa": "^3.4.0" } } diff --git a/@packages/test/package.json b/@packages/test/package.json index 0ed6f31c9c..f1f046e5c2 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -29,10 +29,9 @@ }, "license": "MIT", "dependencies": { - "@types/execa": "^0.9.0", "@types/fs-extra": "^8.0.1", "@types/tmp": "^0.1.0", - "execa": "0.11.0", + "execa": "^3.4.0", "fs-extra": "^8.1.0", "pkg-dir": "4.2.0", "resolve-pkg": "2.0.0", diff --git a/@packages/utils/dep-check.js b/@packages/utils/dep-check.js index 84eabaa5f6..3f3a7137fc 100755 --- a/@packages/utils/dep-check.js +++ b/@packages/utils/dep-check.js @@ -23,7 +23,7 @@ main().then(args => { console.log(`Checking dependencies ${path.join(cwd, 'package.json')}`); if (err) { console.error(err.stderr); - process.exit(err.code); + process.exit(err.exitCode); } if (out) { console.log(out); diff --git a/@packages/utils/package.json b/@packages/utils/package.json index cc2285a2f1..b5da91d5bb 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -37,7 +37,7 @@ "license": "MIT", "dependencies": { "@commitlint/test": "8.2.0", - "execa": "0.11.0", + "execa": "^3.4.0", "is-builtin-module": "3.0.0", "meow": "4.0.1", "read-pkg": "5.2.0", diff --git a/yarn.lock b/yarn.lock index 1bb6c5f55c..3392a49727 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1893,13 +1893,6 @@ resolved "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" integrity sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g== -"@types/execa@^0.9.0": - version "0.9.0" - resolved "https://registry.npmjs.org/@types/execa/-/execa-0.9.0.tgz#9b025d2755f17e80beaf9368c3f4f319d8b0fb93" - integrity sha512-mgfd93RhzjYBUHHV532turHC2j4l/qxsF/PbfDmprHDEUHmNZGlDn1CEsulGK3AfsPdhkWzZQT/S/k0UGhLGsA== - dependencies: - "@types/node" "*" - "@types/fs-extra@^8.0.1": version "8.0.1" resolved "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.0.1.tgz#a2378d6e7e8afea1564e44aafa2e207dadf77686" @@ -2134,7 +2127,7 @@ agentkeepalive@^3.4.1: dependencies: humanize-ms "^1.2.1" -ajv@^6.10.0, ajv@^6.10.2: +ajv@^6.10.0, ajv@^6.10.2, ajv@^6.5.5: version "6.11.0" resolved "https://registry.npmjs.org/ajv/-/ajv-6.11.0.tgz#c3607cbc8ae392d8a5a536f25b21f8e5f3f87fe9" integrity sha512-nCprB/0syFYy9fVYU1ox1l2KN8S9I+tziH8D4zdZuLT3N6RMlGSGt5FSTpAiHB/Whv8Qs1cWHma1aMKZyaHRKA== @@ -2144,16 +2137,6 @@ ajv@^6.10.0, ajv@^6.10.2: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^6.5.5: - version "6.10.2" - resolved "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" - integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw== - dependencies: - fast-deep-equal "^2.0.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - ansi-align@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz#b536b371cf687caaef236c18d3e21fe3797467cb" @@ -3986,24 +3969,7 @@ error-ex@^1.2.0, error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -es-abstract@^1.17.0: - version "1.17.4" - resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.4.tgz#e3aedf19706b20e7c2594c35fc0d57605a79e184" - integrity sha512-Ae3um/gb8F0mui/jPL+QiqmglkUsaQf7FwBEHYIFkztkneosu9imhqHpBzQ3h1vit8t5iQ74t6PEVvphBZiuiQ== - dependencies: - es-to-primitive "^1.2.1" - function-bind "^1.1.1" - has "^1.0.3" - has-symbols "^1.0.1" - is-callable "^1.1.5" - is-regex "^1.0.5" - object-inspect "^1.7.0" - object-keys "^1.1.1" - object.assign "^4.1.0" - string.prototype.trimleft "^2.1.1" - string.prototype.trimright "^2.1.1" - -es-abstract@^1.17.0-next.1: +es-abstract@^1.17.0, es-abstract@^1.17.0-next.1: version "1.17.0" resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.0.tgz#f42a517d0036a5591dbb2c463591dc8bb50309b1" integrity sha512-yYkE07YF+6SIBmg1MsJ9dlub5L48Ek7X0qz+c/CPCHS9EBXfESorzng4cJQjJW5/pB6vDF41u7F8vUhLVDqIug== @@ -4227,19 +4193,6 @@ exec-sh@^0.3.2: resolved "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.4.tgz#3a018ceb526cc6f6df2bb504b2bfe8e3a4934ec5" integrity sha512-sEFIkc61v75sWeOe72qyrqg2Qg0OuLESziUDk/O/z2qgS15y2gWVFrI6f2Qn/qw/0/NCfCEsmNA4zOjkwEZT1A== -execa@0.11.0: - version "0.11.0" - resolved "https://registry.npmjs.org/execa/-/execa-0.11.0.tgz#0b3c71daf9b9159c252a863cd981af1b4410d97a" - integrity sha512-k5AR22vCt1DcfeiRixW46U5tMLtBg44ssdJM9PiXw3D8Bn5qyxFCSnKY/eR22y+ctFDGPqafpaXg2G4Emyua4A== - dependencies: - cross-spawn "^6.0.0" - get-stream "^4.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - execa@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" @@ -4410,11 +4363,6 @@ fast-async@^7.0.6: nodent-runtime "^3.2.1" nodent-transform "^3.2.4" -fast-deep-equal@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" - integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= - fast-deep-equal@^3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" @@ -5105,7 +5053,7 @@ growly@^1.3.0: resolved "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" integrity sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE= -handlebars@^4.0.2: +handlebars@^4.0.2, handlebars@^4.4.0: version "4.7.3" resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.7.3.tgz#8ece2797826886cf8082d1726ff21d2a022550ee" integrity sha512-SRGwSYuNfx8DwHD/6InAPzD6RgeruWLT+B8e8a7gGs8FWgHzlExpTFMEq2IA6QpAfOClpKHy6+8IqTjeBCu6Kg== @@ -5116,17 +5064,6 @@ handlebars@^4.0.2: optionalDependencies: uglify-js "^3.1.4" -handlebars@^4.4.0: - version "4.5.3" - resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz#5cf75bd8714f7605713511a56be7c349becb0482" - integrity sha512-3yPecJoJHK/4c6aZhSvxOyG4vJKDshV36VHp0iVCDVh7o9w2vwi3NSnL2MMPj3YdduqaBcu7cGbggJQM0br9xA== - dependencies: - neo-async "^2.6.0" - optimist "^0.6.1" - source-map "^0.6.1" - optionalDependencies: - uglify-js "^3.1.4" - har-schema@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" @@ -5679,11 +5616,9 @@ is-extglob@^2.1.0, is-extglob@^2.1.1: integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= is-finite@^1.0.0: - version "1.0.2" - resolved "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" - integrity sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko= - dependencies: - number-is-nan "^1.0.0" + version "1.1.0" + resolved "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz#904135c77fb42c0641d6aa1bcdbc4daa8da082f3" + integrity sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w== is-fullwidth-code-point@^1.0.0: version "1.0.0" @@ -7956,16 +7891,11 @@ performance-now@^2.1.0: resolved "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= -picomatch@^2.0.4: +picomatch@^2.0.4, picomatch@^2.0.5: version "2.2.1" resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a" integrity sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA== -picomatch@^2.0.5: - version "2.1.1" - resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.1.1.tgz#ecdfbea7704adb5fe6fb47f9866c4c0e15e905c5" - integrity sha512-OYMyqkKzK7blWO/+XZYP6w8hH0LDvkBvdvKukti+7kqYFCiEAk+gI3DWnryapc0Dau05ugGTy0foQ6mqn4AHYA== - pify@^2.0.0, pify@^2.3.0: version "2.3.0" resolved "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" @@ -8646,14 +8576,7 @@ resolve@1.1.7: resolved "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@1.x, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.3.2, resolve@^1.8.1: - version "1.14.1" - resolved "https://registry.npmjs.org/resolve/-/resolve-1.14.1.tgz#9e018c540fcf0c427d678b9931cbf45e984bcaff" - integrity sha512-fn5Wobh4cxbLzuHaE+nphztHy43/b++4M6SsGFC2gB8uYwf0C8LcarfCz1un7UTW8OFQg9iNjZ4xpcFVGebDPg== - dependencies: - path-parse "^1.0.6" - -resolve@^1.12.0, resolve@^1.13.1: +resolve@1.x, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.3.2, resolve@^1.8.1, resolve@^1.12.0, resolve@^1.13.1: version "1.15.1" resolved "https://registry.npmjs.org/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8" integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w== From ec4af58a7b5e49ee6c7fd78cc2f092f35d49105a Mon Sep 17 00:00:00 2001 From: Armano Date: Mon, 10 Feb 2020 00:29:46 +0100 Subject: [PATCH 0091/2192] docs: update node version support (#986) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bed9be00ce..1cabf4cd36 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ is room and need for improvement. The items on the roadmap should enhance `commi ## Version Support -- Node.js [LTS](https://github.com/nodejs/LTS#lts-schedule) `>= 6` +- Node.js [LTS](https://github.com/nodejs/LTS#lts-schedule) `>= 8` - git `>= 2.13.2` ## Related projects From d5c601f5cce5c33199a627f3e589ecd7c5fee4db Mon Sep 17 00:00:00 2001 From: Armano Date: Mon, 10 Feb 2020 00:39:41 +0100 Subject: [PATCH 0092/2192] test: add missing test cases for ensure and is-ignored (#987) * test(esnure): add tests for untested code paths * test(is-ignored): add test case for untested code path --- @commitlint/ensure/src/enum.test.ts | 5 +++++ @commitlint/is-ignored/src/is-ignored.test.ts | 11 ++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/@commitlint/ensure/src/enum.test.ts b/@commitlint/ensure/src/enum.test.ts index 599234021a..ab7d5d0ff7 100644 --- a/@commitlint/ensure/src/enum.test.ts +++ b/@commitlint/ensure/src/enum.test.ts @@ -5,6 +5,11 @@ test('false for no params', () => { expect(actual).toBe(false); }); +test('false for not array enums', () => { + const actual = ensure('a', 'a' as any); + expect(actual).toBe(false); +}); + test('true for a against a', () => { const actual = ensure('a', ['a']); expect(actual).toBe(true); diff --git a/@commitlint/is-ignored/src/is-ignored.test.ts b/@commitlint/is-ignored/src/is-ignored.test.ts index 663080223b..e50524dc9c 100644 --- a/@commitlint/is-ignored/src/is-ignored.test.ts +++ b/@commitlint/is-ignored/src/is-ignored.test.ts @@ -150,7 +150,7 @@ test('should throw error if ignores is not an array', () => { isIgnored(ignoredString, { ignores: 'throws error' } as any); - }).toThrow(); + }).toThrow('ignores must be of type array, received '); }); test('should return true for custom ignores as function', () => { @@ -161,3 +161,12 @@ test('should return true for custom ignores as function', () => { }) ).toBe(true); }); + +test('should throw error if any element of ignores is not a function', () => { + const ignoredString = 'this should be ignored'; + expect(() => { + isIgnored(ignoredString, { + ignores: ['throws error'] + } as any); + }).toThrow('ignores must be array of type function, received items of type:'); +}); From f379dcc36948a5ec2dfec9bcd0f47ffe8fdaff6c Mon Sep 17 00:00:00 2001 From: Armano Date: Mon, 10 Feb 2020 11:24:54 +0100 Subject: [PATCH 0093/2192] refactor: replace lodash/omit with spread (#988) --- @commitlint/resolve-extends/src/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/@commitlint/resolve-extends/src/index.ts b/@commitlint/resolve-extends/src/index.ts index 3e0c2acf23..d8ae01de54 100644 --- a/@commitlint/resolve-extends/src/index.ts +++ b/@commitlint/resolve-extends/src/index.ts @@ -4,7 +4,6 @@ import 'resolve-global'; import resolveFrom from 'resolve-from'; import merge from 'lodash/merge'; import mergeWith from 'lodash/mergeWith'; -import omit from 'lodash/omit'; const importFresh = require('import-fresh'); @@ -34,8 +33,8 @@ export default function resolveExtends( ) { const {extends: e} = config; const extended = loadExtends(config, context).reduceRight( - (r, c) => - mergeWith(r, omit(c, 'extends'), (objValue, srcValue) => { + (r, {extends: _, ...c}) => + mergeWith(r, c, (objValue, srcValue) => { if (Array.isArray(objValue)) { return srcValue; } From 6f80f700dc29f44efa56f9fffcc0cdd0251afdf9 Mon Sep 17 00:00:00 2001 From: Armano Date: Tue, 11 Feb 2020 06:57:27 +0100 Subject: [PATCH 0094/2192] chore: align required globby between packages (#992) --- @commitlint/ensure/package.json | 2 +- yarn.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 0ad403e3eb..fc75b08465 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -36,7 +36,7 @@ "devDependencies": { "@commitlint/utils": "^8.3.4", "@types/lodash": "4.14.149", - "globby": "11.0.0" + "globby": "^11.0.0" }, "dependencies": { "@commitlint/types": "^8.3.4", diff --git a/yarn.lock b/yarn.lock index 3392a49727..e3f251e81e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4965,7 +4965,7 @@ globals@^12.1.0: dependencies: type-fest "^0.8.1" -globby@11.0.0, globby@^11.0.0: +globby@^11.0.0: version "11.0.0" resolved "https://registry.npmjs.org/globby/-/globby-11.0.0.tgz#56fd0e9f0d4f8fb0c456f1ab0dee96e1380bc154" integrity sha512-iuehFnR3xu5wBBtm4xi0dMe92Ob87ufyu/dHwpDYfbcpYpIbrO5OnS8M1vWvrBhSGEJ3/Ecj7gnX76P8YxpPEg== @@ -8576,7 +8576,7 @@ resolve@1.1.7: resolved "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@1.x, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.3.2, resolve@^1.8.1, resolve@^1.12.0, resolve@^1.13.1: +resolve@1.x, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.3.2, resolve@^1.8.1: version "1.15.1" resolved "https://registry.npmjs.org/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8" integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w== From 34c11b8f3f233eca51866274a10d35231e8eb3d4 Mon Sep 17 00:00:00 2001 From: Armano Date: Tue, 11 Feb 2020 06:59:42 +0100 Subject: [PATCH 0095/2192] fix: incorrect use of when in getForcedCaseFn (#993) --- @commitlint/prompt/src/library/get-forced-case-fn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@commitlint/prompt/src/library/get-forced-case-fn.js b/@commitlint/prompt/src/library/get-forced-case-fn.js index dd4c7fb07e..9cf401910a 100644 --- a/@commitlint/prompt/src/library/get-forced-case-fn.js +++ b/@commitlint/prompt/src/library/get-forced-case-fn.js @@ -30,7 +30,7 @@ export default function getForcedCaseFn(rule) { const [, when] = config; - if (when === 'neve') { + if (when === 'never') { return; } From 0404c7d9deee4fcf013a9e20065e501b9235f79d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 12 Feb 2020 09:32:21 +1100 Subject: [PATCH 0096/2192] chore: update dependency @types/node to v12.12.27 (#994) Co-authored-by: WhiteSource Renovate --- package.json | 2 +- yarn.lock | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9d0b20531b..3eabfb9849 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "devDependencies": { "@lerna/project": "3.18.0", "@types/jest": "25.1.2", - "@types/node": "12.12.26", + "@types/node": "12.12.27", "@typescript-eslint/eslint-plugin": "^2.19.0", "@typescript-eslint/parser": "^2.19.0", "docsify-cli": "^4.4.0", diff --git a/yarn.lock b/yarn.lock index e3f251e81e..2bdbd0df6f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1959,11 +1959,16 @@ resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== -"@types/node@*", "@types/node@12.12.26", "@types/node@>= 8": +"@types/node@*", "@types/node@>= 8": version "12.12.26" resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9" integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA== +"@types/node@12.12.27": + version "12.12.27" + resolved "https://registry.npmjs.org/@types/node/-/node-12.12.27.tgz#d7506f73160ad30fcebbcf5b8b7d2d976e649e42" + integrity sha512-odQFl/+B9idbdS0e8IxDl2ia/LP8KZLXhV3BUeI98TrZp0uoIzQPhGd+5EtzHmT0SMOIaPd7jfz6pOHLWTtl7A== + "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" From c7cfe3758636928e8b11c5be9a80e50fbae0085f Mon Sep 17 00:00:00 2001 From: Armano Date: Tue, 11 Feb 2020 23:32:49 +0100 Subject: [PATCH 0097/2192] chore: remove unused configs (#991) * chore: remove no longer used travis config * chore: remove lodash resolution to have environment as users * chore(commitlint-config-patternplate): move utils to devDependencies * chore(read): remove no longer used babel config * chore: remove redundant workspaces-experimental yarn flag * Revert "chore: remove lodash resolution to have environment as users" This reverts commit b9264e4f32ec68ad5832ebf48986accf9523f787. --- .travis.yml | 6 ------ .yarnrc | 1 - @alias/commitlint-config-patternplate/package.json | 4 +++- @commitlint/read/package.json | 8 -------- 4 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a4cdcc2987..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -os: windows -language: node_js -node_js: - - lts/* -before_script: - - yarn build diff --git a/.yarnrc b/.yarnrc index aeff25b683..9f4075ec6a 100644 --- a/.yarnrc +++ b/.yarnrc @@ -1,3 +1,2 @@ -workspaces-experimental "true" registry "https://registry.npmjs.org/" --install.ignore-engines true diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index ff4b2f6d50..eaa60d4e01 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -29,7 +29,9 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-patternplate": "^8.3.4", + "@commitlint/config-patternplate": "^8.3.4" + }, + "devDependencies": { "@commitlint/utils": "^8.3.4" } } diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 5b77a67c8e..ac5fe177dd 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -11,14 +11,6 @@ "deps": "dep-check", "pkg": "pkg-check --skip-import" }, - "babel": { - "presets": [ - "babel-preset-commitlint" - ], - "ignore": [ - "**/*.test.js" - ] - }, "engines": { "node": ">=8" }, From 4ee307a1f8c861ae5d8a038560d166c5d00ea8ba Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 13 Feb 2020 20:34:20 +1100 Subject: [PATCH 0098/2192] fix: update dependency semver to v7.1.3 (#995) Co-authored-by: WhiteSource Renovate --- @commitlint/config-lerna-scopes/package.json | 2 +- @commitlint/is-ignored/package.json | 2 +- yarn.lock | 13 +++++++++---- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index 3b07d73364..309e2ff395 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -34,7 +34,7 @@ "dependencies": { "import-from": "3.0.0", "resolve-pkg": "2.0.0", - "semver": "7.1.2" + "semver": "7.1.3" }, "devDependencies": { "@commitlint/test": "8.2.0", diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index fcaa632965..f02c11913d 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -41,6 +41,6 @@ }, "dependencies": { "@commitlint/types": "^8.3.4", - "semver": "7.1.2" + "semver": "7.1.3" } } diff --git a/yarn.lock b/yarn.lock index 2bdbd0df6f..a111d2fe2f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8791,16 +8791,21 @@ semver@7.0.0: resolved "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -semver@7.1.2, semver@^7.1.1: - version "7.1.2" - resolved "https://registry.npmjs.org/semver/-/semver-7.1.2.tgz#847bae5bce68c5d08889824f02667199b70e3d87" - integrity sha512-BJs9T/H8sEVHbeigqzIEo57Iu/3DG6c4QoqTfbQB3BPA4zgzAomh/Fk9E7QtjWQ8mx2dgA9YCfSF4y9k9bHNpQ== +semver@7.1.3: + version "7.1.3" + resolved "https://registry.npmjs.org/semver/-/semver-7.1.3.tgz#e4345ce73071c53f336445cfc19efb1c311df2a6" + integrity sha512-ekM0zfiA9SCBlsKa2X1hxyxiI4L3B6EbVJkkdgQXnSEEaHlGdvyodMruTiulSRWMMB4NeIuYNMC9rTKTz97GxA== semver@^6.0.0, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: version "6.3.0" resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@^7.1.1: + version "7.1.2" + resolved "https://registry.npmjs.org/semver/-/semver-7.1.2.tgz#847bae5bce68c5d08889824f02667199b70e3d87" + integrity sha512-BJs9T/H8sEVHbeigqzIEo57Iu/3DG6c4QoqTfbQB3BPA4zgzAomh/Fk9E7QtjWQ8mx2dgA9YCfSF4y9k9bHNpQ== + send@0.17.1: version "0.17.1" resolved "https://registry.npmjs.org/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8" From 9d1479219102c2264a944ff2134fe8e03c00cdef Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 13 Feb 2020 20:35:50 +1100 Subject: [PATCH 0099/2192] chore: update dependency husky to v4.2.3 (#996) Co-authored-by: WhiteSource Renovate --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3eabfb9849..8c598acaf3 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "eslint-config-prettier": "^6.10.0", "eslint-plugin-import": "^2.20.1", "eslint-plugin-jest": "^23.6.0", - "husky": "4.2.1", + "husky": "4.2.3", "jest": "25.1.0", "lerna": "3.20.2", "lerna-v2": "npm:lerna@2", diff --git a/yarn.lock b/yarn.lock index a111d2fe2f..1e9f68fc61 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5234,10 +5234,10 @@ humanize-ms@^1.2.1: dependencies: ms "^2.0.0" -husky@4.2.1: - version "4.2.1" - resolved "https://registry.npmjs.org/husky/-/husky-4.2.1.tgz#b09f1bd9129e6c323cc515dc17081d0615e2d7c1" - integrity sha512-Qa0lRreeIf4Tl92sSs42ER6qc3hzoyQPPorzOrFWfPEVbdi6LuvJEqWKPk905fOWIR76iBpp7ECZNIwk+a8xuQ== +husky@4.2.3: + version "4.2.3" + resolved "https://registry.npmjs.org/husky/-/husky-4.2.3.tgz#3b18d2ee5febe99e27f2983500202daffbc3151e" + integrity sha512-VxTsSTRwYveKXN4SaH1/FefRJYCtx+wx04sSVcOpD7N2zjoHxa+cEJ07Qg5NmV3HAK+IRKOyNVpi2YBIVccIfQ== dependencies: chalk "^3.0.0" ci-info "^2.0.0" From 89168b8c85e825972acc5d35120a7c1077e7524a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 18 Feb 2020 19:29:47 +1100 Subject: [PATCH 0100/2192] chore: update typescript-eslint monorepo to v2.20.0 (#998) Co-authored-by: WhiteSource Renovate --- yarn.lock | 42 ++++++++++++++++++++++++++++++++---------- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/yarn.lock b/yarn.lock index 1e9f68fc61..31bd881e0d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2009,17 +2009,26 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^2.19.0": - version "2.19.0" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.19.0.tgz#bf743448a4633e4b52bee0c40148ba072ab3adbd" - integrity sha512-u7IcQ9qwsB6U806LupZmINRnQjC+RJyv36sV/ugaFWMHTbFm/hlLTRx3gGYJgHisxcGSTnf+I/fPDieRMhPSQQ== + version "2.20.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.20.0.tgz#a522d0e1e4898f7c9c6a8e1ed3579b60867693fa" + integrity sha512-cimIdVDV3MakiGJqMXw51Xci6oEDEoPkvh8ggJe2IIzcc0fYqAxOXN6Vbeanahz6dLZq64W+40iUEc9g32FLDQ== dependencies: - "@typescript-eslint/experimental-utils" "2.19.0" + "@typescript-eslint/experimental-utils" "2.20.0" eslint-utils "^1.4.3" functional-red-black-tree "^1.0.1" regexpp "^3.0.0" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@2.19.0", "@typescript-eslint/experimental-utils@^2.5.0": +"@typescript-eslint/experimental-utils@2.20.0": + version "2.20.0" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.20.0.tgz#3b6fa5a6b8885f126d5a4280e0d44f0f41e73e32" + integrity sha512-fEBy9xYrwG9hfBLFEwGW2lKwDRTmYzH3DwTmYbT+SMycmxAoPl0eGretnBFj/s+NfYBG63w/5c3lsvqqz5mYag== + dependencies: + "@types/json-schema" "^7.0.3" + "@typescript-eslint/typescript-estree" "2.20.0" + eslint-scope "^5.0.0" + +"@typescript-eslint/experimental-utils@^2.5.0": version "2.19.0" resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.19.0.tgz#d5ca732f22c009e515ba09fcceb5f2127d841568" integrity sha512-zwpg6zEOPbhB3+GaQfufzlMUOO6GXCNZq6skk+b2ZkZAIoBhVoanWK255BS1g5x9bMwHpLhX0Rpn5Fc3NdCZdg== @@ -2029,13 +2038,13 @@ eslint-scope "^5.0.0" "@typescript-eslint/parser@^2.19.0": - version "2.19.0" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.19.0.tgz#912160d9425395d09857dcd5382352bc98be11ae" - integrity sha512-s0jZoxAWjHnuidbbN7aA+BFVXn4TCcxEVGPV8lWMxZglSs3NRnFFAlL+aIENNmzB2/1jUJuySi6GiM6uACPmpg== + version "2.20.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.20.0.tgz#608e5bb06ba98a415b64ace994c79ab20f9772a9" + integrity sha512-o8qsKaosLh2qhMZiHNtaHKTHyCHc3Triq6aMnwnWj7budm3xAY9owSZzV1uon5T9cWmJRJGzTFa90aex4m77Lw== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "2.19.0" - "@typescript-eslint/typescript-estree" "2.19.0" + "@typescript-eslint/experimental-utils" "2.20.0" + "@typescript-eslint/typescript-estree" "2.20.0" eslint-visitor-keys "^1.1.0" "@typescript-eslint/typescript-estree@2.19.0": @@ -2051,6 +2060,19 @@ semver "^6.3.0" tsutils "^3.17.1" +"@typescript-eslint/typescript-estree@2.20.0": + version "2.20.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.20.0.tgz#90a0f5598826b35b966ca83483b1a621b1a4d0c9" + integrity sha512-WlFk8QtI8pPaE7JGQGxU7nGcnk1ccKAJkhbVookv94ZcAef3m6oCE/jEDL6dGte3JcD7reKrA0o55XhBRiVT3A== + dependencies: + debug "^4.1.1" + eslint-visitor-keys "^1.1.0" + glob "^7.1.6" + is-glob "^4.0.1" + lodash "^4.17.15" + semver "^6.3.0" + tsutils "^3.17.1" + "@zkochan/cmd-shim@^3.1.0": version "3.1.0" resolved "https://registry.npmjs.org/@zkochan/cmd-shim/-/cmd-shim-3.1.0.tgz#2ab8ed81f5bb5452a85f25758eb9b8681982fd2e" From 444306249b8a3d04524538f61edca8f6cc10d75f Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Tue, 18 Feb 2020 19:47:10 +1100 Subject: [PATCH 0101/2192] feat: add async promise based rules methods into lint (#976) * feat(rules): add async promise based rules methods into lint * fix: accomodate async rules in type system * style: apply autoformatting --- @commitlint/lint/src/lint.test.ts | 20 +++++++++++++++++++ @commitlint/lint/src/lint.ts | 19 +++++++++++------- @commitlint/rules/src/body-case.ts | 4 ++-- @commitlint/rules/src/body-empty.ts | 4 ++-- @commitlint/rules/src/body-leading-blank.ts | 4 ++-- @commitlint/rules/src/body-max-length.ts | 4 ++-- @commitlint/rules/src/body-max-line-length.ts | 4 ++-- @commitlint/rules/src/body-min-length.ts | 4 ++-- @commitlint/rules/src/footer-empty.ts | 4 ++-- @commitlint/rules/src/footer-leading-blank.ts | 4 ++-- @commitlint/rules/src/footer-max-length.ts | 4 ++-- .../rules/src/footer-max-line-length.ts | 4 ++-- @commitlint/rules/src/footer-min-length.ts | 4 ++-- @commitlint/rules/src/header-case.ts | 4 ++-- @commitlint/rules/src/header-full-stop.ts | 4 ++-- @commitlint/rules/src/header-max-length.ts | 4 ++-- @commitlint/rules/src/header-min-length.ts | 4 ++-- @commitlint/rules/src/references-empty.ts | 4 ++-- @commitlint/rules/src/scope-case.ts | 4 ++-- @commitlint/rules/src/scope-empty.ts | 4 ++-- @commitlint/rules/src/scope-enum.ts | 4 ++-- @commitlint/rules/src/scope-max-length.ts | 4 ++-- @commitlint/rules/src/scope-min-length.ts | 4 ++-- @commitlint/rules/src/signed-off-by.ts | 4 ++-- @commitlint/rules/src/subject-case.ts | 4 ++-- @commitlint/rules/src/subject-empty.ts | 4 ++-- @commitlint/rules/src/subject-full-stop.ts | 4 ++-- @commitlint/rules/src/subject-max-length.ts | 4 ++-- @commitlint/rules/src/subject-min-length.ts | 4 ++-- @commitlint/rules/src/type-case.ts | 4 ++-- @commitlint/rules/src/type-empty.ts | 4 ++-- @commitlint/rules/src/type-enum.ts | 4 ++-- @commitlint/rules/src/type-max-length.ts | 4 ++-- @commitlint/rules/src/type-min-length.ts | 4 ++-- @commitlint/types/src/rules.ts | 18 ++++++++++++++--- 35 files changed, 111 insertions(+), 74 deletions(-) diff --git a/@commitlint/lint/src/lint.test.ts b/@commitlint/lint/src/lint.test.ts index c8ff6cc123..3104eb5fb7 100644 --- a/@commitlint/lint/src/lint.test.ts +++ b/@commitlint/lint/src/lint.test.ts @@ -283,3 +283,23 @@ test('returns original message with commit header, body and footer, parsing comm expect(report.input).toBe(expected); }); + +test('passes for async rule', async () => { + const report = await lint( + 'somehting #1', + { + 'async-rule': [2, 'never'] + }, + { + plugins: { + 'example-plugin': { + rules: { + 'async-rule': async () => [true, 'all good'] as const + } + } + } + } + ); + + expect(report.valid).toBe(true); +}); diff --git a/@commitlint/lint/src/lint.ts b/@commitlint/lint/src/lint.ts index f216c7996e..873f1484fa 100644 --- a/@commitlint/lint/src/lint.ts +++ b/@commitlint/lint/src/lint.ts @@ -8,7 +8,9 @@ import { LintOptions, LintRuleOutcome, Rule, - RuleSeverity + RuleSeverity, + BaseRule, + RuleType } from '@commitlint/types'; export default async function lint( @@ -35,7 +37,7 @@ export default async function lint( // Parse the commit message const parsed = await parse(message, undefined, opts.parserOpts); - const allRules: Map | Rule> = new Map( + const allRules: Map> = new Map( Object.entries(defaultRules) ); @@ -130,9 +132,9 @@ export default async function lint( } // Validate against all rules - const results = Object.entries(rulesConfig) + const pendingResults = Object.entries(rulesConfig) .filter(([, [level]]) => level > 0) - .map(entry => { + .map(async entry => { const [name, config] = entry; const [level, when, value] = config; @@ -148,7 +150,7 @@ export default async function lint( } const executableRule = rule as Rule; - const [valid, message] = executableRule(parsed, when, value); + const [valid, message] = await executableRule(parsed, when, value); return { level, @@ -156,8 +158,11 @@ export default async function lint( name, message }; - }) - .filter((result): result is LintRuleOutcome => result !== null); + }); + + const results = (await Promise.all(pendingResults)).filter( + (result): result is LintRuleOutcome => result !== null + ); const errors = results.filter(result => result.level === 2 && !result.valid); const warnings = results.filter( diff --git a/@commitlint/rules/src/body-case.ts b/@commitlint/rules/src/body-case.ts index 62473783b9..f5262dede4 100644 --- a/@commitlint/rules/src/body-case.ts +++ b/@commitlint/rules/src/body-case.ts @@ -1,8 +1,8 @@ import {case as ensureCase} from '@commitlint/ensure'; import message from '@commitlint/message'; -import {TargetCaseType, Rule} from '@commitlint/types'; +import {TargetCaseType, SyncRule} from '@commitlint/types'; -export const bodyCase: Rule = ( +export const bodyCase: SyncRule = ( parsed, when = 'always', value = undefined diff --git a/@commitlint/rules/src/body-empty.ts b/@commitlint/rules/src/body-empty.ts index 571563bc9c..1fd787c000 100644 --- a/@commitlint/rules/src/body-empty.ts +++ b/@commitlint/rules/src/body-empty.ts @@ -1,8 +1,8 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const bodyEmpty: Rule = (parsed, when = 'always') => { +export const bodyEmpty: SyncRule = (parsed, when = 'always') => { const negated = when === 'never'; const notEmpty = ensure.notEmpty(parsed.body || ''); diff --git a/@commitlint/rules/src/body-leading-blank.ts b/@commitlint/rules/src/body-leading-blank.ts index 0b6bdf1d4b..84d6b743c9 100644 --- a/@commitlint/rules/src/body-leading-blank.ts +++ b/@commitlint/rules/src/body-leading-blank.ts @@ -1,8 +1,8 @@ import toLines from '@commitlint/to-lines'; import message from '@commitlint/message'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const bodyLeadingBlank: Rule = (parsed, when) => { +export const bodyLeadingBlank: SyncRule = (parsed, when) => { // Flunk if no body is found if (!parsed.body) { return [true]; diff --git a/@commitlint/rules/src/body-max-length.ts b/@commitlint/rules/src/body-max-length.ts index bc0cc81df3..fa100143cb 100644 --- a/@commitlint/rules/src/body-max-length.ts +++ b/@commitlint/rules/src/body-max-length.ts @@ -1,7 +1,7 @@ import {maxLength} from '@commitlint/ensure'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const bodyMaxLength: Rule = ( +export const bodyMaxLength: SyncRule = ( parsed, _when = undefined, value = 0 diff --git a/@commitlint/rules/src/body-max-line-length.ts b/@commitlint/rules/src/body-max-line-length.ts index 2746993a97..2946e41ec1 100644 --- a/@commitlint/rules/src/body-max-line-length.ts +++ b/@commitlint/rules/src/body-max-line-length.ts @@ -1,7 +1,7 @@ import {maxLineLength} from '@commitlint/ensure'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const bodyMaxLineLength: Rule = ( +export const bodyMaxLineLength: SyncRule = ( parsed, _when = undefined, value = 0 diff --git a/@commitlint/rules/src/body-min-length.ts b/@commitlint/rules/src/body-min-length.ts index 3b50e6c4dc..86d0a72e20 100644 --- a/@commitlint/rules/src/body-min-length.ts +++ b/@commitlint/rules/src/body-min-length.ts @@ -1,7 +1,7 @@ import {minLength} from '@commitlint/ensure'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const bodyMinLength: Rule = ( +export const bodyMinLength: SyncRule = ( parsed, _when = undefined, value = 0 diff --git a/@commitlint/rules/src/footer-empty.ts b/@commitlint/rules/src/footer-empty.ts index 810001e8a5..7be3aaaffe 100644 --- a/@commitlint/rules/src/footer-empty.ts +++ b/@commitlint/rules/src/footer-empty.ts @@ -1,8 +1,8 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const footerEmpty: Rule = (parsed, when = 'always') => { +export const footerEmpty: SyncRule = (parsed, when = 'always') => { const negated = when === 'never'; const notEmpty = ensure.notEmpty(parsed.footer || ''); diff --git a/@commitlint/rules/src/footer-leading-blank.ts b/@commitlint/rules/src/footer-leading-blank.ts index 094ba93c30..1177b7017a 100644 --- a/@commitlint/rules/src/footer-leading-blank.ts +++ b/@commitlint/rules/src/footer-leading-blank.ts @@ -1,8 +1,8 @@ import toLines from '@commitlint/to-lines'; import message from '@commitlint/message'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const footerLeadingBlank: Rule = (parsed, when = 'always') => { +export const footerLeadingBlank: SyncRule = (parsed, when = 'always') => { // Flunk if no footer is found if (!parsed.footer) { return [true]; diff --git a/@commitlint/rules/src/footer-max-length.ts b/@commitlint/rules/src/footer-max-length.ts index 7c2d771be6..fb07c843e6 100644 --- a/@commitlint/rules/src/footer-max-length.ts +++ b/@commitlint/rules/src/footer-max-length.ts @@ -1,7 +1,7 @@ import {maxLength} from '@commitlint/ensure'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const footerMaxLength: Rule = ( +export const footerMaxLength: SyncRule = ( parsed, _when = undefined, value = 0 diff --git a/@commitlint/rules/src/footer-max-line-length.ts b/@commitlint/rules/src/footer-max-line-length.ts index 9bc1ffe281..532289a2b9 100644 --- a/@commitlint/rules/src/footer-max-line-length.ts +++ b/@commitlint/rules/src/footer-max-line-length.ts @@ -1,7 +1,7 @@ import {maxLineLength} from '@commitlint/ensure'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const footerMaxLineLength: Rule = ( +export const footerMaxLineLength: SyncRule = ( parsed, _when = undefined, value = 0 diff --git a/@commitlint/rules/src/footer-min-length.ts b/@commitlint/rules/src/footer-min-length.ts index cd8571d5c5..ae33033a42 100644 --- a/@commitlint/rules/src/footer-min-length.ts +++ b/@commitlint/rules/src/footer-min-length.ts @@ -1,7 +1,7 @@ import {minLength} from '@commitlint/ensure'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const footerMinLength: Rule = ( +export const footerMinLength: SyncRule = ( parsed, _when = undefined, value = 0 diff --git a/@commitlint/rules/src/header-case.ts b/@commitlint/rules/src/header-case.ts index dedb264df3..4640c227c4 100644 --- a/@commitlint/rules/src/header-case.ts +++ b/@commitlint/rules/src/header-case.ts @@ -1,10 +1,10 @@ import {case as ensureCase} from '@commitlint/ensure'; import message from '@commitlint/message'; -import {TargetCaseType, Rule} from '@commitlint/types'; +import {TargetCaseType, SyncRule} from '@commitlint/types'; const negated = (when?: string) => when === 'never'; -export const headerCase: Rule = ( +export const headerCase: SyncRule = ( parsed, when = 'always', value = [] diff --git a/@commitlint/rules/src/header-full-stop.ts b/@commitlint/rules/src/header-full-stop.ts index c22c1a791d..62a8a03a56 100644 --- a/@commitlint/rules/src/header-full-stop.ts +++ b/@commitlint/rules/src/header-full-stop.ts @@ -1,7 +1,7 @@ import message from '@commitlint/message'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const headerFullStop: Rule = ( +export const headerFullStop: SyncRule = ( parsed, when = 'always', value = '.' diff --git a/@commitlint/rules/src/header-max-length.ts b/@commitlint/rules/src/header-max-length.ts index 4eab3dc50e..07c5f69e79 100644 --- a/@commitlint/rules/src/header-max-length.ts +++ b/@commitlint/rules/src/header-max-length.ts @@ -1,7 +1,7 @@ import {maxLength} from '@commitlint/ensure'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const headerMaxLength: Rule = ( +export const headerMaxLength: SyncRule = ( parsed, _when = undefined, value = 0 diff --git a/@commitlint/rules/src/header-min-length.ts b/@commitlint/rules/src/header-min-length.ts index 10cf63aa2e..9dbea907e8 100644 --- a/@commitlint/rules/src/header-min-length.ts +++ b/@commitlint/rules/src/header-min-length.ts @@ -1,7 +1,7 @@ import {minLength} from '@commitlint/ensure'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const headerMinLength: Rule = ( +export const headerMinLength: SyncRule = ( parsed, _when = undefined, value = 0 diff --git a/@commitlint/rules/src/references-empty.ts b/@commitlint/rules/src/references-empty.ts index 7582c4e555..7c62e4a887 100644 --- a/@commitlint/rules/src/references-empty.ts +++ b/@commitlint/rules/src/references-empty.ts @@ -1,7 +1,7 @@ import message from '@commitlint/message'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const referencesEmpty: Rule = (parsed, when = 'never') => { +export const referencesEmpty: SyncRule = (parsed, when = 'never') => { const negated = when === 'always'; const notEmpty = parsed.references.length > 0; return [ diff --git a/@commitlint/rules/src/scope-case.ts b/@commitlint/rules/src/scope-case.ts index 0d6781e2f5..3c197d002b 100644 --- a/@commitlint/rules/src/scope-case.ts +++ b/@commitlint/rules/src/scope-case.ts @@ -1,10 +1,10 @@ import {case as ensureCase} from '@commitlint/ensure'; import message from '@commitlint/message'; -import {TargetCaseType, Rule} from '@commitlint/types'; +import {TargetCaseType, SyncRule} from '@commitlint/types'; const negated = (when?: string) => when === 'never'; -export const scopeCase: Rule = ( +export const scopeCase: SyncRule = ( parsed, when = 'always', value = [] diff --git a/@commitlint/rules/src/scope-empty.ts b/@commitlint/rules/src/scope-empty.ts index 9d600372de..9d01ade7cb 100644 --- a/@commitlint/rules/src/scope-empty.ts +++ b/@commitlint/rules/src/scope-empty.ts @@ -1,8 +1,8 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const scopeEmpty: Rule = (parsed, when = 'never') => { +export const scopeEmpty: SyncRule = (parsed, when = 'never') => { const negated = when === 'always'; const notEmpty = ensure.notEmpty(parsed.scope || ''); return [ diff --git a/@commitlint/rules/src/scope-enum.ts b/@commitlint/rules/src/scope-enum.ts index 2aa8e149f1..7185385f59 100644 --- a/@commitlint/rules/src/scope-enum.ts +++ b/@commitlint/rules/src/scope-enum.ts @@ -1,8 +1,8 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const scopeEnum: Rule = ( +export const scopeEnum: SyncRule = ( parsed, when = 'always', value = [] diff --git a/@commitlint/rules/src/scope-max-length.ts b/@commitlint/rules/src/scope-max-length.ts index 8cdaea7256..b802896cd2 100644 --- a/@commitlint/rules/src/scope-max-length.ts +++ b/@commitlint/rules/src/scope-max-length.ts @@ -1,7 +1,7 @@ import {maxLength} from '@commitlint/ensure'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const scopeMaxLength: Rule = ( +export const scopeMaxLength: SyncRule = ( parsed, _when = undefined, value = 0 diff --git a/@commitlint/rules/src/scope-min-length.ts b/@commitlint/rules/src/scope-min-length.ts index 5492579c8c..bdeafb8eba 100644 --- a/@commitlint/rules/src/scope-min-length.ts +++ b/@commitlint/rules/src/scope-min-length.ts @@ -1,7 +1,7 @@ import {minLength} from '@commitlint/ensure'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const scopeMinLength: Rule = ( +export const scopeMinLength: SyncRule = ( parsed, _when = undefined, value = 0 diff --git a/@commitlint/rules/src/signed-off-by.ts b/@commitlint/rules/src/signed-off-by.ts index 82762fa7cd..ea98db8a42 100644 --- a/@commitlint/rules/src/signed-off-by.ts +++ b/@commitlint/rules/src/signed-off-by.ts @@ -1,8 +1,8 @@ import message from '@commitlint/message'; import toLines from '@commitlint/to-lines'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const signedOffBy: Rule = ( +export const signedOffBy: SyncRule = ( parsed, when = 'always', value = '' diff --git a/@commitlint/rules/src/subject-case.ts b/@commitlint/rules/src/subject-case.ts index fb8a8ab024..282c416d06 100644 --- a/@commitlint/rules/src/subject-case.ts +++ b/@commitlint/rules/src/subject-case.ts @@ -1,10 +1,10 @@ import {case as ensureCase} from '@commitlint/ensure'; import message from '@commitlint/message'; -import {TargetCaseType, Rule} from '@commitlint/types'; +import {TargetCaseType, SyncRule} from '@commitlint/types'; const negated = (when?: string) => when === 'never'; -export const subjectCase: Rule = ( +export const subjectCase: SyncRule = ( parsed, when = 'always', value = [] diff --git a/@commitlint/rules/src/subject-empty.ts b/@commitlint/rules/src/subject-empty.ts index 20e6f4863f..80f9f4ba11 100644 --- a/@commitlint/rules/src/subject-empty.ts +++ b/@commitlint/rules/src/subject-empty.ts @@ -1,8 +1,8 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const subjectEmpty: Rule = (parsed, when = 'always') => { +export const subjectEmpty: SyncRule = (parsed, when = 'always') => { const negated = when === 'never'; const notEmpty = ensure.notEmpty(parsed.subject || ''); diff --git a/@commitlint/rules/src/subject-full-stop.ts b/@commitlint/rules/src/subject-full-stop.ts index 7faa4910bc..121293ebdb 100644 --- a/@commitlint/rules/src/subject-full-stop.ts +++ b/@commitlint/rules/src/subject-full-stop.ts @@ -1,7 +1,7 @@ import message from '@commitlint/message'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const subjectFullStop: Rule = ( +export const subjectFullStop: SyncRule = ( parsed, when = 'always', value = '.' diff --git a/@commitlint/rules/src/subject-max-length.ts b/@commitlint/rules/src/subject-max-length.ts index db65f1a468..6adc22f6c5 100644 --- a/@commitlint/rules/src/subject-max-length.ts +++ b/@commitlint/rules/src/subject-max-length.ts @@ -1,7 +1,7 @@ import {maxLength} from '@commitlint/ensure'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const subjectMaxLength: Rule = ( +export const subjectMaxLength: SyncRule = ( parsed, _when = undefined, value = 0 diff --git a/@commitlint/rules/src/subject-min-length.ts b/@commitlint/rules/src/subject-min-length.ts index 43fee9701a..171eaa2ca8 100644 --- a/@commitlint/rules/src/subject-min-length.ts +++ b/@commitlint/rules/src/subject-min-length.ts @@ -1,7 +1,7 @@ import {minLength} from '@commitlint/ensure'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const subjectMinLength: Rule = ( +export const subjectMinLength: SyncRule = ( parsed, _when = undefined, value = 0 diff --git a/@commitlint/rules/src/type-case.ts b/@commitlint/rules/src/type-case.ts index 1a5bceef9c..0769c6c18d 100644 --- a/@commitlint/rules/src/type-case.ts +++ b/@commitlint/rules/src/type-case.ts @@ -1,10 +1,10 @@ import {case as ensureCase} from '@commitlint/ensure'; import message from '@commitlint/message'; -import {TargetCaseType, Rule} from '@commitlint/types'; +import {TargetCaseType, SyncRule} from '@commitlint/types'; const negated = (when?: string) => when === 'never'; -export const typeCase: Rule = ( +export const typeCase: SyncRule = ( parsed, when = 'always', value = [] diff --git a/@commitlint/rules/src/type-empty.ts b/@commitlint/rules/src/type-empty.ts index 9d58864299..14d77f56f7 100644 --- a/@commitlint/rules/src/type-empty.ts +++ b/@commitlint/rules/src/type-empty.ts @@ -1,8 +1,8 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const typeEmpty: Rule = (parsed, when = 'always') => { +export const typeEmpty: SyncRule = (parsed, when = 'always') => { const negated = when === 'never'; const notEmpty = ensure.notEmpty(parsed.type || ''); return [ diff --git a/@commitlint/rules/src/type-enum.ts b/@commitlint/rules/src/type-enum.ts index 1aba3b61fa..58f4735edd 100644 --- a/@commitlint/rules/src/type-enum.ts +++ b/@commitlint/rules/src/type-enum.ts @@ -1,8 +1,8 @@ import * as ensure from '@commitlint/ensure'; import message from '@commitlint/message'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const typeEnum: Rule = ( +export const typeEnum: SyncRule = ( parsed, when = 'always', value = [] diff --git a/@commitlint/rules/src/type-max-length.ts b/@commitlint/rules/src/type-max-length.ts index 29569ed79f..5e54c80dc7 100644 --- a/@commitlint/rules/src/type-max-length.ts +++ b/@commitlint/rules/src/type-max-length.ts @@ -1,7 +1,7 @@ import {maxLength} from '@commitlint/ensure'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const typeMaxLength: Rule = ( +export const typeMaxLength: SyncRule = ( parsed, _when = undefined, value = 0 diff --git a/@commitlint/rules/src/type-min-length.ts b/@commitlint/rules/src/type-min-length.ts index 08ea3150d9..5d70c11bb6 100644 --- a/@commitlint/rules/src/type-min-length.ts +++ b/@commitlint/rules/src/type-min-length.ts @@ -1,7 +1,7 @@ import {minLength} from '@commitlint/ensure'; -import {Rule} from '@commitlint/types'; +import {SyncRule} from '@commitlint/types'; -export const typeMinLength: Rule = ( +export const typeMinLength: SyncRule = ( parsed, _when = undefined, value = 0 diff --git a/@commitlint/types/src/rules.ts b/@commitlint/types/src/rules.ts index b064cb4d32..3d99db4059 100644 --- a/@commitlint/types/src/rules.ts +++ b/@commitlint/types/src/rules.ts @@ -12,14 +12,26 @@ export type RuleCondition = 'always' | 'never'; * For example, when `header-full-stop` detects a full stop and is set as "always"; it's true. * If the `header-full-stop` discovers a full stop but is set to "never"; it's false. */ -export type RuleOutcome = [boolean, string?]; +export type RuleOutcome = Readonly<[boolean, string?]>; /** * Rules receive a parsed commit, condition, and possible additional settings through value. * All rules should provide the most sensible rule condition and value. */ -export type Rule = ( +export type RuleType = 'async' | 'sync' | 'either'; + +export type BaseRule = ( parsed: Commit, when?: RuleCondition, value?: Value -) => RuleOutcome; +) => Type extends 'either' + ? RuleOutcome | Promise + : Type extends 'async' + ? Promise + : Type extends 'sync' + ? RuleOutcome + : never; + +export type Rule = BaseRule; +export type AsyncRule = BaseRule; +export type SyncRule = BaseRule; From 8b394c94ffe37322d734bd4944add4a6cb2a4689 Mon Sep 17 00:00:00 2001 From: Luis Silva Date: Tue, 18 Feb 2020 09:08:19 +0000 Subject: [PATCH 0102/2192] feat(config-conventional): footer/body-max-line (#436) * feat(config-conventional): footer/body-max-line Co-authored-by: Mario Nebl BREAKING CHANGE Introduces new rules on `error` level that validate the line length of `footer` and `body`. This might create negative linting reports for commits that previously where passing. --- @commitlint/config-conventional/README.md | 94 ++++++++ @commitlint/config-conventional/index.js | 2 + @commitlint/config-conventional/index.test.js | 214 ++++++++++++++++++ @commitlint/config-conventional/package.json | 1 + @commitlint/config-conventional/tsconfig.json | 10 + 5 files changed, 321 insertions(+) create mode 100644 @commitlint/config-conventional/index.test.js create mode 100644 @commitlint/config-conventional/tsconfig.json diff --git a/@commitlint/config-conventional/README.md b/@commitlint/config-conventional/README.md index 60ba13cd35..3cf47604c3 100644 --- a/@commitlint/config-conventional/README.md +++ b/@commitlint/config-conventional/README.md @@ -24,6 +24,7 @@ Consult [docs/rules](https://conventional-changelog.github.io/commitlint/#/refer - **condition**: `type` is found in value - **rule**: `always` +- **level**: `error` - **value** ``` @@ -51,6 +52,7 @@ echo "fix: some message" # passes - **description**: `type` is in case `value` - **rule**: `always` +- **level**: `error` - **value** ``` 'lowerCase' @@ -65,6 +67,7 @@ echo "fix: some message" # passes - **condition**: `type` is empty - **rule**: `never` +- **level**: `error` ```sh echo ": some message" # fails @@ -75,6 +78,7 @@ echo "fix: some message" # passes - **condition**: `scope` is in case `value` - **rule**: `always` +- **level**: `error` ``` 'lowerCase' @@ -89,6 +93,7 @@ echo "fix(scope): some message" # passes - **condition**: `subject` is in one of the cases `['sentence-case', 'start-case', 'pascal-case', 'upper-case']` - **rule**: `never` +- **level**: `error` ```sh echo "fix(SCOPE): Some message" # fails @@ -103,6 +108,7 @@ echo "fix(scope): some Message" # passes - **condition**: `subject` is empty - **rule**: `never` +- **level**: `error` ```sh echo "fix:" # fails @@ -113,6 +119,7 @@ echo "fix: some message" # passes - **condition**: `subject` ends with `value` - **rule**: `never` +- **level**: `error` - **value** ``` @@ -128,6 +135,7 @@ echo "fix: some message" # passes - **condition**: `header` has `value` or less characters - **rule**: `always` +- **level**: `error` - **value** ``` @@ -138,3 +146,89 @@ echo "fix: some message" # passes echo "fix: some message that is way too long and breaks the line max-length by several characters" # fails echo "fix: some message" # passes ``` + +#### footer-leading-blank + +- **condition**: `footer` should have a leading blank line +- **rule**: `always` +- level: `warning` +- **value** + +``` +100 +``` + +```sh +echo "fix: some message +BREAKING CHANGE: It will be significant" # warning + +echo "fix: some message + +BREAKING CHANGE: It will be significant" # passes +``` + +#### footer-max-line-length + +- **condition**: `footer` each line has `value` or less characters +- **rule**: `always` +- level: `error` +- **value** + +``` +100 +``` + +```sh +echo "fix: some message + +BREAKING CHANGE: footer with multiple lines +has a message that is way too long and will break the line rule 'line-max-length' by several characters" # fails + +echo "fix: some message + +BREAKING CHANGE: footer with multiple lines +but still no line is too long" # passes +``` + +#### body-leading-blank + +- **condition**: `body` should have a leading blank line +- **rule**: `always` +- level: `warning` +- **value** + +```js +100; +``` + +```sh +echo "fix: some message +body" # warning + +echo "fix: some message + +body" # passes +``` + +#### body-max-line-length + +- **condition**: `body` each line has `value` or less characters +- **rule**: `always` +- level: `error` +- **value** + +```js +100; +``` + +```sh +echo "fix: some message + +body with multiple lines +has a message that is way too long and will break the line rule 'line-max-length' by several characters" # fails + +echo "fix: some message + +body with multiple lines +but still no line is too long" # passes +``` diff --git a/@commitlint/config-conventional/index.js b/@commitlint/config-conventional/index.js index 2f84ceed08..f7bff45ce8 100644 --- a/@commitlint/config-conventional/index.js +++ b/@commitlint/config-conventional/index.js @@ -2,7 +2,9 @@ module.exports = { parserPreset: 'conventional-changelog-conventionalcommits', rules: { 'body-leading-blank': [1, 'always'], + 'body-max-line-length': [2, 'always', 100], 'footer-leading-blank': [1, 'always'], + 'footer-max-line-length': [2, 'always', 100], 'header-max-length': [2, 'always', 100], 'scope-case': [2, 'always', 'lower-case'], 'subject-case': [ diff --git a/@commitlint/config-conventional/index.test.js b/@commitlint/config-conventional/index.test.js new file mode 100644 index 0000000000..ac0a0c2ecb --- /dev/null +++ b/@commitlint/config-conventional/index.test.js @@ -0,0 +1,214 @@ +import lint from '@commitlint/lint'; +import {rules} from '.'; + +const messages = { + invalidTypeEnum: 'foo: some message', + invalidTypeCase: 'FIX: some message', + invalidTypeEmpty: ': some message', + invalidScopeCase: 'fix(SCOPE): some message', + invalidSubjectCases: [ + 'fix(scope): Some message', + 'fix(scope): Some Message', + 'fix(scope): SomeMessage', + 'fix(scope): SOMEMESSAGE' + ], + invalidSubjectEmpty: 'fix:', + invalidSubjectFullStop: 'fix: some message.', + invalidHeaderMaxLength: + 'fix: some message that is way too long and breaks the line max-length by several characters since the max is 100', + warningFooterLeadingBlank: + 'fix: some message\n\nbody\nBREAKING CHANGE: It will be significant', + invalidFooterMaxLineLength: + 'fix: some message\n\nbody\n\nBREAKING CHANGE: footer with multiple lines\nhas a message that is way too long and will break the line rule "line-max-length" by several characters', + warningBodyLeadingBlank: 'fix: some message\nbody', + invalidBodyMaxLineLength: + 'fix: some message\n\nbody with multiple lines\nhas a message that is way too long and will break the line rule "line-max-length" by several characters', + validMessages: [ + 'fix: some message', + 'fix(scope): some message', + 'fix(scope): some Message', + 'fix(scope): some message\n\nBREAKING CHANGE: it will be significant!', + 'fix(scope): some message\n\nbody' + ] +}; + +const errors = { + typeEnum: { + level: 2, + message: + 'type must be one of [build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test]', + name: 'type-enum', + valid: false + }, + typeCase: { + level: 2, + message: 'type must be lower-case', + name: 'type-case', + valid: false + }, + typeEmpty: { + level: 2, + message: 'type may not be empty', + name: 'type-empty', + valid: false + }, + scopeCase: { + level: 2, + message: 'scope must be lower-case', + name: 'scope-case', + valid: false + }, + subjectCase: { + level: 2, + message: + 'subject must not be sentence-case, start-case, pascal-case, upper-case', + name: 'subject-case', + valid: false + }, + subjectEmpty: { + level: 2, + message: 'subject may not be empty', + name: 'subject-empty', + valid: false + }, + subjectFullStop: { + level: 2, + message: 'subject may not end with full stop', + name: 'subject-full-stop', + valid: false + }, + headerMaxLength: { + level: 2, + message: + 'header must not be longer than 100 characters, current length is 112', + name: 'header-max-length', + valid: false + }, + footerMaxLineLength: { + level: 2, + message: "footer's lines must not be longer than 100 characters", + name: 'footer-max-line-length', + valid: false + }, + bodyMaxLineLength: { + level: 2, + message: "body's lines must not be longer than 100 characters", + name: 'body-max-line-length', + valid: false + } +}; + +const warnings = { + footerLeadingBlank: { + level: 1, + message: 'footer must have leading blank line', + name: 'footer-leading-blank', + valid: false + }, + bodyLeadingBlank: { + level: 1, + message: 'body must have leading blank line', + name: 'body-leading-blank', + valid: false + } +}; + +test('type-enum', async () => { + const result = await lint(messages.invalidTypeEnum, rules); + + expect(result.valid).toBe(false); + expect(result.errors).toEqual([errors.typeEnum]); +}); + +test('type-case', async () => { + const result = await lint(messages.invalidTypeCase, rules); + + expect(result.valid).toBe(false); + expect(result.errors).toEqual([errors.typeCase, errors.typeEnum]); +}); + +test('type-empty', async () => { + const result = await lint(messages.invalidTypeEmpty, rules); + + expect(result.valid).toBe(false); + expect(result.errors).toEqual([errors.typeEmpty]); +}); + +test('scope-case', async () => { + const result = await lint(messages.invalidScopeCase, rules); + + expect(result.valid).toBe(false); + expect(result.errors).toEqual([errors.scopeCase]); +}); + +test('subject-case', async () => { + const invalidInputs = await Promise.all( + messages.invalidSubjectCases.map(invalidInput => lint(invalidInput, rules)) + ); + + invalidInputs.forEach(result => { + expect(result.valid).toBe(false); + expect(result.errors).toEqual([errors.subjectCase]); + }); +}); + +test('subject-empty', async () => { + const result = await lint(messages.invalidSubjectEmpty, rules); + + expect(result.valid).toBe(false); + expect(result.errors).toEqual([errors.subjectEmpty, errors.typeEmpty]); +}); + +test('subject-full-stop', async () => { + const result = await lint(messages.invalidSubjectFullStop, rules); + + expect(result.valid).toBe(false); + expect(result.errors).toEqual([errors.subjectFullStop]); +}); + +test('header-max-length', async () => { + const result = await lint(messages.invalidHeaderMaxLength, rules); + + expect(result.valid).toBe(false); + expect(result.errors).toEqual([errors.headerMaxLength]); +}); + +test('footer-leading-blank', async () => { + const result = await lint(messages.warningFooterLeadingBlank, rules); + + expect(result.valid).toBe(true); + expect(result.warnings).toEqual([warnings.footerLeadingBlank]); +}); + +test('footer-max-line-length', async () => { + const result = await lint(messages.invalidFooterMaxLineLength, rules); + + expect(result.valid).toBe(false); + expect(result.errors).toEqual([errors.footerMaxLineLength]); +}); + +test('body-leading-blank', async () => { + const result = await lint(messages.warningBodyLeadingBlank, rules); + + expect(result.valid).toBe(true); + expect(result.warnings).toEqual([warnings.bodyLeadingBlank]); +}); + +test('body-max-line-length', async () => { + const result = await lint(messages.invalidBodyMaxLineLength, rules); + + expect(result.valid).toBe(false); + expect(result.errors).toEqual([errors.bodyMaxLineLength]); +}); + +test('valid messages', async () => { + const validInputs = await Promise.all( + messages.validMessages.map(input => lint(input, rules)) + ); + + validInputs.forEach(result => { + expect(result.valid).toBe(true); + expect(result.errors).toEqual([]); + expect(result.warnings).toEqual([]); + }); +}); diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index 75832c49e8..3d923233c9 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -32,6 +32,7 @@ "node": ">=8" }, "devDependencies": { + "@commitlint/lint": "^8.3.4", "@commitlint/utils": "^8.3.4" }, "dependencies": { diff --git a/@commitlint/config-conventional/tsconfig.json b/@commitlint/config-conventional/tsconfig.json new file mode 100644 index 0000000000..2905f19318 --- /dev/null +++ b/@commitlint/config-conventional/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./**/*.ts"], + "exclude": ["./**/*.test.ts"] +} From c3eb1a76e08213d7ce1f200e35f8d5d6de18982a Mon Sep 17 00:00:00 2001 From: Carl Tompkins Date: Tue, 18 Feb 2020 04:09:22 -0500 Subject: [PATCH 0103/2192] fix: ignore empty commit messages #615 (#676) * fix: ignore empty commit messages #615 bypass rules for completely empty commit messages (only of blank lines/comments in message) * fix: skip parsing for empty strings * style: apply autoformatting Co-authored-by: Mario Nebl --- @commitlint/lint/src/lint.test.ts | 9 ++++++--- @commitlint/lint/src/lint.ts | 20 +++++++++++++++++++- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/@commitlint/lint/src/lint.test.ts b/@commitlint/lint/src/lint.test.ts index 3104eb5fb7..52ef073c13 100644 --- a/@commitlint/lint/src/lint.test.ts +++ b/@commitlint/lint/src/lint.test.ts @@ -5,9 +5,12 @@ test('throws without params', async () => { await expect(error).rejects.toThrow('Expected a raw commit'); }); -test('throws with empty message', async () => { - const error = (lint as any)(''); - await expect(error).rejects.toThrow('Expected a raw commit'); +test('positive on empty message', async () => { + expect(await lint('')).toMatchObject({ + valid: true, + errors: [], + warnings: [] + }); }); test('positive on stub message and no rule', async () => { diff --git a/@commitlint/lint/src/lint.ts b/@commitlint/lint/src/lint.ts index 873f1484fa..6917d74611 100644 --- a/@commitlint/lint/src/lint.ts +++ b/@commitlint/lint/src/lint.ts @@ -36,7 +36,25 @@ export default async function lint( } // Parse the commit message - const parsed = await parse(message, undefined, opts.parserOpts); + const parsed = + message === '' + ? {header: null, body: null, footer: null} + : await parse(message, undefined, opts.parserOpts); + + if ( + parsed.header === null && + parsed.body === null && + parsed.footer === null + ) { + // Commit is empty, skip + return { + valid: true, + errors: [], + warnings: [], + input: message + }; + } + const allRules: Map> = new Map( Object.entries(defaultRules) ); From 882e292857b166dce0fa7d13e94b71a2fa633476 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 19 Feb 2020 19:38:29 +1100 Subject: [PATCH 0104/2192] chore: update dependency ts-jest to v25.2.1 (#999) Co-authored-by: WhiteSource Renovate --- package.json | 2 +- yarn.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 8c598acaf3..f3f1966a45 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "lerna-v3": "npm:lerna@3", "lint-staged": "10.0.7", "prettier": "1.17.1", - "ts-jest": "25.2.0", + "ts-jest": "25.2.1", "typescript": "3.7.5" }, "husky": { diff --git a/yarn.lock b/yarn.lock index 31bd881e0d..8186a389f6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9664,10 +9664,10 @@ trim-off-newlines@^1.0.0: resolved "https://registry.npmjs.org/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3" integrity sha1-n5up2e+odkw4dpi8v+sshI8RrbM= -ts-jest@25.2.0: - version "25.2.0" - resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-25.2.0.tgz#dfd87c2b71ef4867f5a0a44f40cb9c67e02991ac" - integrity sha512-VaRdb0da46eorLfuHEFf0G3d+jeREcV+Wb/SvW71S4y9Oe8SHWU+m1WY/3RaMknrBsnvmVH0/rRjT8dkgeffNQ== +ts-jest@25.2.1: + version "25.2.1" + resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-25.2.1.tgz#49bf05da26a8b7fbfbc36b4ae2fcdc2fef35c85d" + integrity sha512-TnntkEEjuXq/Gxpw7xToarmHbAafgCaAzOpnajnFC6jI7oo1trMzAHA04eWpc3MhV6+yvhE8uUBAmN+teRJh0A== dependencies: bs-logger "0.x" buffer-from "1.x" @@ -9678,7 +9678,7 @@ ts-jest@25.2.0: mkdirp "0.x" resolve "1.x" semver "^5.5" - yargs-parser "10.x" + yargs-parser "^16.1.0" tslib@^1.8.1, tslib@^1.9.0: version "1.10.0" @@ -10274,7 +10274,7 @@ yargonaut@^1.1.2: figlet "^1.1.1" parent-require "^1.0.0" -yargs-parser@10.x, yargs-parser@^10.0.0: +yargs-parser@^10.0.0: version "10.1.0" resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz#7202265b89f7e9e9f2e5765e0fe735a905edbaa8" integrity sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ== From 6c9ab78cbaa71c1a69a20f1aba465c519a64423c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 20 Feb 2020 09:28:54 +1100 Subject: [PATCH 0105/2192] chore: update dependency @types/jest to v25.1.3 (#1000) Co-authored-by: WhiteSource Renovate --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f3f1966a45..8a974a7566 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ }, "devDependencies": { "@lerna/project": "3.18.0", - "@types/jest": "25.1.2", + "@types/jest": "25.1.3", "@types/node": "12.12.27", "@typescript-eslint/eslint-plugin": "^2.19.0", "@typescript-eslint/parser": "^2.19.0", diff --git a/yarn.lock b/yarn.lock index 8186a389f6..1b814481b6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1936,10 +1936,10 @@ "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" -"@types/jest@25.1.2": - version "25.1.2" - resolved "https://registry.npmjs.org/@types/jest/-/jest-25.1.2.tgz#1c4c8770c27906c7d8def5d2033df9dbd39f60da" - integrity sha512-EsPIgEsonlXmYV7GzUqcvORsSS9Gqxw/OvkGwHfAdpjduNRxMlhsav0O5Kb0zijc/eXSO/uW6SJt9nwull8AUQ== +"@types/jest@25.1.3": + version "25.1.3" + resolved "https://registry.npmjs.org/@types/jest/-/jest-25.1.3.tgz#9b0b5addebccfb631175870be8ba62182f1bc35a" + integrity sha512-jqargqzyJWgWAJCXX96LBGR/Ei7wQcZBvRv0PLEu9ZByMfcs23keUJrKv9FMR6YZf9YCbfqDqgmY+JUBsnqhrg== dependencies: jest-diff "^25.1.0" pretty-format "^25.1.0" From 890df29d3462577905d28a758de088f8ee498650 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 20 Feb 2020 14:16:51 +1100 Subject: [PATCH 0106/2192] chore: update dependency @types/node to v12.12.28 (#1001) Co-authored-by: WhiteSource Renovate --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 8a974a7566..3a94d2e806 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "devDependencies": { "@lerna/project": "3.18.0", "@types/jest": "25.1.3", - "@types/node": "12.12.27", + "@types/node": "12.12.28", "@typescript-eslint/eslint-plugin": "^2.19.0", "@typescript-eslint/parser": "^2.19.0", "docsify-cli": "^4.4.0", diff --git a/yarn.lock b/yarn.lock index 1b814481b6..3aa59bdee8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1964,10 +1964,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9" integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA== -"@types/node@12.12.27": - version "12.12.27" - resolved "https://registry.npmjs.org/@types/node/-/node-12.12.27.tgz#d7506f73160ad30fcebbcf5b8b7d2d976e649e42" - integrity sha512-odQFl/+B9idbdS0e8IxDl2ia/LP8KZLXhV3BUeI98TrZp0uoIzQPhGd+5EtzHmT0SMOIaPd7jfz6pOHLWTtl7A== +"@types/node@12.12.28": + version "12.12.28" + resolved "https://registry.npmjs.org/@types/node/-/node-12.12.28.tgz#3a2b5f8d21f96ace690a8832ae9779114612575f" + integrity sha512-g73GJYJDXgf0jqg+P9S8h2acWbDXNkoCX8DLtJVu7Fkn788pzQ/oJsrdJz/2JejRf/SjfZaAhsw+3nd1D5EWGg== "@types/normalize-package-data@^2.4.0": version "2.4.0" From 0f0f95affc1c350fdb3e3c58eda48f9a845dfb27 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 21 Feb 2020 20:46:29 +1100 Subject: [PATCH 0107/2192] chore: update dependency typescript to v3.8.2 (#1002) Co-authored-by: WhiteSource Renovate --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3a94d2e806..2aba3a6a6e 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "lint-staged": "10.0.7", "prettier": "1.17.1", "ts-jest": "25.2.1", - "typescript": "3.7.5" + "typescript": "3.8.2" }, "husky": { "hooks": { diff --git a/yarn.lock b/yarn.lock index 3aa59bdee8..6855e9bb71 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9748,10 +9748,10 @@ typedarray@^0.0.6: resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@3.7.5: - version "3.7.5" - resolved "https://registry.npmjs.org/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae" - integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw== +typescript@3.8.2: + version "3.8.2" + resolved "https://registry.npmjs.org/typescript/-/typescript-3.8.2.tgz#91d6868aaead7da74f493c553aeff76c0c0b1d5a" + integrity sha512-EgOVgL/4xfVrCMbhYKUQTdF37SQn4Iw73H5BgCrF1Abdun7Kwy/QZsE/ssAy0y4LxBbvua3PIbFsbRczWWnDdQ== uglify-js@^3.1.4: version "3.7.3" From 5bb690712b501dab8f2705b98bf969a12e2417c6 Mon Sep 17 00:00:00 2001 From: Helder Burato Berto Date: Mon, 18 May 2020 23:07:52 -0300 Subject: [PATCH 0108/2192] docs(readme): add install husky example (#1699) --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1cabf4cd36..669189923a 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,11 @@ npm install --save-dev @commitlint/config-conventional @commitlint/cli echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js ``` -To lint commits before they are created you can use Husky's 'commit-msg' hook: +To lint commits before they are created you can use Husky's 'commit-msg' hook. + +Install in your project `npm install husky --save-dev` or `yarn add -D husky`. + +After that, you can create a `.huskyrc` file or add to your `package.json` the following code: ```json { From 71f0194f33943954a8dac1c458be47e5049717cd Mon Sep 17 00:00:00 2001 From: escapedcat Date: Thu, 21 May 2020 17:21:24 +0800 Subject: [PATCH 0109/2192] v9.0.0 --- @alias/commitlint-config-angular/CHANGELOG.md | 8 +++++ @alias/commitlint-config-angular/package.json | 6 ++-- .../CHANGELOG.md | 8 +++++ .../package.json | 6 ++-- .../CHANGELOG.md | 8 +++++ .../package.json | 6 ++-- @alias/commitlint/CHANGELOG.md | 8 +++++ @alias/commitlint/package.json | 8 ++--- @commitlint/cli/CHANGELOG.md | 12 +++++++ @commitlint/cli/package.json | 16 +++++----- .../config-angular-type-enum/CHANGELOG.md | 8 +++++ .../config-angular-type-enum/package.json | 4 +-- @commitlint/config-angular/CHANGELOG.md | 8 +++++ @commitlint/config-angular/package.json | 6 ++-- @commitlint/config-conventional/CHANGELOG.md | 22 +++++++++++++ @commitlint/config-conventional/package.json | 6 ++-- @commitlint/config-lerna-scopes/CHANGELOG.md | 12 +++++++ @commitlint/config-lerna-scopes/package.json | 6 ++-- @commitlint/config-patternplate/CHANGELOG.md | 11 +++++++ @commitlint/config-patternplate/package.json | 6 ++-- @commitlint/core/CHANGELOG.md | 8 +++++ @commitlint/core/package.json | 12 +++---- @commitlint/ensure/CHANGELOG.md | 11 +++++++ @commitlint/ensure/package.json | 6 ++-- @commitlint/execute-rule/CHANGELOG.md | 8 +++++ @commitlint/execute-rule/package.json | 4 +-- @commitlint/format/CHANGELOG.md | 8 +++++ @commitlint/format/package.json | 4 +-- @commitlint/is-ignored/CHANGELOG.md | 11 +++++++ @commitlint/is-ignored/package.json | 10 +++--- @commitlint/lint/CHANGELOG.md | 17 ++++++++++ @commitlint/lint/package.json | 14 ++++----- @commitlint/load/CHANGELOG.md | 11 +++++++ @commitlint/load/package.json | 12 +++---- @commitlint/message/CHANGELOG.md | 8 +++++ @commitlint/message/package.json | 6 ++-- @commitlint/parse/CHANGELOG.md | 11 +++++++ @commitlint/parse/package.json | 6 ++-- @commitlint/prompt-cli/CHANGELOG.md | 8 +++++ @commitlint/prompt-cli/package.json | 8 ++--- @commitlint/prompt/CHANGELOG.md | 12 +++++++ @commitlint/prompt/package.json | 8 ++--- @commitlint/read/CHANGELOG.md | 8 +++++ @commitlint/read/package.json | 8 ++--- @commitlint/resolve-extends/CHANGELOG.md | 16 ++++++++++ @commitlint/resolve-extends/package.json | 4 +-- @commitlint/rules/CHANGELOG.md | 16 ++++++++++ @commitlint/rules/package.json | 16 +++++----- @commitlint/to-lines/CHANGELOG.md | 8 +++++ @commitlint/to-lines/package.json | 4 +-- @commitlint/top-level/CHANGELOG.md | 8 +++++ @commitlint/top-level/package.json | 4 +-- @commitlint/travis-cli/CHANGELOG.md | 11 +++++++ @commitlint/travis-cli/package.json | 10 +++--- @commitlint/types/CHANGELOG.md | 11 +++++++ @commitlint/types/package.json | 4 +-- .../babel-preset-commitlint/CHANGELOG.md | 8 +++++ .../babel-preset-commitlint/package.json | 2 +- @packages/test-environment/CHANGELOG.md | 8 +++++ @packages/test-environment/package.json | 2 +- @packages/test/CHANGELOG.md | 8 +++++ @packages/test/package.json | 2 +- @packages/utils/CHANGELOG.md | 11 +++++++ @packages/utils/package.json | 4 +-- CHANGELOG.md | 31 +++++++++++++++++++ lerna.json | 2 +- 66 files changed, 473 insertions(+), 111 deletions(-) create mode 100644 @commitlint/types/CHANGELOG.md create mode 100644 @packages/test-environment/CHANGELOG.md diff --git a/@alias/commitlint-config-angular/CHANGELOG.md b/@alias/commitlint-config-angular/CHANGELOG.md index 80eb60279d..4c4569bc45 100644 --- a/@alias/commitlint-config-angular/CHANGELOG.md +++ b/@alias/commitlint-config-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package commitlint-config-angular + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package commitlint-config-angular diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index 4c7e3a4de5..2a3617369a 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-angular", - "version": "8.3.4", + "version": "9.0.0", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -29,9 +29,9 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-angular": "^8.3.4" + "@commitlint/config-angular": "^9.0.0" }, "devDependencies": { - "@commitlint/utils": "^8.3.4" + "@commitlint/utils": "^9.0.0" } } diff --git a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md index d6ef88fcc1..1dc9ebe238 100644 --- a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md +++ b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package commitlint-config-lerna-scopes + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package commitlint-config-lerna-scopes diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index 9fb506eb8c..36213eaaf7 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-lerna-scopes", - "version": "8.3.4", + "version": "9.0.0", "description": "Shareable commitlint config enforcing lerna package names as scopes", "files": [ "index.js" @@ -29,9 +29,9 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-lerna-scopes": "^8.3.4" + "@commitlint/config-lerna-scopes": "^9.0.0" }, "devDependencies": { - "@commitlint/utils": "^8.3.4" + "@commitlint/utils": "^9.0.0" } } diff --git a/@alias/commitlint-config-patternplate/CHANGELOG.md b/@alias/commitlint-config-patternplate/CHANGELOG.md index c1683d9085..7df7fa52c5 100644 --- a/@alias/commitlint-config-patternplate/CHANGELOG.md +++ b/@alias/commitlint-config-patternplate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package commitlint-config-patternplate + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package commitlint-config-patternplate diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index eaa60d4e01..71a6f1a0cd 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-patternplate", - "version": "8.3.4", + "version": "9.0.0", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -29,9 +29,9 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-patternplate": "^8.3.4" + "@commitlint/config-patternplate": "^9.0.0" }, "devDependencies": { - "@commitlint/utils": "^8.3.4" + "@commitlint/utils": "^9.0.0" } } diff --git a/@alias/commitlint/CHANGELOG.md b/@alias/commitlint/CHANGELOG.md index 9c10631d33..627539e5a1 100644 --- a/@alias/commitlint/CHANGELOG.md +++ b/@alias/commitlint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package commitlint + + + + + ## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) **Note:** Version bump only for package commitlint diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 085f3985b9..2a30e2a551 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -1,6 +1,6 @@ { "name": "commitlint", - "version": "8.3.5", + "version": "9.0.0", "description": "Lint your commit messages", "files": [ "cli.js" @@ -34,10 +34,10 @@ }, "license": "MIT", "dependencies": { - "@commitlint/cli": "^8.3.5" + "@commitlint/cli": "^9.0.0" }, "devDependencies": { - "@commitlint/utils": "^8.3.4", - "@commitlint/test": "8.2.0" + "@commitlint/test": "^9.0.0", + "@commitlint/utils": "^9.0.0" } } diff --git a/@commitlint/cli/CHANGELOG.md b/@commitlint/cli/CHANGELOG.md index 4c08abe8d5..2b80292892 100644 --- a/@commitlint/cli/CHANGELOG.md +++ b/@commitlint/cli/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Bug Fixes + +* **cli:** add missing regenerator-runtime to dependencies ([#919](https://github.com/conventional-changelog/commitlint/issues/919)) ([ee5eac9](https://github.com/conventional-changelog/commitlint/commit/ee5eac98fa97ba5ba17030c8d2705aee5c7f3a3a)) +* [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644)) + + + + + ## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) **Note:** Version bump only for package @commitlint/cli diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index c133b6a3b7..deadf6df8c 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/cli", - "version": "8.3.5", + "version": "9.0.0", "description": "Lint your commit messages", "files": [ "index.js", @@ -49,18 +49,18 @@ "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", - "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4", - "babel-preset-commitlint": "^8.2.0", + "@commitlint/test": "^9.0.0", + "@commitlint/utils": "^9.0.0", + "babel-preset-commitlint": "^9.0.0", "cross-env": "7.0.0", "execa": "^3.4.0", "fs-extra": "^8.1.0" }, "dependencies": { - "@commitlint/format": "^8.3.4", - "@commitlint/lint": "^8.3.5", - "@commitlint/load": "^8.3.5", - "@commitlint/read": "^8.3.4", + "@commitlint/format": "^9.0.0", + "@commitlint/lint": "^9.0.0", + "@commitlint/load": "^9.0.0", + "@commitlint/read": "^9.0.0", "chalk": "3.0.0", "core-js": "^3.6.1", "get-stdin": "7.0.0", diff --git a/@commitlint/config-angular-type-enum/CHANGELOG.md b/@commitlint/config-angular-type-enum/CHANGELOG.md index 8d6aeb4421..fe3482e805 100644 --- a/@commitlint/config-angular-type-enum/CHANGELOG.md +++ b/@commitlint/config-angular-type-enum/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package @commitlint/config-angular-type-enum + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/config-angular-type-enum diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 5f26b5dde7..1302cb52fa 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular-type-enum", - "version": "8.3.4", + "version": "9.0.0", "description": "Shareable commitlint config enforcing the angular commit convention types", "files": [ "index.js" @@ -29,6 +29,6 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/utils": "^8.3.4" + "@commitlint/utils": "^9.0.0" } } diff --git a/@commitlint/config-angular/CHANGELOG.md b/@commitlint/config-angular/CHANGELOG.md index 3c5378707d..0edfb47617 100644 --- a/@commitlint/config-angular/CHANGELOG.md +++ b/@commitlint/config-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package @commitlint/config-angular + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/config-angular diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index eef237bf34..85d9f5cad9 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular", - "version": "8.3.4", + "version": "9.0.0", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -29,9 +29,9 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/utils": "^8.3.4" + "@commitlint/utils": "^9.0.0" }, "dependencies": { - "@commitlint/config-angular-type-enum": "^8.3.4" + "@commitlint/config-angular-type-enum": "^9.0.0" } } diff --git a/@commitlint/config-conventional/CHANGELOG.md b/@commitlint/config-conventional/CHANGELOG.md index 8becaef667..8cbfece705 100644 --- a/@commitlint/config-conventional/CHANGELOG.md +++ b/@commitlint/config-conventional/CHANGELOG.md @@ -3,6 +3,28 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Bug Fixes + +* drop support for 'improvement' type ([#899](https://github.com/conventional-changelog/commitlint/issues/899)) ([b27ab08](https://github.com/conventional-changelog/commitlint/commit/b27ab08544373cfb72a4808756e2e8126ea96a97)) + + +### Features + +* **config-conventional:** footer/body-max-line ([#436](https://github.com/conventional-changelog/commitlint/issues/436)) ([8b394c9](https://github.com/conventional-changelog/commitlint/commit/8b394c94ffe37322d734bd4944add4a6cb2a4689)) +* **config-conventional:** increase header-max-length to 100 ([#860](https://github.com/conventional-changelog/commitlint/issues/860)) ([ff11998](https://github.com/conventional-changelog/commitlint/commit/ff11998e0cf6fcd4f03bc18ab27b1bdd6bf21906)), closes [#859](https://github.com/conventional-changelog/commitlint/issues/859) + + +### BREAKING CHANGES + +* 'improvement' type will now be rejected by this config. + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/config-conventional diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index 3d923233c9..2406492f92 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-conventional", - "version": "8.3.4", + "version": "9.0.0", "description": "Shareable commitlint config enforcing conventional commits", "files": [ "index.js" @@ -32,8 +32,8 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/lint": "^8.3.4", - "@commitlint/utils": "^8.3.4" + "@commitlint/lint": "^9.0.0", + "@commitlint/utils": "^9.0.0" }, "dependencies": { "conventional-changelog-conventionalcommits": "4.2.3" diff --git a/@commitlint/config-lerna-scopes/CHANGELOG.md b/@commitlint/config-lerna-scopes/CHANGELOG.md index 5526103f2d..b86aa7003c 100644 --- a/@commitlint/config-lerna-scopes/CHANGELOG.md +++ b/@commitlint/config-lerna-scopes/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Bug Fixes + +* **config-lerna-scopes:** correct lerna in peerDependencies ([#980](https://github.com/conventional-changelog/commitlint/issues/980)) ([f88f00d](https://github.com/conventional-changelog/commitlint/commit/f88f00d5d3d0a247b5635b50248bbb942b1ec962)) +* update dependency semver to v7.1.3 ([#995](https://github.com/conventional-changelog/commitlint/issues/995)) ([4ee307a](https://github.com/conventional-changelog/commitlint/commit/4ee307a1f8c861ae5d8a038560d166c5d00ea8ba)) + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/config-lerna-scopes diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index 309e2ff395..c3dbfa17eb 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-lerna-scopes", - "version": "8.3.4", + "version": "9.0.0", "description": "Shareable commitlint config enforcing lerna package names as scopes", "files": [ "index.js" @@ -37,7 +37,7 @@ "semver": "7.1.3" }, "devDependencies": { - "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4" + "@commitlint/test": "^9.0.0", + "@commitlint/utils": "^9.0.0" } } diff --git a/@commitlint/config-patternplate/CHANGELOG.md b/@commitlint/config-patternplate/CHANGELOG.md index 41b0983538..dbe89861db 100644 --- a/@commitlint/config-patternplate/CHANGELOG.md +++ b/@commitlint/config-patternplate/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Bug Fixes + +* [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644)) + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/config-patternplate diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 2f2fcbc36f..e9e7f98007 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-patternplate", - "version": "8.3.4", + "version": "9.0.0", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -29,11 +29,11 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-angular": "^8.3.4", + "@commitlint/config-angular": "^9.0.0", "globby": "^11.0.0", "lodash": "^4.17.15" }, "devDependencies": { - "@commitlint/utils": "^8.3.4" + "@commitlint/utils": "^9.0.0" } } diff --git a/@commitlint/core/CHANGELOG.md b/@commitlint/core/CHANGELOG.md index 21cedc02fd..59ae660d32 100644 --- a/@commitlint/core/CHANGELOG.md +++ b/@commitlint/core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package @commitlint/core + + + + + ## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) **Note:** Version bump only for package @commitlint/core diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index f03b84c11f..45dc5f68b4 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/core", - "version": "8.3.5", + "version": "9.0.0", "description": "Lint your commit messages", "main": "lib/core.js", "types": "lib/core.d.ts", @@ -34,12 +34,12 @@ }, "license": "MIT", "dependencies": { - "@commitlint/format": "^8.3.4", - "@commitlint/lint": "^8.3.5", - "@commitlint/load": "^8.3.5", - "@commitlint/read": "^8.3.4" + "@commitlint/format": "^9.0.0", + "@commitlint/lint": "^9.0.0", + "@commitlint/load": "^9.0.0", + "@commitlint/read": "^9.0.0" }, "devDependencies": { - "@commitlint/utils": "^8.3.4" + "@commitlint/utils": "^9.0.0" } } diff --git a/@commitlint/ensure/CHANGELOG.md b/@commitlint/ensure/CHANGELOG.md index a3b1f21000..700ac883b0 100644 --- a/@commitlint/ensure/CHANGELOG.md +++ b/@commitlint/ensure/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Bug Fixes + +* [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644)) + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/ensure diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index fc75b08465..b3fa1d23f7 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/ensure", - "version": "8.3.4", + "version": "9.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,12 +34,12 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^8.3.4", + "@commitlint/utils": "^9.0.0", "@types/lodash": "4.14.149", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/types": "^8.3.4", + "@commitlint/types": "^9.0.0", "lodash": "^4.17.15" } } diff --git a/@commitlint/execute-rule/CHANGELOG.md b/@commitlint/execute-rule/CHANGELOG.md index 1889724478..2ea68131b6 100644 --- a/@commitlint/execute-rule/CHANGELOG.md +++ b/@commitlint/execute-rule/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package @commitlint/execute-rule + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/execute-rule diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index 0ddee8a14f..7b540f95fc 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/execute-rule", - "version": "8.3.4", + "version": "9.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,6 +34,6 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^8.3.4" + "@commitlint/utils": "^9.0.0" } } diff --git a/@commitlint/format/CHANGELOG.md b/@commitlint/format/CHANGELOG.md index cb8c044780..d29169e50b 100644 --- a/@commitlint/format/CHANGELOG.md +++ b/@commitlint/format/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package @commitlint/format + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/format diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index d8d8201f69..e19a5d276e 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/format", - "version": "8.3.4", + "version": "9.0.0", "description": "Format commitlint reports", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^8.3.4" + "@commitlint/utils": "^9.0.0" }, "dependencies": { "chalk": "^3.0.0" diff --git a/@commitlint/is-ignored/CHANGELOG.md b/@commitlint/is-ignored/CHANGELOG.md index 22be2207dd..4ed0793bb9 100644 --- a/@commitlint/is-ignored/CHANGELOG.md +++ b/@commitlint/is-ignored/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Bug Fixes + +* update dependency semver to v7.1.3 ([#995](https://github.com/conventional-changelog/commitlint/issues/995)) ([4ee307a](https://github.com/conventional-changelog/commitlint/commit/4ee307a1f8c861ae5d8a038560d166c5d00ea8ba)) + + + + + ## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index f02c11913d..86665ea5f4 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/is-ignored", - "version": "8.3.5", + "version": "9.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^8.3.4", - "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4", + "@commitlint/parse": "^9.0.0", + "@commitlint/test": "^9.0.0", + "@commitlint/utils": "^9.0.0", "@types/semver": "7.1.0" }, "dependencies": { - "@commitlint/types": "^8.3.4", + "@commitlint/types": "^9.0.0", "semver": "7.1.3" } } diff --git a/@commitlint/lint/CHANGELOG.md b/@commitlint/lint/CHANGELOG.md index 0a0305ecf6..7bf8e4cd40 100644 --- a/@commitlint/lint/CHANGELOG.md +++ b/@commitlint/lint/CHANGELOG.md @@ -3,6 +3,23 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Bug Fixes + +* [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644)) +* ignore empty commit messages [#615](https://github.com/conventional-changelog/commitlint/issues/615) ([#676](https://github.com/conventional-changelog/commitlint/issues/676)) ([c3eb1a7](https://github.com/conventional-changelog/commitlint/commit/c3eb1a76e08213d7ce1f200e35f8d5d6de18982a)) + + +### Features + +* add async promise based rules methods into lint ([#976](https://github.com/conventional-changelog/commitlint/issues/976)) ([4443062](https://github.com/conventional-changelog/commitlint/commit/444306249b8a3d04524538f61edca8f6cc10d75f)) + + + + + ## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) **Note:** Version bump only for package @commitlint/lint diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index a53dc2294c..c6587323dc 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/lint", - "version": "8.3.5", + "version": "9.0.0", "description": "Lint a string against commitlint rules", "main": "lib/lint.js", "types": "lib/lint.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4" + "@commitlint/test": "^9.0.0", + "@commitlint/utils": "^9.0.0" }, "dependencies": { - "@commitlint/is-ignored": "^8.3.5", - "@commitlint/parse": "^8.3.4", - "@commitlint/rules": "^8.3.4", - "@commitlint/types": "^8.3.4" + "@commitlint/is-ignored": "^9.0.0", + "@commitlint/parse": "^9.0.0", + "@commitlint/rules": "^9.0.0", + "@commitlint/types": "^9.0.0" } } diff --git a/@commitlint/load/CHANGELOG.md b/@commitlint/load/CHANGELOG.md index 6f266397b0..f3c76290e5 100644 --- a/@commitlint/load/CHANGELOG.md +++ b/@commitlint/load/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Bug Fixes + +* [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644)) + + + + + ## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) **Note:** Version bump only for package @commitlint/load diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index a90b86261b..6bb2f2f672 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/load", - "version": "8.3.5", + "version": "9.0.0", "description": "Load shared commitlint configuration", "main": "lib/load.js", "types": "lib/load.d.ts", @@ -34,15 +34,15 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4", + "@commitlint/test": "^9.0.0", + "@commitlint/utils": "^9.0.0", "@types/lodash": "4.14.149", "execa": "^3.4.0" }, "dependencies": { - "@commitlint/execute-rule": "^8.3.4", - "@commitlint/resolve-extends": "^8.3.5", - "@commitlint/types": "^8.3.5", + "@commitlint/execute-rule": "^9.0.0", + "@commitlint/resolve-extends": "^9.0.0", + "@commitlint/types": "^9.0.0", "chalk": "3.0.0", "cosmiconfig": "^6.0.0", "lodash": "^4.17.15", diff --git a/@commitlint/message/CHANGELOG.md b/@commitlint/message/CHANGELOG.md index afbd7b1549..da13622117 100644 --- a/@commitlint/message/CHANGELOG.md +++ b/@commitlint/message/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package @commitlint/message + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/message diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index 7bbb92e8fe..69f4f7ac7f 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/message", - "version": "8.3.4", + "version": "9.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4" + "@commitlint/test": "^9.0.0", + "@commitlint/utils": "^9.0.0" } } diff --git a/@commitlint/parse/CHANGELOG.md b/@commitlint/parse/CHANGELOG.md index f1e094ade4..acb5e1e35c 100644 --- a/@commitlint/parse/CHANGELOG.md +++ b/@commitlint/parse/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Bug Fixes + +* [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644)) + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/parse diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 69450fcb60..5133d5e1cc 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/parse", - "version": "8.3.4", + "version": "9.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,8 +34,8 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4" + "@commitlint/test": "^9.0.0", + "@commitlint/utils": "^9.0.0" }, "dependencies": { "conventional-changelog-angular": "^5.0.0", diff --git a/@commitlint/prompt-cli/CHANGELOG.md b/@commitlint/prompt-cli/CHANGELOG.md index b217a1334b..f7f1b764fa 100644 --- a/@commitlint/prompt-cli/CHANGELOG.md +++ b/@commitlint/prompt-cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package @commitlint/prompt-cli + + + + + ## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) **Note:** Version bump only for package @commitlint/prompt-cli diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 890dc0354d..02c99088ba 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt-cli", - "version": "8.3.5", + "version": "9.0.0", "description": "commit prompt using commitlint.config.js", "files": [ "cli.js" @@ -31,11 +31,11 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4" + "@commitlint/test": "^9.0.0", + "@commitlint/utils": "^9.0.0" }, "dependencies": { - "@commitlint/prompt": "^8.3.5", + "@commitlint/prompt": "^9.0.0", "execa": "^3.4.0" } } diff --git a/@commitlint/prompt/CHANGELOG.md b/@commitlint/prompt/CHANGELOG.md index bece6ef5c7..0ae6d0d9d7 100644 --- a/@commitlint/prompt/CHANGELOG.md +++ b/@commitlint/prompt/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Bug Fixes + +* [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644)) +* incorrect use of when in getForcedCaseFn ([#993](https://github.com/conventional-changelog/commitlint/issues/993)) ([34c11b8](https://github.com/conventional-changelog/commitlint/commit/34c11b8f3f233eca51866274a10d35231e8eb3d4)) + + + + + ## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) **Note:** Version bump only for package @commitlint/prompt diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 62d7599354..6d62f32469 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt", - "version": "8.3.5", + "version": "9.0.0", "description": "commitizen prompt using commitlint.config.js", "main": "./lib/index.js", "files": [ @@ -50,13 +50,13 @@ "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", - "@commitlint/utils": "^8.3.4", - "babel-preset-commitlint": "^8.2.0", + "@commitlint/utils": "^9.0.0", + "babel-preset-commitlint": "^9.0.0", "commitizen": "3.1.2", "cross-env": "7.0.0" }, "dependencies": { - "@commitlint/load": "^8.3.5", + "@commitlint/load": "^9.0.0", "chalk": "^3.0.0", "lodash": "^4.17.15", "throat": "^5.0.0", diff --git a/@commitlint/read/CHANGELOG.md b/@commitlint/read/CHANGELOG.md index 26f8592e3c..54811deecc 100644 --- a/@commitlint/read/CHANGELOG.md +++ b/@commitlint/read/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package @commitlint/read + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/read diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index ac5fe177dd..9025c30075 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/read", - "version": "8.3.4", + "version": "9.0.0", "description": "Read commit messages from a specified range or last edit", "main": "lib/read.js", "types": "lib/read.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4", + "@commitlint/test": "^9.0.0", + "@commitlint/utils": "^9.0.0", "@types/fs-extra": "^8.0.1", "@types/git-raw-commits": "^2.0.0" }, "dependencies": { - "@commitlint/top-level": "^8.3.4", + "@commitlint/top-level": "^9.0.0", "fs-extra": "^8.1.0", "git-raw-commits": "^2.0.0" } diff --git a/@commitlint/resolve-extends/CHANGELOG.md b/@commitlint/resolve-extends/CHANGELOG.md index 3b22f4fcdb..3499d6ac83 100644 --- a/@commitlint/resolve-extends/CHANGELOG.md +++ b/@commitlint/resolve-extends/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Bug Fixes + +* [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644)) + + +### Features + +* add possibility to extend from string ([#865](https://github.com/conventional-changelog/commitlint/issues/865)) ([056c6fe](https://github.com/conventional-changelog/commitlint/commit/056c6fef346b4e84f8b1f93038a9461a7cbd9beb)) + + + + + ## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index b1328b8642..2a54250809 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/resolve-extends", - "version": "8.3.5", + "version": "9.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^8.3.4", + "@commitlint/utils": "^9.0.0", "@types/lodash": "4.14.149" }, "dependencies": { diff --git a/@commitlint/rules/CHANGELOG.md b/@commitlint/rules/CHANGELOG.md index 6eae808b8b..79a99eb933 100644 --- a/@commitlint/rules/CHANGELOG.md +++ b/@commitlint/rules/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Bug Fixes + +* [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644)) + + +### Features + +* add async promise based rules methods into lint ([#976](https://github.com/conventional-changelog/commitlint/issues/976)) ([4443062](https://github.com/conventional-changelog/commitlint/commit/444306249b8a3d04524538f61edca8f6cc10d75f)) + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/rules diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index 3cee9a2dab..369f0627a0 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/rules", - "version": "8.3.4", + "version": "9.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,16 +34,16 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^8.3.4", - "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4", + "@commitlint/parse": "^9.0.0", + "@commitlint/test": "^9.0.0", + "@commitlint/utils": "^9.0.0", "conventional-changelog-angular": "5.0.6", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/ensure": "^8.3.4", - "@commitlint/message": "^8.3.4", - "@commitlint/to-lines": "^8.3.4", - "@commitlint/types": "^8.3.4" + "@commitlint/ensure": "^9.0.0", + "@commitlint/message": "^9.0.0", + "@commitlint/to-lines": "^9.0.0", + "@commitlint/types": "^9.0.0" } } diff --git a/@commitlint/to-lines/CHANGELOG.md b/@commitlint/to-lines/CHANGELOG.md index 4ec4242c56..82ea96bba2 100644 --- a/@commitlint/to-lines/CHANGELOG.md +++ b/@commitlint/to-lines/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package @commitlint/to-lines + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/to-lines diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index 1863f19e10..a786b29eae 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/to-lines", - "version": "8.3.4", + "version": "9.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,6 +34,6 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^8.3.4" + "@commitlint/utils": "^9.0.0" } } diff --git a/@commitlint/top-level/CHANGELOG.md b/@commitlint/top-level/CHANGELOG.md index 3bc1ea054a..29e90d364f 100644 --- a/@commitlint/top-level/CHANGELOG.md +++ b/@commitlint/top-level/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package @commitlint/top-level + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) **Note:** Version bump only for package @commitlint/top-level diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index 194716fab2..09666017da 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/top-level", - "version": "8.3.4", + "version": "9.0.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^8.3.4" + "@commitlint/utils": "^9.0.0" }, "dependencies": { "find-up": "^4.0.0" diff --git a/@commitlint/travis-cli/CHANGELOG.md b/@commitlint/travis-cli/CHANGELOG.md index 110c62b08e..d009a45af2 100644 --- a/@commitlint/travis-cli/CHANGELOG.md +++ b/@commitlint/travis-cli/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Features + +* passdown argv to lint command ([#891](https://github.com/conventional-changelog/commitlint/issues/891)) ([c49a57c](https://github.com/conventional-changelog/commitlint/commit/c49a57c77767b8213d565df3a8bbcd7369f36641)) + + + + + ## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) **Note:** Version bump only for package @commitlint/travis-cli diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index b61c88c069..a3c91cf681 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/travis-cli", - "version": "8.3.5", + "version": "9.0.0", "description": "Lint all relevant commits for a change or PR on Travis CI", "files": [ "lib/" @@ -47,13 +47,13 @@ "devDependencies": { "@babel/cli": "7.8.4", "@babel/core": "7.8.4", - "@commitlint/test": "8.2.0", - "@commitlint/utils": "^8.3.4", - "babel-preset-commitlint": "^8.2.0", + "@commitlint/test": "^9.0.0", + "@commitlint/utils": "^9.0.0", + "babel-preset-commitlint": "^9.0.0", "cross-env": "7.0.0" }, "dependencies": { - "@commitlint/cli": "^8.3.5", + "@commitlint/cli": "^9.0.0", "execa": "^3.4.0" } } diff --git a/@commitlint/types/CHANGELOG.md b/@commitlint/types/CHANGELOG.md new file mode 100644 index 0000000000..297b801ec2 --- /dev/null +++ b/@commitlint/types/CHANGELOG.md @@ -0,0 +1,11 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Features + +* add async promise based rules methods into lint ([#976](https://github.com/conventional-changelog/commitlint/issues/976)) ([4443062](https://github.com/conventional-changelog/commitlint/commit/444306249b8a3d04524538f61edca8f6cc10d75f)) diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index 56bcb55bcf..a80e4634b6 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/types", - "version": "8.3.5", + "version": "9.0.0", "description": "Shared types for commitlint packages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -27,6 +27,6 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^8.3.4" + "@commitlint/utils": "^9.0.0" } } diff --git a/@packages/babel-preset-commitlint/CHANGELOG.md b/@packages/babel-preset-commitlint/CHANGELOG.md index 78d4dacc6f..5b34cedf3c 100644 --- a/@packages/babel-preset-commitlint/CHANGELOG.md +++ b/@packages/babel-preset-commitlint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package babel-preset-commitlint + + + + + # [8.2.0](https://github.com/conventional-changelog/commitlint/compare/v8.1.0...v8.2.0) (2019-09-16) **Note:** Version bump only for package babel-preset-commitlint diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index 5e22fe433c..04e1ed6814 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -1,6 +1,6 @@ { "name": "babel-preset-commitlint", - "version": "8.2.0", + "version": "9.0.0", "description": "Lint your commit messages", "main": "index.js", "files": [ diff --git a/@packages/test-environment/CHANGELOG.md b/@packages/test-environment/CHANGELOG.md new file mode 100644 index 0000000000..ca609fd371 --- /dev/null +++ b/@packages/test-environment/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package @commitlint/test-environment diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index e1b7c74c2e..d273e05d0e 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/test-environment", - "version": "8.3.5", + "version": "9.0.0", "description": "test environment for @commitlint", "main": "lib/test-environment.js", "types": "lib/test-environment.d.ts", diff --git a/@packages/test/CHANGELOG.md b/@packages/test/CHANGELOG.md index 3e5931169d..e7c9259267 100644 --- a/@packages/test/CHANGELOG.md +++ b/@packages/test/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + +**Note:** Version bump only for package @commitlint/test + + + + + # [8.2.0](https://github.com/conventional-changelog/commitlint/compare/v8.1.0...v8.2.0) (2019-09-16) **Note:** Version bump only for package @commitlint/test diff --git a/@packages/test/package.json b/@packages/test/package.json index f1f046e5c2..ce8d0b46e8 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/test", - "version": "8.2.0", + "version": "9.0.0", "description": "test utilities for @commitlint", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/@packages/utils/CHANGELOG.md b/@packages/utils/CHANGELOG.md index 4c266e13d1..c31e747c1f 100644 --- a/@packages/utils/CHANGELOG.md +++ b/@packages/utils/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Bug Fixes + +* [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644)) + + + + + ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) diff --git a/@packages/utils/package.json b/@packages/utils/package.json index b5da91d5bb..0c3411b2bf 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/utils", - "version": "8.3.4", + "version": "9.0.0", "description": "Development utilities for @commitlint", "files": [ "dep-check.js", @@ -36,7 +36,7 @@ }, "license": "MIT", "dependencies": { - "@commitlint/test": "8.2.0", + "@commitlint/test": "^9.0.0", "execa": "^3.4.0", "is-builtin-module": "3.0.0", "meow": "4.0.1", diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b6b35800a..9b5033d71c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,37 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) + + +### Bug Fixes + +* **cli:** add missing regenerator-runtime to dependencies ([#919](https://github.com/conventional-changelog/commitlint/issues/919)) ([ee5eac9](https://github.com/conventional-changelog/commitlint/commit/ee5eac98fa97ba5ba17030c8d2705aee5c7f3a3a)) +* [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644)) +* drop support for 'improvement' type ([#899](https://github.com/conventional-changelog/commitlint/issues/899)) ([b27ab08](https://github.com/conventional-changelog/commitlint/commit/b27ab08544373cfb72a4808756e2e8126ea96a97)) +* **config-lerna-scopes:** correct lerna in peerDependencies ([#980](https://github.com/conventional-changelog/commitlint/issues/980)) ([f88f00d](https://github.com/conventional-changelog/commitlint/commit/f88f00d5d3d0a247b5635b50248bbb942b1ec962)) +* ignore empty commit messages [#615](https://github.com/conventional-changelog/commitlint/issues/615) ([#676](https://github.com/conventional-changelog/commitlint/issues/676)) ([c3eb1a7](https://github.com/conventional-changelog/commitlint/commit/c3eb1a76e08213d7ce1f200e35f8d5d6de18982a)) +* incorrect use of when in getForcedCaseFn ([#993](https://github.com/conventional-changelog/commitlint/issues/993)) ([34c11b8](https://github.com/conventional-changelog/commitlint/commit/34c11b8f3f233eca51866274a10d35231e8eb3d4)) +* update dependency semver to v7.1.3 ([#995](https://github.com/conventional-changelog/commitlint/issues/995)) ([4ee307a](https://github.com/conventional-changelog/commitlint/commit/4ee307a1f8c861ae5d8a038560d166c5d00ea8ba)) + + +### Features + +* add async promise based rules methods into lint ([#976](https://github.com/conventional-changelog/commitlint/issues/976)) ([4443062](https://github.com/conventional-changelog/commitlint/commit/444306249b8a3d04524538f61edca8f6cc10d75f)) +* add possibility to extend from string ([#865](https://github.com/conventional-changelog/commitlint/issues/865)) ([056c6fe](https://github.com/conventional-changelog/commitlint/commit/056c6fef346b4e84f8b1f93038a9461a7cbd9beb)) +* passdown argv to lint command ([#891](https://github.com/conventional-changelog/commitlint/issues/891)) ([c49a57c](https://github.com/conventional-changelog/commitlint/commit/c49a57c77767b8213d565df3a8bbcd7369f36641)) +* **config-conventional:** footer/body-max-line ([#436](https://github.com/conventional-changelog/commitlint/issues/436)) ([8b394c9](https://github.com/conventional-changelog/commitlint/commit/8b394c94ffe37322d734bd4944add4a6cb2a4689)) +* **config-conventional:** increase header-max-length to 100 ([#860](https://github.com/conventional-changelog/commitlint/issues/860)) ([ff11998](https://github.com/conventional-changelog/commitlint/commit/ff11998e0cf6fcd4f03bc18ab27b1bdd6bf21906)), closes [#859](https://github.com/conventional-changelog/commitlint/issues/859) + + +### BREAKING CHANGES + +* 'improvement' type will now be rejected by this config. + + + + + ## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) diff --git a/lerna.json b/lerna.json index 20492c3264..b7476c186c 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "lerna": "2", "npmClient": "yarn", "useWorkspaces": true, - "version": "8.3.5" + "version": "9.0.0" } From 341247bbc6271358e92e7ccc558d6ddab00e15cc Mon Sep 17 00:00:00 2001 From: escapedcat Date: Thu, 21 May 2020 18:24:27 +0800 Subject: [PATCH 0110/2192] v9.0.0 - further gitHead entries after publishing manually --- @alias/commitlint-config-angular/package.json | 3 ++- @alias/commitlint-config-lerna-scopes/package.json | 3 ++- @alias/commitlint-config-patternplate/package.json | 3 ++- @alias/commitlint/package.json | 3 ++- @commitlint/cli/package.json | 3 ++- @commitlint/config-angular-type-enum/package.json | 3 ++- @commitlint/config-angular/package.json | 3 ++- @commitlint/config-conventional/package.json | 3 ++- @commitlint/config-lerna-scopes/package.json | 3 ++- @commitlint/config-patternplate/package.json | 3 ++- @commitlint/core/package.json | 3 ++- @commitlint/ensure/package.json | 3 ++- @commitlint/execute-rule/package.json | 3 ++- @commitlint/format/package.json | 3 ++- @commitlint/is-ignored/package.json | 3 ++- @commitlint/lint/package.json | 3 ++- @commitlint/load/package.json | 3 ++- @commitlint/message/package.json | 3 ++- @commitlint/parse/package.json | 3 ++- @commitlint/prompt-cli/package.json | 3 ++- @commitlint/prompt/package.json | 3 ++- @commitlint/read/package.json | 3 ++- @commitlint/resolve-extends/package.json | 3 ++- @commitlint/rules/package.json | 3 ++- @commitlint/to-lines/package.json | 3 ++- @commitlint/top-level/package.json | 3 ++- @commitlint/travis-cli/package.json | 3 ++- @commitlint/types/package.json | 3 ++- @packages/babel-preset-commitlint/package.json | 3 ++- @packages/test-environment/package.json | 3 ++- @packages/test/package.json | 3 ++- @packages/utils/package.json | 3 ++- 32 files changed, 64 insertions(+), 32 deletions(-) diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index 2a3617369a..c6d2cc027f 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -33,5 +33,6 @@ }, "devDependencies": { "@commitlint/utils": "^9.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index 36213eaaf7..c2d0dbc5f6 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -33,5 +33,6 @@ }, "devDependencies": { "@commitlint/utils": "^9.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index 71a6f1a0cd..096f7d56f9 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -33,5 +33,6 @@ }, "devDependencies": { "@commitlint/utils": "^9.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 2a30e2a551..21fda06113 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -39,5 +39,6 @@ "devDependencies": { "@commitlint/test": "^9.0.0", "@commitlint/utils": "^9.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index deadf6df8c..1b8c294f20 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -69,5 +69,6 @@ "regenerator-runtime": "0.13.3", "resolve-from": "5.0.0", "resolve-global": "1.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 1302cb52fa..78276c7e40 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -30,5 +30,6 @@ }, "devDependencies": { "@commitlint/utils": "^9.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index 85d9f5cad9..757acd4df2 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -33,5 +33,6 @@ }, "dependencies": { "@commitlint/config-angular-type-enum": "^9.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index 2406492f92..ce2865e0c8 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -37,5 +37,6 @@ }, "dependencies": { "conventional-changelog-conventionalcommits": "4.2.3" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index c3dbfa17eb..648b1de1c7 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -39,5 +39,6 @@ "devDependencies": { "@commitlint/test": "^9.0.0", "@commitlint/utils": "^9.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index e9e7f98007..9b26d078b6 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -35,5 +35,6 @@ }, "devDependencies": { "@commitlint/utils": "^9.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index 45dc5f68b4..d8f7fa3d23 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -41,5 +41,6 @@ }, "devDependencies": { "@commitlint/utils": "^9.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index b3fa1d23f7..6fb11935e9 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -41,5 +41,6 @@ "dependencies": { "@commitlint/types": "^9.0.0", "lodash": "^4.17.15" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index 7b540f95fc..9cebc700da 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -35,5 +35,6 @@ "license": "MIT", "devDependencies": { "@commitlint/utils": "^9.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index e19a5d276e..71035b6c9c 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -38,5 +38,6 @@ }, "dependencies": { "chalk": "^3.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index 86665ea5f4..dbf66d8f01 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -42,5 +42,6 @@ "dependencies": { "@commitlint/types": "^9.0.0", "semver": "7.1.3" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index c6587323dc..4fb0bf64be 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -42,5 +42,6 @@ "@commitlint/parse": "^9.0.0", "@commitlint/rules": "^9.0.0", "@commitlint/types": "^9.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 6bb2f2f672..4aec124a17 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -47,5 +47,6 @@ "cosmiconfig": "^6.0.0", "lodash": "^4.17.15", "resolve-from": "^5.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index 69f4f7ac7f..dcc3d19d18 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -36,5 +36,6 @@ "devDependencies": { "@commitlint/test": "^9.0.0", "@commitlint/utils": "^9.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 5133d5e1cc..9a92272065 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -40,5 +40,6 @@ "dependencies": { "conventional-changelog-angular": "^5.0.0", "conventional-commits-parser": "^3.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 02c99088ba..63886db59f 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -37,5 +37,6 @@ "dependencies": { "@commitlint/prompt": "^9.0.0", "execa": "^3.4.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 6d62f32469..88831e7338 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -61,5 +61,6 @@ "lodash": "^4.17.15", "throat": "^5.0.0", "vorpal": "^1.12.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 9025c30075..7705a48d65 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -43,5 +43,6 @@ "@commitlint/top-level": "^9.0.0", "fs-extra": "^8.1.0", "git-raw-commits": "^2.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index 2a54250809..9f0635e4aa 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -42,5 +42,6 @@ "lodash": "^4.17.15", "resolve-from": "^5.0.0", "resolve-global": "^1.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index 369f0627a0..603b3631a4 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -45,5 +45,6 @@ "@commitlint/message": "^9.0.0", "@commitlint/to-lines": "^9.0.0", "@commitlint/types": "^9.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index a786b29eae..d479481511 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -35,5 +35,6 @@ "license": "MIT", "devDependencies": { "@commitlint/utils": "^9.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index 09666017da..91daed9f12 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -38,5 +38,6 @@ }, "dependencies": { "find-up": "^4.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index a3c91cf681..637926fa30 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -55,5 +55,6 @@ "dependencies": { "@commitlint/cli": "^9.0.0", "execa": "^3.4.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index a80e4634b6..71de44f33e 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -28,5 +28,6 @@ "license": "MIT", "devDependencies": { "@commitlint/utils": "^9.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index 04e1ed6814..6179e5e9a3 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -37,5 +37,6 @@ "@babel/plugin-transform-runtime": "^7.7.6", "@babel/preset-env": "^7.7.7", "fast-async": "^7.0.6" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index d273e05d0e..54ed49e0ab 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -28,5 +28,6 @@ "dependencies": { "@types/tmp": "^0.1.0", "tmp": "0.1.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@packages/test/package.json b/@packages/test/package.json index ce8d0b46e8..2e951c84ab 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -36,5 +36,6 @@ "pkg-dir": "4.2.0", "resolve-pkg": "2.0.0", "tmp": "0.1.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 0c3411b2bf..0acfe1f274 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -43,5 +43,6 @@ "read-pkg": "5.2.0", "require-from-string": "2.0.2", "tar-fs": "2.0.0" - } + }, + "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } From 09afcd647a2c1d00538cf1c970e3790d936111f8 Mon Sep 17 00:00:00 2001 From: hannes Date: Tue, 26 May 2020 12:04:10 +0800 Subject: [PATCH 0111/2192] fix: add missing @babel/runtime dep #1738 (#1754) --- @commitlint/cli/package.json | 1 + @commitlint/prompt/package.json | 1 + @commitlint/travis-cli/package.json | 1 + yarn.lock | 12 ++++++++++++ 4 files changed, 15 insertions(+) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 1b8c294f20..53aeaffc95 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -57,6 +57,7 @@ "fs-extra": "^8.1.0" }, "dependencies": { + "@babel/runtime": "^7.9.6", "@commitlint/format": "^9.0.0", "@commitlint/lint": "^9.0.0", "@commitlint/load": "^9.0.0", diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 88831e7338..87e236b539 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -56,6 +56,7 @@ "cross-env": "7.0.0" }, "dependencies": { + "@babel/runtime": "^7.9.6", "@commitlint/load": "^9.0.0", "chalk": "^3.0.0", "lodash": "^4.17.15", diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 637926fa30..0db541f416 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -53,6 +53,7 @@ "cross-env": "7.0.0" }, "dependencies": { + "@babel/runtime": "^7.9.6", "@commitlint/cli": "^9.0.0", "execa": "^3.4.0" }, diff --git a/yarn.lock b/yarn.lock index 6855e9bb71..91041c2453 100644 --- a/yarn.lock +++ b/yarn.lock @@ -739,6 +739,13 @@ dependencies: regenerator-runtime "^0.13.2" +"@babel/runtime@^7.9.6": + version "7.9.6" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.6.tgz#a9102eb5cadedf3f31d08a9ecf294af7827ea29f" + integrity sha512-64AF1xY3OAkFHqOb9s4jpgk1Mm5vDZ4L3acHvAml+53nO1XbXLuDodsVpO4OIUsmemlUHMxNdYMNJmsvOwLrvQ== + dependencies: + regenerator-runtime "^0.13.4" + "@babel/template@^7.7.4", "@babel/template@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz#e02ad04fe262a657809327f578056ca15fd4d1b8" @@ -8375,6 +8382,11 @@ regenerator-runtime@^0.11.0: resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== +regenerator-runtime@^0.13.4: + version "0.13.5" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz#d878a1d094b4306d10b9096484b33ebd55e26697" + integrity sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA== + regenerator-transform@^0.14.0: version "0.14.1" resolved "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.1.tgz#3b2fce4e1ab7732c08f665dfdb314749c7ddd2fb" From 7ff3f2902bcaa8b93b653a0af25c811d12ae0dc1 Mon Sep 17 00:00:00 2001 From: escapedcat Date: Tue, 26 May 2020 12:22:34 +0800 Subject: [PATCH 0112/2192] v9.0.1 --- @alias/commitlint-config-angular/CHANGELOG.md | 8 ++++++++ @alias/commitlint-config-angular/package.json | 6 +++--- .../commitlint-config-lerna-scopes/CHANGELOG.md | 8 ++++++++ .../commitlint-config-lerna-scopes/package.json | 6 +++--- .../commitlint-config-patternplate/CHANGELOG.md | 8 ++++++++ .../commitlint-config-patternplate/package.json | 6 +++--- @alias/commitlint/CHANGELOG.md | 8 ++++++++ @alias/commitlint/package.json | 8 ++++---- @commitlint/cli/CHANGELOG.md | 11 +++++++++++ @commitlint/cli/package.json | 16 ++++++++-------- .../config-angular-type-enum/CHANGELOG.md | 8 ++++++++ .../config-angular-type-enum/package.json | 4 ++-- @commitlint/config-angular/CHANGELOG.md | 8 ++++++++ @commitlint/config-angular/package.json | 6 +++--- @commitlint/config-conventional/CHANGELOG.md | 8 ++++++++ @commitlint/config-conventional/package.json | 6 +++--- @commitlint/config-lerna-scopes/CHANGELOG.md | 8 ++++++++ @commitlint/config-lerna-scopes/package.json | 6 +++--- @commitlint/config-patternplate/CHANGELOG.md | 8 ++++++++ @commitlint/config-patternplate/package.json | 6 +++--- @commitlint/core/CHANGELOG.md | 8 ++++++++ @commitlint/core/package.json | 12 ++++++------ @commitlint/ensure/CHANGELOG.md | 8 ++++++++ @commitlint/ensure/package.json | 6 +++--- @commitlint/execute-rule/CHANGELOG.md | 8 ++++++++ @commitlint/execute-rule/package.json | 4 ++-- @commitlint/format/CHANGELOG.md | 8 ++++++++ @commitlint/format/package.json | 4 ++-- @commitlint/is-ignored/CHANGELOG.md | 8 ++++++++ @commitlint/is-ignored/package.json | 10 +++++----- @commitlint/lint/CHANGELOG.md | 8 ++++++++ @commitlint/lint/package.json | 14 +++++++------- @commitlint/load/CHANGELOG.md | 8 ++++++++ @commitlint/load/package.json | 12 ++++++------ @commitlint/message/CHANGELOG.md | 8 ++++++++ @commitlint/message/package.json | 6 +++--- @commitlint/parse/CHANGELOG.md | 8 ++++++++ @commitlint/parse/package.json | 6 +++--- @commitlint/prompt-cli/CHANGELOG.md | 8 ++++++++ @commitlint/prompt-cli/package.json | 8 ++++---- @commitlint/prompt/CHANGELOG.md | 11 +++++++++++ @commitlint/prompt/package.json | 8 ++++---- @commitlint/read/CHANGELOG.md | 8 ++++++++ @commitlint/read/package.json | 8 ++++---- @commitlint/resolve-extends/CHANGELOG.md | 8 ++++++++ @commitlint/resolve-extends/package.json | 4 ++-- @commitlint/rules/CHANGELOG.md | 8 ++++++++ @commitlint/rules/package.json | 16 ++++++++-------- @commitlint/to-lines/CHANGELOG.md | 8 ++++++++ @commitlint/to-lines/package.json | 4 ++-- @commitlint/top-level/CHANGELOG.md | 8 ++++++++ @commitlint/top-level/package.json | 4 ++-- @commitlint/travis-cli/CHANGELOG.md | 11 +++++++++++ @commitlint/travis-cli/package.json | 10 +++++----- @commitlint/types/CHANGELOG.md | 8 ++++++++ @commitlint/types/package.json | 4 ++-- @packages/babel-preset-commitlint/CHANGELOG.md | 8 ++++++++ @packages/babel-preset-commitlint/package.json | 2 +- @packages/test-environment/CHANGELOG.md | 8 ++++++++ @packages/test-environment/package.json | 2 +- @packages/test/CHANGELOG.md | 8 ++++++++ @packages/test/package.json | 2 +- @packages/utils/CHANGELOG.md | 8 ++++++++ @packages/utils/package.json | 4 ++-- CHANGELOG.md | 11 +++++++++++ lerna.json | 2 +- 66 files changed, 387 insertions(+), 111 deletions(-) diff --git a/@alias/commitlint-config-angular/CHANGELOG.md b/@alias/commitlint-config-angular/CHANGELOG.md index 4c4569bc45..635e520e53 100644 --- a/@alias/commitlint-config-angular/CHANGELOG.md +++ b/@alias/commitlint-config-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package commitlint-config-angular + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package commitlint-config-angular diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index c6d2cc027f..ed2394bcee 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-angular", - "version": "9.0.0", + "version": "9.0.1", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-angular": "^9.0.0" + "@commitlint/config-angular": "^9.0.1" }, "devDependencies": { - "@commitlint/utils": "^9.0.0" + "@commitlint/utils": "^9.0.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md index 1dc9ebe238..23c5e68d2a 100644 --- a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md +++ b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package commitlint-config-lerna-scopes + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package commitlint-config-lerna-scopes diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index c2d0dbc5f6..18e16c140c 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-lerna-scopes", - "version": "9.0.0", + "version": "9.0.1", "description": "Shareable commitlint config enforcing lerna package names as scopes", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-lerna-scopes": "^9.0.0" + "@commitlint/config-lerna-scopes": "^9.0.1" }, "devDependencies": { - "@commitlint/utils": "^9.0.0" + "@commitlint/utils": "^9.0.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@alias/commitlint-config-patternplate/CHANGELOG.md b/@alias/commitlint-config-patternplate/CHANGELOG.md index 7df7fa52c5..3e7736ac9f 100644 --- a/@alias/commitlint-config-patternplate/CHANGELOG.md +++ b/@alias/commitlint-config-patternplate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package commitlint-config-patternplate + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package commitlint-config-patternplate diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index 096f7d56f9..a0d0bea17f 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-patternplate", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-patternplate": "^9.0.0" + "@commitlint/config-patternplate": "^9.0.1" }, "devDependencies": { - "@commitlint/utils": "^9.0.0" + "@commitlint/utils": "^9.0.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@alias/commitlint/CHANGELOG.md b/@alias/commitlint/CHANGELOG.md index 627539e5a1..1615a8e828 100644 --- a/@alias/commitlint/CHANGELOG.md +++ b/@alias/commitlint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package commitlint + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package commitlint diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 21fda06113..51a91b9540 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -1,6 +1,6 @@ { "name": "commitlint", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint your commit messages", "files": [ "cli.js" @@ -34,11 +34,11 @@ }, "license": "MIT", "dependencies": { - "@commitlint/cli": "^9.0.0" + "@commitlint/cli": "^9.0.1" }, "devDependencies": { - "@commitlint/test": "^9.0.0", - "@commitlint/utils": "^9.0.0" + "@commitlint/test": "^9.0.1", + "@commitlint/utils": "^9.0.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/cli/CHANGELOG.md b/@commitlint/cli/CHANGELOG.md index 2b80292892..5848ea97e0 100644 --- a/@commitlint/cli/CHANGELOG.md +++ b/@commitlint/cli/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + + +### Bug Fixes + +* add missing @babel/runtime dep [#1738](https://github.com/conventional-changelog/commitlint/issues/1738) ([#1754](https://github.com/conventional-changelog/commitlint/issues/1754)) ([09afcd6](https://github.com/conventional-changelog/commitlint/commit/09afcd647a2c1d00538cf1c970e3790d936111f8)) + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 53aeaffc95..eca391e093 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/cli", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint your commit messages", "files": [ "index.js", @@ -49,19 +49,19 @@ "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", - "@commitlint/test": "^9.0.0", - "@commitlint/utils": "^9.0.0", - "babel-preset-commitlint": "^9.0.0", + "@commitlint/test": "^9.0.1", + "@commitlint/utils": "^9.0.1", + "babel-preset-commitlint": "^9.0.1", "cross-env": "7.0.0", "execa": "^3.4.0", "fs-extra": "^8.1.0" }, "dependencies": { "@babel/runtime": "^7.9.6", - "@commitlint/format": "^9.0.0", - "@commitlint/lint": "^9.0.0", - "@commitlint/load": "^9.0.0", - "@commitlint/read": "^9.0.0", + "@commitlint/format": "^9.0.1", + "@commitlint/lint": "^9.0.1", + "@commitlint/load": "^9.0.1", + "@commitlint/read": "^9.0.1", "chalk": "3.0.0", "core-js": "^3.6.1", "get-stdin": "7.0.0", diff --git a/@commitlint/config-angular-type-enum/CHANGELOG.md b/@commitlint/config-angular-type-enum/CHANGELOG.md index fe3482e805..91e45af87c 100644 --- a/@commitlint/config-angular-type-enum/CHANGELOG.md +++ b/@commitlint/config-angular-type-enum/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/config-angular-type-enum + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package @commitlint/config-angular-type-enum diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 78276c7e40..3dd7a4eb0b 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular-type-enum", - "version": "9.0.0", + "version": "9.0.1", "description": "Shareable commitlint config enforcing the angular commit convention types", "files": [ "index.js" @@ -29,7 +29,7 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/utils": "^9.0.0" + "@commitlint/utils": "^9.0.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/config-angular/CHANGELOG.md b/@commitlint/config-angular/CHANGELOG.md index 0edfb47617..f7299c07fc 100644 --- a/@commitlint/config-angular/CHANGELOG.md +++ b/@commitlint/config-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/config-angular + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package @commitlint/config-angular diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index 757acd4df2..94f36d516d 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular", - "version": "9.0.0", + "version": "9.0.1", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/utils": "^9.0.0" + "@commitlint/utils": "^9.0.1" }, "dependencies": { - "@commitlint/config-angular-type-enum": "^9.0.0" + "@commitlint/config-angular-type-enum": "^9.0.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/config-conventional/CHANGELOG.md b/@commitlint/config-conventional/CHANGELOG.md index 8cbfece705..18b98e2430 100644 --- a/@commitlint/config-conventional/CHANGELOG.md +++ b/@commitlint/config-conventional/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/config-conventional + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index ce2865e0c8..e2f6d86660 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-conventional", - "version": "9.0.0", + "version": "9.0.1", "description": "Shareable commitlint config enforcing conventional commits", "files": [ "index.js" @@ -32,8 +32,8 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/lint": "^9.0.0", - "@commitlint/utils": "^9.0.0" + "@commitlint/lint": "^9.0.1", + "@commitlint/utils": "^9.0.1" }, "dependencies": { "conventional-changelog-conventionalcommits": "4.2.3" diff --git a/@commitlint/config-lerna-scopes/CHANGELOG.md b/@commitlint/config-lerna-scopes/CHANGELOG.md index b86aa7003c..e027b5dad9 100644 --- a/@commitlint/config-lerna-scopes/CHANGELOG.md +++ b/@commitlint/config-lerna-scopes/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/config-lerna-scopes + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index 648b1de1c7..c0b2108cdc 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-lerna-scopes", - "version": "9.0.0", + "version": "9.0.1", "description": "Shareable commitlint config enforcing lerna package names as scopes", "files": [ "index.js" @@ -37,8 +37,8 @@ "semver": "7.1.3" }, "devDependencies": { - "@commitlint/test": "^9.0.0", - "@commitlint/utils": "^9.0.0" + "@commitlint/test": "^9.0.1", + "@commitlint/utils": "^9.0.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/config-patternplate/CHANGELOG.md b/@commitlint/config-patternplate/CHANGELOG.md index dbe89861db..3a7766a52d 100644 --- a/@commitlint/config-patternplate/CHANGELOG.md +++ b/@commitlint/config-patternplate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/config-patternplate + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 9b26d078b6..893f60bc67 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-patternplate", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -29,12 +29,12 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-angular": "^9.0.0", + "@commitlint/config-angular": "^9.0.1", "globby": "^11.0.0", "lodash": "^4.17.15" }, "devDependencies": { - "@commitlint/utils": "^9.0.0" + "@commitlint/utils": "^9.0.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/core/CHANGELOG.md b/@commitlint/core/CHANGELOG.md index 59ae660d32..03e7f10009 100644 --- a/@commitlint/core/CHANGELOG.md +++ b/@commitlint/core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/core + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package @commitlint/core diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index d8f7fa3d23..49353de132 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/core", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint your commit messages", "main": "lib/core.js", "types": "lib/core.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "dependencies": { - "@commitlint/format": "^9.0.0", - "@commitlint/lint": "^9.0.0", - "@commitlint/load": "^9.0.0", - "@commitlint/read": "^9.0.0" + "@commitlint/format": "^9.0.1", + "@commitlint/lint": "^9.0.1", + "@commitlint/load": "^9.0.1", + "@commitlint/read": "^9.0.1" }, "devDependencies": { - "@commitlint/utils": "^9.0.0" + "@commitlint/utils": "^9.0.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/ensure/CHANGELOG.md b/@commitlint/ensure/CHANGELOG.md index 700ac883b0..1c91bf9ddb 100644 --- a/@commitlint/ensure/CHANGELOG.md +++ b/@commitlint/ensure/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/ensure + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 6fb11935e9..8289cc1673 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/ensure", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,12 +34,12 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.0.0", + "@commitlint/utils": "^9.0.1", "@types/lodash": "4.14.149", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/types": "^9.0.0", + "@commitlint/types": "^9.0.1", "lodash": "^4.17.15" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" diff --git a/@commitlint/execute-rule/CHANGELOG.md b/@commitlint/execute-rule/CHANGELOG.md index 2ea68131b6..5d07407d78 100644 --- a/@commitlint/execute-rule/CHANGELOG.md +++ b/@commitlint/execute-rule/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/execute-rule + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package @commitlint/execute-rule diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index 9cebc700da..594cc7ed9f 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/execute-rule", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.0.0" + "@commitlint/utils": "^9.0.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/format/CHANGELOG.md b/@commitlint/format/CHANGELOG.md index d29169e50b..8790a5137a 100644 --- a/@commitlint/format/CHANGELOG.md +++ b/@commitlint/format/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/format + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package @commitlint/format diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index 71035b6c9c..7b39404944 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/format", - "version": "9.0.0", + "version": "9.0.1", "description": "Format commitlint reports", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.0.0" + "@commitlint/utils": "^9.0.1" }, "dependencies": { "chalk": "^3.0.0" diff --git a/@commitlint/is-ignored/CHANGELOG.md b/@commitlint/is-ignored/CHANGELOG.md index 4ed0793bb9..cd53f9c21f 100644 --- a/@commitlint/is-ignored/CHANGELOG.md +++ b/@commitlint/is-ignored/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/is-ignored + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index dbf66d8f01..81307d7c0e 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/is-ignored", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^9.0.0", - "@commitlint/test": "^9.0.0", - "@commitlint/utils": "^9.0.0", + "@commitlint/parse": "^9.0.1", + "@commitlint/test": "^9.0.1", + "@commitlint/utils": "^9.0.1", "@types/semver": "7.1.0" }, "dependencies": { - "@commitlint/types": "^9.0.0", + "@commitlint/types": "^9.0.1", "semver": "7.1.3" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" diff --git a/@commitlint/lint/CHANGELOG.md b/@commitlint/lint/CHANGELOG.md index 7bf8e4cd40..6081703190 100644 --- a/@commitlint/lint/CHANGELOG.md +++ b/@commitlint/lint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/lint + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 4fb0bf64be..cad3ce6bf2 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/lint", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint a string against commitlint rules", "main": "lib/lint.js", "types": "lib/lint.d.ts", @@ -34,14 +34,14 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.0.0", - "@commitlint/utils": "^9.0.0" + "@commitlint/test": "^9.0.1", + "@commitlint/utils": "^9.0.1" }, "dependencies": { - "@commitlint/is-ignored": "^9.0.0", - "@commitlint/parse": "^9.0.0", - "@commitlint/rules": "^9.0.0", - "@commitlint/types": "^9.0.0" + "@commitlint/is-ignored": "^9.0.1", + "@commitlint/parse": "^9.0.1", + "@commitlint/rules": "^9.0.1", + "@commitlint/types": "^9.0.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/load/CHANGELOG.md b/@commitlint/load/CHANGELOG.md index f3c76290e5..83de7a7c9c 100644 --- a/@commitlint/load/CHANGELOG.md +++ b/@commitlint/load/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/load + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 4aec124a17..aadc1d509f 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/load", - "version": "9.0.0", + "version": "9.0.1", "description": "Load shared commitlint configuration", "main": "lib/load.js", "types": "lib/load.d.ts", @@ -34,15 +34,15 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.0.0", - "@commitlint/utils": "^9.0.0", + "@commitlint/test": "^9.0.1", + "@commitlint/utils": "^9.0.1", "@types/lodash": "4.14.149", "execa": "^3.4.0" }, "dependencies": { - "@commitlint/execute-rule": "^9.0.0", - "@commitlint/resolve-extends": "^9.0.0", - "@commitlint/types": "^9.0.0", + "@commitlint/execute-rule": "^9.0.1", + "@commitlint/resolve-extends": "^9.0.1", + "@commitlint/types": "^9.0.1", "chalk": "3.0.0", "cosmiconfig": "^6.0.0", "lodash": "^4.17.15", diff --git a/@commitlint/message/CHANGELOG.md b/@commitlint/message/CHANGELOG.md index da13622117..d52fd30dd2 100644 --- a/@commitlint/message/CHANGELOG.md +++ b/@commitlint/message/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/message + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package @commitlint/message diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index dcc3d19d18..91c37f7ea4 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/message", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,8 +34,8 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.0.0", - "@commitlint/utils": "^9.0.0" + "@commitlint/test": "^9.0.1", + "@commitlint/utils": "^9.0.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/parse/CHANGELOG.md b/@commitlint/parse/CHANGELOG.md index acb5e1e35c..97dd5803fe 100644 --- a/@commitlint/parse/CHANGELOG.md +++ b/@commitlint/parse/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/parse + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 9a92272065..4d68cbc807 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/parse", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,8 +34,8 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.0.0", - "@commitlint/utils": "^9.0.0" + "@commitlint/test": "^9.0.1", + "@commitlint/utils": "^9.0.1" }, "dependencies": { "conventional-changelog-angular": "^5.0.0", diff --git a/@commitlint/prompt-cli/CHANGELOG.md b/@commitlint/prompt-cli/CHANGELOG.md index f7f1b764fa..57af84caaa 100644 --- a/@commitlint/prompt-cli/CHANGELOG.md +++ b/@commitlint/prompt-cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/prompt-cli + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package @commitlint/prompt-cli diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 63886db59f..cad264de1d 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt-cli", - "version": "9.0.0", + "version": "9.0.1", "description": "commit prompt using commitlint.config.js", "files": [ "cli.js" @@ -31,11 +31,11 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/test": "^9.0.0", - "@commitlint/utils": "^9.0.0" + "@commitlint/test": "^9.0.1", + "@commitlint/utils": "^9.0.1" }, "dependencies": { - "@commitlint/prompt": "^9.0.0", + "@commitlint/prompt": "^9.0.1", "execa": "^3.4.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" diff --git a/@commitlint/prompt/CHANGELOG.md b/@commitlint/prompt/CHANGELOG.md index 0ae6d0d9d7..ef6bf15700 100644 --- a/@commitlint/prompt/CHANGELOG.md +++ b/@commitlint/prompt/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + + +### Bug Fixes + +* add missing @babel/runtime dep [#1738](https://github.com/conventional-changelog/commitlint/issues/1738) ([#1754](https://github.com/conventional-changelog/commitlint/issues/1754)) ([09afcd6](https://github.com/conventional-changelog/commitlint/commit/09afcd647a2c1d00538cf1c970e3790d936111f8)) + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 87e236b539..1f1f77b3ac 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt", - "version": "9.0.0", + "version": "9.0.1", "description": "commitizen prompt using commitlint.config.js", "main": "./lib/index.js", "files": [ @@ -50,14 +50,14 @@ "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", - "@commitlint/utils": "^9.0.0", - "babel-preset-commitlint": "^9.0.0", + "@commitlint/utils": "^9.0.1", + "babel-preset-commitlint": "^9.0.1", "commitizen": "3.1.2", "cross-env": "7.0.0" }, "dependencies": { "@babel/runtime": "^7.9.6", - "@commitlint/load": "^9.0.0", + "@commitlint/load": "^9.0.1", "chalk": "^3.0.0", "lodash": "^4.17.15", "throat": "^5.0.0", diff --git a/@commitlint/read/CHANGELOG.md b/@commitlint/read/CHANGELOG.md index 54811deecc..8ceff317df 100644 --- a/@commitlint/read/CHANGELOG.md +++ b/@commitlint/read/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/read + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package @commitlint/read diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 7705a48d65..65ab215422 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/read", - "version": "9.0.0", + "version": "9.0.1", "description": "Read commit messages from a specified range or last edit", "main": "lib/read.js", "types": "lib/read.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.0.0", - "@commitlint/utils": "^9.0.0", + "@commitlint/test": "^9.0.1", + "@commitlint/utils": "^9.0.1", "@types/fs-extra": "^8.0.1", "@types/git-raw-commits": "^2.0.0" }, "dependencies": { - "@commitlint/top-level": "^9.0.0", + "@commitlint/top-level": "^9.0.1", "fs-extra": "^8.1.0", "git-raw-commits": "^2.0.0" }, diff --git a/@commitlint/resolve-extends/CHANGELOG.md b/@commitlint/resolve-extends/CHANGELOG.md index 3499d6ac83..9303f06960 100644 --- a/@commitlint/resolve-extends/CHANGELOG.md +++ b/@commitlint/resolve-extends/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/resolve-extends + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index 9f0635e4aa..bc66d97292 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/resolve-extends", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.0.0", + "@commitlint/utils": "^9.0.1", "@types/lodash": "4.14.149" }, "dependencies": { diff --git a/@commitlint/rules/CHANGELOG.md b/@commitlint/rules/CHANGELOG.md index 79a99eb933..18f01fd33f 100644 --- a/@commitlint/rules/CHANGELOG.md +++ b/@commitlint/rules/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/rules + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index 603b3631a4..af5a30e4f8 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/rules", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,17 +34,17 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^9.0.0", - "@commitlint/test": "^9.0.0", - "@commitlint/utils": "^9.0.0", + "@commitlint/parse": "^9.0.1", + "@commitlint/test": "^9.0.1", + "@commitlint/utils": "^9.0.1", "conventional-changelog-angular": "5.0.6", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/ensure": "^9.0.0", - "@commitlint/message": "^9.0.0", - "@commitlint/to-lines": "^9.0.0", - "@commitlint/types": "^9.0.0" + "@commitlint/ensure": "^9.0.1", + "@commitlint/message": "^9.0.1", + "@commitlint/to-lines": "^9.0.1", + "@commitlint/types": "^9.0.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/to-lines/CHANGELOG.md b/@commitlint/to-lines/CHANGELOG.md index 82ea96bba2..04c3102405 100644 --- a/@commitlint/to-lines/CHANGELOG.md +++ b/@commitlint/to-lines/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/to-lines + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package @commitlint/to-lines diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index d479481511..e63bfdbe86 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/to-lines", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.0.0" + "@commitlint/utils": "^9.0.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/top-level/CHANGELOG.md b/@commitlint/top-level/CHANGELOG.md index 29e90d364f..16b06057e1 100644 --- a/@commitlint/top-level/CHANGELOG.md +++ b/@commitlint/top-level/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/top-level + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package @commitlint/top-level diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index 91daed9f12..0967044d85 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/top-level", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.0.0" + "@commitlint/utils": "^9.0.1" }, "dependencies": { "find-up": "^4.0.0" diff --git a/@commitlint/travis-cli/CHANGELOG.md b/@commitlint/travis-cli/CHANGELOG.md index d009a45af2..31a4a0d2b5 100644 --- a/@commitlint/travis-cli/CHANGELOG.md +++ b/@commitlint/travis-cli/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + + +### Bug Fixes + +* add missing @babel/runtime dep [#1738](https://github.com/conventional-changelog/commitlint/issues/1738) ([#1754](https://github.com/conventional-changelog/commitlint/issues/1754)) ([09afcd6](https://github.com/conventional-changelog/commitlint/commit/09afcd647a2c1d00538cf1c970e3790d936111f8)) + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 0db541f416..707de864c1 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/travis-cli", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint all relevant commits for a change or PR on Travis CI", "files": [ "lib/" @@ -47,14 +47,14 @@ "devDependencies": { "@babel/cli": "7.8.4", "@babel/core": "7.8.4", - "@commitlint/test": "^9.0.0", - "@commitlint/utils": "^9.0.0", - "babel-preset-commitlint": "^9.0.0", + "@commitlint/test": "^9.0.1", + "@commitlint/utils": "^9.0.1", + "babel-preset-commitlint": "^9.0.1", "cross-env": "7.0.0" }, "dependencies": { "@babel/runtime": "^7.9.6", - "@commitlint/cli": "^9.0.0", + "@commitlint/cli": "^9.0.1", "execa": "^3.4.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" diff --git a/@commitlint/types/CHANGELOG.md b/@commitlint/types/CHANGELOG.md index 297b801ec2..01aaa21dfc 100644 --- a/@commitlint/types/CHANGELOG.md +++ b/@commitlint/types/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/types + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index 71de44f33e..3de43a6e47 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/types", - "version": "9.0.0", + "version": "9.0.1", "description": "Shared types for commitlint packages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -27,7 +27,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.0.0" + "@commitlint/utils": "^9.0.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@packages/babel-preset-commitlint/CHANGELOG.md b/@packages/babel-preset-commitlint/CHANGELOG.md index 5b34cedf3c..708da27578 100644 --- a/@packages/babel-preset-commitlint/CHANGELOG.md +++ b/@packages/babel-preset-commitlint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package babel-preset-commitlint + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package babel-preset-commitlint diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index 6179e5e9a3..e4ef9a7d4e 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -1,6 +1,6 @@ { "name": "babel-preset-commitlint", - "version": "9.0.0", + "version": "9.0.1", "description": "Lint your commit messages", "main": "index.js", "files": [ diff --git a/@packages/test-environment/CHANGELOG.md b/@packages/test-environment/CHANGELOG.md index ca609fd371..82c19b245f 100644 --- a/@packages/test-environment/CHANGELOG.md +++ b/@packages/test-environment/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/test-environment + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package @commitlint/test-environment diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index 54ed49e0ab..a979394c50 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/test-environment", - "version": "9.0.0", + "version": "9.0.1", "description": "test environment for @commitlint", "main": "lib/test-environment.js", "types": "lib/test-environment.d.ts", diff --git a/@packages/test/CHANGELOG.md b/@packages/test/CHANGELOG.md index e7c9259267..703da2af23 100644 --- a/@packages/test/CHANGELOG.md +++ b/@packages/test/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/test + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) **Note:** Version bump only for package @commitlint/test diff --git a/@packages/test/package.json b/@packages/test/package.json index 2e951c84ab..3ca6ed6506 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/test", - "version": "9.0.0", + "version": "9.0.1", "description": "test utilities for @commitlint", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/@packages/utils/CHANGELOG.md b/@packages/utils/CHANGELOG.md index c31e747c1f..312ddabb18 100644 --- a/@packages/utils/CHANGELOG.md +++ b/@packages/utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + +**Note:** Version bump only for package @commitlint/utils + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 0acfe1f274..a4e031e380 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/utils", - "version": "9.0.0", + "version": "9.0.1", "description": "Development utilities for @commitlint", "files": [ "dep-check.js", @@ -36,7 +36,7 @@ }, "license": "MIT", "dependencies": { - "@commitlint/test": "^9.0.0", + "@commitlint/test": "^9.0.1", "execa": "^3.4.0", "is-builtin-module": "3.0.0", "meow": "4.0.1", diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b5033d71c..e438f10a27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) + + +### Bug Fixes + +* add missing @babel/runtime dep [#1738](https://github.com/conventional-changelog/commitlint/issues/1738) ([#1754](https://github.com/conventional-changelog/commitlint/issues/1754)) ([09afcd6](https://github.com/conventional-changelog/commitlint/commit/09afcd647a2c1d00538cf1c970e3790d936111f8)) + + + + + # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) diff --git a/lerna.json b/lerna.json index b7476c186c..e58d05d412 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "lerna": "2", "npmClient": "yarn", "useWorkspaces": true, - "version": "9.0.0" + "version": "9.0.1" } From 92690d5479de1dd0290b7c4613ac3298b67478ab Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2020 09:55:16 +0800 Subject: [PATCH 0113/2192] chore: update dependency husky to v4.2.5 (#1424) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 28 ++++++++++++++++++---------- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 2aba3a6a6e..fb2e497898 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "eslint-config-prettier": "^6.10.0", "eslint-plugin-import": "^2.20.1", "eslint-plugin-jest": "^23.6.0", - "husky": "4.2.3", + "husky": "4.2.5", "jest": "25.1.0", "lerna": "3.20.2", "lerna-v2": "npm:lerna@2", diff --git a/yarn.lock b/yarn.lock index 91041c2453..93eadca89b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2830,6 +2830,14 @@ chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4 escape-string-regexp "^1.0.5" supports-color "^5.3.0" +chalk@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/chalk/-/chalk-4.0.0.tgz#6e98081ed2d17faab615eb52ac66ec1fe6209e72" + integrity sha512-N9oWFcegS0sFr9oh1oz2d7Npos6vNoWW9HvtCg5N1KRFpUhaAhvTv5Y58g880fZaEYSNm3qDz8SU1UrGvp+n7A== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + chardet@^0.4.0: version "0.4.2" resolved "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" @@ -3101,10 +3109,10 @@ compare-func@^1.3.1: array-ify "^1.0.0" dot-prop "^3.0.0" -compare-versions@^3.5.1: - version "3.5.1" - resolved "https://registry.npmjs.org/compare-versions/-/compare-versions-3.5.1.tgz#26e1f5cf0d48a77eced5046b9f67b6b61075a393" - integrity sha512-9fGPIB7C6AyM18CJJBHt5EnCZDG3oiTJYy0NjfIAGjKpzv0tkxWko7TNQHF5ymqm7IH03tqmeuBxtvD+Izh6mg== +compare-versions@^3.6.0: + version "3.6.0" + resolved "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz#1a5689913685e5a87637b8d3ffca75514ec41d62" + integrity sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA== component-emitter@^1.2.1: version "1.3.0" @@ -5263,14 +5271,14 @@ humanize-ms@^1.2.1: dependencies: ms "^2.0.0" -husky@4.2.3: - version "4.2.3" - resolved "https://registry.npmjs.org/husky/-/husky-4.2.3.tgz#3b18d2ee5febe99e27f2983500202daffbc3151e" - integrity sha512-VxTsSTRwYveKXN4SaH1/FefRJYCtx+wx04sSVcOpD7N2zjoHxa+cEJ07Qg5NmV3HAK+IRKOyNVpi2YBIVccIfQ== +husky@4.2.5: + version "4.2.5" + resolved "https://registry.npmjs.org/husky/-/husky-4.2.5.tgz#2b4f7622673a71579f901d9885ed448394b5fa36" + integrity sha512-SYZ95AjKcX7goYVZtVZF2i6XiZcHknw50iXvY7b0MiGoj5RwdgRQNEHdb+gPDPCXKlzwrybjFjkL6FOj8uRhZQ== dependencies: - chalk "^3.0.0" + chalk "^4.0.0" ci-info "^2.0.0" - compare-versions "^3.5.1" + compare-versions "^3.6.0" cosmiconfig "^6.0.0" find-versions "^3.2.0" opencollective-postinstall "^2.0.2" From 3c09722d2db85a94cd1f4bf25c6b4251b2c41bbb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2020 09:56:37 +0800 Subject: [PATCH 0114/2192] fix: update dependency semver to v7.3.2 (#1369) Co-authored-by: Renovate Bot --- @commitlint/config-lerna-scopes/package.json | 2 +- @commitlint/is-ignored/package.json | 4 ++-- yarn.lock | 16 ++++++++-------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index c0b2108cdc..fad7a64346 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -34,7 +34,7 @@ "dependencies": { "import-from": "3.0.0", "resolve-pkg": "2.0.0", - "semver": "7.1.3" + "semver": "7.3.2" }, "devDependencies": { "@commitlint/test": "^9.0.1", diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index 81307d7c0e..ad470a9464 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -37,11 +37,11 @@ "@commitlint/parse": "^9.0.1", "@commitlint/test": "^9.0.1", "@commitlint/utils": "^9.0.1", - "@types/semver": "7.1.0" + "@types/semver": "7.2.0" }, "dependencies": { "@commitlint/types": "^9.0.1", - "semver": "7.1.3" + "semver": "7.3.2" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/yarn.lock b/yarn.lock index 93eadca89b..bd4ad2d972 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1986,10 +1986,10 @@ resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== -"@types/semver@7.1.0": - version "7.1.0" - resolved "https://registry.npmjs.org/@types/semver/-/semver-7.1.0.tgz#c8c630d4c18cd326beff77404887596f96408408" - integrity sha512-pOKLaubrAEMUItGNpgwl0HMFPrSAFic8oSVIvfu1UwcgGNmNyK9gyhBHKmBnUTwwVvpZfkzUC0GaMgnL6P86uA== +"@types/semver@7.2.0": + version "7.2.0" + resolved "https://registry.npmjs.org/@types/semver/-/semver-7.2.0.tgz#0d72066965e910531e1db4621c15d0ca36b8d83b" + integrity sha512-TbB0A8ACUWZt3Y6bQPstW9QNbhNeebdgLX4T/ZfkrswAfUzRiXrgd9seol+X379Wa589Pu4UEx9Uok0D4RjRCQ== dependencies: "@types/node" "*" @@ -8833,10 +8833,10 @@ semver@7.0.0: resolved "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -semver@7.1.3: - version "7.1.3" - resolved "https://registry.npmjs.org/semver/-/semver-7.1.3.tgz#e4345ce73071c53f336445cfc19efb1c311df2a6" - integrity sha512-ekM0zfiA9SCBlsKa2X1hxyxiI4L3B6EbVJkkdgQXnSEEaHlGdvyodMruTiulSRWMMB4NeIuYNMC9rTKTz97GxA== +semver@7.3.2: + version "7.3.2" + resolved "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" + integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ== semver@^6.0.0, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: version "6.3.0" From 8c2b3527262dc750f3d7b0c2c4cd8a6488ac3a25 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2020 09:57:56 +0800 Subject: [PATCH 0115/2192] chore: update dependency cross-env to v7.0.2 (#1013) Co-authored-by: Renovate Bot --- @commitlint/cli/package.json | 2 +- @commitlint/prompt/package.json | 2 +- @commitlint/travis-cli/package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index eca391e093..252f078be4 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -52,7 +52,7 @@ "@commitlint/test": "^9.0.1", "@commitlint/utils": "^9.0.1", "babel-preset-commitlint": "^9.0.1", - "cross-env": "7.0.0", + "cross-env": "7.0.2", "execa": "^3.4.0", "fs-extra": "^8.1.0" }, diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 1f1f77b3ac..8348ed9711 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -53,7 +53,7 @@ "@commitlint/utils": "^9.0.1", "babel-preset-commitlint": "^9.0.1", "commitizen": "3.1.2", - "cross-env": "7.0.0" + "cross-env": "7.0.2" }, "dependencies": { "@babel/runtime": "^7.9.6", diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 707de864c1..a3ff5afe7f 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -50,7 +50,7 @@ "@commitlint/test": "^9.0.1", "@commitlint/utils": "^9.0.1", "babel-preset-commitlint": "^9.0.1", - "cross-env": "7.0.0" + "cross-env": "7.0.2" }, "dependencies": { "@babel/runtime": "^7.9.6", diff --git a/yarn.lock b/yarn.lock index bd4ad2d972..c6e72492a5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3538,10 +3538,10 @@ create-error-class@^3.0.0: dependencies: capture-stack-trace "^1.0.0" -cross-env@7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/cross-env/-/cross-env-7.0.0.tgz#5a3b2ddce51ec713ea58f2fb79ce22e65b4f5479" - integrity sha512-rV6M9ldNgmwP7bx5u6rZsTbYidzwvrwIYZnT08hSGLcQCcggofgFW+sNe7IhA1SRauPS0QuLbbX+wdNtpqE5CQ== +cross-env@7.0.2: + version "7.0.2" + resolved "https://registry.npmjs.org/cross-env/-/cross-env-7.0.2.tgz#bd5ed31339a93a3418ac4f3ca9ca3403082ae5f9" + integrity sha512-KZP/bMEOJEDCkDQAyRhu3RL2ZO/SUVrxQVI0G3YEQ+OLbRA3c6zgixe8Mq8a/z7+HKlNEjo8oiLUs8iRijY2Rw== dependencies: cross-spawn "^7.0.1" From 3d4cf85c125ee13d5ca2c9fc168fceff9d779e16 Mon Sep 17 00:00:00 2001 From: Andrew <44983823+andrewvasilchuk@users.noreply.github.com> Date: Fri, 5 Jun 2020 04:58:35 +0300 Subject: [PATCH 0116/2192] docs: add note about CircleCI config (#1141) --- docs/guides-ci-setup.md | 55 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/docs/guides-ci-setup.md b/docs/guides-ci-setup.md index 75bda0b07a..cae14b889f 100644 --- a/docs/guides-ci-setup.md +++ b/docs/guides-ci-setup.md @@ -6,6 +6,8 @@ This guide assumes you have a already configured `commitlint` for local usage. Follow the [Getting Started](./?id=getting-started) for basic installation and configuration instructions. +## Travis + ```bash # Install and configure if needed npm install --save-dev @commitlint/travis-cli @@ -20,4 +22,57 @@ script: - commitlint-travis ``` +## CircleCI + +It's just a simple example of how CircleCI configuration file could look like to validate last commit message + +```yml +version: 2 +defaults: + working_directory: ~/project + docker: + - image: circleci/node:latest + +jobs: + setup: + <<: *defaults + steps: + - checkout + - restore_cache: + key: lock-{{ checksum "package-lock.json" }} + - run: + name: Install dependencies + command: npm install + - save_cache: + key: lock-{{ checksum "package-lock.json" }} + paths: + - node_modules + - persist_to_workspace: + root: ~/project + paths: + - node_modules + + lint_commit_message: + <<: *defaults + steps: + - checkout + - attach_workspace: + at: ~/project + - run: + name: Define environment variable with lastest commit's message + command: | + echo 'export COMMIT_MESSAGE=$(git log -1 --pretty=format:"%s")' >> $BASH_ENV + source $BASH_ENV + - run: + name: Lint commit message + command: echo "$COMMIT_MESSAGE" | npx commitlint + +workflows: + version: 2 + commit: + jobs: + - setup + - lint_commit_message: { requires: [setup] } +``` + ?> Help yourself adopting a commit convention by using an interactive commit prompt. Learn how to use `@commitlint/prompt-cli` in the [Use prompt guide](guides-use-prompt.md) From 5d8adfb3cb8ed422e206b5981f1f65d3a5bb2c9c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2020 10:00:56 +0800 Subject: [PATCH 0117/2192] chore: update dependency lint-staged to v10.2.9 (#1007) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 285 ++++++++++++++++++++++++++++----------------------- 2 files changed, 156 insertions(+), 131 deletions(-) diff --git a/package.json b/package.json index fb2e497898..45e5f058fc 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "lerna": "3.20.2", "lerna-v2": "npm:lerna@2", "lerna-v3": "npm:lerna@3", - "lint-staged": "10.0.7", + "lint-staged": "10.2.9", "prettier": "1.17.1", "ts-jest": "25.2.1", "typescript": "3.8.2" diff --git a/yarn.lock b/yarn.lock index c6e72492a5..ae73319797 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1826,13 +1826,6 @@ dependencies: "@types/node" ">= 8" -"@samverschueren/stream-to-observable@^0.3.0": - version "0.3.0" - resolved "https://registry.npmjs.org/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz#ecdf48d532c58ea477acfcab80348424f8d0662f" - integrity sha512-MI4Xx6LHs4Webyvi6EbspgyAb4D2Q2VtnCQ1blOJcoLS6mVa8lNN2rkIy1CVxfTUpoyIbCTkXES1rLXztFD1lg== - dependencies: - any-observable "^0.3.0" - "@sindresorhus/is@^0.14.0": version "0.14.0" resolved "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" @@ -2161,6 +2154,14 @@ agentkeepalive@^3.4.1: dependencies: humanize-ms "^1.2.1" +aggregate-error@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.0.1.tgz#db2fe7246e536f40d9b5442a39e117d7dd6a24e0" + integrity sha512-quoaXsZ9/BLNae5yiNoUz+Nhkwz83GhWwtYFglcjEQB2NDHCIpApbqXxIFnm4Pq/Nvhrsq5sYJFyohrrxnTGAA== + dependencies: + clean-stack "^2.0.0" + indent-string "^4.0.0" + ajv@^6.10.0, ajv@^6.10.2, ajv@^6.5.5: version "6.11.0" resolved "https://registry.npmjs.org/ajv/-/ajv-6.11.0.tgz#c3607cbc8ae392d8a5a536f25b21f8e5f3f87fe9" @@ -2178,6 +2179,11 @@ ansi-align@^3.0.0: dependencies: string-width "^3.0.0" +ansi-colors@^3.2.1: + version "3.2.4" + resolved "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf" + integrity sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA== + ansi-escapes@^1.0.0, ansi-escapes@^1.1.0: version "1.4.0" resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" @@ -2195,6 +2201,13 @@ ansi-escapes@^4.2.1: dependencies: type-fest "^0.8.1" +ansi-escapes@^4.3.0: + version "4.3.1" + resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.1.tgz#a5c47cc43181f1f38ffd7076837700d395522a61" + integrity sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA== + dependencies: + type-fest "^0.11.0" + ansi-regex@^2.0.0: version "2.1.1" resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" @@ -2235,11 +2248,6 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0: "@types/color-name" "^1.1.1" color-convert "^2.0.1" -any-observable@^0.3.0: - version "0.3.0" - resolved "https://registry.npmjs.org/any-observable/-/any-observable-0.3.0.tgz#af933475e5806a67d0d7df090dd5e8bef65d119b" - integrity sha512-/FQM1EDkTsf63Ub2C6O7GuYFDsSXUwsaZDurV0np41ocwq0jthUAYCmhBX9f+KwlaCgIuWyr/4WlUQUBfKfZog== - any-promise@^1.0.0: version "1.3.0" resolved "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" @@ -2392,6 +2400,11 @@ astral-regex@^1.0.0: resolved "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg== +astral-regex@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" + integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== + async-each@^1.0.1: version "1.0.3" resolved "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" @@ -2810,7 +2823,7 @@ chalk@3.0.0, chalk@^3.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: +chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1: version "1.1.3" resolved "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= @@ -2821,7 +2834,7 @@ chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: +chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -2892,6 +2905,11 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" +clean-stack@^2.0.0: + version "2.2.0" + resolved "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" + integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== + cli-boxes@^2.2.0: version "2.2.0" resolved "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.0.tgz#538ecae8f9c6ca508e3c3c95b453fe93cb4c168d" @@ -2904,7 +2922,7 @@ cli-cursor@^1.0.1, cli-cursor@^1.0.2: dependencies: restore-cursor "^1.0.1" -cli-cursor@^2.0.0, cli-cursor@^2.1.0: +cli-cursor@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" integrity sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU= @@ -2918,13 +2936,13 @@ cli-cursor@^3.1.0: dependencies: restore-cursor "^3.1.0" -cli-truncate@^0.2.1: - version "0.2.1" - resolved "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" - integrity sha1-nxXPuwcFAFNpIWxiasfQWrkN1XQ= +cli-truncate@2.1.0, cli-truncate@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz#c39e28bf05edcde5be3b98992a22deed5a2b93c7" + integrity sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg== dependencies: - slice-ansi "0.0.4" - string-width "^1.0.1" + slice-ansi "^3.0.0" + string-width "^4.2.0" cli-width@^1.0.1: version "1.1.1" @@ -3075,6 +3093,11 @@ commander@^4.0.1: resolved "https://registry.npmjs.org/commander/-/commander-4.0.1.tgz#b67622721785993182e807f4883633e6401ba53c" integrity sha512-IPF4ouhCP+qdlcmCedhxX4xiGBPyigb8v5NeUp+0LyhwLgxMqyp3S0vl7TAPfS/hiP7FC3caI/PB9lTmP8r1NA== +commander@^5.1.0: + version "5.1.0" + resolved "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" + integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg== + commander@~2.20.3: version "2.20.3" resolved "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" @@ -3642,11 +3665,6 @@ data-urls@^1.1.0: whatwg-mimetype "^2.2.0" whatwg-url "^7.0.0" -date-fns@^1.27.2: - version "1.30.1" - resolved "https://registry.npmjs.org/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c" - integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw== - dateformat@^3.0.0: version "3.0.3" resolved "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" @@ -3955,11 +3973,6 @@ electron-to-chromium@^1.3.341: resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.345.tgz#2569d0d54a64ef0f32a4b7e8c80afa5fe57c5d98" integrity sha512-f8nx53+Z9Y+SPWGg3YdHrbYYfIJAtbUjpFfW4X1RwTZ94iUG7geg9tV8HqzAXX7XTNgyWgAFvce4yce8ZKxKmg== -elegant-spinner@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" - integrity sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4= - emoji-regex@^7.0.1: version "7.0.3" resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" @@ -3989,6 +4002,13 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0, end-of-stream@^1.4.1: dependencies: once "^1.4.0" +enquirer@^2.3.5: + version "2.3.5" + resolved "https://registry.npmjs.org/enquirer/-/enquirer-2.3.5.tgz#3ab2b838df0a9d8ab9e7dff235b0e8712ef92381" + integrity sha512-BNT1C08P9XD0vNg3J475yIUG+mVdp9T6towYFHUv897X0KoHBjB1shyrNmhmtHWKP17iSWgo7Gqh7BBuzLZMSA== + dependencies: + ansi-colors "^3.2.1" + env-paths@^2.2.0: version "2.2.0" resolved "https://registry.npmjs.org/env-paths/-/env-paths-2.2.0.tgz#cdca557dc009152917d6166e2febe1f039685e43" @@ -4290,6 +4310,21 @@ execa@^3.2.0, execa@^3.4.0: signal-exit "^3.0.2" strip-final-newline "^2.0.0" +execa@^4.0.1: + version "4.0.2" + resolved "https://registry.npmjs.org/execa/-/execa-4.0.2.tgz#ad87fb7b2d9d564f70d2b62d511bee41d5cbb240" + integrity sha512-QI2zLa6CjGWdiQsmSkZoGtDx2N+cQIGb3yNolGTdjSQzydzLgYYf8LRuagp7S7fPimjcrzUDSUFd/MgzELMi4Q== + dependencies: + cross-spawn "^7.0.0" + get-stream "^5.0.0" + human-signals "^1.1.1" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.0" + onetime "^5.1.0" + signal-exit "^3.0.2" + strip-final-newline "^2.0.0" + exit-hook@^1.0.0: version "1.1.1" resolved "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8" @@ -4467,7 +4502,7 @@ figlet@^1.1.1: resolved "https://registry.npmjs.org/figlet/-/figlet-1.2.4.tgz#2d2f48b61a77418ba6cbd9db2e25da27efee16d0" integrity sha512-mv8YA9RruB4C5QawPaD29rEVx3N97ZTyNrE4DAfbhuo6tpcMdKnPVo8MlyT3RP5uPcg5M14bEJBq7kjFf4kAWg== -figures@^1.3.5, figures@^1.7.0: +figures@^1.3.5: version "1.7.0" resolved "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" integrity sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4= @@ -4489,6 +4524,13 @@ figures@^3.0.0: dependencies: escape-string-regexp "^1.0.5" +figures@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" + integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== + dependencies: + escape-string-regexp "^1.0.5" + file-entry-cache@^5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c" @@ -5382,6 +5424,11 @@ indent-string@^3.0.0: resolved "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" integrity sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok= +indent-string@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" + integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== + infer-owner@^1.0.3, infer-owner@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" @@ -5728,13 +5775,6 @@ is-obj@^1.0.0, is-obj@^1.0.1: resolved "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= -is-observable@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/is-observable/-/is-observable-1.1.0.tgz#b3e986c8f44de950867cab5403f5a3465005975e" - integrity sha512-NqCa4Sa2d+u7BWc6CukaObG3Fh+CU9bvixbpcXYhy2VvYS7vVGIdAgnIS5Ks3A/cqk4rebLJ9s8zBstT2aKnIA== - dependencies: - symbol-observable "^1.1.0" - is-path-inside@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" @@ -6546,68 +6586,40 @@ lines-and-columns@^1.1.6: resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= -lint-staged@10.0.7: - version "10.0.7" - resolved "https://registry.npmjs.org/lint-staged/-/lint-staged-10.0.7.tgz#d205f92d9359419a23bc6aa3b6f8546b1998da64" - integrity sha512-Byj0F4l7GYUpYYHEqyFH69NiI6ICTg0CeCKbhRorL+ickbzILKUlZLiyCkljZV02wnoh7yH7PmFyYm9PRNwk9g== +lint-staged@10.2.9: + version "10.2.9" + resolved "https://registry.npmjs.org/lint-staged/-/lint-staged-10.2.9.tgz#6013ecfa80829cd422446b545fd30a96bca3098c" + integrity sha512-ziRAuXEqvJLSXg43ezBpHxRW8FOJCXISaXU//BWrxRrp5cBdRkIx7g5IsB3OI45xYGE0S6cOacfekSjDyDKF2g== dependencies: - chalk "^3.0.0" - commander "^4.0.1" + chalk "^4.0.0" + cli-truncate "2.1.0" + commander "^5.1.0" cosmiconfig "^6.0.0" debug "^4.1.1" dedent "^0.7.0" - execa "^3.4.0" - listr "^0.14.3" - log-symbols "^3.0.0" + enquirer "^2.3.5" + execa "^4.0.1" + listr2 "^2.1.0" + log-symbols "^4.0.0" micromatch "^4.0.2" normalize-path "^3.0.0" please-upgrade-node "^3.2.0" string-argv "0.3.1" stringify-object "^3.3.0" -listr-silent-renderer@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz#924b5a3757153770bf1a8e3fbf74b8bbf3f9242e" - integrity sha1-kktaN1cVN3C/Go4/v3S4u/P5JC4= - -listr-update-renderer@^0.5.0: - version "0.5.0" - resolved "https://registry.npmjs.org/listr-update-renderer/-/listr-update-renderer-0.5.0.tgz#4ea8368548a7b8aecb7e06d8c95cb45ae2ede6a2" - integrity sha512-tKRsZpKz8GSGqoI/+caPmfrypiaq+OQCbd+CovEC24uk1h952lVj5sC7SqyFUm+OaJ5HN/a1YLt5cit2FMNsFA== - dependencies: - chalk "^1.1.3" - cli-truncate "^0.2.1" - elegant-spinner "^1.0.1" - figures "^1.7.0" - indent-string "^3.0.0" - log-symbols "^1.0.2" - log-update "^2.3.0" - strip-ansi "^3.0.1" - -listr-verbose-renderer@^0.5.0: - version "0.5.0" - resolved "https://registry.npmjs.org/listr-verbose-renderer/-/listr-verbose-renderer-0.5.0.tgz#f1132167535ea4c1261102b9f28dac7cba1e03db" - integrity sha512-04PDPqSlsqIOaaaGZ+41vq5FejI9auqTInicFRndCBgE3bXG8D6W1I+mWhk+1nqbHmyhla/6BUrd5OSiHwKRXw== - dependencies: - chalk "^2.4.1" - cli-cursor "^2.1.0" - date-fns "^1.27.2" - figures "^2.0.0" - -listr@^0.14.3: - version "0.14.3" - resolved "https://registry.npmjs.org/listr/-/listr-0.14.3.tgz#2fea909604e434be464c50bddba0d496928fa586" - integrity sha512-RmAl7su35BFd/xoMamRjpIE4j3v+L28o8CT5YhAXQJm1fD+1l9ngXY8JAQRJ+tFK2i5njvi0iRUKV09vPwA0iA== +listr2@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/listr2/-/listr2-2.1.0.tgz#8e91b5ea673feb60068d32647a5f9f62c74d80e4" + integrity sha512-pWrbMLO+6jxGbgAasTLUzfRYdBaQvv6sNTWDfIX8ENBNmTwt/eafZ/LlJ66/dNaDnEhzCpWricLH4U9cjSAHYg== dependencies: - "@samverschueren/stream-to-observable" "^0.3.0" - is-observable "^1.1.0" - is-promise "^2.1.0" - is-stream "^1.1.0" - listr-silent-renderer "^1.1.1" - listr-update-renderer "^0.5.0" - listr-verbose-renderer "^0.5.0" - p-map "^2.0.0" - rxjs "^6.3.3" + chalk "^4.0.0" + cli-truncate "^2.1.0" + figures "^3.2.0" + indent-string "^4.0.0" + log-update "^4.0.0" + p-map "^4.0.0" + rxjs "^6.5.5" + through "^2.3.8" livereload@^0.8.2: version "0.8.2" @@ -6748,19 +6760,12 @@ lodash@4.17.14, lodash@4.17.15, lodash@^3.3.1, lodash@^4.17.10, lodash@^4.17.12, resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== -log-symbols@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" - integrity sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg= - dependencies: - chalk "^1.0.0" - -log-symbols@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/log-symbols/-/log-symbols-3.0.0.tgz#f3a08516a5dea893336a7dee14d18a1cfdab77c4" - integrity sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ== +log-symbols@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz#69b3cc46d20f448eccdb75ea1fa733d9e821c920" + integrity sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA== dependencies: - chalk "^2.4.2" + chalk "^4.0.0" log-update@^1.0.2: version "1.0.2" @@ -6770,14 +6775,15 @@ log-update@^1.0.2: ansi-escapes "^1.0.0" cli-cursor "^1.0.2" -log-update@^2.3.0: - version "2.3.0" - resolved "https://registry.npmjs.org/log-update/-/log-update-2.3.0.tgz#88328fd7d1ce7938b29283746f0b1bc126b24708" - integrity sha1-iDKP19HOeTiykoN0bwsbwSayRwg= +log-update@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/log-update/-/log-update-4.0.0.tgz#589ecd352471f2a1c0c570287543a64dfd20e0a1" + integrity sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg== dependencies: - ansi-escapes "^3.0.0" - cli-cursor "^2.0.0" - wrap-ansi "^3.0.1" + ansi-escapes "^4.3.0" + cli-cursor "^3.1.0" + slice-ansi "^4.0.0" + wrap-ansi "^6.2.0" lolex@^5.0.0: version "5.1.2" @@ -7698,11 +7704,18 @@ p-map-series@^1.0.0: dependencies: p-reduce "^1.0.0" -p-map@^2.0.0, p-map@^2.1.0: +p-map@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== +p-map@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" + integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== + dependencies: + aggregate-error "^3.0.0" + p-pipe@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/p-pipe/-/p-pipe-1.2.0.tgz#4b1a11399a11520a67790ee5a0c1d5881d6befe9" @@ -8750,13 +8763,20 @@ rx-lite@^3.1.2: resolved "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102" integrity sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI= -rxjs@^6.1.0, rxjs@^6.3.3, rxjs@^6.4.0, rxjs@^6.5.3: +rxjs@^6.1.0, rxjs@^6.4.0, rxjs@^6.5.3: version "6.5.4" resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz#e0777fe0d184cec7872df147f303572d414e211c" integrity sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q== dependencies: tslib "^1.9.0" +rxjs@^6.5.5: + version "6.5.5" + resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.5.5.tgz#c5c884e3094c8cfee31bf27eb87e54ccfc87f9ec" + integrity sha512-WfQI+1gohdf0Dai/Bbmk5L5ItH5tYqm3ki2c5GdWhKjalzjg93N3avFjVStyZZz+A2Em+ZxKH5bNghw9UeylGQ== + dependencies: + tslib "^1.9.0" + safe-buffer@^5.0.1, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: version "5.2.0" resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" @@ -8967,11 +8987,6 @@ slash@^3.0.0: resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== -slice-ansi@0.0.4: - version "0.0.4" - resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" - integrity sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU= - slice-ansi@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636" @@ -8981,6 +8996,24 @@ slice-ansi@^2.1.0: astral-regex "^1.0.0" is-fullwidth-code-point "^2.0.0" +slice-ansi@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz#31ddc10930a1b7e0b67b08c96c2f49b77a789787" + integrity sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ== + dependencies: + ansi-styles "^4.0.0" + astral-regex "^2.0.0" + is-fullwidth-code-point "^3.0.0" + +slice-ansi@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz#500e8dd0fd55b05815086255b3195adf2a45fe6b" + integrity sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ== + dependencies: + ansi-styles "^4.0.0" + astral-regex "^2.0.0" + is-fullwidth-code-point "^3.0.0" + slide@^1.1.6: version "1.1.6" resolved "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" @@ -9404,11 +9437,6 @@ supports-hyperlinks@^2.0.0: has-flag "^4.0.0" supports-color "^7.0.0" -symbol-observable@^1.1.0: - version "1.2.0" - resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" - integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ== - symbol-tree@^3.2.2: version "3.2.4" resolved "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" @@ -9551,7 +9579,7 @@ through2@^3.0.0: dependencies: readable-stream "2 || 3" -through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6: +through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6, through@^2.3.8: version "2.3.8" resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= @@ -9741,6 +9769,11 @@ type-detect@4.0.8: resolved "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== +type-fest@^0.11.0: + version "0.11.0" + resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz#97abf0872310fed88a5c466b25681576145e33f1" + integrity sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ== + type-fest@^0.3.0: version "0.3.1" resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz#63d00d204e059474fe5e1b7c011112bbd1dc29e1" @@ -10137,14 +10170,6 @@ wrap-ansi@^2.0.0: string-width "^1.0.1" strip-ansi "^3.0.1" -wrap-ansi@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-3.0.1.tgz#288a04d87eda5c286e060dfe8f135ce8d007f8ba" - integrity sha1-KIoE2H7aXChuBg3+jxNc6NAH+Lo= - dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - wrap-ansi@^5.1.0: version "5.1.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" From 0e0c68dba40c5b36e0d9af8e685b37664dd3e133 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2020 10:01:28 +0800 Subject: [PATCH 0118/2192] chore: update dependency conventional-changelog-angular to v5.0.10 (#1807) Co-authored-by: Renovate Bot --- @commitlint/rules/package.json | 2 +- yarn.lock | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index af5a30e4f8..6150464b05 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -37,7 +37,7 @@ "@commitlint/parse": "^9.0.1", "@commitlint/test": "^9.0.1", "@commitlint/utils": "^9.0.1", - "conventional-changelog-angular": "5.0.6", + "conventional-changelog-angular": "5.0.10", "globby": "^11.0.0" }, "dependencies": { diff --git a/yarn.lock b/yarn.lock index ae73319797..ed2ea9e1e3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3212,10 +3212,10 @@ contains-path@^0.1.0: resolved "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a" integrity sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo= -conventional-changelog-angular@5.0.6, conventional-changelog-angular@^5.0.0, conventional-changelog-angular@^5.0.3: - version "5.0.6" - resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.6.tgz#269540c624553aded809c29a3508fdc2b544c059" - integrity sha512-QDEmLa+7qdhVIv8sFZfVxU1VSyVvnXPsxq8Vam49mKUcO1Z8VTLEJk9uI21uiJUsnmm0I4Hrsdc9TgkOQo9WSA== +conventional-changelog-angular@5.0.10: + version "5.0.10" + resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.10.tgz#5cf7b00dd315b6a6a558223c80d5ef24ddb34205" + integrity sha512-k7RPPRs0vp8+BtPsM9uDxRl6KcgqtCJmzRD1wRtgqmhQ96g8ifBGo9O/TZBG23jqlXS/rg8BKRDELxfnQQGiaA== dependencies: compare-func "^1.3.1" q "^1.5.1" @@ -3228,6 +3228,14 @@ conventional-changelog-angular@^1.6.6: compare-func "^1.3.1" q "^1.5.1" +conventional-changelog-angular@^5.0.0, conventional-changelog-angular@^5.0.3: + version "5.0.6" + resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.6.tgz#269540c624553aded809c29a3508fdc2b544c059" + integrity sha512-QDEmLa+7qdhVIv8sFZfVxU1VSyVvnXPsxq8Vam49mKUcO1Z8VTLEJk9uI21uiJUsnmm0I4Hrsdc9TgkOQo9WSA== + dependencies: + compare-func "^1.3.1" + q "^1.5.1" + conventional-changelog-atom@^0.2.8: version "0.2.8" resolved "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-0.2.8.tgz#8037693455990e3256f297320a45fa47ee553a14" From 86bed76023c27222347278899b766f12ab6a25de Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2020 14:37:21 +0800 Subject: [PATCH 0119/2192] chore: update lerna monorepo (#1814) Co-authored-by: Renovate Bot --- package.json | 4 +- yarn.lock | 347 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 348 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 45e5f058fc..9898d7721a 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "email": "hello@herebecode.com" }, "devDependencies": { - "@lerna/project": "3.18.0", + "@lerna/project": "3.21.0", "@types/jest": "25.1.3", "@types/node": "12.12.28", "@typescript-eslint/eslint-plugin": "^2.19.0", @@ -89,7 +89,7 @@ "eslint-plugin-jest": "^23.6.0", "husky": "4.2.5", "jest": "25.1.0", - "lerna": "3.20.2", + "lerna": "3.22.1", "lerna-v2": "npm:lerna@2", "lerna-v3": "npm:lerna@3", "lint-staged": "10.2.9", diff --git a/yarn.lock b/yarn.lock index ed2ea9e1e3..f4671a8dcf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1061,6 +1061,22 @@ p-map "^2.1.0" semver "^6.2.0" +"@lerna/add@3.21.0": + version "3.21.0" + resolved "https://registry.npmjs.org/@lerna/add/-/add-3.21.0.tgz#27007bde71cc7b0a2969ab3c2f0ae41578b4577b" + integrity sha512-vhUXXF6SpufBE1EkNEXwz1VLW03f177G9uMOFMQkp6OJ30/PWg4Ekifuz9/3YfgB2/GH8Tu4Lk3O51P2Hskg/A== + dependencies: + "@evocateur/pacote" "^9.6.3" + "@lerna/bootstrap" "3.21.0" + "@lerna/command" "3.21.0" + "@lerna/filter-options" "3.20.0" + "@lerna/npm-conf" "3.16.0" + "@lerna/validation-error" "3.13.0" + dedent "^0.7.0" + npm-package-arg "^6.1.0" + p-map "^2.1.0" + semver "^6.2.0" + "@lerna/bootstrap@3.20.0": version "3.20.0" resolved "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-3.20.0.tgz#635d71046830f208e851ab429a63da1747589e37" @@ -1090,6 +1106,35 @@ read-package-tree "^5.1.6" semver "^6.2.0" +"@lerna/bootstrap@3.21.0": + version "3.21.0" + resolved "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-3.21.0.tgz#bcd1b651be5b0970b20d8fae04c864548123aed6" + integrity sha512-mtNHlXpmvJn6JTu0KcuTTPl2jLsDNud0QacV/h++qsaKbhAaJr/FElNZ5s7MwZFUM3XaDmvWzHKaszeBMHIbBw== + dependencies: + "@lerna/command" "3.21.0" + "@lerna/filter-options" "3.20.0" + "@lerna/has-npm-version" "3.16.5" + "@lerna/npm-install" "3.16.5" + "@lerna/package-graph" "3.18.5" + "@lerna/pulse-till-done" "3.13.0" + "@lerna/rimraf-dir" "3.16.5" + "@lerna/run-lifecycle" "3.16.2" + "@lerna/run-topologically" "3.18.5" + "@lerna/symlink-binary" "3.17.0" + "@lerna/symlink-dependencies" "3.17.0" + "@lerna/validation-error" "3.13.0" + dedent "^0.7.0" + get-port "^4.2.0" + multimatch "^3.0.0" + npm-package-arg "^6.1.0" + npmlog "^4.1.2" + p-finally "^1.0.0" + p-map "^2.1.0" + p-map-series "^1.0.0" + p-waterfall "^1.0.0" + read-package-tree "^5.1.6" + semver "^6.2.0" + "@lerna/changed@3.20.0": version "3.20.0" resolved "https://registry.npmjs.org/@lerna/changed/-/changed-3.20.0.tgz#66b97ebd6c8f8d207152ee524a0791846a9097ae" @@ -1100,6 +1145,16 @@ "@lerna/listable" "3.18.5" "@lerna/output" "3.13.0" +"@lerna/changed@3.21.0": + version "3.21.0" + resolved "https://registry.npmjs.org/@lerna/changed/-/changed-3.21.0.tgz#108e15f679bfe077af500f58248c634f1044ea0b" + integrity sha512-hzqoyf8MSHVjZp0gfJ7G8jaz+++mgXYiNs9iViQGA8JlN/dnWLI5sWDptEH3/B30Izo+fdVz0S0s7ydVE3pWIw== + dependencies: + "@lerna/collect-updates" "3.20.0" + "@lerna/command" "3.21.0" + "@lerna/listable" "3.18.5" + "@lerna/output" "3.13.0" + "@lerna/check-working-tree@3.16.5": version "3.16.5" resolved "https://registry.npmjs.org/@lerna/check-working-tree/-/check-working-tree-3.16.5.tgz#b4f8ae61bb4523561dfb9f8f8d874dd46bb44baa" @@ -1132,6 +1187,20 @@ p-map-series "^1.0.0" p-waterfall "^1.0.0" +"@lerna/clean@3.21.0": + version "3.21.0" + resolved "https://registry.npmjs.org/@lerna/clean/-/clean-3.21.0.tgz#c0b46b5300cc3dae2cda3bec14b803082da3856d" + integrity sha512-b/L9l+MDgE/7oGbrav6rG8RTQvRiZLO1zTcG17zgJAAuhlsPxJExMlh2DFwJEVi2les70vMhHfST3Ue1IMMjpg== + dependencies: + "@lerna/command" "3.21.0" + "@lerna/filter-options" "3.20.0" + "@lerna/prompt" "3.18.5" + "@lerna/pulse-till-done" "3.13.0" + "@lerna/rimraf-dir" "3.16.5" + p-map "^2.1.0" + p-map-series "^1.0.0" + p-waterfall "^1.0.0" + "@lerna/cli@3.18.5": version "3.18.5" resolved "https://registry.npmjs.org/@lerna/cli/-/cli-3.18.5.tgz#c90c461542fcd35b6d5b015a290fb0dbfb41d242" @@ -1179,6 +1248,22 @@ is-ci "^2.0.0" npmlog "^4.1.2" +"@lerna/command@3.21.0": + version "3.21.0" + resolved "https://registry.npmjs.org/@lerna/command/-/command-3.21.0.tgz#9a2383759dc7b700dacfa8a22b2f3a6e190121f7" + integrity sha512-T2bu6R8R3KkH5YoCKdutKv123iUgUbW8efVjdGCDnCMthAQzoentOJfDeodBwn0P2OqCl3ohsiNVtSn9h78fyQ== + dependencies: + "@lerna/child-process" "3.16.5" + "@lerna/package-graph" "3.18.5" + "@lerna/project" "3.21.0" + "@lerna/validation-error" "3.13.0" + "@lerna/write-log-file" "3.13.0" + clone-deep "^4.0.1" + dedent "^0.7.0" + execa "^1.0.0" + is-ci "^2.0.0" + npmlog "^4.1.2" + "@lerna/conventional-commits@3.18.5": version "3.18.5" resolved "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-3.18.5.tgz#08efd2e5b45acfaf3f151a53a3ec7ecade58a7bc" @@ -1196,6 +1281,23 @@ pify "^4.0.1" semver "^6.2.0" +"@lerna/conventional-commits@3.22.0": + version "3.22.0" + resolved "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-3.22.0.tgz#2798f4881ee2ef457bdae027ab7d0bf0af6f1e09" + integrity sha512-z4ZZk1e8Mhz7+IS8NxHr64wyklHctCJyWpJKEZZPJiLFJ8yKto/x38O80R10pIzC0rr8Sy/OsjSH4bl0TbbgqA== + dependencies: + "@lerna/validation-error" "3.13.0" + conventional-changelog-angular "^5.0.3" + conventional-changelog-core "^3.1.6" + conventional-recommended-bump "^5.0.0" + fs-extra "^8.1.0" + get-stream "^4.0.0" + lodash.template "^4.5.0" + npm-package-arg "^6.1.0" + npmlog "^4.1.2" + pify "^4.0.1" + semver "^6.2.0" + "@lerna/create-symlink@3.16.2": version "3.16.2" resolved "https://registry.npmjs.org/@lerna/create-symlink/-/create-symlink-3.16.2.tgz#412cb8e59a72f5a7d9463e4e4721ad2070149967" @@ -1229,6 +1331,30 @@ validate-npm-package-name "^3.0.0" whatwg-url "^7.0.0" +"@lerna/create@3.22.0": + version "3.22.0" + resolved "https://registry.npmjs.org/@lerna/create/-/create-3.22.0.tgz#d6bbd037c3dc5b425fe5f6d1b817057c278f7619" + integrity sha512-MdiQQzCcB4E9fBF1TyMOaAEz9lUjIHp1Ju9H7f3lXze5JK6Fl5NYkouAvsLgY6YSIhXMY8AHW2zzXeBDY4yWkw== + dependencies: + "@evocateur/pacote" "^9.6.3" + "@lerna/child-process" "3.16.5" + "@lerna/command" "3.21.0" + "@lerna/npm-conf" "3.16.0" + "@lerna/validation-error" "3.13.0" + camelcase "^5.0.0" + dedent "^0.7.0" + fs-extra "^8.1.0" + globby "^9.2.0" + init-package-json "^1.10.3" + npm-package-arg "^6.1.0" + p-reduce "^1.0.0" + pify "^4.0.1" + semver "^6.2.0" + slash "^2.0.0" + validate-npm-package-license "^3.0.3" + validate-npm-package-name "^3.0.0" + whatwg-url "^7.0.0" + "@lerna/describe-ref@3.16.5": version "3.16.5" resolved "https://registry.npmjs.org/@lerna/describe-ref/-/describe-ref-3.16.5.tgz#a338c25aaed837d3dc70b8a72c447c5c66346ac0" @@ -1247,6 +1373,16 @@ "@lerna/validation-error" "3.13.0" npmlog "^4.1.2" +"@lerna/diff@3.21.0": + version "3.21.0" + resolved "https://registry.npmjs.org/@lerna/diff/-/diff-3.21.0.tgz#e6df0d8b9916167ff5a49fcb02ac06424280a68d" + integrity sha512-5viTR33QV3S7O+bjruo1SaR40m7F2aUHJaDAC7fL9Ca6xji+aw1KFkpCtVlISS0G8vikUREGMJh+c/VMSc8Usw== + dependencies: + "@lerna/child-process" "3.16.5" + "@lerna/command" "3.21.0" + "@lerna/validation-error" "3.13.0" + npmlog "^4.1.2" + "@lerna/exec@3.20.0": version "3.20.0" resolved "https://registry.npmjs.org/@lerna/exec/-/exec-3.20.0.tgz#29f0c01aee2340eb46f90706731fef2062a49639" @@ -1260,6 +1396,19 @@ "@lerna/validation-error" "3.13.0" p-map "^2.1.0" +"@lerna/exec@3.21.0": + version "3.21.0" + resolved "https://registry.npmjs.org/@lerna/exec/-/exec-3.21.0.tgz#17f07533893cb918a17b41bcc566dc437016db26" + integrity sha512-iLvDBrIE6rpdd4GIKTY9mkXyhwsJ2RvQdB9ZU+/NhR3okXfqKc6py/24tV111jqpXTtZUW6HNydT4dMao2hi1Q== + dependencies: + "@lerna/child-process" "3.16.5" + "@lerna/command" "3.21.0" + "@lerna/filter-options" "3.20.0" + "@lerna/profiler" "3.20.0" + "@lerna/run-topologically" "3.18.5" + "@lerna/validation-error" "3.13.0" + p-map "^2.1.0" + "@lerna/filter-options@3.20.0": version "3.20.0" resolved "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-3.20.0.tgz#0f0f5d5a4783856eece4204708cc902cbc8af59b" @@ -1307,6 +1456,17 @@ git-url-parse "^11.1.2" npmlog "^4.1.2" +"@lerna/github-client@3.22.0": + version "3.22.0" + resolved "https://registry.npmjs.org/@lerna/github-client/-/github-client-3.22.0.tgz#5d816aa4f76747ed736ae64ff962b8f15c354d95" + integrity sha512-O/GwPW+Gzr3Eb5bk+nTzTJ3uv+jh5jGho9BOqKlajXaOkMYGBELEAqV5+uARNGWZFvYAiF4PgqHb6aCUu7XdXg== + dependencies: + "@lerna/child-process" "3.16.5" + "@octokit/plugin-enterprise-rest" "^6.0.1" + "@octokit/rest" "^16.28.4" + git-url-parse "^11.1.2" + npmlog "^4.1.2" + "@lerna/gitlab-client@3.15.0": version "3.15.0" resolved "https://registry.npmjs.org/@lerna/gitlab-client/-/gitlab-client-3.15.0.tgz#91f4ec8c697b5ac57f7f25bd50fe659d24aa96a6" @@ -1343,6 +1503,20 @@ fs-extra "^8.1.0" p-map-series "^1.0.0" +"@lerna/import@3.22.0": + version "3.22.0" + resolved "https://registry.npmjs.org/@lerna/import/-/import-3.22.0.tgz#1a5f0394f38e23c4f642a123e5e1517e70d068d2" + integrity sha512-uWOlexasM5XR6tXi4YehODtH9Y3OZrFht3mGUFFT3OIl2s+V85xIGFfqFGMTipMPAGb2oF1UBLL48kR43hRsOg== + dependencies: + "@lerna/child-process" "3.16.5" + "@lerna/command" "3.21.0" + "@lerna/prompt" "3.18.5" + "@lerna/pulse-till-done" "3.13.0" + "@lerna/validation-error" "3.13.0" + dedent "^0.7.0" + fs-extra "^8.1.0" + p-map-series "^1.0.0" + "@lerna/info@3.20.0": version "3.20.0" resolved "https://registry.npmjs.org/@lerna/info/-/info-3.20.0.tgz#3a5212f3029f2bc6255f9533bdf4bcb120ef329a" @@ -1352,6 +1526,15 @@ "@lerna/output" "3.13.0" envinfo "^7.3.1" +"@lerna/info@3.21.0": + version "3.21.0" + resolved "https://registry.npmjs.org/@lerna/info/-/info-3.21.0.tgz#76696b676fdb0f35d48c83c63c1e32bb5e37814f" + integrity sha512-0XDqGYVBgWxUquFaIptW2bYSIu6jOs1BtkvRTWDDhw4zyEdp6q4eaMvqdSap1CG+7wM5jeLCi6z94wS0AuiuwA== + dependencies: + "@lerna/command" "3.21.0" + "@lerna/output" "3.13.0" + envinfo "^7.3.1" + "@lerna/init@3.18.5": version "3.18.5" resolved "https://registry.npmjs.org/@lerna/init/-/init-3.18.5.tgz#86dd0b2b3290755a96975069b5cb007f775df9f5" @@ -1363,6 +1546,17 @@ p-map "^2.1.0" write-json-file "^3.2.0" +"@lerna/init@3.21.0": + version "3.21.0" + resolved "https://registry.npmjs.org/@lerna/init/-/init-3.21.0.tgz#1e810934dc8bf4e5386c031041881d3b4096aa5c" + integrity sha512-6CM0z+EFUkFfurwdJCR+LQQF6MqHbYDCBPyhu/d086LRf58GtYZYj49J8mKG9ktayp/TOIxL/pKKjgLD8QBPOg== + dependencies: + "@lerna/child-process" "3.16.5" + "@lerna/command" "3.21.0" + fs-extra "^8.1.0" + p-map "^2.1.0" + write-json-file "^3.2.0" + "@lerna/link@3.18.5": version "3.18.5" resolved "https://registry.npmjs.org/@lerna/link/-/link-3.18.5.tgz#f24347e4f0b71d54575bd37cfa1794bc8ee91b18" @@ -1374,6 +1568,17 @@ p-map "^2.1.0" slash "^2.0.0" +"@lerna/link@3.21.0": + version "3.21.0" + resolved "https://registry.npmjs.org/@lerna/link/-/link-3.21.0.tgz#8be68ff0ccee104b174b5bbd606302c2f06e9d9b" + integrity sha512-tGu9GxrX7Ivs+Wl3w1+jrLi1nQ36kNI32dcOssij6bg0oZ2M2MDEFI9UF2gmoypTaN9uO5TSsjCFS7aR79HbdQ== + dependencies: + "@lerna/command" "3.21.0" + "@lerna/package-graph" "3.18.5" + "@lerna/symlink-dependencies" "3.17.0" + p-map "^2.1.0" + slash "^2.0.0" + "@lerna/list@3.20.0": version "3.20.0" resolved "https://registry.npmjs.org/@lerna/list/-/list-3.20.0.tgz#7e67cc29c5cf661cfd097e8a7c2d3dcce7a81029" @@ -1384,6 +1589,16 @@ "@lerna/listable" "3.18.5" "@lerna/output" "3.13.0" +"@lerna/list@3.21.0": + version "3.21.0" + resolved "https://registry.npmjs.org/@lerna/list/-/list-3.21.0.tgz#42f76fafa56dea13b691ec8cab13832691d61da2" + integrity sha512-KehRjE83B1VaAbRRkRy6jLX1Cin8ltsrQ7FHf2bhwhRHK0S54YuA6LOoBnY/NtA8bHDX/Z+G5sMY78X30NS9tg== + dependencies: + "@lerna/command" "3.21.0" + "@lerna/filter-options" "3.20.0" + "@lerna/listable" "3.18.5" + "@lerna/output" "3.13.0" + "@lerna/listable@3.18.5": version "3.18.5" resolved "https://registry.npmjs.org/@lerna/listable/-/listable-3.18.5.tgz#e82798405b5ed8fc51843c8ef1e7a0e497388a1a" @@ -1543,6 +1758,24 @@ resolve-from "^4.0.0" write-json-file "^3.2.0" +"@lerna/project@3.21.0": + version "3.21.0" + resolved "https://registry.npmjs.org/@lerna/project/-/project-3.21.0.tgz#5d784d2d10c561a00f20320bcdb040997c10502d" + integrity sha512-xT1mrpET2BF11CY32uypV2GPtPVm6Hgtha7D81GQP9iAitk9EccrdNjYGt5UBYASl4CIDXBRxwmTTVGfrCx82A== + dependencies: + "@lerna/package" "3.16.0" + "@lerna/validation-error" "3.13.0" + cosmiconfig "^5.1.0" + dedent "^0.7.0" + dot-prop "^4.2.0" + glob-parent "^5.0.0" + globby "^9.2.0" + load-json-file "^5.3.0" + npmlog "^4.1.2" + p-map "^2.1.0" + resolve-from "^4.0.0" + write-json-file "^3.2.0" + "@lerna/prompt@3.18.5": version "3.18.5" resolved "https://registry.npmjs.org/@lerna/prompt/-/prompt-3.18.5.tgz#628cd545f225887d060491ab95df899cfc5218a1" @@ -1587,6 +1820,42 @@ p-pipe "^1.2.0" semver "^6.2.0" +"@lerna/publish@3.22.1": + version "3.22.1" + resolved "https://registry.npmjs.org/@lerna/publish/-/publish-3.22.1.tgz#b4f7ce3fba1e9afb28be4a1f3d88222269ba9519" + integrity sha512-PG9CM9HUYDreb1FbJwFg90TCBQooGjj+n/pb3gw/eH5mEDq0p8wKdLFe0qkiqUkm/Ub5C8DbVFertIo0Vd0zcw== + dependencies: + "@evocateur/libnpmaccess" "^3.1.2" + "@evocateur/npm-registry-fetch" "^4.0.0" + "@evocateur/pacote" "^9.6.3" + "@lerna/check-working-tree" "3.16.5" + "@lerna/child-process" "3.16.5" + "@lerna/collect-updates" "3.20.0" + "@lerna/command" "3.21.0" + "@lerna/describe-ref" "3.16.5" + "@lerna/log-packed" "3.16.0" + "@lerna/npm-conf" "3.16.0" + "@lerna/npm-dist-tag" "3.18.5" + "@lerna/npm-publish" "3.18.5" + "@lerna/otplease" "3.18.5" + "@lerna/output" "3.13.0" + "@lerna/pack-directory" "3.16.4" + "@lerna/prerelease-id-from-version" "3.16.0" + "@lerna/prompt" "3.18.5" + "@lerna/pulse-till-done" "3.13.0" + "@lerna/run-lifecycle" "3.16.2" + "@lerna/run-topologically" "3.18.5" + "@lerna/validation-error" "3.13.0" + "@lerna/version" "3.22.1" + figgy-pudding "^3.5.1" + fs-extra "^8.1.0" + npm-package-arg "^6.1.0" + npmlog "^4.1.2" + p-finally "^1.0.0" + p-map "^2.1.0" + p-pipe "^1.2.0" + semver "^6.2.0" + "@lerna/pulse-till-done@3.13.0": version "3.13.0" resolved "https://registry.npmjs.org/@lerna/pulse-till-done/-/pulse-till-done-3.13.0.tgz#c8e9ce5bafaf10d930a67d7ed0ccb5d958fe0110" @@ -1655,6 +1924,21 @@ "@lerna/validation-error" "3.13.0" p-map "^2.1.0" +"@lerna/run@3.21.0": + version "3.21.0" + resolved "https://registry.npmjs.org/@lerna/run/-/run-3.21.0.tgz#2a35ec84979e4d6e42474fe148d32e5de1cac891" + integrity sha512-fJF68rT3veh+hkToFsBmUJ9MHc9yGXA7LSDvhziAojzOb0AI/jBDp6cEcDQyJ7dbnplba2Lj02IH61QUf9oW0Q== + dependencies: + "@lerna/command" "3.21.0" + "@lerna/filter-options" "3.20.0" + "@lerna/npm-run-script" "3.16.5" + "@lerna/output" "3.13.0" + "@lerna/profiler" "3.20.0" + "@lerna/run-topologically" "3.18.5" + "@lerna/timer" "3.13.0" + "@lerna/validation-error" "3.13.0" + p-map "^2.1.0" + "@lerna/symlink-binary@3.17.0": version "3.17.0" resolved "https://registry.npmjs.org/@lerna/symlink-binary/-/symlink-binary-3.17.0.tgz#8f8031b309863814883d3f009877f82e38aef45a" @@ -1722,6 +2006,38 @@ temp-write "^3.4.0" write-json-file "^3.2.0" +"@lerna/version@3.22.1": + version "3.22.1" + resolved "https://registry.npmjs.org/@lerna/version/-/version-3.22.1.tgz#9805a9247a47ee62d6b81bd9fa5fb728b24b59e2" + integrity sha512-PSGt/K1hVqreAFoi3zjD0VEDupQ2WZVlVIwesrE5GbrL2BjXowjCsTDPqblahDUPy0hp6h7E2kG855yLTp62+g== + dependencies: + "@lerna/check-working-tree" "3.16.5" + "@lerna/child-process" "3.16.5" + "@lerna/collect-updates" "3.20.0" + "@lerna/command" "3.21.0" + "@lerna/conventional-commits" "3.22.0" + "@lerna/github-client" "3.22.0" + "@lerna/gitlab-client" "3.15.0" + "@lerna/output" "3.13.0" + "@lerna/prerelease-id-from-version" "3.16.0" + "@lerna/prompt" "3.18.5" + "@lerna/run-lifecycle" "3.16.2" + "@lerna/run-topologically" "3.18.5" + "@lerna/validation-error" "3.13.0" + chalk "^2.3.1" + dedent "^0.7.0" + load-json-file "^5.3.0" + minimatch "^3.0.4" + npmlog "^4.1.2" + p-map "^2.1.0" + p-pipe "^1.2.0" + p-reduce "^1.0.0" + p-waterfall "^1.0.0" + semver "^6.2.0" + slash "^2.0.0" + temp-write "^3.4.0" + write-json-file "^3.2.0" + "@lerna/write-log-file@3.13.0": version "3.13.0" resolved "https://registry.npmjs.org/@lerna/write-log-file/-/write-log-file-3.13.0.tgz#b78d9e4cfc1349a8be64d91324c4c8199e822a26" @@ -1778,6 +2094,11 @@ resolved "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-3.6.2.tgz#74de25bef21e0182b4fa03a8678cd00a4e67e561" integrity sha512-3wF5eueS5OHQYuAEudkpN+xVeUsg8vYEMMenEzLphUZ7PRZ8OJtDcsreL3ad9zxXmBbaFWzLmFcdob5CLyZftA== +"@octokit/plugin-enterprise-rest@^6.0.1": + version "6.0.1" + resolved "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz#e07896739618dab8da7d4077c658003775f95437" + integrity sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw== + "@octokit/request-error@^1.0.1", "@octokit/request-error@^1.0.2": version "1.2.0" resolved "https://registry.npmjs.org/@octokit/request-error/-/request-error-1.2.0.tgz#a64d2a9d7a13555570cd79722de4a4d76371baaa" @@ -6545,7 +6866,7 @@ lcid@^1.0.0: write-pkg "^3.1.0" yargs "^8.0.2" -"lerna-v3@npm:lerna@3", lerna@3.20.2: +"lerna-v3@npm:lerna@3": version "3.20.2" resolved "https://registry.npmjs.org/lerna/-/lerna-3.20.2.tgz#abf84e73055fe84ee21b46e64baf37b496c24864" integrity sha512-bjdL7hPLpU3Y8CBnw/1ys3ynQMUjiK6l9iDWnEGwFtDy48Xh5JboR9ZJwmKGCz9A/sarVVIGwf1tlRNKUG9etA== @@ -6569,6 +6890,30 @@ lcid@^1.0.0: import-local "^2.0.0" npmlog "^4.1.2" +lerna@3.22.1: + version "3.22.1" + resolved "https://registry.npmjs.org/lerna/-/lerna-3.22.1.tgz#82027ac3da9c627fd8bf02ccfeff806a98e65b62" + integrity sha512-vk1lfVRFm+UuEFA7wkLKeSF7Iz13W+N/vFd48aW2yuS7Kv0RbNm2/qcDPV863056LMfkRlsEe+QYOw3palj5Lg== + dependencies: + "@lerna/add" "3.21.0" + "@lerna/bootstrap" "3.21.0" + "@lerna/changed" "3.21.0" + "@lerna/clean" "3.21.0" + "@lerna/cli" "3.18.5" + "@lerna/create" "3.22.0" + "@lerna/diff" "3.21.0" + "@lerna/exec" "3.21.0" + "@lerna/import" "3.22.0" + "@lerna/info" "3.21.0" + "@lerna/init" "3.21.0" + "@lerna/link" "3.21.0" + "@lerna/list" "3.21.0" + "@lerna/publish" "3.22.1" + "@lerna/run" "3.21.0" + "@lerna/version" "3.22.1" + import-local "^2.0.0" + npmlog "^4.1.2" + leven@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" From c7449c7c466bac91d0a1e4be8eab4a1aa7df645c Mon Sep 17 00:00:00 2001 From: hannes Date: Fri, 12 Jun 2020 14:40:06 +0800 Subject: [PATCH 0120/2192] docs: community projects (#1333) --- README.md | 1 - docs/_sidebar.md | 1 + docs/reference-community-projects.md | 13 +++++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 docs/reference-community-projects.md diff --git a/README.md b/README.md index 669189923a..cf91acd6cb 100644 --- a/README.md +++ b/README.md @@ -183,7 +183,6 @@ is room and need for improvement. The items on the roadmap should enhance `commi - [conventional-changelog](https://git.io/v18sw) – Generate a changelog from conventional commit history - [commitizen](https://git.io/vwTym) – Simple commit conventions for internet citizens - [create-semantic-module](https://git.io/vFjFg) – CLI for quickly integrating commitizen and commitlint in new or existing projects -- [commitlint.io](https://github.com/tomasen/commitlintio) - helps your project to ensures nice and tidy commit messages without needing any download or installation ## License diff --git a/docs/_sidebar.md b/docs/_sidebar.md index d112ec0536..18a371d526 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -17,3 +17,4 @@ - [API](reference-api.md) - [Plugins](reference-plugins.md) - [Examples](reference-examples.md) + - [Community projects](reference-community-projects.md) diff --git a/docs/reference-community-projects.md b/docs/reference-community-projects.md new file mode 100644 index 0000000000..d6efb5ae01 --- /dev/null +++ b/docs/reference-community-projects.md @@ -0,0 +1,13 @@ +# Projects from the community + +## Remark + +?> These projects are not affiliated with us in any way. + +Before you use any of these projects make sure you know what you are doing. If you find anything weird about a project let us know. + +If you want to add a project to this list [open a pull request](https://github.com/conventional-changelog/commitlint/pulls). + +## List of Projects + +- [commitlint.io](https://github.com/tomasen/commitlintio) - helps your project to ensures nice and tidy commit messages without needing any download or installation From fd153b4e4ca33f17706196a2940be6097ec4cfb3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2020 14:47:59 +0800 Subject: [PATCH 0121/2192] chore: update dependency docsify-cli to v4.4.1 (#1924) Co-authored-by: Renovate Bot --- yarn.lock | 265 +++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 191 insertions(+), 74 deletions(-) diff --git a/yarn.lock b/yarn.lock index f4671a8dcf..dac0935eab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2582,7 +2582,7 @@ anymatch@^2.0.0: micromatch "^3.1.4" normalize-path "^2.1.1" -anymatch@^3.0.3: +anymatch@^3.0.3, anymatch@~3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142" integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg== @@ -2870,6 +2870,11 @@ binary-extensions@^1.0.0: resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65" integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw== +binary-extensions@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.0.0.tgz#23c0df14f6a88077f5f986c0d167ec03c3d5537c" + integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== + bindings@^1.5.0: version "1.5.0" resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" @@ -2927,7 +2932,7 @@ braces@^2.3.1, braces@^2.3.2: split-string "^3.0.2" to-regex "^3.0.1" -braces@^3.0.1: +braces@^3.0.1, braces@~3.0.2: version "3.0.2" resolved "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== @@ -3182,7 +3187,7 @@ chardet@^0.7.0: resolved "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== -chokidar@^2.1.5, chokidar@^2.1.8: +chokidar@^2.1.8: version "2.1.8" resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917" integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg== @@ -3201,6 +3206,21 @@ chokidar@^2.1.5, chokidar@^2.1.8: optionalDependencies: fsevents "^1.2.7" +chokidar@^3.3.0: + version "3.4.0" + resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.4.0.tgz#b30611423ce376357c765b9b8f904b9fba3c0be8" + integrity sha512-aXAaho2VJtisB/1fg1+3nlLJqGOuewTzQpd/Tz0yTg2R0e4IGtshYvtjowyEumcBv2z+y4+kc75Mz7j5xJskcQ== + dependencies: + anymatch "~3.1.1" + braces "~3.0.2" + glob-parent "~5.1.0" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.4.0" + optionalDependencies: + fsevents "~2.1.2" + chownr@^1.1.1, chownr@^1.1.2: version "1.1.3" resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142" @@ -3276,9 +3296,9 @@ cli-width@^2.0.0: integrity sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk= clipboard@^2.0.0: - version "2.0.4" - resolved "https://registry.npmjs.org/clipboard/-/clipboard-2.0.4.tgz#836dafd66cf0fea5d71ce5d5b0bf6e958009112d" - integrity sha512-Vw26VSLRpJfBofiVaFb/I8PVfdI1OxKcYShe6fm0sP/DtmiWQNCjhM/okTvdCo0G+lMMm1rMYbk4IK4x1X+kgQ== + version "2.0.6" + resolved "https://registry.npmjs.org/clipboard/-/clipboard-2.0.6.tgz#52921296eec0fdf77ead1749421b21c968647376" + integrity sha512-g5zbiixBRk/wyKakSwCKd7vQXDjFnAMGHoEyBogG/bw9kTD9GvdAvaoRR1ALcEzt3pVKxZR0pViekPMIS0QyGg== dependencies: good-listener "^1.2.2" select "^1.1.2" @@ -4186,19 +4206,19 @@ dir-glob@^3.0.1: path-type "^4.0.0" docsify-cli@^4.4.0: - version "4.4.0" - resolved "https://registry.npmjs.org/docsify-cli/-/docsify-cli-4.4.0.tgz#ca68b4941207f7d1ceffb4bc9f01043657077e0a" - integrity sha512-Ve3aUIGbjPpcjRtb3QHJQ9wI0fETMve1bBdTIztWfPnAJ2tOAYO7XUDHe9864RheGOli5s8iI3BviY6CS1ZImA== + version "4.4.1" + resolved "https://registry.npmjs.org/docsify-cli/-/docsify-cli-4.4.1.tgz#02316d7d0167de01a3ffb330c122e0900357ff1b" + integrity sha512-M5VU/8UCILz87D519KnURH3LA+A3RAAqj7ifDv4xOUf4c32QDkWSETS3yLmXlTNdxhATVi5P1fVklnvVW4uOyw== dependencies: chalk "^2.4.2" connect "^3.6.0" connect-livereload "^0.6.0" cp-file "^7.0.0" - docsify ">=3" + docsify "^4.10.2" docsify-server-renderer ">=4" fs-extra "^8.1.0" get-port "^5.0.0" - livereload "^0.8.2" + livereload "^0.9.1" lru-cache "^5.1.1" open "^6.4.0" serve-static "^1.12.1" @@ -4207,24 +4227,25 @@ docsify-cli@^4.4.0: yargs "^14.2.0" docsify-server-renderer@>=4: - version "4.10.2" - resolved "https://registry.npmjs.org/docsify-server-renderer/-/docsify-server-renderer-4.10.2.tgz#90d0f54f118b9435893ec65537d8f0e25cea7042" - integrity sha512-xsHt2wNXJfXHPDdfEdLoAeLb1Koe+iuZCSS32xfcci+0pg1dbtqsi3/8rD+3iQeZ/kcZ5icWpeY21COtzOVuRg== + version "4.11.2" + resolved "https://registry.npmjs.org/docsify-server-renderer/-/docsify-server-renderer-4.11.2.tgz#75194c0e8d50e333a02d8057c0d8b124b059ced0" + integrity sha512-j8hyZzrMI4JwOCZXqXXyzAi/k538m6liPdZVeCJgrvIPDlYAe1gDoXzwYZjSB/c9JfXi8kAbnsBjJ+GPw2yfJQ== dependencies: debug "^4.1.1" - docsify "^4.8.0" + docsify "^4.10.2" node-fetch "^2.6.0" resolve-pathname "^3.0.0" -docsify@>=3, docsify@^4.8.0: - version "4.10.2" - resolved "https://registry.npmjs.org/docsify/-/docsify-4.10.2.tgz#0e4e7efad511b75680c69a4d648253e63c8cf647" - integrity sha512-Y1LbI29X9c4uRVEp7wGOYhy8lDrn47o96or0Dbj+pElxWk1cLYQ5CVYPHnf75P3oM1CrEGIrazac6AjYXaD1kw== +docsify@^4.10.2: + version "4.11.3" + resolved "https://registry.npmjs.org/docsify/-/docsify-4.11.3.tgz#d79af6f92d48d2c1857b7f76df333db4fd6d19ec" + integrity sha512-o9AvGb4vZOlmorg/58Kj6tNdfBaoSQUJZSFC6fJsfLjGFt45kiXhA2UmALnnVk5sol0WgSzxZlcZw6tu1gVu4Q== dependencies: marked "^0.7.0" - medium-zoom "^1.0.4" + medium-zoom "^1.0.5" opencollective-postinstall "^2.0.2" - prismjs "^1.15.0" + prismjs "^1.19.0" + strip-indent "^3.0.0" tinydate "^1.0.0" tweezer.js "^1.4.0" @@ -4827,9 +4848,9 @@ figgy-pudding@^3.4.1, figgy-pudding@^3.5.1: integrity sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w== figlet@^1.1.1: - version "1.2.4" - resolved "https://registry.npmjs.org/figlet/-/figlet-1.2.4.tgz#2d2f48b61a77418ba6cbd9db2e25da27efee16d0" - integrity sha512-mv8YA9RruB4C5QawPaD29rEVx3N97ZTyNrE4DAfbhuo6tpcMdKnPVo8MlyT3RP5uPcg5M14bEJBq7kjFf4kAWg== + version "1.4.0" + resolved "https://registry.npmjs.org/figlet/-/figlet-1.4.0.tgz#21c5878b3752a932ebdb8be400e2d10bbcddfd60" + integrity sha512-CxxIjEKHlqGosgXaIA+sikGDdV6KZOOlzPJnYuPgQlOSHZP5h9WIghYI30fyXnwEVeSH7Hedy72gC6zJrFC+SQ== figures@^1.3.5: version "1.7.0" @@ -5083,9 +5104,9 @@ fs.realpath@^1.0.0: integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= fsevents@^1.2.7: - version "1.2.11" - resolved "https://registry.npmjs.org/fsevents/-/fsevents-1.2.11.tgz#67bf57f4758f02ede88fb2a1712fef4d15358be3" - integrity sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw== + version "1.2.13" + resolved "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz#f325cb0455592428bcf11b383370ef70e3bfcc38" + integrity sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw== dependencies: bindings "^1.5.0" nan "^2.12.1" @@ -5095,6 +5116,11 @@ fsevents@^2.1.2: resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.1.2.tgz#4c0a1fb34bc68e543b4b82a9ec392bfbda840805" integrity sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA== +fsevents@~2.1.2: + version "2.1.3" + resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e" + integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ== + function-bind@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -5310,6 +5336,13 @@ glob-parent@^5.0.0, glob-parent@^5.1.0: dependencies: is-glob "^4.0.1" +glob-parent@~5.1.0: + version "5.1.1" + resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz#b6c1ef417c4e5663ea498f1c45afac6916bbc229" + integrity sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ== + dependencies: + is-glob "^4.0.1" + glob-to-regexp@^0.3.0: version "0.3.0" resolved "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" @@ -5456,7 +5489,12 @@ got@^9.6.0: to-readable-stream "^1.0.0" url-parse-lax "^3.0.0" -graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.3: +graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0: + version "4.2.4" + resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb" + integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw== + +graceful-fs@^4.1.15, graceful-fs@^4.2.2, graceful-fs@^4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== @@ -5590,9 +5628,9 @@ http-cache-semantics@^3.8.1: integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w== http-cache-semantics@^4.0.0: - version "4.0.3" - resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.0.3.tgz#495704773277eeef6e43f9ab2c2c7d259dda25c5" - integrity sha512-TcIMG3qeVLgDr1TEd2XvHaTnMPwYQUQMIBLy+5pLSDKYFc7UIqj39w8EGzZkaxoLv/l2K8HaI0t5AVA+YYgUew== + version "4.1.0" + resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" + integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== http-errors@~1.7.2: version "1.7.3" @@ -5943,6 +5981,13 @@ is-binary-path@^1.0.0: dependencies: binary-extensions "^1.0.0" +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + is-buffer@^1.1.5: version "1.1.6" resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" @@ -6067,7 +6112,7 @@ is-glob@^3.1.0: dependencies: is-extglob "^2.1.0" -is-glob@^4.0.0, is-glob@^4.0.1: +is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== @@ -6798,9 +6843,9 @@ kind-of@^5.0.0: integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw== kind-of@^6.0.0, kind-of@^6.0.2: - version "6.0.2" - resolved "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" - integrity sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA== + version "6.0.3" + resolved "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" + integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== kleur@^3.0.3: version "3.0.3" @@ -6974,12 +7019,18 @@ listr2@^2.1.0: rxjs "^6.5.5" through "^2.3.8" -livereload@^0.8.2: - version "0.8.2" - resolved "https://registry.npmjs.org/livereload/-/livereload-0.8.2.tgz#0ebb756cd5150bc956e33110b884bc2d7d87b723" - integrity sha512-8wCvhiCL4cGVoT3U5xoe+UjpiiVZLrlOvr6dbhb1VlyC5QarhrlyRRt4z7EMGO4KSgXj+tKF/dr284F28/wI+g== +livereload-js@^3.1.0: + version "3.2.3" + resolved "https://registry.npmjs.org/livereload-js/-/livereload-js-3.2.3.tgz#64beff07ce5b2a74485d1a08c2ec04ac68e021bc" + integrity sha512-dXL/WgTGI2K3oeYX/z1lngFXSKtjCB2j7n9WSSluoU6/6+N4LWNoMiCBFNgn8dh3luBn4JBajVSvM5I7Xn6SLA== + +livereload@^0.9.1: + version "0.9.1" + resolved "https://registry.npmjs.org/livereload/-/livereload-0.9.1.tgz#65125dabdf2db4fd3f1169e953fe56e3bcc6f477" + integrity sha512-9g7sua11kkyZNo2hLRCG3LuZZwqexoyEyecSlV8cAsfAVVCZqLzVir6XDqmH0r+Vzgnd5LrdHDMyjtFnJQLAYw== dependencies: - chokidar "^2.1.5" + chokidar "^3.3.0" + livereload-js "^3.1.0" opts ">= 1.2.0" ws "^6.2.1" @@ -7211,9 +7262,9 @@ make-dir@^2.1.0: semver "^5.6.0" make-dir@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/make-dir/-/make-dir-3.0.0.tgz#1b5f39f6b9270ed33f9f054c5c0f84304989f801" - integrity sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw== + version "3.1.0" + resolved "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" + integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== dependencies: semver "^6.0.0" @@ -7273,7 +7324,7 @@ marked@^0.7.0: resolved "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz#b64201f051d271b1edc10a04d1ae9b74bb8e5c0e" integrity sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg== -medium-zoom@^1.0.4: +medium-zoom@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/medium-zoom/-/medium-zoom-1.0.5.tgz#81413dda20ccdd857141ff420cfab788dd32e20e" integrity sha512-aLGa6WlTuFKWvH88bqTrY5ztJMN+D0hd8UX6BYc4YSoPayppzETjZUcdVcksgaoQEMg4cZSmXPg846fTp2rjRQ== @@ -7405,6 +7456,11 @@ mimic-response@^1.0.0, mimic-response@^1.0.1: resolved "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== +min-indent@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" + integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== + minimatch@^3.0.4: version "3.0.4" resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" @@ -7425,7 +7481,7 @@ minimist@0.0.8: resolved "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0= -minimist@1.2.0, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0: +minimist@1.2.0, minimist@^1.1.1, minimist@^1.1.3: version "1.2.0" resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= @@ -7435,6 +7491,11 @@ minimist@^0.1.0: resolved "https://registry.npmjs.org/minimist/-/minimist-0.1.0.tgz#99df657a52574c21c9057497df742790b2b4c0de" integrity sha1-md9lelJXTCHJBXSX33QnkLK0wN4= +minimist@^1.2.0: + version "1.2.5" + resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" + integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== + minimist@~0.0.1: version "0.0.10" resolved "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" @@ -7565,9 +7626,9 @@ mz@^2.5.0: thenify-all "^1.0.0" nan@^2.12.1: - version "2.14.0" - resolved "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" - integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg== + version "2.14.1" + resolved "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz#d7be34dfa3105b91494c3147089315eff8874b01" + integrity sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw== nanomatch@^1.2.9: version "1.2.13" @@ -7705,7 +7766,7 @@ normalize-path@^2.1.1: dependencies: remove-trailing-separator "^1.0.1" -normalize-path@^3.0.0: +normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== @@ -7924,9 +7985,9 @@ open@^6.4.0: is-wsl "^1.1.0" opencollective-postinstall@^2.0.2: - version "2.0.2" - resolved "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.2.tgz#5657f1bede69b6e33a45939b061eb53d3c6c3a89" - integrity sha512-pVOEP16TrAO2/fjej1IdOyupJY8KDUM1CvsaScRbw6oddvpQoOfGk4ywha0HKKVAD6RkW4x6Q+tNBwhf3Bgpuw== + version "2.0.3" + resolved "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz#7a0fff978f6dbfa4d006238fbac98ed4198c3259" + integrity sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q== optimist@^0.6.1: version "0.6.1" @@ -7999,11 +8060,11 @@ p-each-series@^2.1.0: integrity sha512-ZuRs1miPT4HrjFa+9fRfOFXxGJfORgelKV9f9nNOWw2gl6gVsRaVDOQP0+MI0G0wGKns1Yacsu0GjOFbTK0JFQ== p-event@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/p-event/-/p-event-4.1.0.tgz#e92bb866d7e8e5b732293b1c8269d38e9982bf8e" - integrity sha512-4vAd06GCsgflX4wHN1JqrMzBh/8QZ4j+rzp0cd2scXRwuBEv+QR3wrVA5aLhWDLw4y2WgDKvzWF3CCLmVM1UgA== + version "4.2.0" + resolved "https://registry.npmjs.org/p-event/-/p-event-4.2.0.tgz#af4b049c8acd91ae81083ebd1e6f5cae2044c1b5" + integrity sha512-KXatOjCRXXkSePPb1Nbi0p0m+gQAwdlbhi4wQKJPI1HsMQS9g+Sqp2o+QHziPr7eYJyOZet836KoHEVM1mwOrQ== dependencies: - p-timeout "^2.0.1" + p-timeout "^3.1.0" p-finally@^1.0.0: version "1.0.0" @@ -8022,7 +8083,14 @@ p-limit@^1.1.0: dependencies: p-try "^1.0.0" -p-limit@^2.0.0, p-limit@^2.2.0: +p-limit@^2.0.0: + version "2.3.0" + resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== + dependencies: + p-try "^2.0.0" + +p-limit@^2.2.0: version "2.2.2" resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e" integrity sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ== @@ -8086,10 +8154,10 @@ p-reduce@^1.0.0: resolved "https://registry.npmjs.org/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa" integrity sha1-GMKw3ZNqRpClKfgjH1ig/bakffo= -p-timeout@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/p-timeout/-/p-timeout-2.0.1.tgz#d8dd1979595d2dc0139e1fe46b8b646cb3cdf038" - integrity sha512-88em58dDVB/KzPEx1X0N3LwFfYZPyDc4B6eF38M1rk9VTZMbxXXgjugz8mmwpS9Ox4BDZ+t6t3QP5+/gazweIA== +p-timeout@^3.1.0: + version "3.2.0" + resolved "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe" + integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg== dependencies: p-finally "^1.0.0" @@ -8304,6 +8372,11 @@ picomatch@^2.0.4, picomatch@^2.0.5: resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a" integrity sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA== +picomatch@^2.2.1: + version "2.2.2" + resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad" + integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg== + pify@^2.0.0, pify@^2.3.0: version "2.3.0" resolved "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" @@ -8406,10 +8479,10 @@ pretty-format@^25.1.0: ansi-styles "^4.0.0" react-is "^16.12.0" -prismjs@^1.15.0: - version "1.17.1" - resolved "https://registry.npmjs.org/prismjs/-/prismjs-1.17.1.tgz#e669fcbd4cdd873c35102881c33b14d0d68519be" - integrity sha512-PrEDJAFdUGbOP6xK/UsfkC5ghJsPJviKgnQOoxaDbBjwc8op68Quupwt1DeAFoG8GImPhiKXAvvsH7wDSLsu1Q== +prismjs@^1.19.0: + version "1.20.0" + resolved "https://registry.npmjs.org/prismjs/-/prismjs-1.20.0.tgz#9b685fc480a3514ee7198eac6a3bf5024319ff03" + integrity sha512-AEDjSrVNkynnw6A+B1DsFkd6AVdTnp+/WoUixFRULlCLZVRZlVQMVWio/16jv7G1FscUxQxOQhWwApgbnxr6kQ== optionalDependencies: clipboard "^2.0.0" @@ -8649,7 +8722,7 @@ read@1, read@~1.0.1: dependencies: mute-stream "~0.0.4" -"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.6, readable-stream@~2.3.6: +"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.6, readable-stream@~2.3.6: version "2.3.6" resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw== @@ -8671,6 +8744,19 @@ read@1, read@~1.0.1: string_decoder "^1.1.1" util-deprecate "^1.0.1" +readable-stream@^2.0.2: + version "2.3.7" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" + integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.3" + isarray "~1.0.0" + process-nextick-args "~2.0.0" + safe-buffer "~5.1.1" + string_decoder "~1.1.1" + util-deprecate "~1.0.1" + readdir-scoped-modules@^1.0.0: version "1.1.0" resolved "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" @@ -8690,6 +8776,13 @@ readdirp@^2.2.1: micromatch "^3.1.10" readable-stream "^2.0.2" +readdirp@~3.4.0: + version "3.4.0" + resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz#9fdccdf9e9155805449221ac645e8303ab5b9ada" + integrity sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ== + dependencies: + picomatch "^2.2.1" + readline2@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/readline2/-/readline2-1.0.1.tgz#41059608ffc154757b715d9989d199ffbf372e35" @@ -9316,9 +9409,9 @@ shellwords@^0.1.1: integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww== signal-exit@^3.0.0, signal-exit@^3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" - integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= + version "3.0.3" + resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" + integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== sisteransi@^1.0.3: version "1.0.4" @@ -9733,6 +9826,13 @@ strip-indent@^2.0.0: resolved "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" integrity sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g= +strip-indent@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" + integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== + dependencies: + min-indent "^1.0.0" + strip-json-comments@2.0.1, strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" @@ -10679,10 +10779,10 @@ yargs-parser@^10.0.0: dependencies: camelcase "^4.1.0" -yargs-parser@^15.0.0: - version "15.0.0" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-15.0.0.tgz#cdd7a97490ec836195f59f3f4dbe5ea9e8f75f08" - integrity sha512-xLTUnCMc4JhxrPEPUYD5IBR1mWCK/aT6+RJ/K29JY2y1vD+FhtgKK0AXRWvI262q3QSffAQuTouFIKUuHX89wQ== +yargs-parser@^15.0.0, yargs-parser@^15.0.1: + version "15.0.1" + resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-15.0.1.tgz#54786af40b820dcb2fb8025b11b4d659d76323b3" + integrity sha512-0OAMV2mAZQrs3FkNpDQcBk1x5HXb8X4twADss4S0Iuk+2dGnLOE/fRHrsYm542GduMveyA77OF4wrNJuanRCWw== dependencies: camelcase "^5.0.0" decamelize "^1.2.0" @@ -10702,7 +10802,24 @@ yargs-parser@^7.0.0: dependencies: camelcase "^4.1.0" -yargs@^14.2.0, yargs@^14.2.2: +yargs@^14.2.0: + version "14.2.3" + resolved "https://registry.npmjs.org/yargs/-/yargs-14.2.3.tgz#1a1c3edced1afb2a2fea33604bc6d1d8d688a414" + integrity sha512-ZbotRWhF+lkjijC/VhmOT9wSgyBQ7+zr13+YLkhfsSiTriYsMzkTUFP18pFhWwBeMa5gUc1MzbhrO6/VB7c9Xg== + dependencies: + cliui "^5.0.0" + decamelize "^1.2.0" + find-up "^3.0.0" + get-caller-file "^2.0.1" + require-directory "^2.1.1" + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^3.0.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^15.0.1" + +yargs@^14.2.2: version "14.2.2" resolved "https://registry.npmjs.org/yargs/-/yargs-14.2.2.tgz#2769564379009ff8597cdd38fba09da9b493c4b5" integrity sha512-/4ld+4VV5RnrynMhPZJ/ZpOCGSCeghMykZ3BhdFBDa9Wy/RH6uEGNWDJog+aUlq+9OM1CFTgtYRW5Is1Po9NOA== From c69295a6a1d47c6454050e95bdd79e8d251c9691 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2020 15:05:33 +0800 Subject: [PATCH 0122/2192] chore: update dependency eslint to v7 (#1818) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 174 ++++++++++++++++++++++++++++++++++++--------------- 2 files changed, 123 insertions(+), 53 deletions(-) diff --git a/package.json b/package.json index 9898d7721a..ff8759bc96 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "@typescript-eslint/eslint-plugin": "^2.19.0", "@typescript-eslint/parser": "^2.19.0", "docsify-cli": "^4.4.0", - "eslint": "^6.8.0", + "eslint": "^7.0.0", "eslint-config-prettier": "^6.10.0", "eslint-plugin-import": "^2.20.1", "eslint-plugin-jest": "^23.6.0", diff --git a/yarn.lock b/yarn.lock index dac0935eab..5bfeea2e30 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2429,10 +2429,10 @@ acorn-globals@^4.3.2: acorn "^6.0.1" acorn-walk "^6.0.1" -acorn-jsx@^5.1.0: - version "5.1.0" - resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.1.0.tgz#294adb71b57398b0680015f0a38c563ee1db5384" - integrity sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw== +acorn-jsx@^5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.2.0.tgz#4c66069173d6fdd68ed85239fc256226182b2ebe" + integrity sha512-HiUX/+K2YpkpJ+SzBffkM/AQ2YE03S0U1kjTLVpoJdhZMOWy8qvXVN9JdLqv2QsaQ6MPYQIuNmwD8zOiYUofLQ== acorn-walk@^6.0.1: version "6.2.0" @@ -2449,6 +2449,11 @@ acorn@^7.1.0: resolved "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c" integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ== +acorn@^7.2.0: + version "7.3.1" + resolved "https://registry.npmjs.org/acorn/-/acorn-7.3.1.tgz#85010754db53c3fbaf3b9ea3e083aa5c5d147ffd" + integrity sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA== + add-stream@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" @@ -3926,7 +3931,7 @@ cross-spawn@^5.0.1: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^6.0.0, cross-spawn@^6.0.5: +cross-spawn@^6.0.0: version "6.0.5" resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== @@ -3946,6 +3951,15 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.1: shebang-command "^2.0.0" which "^2.0.1" +cross-spawn@^7.0.2: + version "7.0.3" + resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + crypto-random-string@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e" @@ -4087,7 +4101,7 @@ deep-extend@^0.6.0: resolved "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== -deep-is@~0.1.3: +deep-is@^0.1.3, deep-is@~0.1.3: version "0.1.3" resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ= @@ -4497,6 +4511,14 @@ eslint-scope@^5.0.0: esrecurse "^4.1.0" estraverse "^4.1.1" +eslint-scope@^5.1.0: + version "5.1.0" + resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.0.tgz#d0f971dfe59c69e0cada684b23d49dbf82600ce5" + integrity sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w== + dependencies: + esrecurse "^4.1.0" + estraverse "^4.1.1" + eslint-utils@^1.4.3: version "1.4.3" resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f" @@ -4504,27 +4526,39 @@ eslint-utils@^1.4.3: dependencies: eslint-visitor-keys "^1.1.0" +eslint-utils@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.0.0.tgz#7be1cc70f27a72a76cd14aa698bcabed6890e1cd" + integrity sha512-0HCPuJv+7Wv1bACm8y5/ECVfYdfsAm9xmVb7saeFlxjPYALefjhbYoCkBjPdPzGH8wWyTpAez82Fh3VKYEZ8OA== + dependencies: + eslint-visitor-keys "^1.1.0" + eslint-visitor-keys@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2" integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A== -eslint@^6.8.0: - version "6.8.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-6.8.0.tgz#62262d6729739f9275723824302fb227c8c93ffb" - integrity sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig== +eslint-visitor-keys@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.2.0.tgz#74415ac884874495f78ec2a97349525344c981fa" + integrity sha512-WFb4ihckKil6hu3Dp798xdzSfddwKKU3+nGniKF6HfeW6OLd2OUDEPP7TcHtB5+QXOKg2s6B2DaMPE1Nn/kxKQ== + +eslint@^7.0.0: + version "7.2.0" + resolved "https://registry.npmjs.org/eslint/-/eslint-7.2.0.tgz#d41b2e47804b30dbabb093a967fb283d560082e6" + integrity sha512-B3BtEyaDKC5MlfDa2Ha8/D6DsS4fju95zs0hjS3HdGazw+LNayai38A25qMppK37wWGWNYSPOR6oYzlz5MHsRQ== dependencies: "@babel/code-frame" "^7.0.0" ajv "^6.10.0" - chalk "^2.1.0" - cross-spawn "^6.0.5" + chalk "^4.0.0" + cross-spawn "^7.0.2" debug "^4.0.1" doctrine "^3.0.0" - eslint-scope "^5.0.0" - eslint-utils "^1.4.3" - eslint-visitor-keys "^1.1.0" - espree "^6.1.2" - esquery "^1.0.1" + eslint-scope "^5.1.0" + eslint-utils "^2.0.0" + eslint-visitor-keys "^1.2.0" + espree "^7.1.0" + esquery "^1.2.0" esutils "^2.0.2" file-entry-cache "^5.0.1" functional-red-black-tree "^1.0.1" @@ -4537,41 +4571,40 @@ eslint@^6.8.0: is-glob "^4.0.0" js-yaml "^3.13.1" json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.3.0" + levn "^0.4.1" lodash "^4.17.14" minimatch "^3.0.4" - mkdirp "^0.5.1" natural-compare "^1.4.0" - optionator "^0.8.3" + optionator "^0.9.1" progress "^2.0.0" - regexpp "^2.0.1" - semver "^6.1.2" - strip-ansi "^5.2.0" - strip-json-comments "^3.0.1" + regexpp "^3.1.0" + semver "^7.2.1" + strip-ansi "^6.0.0" + strip-json-comments "^3.1.0" table "^5.2.3" text-table "^0.2.0" v8-compile-cache "^2.0.3" -espree@^6.1.2: - version "6.1.2" - resolved "https://registry.npmjs.org/espree/-/espree-6.1.2.tgz#6c272650932b4f91c3714e5e7b5f5e2ecf47262d" - integrity sha512-2iUPuuPP+yW1PZaMSDM9eyVf8D5P0Hi8h83YtZ5bPc/zHYjII5khoixIUTMO794NOY8F/ThF1Bo8ncZILarUTA== +espree@^7.1.0: + version "7.1.0" + resolved "https://registry.npmjs.org/espree/-/espree-7.1.0.tgz#a9c7f18a752056735bf1ba14cb1b70adc3a5ce1c" + integrity sha512-dcorZSyfmm4WTuTnE5Y7MEN1DyoPYy1ZR783QW1FJoenn7RailyWFsq/UL6ZAAA7uXurN9FIpYyUs3OfiIW+Qw== dependencies: - acorn "^7.1.0" - acorn-jsx "^5.1.0" - eslint-visitor-keys "^1.1.0" + acorn "^7.2.0" + acorn-jsx "^5.2.0" + eslint-visitor-keys "^1.2.0" esprima@^4.0.0, esprima@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== -esquery@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708" - integrity sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA== +esquery@^1.2.0: + version "1.3.1" + resolved "https://registry.npmjs.org/esquery/-/esquery-1.3.1.tgz#b78b5828aa8e214e29fb74c4d5b752e1c033da57" + integrity sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ== dependencies: - estraverse "^4.0.0" + estraverse "^5.1.0" esrecurse@^4.1.0: version "4.2.1" @@ -4580,11 +4613,16 @@ esrecurse@^4.1.0: dependencies: estraverse "^4.1.0" -estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: +estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: version "4.3.0" resolved "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== +estraverse@^5.1.0: + version "5.1.0" + resolved "https://registry.npmjs.org/estraverse/-/estraverse-5.1.0.tgz#374309d39fd935ae500e7b92e8a6b4c720e59642" + integrity sha512-FyohXK+R0vE+y1nHLoBM7ZTyqRpqAlhdZHCWIWEviFLiGB8b04H6bQs8G+XTthacvT8VuwvteiP7RJSxMs8UEw== + esutils@^2.0.0, esutils@^2.0.2: version "2.0.3" resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" @@ -4823,7 +4861,7 @@ fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0: resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== -fast-levenshtein@~2.0.6: +fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: version "2.0.6" resolved "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= @@ -6971,7 +7009,15 @@ levenary@^1.1.1: dependencies: leven "^3.1.0" -levn@^0.3.0, levn@~0.3.0: +levn@^0.4.1: + version "0.4.1" + resolved "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" + integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== + dependencies: + prelude-ls "^1.2.1" + type-check "~0.4.0" + +levn@~0.3.0: version "0.3.0" resolved "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4= @@ -7997,7 +8043,7 @@ optimist@^0.6.1: minimist "~0.0.1" wordwrap "~0.0.2" -optionator@^0.8.1, optionator@^0.8.3: +optionator@^0.8.1: version "0.8.3" resolved "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA== @@ -8009,6 +8055,18 @@ optionator@^0.8.1, optionator@^0.8.3: type-check "~0.3.2" word-wrap "~1.2.3" +optionator@^0.9.1: + version "0.9.1" + resolved "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499" + integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw== + dependencies: + deep-is "^0.1.3" + fast-levenshtein "^2.0.6" + levn "^0.4.1" + prelude-ls "^1.2.1" + type-check "^0.4.0" + word-wrap "^1.2.3" + "opts@>= 1.2.0": version "1.2.7" resolved "https://registry.npmjs.org/opts/-/opts-1.2.7.tgz#4de4721d592c96901dae623a438c988e9ea7779f" @@ -8449,6 +8507,11 @@ posix-character-classes@^0.1.0: resolved "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= +prelude-ls@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" + integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== + prelude-ls@~1.1.2: version "1.1.2" resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" @@ -8869,16 +8932,16 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" -regexpp@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f" - integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw== - regexpp@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.0.0.tgz#dd63982ee3300e67b41c1956f850aa680d9d330e" integrity sha512-Z+hNr7RAVWxznLPuA7DIh8UNX1j9CDrUQxskw9IrBE1Dxue2lyXT+shqEIeLUjrokxIP8CMy1WkjgG3rTsd5/g== +regexpp@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" + integrity sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q== + regexpu-core@^4.6.0: version "4.6.0" resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.6.0.tgz#2037c18b327cfce8a6fea2a4ec441f2432afb8b6" @@ -9299,12 +9362,12 @@ semver@7.0.0: resolved "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -semver@7.3.2: +semver@7.3.2, semver@^7.2.1: version "7.3.2" resolved "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ== -semver@^6.0.0, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: +semver@^6.0.0, semver@^6.2.0, semver@^6.3.0: version "6.3.0" resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== @@ -9838,10 +9901,10 @@ strip-json-comments@2.0.1, strip-json-comments@~2.0.1: resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= -strip-json-comments@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz#85713975a91fb87bf1b305cca77395e40d2a64a7" - integrity sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw== +strip-json-comments@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.0.tgz#7638d31422129ecf4457440009fba03f9f9ac180" + integrity sha512-e6/d0eBu7gHtdCqFt0xJr642LdToM5/cN4Qb9DbHjVx1CP5RyeM+zH7pbecEmDv/lBqb0QH+6Uqq75rxFPkM0w== strong-log-transformer@^1.0.6: version "1.0.6" @@ -10210,6 +10273,13 @@ tweezer.js@^1.4.0: resolved "https://registry.npmjs.org/tweezer.js/-/tweezer.js-1.5.0.tgz#ca50ac5215022203fd3be4d28617e8e2305f5c0c" integrity sha512-aSiJz7rGWNAQq7hjMK9ZYDuEawXupcCWgl3woQQSoDP2Oh8O4srWb/uO1PzzHIsrPEOqrjJ2sUb9FERfzuBabQ== +type-check@^0.4.0, type-check@~0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" + integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== + dependencies: + prelude-ls "^1.2.1" + type-check@~0.3.2: version "0.3.2" resolved "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" @@ -10605,7 +10675,7 @@ windows-release@^3.1.0: dependencies: execa "^1.0.0" -word-wrap@^1.0.3, word-wrap@~1.2.3: +word-wrap@^1.0.3, word-wrap@^1.2.3, word-wrap@~1.2.3: version "1.2.3" resolved "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== From 784c7d6fbb5e2db80a0b8864746b5339b04ebcd8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2020 17:07:54 +0800 Subject: [PATCH 0123/2192] chore: update babel monorepo (#1930) Co-authored-by: Renovate Bot --- @commitlint/travis-cli/package.json | 4 +- yarn.lock | 204 +++++++++++++++++++++++++++- 2 files changed, 203 insertions(+), 5 deletions(-) diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index a3ff5afe7f..197b7ad68b 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -45,8 +45,8 @@ }, "license": "MIT", "devDependencies": { - "@babel/cli": "7.8.4", - "@babel/core": "7.8.4", + "@babel/cli": "7.10.1", + "@babel/core": "7.10.2", "@commitlint/test": "^9.0.1", "@commitlint/utils": "^9.0.1", "babel-preset-commitlint": "^9.0.1", diff --git a/yarn.lock b/yarn.lock index 5bfeea2e30..5382d3a25c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,7 +2,23 @@ # yarn lockfile v1 -"@babel/cli@7.8.4", "@babel/cli@^7.7.7": +"@babel/cli@7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.10.1.tgz#b6e5cd43a17b8f639442ab027976408ebe6d79a0" + integrity sha512-cVB+dXeGhMOqViIaZs3A9OUAe4pKw4SBNdMw6yHJMYR7s4TB+Cei7ThquV/84O19PdIFWuwe03vxxES0BHUm5g== + dependencies: + commander "^4.0.1" + convert-source-map "^1.1.0" + fs-readdir-recursive "^1.1.0" + glob "^7.0.0" + lodash "^4.17.13" + make-dir "^2.1.0" + slash "^2.0.0" + source-map "^0.5.0" + optionalDependencies: + chokidar "^2.1.8" + +"@babel/cli@^7.7.7": version "7.8.4" resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.8.4.tgz#505fb053721a98777b2b175323ea4f090b7d3c1c" integrity sha512-XXLgAm6LBbaNxaGhMAznXXaxtCWfuv6PIDJ9Alsy9JYTOh+j2jJz+L/162kkfU1j/pTSxK1xGmlwI4pdIMkoag== @@ -25,6 +41,13 @@ dependencies: "@babel/highlight" "^7.8.3" +"@babel/code-frame@^7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.1.tgz#d5481c5095daa1c57e16e54c6f9198443afb49ff" + integrity sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw== + dependencies: + "@babel/highlight" "^7.10.1" + "@babel/compat-data@^7.8.4": version "7.8.5" resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.8.5.tgz#d28ce872778c23551cbb9432fc68d28495b613b9" @@ -34,7 +57,29 @@ invariant "^2.2.4" semver "^5.5.0" -"@babel/core@7.8.4", "@babel/core@^7.1.0", "@babel/core@^7.7.5", "@babel/core@^7.7.7": +"@babel/core@7.10.2": + version "7.10.2" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.10.2.tgz#bd6786046668a925ac2bd2fd95b579b92a23b36a" + integrity sha512-KQmV9yguEjQsXqyOUGKjS4+3K8/DlOCE2pZcq4augdQmtTy5iv5EHtmMSJ7V4c1BIPjuwtZYqYLCq9Ga+hGBRQ== + dependencies: + "@babel/code-frame" "^7.10.1" + "@babel/generator" "^7.10.2" + "@babel/helper-module-transforms" "^7.10.1" + "@babel/helpers" "^7.10.1" + "@babel/parser" "^7.10.2" + "@babel/template" "^7.10.1" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.2" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.1" + json5 "^2.1.2" + lodash "^4.17.13" + resolve "^1.3.2" + semver "^5.4.1" + source-map "^0.5.0" + +"@babel/core@^7.1.0", "@babel/core@^7.7.5", "@babel/core@^7.7.7": version "7.8.4" resolved "https://registry.npmjs.org/@babel/core/-/core-7.8.4.tgz#d496799e5c12195b3602d0fddd77294e3e38e80e" integrity sha512-0LiLrB2PwrVI+a2/IEskBopDYSd8BCb3rOvH7D5tzoWd696TBEduBvuLVm4Nx6rltrLZqvI3MCalB2K2aVzQjA== @@ -65,6 +110,16 @@ lodash "^4.17.13" source-map "^0.5.0" +"@babel/generator@^7.10.1", "@babel/generator@^7.10.2": + version "7.10.2" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.10.2.tgz#0fa5b5b2389db8bfdfcc3492b551ee20f5dd69a9" + integrity sha512-AxfBNHNu99DTMvlUPlt1h2+Hn7knPpH5ayJ8OqDWSeLld+Fi2AYBTC/IejWDM9Edcii4UzZRCsbUt0WlSDsDsA== + dependencies: + "@babel/types" "^7.10.2" + jsesc "^2.5.1" + lodash "^4.17.13" + source-map "^0.5.0" + "@babel/helper-annotate-as-pure@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz#60bc0bc657f63a0924ff9a4b4a0b24a13cf4deee" @@ -133,6 +188,15 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helper-function-name@^7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.1.tgz#92bd63829bfc9215aca9d9defa85f56b539454f4" + integrity sha512-fcpumwhs3YyZ/ttd5Rz0xn0TpIwVkN7X0V38B9TWNfVF42KEkhkAAuPCQ3oXmtTRtiPJrmZ0TrfS0GKF0eMaRQ== + dependencies: + "@babel/helper-get-function-arity" "^7.10.1" + "@babel/template" "^7.10.1" + "@babel/types" "^7.10.1" + "@babel/helper-function-name@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz#eeeb665a01b1f11068e9fb86ad56a1cb1a824cca" @@ -142,6 +206,13 @@ "@babel/template" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helper-get-function-arity@^7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.1.tgz#7303390a81ba7cb59613895a192b93850e373f7d" + integrity sha512-F5qdXkYGOQUb0hpRaPoetF9AnsXknKjWMZ+wmsIRsp5ge5sFh4c3h1eH2pRTTuy9KKAA2+TTYomGXAtEL2fQEw== + dependencies: + "@babel/types" "^7.10.1" + "@babel/helper-get-function-arity@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5" @@ -156,6 +227,13 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-member-expression-to-functions@^7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.10.1.tgz#432967fd7e12a4afef66c4687d4ca22bc0456f15" + integrity sha512-u7XLXeM2n50gb6PWJ9hoO5oO7JFPaZtrh35t8RqKLT1jFKj9IWeD1zrcrYp1q1qiZTdEarfDWfTIP8nGsu0h5g== + dependencies: + "@babel/types" "^7.10.1" + "@babel/helper-member-expression-to-functions@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.8.3.tgz#659b710498ea6c1d9907e0c73f206eee7dadc24c" @@ -170,6 +248,26 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-module-imports@^7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.1.tgz#dd331bd45bccc566ce77004e9d05fe17add13876" + integrity sha512-SFxgwYmZ3HZPyZwJRiVNLRHWuW2OgE5k2nrVs6D9Iv4PPnXVffuEHy83Sfx/l4SqF+5kyJXjAyUmrG7tNm+qVg== + dependencies: + "@babel/types" "^7.10.1" + +"@babel/helper-module-transforms@^7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.10.1.tgz#24e2f08ee6832c60b157bb0936c86bef7210c622" + integrity sha512-RLHRCAzyJe7Q7sF4oy2cB+kRnU4wDZY/H2xJFGof+M+SJEGhZsb+GFj5j1AD8NiSaVBJ+Pf0/WObiXu/zxWpFg== + dependencies: + "@babel/helper-module-imports" "^7.10.1" + "@babel/helper-replace-supers" "^7.10.1" + "@babel/helper-simple-access" "^7.10.1" + "@babel/helper-split-export-declaration" "^7.10.1" + "@babel/template" "^7.10.1" + "@babel/types" "^7.10.1" + lodash "^4.17.13" + "@babel/helper-module-transforms@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.8.3.tgz#d305e35d02bee720fbc2c3c3623aa0c316c01590" @@ -182,6 +280,13 @@ "@babel/types" "^7.8.3" lodash "^4.17.13" +"@babel/helper-optimise-call-expression@^7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.1.tgz#b4a1f2561870ce1247ceddb02a3860fa96d72543" + integrity sha512-a0DjNS1prnBsoKx83dP2falChcs7p3i8VMzdrSbfLhuQra/2ENC4sbri34dz/rWmDADsmF1q5GbfaXydh0Jbjg== + dependencies: + "@babel/types" "^7.10.1" + "@babel/helper-optimise-call-expression@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz#7ed071813d09c75298ef4f208956006b6111ecb9" @@ -212,6 +317,16 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helper-replace-supers@^7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.10.1.tgz#ec6859d20c5d8087f6a2dc4e014db7228975f13d" + integrity sha512-SOwJzEfpuQwInzzQJGjGaiG578UYmyi2Xw668klPWV5n07B73S0a9btjLk/52Mlcxa+5AdIYqws1KyXRfMoB7A== + dependencies: + "@babel/helper-member-expression-to-functions" "^7.10.1" + "@babel/helper-optimise-call-expression" "^7.10.1" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" + "@babel/helper-replace-supers@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.8.3.tgz#91192d25f6abbcd41da8a989d4492574fb1530bc" @@ -222,6 +337,14 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helper-simple-access@^7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.10.1.tgz#08fb7e22ace9eb8326f7e3920a1c2052f13d851e" + integrity sha512-VSWpWzRzn9VtgMJBIWTZ+GP107kZdQ4YplJlCmIrjoLVSi/0upixezHCDG8kpPVTBJpKfxTH01wDhh+jS2zKbw== + dependencies: + "@babel/template" "^7.10.1" + "@babel/types" "^7.10.1" + "@babel/helper-simple-access@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.8.3.tgz#7f8109928b4dab4654076986af575231deb639ae" @@ -230,6 +353,13 @@ "@babel/template" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helper-split-export-declaration@^7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.1.tgz#c6f4be1cbc15e3a868e4c64a17d5d31d754da35f" + integrity sha512-UQ1LVBPrYdbchNhLwj6fetj46BcFwfS4NllJo/1aJsT+1dLTEnXJL0qHqtY7gPzF8S2fXBJamf1biAXV3X077g== + dependencies: + "@babel/types" "^7.10.1" + "@babel/helper-split-export-declaration@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz#31a9f30070f91368a7182cf05f831781065fc7a9" @@ -237,6 +367,11 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-validator-identifier@^7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz#5770b0c1a826c4f53f5ede5e153163e0318e94b5" + integrity sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw== + "@babel/helper-wrap-function@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.8.3.tgz#9dbdb2bb55ef14aaa01fe8c99b629bd5352d8610" @@ -247,6 +382,15 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helpers@^7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.10.1.tgz#a6827b7cb975c9d9cef5fd61d919f60d8844a973" + integrity sha512-muQNHF+IdU6wGgkaJyhhEmI54MOZBKsFfsXFhboz1ybwJ1Kl7IHlbm2a++4jwrmY5UYsgitt5lfqo1wMFcHmyw== + dependencies: + "@babel/template" "^7.10.1" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" + "@babel/helpers@^7.8.4": version "7.8.4" resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.8.4.tgz#754eb3ee727c165e0a240d6c207de7c455f36f73" @@ -256,6 +400,15 @@ "@babel/traverse" "^7.8.4" "@babel/types" "^7.8.3" +"@babel/highlight@^7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.1.tgz#841d098ba613ba1a427a2b383d79e35552c38ae0" + integrity sha512-8rMof+gVP8mxYZApLF/JgNDAkdKa+aJt3ZYxF8z6+j/hpeXL7iMsKCPHa2jNMHu/qqBwzQF4OHNoYi8dMA/rYg== + dependencies: + "@babel/helper-validator-identifier" "^7.10.1" + chalk "^2.0.0" + js-tokens "^4.0.0" + "@babel/highlight@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797" @@ -270,6 +423,11 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz#d1dbe64691d60358a974295fa53da074dd2ce8e8" integrity sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw== +"@babel/parser@^7.10.1", "@babel/parser@^7.10.2": + version "7.10.2" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.10.2.tgz#871807f10442b92ff97e4783b9b54f6a0ca812d0" + integrity sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ== + "@babel/plugin-proposal-async-generator-functions@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.8.3.tgz#bad329c670b382589721b27540c7d288601c6e6f" @@ -746,6 +904,15 @@ dependencies: regenerator-runtime "^0.13.4" +"@babel/template@^7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/template/-/template-7.10.1.tgz#e167154a94cb5f14b28dc58f5356d2162f539811" + integrity sha512-OQDg6SqvFSsc9A0ej6SKINWrpJiNonRIniYondK2ViKhB06i3c0s+76XUft71iqBEe9S1OKsHwPAjfHnuvnCig== + dependencies: + "@babel/code-frame" "^7.10.1" + "@babel/parser" "^7.10.1" + "@babel/types" "^7.10.1" + "@babel/template@^7.7.4", "@babel/template@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz#e02ad04fe262a657809327f578056ca15fd4d1b8" @@ -770,6 +937,21 @@ globals "^11.1.0" lodash "^4.17.13" +"@babel/traverse@^7.10.1": + version "7.10.1" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.10.1.tgz#bbcef3031e4152a6c0b50147f4958df54ca0dd27" + integrity sha512-C/cTuXeKt85K+p08jN6vMDz8vSV0vZcI0wmQ36o6mjbuo++kPMdpOYw23W2XH04dbRt9/nMEfA4W3eR21CD+TQ== + dependencies: + "@babel/code-frame" "^7.10.1" + "@babel/generator" "^7.10.1" + "@babel/helper-function-name" "^7.10.1" + "@babel/helper-split-export-declaration" "^7.10.1" + "@babel/parser" "^7.10.1" + "@babel/types" "^7.10.1" + debug "^4.1.0" + globals "^11.1.0" + lodash "^4.17.13" + "@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz#5a383dffa5416db1b73dedffd311ffd0788fb31c" @@ -779,6 +961,15 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" +"@babel/types@^7.10.1", "@babel/types@^7.10.2": + version "7.10.2" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.10.2.tgz#30283be31cad0dbf6fb00bd40641ca0ea675172d" + integrity sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng== + dependencies: + "@babel/helper-validator-identifier" "^7.10.1" + lodash "^4.17.13" + to-fast-properties "^2.0.0" + "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" @@ -6832,6 +7023,13 @@ json5@2.x, json5@^2.1.0: dependencies: minimist "^1.2.0" +json5@^2.1.2: + version "2.1.3" + resolved "https://registry.npmjs.org/json5/-/json5-2.1.3.tgz#c9b0f7fa9233bfe5807fe66fcf3a5617ed597d43" + integrity sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA== + dependencies: + minimist "^1.2.5" + jsonfile@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" @@ -7537,7 +7735,7 @@ minimist@^0.1.0: resolved "https://registry.npmjs.org/minimist/-/minimist-0.1.0.tgz#99df657a52574c21c9057497df742790b2b4c0de" integrity sha1-md9lelJXTCHJBXSX33QnkLK0wN4= -minimist@^1.2.0: +minimist@^1.2.0, minimist@^1.2.5: version "1.2.5" resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== From b372ba81a774ec5de17bf71d1c071644d28a5ed5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2020 17:48:18 +0800 Subject: [PATCH 0124/2192] chore: update dependency commitizen to v4 (#1931) Co-authored-by: Renovate Bot --- @commitlint/prompt/package.json | 2 +- yarn.lock | 211 ++++++++++++++------------------ 2 files changed, 95 insertions(+), 118 deletions(-) diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 8348ed9711..8adb5938aa 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -52,7 +52,7 @@ "@babel/core": "^7.7.7", "@commitlint/utils": "^9.0.1", "babel-preset-commitlint": "^9.0.1", - "commitizen": "3.1.2", + "commitizen": "4.1.2", "cross-env": "7.0.2" }, "dependencies": { diff --git a/yarn.lock b/yarn.lock index 5382d3a25c..674a6b419b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3249,10 +3249,10 @@ cacheable-request@^6.0.0: normalize-url "^4.1.0" responselike "^1.0.2" -cachedir@2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/cachedir/-/cachedir-2.1.0.tgz#b448c32b44cd9c0cd6ce4c419fa5b3c112c02191" - integrity sha512-xGBpPqoBvn3unBW7oxgb8aJn42K0m9m1/wyjmazah10Fq7bROGG3kRAE6OIyr3U3PIJUqGuebhCEdMk9OKJG0A== +cachedir@2.2.0: + version "2.2.0" + resolved "https://registry.npmjs.org/cachedir/-/cachedir-2.2.0.tgz#19afa4305e05d79e417566882e0c8f960f62ff0e" + integrity sha512-VvxA0xhNqIIfg0V9AmJkDg91DaJwryutH5rVEZAhcNi4iJFj9f+QxmAjgK1LT9I8OgToX27fypX6/MeCXVbBjQ== call-me-maybe@^1.0.1: version "1.0.1" @@ -3356,7 +3356,7 @@ chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1, chalk@^2.4.2: +chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -3640,26 +3640,25 @@ commander@~2.20.3: resolved "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -commitizen@3.1.2: - version "3.1.2" - resolved "https://registry.npmjs.org/commitizen/-/commitizen-3.1.2.tgz#29ddd8b39396923e9058a0e4840cbeef144290be" - integrity sha512-eD0uTUsogu8ksFjFFYq75LLfXeLXsCIa27TPfOqvBI+tCx1Pp5QfKqC9oC+qTpSz3nTn9/+7TL5mE/wurB22JQ== +commitizen@4.1.2, commitizen@^4.0.3: + version "4.1.2" + resolved "https://registry.npmjs.org/commitizen/-/commitizen-4.1.2.tgz#6095eb825fd3f0d3611df88e6803c69b23307e9a" + integrity sha512-LBxTQKHbVgroMz9ohpm86N+GfJobonGyvDc3zBGdZazbwCLz2tqLa48Rf2TnAdKx7/06W1i1R3SXUt5QW97qVQ== dependencies: - cachedir "2.1.0" - cz-conventional-changelog "2.1.0" + cachedir "2.2.0" + cz-conventional-changelog "3.2.0" dedent "0.7.0" - detect-indent "^5.0.0" + detect-indent "6.0.0" find-node-modules "2.0.0" find-root "1.1.0" - fs-extra "^7.0.0" - glob "7.1.3" - inquirer "6.2.0" + fs-extra "8.1.0" + glob "7.1.4" + inquirer "6.5.0" is-utf8 "^0.2.1" - lodash "4.17.14" - minimist "1.2.0" - shelljs "0.7.6" - strip-bom "3.0.0" - strip-json-comments "2.0.1" + lodash "4.17.15" + minimist "1.2.5" + strip-bom "4.0.0" + strip-json-comments "3.0.1" compare-func@^1.3.1: version "1.3.2" @@ -3947,10 +3946,10 @@ conventional-changelog@^1.1.24: conventional-changelog-jshint "^0.3.8" conventional-changelog-preset-loader "^1.1.8" -conventional-commit-types@^2.0.0: - version "2.3.0" - resolved "https://registry.npmjs.org/conventional-commit-types/-/conventional-commit-types-2.3.0.tgz#bc3c8ebba0a9e4b3ecc548f1d0674e251ab8be22" - integrity sha512-6iB39PrcGYdz0n3z31kj6/Km6mK9hm9oMRhwcLnKxE7WNoeRKZbTAobliKrbYZ5jqyCvtcVEfjCiaEzhL3AVmQ== +conventional-commit-types@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/conventional-commit-types/-/conventional-commit-types-3.0.0.tgz#7c9214e58eae93e85dd66dbfbafe7e4fffa2365b" + integrity sha512-SmmCYnOniSsAa9GqWOeLqc179lfr5TRu5b4QFDkbsrJ5TZjPJx85wtOr3zn+1dbeNiXDKGPbZ72IKbPhLXh/Lg== conventional-commits-filter@^1.1.1, conventional-commits-filter@^1.1.6: version "1.1.6" @@ -4185,16 +4184,19 @@ cyclist@^1.0.1: resolved "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9" integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk= -cz-conventional-changelog@2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/cz-conventional-changelog/-/cz-conventional-changelog-2.1.0.tgz#2f4bc7390e3244e4df293e6ba351e4c740a7c764" - integrity sha1-L0vHOQ4yROTfKT5ro1Hkx0Cnx2Q= +cz-conventional-changelog@3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/cz-conventional-changelog/-/cz-conventional-changelog-3.2.0.tgz#6aef1f892d64113343d7e455529089ac9f20e477" + integrity sha512-yAYxeGpVi27hqIilG1nh4A9Bnx4J3Ov+eXy4koL3drrR+IO9GaWPsKjik20ht608Asqi8TQPf0mczhEeyAtMzg== dependencies: - conventional-commit-types "^2.0.0" + chalk "^2.4.1" + commitizen "^4.0.3" + conventional-commit-types "^3.0.0" lodash.map "^4.5.1" - longest "^1.0.1" - right-pad "^1.0.1" + longest "^2.0.1" word-wrap "^1.0.3" + optionalDependencies: + "@commitlint/load" ">6.1.1" dargs@^4.0.1: version "4.1.0" @@ -4373,6 +4375,11 @@ detect-file@^1.0.0: resolved "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" integrity sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc= +detect-indent@6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-6.0.0.tgz#0abd0f549f69fc6659a254fe96786186b6f528fd" + integrity sha512-oSyFlqaTHCItVRGK5RmrmjB+CmaMOW7IaNA/kdxqhoa6d17j/5ce9O9eWXmV/KEdRwqpQA+Vqe8a8Bsybu4YnA== + detect-indent@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" @@ -4975,7 +4982,7 @@ external-editor@^2.0.4: iconv-lite "^0.4.17" tmp "^0.0.33" -external-editor@^3.0.0, external-editor@^3.0.3: +external-editor@^3.0.3: version "3.1.0" resolved "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== @@ -5278,33 +5285,24 @@ fs-constants@^1.0.0: resolved "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== -fs-extra@^4.0.1: - version "4.0.3" - resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" - integrity sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg== +fs-extra@8.1.0, fs-extra@^8.1.0: + version "8.1.0" + resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" + integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g== dependencies: - graceful-fs "^4.1.2" + graceful-fs "^4.2.0" jsonfile "^4.0.0" universalify "^0.1.0" -fs-extra@^7.0.0: - version "7.0.1" - resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" - integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw== +fs-extra@^4.0.1: + version "4.0.3" + resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" + integrity sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg== dependencies: graceful-fs "^4.1.2" jsonfile "^4.0.0" universalify "^0.1.0" -fs-extra@^8.1.0: - version "8.1.0" - resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" - integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^4.0.0" - universalify "^0.1.0" - fs-minipass@^1.2.5: version "1.2.7" resolved "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" @@ -5577,10 +5575,10 @@ glob-to-regexp@^0.3.0: resolved "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" integrity sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs= -glob@7.1.3: - version "7.1.3" - resolved "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1" - integrity sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ== +glob@7.1.4: + version "7.1.4" + resolved "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" + integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" @@ -6080,23 +6078,23 @@ inquirer@0.11.0: strip-ansi "^3.0.0" through "^2.3.6" -inquirer@6.2.0: - version "6.2.0" - resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.2.0.tgz#51adcd776f661369dc1e894859c2560a224abdd8" - integrity sha512-QIEQG4YyQ2UYZGDC4srMZ7BjHOmNk1lR2JQj5UknBapklm6WHA+VVH7N+sUdX3A7NeCfGF8o4X1S3Ao7nAcIeg== +inquirer@6.5.0: + version "6.5.0" + resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.5.0.tgz#2303317efc9a4ea7ec2e2df6f86569b734accf42" + integrity sha512-scfHejeG/lVZSpvCXpsB4j/wQNPM5JC8kiElOI0OUTwmc1RTpXr4H32/HOlQHcZiYl2z2VElwuCVDRG8vFmbnA== dependencies: - ansi-escapes "^3.0.0" - chalk "^2.0.0" + ansi-escapes "^3.2.0" + chalk "^2.4.2" cli-cursor "^2.1.0" cli-width "^2.0.0" - external-editor "^3.0.0" + external-editor "^3.0.3" figures "^2.0.0" - lodash "^4.17.10" + lodash "^4.17.12" mute-stream "0.0.7" run-async "^2.2.0" - rxjs "^6.1.0" + rxjs "^6.4.0" string-width "^2.1.0" - strip-ansi "^4.0.0" + strip-ansi "^5.1.0" through "^2.3.6" inquirer@^3.2.2: @@ -6157,11 +6155,6 @@ inquirer@^7.0.0: strip-ansi "^5.1.0" through "^2.3.6" -interpret@^1.0.0: - version "1.2.0" - resolved "https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296" - integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw== - invariant@^2.2.2, invariant@^2.2.4: version "2.2.4" resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" @@ -7403,7 +7396,7 @@ lodash.uniq@^4.5.0: resolved "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@4.17.14, lodash@4.17.15, lodash@^3.3.1, lodash@^4.17.10, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.5.1: +lodash@4.17.15, lodash@^3.3.1, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.5.1: version "4.17.15" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== @@ -7440,10 +7433,10 @@ lolex@^5.0.0: dependencies: "@sinonjs/commons" "^1.7.0" -longest@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" - integrity sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc= +longest@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/longest/-/longest-2.0.1.tgz#781e183296aa94f6d4d916dc335d0d17aefa23f8" + integrity sha1-eB4YMpaqlPbU2RbcM10NF676I/g= loose-envify@^1.0.0: version "1.4.0" @@ -7725,20 +7718,20 @@ minimist@0.0.8: resolved "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0= -minimist@1.2.0, minimist@^1.1.1, minimist@^1.1.3: - version "1.2.0" - resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" - integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= +minimist@1.2.5, minimist@^1.2.0, minimist@^1.2.5: + version "1.2.5" + resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" + integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== minimist@^0.1.0: version "0.1.0" resolved "https://registry.npmjs.org/minimist/-/minimist-0.1.0.tgz#99df657a52574c21c9057497df742790b2b4c0de" integrity sha1-md9lelJXTCHJBXSX33QnkLK0wN4= -minimist@^1.2.0, minimist@^1.2.5: - version "1.2.5" - resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" - integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== +minimist@^1.1.1, minimist@^1.1.3: + version "1.2.0" + resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" + integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= minimist@~0.0.1: version "0.0.10" @@ -9060,13 +9053,6 @@ realpath-native@^1.1.0: dependencies: util.promisify "^1.0.0" -rechoir@^0.6.2: - version "0.6.2" - resolved "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" - integrity sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q= - dependencies: - resolve "^1.1.6" - redent@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz#cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde" @@ -9343,7 +9329,7 @@ resolve@1.1.7: resolved "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@1.x, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.3.2, resolve@^1.8.1: +resolve@1.x, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.3.2, resolve@^1.8.1: version "1.15.1" resolved "https://registry.npmjs.org/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8" integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w== @@ -9396,11 +9382,6 @@ reusify@^1.0.0: resolved "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -right-pad@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0" - integrity sha1-jKCMLLtbVedNr6lr9/0aJ9VoyNA= - rimraf@2.6.3: version "2.6.3" resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" @@ -9470,7 +9451,7 @@ rx-lite@^3.1.2: resolved "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102" integrity sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI= -rxjs@^6.1.0, rxjs@^6.4.0, rxjs@^6.5.3: +rxjs@^6.4.0, rxjs@^6.5.3: version "6.5.4" resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz#e0777fe0d184cec7872df147f303572d414e211c" integrity sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q== @@ -9655,15 +9636,6 @@ shebang-regex@^3.0.0: resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shelljs@0.7.6: - version "0.7.6" - resolved "https://registry.npmjs.org/shelljs/-/shelljs-0.7.6.tgz#379cccfb56b91c8601e4793356eb5382924de9ad" - integrity sha1-N5zM+1a5HIYB5HkzVutTgpJN6a0= - dependencies: - glob "^7.0.0" - interpret "^1.0.0" - rechoir "^0.6.2" - shellwords@^0.1.1: version "0.1.1" resolved "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" @@ -10048,10 +10020,10 @@ strip-ansi@^6.0.0: dependencies: ansi-regex "^5.0.0" -strip-bom@3.0.0, strip-bom@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= +strip-bom@4.0.0, strip-bom@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" + integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== strip-bom@^2.0.0: version "2.0.0" @@ -10060,10 +10032,10 @@ strip-bom@^2.0.0: dependencies: is-utf8 "^0.2.0" -strip-bom@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" - integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== +strip-bom@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" + integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= strip-eof@^1.0.0: version "1.0.0" @@ -10094,16 +10066,21 @@ strip-indent@^3.0.0: dependencies: min-indent "^1.0.0" -strip-json-comments@2.0.1, strip-json-comments@~2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" - integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= +strip-json-comments@3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz#85713975a91fb87bf1b305cca77395e40d2a64a7" + integrity sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw== strip-json-comments@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.0.tgz#7638d31422129ecf4457440009fba03f9f9ac180" integrity sha512-e6/d0eBu7gHtdCqFt0xJr642LdToM5/cN4Qb9DbHjVx1CP5RyeM+zH7pbecEmDv/lBqb0QH+6Uqq75rxFPkM0w== +strip-json-comments@~2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" + integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= + strong-log-transformer@^1.0.6: version "1.0.6" resolved "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-1.0.6.tgz#f7fb93758a69a571140181277eea0c2eb1301fa3" From f99aeda068aabdb250e2c9819da7229a695154b9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2020 17:48:26 +0800 Subject: [PATCH 0125/2192] fix: update dependency conventional-changelog-conventionalcommits to v4.3.0 (#1816) Co-authored-by: Renovate Bot --- @commitlint/config-conventional/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index e2f6d86660..a3b8c2dc90 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -36,7 +36,7 @@ "@commitlint/utils": "^9.0.1" }, "dependencies": { - "conventional-changelog-conventionalcommits": "4.2.3" + "conventional-changelog-conventionalcommits": "4.3.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/yarn.lock b/yarn.lock index 674a6b419b..0902e09b89 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3797,10 +3797,10 @@ conventional-changelog-codemirror@^0.3.8: dependencies: q "^1.5.1" -conventional-changelog-conventionalcommits@4.2.3: - version "4.2.3" - resolved "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.2.3.tgz#22855b32d57d0328951c1c2dc01b172a5f24ea37" - integrity sha512-atGa+R4vvEhb8N/8v3IoW59gCBJeeFiX6uIbPu876ENAmkMwsenyn0R21kdDHJFLQdy6zW4J6b4xN8KI3b9oww== +conventional-changelog-conventionalcommits@4.3.0: + version "4.3.0" + resolved "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.3.0.tgz#c4205a659f7ca9d7881f29ee78a4e7d6aeb8b3c2" + integrity sha512-oYHydvZKU+bS8LnGqTMlNrrd7769EsuEHKy4fh1oMdvvDi7fem8U+nvfresJ1IDB8K00Mn4LpiA/lR+7Gs6rgg== dependencies: compare-func "^1.3.1" lodash "^4.17.15" From fd8121d861c3cffef4207e7fc17265471fde8e5c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2020 18:03:02 +0800 Subject: [PATCH 0126/2192] chore: update dependency lint-staged to v10.2.10 (#1932) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ff8759bc96..45b78e1eed 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "lerna": "3.22.1", "lerna-v2": "npm:lerna@2", "lerna-v3": "npm:lerna@3", - "lint-staged": "10.2.9", + "lint-staged": "10.2.10", "prettier": "1.17.1", "ts-jest": "25.2.1", "typescript": "3.8.2" diff --git a/yarn.lock b/yarn.lock index 0902e09b89..b35cf4d7f2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7221,10 +7221,10 @@ lines-and-columns@^1.1.6: resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= -lint-staged@10.2.9: - version "10.2.9" - resolved "https://registry.npmjs.org/lint-staged/-/lint-staged-10.2.9.tgz#6013ecfa80829cd422446b545fd30a96bca3098c" - integrity sha512-ziRAuXEqvJLSXg43ezBpHxRW8FOJCXISaXU//BWrxRrp5cBdRkIx7g5IsB3OI45xYGE0S6cOacfekSjDyDKF2g== +lint-staged@10.2.10: + version "10.2.10" + resolved "https://registry.npmjs.org/lint-staged/-/lint-staged-10.2.10.tgz#f0f78bf8786bbe90e1775a0dc540f7f12b6a79b2" + integrity sha512-dgelFaNH6puUGAcU+OVMgbfpKSerNYsPSn6+nlbRDjovL0KigpsVpCu0PFZG6BJxX8gnHJqaZlR9krZamQsb0w== dependencies: chalk "^4.0.0" cli-truncate "2.1.0" From 788203689ebf51343ccf2e6eab530e19f4faf122 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 13 Jun 2020 14:02:01 +0800 Subject: [PATCH 0127/2192] fix: update dependency tar-fs to v2.1.0 (#1103) Co-authored-by: Renovate Bot --- @packages/utils/package.json | 2 +- yarn.lock | 15 ++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/@packages/utils/package.json b/@packages/utils/package.json index a4e031e380..3952d3cfb3 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -42,7 +42,7 @@ "meow": "4.0.1", "read-pkg": "5.2.0", "require-from-string": "2.0.2", - "tar-fs": "2.0.0" + "tar-fs": "2.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/yarn.lock b/yarn.lock index b35cf4d7f2..4d483355ce 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7777,6 +7777,11 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" +mkdirp-classic@^0.5.2: + version "0.5.3" + resolved "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" + integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A== + mkdirp-promise@^5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz#e9b8f68e552c68a9c1713b84883f7a1dd039b8a1" @@ -10143,13 +10148,13 @@ table@^5.2.3: slice-ansi "^2.1.0" string-width "^3.0.0" -tar-fs@2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/tar-fs/-/tar-fs-2.0.0.tgz#677700fc0c8b337a78bee3623fdc235f21d7afad" - integrity sha512-vaY0obB6Om/fso8a8vakQBzwholQ7v5+uy+tF3Ozvxv1KNezmVQAiWtcNmMHFSFPqL3dJA8ha6gdtFbfX9mcxA== +tar-fs@2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.0.tgz#d1cdd121ab465ee0eb9ccde2d35049d3f3daf0d5" + integrity sha512-9uW5iDvrIMCVpvasdFHW0wJPez0K4JnMZtsuIeDI7HyMGJNxmDZDOCQROr7lXyS+iL/QMpj07qcjGYTSdRFXUg== dependencies: chownr "^1.1.1" - mkdirp "^0.5.1" + mkdirp-classic "^0.5.2" pump "^3.0.0" tar-stream "^2.0.0" From 9c4fdf1b5f42677422532dad655af9aed9b43881 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 13 Jun 2020 14:02:28 +0800 Subject: [PATCH 0128/2192] fix: update dependency regenerator-runtime to v0.13.5 (#1017) Co-authored-by: Renovate Bot --- @commitlint/cli/package.json | 2 +- yarn.lock | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 252f078be4..3602d89494 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -67,7 +67,7 @@ "get-stdin": "7.0.0", "lodash": "^4.17.15", "meow": "5.0.0", - "regenerator-runtime": "0.13.3", + "regenerator-runtime": "0.13.5", "resolve-from": "5.0.0", "resolve-global": "1.0.0" }, diff --git a/yarn.lock b/yarn.lock index 4d483355ce..e92144a53e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9086,10 +9086,10 @@ regenerate@^1.4.0: resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11" integrity sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg== -regenerator-runtime@0.13.3, regenerator-runtime@^0.13.2: - version "0.13.3" - resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5" - integrity sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw== +regenerator-runtime@0.13.5, regenerator-runtime@^0.13.4: + version "0.13.5" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz#d878a1d094b4306d10b9096484b33ebd55e26697" + integrity sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA== regenerator-runtime@^0.10.5: version "0.10.5" @@ -9101,10 +9101,10 @@ regenerator-runtime@^0.11.0: resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== -regenerator-runtime@^0.13.4: - version "0.13.5" - resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz#d878a1d094b4306d10b9096484b33ebd55e26697" - integrity sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA== +regenerator-runtime@^0.13.2: + version "0.13.3" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5" + integrity sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw== regenerator-transform@^0.14.0: version "0.14.1" From 652118c6e4b13a6d7e751eb05a4cf5a2106e1d99 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 13 Jun 2020 14:11:30 +0800 Subject: [PATCH 0129/2192] chore: update dependency @types/jest to v26 (#1928) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 52 ++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 47 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 45b78e1eed..b9525ade87 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ }, "devDependencies": { "@lerna/project": "3.21.0", - "@types/jest": "25.1.3", + "@types/jest": "26.0.0", "@types/node": "12.12.28", "@typescript-eslint/eslint-plugin": "^2.19.0", "@typescript-eslint/parser": "^2.19.0", diff --git a/yarn.lock b/yarn.lock index e92144a53e..41a17a6cc7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1236,6 +1236,16 @@ "@types/yargs" "^15.0.0" chalk "^3.0.0" +"@jest/types@^25.5.0": + version "25.5.0" + resolved "https://registry.npmjs.org/@jest/types/-/types-25.5.0.tgz#4d6a4793f7b9599fc3680877b856a97dbccf2a9d" + integrity sha512-OXD0RgQ86Tu3MazKo8bnrkDRaDXXMGUqd+kTtLtK1Zb7CRzQcaSRPPPV37SvYTdevXEBVxe0HXylEjs8ibkmCw== + dependencies: + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^1.1.1" + "@types/yargs" "^15.0.0" + chalk "^3.0.0" + "@lerna/add@3.20.0": version "3.20.0" resolved "https://registry.npmjs.org/@lerna/add/-/add-3.20.0.tgz#bea7edf36fc93fb72ec34cb9ba854c48d4abf309" @@ -2448,13 +2458,13 @@ "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" -"@types/jest@25.1.3": - version "25.1.3" - resolved "https://registry.npmjs.org/@types/jest/-/jest-25.1.3.tgz#9b0b5addebccfb631175870be8ba62182f1bc35a" - integrity sha512-jqargqzyJWgWAJCXX96LBGR/Ei7wQcZBvRv0PLEu9ZByMfcs23keUJrKv9FMR6YZf9YCbfqDqgmY+JUBsnqhrg== +"@types/jest@26.0.0": + version "26.0.0" + resolved "https://registry.npmjs.org/@types/jest/-/jest-26.0.0.tgz#a6d7573dffa9c68cbbdf38f2e0de26f159e11134" + integrity sha512-/yeMsH9HQ1RLORlXAwoLXe8S98xxvhNtUz3yrgrwbaxYjT+6SFPZZRksmRKRA6L5vsUtSHeN71viDOTTyYAD+g== dependencies: - jest-diff "^25.1.0" - pretty-format "^25.1.0" + jest-diff "^25.2.1" + pretty-format "^25.2.1" "@types/json-schema@^7.0.3": version "7.0.4" @@ -4403,6 +4413,11 @@ diff-sequences@^25.1.0: resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-25.1.0.tgz#fd29a46f1c913fd66c22645dc75bffbe43051f32" integrity sha512-nFIfVk5B/NStCsJ+zaPO4vYuLjlzQ6uFvPxzYyHlejNZ/UGa7G/n7peOXVrVNvRuyfstt+mZQYGpjxg9Z6N8Kw== +diff-sequences@^25.2.6: + version "25.2.6" + resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-25.2.6.tgz#5f467c00edd35352b7bca46d7927d60e687a76dd" + integrity sha512-Hq8o7+6GaZeoFjtpgvRBUknSXNeJiCx7V9Fr94ZMljNiCr9n9L8H8aJqgWOQiDDGdyn29fRNcDdRVJ5fdyihfg== + dir-glob@^2.2.2: version "2.2.2" resolved "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4" @@ -6632,6 +6647,16 @@ jest-diff@^25.1.0: jest-get-type "^25.1.0" pretty-format "^25.1.0" +jest-diff@^25.2.1: + version "25.5.0" + resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-25.5.0.tgz#1dd26ed64f96667c068cef026b677dfa01afcfa9" + integrity sha512-z1kygetuPiREYdNIumRpAHY6RXiGmp70YHptjdaxTWGmA085W3iCnXNx0DhflK3vwrKmrRWyY1wUpkPMVxMK7A== + dependencies: + chalk "^3.0.0" + diff-sequences "^25.2.6" + jest-get-type "^25.2.6" + pretty-format "^25.5.0" + jest-docblock@^25.1.0: version "25.1.0" resolved "https://registry.npmjs.org/jest-docblock/-/jest-docblock-25.1.0.tgz#0f44bea3d6ca6dfc38373d465b347c8818eccb64" @@ -6678,6 +6703,11 @@ jest-get-type@^25.1.0: resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-25.1.0.tgz#1cfe5fc34f148dc3a8a3b7275f6b9ce9e2e8a876" integrity sha512-yWkBnT+5tMr8ANB6V+OjmrIJufHtCAqI5ic2H40v+tRqxDmE0PGnIiTyvRWFOMtmVHYpwRqyazDbTnhpjsGvLw== +jest-get-type@^25.2.6: + version "25.2.6" + resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-25.2.6.tgz#0b0a32fab8908b44d508be81681487dbabb8d877" + integrity sha512-DxjtyzOHjObRM+sM1knti6or+eOgcGU4xVSb2HNP1TqO4ahsT+rqZg+nyqHWJSvWgKC5cG3QjGFBqxLghiF/Ig== + jest-haste-map@^25.1.0: version "25.1.0" resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-25.1.0.tgz#ae12163d284f19906260aa51fd405b5b2e5a4ad3" @@ -8738,6 +8768,16 @@ pretty-format@^25.1.0: ansi-styles "^4.0.0" react-is "^16.12.0" +pretty-format@^25.2.1, pretty-format@^25.5.0: + version "25.5.0" + resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-25.5.0.tgz#7873c1d774f682c34b8d48b6743a2bf2ac55791a" + integrity sha512-kbo/kq2LQ/A/is0PQwsEHM7Ca6//bGPPvU6UnsdDRSKTWxT/ru/xb88v4BJf6a69H+uTytOEsTusT9ksd/1iWQ== + dependencies: + "@jest/types" "^25.5.0" + ansi-regex "^5.0.0" + ansi-styles "^4.0.0" + react-is "^16.12.0" + prismjs@^1.19.0: version "1.20.0" resolved "https://registry.npmjs.org/prismjs/-/prismjs-1.20.0.tgz#9b685fc480a3514ee7198eac6a3bf5024319ff03" From dd20f9b0c4d1af2cc6776fc980fcfc6c0cfce63c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 13 Jun 2020 14:11:46 +0800 Subject: [PATCH 0130/2192] chore: update dependency ts-jest to v26 (#1934) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 53 ++++++++++++++++++++++++++++++++-------------------- 2 files changed, 34 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index b9525ade87..e73ee411b5 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "lerna-v3": "npm:lerna@3", "lint-staged": "10.2.10", "prettier": "1.17.1", - "ts-jest": "25.2.1", + "ts-jest": "26.1.0", "typescript": "3.8.2" }, "husky": { diff --git a/yarn.lock b/yarn.lock index 41a17a6cc7..442dd9b3fb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7664,6 +7664,14 @@ merge@^1.2.1: resolved "https://registry.npmjs.org/merge/-/merge-1.2.1.tgz#38bebf80c3220a8a487b6fcfb3941bb11720c145" integrity sha512-VjFo4P5Whtj4vsLzsYBu5ayHhoHJ0UqNm7ibvShmbmoz7tGi0vXaoJbGdB+GmDMLUdg8DpQXEIeVDAe8MaABvQ== +micromatch@4.x, micromatch@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259" + integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q== + dependencies: + braces "^3.0.1" + picomatch "^2.0.5" + micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4: version "3.1.10" resolved "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" @@ -7683,14 +7691,6 @@ micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4: snapdragon "^0.8.1" to-regex "^3.0.2" -micromatch@^4.0.2: - version "4.0.2" - resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259" - integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q== - dependencies: - braces "^3.0.1" - picomatch "^2.0.5" - mime-db@1.42.0: version "1.42.0" resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.42.0.tgz#3e252907b4c7adb906597b4b65636272cf9e7bac" @@ -7819,13 +7819,18 @@ mkdirp-promise@^5.0.1: dependencies: mkdirp "*" -mkdirp@*, mkdirp@0.x, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0: +mkdirp@*, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0: version "0.5.1" resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= dependencies: minimist "0.0.8" +mkdirp@1.x: + version "1.0.4" + resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" + integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== + modify-values@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" @@ -9374,7 +9379,7 @@ resolve@1.1.7: resolved "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@1.x, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.3.2, resolve@^1.8.1: +resolve@^1.10.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.3.2, resolve@^1.8.1: version "1.15.1" resolved "https://registry.npmjs.org/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8" integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w== @@ -9576,7 +9581,7 @@ semver-regex@^2.0.0: resolved "https://registry.npmjs.org/semver-regex/-/semver-regex-2.0.0.tgz#a93c2c5844539a770233379107b38c7b4ac9d338" integrity sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw== -"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: +"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -9586,7 +9591,7 @@ semver@7.0.0: resolved "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -semver@7.3.2, semver@^7.2.1: +semver@7.3.2, semver@7.x, semver@^7.2.1: version "7.3.2" resolved "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ== @@ -10448,10 +10453,10 @@ trim-off-newlines@^1.0.0: resolved "https://registry.npmjs.org/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3" integrity sha1-n5up2e+odkw4dpi8v+sshI8RrbM= -ts-jest@25.2.1: - version "25.2.1" - resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-25.2.1.tgz#49bf05da26a8b7fbfbc36b4ae2fcdc2fef35c85d" - integrity sha512-TnntkEEjuXq/Gxpw7xToarmHbAafgCaAzOpnajnFC6jI7oo1trMzAHA04eWpc3MhV6+yvhE8uUBAmN+teRJh0A== +ts-jest@26.1.0: + version "26.1.0" + resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-26.1.0.tgz#e9070fc97b3ea5557a48b67c631c74eb35e15417" + integrity sha512-JbhQdyDMYN5nfKXaAwCIyaWLGwevcT2/dbqRPsQeh6NZPUuXjZQZEfeLb75tz0ubCIgEELNm6xAzTe5NXs5Y4Q== dependencies: bs-logger "0.x" buffer-from "1.x" @@ -10459,10 +10464,10 @@ ts-jest@25.2.1: json5 "2.x" lodash.memoize "4.x" make-error "1.x" - mkdirp "0.x" - resolve "1.x" - semver "^5.5" - yargs-parser "^16.1.0" + micromatch "4.x" + mkdirp "1.x" + semver "7.x" + yargs-parser "18.x" tslib@^1.8.1, tslib@^1.9.0: version "1.10.0" @@ -11062,6 +11067,14 @@ yargonaut@^1.1.2: figlet "^1.1.1" parent-require "^1.0.0" +yargs-parser@18.x: + version "18.1.3" + resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" + integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== + dependencies: + camelcase "^5.0.0" + decamelize "^1.2.0" + yargs-parser@^10.0.0: version "10.1.0" resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz#7202265b89f7e9e9f2e5765e0fe735a905edbaa8" From 0e2ac30e282d3fc85e03a87d1e4c12364d17ff9b Mon Sep 17 00:00:00 2001 From: azxj <1158257471@qq.com> Date: Sat, 13 Jun 2020 14:18:23 +0800 Subject: [PATCH 0131/2192] docs: update README.md (#1004) Correct installed dependencies. --- @commitlint/prompt/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@commitlint/prompt/README.md b/@commitlint/prompt/README.md index bb7d7b8fa1..261d09f10f 100644 --- a/@commitlint/prompt/README.md +++ b/@commitlint/prompt/README.md @@ -9,7 +9,7 @@ Learn how to use it at [docs/prompt](https://conventional-changelog.github.io/co ## Getting started ```bash -npm install --save-dev @commitlint/prompt @commitlint/config-angular commitizen +npm install --save-dev @commitlint/prompt @commitlint/config-conventional commitizen echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js ``` From 019193750db5f159c3df94abe876717fd3c18776 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 13 Jun 2020 14:23:59 +0800 Subject: [PATCH 0132/2192] build(deps): bump acorn from 6.4.0 to 6.4.1 (#1319) Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/yarn.lock b/yarn.lock index 442dd9b3fb..042dd55a3b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2641,16 +2641,11 @@ acorn-walk@^6.0.1: integrity sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA== acorn@^6.0.1: - version "6.4.0" - resolved "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz#b659d2ffbafa24baf5db1cdbb2c94a983ecd2784" - integrity sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw== - -acorn@^7.1.0: - version "7.1.0" - resolved "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c" - integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ== + version "6.4.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.1.tgz#531e58ba3f51b9dacb9a6646ca4debf5b14ca474" + integrity sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA== -acorn@^7.2.0: +acorn@^7.1.0, acorn@^7.2.0: version "7.3.1" resolved "https://registry.npmjs.org/acorn/-/acorn-7.3.1.tgz#85010754db53c3fbaf3b9ea3e083aa5c5d147ffd" integrity sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA== From f3bd16602f725de83211a40a19620dcb30411623 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 13 Jun 2020 14:46:30 +0800 Subject: [PATCH 0133/2192] chore: update typescript-eslint monorepo to v3 (#1935) Co-authored-by: Renovate Bot --- package.json | 4 ++-- yarn.lock | 54 +++++++++++++++++++++++----------------------------- 2 files changed, 26 insertions(+), 32 deletions(-) diff --git a/package.json b/package.json index e73ee411b5..b23acd82aa 100644 --- a/package.json +++ b/package.json @@ -80,8 +80,8 @@ "@lerna/project": "3.21.0", "@types/jest": "26.0.0", "@types/node": "12.12.28", - "@typescript-eslint/eslint-plugin": "^2.19.0", - "@typescript-eslint/parser": "^2.19.0", + "@typescript-eslint/eslint-plugin": "^3.0.0", + "@typescript-eslint/parser": "^3.0.0", "docsify-cli": "^4.4.0", "eslint": "^7.0.0", "eslint-config-prettier": "^6.10.0", diff --git a/yarn.lock b/yarn.lock index 042dd55a3b..412cbbb517 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2530,25 +2530,26 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@^2.19.0": - version "2.20.0" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.20.0.tgz#a522d0e1e4898f7c9c6a8e1ed3579b60867693fa" - integrity sha512-cimIdVDV3MakiGJqMXw51Xci6oEDEoPkvh8ggJe2IIzcc0fYqAxOXN6Vbeanahz6dLZq64W+40iUEc9g32FLDQ== +"@typescript-eslint/eslint-plugin@^3.0.0": + version "3.2.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.2.0.tgz#7fb997f391af32ae6ca1dbe56bcefe4dd30bda14" + integrity sha512-t9RTk/GyYilIXt6BmZurhBzuMT9kLKw3fQoJtK9ayv0tXTlznXEAnx07sCLXdkN3/tZDep1s1CEV95CWuARYWA== dependencies: - "@typescript-eslint/experimental-utils" "2.20.0" - eslint-utils "^1.4.3" + "@typescript-eslint/experimental-utils" "3.2.0" functional-red-black-tree "^1.0.1" regexpp "^3.0.0" + semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@2.20.0": - version "2.20.0" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.20.0.tgz#3b6fa5a6b8885f126d5a4280e0d44f0f41e73e32" - integrity sha512-fEBy9xYrwG9hfBLFEwGW2lKwDRTmYzH3DwTmYbT+SMycmxAoPl0eGretnBFj/s+NfYBG63w/5c3lsvqqz5mYag== +"@typescript-eslint/experimental-utils@3.2.0": + version "3.2.0" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.2.0.tgz#4dab8fc9f44f059ec073470a81bb4d7d7d51e6c5" + integrity sha512-UbJBsk+xO9dIFKtj16+m42EvUvsjZbbgQ2O5xSTSfVT1Z3yGkL90DVu0Hd3029FZ5/uBgl+F3Vo8FAcEcqc6aQ== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "2.20.0" + "@typescript-eslint/typescript-estree" "3.2.0" eslint-scope "^5.0.0" + eslint-utils "^2.0.0" "@typescript-eslint/experimental-utils@^2.5.0": version "2.19.0" @@ -2559,14 +2560,14 @@ "@typescript-eslint/typescript-estree" "2.19.0" eslint-scope "^5.0.0" -"@typescript-eslint/parser@^2.19.0": - version "2.20.0" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.20.0.tgz#608e5bb06ba98a415b64ace994c79ab20f9772a9" - integrity sha512-o8qsKaosLh2qhMZiHNtaHKTHyCHc3Triq6aMnwnWj7budm3xAY9owSZzV1uon5T9cWmJRJGzTFa90aex4m77Lw== +"@typescript-eslint/parser@^3.0.0": + version "3.2.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.2.0.tgz#d9d7867456b1b8ecae9e724269b0bc932f06cbca" + integrity sha512-Vhu+wwdevDLVDjK1lIcoD6ZbuOa93fzqszkaO3iCnmrScmKwyW/AGkzc2UvfE5TCoCXqq7Jyt6SOXjsIlpqF4A== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "2.20.0" - "@typescript-eslint/typescript-estree" "2.20.0" + "@typescript-eslint/experimental-utils" "3.2.0" + "@typescript-eslint/typescript-estree" "3.2.0" eslint-visitor-keys "^1.1.0" "@typescript-eslint/typescript-estree@2.19.0": @@ -2582,17 +2583,17 @@ semver "^6.3.0" tsutils "^3.17.1" -"@typescript-eslint/typescript-estree@2.20.0": - version "2.20.0" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.20.0.tgz#90a0f5598826b35b966ca83483b1a621b1a4d0c9" - integrity sha512-WlFk8QtI8pPaE7JGQGxU7nGcnk1ccKAJkhbVookv94ZcAef3m6oCE/jEDL6dGte3JcD7reKrA0o55XhBRiVT3A== +"@typescript-eslint/typescript-estree@3.2.0": + version "3.2.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.2.0.tgz#c735f1ca6b4d3cd671f30de8c9bde30843e7ead8" + integrity sha512-uh+Y2QO7dxNrdLw7mVnjUqkwO/InxEqwN0wF+Za6eo3coxls9aH9kQ/5rSvW2GcNanebRTmsT5w1/92lAOb1bA== dependencies: debug "^4.1.1" eslint-visitor-keys "^1.1.0" glob "^7.1.6" is-glob "^4.0.1" lodash "^4.17.15" - semver "^6.3.0" + semver "^7.3.2" tsutils "^3.17.1" "@zkochan/cmd-shim@^3.1.0": @@ -4727,13 +4728,6 @@ eslint-scope@^5.1.0: esrecurse "^4.1.0" estraverse "^4.1.1" -eslint-utils@^1.4.3: - version "1.4.3" - resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f" - integrity sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q== - dependencies: - eslint-visitor-keys "^1.1.0" - eslint-utils@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.0.0.tgz#7be1cc70f27a72a76cd14aa698bcabed6890e1cd" @@ -9586,7 +9580,7 @@ semver@7.0.0: resolved "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -semver@7.3.2, semver@7.x, semver@^7.2.1: +semver@7.3.2, semver@7.x, semver@^7.2.1, semver@^7.3.2: version "7.3.2" resolved "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ== From 0ff72f41bd48b3dd37f881f6fb11477d8f643735 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 13 Jun 2020 14:46:40 +0800 Subject: [PATCH 0134/2192] fix: update dependency tmp to v0.2.1 (#1817) Co-authored-by: Renovate Bot --- @packages/test-environment/package.json | 4 ++-- @packages/test/package.json | 4 ++-- yarn.lock | 18 +++++++++--------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index a979394c50..769ac12311 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -26,8 +26,8 @@ ], "license": "MIT", "dependencies": { - "@types/tmp": "^0.1.0", - "tmp": "0.1.0" + "@types/tmp": "^0.2.0", + "tmp": "0.2.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@packages/test/package.json b/@packages/test/package.json index 3ca6ed6506..3fa48d0f44 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -30,12 +30,12 @@ "license": "MIT", "dependencies": { "@types/fs-extra": "^8.0.1", - "@types/tmp": "^0.1.0", + "@types/tmp": "^0.2.0", "execa": "^3.4.0", "fs-extra": "^8.1.0", "pkg-dir": "4.2.0", "resolve-pkg": "2.0.0", - "tmp": "0.1.0" + "tmp": "0.2.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/yarn.lock b/yarn.lock index 412cbbb517..d4e2b19fc3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2513,10 +2513,10 @@ resolved "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e" integrity sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw== -"@types/tmp@^0.1.0": - version "0.1.0" - resolved "https://registry.npmjs.org/@types/tmp/-/tmp-0.1.0.tgz#19cf73a7bcf641965485119726397a096f0049bd" - integrity sha512-6IwZ9HzWbCq6XoQWhxLpDjuADodH/MKXRUIDFudvgjcVdjFknvmR+DNsoUeer4XPrEnrZs04Jj+kfV9pFsrhmA== +"@types/tmp@^0.2.0": + version "0.2.0" + resolved "https://registry.npmjs.org/@types/tmp/-/tmp-0.2.0.tgz#e3f52b4d7397eaa9193592ef3fdd44dc0af4298c" + integrity sha512-flgpHJjntpBAdJD43ShRosQvNC0ME97DCfGvZEDlAThQmnerRXrLbX6YgzRBQCZTthET9eAWFAMaYP0m0Y4HzQ== "@types/yargs-parser@*": version "13.1.0" @@ -10329,12 +10329,12 @@ tinydate@^1.0.0: resolved "https://registry.npmjs.org/tinydate/-/tinydate-1.2.0.tgz#36b4bb02715f89743f3ef9073d3573d005a28d0e" integrity sha512-3GwPk8VhDFnUZ2TrgkhXJs6hcMAIIw4x/xkz+ayK6dGoQmp2nUwKzBXK0WnMsqkh6vfUhpqQicQF3rbshfyJkg== -tmp@0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/tmp/-/tmp-0.1.0.tgz#ee434a4e22543082e294ba6201dcc6eafefa2877" - integrity sha512-J7Z2K08jbGcdA1kkQpJSqLF6T0tdQqpR2pnSUXsIchbPdTI9v3e85cLW0d6WDhwuAleOV71j2xWs8qMPfK7nKw== +tmp@0.2.1: + version "0.2.1" + resolved "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" + integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ== dependencies: - rimraf "^2.6.3" + rimraf "^3.0.0" tmp@^0.0.33: version "0.0.33" From 4bafaac843e94ef17cc97bff5f6d1f8396971703 Mon Sep 17 00:00:00 2001 From: hannes Date: Sat, 13 Jun 2020 14:57:56 +0800 Subject: [PATCH 0135/2192] chore: add node 13/14 to circle-ci jobs (#1937) --- .circleci/config.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index ee75a34cf5..efaff23490 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -91,6 +91,16 @@ jobs: - image: node:12 steps: - run-all + v13: + docker: + - image: node:13 + steps: + - run-all + v14: + docker: + - image: node:14 + steps: + - run-all windows-v12: executor: win/default steps: @@ -102,4 +112,6 @@ workflows: - v8 - v10 - v12 + - v13 + - v14 - windows-v12 From a5d8fa118e8221361f14f5fd2b21d7aaad008a27 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2020 14:14:20 +0800 Subject: [PATCH 0136/2192] fix: update dependency chalk to v4 (#1275) Co-authored-by: Renovate Bot --- @commitlint/cli/package.json | 2 +- @commitlint/format/package.json | 2 +- @commitlint/load/package.json | 2 +- @commitlint/prompt/package.json | 2 +- yarn.lock | 16 ++++++++++++---- 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 3602d89494..c463011b8a 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -62,7 +62,7 @@ "@commitlint/lint": "^9.0.1", "@commitlint/load": "^9.0.1", "@commitlint/read": "^9.0.1", - "chalk": "3.0.0", + "chalk": "4.1.0", "core-js": "^3.6.1", "get-stdin": "7.0.0", "lodash": "^4.17.15", diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index 7b39404944..dddb5d9a24 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -37,7 +37,7 @@ "@commitlint/utils": "^9.0.1" }, "dependencies": { - "chalk": "^3.0.0" + "chalk": "^4.0.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index aadc1d509f..2a1df608e0 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -43,7 +43,7 @@ "@commitlint/execute-rule": "^9.0.1", "@commitlint/resolve-extends": "^9.0.1", "@commitlint/types": "^9.0.1", - "chalk": "3.0.0", + "chalk": "4.1.0", "cosmiconfig": "^6.0.0", "lodash": "^4.17.15", "resolve-from": "^5.0.0" diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 8adb5938aa..c0940f44d4 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -58,7 +58,7 @@ "dependencies": { "@babel/runtime": "^7.9.6", "@commitlint/load": "^9.0.1", - "chalk": "^3.0.0", + "chalk": "^4.0.0", "lodash": "^4.17.15", "throat": "^5.0.0", "vorpal": "^1.12.0" diff --git a/yarn.lock b/yarn.lock index d4e2b19fc3..0a20d30c24 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3343,10 +3343,10 @@ caseless@~0.12.0: resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= -chalk@3.0.0, chalk@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4" - integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg== +chalk@4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" + integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== dependencies: ansi-styles "^4.1.0" supports-color "^7.1.0" @@ -3371,6 +3371,14 @@ chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4 escape-string-regexp "^1.0.5" supports-color "^5.3.0" +chalk@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4" + integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + chalk@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/chalk/-/chalk-4.0.0.tgz#6e98081ed2d17faab615eb52ac66ec1fe6209e72" From 9f14e1ca6825daae9912f467cf8b8e216baf4651 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2020 14:14:33 +0800 Subject: [PATCH 0137/2192] chore: update dependency eslint-config-prettier to v6.11.0 (#1055) Co-authored-by: Renovate Bot --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 0a20d30c24..fe760ef7fc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4673,9 +4673,9 @@ escodegen@^1.11.1: source-map "~0.6.1" eslint-config-prettier@^6.10.0: - version "6.10.0" - resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.10.0.tgz#7b15e303bf9c956875c948f6b21500e48ded6a7f" - integrity sha512-AtndijGte1rPILInUdHjvKEGbIV06NuvPrqlIEaEaWtbtvJh464mDeyGMdZEQMsGvC0ZVkiex1fSNcC4HAbRGg== + version "6.11.0" + resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.11.0.tgz#f6d2238c1290d01c859a8b5c1f7d352a0b0da8b1" + integrity sha512-oB8cpLWSAjOVFEJhhyMZh6NOEOtBVziaqdDQ86+qhDHFbZXoRTM7pNSvFRfW/W/L/LrQ38C99J5CGuRBBzBsdA== dependencies: get-stdin "^6.0.0" From 7cb79ae75bccac2ae72ff62e81ee393d96fe244a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2020 14:14:45 +0800 Subject: [PATCH 0138/2192] chore: update dependency eslint-plugin-import to v2.21.2 (#1194) Co-authored-by: Renovate Bot --- yarn.lock | 145 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 90 insertions(+), 55 deletions(-) diff --git a/yarn.lock b/yarn.lock index fe760ef7fc..a0a46a0c7f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2471,6 +2471,11 @@ resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.4.tgz#38fd73ddfd9b55abb1e1b2ed578cb55bd7b7d339" integrity sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA== +"@types/json5@^0.0.29": + version "0.0.29" + resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" + integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= + "@types/lodash@4.14.149": version "4.14.149" resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.149.tgz#1342d63d948c6062838fbf961012f74d4e638440" @@ -2852,7 +2857,7 @@ array-ify@^1.0.0: resolved "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" integrity sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4= -array-includes@^3.0.3: +array-includes@^3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/array-includes/-/array-includes-3.1.1.tgz#cdd67e6852bdf9c1215460786732255ed2459348" integrity sha512-c2VXaCHl7zPsvpkFsw4nxvFie4fh1ur9bpcgsVkIjqn0H/Xwdg+7fv3n2r/isyS8EBj5b06M9kHyZuIr4El6WQ== @@ -2883,7 +2888,7 @@ array-unique@^0.3.2: resolved "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg= -array.prototype.flat@^1.2.1: +array.prototype.flat@^1.2.3: version "1.2.3" resolved "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz#0de82b426b0318dbfdb940089e38b043d37f6c7b" integrity sha512-gBlRZV0VSmfPIeWfuuy56XZMvbVfbEUnOXUvt3F/eUUUSyzlgLxhEX4YAEpxNAogRGehPSnfXyPtYyKAhkzQhQ== @@ -4612,22 +4617,22 @@ error-ex@^1.2.0, error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -es-abstract@^1.17.0, es-abstract@^1.17.0-next.1: - version "1.17.0" - resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.0.tgz#f42a517d0036a5591dbb2c463591dc8bb50309b1" - integrity sha512-yYkE07YF+6SIBmg1MsJ9dlub5L48Ek7X0qz+c/CPCHS9EBXfESorzng4cJQjJW5/pB6vDF41u7F8vUhLVDqIug== +es-abstract@^1.17.0, es-abstract@^1.17.0-next.1, es-abstract@^1.17.5: + version "1.17.6" + resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz#9142071707857b2cacc7b89ecb670316c3e2d52a" + integrity sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw== dependencies: es-to-primitive "^1.2.1" function-bind "^1.1.1" has "^1.0.3" has-symbols "^1.0.1" - is-callable "^1.1.5" - is-regex "^1.0.5" + is-callable "^1.2.0" + is-regex "^1.1.0" object-inspect "^1.7.0" object-keys "^1.1.1" object.assign "^4.1.0" - string.prototype.trimleft "^2.1.1" - string.prototype.trimright "^2.1.1" + string.prototype.trimend "^1.0.1" + string.prototype.trimstart "^1.0.1" es-to-primitive@^1.2.1: version "1.2.1" @@ -4679,7 +4684,7 @@ eslint-config-prettier@^6.10.0: dependencies: get-stdin "^6.0.0" -eslint-import-resolver-node@^0.3.2: +eslint-import-resolver-node@^0.3.3: version "0.3.3" resolved "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.3.tgz#dbaa52b6b2816b50bc6711af75422de808e98404" integrity sha512-b8crLDo0M5RSe5YG8Pu2DYBj71tSB6OvXkfzwbJU2w7y8P4/yo0MyF8jU26IEuEuHF2K5/gcAJE3LhQGqBBbVg== @@ -4687,31 +4692,32 @@ eslint-import-resolver-node@^0.3.2: debug "^2.6.9" resolve "^1.13.1" -eslint-module-utils@^2.4.1: - version "2.5.2" - resolved "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.5.2.tgz#7878f7504824e1b857dd2505b59a8e5eda26a708" - integrity sha512-LGScZ/JSlqGKiT8OC+cYRxseMjyqt6QO54nl281CK93unD89ijSeRV6An8Ci/2nvWVKe8K/Tqdm75RQoIOCr+Q== +eslint-module-utils@^2.6.0: + version "2.6.0" + resolved "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz#579ebd094f56af7797d19c9866c9c9486629bfa6" + integrity sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA== dependencies: debug "^2.6.9" pkg-dir "^2.0.0" eslint-plugin-import@^2.20.1: - version "2.20.1" - resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.20.1.tgz#802423196dcb11d9ce8435a5fc02a6d3b46939b3" - integrity sha512-qQHgFOTjguR+LnYRoToeZWT62XM55MBVXObHM6SKFd1VzDcX/vqT1kAz8ssqigh5eMj8qXcRoXXGZpPP6RfdCw== + version "2.21.2" + resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.21.2.tgz#8fef77475cc5510801bedc95f84b932f7f334a7c" + integrity sha512-FEmxeGI6yaz+SnEB6YgNHlQK1Bs2DKLM+YF+vuTk5H8J9CLbJLtlPvRFgZZ2+sXiKAlN5dpdlrWOjK8ZoZJpQA== dependencies: - array-includes "^3.0.3" - array.prototype.flat "^1.2.1" + array-includes "^3.1.1" + array.prototype.flat "^1.2.3" contains-path "^0.1.0" debug "^2.6.9" doctrine "1.5.0" - eslint-import-resolver-node "^0.3.2" - eslint-module-utils "^2.4.1" + eslint-import-resolver-node "^0.3.3" + eslint-module-utils "^2.6.0" has "^1.0.3" minimatch "^3.0.4" - object.values "^1.1.0" + object.values "^1.1.1" read-pkg-up "^2.0.0" - resolve "^1.12.0" + resolve "^1.17.0" + tsconfig-paths "^3.9.0" eslint-plugin-jest@^23.6.0: version "23.7.0" @@ -5844,7 +5850,12 @@ homedir-polyfill@^1.0.1: dependencies: parse-passwd "^1.0.0" -hosted-git-info@^2.1.4, hosted-git-info@^2.5.0, hosted-git-info@^2.7.1: +hosted-git-info@^2.1.4: + version "2.8.8" + resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz#7539bd4bc1e0e0a895815a2e0262420b12858488" + integrity sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg== + +hosted-git-info@^2.5.0, hosted-git-info@^2.7.1: version "2.8.5" resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c" integrity sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg== @@ -6234,10 +6245,10 @@ is-builtin-module@3.0.0: dependencies: builtin-modules "^3.0.0" -is-callable@^1.1.4, is-callable@^1.1.5: - version "1.1.5" - resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz#f7e46b596890456db74e7f6e976cb3273d06faab" - integrity sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q== +is-callable@^1.1.4, is-callable@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz#83336560b54a38e35e3a2df7afd0454d691468bb" + integrity sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw== is-ci@^1.0.10: version "1.2.1" @@ -6419,12 +6430,12 @@ is-redirect@^1.0.0: resolved "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" integrity sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ= -is-regex@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz#39d589a358bf18967f726967120b8fc1aed74eae" - integrity sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ== +is-regex@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.1.0.tgz#ece38e389e490df0dc21caea2bd596f987f767ff" + integrity sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw== dependencies: - has "^1.0.3" + has-symbols "^1.0.1" is-regexp@^1.0.0: version "1.0.0" @@ -7043,6 +7054,13 @@ json5@2.x, json5@^2.1.0: dependencies: minimist "^1.2.0" +json5@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe" + integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow== + dependencies: + minimist "^1.2.0" + json5@^2.1.2: version "2.1.3" resolved "https://registry.npmjs.org/json5/-/json5-2.1.3.tgz#c9b0f7fa9233bfe5807fe66fcf3a5617ed597d43" @@ -8203,7 +8221,7 @@ object.pick@^1.3.0: dependencies: isobject "^3.0.1" -object.values@^1.1.0: +object.values@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/object.values/-/object.values-1.1.1.tgz#68a99ecde356b7e9295a3c5e0ce31dc8c953de5e" integrity sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA== @@ -9376,7 +9394,14 @@ resolve@1.1.7: resolved "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@^1.10.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.3.2, resolve@^1.8.1: +resolve@^1.10.0, resolve@^1.13.1, resolve@^1.17.0: + version "1.17.0" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444" + integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w== + dependencies: + path-parse "^1.0.6" + +resolve@^1.3.2, resolve@^1.8.1: version "1.15.1" resolved "https://registry.npmjs.org/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8" integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w== @@ -9843,22 +9868,22 @@ source-map@^0.7.3: integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== spdx-correct@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" - integrity sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q== + version "3.1.1" + resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz#dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9" + integrity sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w== dependencies: spdx-expression-parse "^3.0.0" spdx-license-ids "^3.0.0" spdx-exceptions@^2.1.0: - version "2.2.0" - resolved "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz#2ea450aee74f2a89bfb94519c07fcd6f41322977" - integrity sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA== + version "2.3.0" + resolved "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz#3f28ce1a77a00372683eade4a433183527a2163d" + integrity sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A== spdx-expression-parse@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz#99e119b7a5da00e05491c9fa338b7904823b41d0" - integrity sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg== + version "3.0.1" + resolved "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz#cf70f50482eefdc98e3ce0a6833e4a53ceeba679" + integrity sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q== dependencies: spdx-exceptions "^2.1.0" spdx-license-ids "^3.0.0" @@ -10000,21 +10025,21 @@ string-width@^4.1.0, string-width@^4.2.0: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.0" -string.prototype.trimleft@^2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz#9bdb8ac6abd6d602b17a4ed321870d2f8dcefc74" - integrity sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag== +string.prototype.trimend@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz#85812a6b847ac002270f5808146064c995fb6913" + integrity sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g== dependencies: define-properties "^1.1.3" - function-bind "^1.1.1" + es-abstract "^1.17.5" -string.prototype.trimright@^2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz#440314b15996c866ce8a0341894d45186200c5d9" - integrity sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g== +string.prototype.trimstart@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz#14af6d9f34b053f7cfc89b72f8f2ee14b9039a54" + integrity sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw== dependencies: define-properties "^1.1.3" - function-bind "^1.1.1" + es-abstract "^1.17.5" string_decoder@^1.1.1: version "1.3.0" @@ -10466,6 +10491,16 @@ ts-jest@26.1.0: semver "7.x" yargs-parser "18.x" +tsconfig-paths@^3.9.0: + version "3.9.0" + resolved "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.9.0.tgz#098547a6c4448807e8fcb8eae081064ee9a3c90b" + integrity sha512-dRcuzokWhajtZWkQsDVKbWyY+jgcLC5sqJhg2PSgf4ZkH2aHPvaOY8YWGhmjb68b5qqTfasSsDO9k7RUiEmZAw== + dependencies: + "@types/json5" "^0.0.29" + json5 "^1.0.1" + minimist "^1.2.0" + strip-bom "^3.0.0" + tslib@^1.8.1, tslib@^1.9.0: version "1.10.0" resolved "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" From dfc91c6d2e1818b2b3755cd94eac3204e43c1feb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2020 12:21:22 +0800 Subject: [PATCH 0139/2192] chore: update typescript-eslint monorepo to v3.3.0 (#1941) Co-authored-by: Renovate Bot --- yarn.lock | 79 +++++++++++++++++++++++-------------------------------- 1 file changed, 33 insertions(+), 46 deletions(-) diff --git a/yarn.lock b/yarn.lock index a0a46a0c7f..417f139bff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2467,9 +2467,9 @@ pretty-format "^25.2.1" "@types/json-schema@^7.0.3": - version "7.0.4" - resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.4.tgz#38fd73ddfd9b55abb1e1b2ed578cb55bd7b7d339" - integrity sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA== + version "7.0.5" + resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.5.tgz#dcce4430e64b443ba8945f0290fb564ad5bac6dd" + integrity sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ== "@types/json5@^0.0.29": version "0.0.29" @@ -2536,23 +2536,23 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^3.0.0": - version "3.2.0" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.2.0.tgz#7fb997f391af32ae6ca1dbe56bcefe4dd30bda14" - integrity sha512-t9RTk/GyYilIXt6BmZurhBzuMT9kLKw3fQoJtK9ayv0tXTlznXEAnx07sCLXdkN3/tZDep1s1CEV95CWuARYWA== + version "3.3.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.3.0.tgz#89518e5c5209a349bde161c3489b0ec187ae5d37" + integrity sha512-Ybx/wU75Tazz6nU2d7nN6ll0B98odoiYLXwcuwS5WSttGzK46t0n7TPRQ4ozwcTv82UY6TQoIvI+sJfTzqK9dQ== dependencies: - "@typescript-eslint/experimental-utils" "3.2.0" + "@typescript-eslint/experimental-utils" "3.3.0" functional-red-black-tree "^1.0.1" regexpp "^3.0.0" semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@3.2.0": - version "3.2.0" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.2.0.tgz#4dab8fc9f44f059ec073470a81bb4d7d7d51e6c5" - integrity sha512-UbJBsk+xO9dIFKtj16+m42EvUvsjZbbgQ2O5xSTSfVT1Z3yGkL90DVu0Hd3029FZ5/uBgl+F3Vo8FAcEcqc6aQ== +"@typescript-eslint/experimental-utils@3.3.0": + version "3.3.0" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.3.0.tgz#d72a946e056a83d4edf97f3411cceb639b0b8c87" + integrity sha512-d4pGIAbu/tYsrPrdHCQ5xfadJGvlkUxbeBB56nO/VGmEDi/sKmfa5fGty5t5veL1OyJBrUmSiRn1R1qfVDydrg== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "3.2.0" + "@typescript-eslint/typescript-estree" "3.3.0" eslint-scope "^5.0.0" eslint-utils "^2.0.0" @@ -2566,13 +2566,13 @@ eslint-scope "^5.0.0" "@typescript-eslint/parser@^3.0.0": - version "3.2.0" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.2.0.tgz#d9d7867456b1b8ecae9e724269b0bc932f06cbca" - integrity sha512-Vhu+wwdevDLVDjK1lIcoD6ZbuOa93fzqszkaO3iCnmrScmKwyW/AGkzc2UvfE5TCoCXqq7Jyt6SOXjsIlpqF4A== + version "3.3.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.3.0.tgz#fcae40012ded822aa8b2739a1a03a4e3c5bbb7bb" + integrity sha512-a7S0Sqn/+RpOOWTcaLw6RD4obsharzxmgMfdK24l364VxuBODXjuJM7ImCkSXEN7oz52aiZbXSbc76+2EsE91w== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "3.2.0" - "@typescript-eslint/typescript-estree" "3.2.0" + "@typescript-eslint/experimental-utils" "3.3.0" + "@typescript-eslint/typescript-estree" "3.3.0" eslint-visitor-keys "^1.1.0" "@typescript-eslint/typescript-estree@2.19.0": @@ -2588,10 +2588,10 @@ semver "^6.3.0" tsutils "^3.17.1" -"@typescript-eslint/typescript-estree@3.2.0": - version "3.2.0" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.2.0.tgz#c735f1ca6b4d3cd671f30de8c9bde30843e7ead8" - integrity sha512-uh+Y2QO7dxNrdLw7mVnjUqkwO/InxEqwN0wF+Za6eo3coxls9aH9kQ/5rSvW2GcNanebRTmsT5w1/92lAOb1bA== +"@typescript-eslint/typescript-estree@3.3.0": + version "3.3.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.3.0.tgz#841ffed25c29b0049ebffb4c2071268a34558a2a" + integrity sha512-3SqxylENltEvJsjjMSDCUx/edZNSC7wAqifUU1Ywp//0OWEZwMZJfecJud9XxJ/40rAKEbJMKBOQzeOjrLJFzQ== dependencies: debug "^4.1.1" eslint-visitor-keys "^1.1.0" @@ -4726,15 +4726,7 @@ eslint-plugin-jest@^23.6.0: dependencies: "@typescript-eslint/experimental-utils" "^2.5.0" -eslint-scope@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz#e87c8887c73e8d1ec84f1ca591645c358bfc8fb9" - integrity sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw== - dependencies: - esrecurse "^4.1.0" - estraverse "^4.1.1" - -eslint-scope@^5.1.0: +eslint-scope@^5.0.0, eslint-scope@^5.1.0: version "5.1.0" resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.0.tgz#d0f971dfe59c69e0cada684b23d49dbf82600ce5" integrity sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w== @@ -4743,18 +4735,13 @@ eslint-scope@^5.1.0: estraverse "^4.1.1" eslint-utils@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.0.0.tgz#7be1cc70f27a72a76cd14aa698bcabed6890e1cd" - integrity sha512-0HCPuJv+7Wv1bACm8y5/ECVfYdfsAm9xmVb7saeFlxjPYALefjhbYoCkBjPdPzGH8wWyTpAez82Fh3VKYEZ8OA== + version "2.1.0" + resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" + integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg== dependencies: eslint-visitor-keys "^1.1.0" -eslint-visitor-keys@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2" - integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A== - -eslint-visitor-keys@^1.2.0: +eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.2.0.tgz#74415ac884874495f78ec2a97349525344c981fa" integrity sha512-WFb4ihckKil6hu3Dp798xdzSfddwKKU3+nGniKF6HfeW6OLd2OUDEPP7TcHtB5+QXOKg2s6B2DaMPE1Nn/kxKQ== @@ -9181,12 +9168,7 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" -regexpp@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.0.0.tgz#dd63982ee3300e67b41c1956f850aa680d9d330e" - integrity sha512-Z+hNr7RAVWxznLPuA7DIh8UNX1j9CDrUQxskw9IrBE1Dxue2lyXT+shqEIeLUjrokxIP8CMy1WkjgG3rTsd5/g== - -regexpp@^3.1.0: +regexpp@^3.0.0, regexpp@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" integrity sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q== @@ -10501,7 +10483,12 @@ tsconfig-paths@^3.9.0: minimist "^1.2.0" strip-bom "^3.0.0" -tslib@^1.8.1, tslib@^1.9.0: +tslib@^1.8.1: + version "1.13.0" + resolved "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043" + integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q== + +tslib@^1.9.0: version "1.10.0" resolved "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== From d7fe570033ddbe917f16132061edf52485a85b75 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 18 Jun 2020 10:38:24 +0800 Subject: [PATCH 0140/2192] chore: update dependency lint-staged to v10.2.11 (#1943) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index b23acd82aa..065413234c 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "lerna": "3.22.1", "lerna-v2": "npm:lerna@2", "lerna-v3": "npm:lerna@3", - "lint-staged": "10.2.10", + "lint-staged": "10.2.11", "prettier": "1.17.1", "ts-jest": "26.1.0", "typescript": "3.8.2" diff --git a/yarn.lock b/yarn.lock index 417f139bff..18b0cbfc56 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7253,10 +7253,10 @@ lines-and-columns@^1.1.6: resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= -lint-staged@10.2.10: - version "10.2.10" - resolved "https://registry.npmjs.org/lint-staged/-/lint-staged-10.2.10.tgz#f0f78bf8786bbe90e1775a0dc540f7f12b6a79b2" - integrity sha512-dgelFaNH6puUGAcU+OVMgbfpKSerNYsPSn6+nlbRDjovL0KigpsVpCu0PFZG6BJxX8gnHJqaZlR9krZamQsb0w== +lint-staged@10.2.11: + version "10.2.11" + resolved "https://registry.npmjs.org/lint-staged/-/lint-staged-10.2.11.tgz#713c80877f2dc8b609b05bc59020234e766c9720" + integrity sha512-LRRrSogzbixYaZItE2APaS4l2eJMjjf5MbclRZpLJtcQJShcvUzKXsNeZgsLIZ0H0+fg2tL4B59fU9wHIHtFIA== dependencies: chalk "^4.0.0" cli-truncate "2.1.0" From 9578d3e1e6b552ab361e4e98cdf29a3cef03c5fa Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 18 Jun 2020 11:34:19 +0800 Subject: [PATCH 0141/2192] chore: update dependency eslint-plugin-jest to v23.13.2 (#1005) Co-authored-by: Renovate Bot --- yarn.lock | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/yarn.lock b/yarn.lock index 18b0cbfc56..046df38695 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2557,13 +2557,14 @@ eslint-utils "^2.0.0" "@typescript-eslint/experimental-utils@^2.5.0": - version "2.19.0" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.19.0.tgz#d5ca732f22c009e515ba09fcceb5f2127d841568" - integrity sha512-zwpg6zEOPbhB3+GaQfufzlMUOO6GXCNZq6skk+b2ZkZAIoBhVoanWK255BS1g5x9bMwHpLhX0Rpn5Fc3NdCZdg== + version "2.34.0" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.34.0.tgz#d3524b644cdb40eebceca67f8cf3e4cc9c8f980f" + integrity sha512-eS6FTkq+wuMJ+sgtuNTtcqavWXqsflWcfBnlYhg/nS4aZ1leewkXGbvBhaapn1q6qf4M71bsR1tez5JTRMuqwA== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "2.19.0" + "@typescript-eslint/typescript-estree" "2.34.0" eslint-scope "^5.0.0" + eslint-utils "^2.0.0" "@typescript-eslint/parser@^3.0.0": version "3.3.0" @@ -2575,17 +2576,17 @@ "@typescript-eslint/typescript-estree" "3.3.0" eslint-visitor-keys "^1.1.0" -"@typescript-eslint/typescript-estree@2.19.0": - version "2.19.0" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.19.0.tgz#6bd7310b9827e04756fe712909f26956aac4b196" - integrity sha512-n6/Xa37k0jQdwpUszffi19AlNbVCR0sdvCs3DmSKMD7wBttKY31lhD2fug5kMD91B2qW4mQldaTEc1PEzvGu8w== +"@typescript-eslint/typescript-estree@2.34.0": + version "2.34.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.34.0.tgz#14aeb6353b39ef0732cc7f1b8285294937cf37d5" + integrity sha512-OMAr+nJWKdlVM9LOqCqh3pQQPwxHAN7Du8DR6dmwCrAmxtiXQnhHJ6tBNtf+cggqfo51SG/FCwnKhXCIM7hnVg== dependencies: debug "^4.1.1" eslint-visitor-keys "^1.1.0" glob "^7.1.6" is-glob "^4.0.1" lodash "^4.17.15" - semver "^6.3.0" + semver "^7.3.2" tsutils "^3.17.1" "@typescript-eslint/typescript-estree@3.3.0": @@ -4720,9 +4721,9 @@ eslint-plugin-import@^2.20.1: tsconfig-paths "^3.9.0" eslint-plugin-jest@^23.6.0: - version "23.7.0" - resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.7.0.tgz#84d5603b6e745b59898cb6750df6a44782a39b04" - integrity sha512-zkiyGlvJeHNjAEz8FaIxTXNblJJ/zj3waNbYbgflK7K6uy0cpE5zJBt/JpJtOBGM/UGkC6BqsQ4n0y7kQ2HA8w== + version "23.13.2" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.13.2.tgz#7b7993b4e09be708c696b02555083ddefd7e4cc7" + integrity sha512-qZit+moTXTyZFNDqSIR88/L3rdBlTU7CuW6XmyErD2FfHEkdoLgThkRbiQjzgYnX6rfgLx3Ci4eJmF4Ui5v1Cw== dependencies: "@typescript-eslint/experimental-utils" "^2.5.0" From 9e953c665659220ae53a9fb5d3154653f5e77263 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 18 Jun 2020 11:34:51 +0800 Subject: [PATCH 0142/2192] chore: update dependency @types/node to v12.12.47 (#1011) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 065413234c..3871f08c0c 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "devDependencies": { "@lerna/project": "3.21.0", "@types/jest": "26.0.0", - "@types/node": "12.12.28", + "@types/node": "12.12.47", "@typescript-eslint/eslint-plugin": "^3.0.0", "@typescript-eslint/parser": "^3.0.0", "docsify-cli": "^4.4.0", diff --git a/yarn.lock b/yarn.lock index 046df38695..d701579099 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2491,10 +2491,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9" integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA== -"@types/node@12.12.28": - version "12.12.28" - resolved "https://registry.npmjs.org/@types/node/-/node-12.12.28.tgz#3a2b5f8d21f96ace690a8832ae9779114612575f" - integrity sha512-g73GJYJDXgf0jqg+P9S8h2acWbDXNkoCX8DLtJVu7Fkn788pzQ/oJsrdJz/2JejRf/SjfZaAhsw+3nd1D5EWGg== +"@types/node@12.12.47": + version "12.12.47" + resolved "https://registry.npmjs.org/@types/node/-/node-12.12.47.tgz#5007b8866a2f9150de82335ca7e24dd1d59bdfb5" + integrity sha512-yzBInQFhdY8kaZmqoL2+3U5dSTMrKaYcb561VU+lDzAYvqt+2lojvBEy+hmpSNuXnPTx7m9+04CzWYOUqWME2A== "@types/normalize-package-data@^2.4.0": version "2.4.0" From 7b29c48321b513e091849fbb2cc2bf0e6ebb94a6 Mon Sep 17 00:00:00 2001 From: Ema Suriano Date: Thu, 18 Jun 2020 11:23:50 +0200 Subject: [PATCH 0143/2192] feat: add local plugins support (#1692) * feat: add local plugins support * docs: adding plugin reference * test: local plugin" " --- @commitlint/load/src/load.test.ts | 22 +++++++++++++++++++ @commitlint/load/src/load.ts | 8 +++++-- @commitlint/types/src/load.ts | 2 +- docs/reference-plugins.md | 35 +++++++++++++++++++++++++++++++ 4 files changed, 64 insertions(+), 3 deletions(-) diff --git a/@commitlint/load/src/load.test.ts b/@commitlint/load/src/load.test.ts index bf633a8c82..80e71147d9 100644 --- a/@commitlint/load/src/load.test.ts +++ b/@commitlint/load/src/load.test.ts @@ -63,6 +63,28 @@ test('plugins should be loaded from seed', async () => { }); }); +test('plugins should be loaded from local', async () => { + const actual = await load({ + plugins: [ + { + rules: { + test: () => [true, 'asd'] + } + } + ] + }); + + expect(actual.plugins).toEqual( + expect.objectContaining({ + local: { + rules: { + test: expect.any(Function) + } + } + }) + ); +}); + test('plugins should be loaded from config', async () => { const cwd = await gitBootstrap('fixtures/extends-plugins'); const actual = await load({}, {cwd}); diff --git a/@commitlint/load/src/load.ts b/@commitlint/load/src/load.ts index ae083b0692..63fec9b908 100644 --- a/@commitlint/load/src/load.ts +++ b/@commitlint/load/src/load.ts @@ -86,8 +86,12 @@ export default async function load( // resolve plugins if (Array.isArray(config.plugins)) { - config.plugins.forEach((pluginKey: string) => { - loadPlugin(preset.plugins, pluginKey, process.env.DEBUG === 'true'); + config.plugins.forEach(plugin => { + if (typeof plugin === 'string') { + loadPlugin(preset.plugins, plugin, process.env.DEBUG === 'true'); + } else { + preset.plugins.local = plugin; + } }); } diff --git a/@commitlint/types/src/load.ts b/@commitlint/types/src/load.ts index 6f446b1369..d6feebca38 100644 --- a/@commitlint/types/src/load.ts +++ b/@commitlint/types/src/load.ts @@ -96,7 +96,7 @@ export interface UserConfig { parserPreset?: string | ParserPreset; ignores?: ((commit: string) => boolean)[]; defaultIgnores?: boolean; - plugins?: string[]; + plugins?: (string | Plugin)[]; } export interface UserPreset { diff --git a/docs/reference-plugins.md b/docs/reference-plugins.md index a5b1bd0b0c..6782fb49d5 100644 --- a/docs/reference-plugins.md +++ b/docs/reference-plugins.md @@ -43,6 +43,41 @@ Recommended keywords: Add these keywords into your `package.json` file to make it easy for others to find. +## Local Plugins + +In case you want to develop your plugins locally without the need to publish to `npm`, you can send declare your plugins inside your project locally. Please be aware that you can declare **only one** local plugin. + +### Usage Example + +```js +// commitlint.config.js +module.exports = { + rules: { + 'hello-world-rule': [2, 'always'] + }, + plugins: [ + { + rules: { + 'hello-world-rule': ({subject}) => { + const HELLO_WORLD = 'Hello World'; + return [ + subject.includes(HELLO_WORLD), + `Your subject should contain ${HELLO_WORLD} message` + ]; + } + } + } + ] +}; +``` + +### Usage Example + +```bash +> echo "feat: random subject" | commitlint # fails +> echo "feat: Hello World" | commitlint # passes +``` + ## Further Reading - [npm Developer Guide](https://docs.npmjs.com/misc/developers) From 94f0b531ebcf3a6cc60878693948fa09db385762 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 21 Jun 2020 14:16:11 +0800 Subject: [PATCH 0144/2192] chore: update babel monorepo (#1968) Co-authored-by: Renovate Bot --- @commitlint/travis-cli/package.json | 4 +- yarn.lock | 117 ++++++++++++++++++++++++---- 2 files changed, 103 insertions(+), 18 deletions(-) diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 197b7ad68b..6a6d8eb206 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -45,8 +45,8 @@ }, "license": "MIT", "devDependencies": { - "@babel/cli": "7.10.1", - "@babel/core": "7.10.2", + "@babel/cli": "7.10.3", + "@babel/core": "7.10.3", "@commitlint/test": "^9.0.1", "@commitlint/utils": "^9.0.1", "babel-preset-commitlint": "^9.0.1", diff --git a/yarn.lock b/yarn.lock index d701579099..b1e3aa058f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@babel/cli@7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.10.1.tgz#b6e5cd43a17b8f639442ab027976408ebe6d79a0" - integrity sha512-cVB+dXeGhMOqViIaZs3A9OUAe4pKw4SBNdMw6yHJMYR7s4TB+Cei7ThquV/84O19PdIFWuwe03vxxES0BHUm5g== +"@babel/cli@7.10.3": + version "7.10.3" + resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.10.3.tgz#4ea83bd997d2a41c78d07263ada3ec466fb3764b" + integrity sha512-lWB3yH5/fWY8pi2Kj5/fA+17guJ9feSBw5DNjTju3/nRi9sXnl1JPh7aKQOSvdNbiDbkzzoGYtsr46M8dGmXDQ== dependencies: commander "^4.0.1" convert-source-map "^1.1.0" @@ -48,6 +48,13 @@ dependencies: "@babel/highlight" "^7.10.1" +"@babel/code-frame@^7.10.3": + version "7.10.3" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.3.tgz#324bcfd8d35cd3d47dae18cde63d752086435e9a" + integrity sha512-fDx9eNW0qz0WkUeqL6tXEXzVlPh6Y5aCDEZesl0xBGA8ndRukX91Uk44ZqnkECp01NAZUdCAl+aiQNGi0k88Eg== + dependencies: + "@babel/highlight" "^7.10.3" + "@babel/compat-data@^7.8.4": version "7.8.5" resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.8.5.tgz#d28ce872778c23551cbb9432fc68d28495b613b9" @@ -57,19 +64,19 @@ invariant "^2.2.4" semver "^5.5.0" -"@babel/core@7.10.2": - version "7.10.2" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.10.2.tgz#bd6786046668a925ac2bd2fd95b579b92a23b36a" - integrity sha512-KQmV9yguEjQsXqyOUGKjS4+3K8/DlOCE2pZcq4augdQmtTy5iv5EHtmMSJ7V4c1BIPjuwtZYqYLCq9Ga+hGBRQ== +"@babel/core@7.10.3": + version "7.10.3" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.10.3.tgz#73b0e8ddeec1e3fdd7a2de587a60e17c440ec77e" + integrity sha512-5YqWxYE3pyhIi84L84YcwjeEgS+fa7ZjK6IBVGTjDVfm64njkR2lfDhVR5OudLk8x2GK59YoSyVv+L/03k1q9w== dependencies: - "@babel/code-frame" "^7.10.1" - "@babel/generator" "^7.10.2" + "@babel/code-frame" "^7.10.3" + "@babel/generator" "^7.10.3" "@babel/helper-module-transforms" "^7.10.1" "@babel/helpers" "^7.10.1" - "@babel/parser" "^7.10.2" - "@babel/template" "^7.10.1" - "@babel/traverse" "^7.10.1" - "@babel/types" "^7.10.2" + "@babel/parser" "^7.10.3" + "@babel/template" "^7.10.3" + "@babel/traverse" "^7.10.3" + "@babel/types" "^7.10.3" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.1" @@ -110,7 +117,7 @@ lodash "^4.17.13" source-map "^0.5.0" -"@babel/generator@^7.10.1", "@babel/generator@^7.10.2": +"@babel/generator@^7.10.1": version "7.10.2" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.10.2.tgz#0fa5b5b2389db8bfdfcc3492b551ee20f5dd69a9" integrity sha512-AxfBNHNu99DTMvlUPlt1h2+Hn7knPpH5ayJ8OqDWSeLld+Fi2AYBTC/IejWDM9Edcii4UzZRCsbUt0WlSDsDsA== @@ -120,6 +127,16 @@ lodash "^4.17.13" source-map "^0.5.0" +"@babel/generator@^7.10.3": + version "7.10.3" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.10.3.tgz#32b9a0d963a71d7a54f5f6c15659c3dbc2a523a5" + integrity sha512-drt8MUHbEqRzNR0xnF8nMehbY11b1SDkRw03PSNH/3Rb2Z35oxkddVSi3rcaak0YJQ86PCuE7Qx1jSFhbLNBMA== + dependencies: + "@babel/types" "^7.10.3" + jsesc "^2.5.1" + lodash "^4.17.13" + source-map "^0.5.0" + "@babel/helper-annotate-as-pure@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz#60bc0bc657f63a0924ff9a4b4a0b24a13cf4deee" @@ -197,6 +214,15 @@ "@babel/template" "^7.10.1" "@babel/types" "^7.10.1" +"@babel/helper-function-name@^7.10.3": + version "7.10.3" + resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.3.tgz#79316cd75a9fa25ba9787ff54544307ed444f197" + integrity sha512-FvSj2aiOd8zbeqijjgqdMDSyxsGHaMt5Tr0XjQsGKHD3/1FP3wksjnLAWzxw7lvXiej8W1Jt47SKTZ6upQNiRw== + dependencies: + "@babel/helper-get-function-arity" "^7.10.3" + "@babel/template" "^7.10.3" + "@babel/types" "^7.10.3" + "@babel/helper-function-name@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz#eeeb665a01b1f11068e9fb86ad56a1cb1a824cca" @@ -213,6 +239,13 @@ dependencies: "@babel/types" "^7.10.1" +"@babel/helper-get-function-arity@^7.10.3": + version "7.10.3" + resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.3.tgz#3a28f7b28ccc7719eacd9223b659fdf162e4c45e" + integrity sha512-iUD/gFsR+M6uiy69JA6fzM5seno8oE85IYZdbVVEuQaZlEzMO2MXblh+KSPJgsZAUx0EEbWXU0yJaW7C9CdAVg== + dependencies: + "@babel/types" "^7.10.3" + "@babel/helper-get-function-arity@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5" @@ -372,6 +405,11 @@ resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz#5770b0c1a826c4f53f5ede5e153163e0318e94b5" integrity sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw== +"@babel/helper-validator-identifier@^7.10.3": + version "7.10.3" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.3.tgz#60d9847f98c4cea1b279e005fdb7c28be5412d15" + integrity sha512-bU8JvtlYpJSBPuj1VUmKpFGaDZuLxASky3LhaKj3bmpSTY6VWooSM8msk+Z0CZoErFye2tlABF6yDkT3FOPAXw== + "@babel/helper-wrap-function@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.8.3.tgz#9dbdb2bb55ef14aaa01fe8c99b629bd5352d8610" @@ -409,6 +447,15 @@ chalk "^2.0.0" js-tokens "^4.0.0" +"@babel/highlight@^7.10.3": + version "7.10.3" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.3.tgz#c633bb34adf07c5c13156692f5922c81ec53f28d" + integrity sha512-Ih9B/u7AtgEnySE2L2F0Xm0GaM729XqqLfHkalTsbjXGyqmf/6M0Cu0WpvqueUlW+xk88BHw9Nkpj49naU+vWw== + dependencies: + "@babel/helper-validator-identifier" "^7.10.3" + chalk "^2.0.0" + js-tokens "^4.0.0" + "@babel/highlight@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797" @@ -423,11 +470,16 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz#d1dbe64691d60358a974295fa53da074dd2ce8e8" integrity sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw== -"@babel/parser@^7.10.1", "@babel/parser@^7.10.2": +"@babel/parser@^7.10.1": version "7.10.2" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.10.2.tgz#871807f10442b92ff97e4783b9b54f6a0ca812d0" integrity sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ== +"@babel/parser@^7.10.3": + version "7.10.3" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.10.3.tgz#7e71d892b0d6e7d04a1af4c3c79d72c1f10f5315" + integrity sha512-oJtNJCMFdIMwXGmx+KxuaD7i3b8uS7TTFYW/FNG2BT8m+fmGHoiPYoH0Pe3gya07WuFmM5FCDIr1x0irkD/hyA== + "@babel/plugin-proposal-async-generator-functions@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.8.3.tgz#bad329c670b382589721b27540c7d288601c6e6f" @@ -913,6 +965,15 @@ "@babel/parser" "^7.10.1" "@babel/types" "^7.10.1" +"@babel/template@^7.10.3": + version "7.10.3" + resolved "https://registry.npmjs.org/@babel/template/-/template-7.10.3.tgz#4d13bc8e30bf95b0ce9d175d30306f42a2c9a7b8" + integrity sha512-5BjI4gdtD+9fHZUsaxPHPNpwa+xRkDO7c7JbhYn2afvrkDu5SfAAbi9AIMXw2xEhO/BR35TqiW97IqNvCo/GqA== + dependencies: + "@babel/code-frame" "^7.10.3" + "@babel/parser" "^7.10.3" + "@babel/types" "^7.10.3" + "@babel/template@^7.7.4", "@babel/template@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz#e02ad04fe262a657809327f578056ca15fd4d1b8" @@ -952,6 +1013,21 @@ globals "^11.1.0" lodash "^4.17.13" +"@babel/traverse@^7.10.3": + version "7.10.3" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.10.3.tgz#0b01731794aa7b77b214bcd96661f18281155d7e" + integrity sha512-qO6623eBFhuPm0TmmrUFMT1FulCmsSeJuVGhiLodk2raUDFhhTECLd9E9jC4LBIWziqt4wgF6KuXE4d+Jz9yug== + dependencies: + "@babel/code-frame" "^7.10.3" + "@babel/generator" "^7.10.3" + "@babel/helper-function-name" "^7.10.3" + "@babel/helper-split-export-declaration" "^7.10.1" + "@babel/parser" "^7.10.3" + "@babel/types" "^7.10.3" + debug "^4.1.0" + globals "^11.1.0" + lodash "^4.17.13" + "@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz#5a383dffa5416db1b73dedffd311ffd0788fb31c" @@ -970,6 +1046,15 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" +"@babel/types@^7.10.3": + version "7.10.3" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.10.3.tgz#6535e3b79fea86a6b09e012ea8528f935099de8e" + integrity sha512-nZxaJhBXBQ8HVoIcGsf9qWep3Oh3jCENK54V4mRF7qaJabVsAYdbTtmSD8WmAp1R6ytPiu5apMwSXyxB1WlaBA== + dependencies: + "@babel/helper-validator-identifier" "^7.10.3" + lodash "^4.17.13" + to-fast-properties "^2.0.0" + "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" From 73632cec299d5c3a980d07037c08633c843a8555 Mon Sep 17 00:00:00 2001 From: Karl Date: Sun, 21 Jun 2020 08:23:50 +0200 Subject: [PATCH 0145/2192] feat: enable multiple scopes in scope-enum and scope-case rules (#901) --- @commitlint/rules/src/scope-case.ts | 4 ++-- @commitlint/rules/src/scope-enum.test.ts | 24 ++++++++++++++++++++++-- @commitlint/rules/src/scope-enum.ts | 9 ++++++++- 3 files changed, 32 insertions(+), 5 deletions(-) diff --git a/@commitlint/rules/src/scope-case.ts b/@commitlint/rules/src/scope-case.ts index 3c197d002b..247522e072 100644 --- a/@commitlint/rules/src/scope-case.ts +++ b/@commitlint/rules/src/scope-case.ts @@ -25,9 +25,9 @@ export const scopeCase: SyncRule = ( return check; }); - // Scopes may contain slash-delimiters to separate them and mark them as individual segments. + // Scopes may contain slash or comma delimiters to separate them and mark them as individual segments. // This means that each of these segments should be tested separately with `ensure`. - const delimiters = /(\/|\\)/g; + const delimiters = /\/|\\|,/g; const scopeSegments = scope.split(delimiters); const result = checks.some(check => { diff --git a/@commitlint/rules/src/scope-enum.test.ts b/@commitlint/rules/src/scope-enum.test.ts index 5054eee6f9..29d820a24a 100644 --- a/@commitlint/rules/src/scope-enum.test.ts +++ b/@commitlint/rules/src/scope-enum.test.ts @@ -4,13 +4,15 @@ import {scopeEnum} from './scope-enum'; const messages = { plain: 'foo(bar): baz', superfluous: 'foo(): baz', - empty: 'foo: baz' + empty: 'foo: baz', + multiple: 'foo(bar,baz): qux' }; const parsed = { plain: parse(messages.plain), superfluous: parse(messages.superfluous), - empty: parse(messages.empty) + empty: parse(messages.empty), + multiple: parse(messages.multiple) }; test('scope-enum with plain message and always should succeed empty enum', async () => { @@ -90,3 +92,21 @@ test('scope-enum with empty scope and never should succeed empty enum', async () const expected = true; expect(actual).toEqual(expected); }); + +test('scope-enum with multiple scope should succeed on message with multiple scope', async () => { + const [actual] = scopeEnum(await parsed.multiple, 'never', ['bar', 'baz']); + const expected = false; + expect(actual).toEqual(expected); +}); + +test('scope-enum with multiple scope should error on message with forbidden enum', async () => { + const [actual] = scopeEnum(await parsed.multiple, 'never', ['bar', 'qux']); + const expected = true; + expect(actual).toEqual(expected); +}); + +test('scope-enum with multiple scope should error on message with superfluous scope', async () => { + const [actual] = scopeEnum(await parsed.multiple, 'never', ['bar']); + const expected = true; + expect(actual).toEqual(expected); +}); diff --git a/@commitlint/rules/src/scope-enum.ts b/@commitlint/rules/src/scope-enum.ts index 7185385f59..bc3d33de47 100644 --- a/@commitlint/rules/src/scope-enum.ts +++ b/@commitlint/rules/src/scope-enum.ts @@ -11,8 +11,15 @@ export const scopeEnum: SyncRule = ( return [true, '']; } + // Scopes may contain slash or comma delimiters to separate them and mark them as individual segments. + // This means that each of these segments should be tested separately with `ensure`. + const delimiters = /\/|\\|,/g; + const scopeSegments = parsed.scope.split(delimiters); + const negated = when === 'never'; - const result = value.length === 0 || ensure.enum(parsed.scope, value); + const result = + value.length === 0 || + scopeSegments.every(scope => ensure.enum(scope, value)); return [ negated ? !result : result, From 07bb5ab4d5e419cfc25c29efad72cb6e4f2103df Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 21 Jun 2020 15:07:00 +0800 Subject: [PATCH 0146/2192] chore: update dependency eslint to v7.3.0 (#1944) Co-authored-by: Renovate Bot --- yarn.lock | 187 +++++++++++++++++++++--------------------------------- 1 file changed, 71 insertions(+), 116 deletions(-) diff --git a/yarn.lock b/yarn.lock index b1e3aa058f..d973a5db54 100644 --- a/yarn.lock +++ b/yarn.lock @@ -34,12 +34,12 @@ optionalDependencies: chokidar "^2.1.8" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" - integrity sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g== +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.3": + version "7.10.3" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.3.tgz#324bcfd8d35cd3d47dae18cde63d752086435e9a" + integrity sha512-fDx9eNW0qz0WkUeqL6tXEXzVlPh6Y5aCDEZesl0xBGA8ndRukX91Uk44ZqnkECp01NAZUdCAl+aiQNGi0k88Eg== dependencies: - "@babel/highlight" "^7.8.3" + "@babel/highlight" "^7.10.3" "@babel/code-frame@^7.10.1": version "7.10.1" @@ -48,12 +48,12 @@ dependencies: "@babel/highlight" "^7.10.1" -"@babel/code-frame@^7.10.3": - version "7.10.3" - resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.3.tgz#324bcfd8d35cd3d47dae18cde63d752086435e9a" - integrity sha512-fDx9eNW0qz0WkUeqL6tXEXzVlPh6Y5aCDEZesl0xBGA8ndRukX91Uk44ZqnkECp01NAZUdCAl+aiQNGi0k88Eg== +"@babel/code-frame@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" + integrity sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g== dependencies: - "@babel/highlight" "^7.10.3" + "@babel/highlight" "^7.8.3" "@babel/compat-data@^7.8.4": version "7.8.5" @@ -447,7 +447,7 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/highlight@^7.10.3": +"@babel/highlight@^7.10.3", "@babel/highlight@^7.8.3": version "7.10.3" resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.3.tgz#c633bb34adf07c5c13156692f5922c81ec53f28d" integrity sha512-Ih9B/u7AtgEnySE2L2F0Xm0GaM729XqqLfHkalTsbjXGyqmf/6M0Cu0WpvqueUlW+xk88BHw9Nkpj49naU+vWw== @@ -456,15 +456,6 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/highlight@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797" - integrity sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg== - dependencies: - chalk "^2.0.0" - esutils "^2.0.2" - js-tokens "^4.0.0" - "@babel/parser@^7.1.0", "@babel/parser@^7.7.5", "@babel/parser@^7.8.3", "@babel/parser@^7.8.4": version "7.8.4" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz#d1dbe64691d60358a974295fa53da074dd2ce8e8" @@ -2776,7 +2767,17 @@ aggregate-error@^3.0.0: clean-stack "^2.0.0" indent-string "^4.0.0" -ajv@^6.10.0, ajv@^6.10.2, ajv@^6.5.5: +ajv@^6.10.0, ajv@^6.10.2: + version "6.12.2" + resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.2.tgz#c629c5eced17baf314437918d2da88c99d5958cd" + integrity sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ajv@^6.5.5: version "6.11.0" resolved "https://registry.npmjs.org/ajv/-/ajv-6.11.0.tgz#c3607cbc8ae392d8a5a536f25b21f8e5f3f87fe9" integrity sha512-nCprB/0syFYy9fVYU1ox1l2KN8S9I+tziH8D4zdZuLT3N6RMlGSGt5FSTpAiHB/Whv8Qs1cWHma1aMKZyaHRKA== @@ -2808,14 +2809,7 @@ ansi-escapes@^3.0.0, ansi-escapes@^3.2.0: resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== -ansi-escapes@^4.2.1: - version "4.3.0" - resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.0.tgz#a4ce2b33d6b214b7950d8595c212f12ac9cc569d" - integrity sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg== - dependencies: - type-fest "^0.8.1" - -ansi-escapes@^4.3.0: +ansi-escapes@^4.2.1, ansi-escapes@^4.3.0: version "4.3.1" resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.1.tgz#a5c47cc43181f1f38ffd7076837700d395522a61" integrity sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA== @@ -3434,7 +3428,7 @@ caseless@~0.12.0: resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= -chalk@4.1.0: +chalk@4.1.0, chalk@^4.0.0: version "4.1.0" resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== @@ -3470,14 +3464,6 @@ chalk@^3.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/chalk/-/chalk-4.0.0.tgz#6e98081ed2d17faab615eb52ac66ec1fe6209e72" - integrity sha512-N9oWFcegS0sFr9oh1oz2d7Npos6vNoWW9HvtCg5N1KRFpUhaAhvTv5Y58g880fZaEYSNm3qDz8SU1UrGvp+n7A== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - chardet@^0.4.0: version "0.4.2" resolved "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" @@ -3592,9 +3578,9 @@ cli-width@^1.0.1: integrity sha1-pNKT72frt7iNSk1CwMzwDE0eNm0= cli-width@^2.0.0: - version "2.2.0" - resolved "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" - integrity sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk= + version "2.2.1" + resolved "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48" + integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw== clipboard@^2.0.0: version "2.0.6" @@ -4828,14 +4814,14 @@ eslint-utils@^2.0.0: eslint-visitor-keys "^1.1.0" eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.2.0.tgz#74415ac884874495f78ec2a97349525344c981fa" - integrity sha512-WFb4ihckKil6hu3Dp798xdzSfddwKKU3+nGniKF6HfeW6OLd2OUDEPP7TcHtB5+QXOKg2s6B2DaMPE1Nn/kxKQ== + version "1.3.0" + resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" + integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== eslint@^7.0.0: - version "7.2.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-7.2.0.tgz#d41b2e47804b30dbabb093a967fb283d560082e6" - integrity sha512-B3BtEyaDKC5MlfDa2Ha8/D6DsS4fju95zs0hjS3HdGazw+LNayai38A25qMppK37wWGWNYSPOR6oYzlz5MHsRQ== + version "7.3.0" + resolved "https://registry.npmjs.org/eslint/-/eslint-7.3.0.tgz#f9f1fc3dc1227985d0db88769f2bbac7b4b875d7" + integrity sha512-dJMVXwfU5PT1cj2Nv2VPPrKahKTGdX+5Dh0Q3YuKt+Y2UhdL2YbzsVaBMyG9HC0tBismlv/r1+eZqs6SMIV38Q== dependencies: "@babel/code-frame" "^7.0.0" ajv "^6.10.0" @@ -4843,6 +4829,7 @@ eslint@^7.0.0: cross-spawn "^7.0.2" debug "^4.0.1" doctrine "^3.0.0" + enquirer "^2.3.5" eslint-scope "^5.1.0" eslint-utils "^2.0.0" eslint-visitor-keys "^1.2.0" @@ -4856,7 +4843,6 @@ eslint@^7.0.0: ignore "^4.0.6" import-fresh "^3.0.0" imurmurhash "^0.1.4" - inquirer "^7.0.0" is-glob "^4.0.0" js-yaml "^3.13.1" json-stable-stringify-without-jsonify "^1.0.1" @@ -5118,9 +5104,9 @@ fast-async@^7.0.6: nodent-transform "^3.2.4" fast-deep-equal@^3.1.1: - version "3.1.1" - resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" - integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== + version "3.1.3" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== fast-glob@^2.2.6: version "2.2.7" @@ -5194,13 +5180,6 @@ figures@^2.0.0: dependencies: escape-string-regexp "^1.0.5" -figures@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/figures/-/figures-3.1.0.tgz#4b198dd07d8d71530642864af2d45dd9e459c4ec" - integrity sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg== - dependencies: - escape-string-regexp "^1.0.5" - figures@^3.2.0: version "3.2.0" resolved "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" @@ -5320,9 +5299,9 @@ flat-cache@^2.0.1: write "1.0.3" flatted@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08" - integrity sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg== + version "2.0.2" + resolved "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138" + integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA== flush-write-stream@^1.0.0: version "1.1.1" @@ -5647,20 +5626,20 @@ glob-parent@^3.1.0: is-glob "^3.1.0" path-dirname "^1.0.0" -glob-parent@^5.0.0, glob-parent@^5.1.0: - version "5.1.0" - resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz#5f4c1d1e748d30cd73ad2944b3577a81b081e8c2" - integrity sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw== - dependencies: - is-glob "^4.0.1" - -glob-parent@~5.1.0: +glob-parent@^5.0.0, glob-parent@~5.1.0: version "5.1.1" resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz#b6c1ef417c4e5663ea498f1c45afac6916bbc229" integrity sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ== dependencies: is-glob "^4.0.1" +glob-parent@^5.1.0: + version "5.1.0" + resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz#5f4c1d1e748d30cd73ad2944b3577a81b081e8c2" + integrity sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw== + dependencies: + is-glob "^4.0.1" + glob-to-regexp@^0.3.0: version "0.3.0" resolved "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" @@ -5723,9 +5702,9 @@ globals@^11.1.0: integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== globals@^12.1.0: - version "12.3.0" - resolved "https://registry.npmjs.org/globals/-/globals-12.3.0.tgz#1e564ee5c4dded2ab098b0f88f24702a3c56be13" - integrity sha512-wAfjdLgFsPZsklLJvOBUBmzYE8/CwhEqSBEMRXA3qxIiNtyqvjYurAtIfDh6chlEPUfmTY3MnZh5Hfh4q0UlIw== + version "12.4.0" + resolved "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz#a18813576a41b00a24a97e7f815918c2e19925f8" + integrity sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg== dependencies: type-fest "^0.8.1" @@ -6232,25 +6211,6 @@ inquirer@^6.2.0: strip-ansi "^5.1.0" through "^2.3.6" -inquirer@^7.0.0: - version "7.0.4" - resolved "https://registry.npmjs.org/inquirer/-/inquirer-7.0.4.tgz#99af5bde47153abca23f5c7fc30db247f39da703" - integrity sha512-Bu5Td5+j11sCkqfqmUTiwv+tWisMtP0L7Q8WrqA2C/BbBhy1YTdFrvjjlrKq8oagA/tLQBski2Gcx/Sqyi2qSQ== - dependencies: - ansi-escapes "^4.2.1" - chalk "^2.4.2" - cli-cursor "^3.1.0" - cli-width "^2.0.0" - external-editor "^3.0.3" - figures "^3.0.0" - lodash "^4.17.15" - mute-stream "0.0.8" - run-async "^2.2.0" - rxjs "^6.5.3" - string-width "^4.1.0" - strip-ansi "^5.1.0" - through "^2.3.6" - invariant@^2.2.2, invariant@^2.2.4: version "2.2.4" resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" @@ -6493,11 +6453,6 @@ is-plain-object@^3.0.0: dependencies: isobject "^4.0.0" -is-promise@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" - integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o= - is-redirect@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" @@ -7036,9 +6991,9 @@ jest@25.1.0: integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== js-yaml@^3.13.1: - version "3.13.1" - resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" - integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== + version "3.14.0" + resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz#a7a34170f26a21bb162424d8adacb4113a69e482" + integrity sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A== dependencies: argparse "^1.0.7" esprima "^4.0.0" @@ -7907,7 +7862,7 @@ mkdirp-promise@^5.0.1: dependencies: mkdirp "*" -mkdirp@*, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0: +mkdirp@*, mkdirp@^0.5.0, mkdirp@~0.5.0: version "0.5.1" resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= @@ -7919,6 +7874,13 @@ mkdirp@1.x: resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== +mkdirp@^0.5.1: + version "0.5.5" + resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" + integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== + dependencies: + minimist "^1.2.5" + modify-values@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" @@ -7976,7 +7938,7 @@ mute-stream@0.0.7: resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= -mute-stream@0.0.8, mute-stream@~0.0.4: +mute-stream@~0.0.4: version "0.0.8" resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== @@ -9556,11 +9518,9 @@ run-async@^0.1.0: once "^1.3.0" run-async@^2.2.0: - version "2.3.0" - resolved "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" - integrity sha1-A3GrSuC91yDUFm19/aZP96RFpsA= - dependencies: - is-promise "^2.1.0" + version "2.4.1" + resolved "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" + integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== run-parallel@^1.1.9: version "1.1.9" @@ -9591,7 +9551,7 @@ rx-lite@^3.1.2: resolved "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102" integrity sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI= -rxjs@^6.4.0, rxjs@^6.5.3: +rxjs@^6.4.0: version "6.5.4" resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz#e0777fe0d184cec7872df147f303572d414e211c" integrity sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q== @@ -10569,16 +10529,11 @@ tsconfig-paths@^3.9.0: minimist "^1.2.0" strip-bom "^3.0.0" -tslib@^1.8.1: +tslib@^1.8.1, tslib@^1.9.0: version "1.13.0" resolved "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043" integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q== -tslib@^1.9.0: - version "1.10.0" - resolved "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" - integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== - tsutils@^3.17.1: version "3.17.1" resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759" @@ -10851,9 +10806,9 @@ uuid@^3.0.1, uuid@^3.3.2: integrity sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ== v8-compile-cache@^2.0.3: - version "2.1.0" - resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz#e14de37b31a6d194f5690d67efc4e7f6fc6ab30e" - integrity sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g== + version "2.1.1" + resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz#54bc3cdd43317bca91e35dcaf305b1a7237de745" + integrity sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ== v8-to-istanbul@^4.0.1: version "4.0.1" From 8efd23f695609550a592fa86c2cf4a47dd88e8b8 Mon Sep 17 00:00:00 2001 From: escapedcat Date: Sun, 21 Jun 2020 15:21:38 +0800 Subject: [PATCH 0147/2192] docs: add info on how to release under next-tag --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index cf91acd6cb..c24718dd3c 100644 --- a/README.md +++ b/README.md @@ -214,6 +214,30 @@ yarn test yarn run publish ``` +#### Publish a `next` release + +```sh +yarn clean +yarn install +yarn run build +yarn test +npx lerna publish --conventional-commits --dist-tag next +``` + +##### Move `next` to `latest` + +Move next to latest: + +```sh +npx lerna exec --no-bail --no-private --no-sort --stream -- '[ -n "$(npm v . dist-tags.next)" ] && npm dist-tag add ${LERNA_PACKAGE_NAME}@$(npm v . dist-tags.next) latest --otp +``` + +Remove next: + +```sh +npx lerna exec --no-bail --no-private --no-sort --stream -- '[ -n "$(npm v . dist-tags.next)" ] && npm dist-tag rm ${LERNA_PACKAGE_NAME}@$(npm v . dist-tags.next) latest --otp +``` + [0]: https://img.shields.io/badge/stability-stable-green.svg?style=flat-square [1]: https://nodejs.org/api/documentation.html#documentation_stability_index [2]: https://img.shields.io/npm/v/@commitlint/cli.svg?style=flat-square From d14f20456709c720c679719af2160a6437f26aeb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 21 Jun 2020 15:23:02 +0800 Subject: [PATCH 0148/2192] chore: update dependency eslint-plugin-jest to v23.15.0 (#1963) Co-authored-by: Renovate Bot --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index d973a5db54..7e5c91562e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4792,9 +4792,9 @@ eslint-plugin-import@^2.20.1: tsconfig-paths "^3.9.0" eslint-plugin-jest@^23.6.0: - version "23.13.2" - resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.13.2.tgz#7b7993b4e09be708c696b02555083ddefd7e4cc7" - integrity sha512-qZit+moTXTyZFNDqSIR88/L3rdBlTU7CuW6XmyErD2FfHEkdoLgThkRbiQjzgYnX6rfgLx3Ci4eJmF4Ui5v1Cw== + version "23.15.0" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.15.0.tgz#b1a902c651cb50301ee9f85c9ea90dbca83e2976" + integrity sha512-VapqxFfxi11GHTXg2iOeJVmeAfaRrqudfI3UcwfH4wwHyjP1jXyTEJjLWInxe2sSRzuisKV8+VzxQhGUC3V6Gw== dependencies: "@typescript-eslint/experimental-utils" "^2.5.0" From a6bafa94a0c2ba5f7f8d543e6e08e03df36acaac Mon Sep 17 00:00:00 2001 From: escapedcat Date: Sun, 21 Jun 2020 15:31:02 +0800 Subject: [PATCH 0149/2192] docs: add multiple scope support info #701 --- README.md | 2 +- docs/concepts-commit-conventions.md | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c24718dd3c..880f761bb3 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ commitlint checks if your commit messages meet the [conventional commit format]( In general the pattern mostly looks like this: ```sh -type(scope?): subject #scope is optional +type(scope?): subject #scope is optional; multiple scopes are supported (current delimiter options: "/", "\" and ",") ``` Real world examples can look like this: diff --git a/docs/concepts-commit-conventions.md b/docs/concepts-commit-conventions.md index 067ac7c494..5022cb9243 100644 --- a/docs/concepts-commit-conventions.md +++ b/docs/concepts-commit-conventions.md @@ -1,6 +1,6 @@ # Concept: Commit conventions -Commit conventions allow your team to add more semantic meaning to your git history. This e.g. includes `type`, `scope` or `breaking changes`. +[Commit conventions](https://www.conventionalcommits.org/) allow your team to add more semantic meaning to your git history. This e.g. includes `type`, `scope` or `breaking changes`. With this additional information tools can derive useful human-readable information for releases of your project. Some examples are @@ -15,3 +15,12 @@ type(scope?): subject body? footer? ``` + +## Multiple scopes + +Commitlint supports multiple scopes. +Current delimiter options are: + +- "/" +- "\" +- "," From c9f5c5cb3f995362c760308f114b6319c0e55ce3 Mon Sep 17 00:00:00 2001 From: escapedcat Date: Sun, 21 Jun 2020 15:36:13 +0800 Subject: [PATCH 0150/2192] v9.1.0 --- @alias/commitlint-config-angular/CHANGELOG.md | 8 +++++++ @alias/commitlint-config-angular/package.json | 6 ++--- .../CHANGELOG.md | 8 +++++++ .../package.json | 6 ++--- .../CHANGELOG.md | 8 +++++++ .../package.json | 6 ++--- @alias/commitlint/CHANGELOG.md | 8 +++++++ @alias/commitlint/package.json | 8 +++---- @commitlint/cli/CHANGELOG.md | 12 ++++++++++ @commitlint/cli/package.json | 14 ++++++------ .../config-angular-type-enum/CHANGELOG.md | 8 +++++++ .../config-angular-type-enum/package.json | 4 ++-- @commitlint/config-angular/CHANGELOG.md | 8 +++++++ @commitlint/config-angular/package.json | 6 ++--- @commitlint/config-conventional/CHANGELOG.md | 11 ++++++++++ @commitlint/config-conventional/package.json | 6 ++--- @commitlint/config-lerna-scopes/CHANGELOG.md | 11 ++++++++++ @commitlint/config-lerna-scopes/package.json | 6 ++--- @commitlint/config-patternplate/CHANGELOG.md | 8 +++++++ @commitlint/config-patternplate/package.json | 6 ++--- @commitlint/core/CHANGELOG.md | 8 +++++++ @commitlint/core/package.json | 12 +++++----- @commitlint/ensure/CHANGELOG.md | 8 +++++++ @commitlint/ensure/package.json | 6 ++--- @commitlint/execute-rule/CHANGELOG.md | 8 +++++++ @commitlint/execute-rule/package.json | 4 ++-- @commitlint/format/CHANGELOG.md | 11 ++++++++++ @commitlint/format/package.json | 4 ++-- @commitlint/is-ignored/CHANGELOG.md | 11 ++++++++++ @commitlint/is-ignored/package.json | 10 ++++----- @commitlint/lint/CHANGELOG.md | 8 +++++++ @commitlint/lint/package.json | 14 ++++++------ @commitlint/load/CHANGELOG.md | 16 ++++++++++++++ @commitlint/load/package.json | 12 +++++----- @commitlint/message/CHANGELOG.md | 8 +++++++ @commitlint/message/package.json | 6 ++--- @commitlint/parse/CHANGELOG.md | 8 +++++++ @commitlint/parse/package.json | 6 ++--- @commitlint/prompt-cli/CHANGELOG.md | 8 +++++++ @commitlint/prompt-cli/package.json | 8 +++---- @commitlint/prompt/CHANGELOG.md | 11 ++++++++++ @commitlint/prompt/package.json | 6 ++--- @commitlint/read/CHANGELOG.md | 8 +++++++ @commitlint/read/package.json | 8 +++---- @commitlint/resolve-extends/CHANGELOG.md | 8 +++++++ @commitlint/resolve-extends/package.json | 4 ++-- @commitlint/rules/CHANGELOG.md | 11 ++++++++++ @commitlint/rules/package.json | 16 +++++++------- @commitlint/to-lines/CHANGELOG.md | 8 +++++++ @commitlint/to-lines/package.json | 4 ++-- @commitlint/top-level/CHANGELOG.md | 8 +++++++ @commitlint/top-level/package.json | 4 ++-- @commitlint/travis-cli/CHANGELOG.md | 8 +++++++ @commitlint/travis-cli/package.json | 8 +++---- @commitlint/types/CHANGELOG.md | 11 ++++++++++ @commitlint/types/package.json | 4 ++-- @packages/test-environment/CHANGELOG.md | 11 ++++++++++ @packages/test-environment/package.json | 2 +- @packages/test/CHANGELOG.md | 11 ++++++++++ @packages/test/package.json | 2 +- @packages/utils/CHANGELOG.md | 11 ++++++++++ @packages/utils/package.json | 4 ++-- CHANGELOG.md | 22 +++++++++++++++++++ lerna.json | 2 +- 64 files changed, 419 insertions(+), 107 deletions(-) diff --git a/@alias/commitlint-config-angular/CHANGELOG.md b/@alias/commitlint-config-angular/CHANGELOG.md index 635e520e53..7456c762eb 100644 --- a/@alias/commitlint-config-angular/CHANGELOG.md +++ b/@alias/commitlint-config-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package commitlint-config-angular + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package commitlint-config-angular diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index ed2394bcee..ae610c5d2b 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-angular", - "version": "9.0.1", + "version": "9.1.0", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-angular": "^9.0.1" + "@commitlint/config-angular": "^9.1.0" }, "devDependencies": { - "@commitlint/utils": "^9.0.1" + "@commitlint/utils": "^9.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md index 23c5e68d2a..78f35529b3 100644 --- a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md +++ b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package commitlint-config-lerna-scopes + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package commitlint-config-lerna-scopes diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index 18e16c140c..a4c21f23d5 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-lerna-scopes", - "version": "9.0.1", + "version": "9.1.0", "description": "Shareable commitlint config enforcing lerna package names as scopes", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-lerna-scopes": "^9.0.1" + "@commitlint/config-lerna-scopes": "^9.1.0" }, "devDependencies": { - "@commitlint/utils": "^9.0.1" + "@commitlint/utils": "^9.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@alias/commitlint-config-patternplate/CHANGELOG.md b/@alias/commitlint-config-patternplate/CHANGELOG.md index 3e7736ac9f..6b45c6b18f 100644 --- a/@alias/commitlint-config-patternplate/CHANGELOG.md +++ b/@alias/commitlint-config-patternplate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package commitlint-config-patternplate + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package commitlint-config-patternplate diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index a0d0bea17f..d9434a932c 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-patternplate", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-patternplate": "^9.0.1" + "@commitlint/config-patternplate": "^9.1.0" }, "devDependencies": { - "@commitlint/utils": "^9.0.1" + "@commitlint/utils": "^9.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@alias/commitlint/CHANGELOG.md b/@alias/commitlint/CHANGELOG.md index 1615a8e828..68ce178271 100644 --- a/@alias/commitlint/CHANGELOG.md +++ b/@alias/commitlint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package commitlint + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package commitlint diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 51a91b9540..32e9f9a6af 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -1,6 +1,6 @@ { "name": "commitlint", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint your commit messages", "files": [ "cli.js" @@ -34,11 +34,11 @@ }, "license": "MIT", "dependencies": { - "@commitlint/cli": "^9.0.1" + "@commitlint/cli": "^9.1.0" }, "devDependencies": { - "@commitlint/test": "^9.0.1", - "@commitlint/utils": "^9.0.1" + "@commitlint/test": "^9.1.0", + "@commitlint/utils": "^9.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/cli/CHANGELOG.md b/@commitlint/cli/CHANGELOG.md index 5848ea97e0..51914c41f1 100644 --- a/@commitlint/cli/CHANGELOG.md +++ b/@commitlint/cli/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + + +### Bug Fixes + +* update dependency chalk to v4 ([#1275](https://github.com/conventional-changelog/commitlint/issues/1275)) ([a5d8fa1](https://github.com/conventional-changelog/commitlint/commit/a5d8fa118e8221361f14f5fd2b21d7aaad008a27)) +* update dependency regenerator-runtime to v0.13.5 ([#1017](https://github.com/conventional-changelog/commitlint/issues/1017)) ([9c4fdf1](https://github.com/conventional-changelog/commitlint/commit/9c4fdf1b5f42677422532dad655af9aed9b43881)) + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index c463011b8a..97a2c9eee1 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/cli", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint your commit messages", "files": [ "index.js", @@ -49,8 +49,8 @@ "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", - "@commitlint/test": "^9.0.1", - "@commitlint/utils": "^9.0.1", + "@commitlint/test": "^9.1.0", + "@commitlint/utils": "^9.1.0", "babel-preset-commitlint": "^9.0.1", "cross-env": "7.0.2", "execa": "^3.4.0", @@ -58,10 +58,10 @@ }, "dependencies": { "@babel/runtime": "^7.9.6", - "@commitlint/format": "^9.0.1", - "@commitlint/lint": "^9.0.1", - "@commitlint/load": "^9.0.1", - "@commitlint/read": "^9.0.1", + "@commitlint/format": "^9.1.0", + "@commitlint/lint": "^9.1.0", + "@commitlint/load": "^9.1.0", + "@commitlint/read": "^9.1.0", "chalk": "4.1.0", "core-js": "^3.6.1", "get-stdin": "7.0.0", diff --git a/@commitlint/config-angular-type-enum/CHANGELOG.md b/@commitlint/config-angular-type-enum/CHANGELOG.md index 91e45af87c..e120faeae5 100644 --- a/@commitlint/config-angular-type-enum/CHANGELOG.md +++ b/@commitlint/config-angular-type-enum/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package @commitlint/config-angular-type-enum + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/config-angular-type-enum diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 3dd7a4eb0b..423f3b46c5 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular-type-enum", - "version": "9.0.1", + "version": "9.1.0", "description": "Shareable commitlint config enforcing the angular commit convention types", "files": [ "index.js" @@ -29,7 +29,7 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/utils": "^9.0.1" + "@commitlint/utils": "^9.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/config-angular/CHANGELOG.md b/@commitlint/config-angular/CHANGELOG.md index f7299c07fc..a89b8003a7 100644 --- a/@commitlint/config-angular/CHANGELOG.md +++ b/@commitlint/config-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package @commitlint/config-angular + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/config-angular diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index 94f36d516d..7ed384f62c 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular", - "version": "9.0.1", + "version": "9.1.0", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/utils": "^9.0.1" + "@commitlint/utils": "^9.1.0" }, "dependencies": { - "@commitlint/config-angular-type-enum": "^9.0.1" + "@commitlint/config-angular-type-enum": "^9.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/config-conventional/CHANGELOG.md b/@commitlint/config-conventional/CHANGELOG.md index 18b98e2430..54e55cb5a1 100644 --- a/@commitlint/config-conventional/CHANGELOG.md +++ b/@commitlint/config-conventional/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + + +### Bug Fixes + +* update dependency conventional-changelog-conventionalcommits to v4.3.0 ([#1816](https://github.com/conventional-changelog/commitlint/issues/1816)) ([f99aeda](https://github.com/conventional-changelog/commitlint/commit/f99aeda068aabdb250e2c9819da7229a695154b9)) + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/config-conventional diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index a3b8c2dc90..0df989b24d 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-conventional", - "version": "9.0.1", + "version": "9.1.0", "description": "Shareable commitlint config enforcing conventional commits", "files": [ "index.js" @@ -32,8 +32,8 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/lint": "^9.0.1", - "@commitlint/utils": "^9.0.1" + "@commitlint/lint": "^9.1.0", + "@commitlint/utils": "^9.1.0" }, "dependencies": { "conventional-changelog-conventionalcommits": "4.3.0" diff --git a/@commitlint/config-lerna-scopes/CHANGELOG.md b/@commitlint/config-lerna-scopes/CHANGELOG.md index e027b5dad9..a5851047bd 100644 --- a/@commitlint/config-lerna-scopes/CHANGELOG.md +++ b/@commitlint/config-lerna-scopes/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + + +### Bug Fixes + +* update dependency semver to v7.3.2 ([#1369](https://github.com/conventional-changelog/commitlint/issues/1369)) ([3c09722](https://github.com/conventional-changelog/commitlint/commit/3c09722d2db85a94cd1f4bf25c6b4251b2c41bbb)) + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/config-lerna-scopes diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index fad7a64346..fe01aff8f2 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-lerna-scopes", - "version": "9.0.1", + "version": "9.1.0", "description": "Shareable commitlint config enforcing lerna package names as scopes", "files": [ "index.js" @@ -37,8 +37,8 @@ "semver": "7.3.2" }, "devDependencies": { - "@commitlint/test": "^9.0.1", - "@commitlint/utils": "^9.0.1" + "@commitlint/test": "^9.1.0", + "@commitlint/utils": "^9.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/config-patternplate/CHANGELOG.md b/@commitlint/config-patternplate/CHANGELOG.md index 3a7766a52d..afdd42e455 100644 --- a/@commitlint/config-patternplate/CHANGELOG.md +++ b/@commitlint/config-patternplate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package @commitlint/config-patternplate + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/config-patternplate diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 893f60bc67..5220752385 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-patternplate", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -29,12 +29,12 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-angular": "^9.0.1", + "@commitlint/config-angular": "^9.1.0", "globby": "^11.0.0", "lodash": "^4.17.15" }, "devDependencies": { - "@commitlint/utils": "^9.0.1" + "@commitlint/utils": "^9.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/core/CHANGELOG.md b/@commitlint/core/CHANGELOG.md index 03e7f10009..c5d253c07e 100644 --- a/@commitlint/core/CHANGELOG.md +++ b/@commitlint/core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package @commitlint/core + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/core diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index 49353de132..8c54c85b08 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/core", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint your commit messages", "main": "lib/core.js", "types": "lib/core.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "dependencies": { - "@commitlint/format": "^9.0.1", - "@commitlint/lint": "^9.0.1", - "@commitlint/load": "^9.0.1", - "@commitlint/read": "^9.0.1" + "@commitlint/format": "^9.1.0", + "@commitlint/lint": "^9.1.0", + "@commitlint/load": "^9.1.0", + "@commitlint/read": "^9.1.0" }, "devDependencies": { - "@commitlint/utils": "^9.0.1" + "@commitlint/utils": "^9.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/ensure/CHANGELOG.md b/@commitlint/ensure/CHANGELOG.md index 1c91bf9ddb..79d29533fe 100644 --- a/@commitlint/ensure/CHANGELOG.md +++ b/@commitlint/ensure/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package @commitlint/ensure + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/ensure diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 8289cc1673..7cf98270e9 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/ensure", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,12 +34,12 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.0.1", + "@commitlint/utils": "^9.1.0", "@types/lodash": "4.14.149", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/types": "^9.0.1", + "@commitlint/types": "^9.1.0", "lodash": "^4.17.15" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" diff --git a/@commitlint/execute-rule/CHANGELOG.md b/@commitlint/execute-rule/CHANGELOG.md index 5d07407d78..0e6cf74a88 100644 --- a/@commitlint/execute-rule/CHANGELOG.md +++ b/@commitlint/execute-rule/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package @commitlint/execute-rule + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/execute-rule diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index 594cc7ed9f..0310370fa4 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/execute-rule", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.0.1" + "@commitlint/utils": "^9.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/format/CHANGELOG.md b/@commitlint/format/CHANGELOG.md index 8790a5137a..6acd91778d 100644 --- a/@commitlint/format/CHANGELOG.md +++ b/@commitlint/format/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + + +### Bug Fixes + +* update dependency chalk to v4 ([#1275](https://github.com/conventional-changelog/commitlint/issues/1275)) ([a5d8fa1](https://github.com/conventional-changelog/commitlint/commit/a5d8fa118e8221361f14f5fd2b21d7aaad008a27)) + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/format diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index dddb5d9a24..acbea6f457 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/format", - "version": "9.0.1", + "version": "9.1.0", "description": "Format commitlint reports", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.0.1" + "@commitlint/utils": "^9.1.0" }, "dependencies": { "chalk": "^4.0.0" diff --git a/@commitlint/is-ignored/CHANGELOG.md b/@commitlint/is-ignored/CHANGELOG.md index cd53f9c21f..4f87472431 100644 --- a/@commitlint/is-ignored/CHANGELOG.md +++ b/@commitlint/is-ignored/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + + +### Bug Fixes + +* update dependency semver to v7.3.2 ([#1369](https://github.com/conventional-changelog/commitlint/issues/1369)) ([3c09722](https://github.com/conventional-changelog/commitlint/commit/3c09722d2db85a94cd1f4bf25c6b4251b2c41bbb)) + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/is-ignored diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index ad470a9464..7962e8d34d 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/is-ignored", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^9.0.1", - "@commitlint/test": "^9.0.1", - "@commitlint/utils": "^9.0.1", + "@commitlint/parse": "^9.1.0", + "@commitlint/test": "^9.1.0", + "@commitlint/utils": "^9.1.0", "@types/semver": "7.2.0" }, "dependencies": { - "@commitlint/types": "^9.0.1", + "@commitlint/types": "^9.1.0", "semver": "7.3.2" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" diff --git a/@commitlint/lint/CHANGELOG.md b/@commitlint/lint/CHANGELOG.md index 6081703190..f09712f37d 100644 --- a/@commitlint/lint/CHANGELOG.md +++ b/@commitlint/lint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package @commitlint/lint + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/lint diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index cad3ce6bf2..e39bb4500c 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/lint", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint a string against commitlint rules", "main": "lib/lint.js", "types": "lib/lint.d.ts", @@ -34,14 +34,14 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.0.1", - "@commitlint/utils": "^9.0.1" + "@commitlint/test": "^9.1.0", + "@commitlint/utils": "^9.1.0" }, "dependencies": { - "@commitlint/is-ignored": "^9.0.1", - "@commitlint/parse": "^9.0.1", - "@commitlint/rules": "^9.0.1", - "@commitlint/types": "^9.0.1" + "@commitlint/is-ignored": "^9.1.0", + "@commitlint/parse": "^9.1.0", + "@commitlint/rules": "^9.1.0", + "@commitlint/types": "^9.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/load/CHANGELOG.md b/@commitlint/load/CHANGELOG.md index 83de7a7c9c..ec32f4cd15 100644 --- a/@commitlint/load/CHANGELOG.md +++ b/@commitlint/load/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + + +### Bug Fixes + +* update dependency chalk to v4 ([#1275](https://github.com/conventional-changelog/commitlint/issues/1275)) ([a5d8fa1](https://github.com/conventional-changelog/commitlint/commit/a5d8fa118e8221361f14f5fd2b21d7aaad008a27)) + + +### Features + +* add local plugins support ([#1692](https://github.com/conventional-changelog/commitlint/issues/1692)) ([7b29c48](https://github.com/conventional-changelog/commitlint/commit/7b29c48321b513e091849fbb2cc2bf0e6ebb94a6)) + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/load diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 2a1df608e0..0bfa0f073c 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/load", - "version": "9.0.1", + "version": "9.1.0", "description": "Load shared commitlint configuration", "main": "lib/load.js", "types": "lib/load.d.ts", @@ -34,15 +34,15 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.0.1", - "@commitlint/utils": "^9.0.1", + "@commitlint/test": "^9.1.0", + "@commitlint/utils": "^9.1.0", "@types/lodash": "4.14.149", "execa": "^3.4.0" }, "dependencies": { - "@commitlint/execute-rule": "^9.0.1", - "@commitlint/resolve-extends": "^9.0.1", - "@commitlint/types": "^9.0.1", + "@commitlint/execute-rule": "^9.1.0", + "@commitlint/resolve-extends": "^9.1.0", + "@commitlint/types": "^9.1.0", "chalk": "4.1.0", "cosmiconfig": "^6.0.0", "lodash": "^4.17.15", diff --git a/@commitlint/message/CHANGELOG.md b/@commitlint/message/CHANGELOG.md index d52fd30dd2..0de2464621 100644 --- a/@commitlint/message/CHANGELOG.md +++ b/@commitlint/message/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package @commitlint/message + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/message diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index 91c37f7ea4..59563d1c23 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/message", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,8 +34,8 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.0.1", - "@commitlint/utils": "^9.0.1" + "@commitlint/test": "^9.1.0", + "@commitlint/utils": "^9.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/parse/CHANGELOG.md b/@commitlint/parse/CHANGELOG.md index 97dd5803fe..efaec4e35d 100644 --- a/@commitlint/parse/CHANGELOG.md +++ b/@commitlint/parse/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package @commitlint/parse + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/parse diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 4d68cbc807..2976b8d713 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/parse", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,8 +34,8 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.0.1", - "@commitlint/utils": "^9.0.1" + "@commitlint/test": "^9.1.0", + "@commitlint/utils": "^9.1.0" }, "dependencies": { "conventional-changelog-angular": "^5.0.0", diff --git a/@commitlint/prompt-cli/CHANGELOG.md b/@commitlint/prompt-cli/CHANGELOG.md index 57af84caaa..069d16e9c1 100644 --- a/@commitlint/prompt-cli/CHANGELOG.md +++ b/@commitlint/prompt-cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package @commitlint/prompt-cli + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/prompt-cli diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index cad264de1d..114d30cd66 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt-cli", - "version": "9.0.1", + "version": "9.1.0", "description": "commit prompt using commitlint.config.js", "files": [ "cli.js" @@ -31,11 +31,11 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/test": "^9.0.1", - "@commitlint/utils": "^9.0.1" + "@commitlint/test": "^9.1.0", + "@commitlint/utils": "^9.1.0" }, "dependencies": { - "@commitlint/prompt": "^9.0.1", + "@commitlint/prompt": "^9.1.0", "execa": "^3.4.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" diff --git a/@commitlint/prompt/CHANGELOG.md b/@commitlint/prompt/CHANGELOG.md index ef6bf15700..7fbfcffaf8 100644 --- a/@commitlint/prompt/CHANGELOG.md +++ b/@commitlint/prompt/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + + +### Bug Fixes + +* update dependency chalk to v4 ([#1275](https://github.com/conventional-changelog/commitlint/issues/1275)) ([a5d8fa1](https://github.com/conventional-changelog/commitlint/commit/a5d8fa118e8221361f14f5fd2b21d7aaad008a27)) + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index c0940f44d4..7627462092 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt", - "version": "9.0.1", + "version": "9.1.0", "description": "commitizen prompt using commitlint.config.js", "main": "./lib/index.js", "files": [ @@ -50,14 +50,14 @@ "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", - "@commitlint/utils": "^9.0.1", + "@commitlint/utils": "^9.1.0", "babel-preset-commitlint": "^9.0.1", "commitizen": "4.1.2", "cross-env": "7.0.2" }, "dependencies": { "@babel/runtime": "^7.9.6", - "@commitlint/load": "^9.0.1", + "@commitlint/load": "^9.1.0", "chalk": "^4.0.0", "lodash": "^4.17.15", "throat": "^5.0.0", diff --git a/@commitlint/read/CHANGELOG.md b/@commitlint/read/CHANGELOG.md index 8ceff317df..aadd1d02c7 100644 --- a/@commitlint/read/CHANGELOG.md +++ b/@commitlint/read/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package @commitlint/read + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/read diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 65ab215422..94196693c5 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/read", - "version": "9.0.1", + "version": "9.1.0", "description": "Read commit messages from a specified range or last edit", "main": "lib/read.js", "types": "lib/read.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.0.1", - "@commitlint/utils": "^9.0.1", + "@commitlint/test": "^9.1.0", + "@commitlint/utils": "^9.1.0", "@types/fs-extra": "^8.0.1", "@types/git-raw-commits": "^2.0.0" }, "dependencies": { - "@commitlint/top-level": "^9.0.1", + "@commitlint/top-level": "^9.1.0", "fs-extra": "^8.1.0", "git-raw-commits": "^2.0.0" }, diff --git a/@commitlint/resolve-extends/CHANGELOG.md b/@commitlint/resolve-extends/CHANGELOG.md index 9303f06960..9beb04cbcb 100644 --- a/@commitlint/resolve-extends/CHANGELOG.md +++ b/@commitlint/resolve-extends/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package @commitlint/resolve-extends + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/resolve-extends diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index bc66d97292..598bb71167 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/resolve-extends", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.0.1", + "@commitlint/utils": "^9.1.0", "@types/lodash": "4.14.149" }, "dependencies": { diff --git a/@commitlint/rules/CHANGELOG.md b/@commitlint/rules/CHANGELOG.md index 18f01fd33f..084c5d64c7 100644 --- a/@commitlint/rules/CHANGELOG.md +++ b/@commitlint/rules/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + + +### Features + +* enable multiple scopes in scope-enum and scope-case rules ([#901](https://github.com/conventional-changelog/commitlint/issues/901)) ([73632ce](https://github.com/conventional-changelog/commitlint/commit/73632cec299d5c3a980d07037c08633c843a8555)) + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/rules diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index 6150464b05..bfccb1e5f3 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/rules", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,17 +34,17 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^9.0.1", - "@commitlint/test": "^9.0.1", - "@commitlint/utils": "^9.0.1", + "@commitlint/parse": "^9.1.0", + "@commitlint/test": "^9.1.0", + "@commitlint/utils": "^9.1.0", "conventional-changelog-angular": "5.0.10", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/ensure": "^9.0.1", - "@commitlint/message": "^9.0.1", - "@commitlint/to-lines": "^9.0.1", - "@commitlint/types": "^9.0.1" + "@commitlint/ensure": "^9.1.0", + "@commitlint/message": "^9.1.0", + "@commitlint/to-lines": "^9.1.0", + "@commitlint/types": "^9.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/to-lines/CHANGELOG.md b/@commitlint/to-lines/CHANGELOG.md index 04c3102405..df4991c3d2 100644 --- a/@commitlint/to-lines/CHANGELOG.md +++ b/@commitlint/to-lines/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package @commitlint/to-lines + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/to-lines diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index e63bfdbe86..977d7b2bad 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/to-lines", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.0.1" + "@commitlint/utils": "^9.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/top-level/CHANGELOG.md b/@commitlint/top-level/CHANGELOG.md index 16b06057e1..f9440d2f35 100644 --- a/@commitlint/top-level/CHANGELOG.md +++ b/@commitlint/top-level/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package @commitlint/top-level + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/top-level diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index 0967044d85..1b968f76a1 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/top-level", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.0.1" + "@commitlint/utils": "^9.1.0" }, "dependencies": { "find-up": "^4.0.0" diff --git a/@commitlint/travis-cli/CHANGELOG.md b/@commitlint/travis-cli/CHANGELOG.md index 31a4a0d2b5..28befba37e 100644 --- a/@commitlint/travis-cli/CHANGELOG.md +++ b/@commitlint/travis-cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + +**Note:** Version bump only for package @commitlint/travis-cli + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 6a6d8eb206..ac132b43ad 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/travis-cli", - "version": "9.0.1", + "version": "9.1.0", "description": "Lint all relevant commits for a change or PR on Travis CI", "files": [ "lib/" @@ -47,14 +47,14 @@ "devDependencies": { "@babel/cli": "7.10.3", "@babel/core": "7.10.3", - "@commitlint/test": "^9.0.1", - "@commitlint/utils": "^9.0.1", + "@commitlint/test": "^9.1.0", + "@commitlint/utils": "^9.1.0", "babel-preset-commitlint": "^9.0.1", "cross-env": "7.0.2" }, "dependencies": { "@babel/runtime": "^7.9.6", - "@commitlint/cli": "^9.0.1", + "@commitlint/cli": "^9.1.0", "execa": "^3.4.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" diff --git a/@commitlint/types/CHANGELOG.md b/@commitlint/types/CHANGELOG.md index 01aaa21dfc..0ecdfd7c81 100644 --- a/@commitlint/types/CHANGELOG.md +++ b/@commitlint/types/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + + +### Features + +* add local plugins support ([#1692](https://github.com/conventional-changelog/commitlint/issues/1692)) ([7b29c48](https://github.com/conventional-changelog/commitlint/commit/7b29c48321b513e091849fbb2cc2bf0e6ebb94a6)) + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/types diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index 3de43a6e47..ab055a2075 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/types", - "version": "9.0.1", + "version": "9.1.0", "description": "Shared types for commitlint packages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -27,7 +27,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.0.1" + "@commitlint/utils": "^9.1.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@packages/test-environment/CHANGELOG.md b/@packages/test-environment/CHANGELOG.md index 82c19b245f..c4211507da 100644 --- a/@packages/test-environment/CHANGELOG.md +++ b/@packages/test-environment/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + + +### Bug Fixes + +* update dependency tmp to v0.2.1 ([#1817](https://github.com/conventional-changelog/commitlint/issues/1817)) ([0ff72f4](https://github.com/conventional-changelog/commitlint/commit/0ff72f41bd48b3dd37f881f6fb11477d8f643735)) + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/test-environment diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index 769ac12311..739801961f 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/test-environment", - "version": "9.0.1", + "version": "9.1.0", "description": "test environment for @commitlint", "main": "lib/test-environment.js", "types": "lib/test-environment.d.ts", diff --git a/@packages/test/CHANGELOG.md b/@packages/test/CHANGELOG.md index 703da2af23..c4114da330 100644 --- a/@packages/test/CHANGELOG.md +++ b/@packages/test/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + + +### Bug Fixes + +* update dependency tmp to v0.2.1 ([#1817](https://github.com/conventional-changelog/commitlint/issues/1817)) ([0ff72f4](https://github.com/conventional-changelog/commitlint/commit/0ff72f41bd48b3dd37f881f6fb11477d8f643735)) + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/test diff --git a/@packages/test/package.json b/@packages/test/package.json index 3fa48d0f44..cad37c342d 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/test", - "version": "9.0.1", + "version": "9.1.0", "description": "test utilities for @commitlint", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/@packages/utils/CHANGELOG.md b/@packages/utils/CHANGELOG.md index 312ddabb18..fcc5d5e1b3 100644 --- a/@packages/utils/CHANGELOG.md +++ b/@packages/utils/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + + +### Bug Fixes + +* update dependency tar-fs to v2.1.0 ([#1103](https://github.com/conventional-changelog/commitlint/issues/1103)) ([7882036](https://github.com/conventional-changelog/commitlint/commit/788203689ebf51343ccf2e6eab530e19f4faf122)) + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package @commitlint/utils diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 3952d3cfb3..e387e53bd4 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/utils", - "version": "9.0.1", + "version": "9.1.0", "description": "Development utilities for @commitlint", "files": [ "dep-check.js", @@ -36,7 +36,7 @@ }, "license": "MIT", "dependencies": { - "@commitlint/test": "^9.0.1", + "@commitlint/test": "^9.1.0", "execa": "^3.4.0", "is-builtin-module": "3.0.0", "meow": "4.0.1", diff --git a/CHANGELOG.md b/CHANGELOG.md index e438f10a27..e6b0247bc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,28 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) + + +### Bug Fixes + +* update dependency chalk to v4 ([#1275](https://github.com/conventional-changelog/commitlint/issues/1275)) ([a5d8fa1](https://github.com/conventional-changelog/commitlint/commit/a5d8fa118e8221361f14f5fd2b21d7aaad008a27)) +* update dependency conventional-changelog-conventionalcommits to v4.3.0 ([#1816](https://github.com/conventional-changelog/commitlint/issues/1816)) ([f99aeda](https://github.com/conventional-changelog/commitlint/commit/f99aeda068aabdb250e2c9819da7229a695154b9)) +* update dependency regenerator-runtime to v0.13.5 ([#1017](https://github.com/conventional-changelog/commitlint/issues/1017)) ([9c4fdf1](https://github.com/conventional-changelog/commitlint/commit/9c4fdf1b5f42677422532dad655af9aed9b43881)) +* update dependency semver to v7.3.2 ([#1369](https://github.com/conventional-changelog/commitlint/issues/1369)) ([3c09722](https://github.com/conventional-changelog/commitlint/commit/3c09722d2db85a94cd1f4bf25c6b4251b2c41bbb)) +* update dependency tar-fs to v2.1.0 ([#1103](https://github.com/conventional-changelog/commitlint/issues/1103)) ([7882036](https://github.com/conventional-changelog/commitlint/commit/788203689ebf51343ccf2e6eab530e19f4faf122)) +* update dependency tmp to v0.2.1 ([#1817](https://github.com/conventional-changelog/commitlint/issues/1817)) ([0ff72f4](https://github.com/conventional-changelog/commitlint/commit/0ff72f41bd48b3dd37f881f6fb11477d8f643735)) + + +### Features + +* add local plugins support ([#1692](https://github.com/conventional-changelog/commitlint/issues/1692)) ([7b29c48](https://github.com/conventional-changelog/commitlint/commit/7b29c48321b513e091849fbb2cc2bf0e6ebb94a6)) +* enable multiple scopes in scope-enum and scope-case rules ([#901](https://github.com/conventional-changelog/commitlint/issues/901)) ([73632ce](https://github.com/conventional-changelog/commitlint/commit/73632cec299d5c3a980d07037c08633c843a8555)) + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) diff --git a/lerna.json b/lerna.json index e58d05d412..6731c479c8 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "lerna": "2", "npmClient": "yarn", "useWorkspaces": true, - "version": "9.0.1" + "version": "9.1.0" } From d1db61b033c59deeab74dfd1b63bb245cfbf70fc Mon Sep 17 00:00:00 2001 From: escapedcat Date: Sun, 21 Jun 2020 15:39:23 +0800 Subject: [PATCH 0151/2192] docs: add otp tag to release info --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 880f761bb3..81765c7122 100644 --- a/README.md +++ b/README.md @@ -211,7 +211,7 @@ yarn clean yarn install yarn run build yarn test -yarn run publish +yarn run publish --otp ``` #### Publish a `next` release @@ -221,7 +221,7 @@ yarn clean yarn install yarn run build yarn test -npx lerna publish --conventional-commits --dist-tag next +npx lerna publish --conventional-commits --dist-tag next --otp ``` ##### Move `next` to `latest` From 80c4ceb96c638731cf933ba00f79016c2f9aa844 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 21 Jun 2020 16:01:02 +0800 Subject: [PATCH 0152/2192] chore: update dependency eslint-plugin-jest to v23.16.0 (#1969) Co-authored-by: Renovate Bot --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 7e5c91562e..8abadc9de5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4792,9 +4792,9 @@ eslint-plugin-import@^2.20.1: tsconfig-paths "^3.9.0" eslint-plugin-jest@^23.6.0: - version "23.15.0" - resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.15.0.tgz#b1a902c651cb50301ee9f85c9ea90dbca83e2976" - integrity sha512-VapqxFfxi11GHTXg2iOeJVmeAfaRrqudfI3UcwfH4wwHyjP1jXyTEJjLWInxe2sSRzuisKV8+VzxQhGUC3V6Gw== + version "23.16.0" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.16.0.tgz#fada00f765b5e32a1fb10a7490f75ebf673133b3" + integrity sha512-51KcQup31S2NBm+Yqg3rxZIPETd+wZ/gU2rb034RpdXLcZYsa2+uwubqbbDAYIpQw3m+wywF/A56OMEouBY/wA== dependencies: "@typescript-eslint/experimental-utils" "^2.5.0" From 23511248b2b4020ee87d04a838c7ce31e094c128 Mon Sep 17 00:00:00 2001 From: hannes Date: Sun, 21 Jun 2020 16:03:55 +0800 Subject: [PATCH 0153/2192] fix: mark internal packages as private #972 (#1970) --- @packages/babel-preset-commitlint/package.json | 1 + @packages/test-environment/package.json | 1 + @packages/test/package.json | 1 + @packages/utils/package.json | 1 + 4 files changed, 4 insertions(+) diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index e4ef9a7d4e..8f2fa15ed1 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -2,6 +2,7 @@ "name": "babel-preset-commitlint", "version": "9.0.1", "description": "Lint your commit messages", + "private": true, "main": "index.js", "files": [ "index.js" diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index 739801961f..a5fe821de5 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -2,6 +2,7 @@ "name": "@commitlint/test-environment", "version": "9.1.0", "description": "test environment for @commitlint", + "private": true, "main": "lib/test-environment.js", "types": "lib/test-environment.d.ts", "files": [ diff --git a/@packages/test/package.json b/@packages/test/package.json index cad37c342d..6427030e84 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -2,6 +2,7 @@ "name": "@commitlint/test", "version": "9.1.0", "description": "test utilities for @commitlint", + "private": true, "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ diff --git a/@packages/utils/package.json b/@packages/utils/package.json index e387e53bd4..7364fb2f56 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -2,6 +2,7 @@ "name": "@commitlint/utils", "version": "9.1.0", "description": "Development utilities for @commitlint", + "private": true, "files": [ "dep-check.js", "pkg-check.js" From a58c0fa39b20dd914b3cac54f9de8934df534cc5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2020 16:51:12 +0800 Subject: [PATCH 0154/2192] chore: update dependency ts-jest to v26.1.1 (#1971) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3871f08c0c..272b2b3f51 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "lerna-v3": "npm:lerna@3", "lint-staged": "10.2.11", "prettier": "1.17.1", - "ts-jest": "26.1.0", + "ts-jest": "26.1.1", "typescript": "3.8.2" }, "husky": { diff --git a/yarn.lock b/yarn.lock index 8abadc9de5..576e883b06 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10503,10 +10503,10 @@ trim-off-newlines@^1.0.0: resolved "https://registry.npmjs.org/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3" integrity sha1-n5up2e+odkw4dpi8v+sshI8RrbM= -ts-jest@26.1.0: - version "26.1.0" - resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-26.1.0.tgz#e9070fc97b3ea5557a48b67c631c74eb35e15417" - integrity sha512-JbhQdyDMYN5nfKXaAwCIyaWLGwevcT2/dbqRPsQeh6NZPUuXjZQZEfeLb75tz0ubCIgEELNm6xAzTe5NXs5Y4Q== +ts-jest@26.1.1: + version "26.1.1" + resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-26.1.1.tgz#b98569b8a4d4025d966b3d40c81986dd1c510f8d" + integrity sha512-Lk/357quLg5jJFyBQLnSbhycnB3FPe+e9i7ahxokyXxAYoB0q1pPmqxxRPYr4smJic1Rjcf7MXDBhZWgxlli0A== dependencies: bs-logger "0.x" buffer-from "1.x" From f8e1b71896f6dd78ce6f9ec4681b91598d33fe68 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2020 09:36:17 +0800 Subject: [PATCH 0155/2192] chore: update typescript-eslint monorepo to v3.4.0 (#1972) Co-authored-by: Renovate Bot --- yarn.lock | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/yarn.lock b/yarn.lock index 576e883b06..c7b2c70661 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2612,23 +2612,24 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^3.0.0": - version "3.3.0" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.3.0.tgz#89518e5c5209a349bde161c3489b0ec187ae5d37" - integrity sha512-Ybx/wU75Tazz6nU2d7nN6ll0B98odoiYLXwcuwS5WSttGzK46t0n7TPRQ4ozwcTv82UY6TQoIvI+sJfTzqK9dQ== + version "3.4.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.4.0.tgz#8378062e6be8a1d049259bdbcf27ce5dfbeee62b" + integrity sha512-wfkpiqaEVhZIuQRmudDszc01jC/YR7gMSxa6ulhggAe/Hs0KVIuo9wzvFiDbG3JD5pRFQoqnf4m7REDsUvBnMQ== dependencies: - "@typescript-eslint/experimental-utils" "3.3.0" + "@typescript-eslint/experimental-utils" "3.4.0" + debug "^4.1.1" functional-red-black-tree "^1.0.1" regexpp "^3.0.0" semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@3.3.0": - version "3.3.0" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.3.0.tgz#d72a946e056a83d4edf97f3411cceb639b0b8c87" - integrity sha512-d4pGIAbu/tYsrPrdHCQ5xfadJGvlkUxbeBB56nO/VGmEDi/sKmfa5fGty5t5veL1OyJBrUmSiRn1R1qfVDydrg== +"@typescript-eslint/experimental-utils@3.4.0": + version "3.4.0" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.4.0.tgz#8a44dfc6fb7f1d071937b390fe27608ebda122b8" + integrity sha512-rHPOjL43lOH1Opte4+dhC0a/+ks+8gOBwxXnyrZ/K4OTAChpSjP76fbI8Cglj7V5GouwVAGaK+xVwzqTyE/TPw== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "3.3.0" + "@typescript-eslint/typescript-estree" "3.4.0" eslint-scope "^5.0.0" eslint-utils "^2.0.0" @@ -2643,13 +2644,13 @@ eslint-utils "^2.0.0" "@typescript-eslint/parser@^3.0.0": - version "3.3.0" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.3.0.tgz#fcae40012ded822aa8b2739a1a03a4e3c5bbb7bb" - integrity sha512-a7S0Sqn/+RpOOWTcaLw6RD4obsharzxmgMfdK24l364VxuBODXjuJM7ImCkSXEN7oz52aiZbXSbc76+2EsE91w== + version "3.4.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.4.0.tgz#fe52b68c5cb3bba3f5d875bd17adb70420d49d8d" + integrity sha512-ZUGI/de44L5x87uX5zM14UYcbn79HSXUR+kzcqU42gH0AgpdB/TjuJy3m4ezI7Q/jk3wTQd755mxSDLhQP79KA== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "3.3.0" - "@typescript-eslint/typescript-estree" "3.3.0" + "@typescript-eslint/experimental-utils" "3.4.0" + "@typescript-eslint/typescript-estree" "3.4.0" eslint-visitor-keys "^1.1.0" "@typescript-eslint/typescript-estree@2.34.0": @@ -2665,10 +2666,10 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/typescript-estree@3.3.0": - version "3.3.0" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.3.0.tgz#841ffed25c29b0049ebffb4c2071268a34558a2a" - integrity sha512-3SqxylENltEvJsjjMSDCUx/edZNSC7wAqifUU1Ywp//0OWEZwMZJfecJud9XxJ/40rAKEbJMKBOQzeOjrLJFzQ== +"@typescript-eslint/typescript-estree@3.4.0": + version "3.4.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.4.0.tgz#6a787eb70b48969e4cd1ea67b057083f96dfee29" + integrity sha512-zKwLiybtt4uJb4mkG5q2t6+W7BuYx2IISiDNV+IY68VfoGwErDx/RfVI7SWL4gnZ2t1A1ytQQwZ+YOJbHHJ2rw== dependencies: debug "^4.1.1" eslint-visitor-keys "^1.1.0" From 546ac1b829ed452078402fae6949d71be84634d1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2020 11:38:25 +0800 Subject: [PATCH 0156/2192] chore: update dependency eslint to v7.3.1 (#1973) Co-authored-by: Renovate Bot --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index c7b2c70661..5de75236f1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4820,9 +4820,9 @@ eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.2.0: integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== eslint@^7.0.0: - version "7.3.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-7.3.0.tgz#f9f1fc3dc1227985d0db88769f2bbac7b4b875d7" - integrity sha512-dJMVXwfU5PT1cj2Nv2VPPrKahKTGdX+5Dh0Q3YuKt+Y2UhdL2YbzsVaBMyG9HC0tBismlv/r1+eZqs6SMIV38Q== + version "7.3.1" + resolved "https://registry.npmjs.org/eslint/-/eslint-7.3.1.tgz#76392bd7e44468d046149ba128d1566c59acbe19" + integrity sha512-cQC/xj9bhWUcyi/RuMbRtC3I0eW8MH0jhRELSvpKYkWep3C6YZ2OkvcvJVUeO6gcunABmzptbXBuDoXsjHmfTA== dependencies: "@babel/code-frame" "^7.0.0" ajv "^6.10.0" From 0fbbb47ee35891a10aa111cb8960a5c09a2f6eb3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2020 15:29:17 +0800 Subject: [PATCH 0157/2192] chore: update dependency eslint-plugin-jest to v23.17.0 (#1974) Co-authored-by: Renovate Bot --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 5de75236f1..b25affc097 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4793,9 +4793,9 @@ eslint-plugin-import@^2.20.1: tsconfig-paths "^3.9.0" eslint-plugin-jest@^23.6.0: - version "23.16.0" - resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.16.0.tgz#fada00f765b5e32a1fb10a7490f75ebf673133b3" - integrity sha512-51KcQup31S2NBm+Yqg3rxZIPETd+wZ/gU2rb034RpdXLcZYsa2+uwubqbbDAYIpQw3m+wywF/A56OMEouBY/wA== + version "23.17.0" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.17.0.tgz#06eece5bd37119ea9680e069d521ae22bff6318f" + integrity sha512-vp8WwadIvaz95SamnxL5rAQViA5DBNcG2hpWW3jqt3iCgdc2hIg9qul/pZgcqLULerWAvok70VObXRZGFZEHTQ== dependencies: "@typescript-eslint/experimental-utils" "^2.5.0" From cff197948bdca27c3e4b373132f63fd61fe91944 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2020 09:48:57 +0800 Subject: [PATCH 0158/2192] chore: update dependency eslint-plugin-jest to v23.17.1 (#1975) Co-authored-by: Renovate Bot --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index b25affc097..fa843bb0de 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4793,9 +4793,9 @@ eslint-plugin-import@^2.20.1: tsconfig-paths "^3.9.0" eslint-plugin-jest@^23.6.0: - version "23.17.0" - resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.17.0.tgz#06eece5bd37119ea9680e069d521ae22bff6318f" - integrity sha512-vp8WwadIvaz95SamnxL5rAQViA5DBNcG2hpWW3jqt3iCgdc2hIg9qul/pZgcqLULerWAvok70VObXRZGFZEHTQ== + version "23.17.1" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.17.1.tgz#c0f39ba78e0f33b7ee1ce4ec92b773e39026ea3f" + integrity sha512-/o36fw67qNbJGWbSBIBMfseMsNP/d88WUHAGHCi1xFwsNB3XXZGdvxbOw49j3iQz6MCW/yw8OeOsuQhi6mM5ZA== dependencies: "@typescript-eslint/experimental-utils" "^2.5.0" From 014b82b2f3acf3c15952d2ea2534dca69dff109f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 25 Jun 2020 10:41:53 +0800 Subject: [PATCH 0159/2192] chore: update dependency @types/jest to v26.0.3 (#1978) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 272b2b3f51..4933b04164 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ }, "devDependencies": { "@lerna/project": "3.21.0", - "@types/jest": "26.0.0", + "@types/jest": "26.0.3", "@types/node": "12.12.47", "@typescript-eslint/eslint-plugin": "^3.0.0", "@typescript-eslint/parser": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index fa843bb0de..a466c3b6d1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2534,10 +2534,10 @@ "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" -"@types/jest@26.0.0": - version "26.0.0" - resolved "https://registry.npmjs.org/@types/jest/-/jest-26.0.0.tgz#a6d7573dffa9c68cbbdf38f2e0de26f159e11134" - integrity sha512-/yeMsH9HQ1RLORlXAwoLXe8S98xxvhNtUz3yrgrwbaxYjT+6SFPZZRksmRKRA6L5vsUtSHeN71viDOTTyYAD+g== +"@types/jest@26.0.3": + version "26.0.3" + resolved "https://registry.npmjs.org/@types/jest/-/jest-26.0.3.tgz#79534e0e94857171c0edc596db0ebe7cb7863251" + integrity sha512-v89ga1clpVL/Y1+YI0eIu1VMW+KU7Xl8PhylVtDKVWaSUHBHYPLXMQGBdrpHewaKoTvlXkksbYqPgz8b4cmRZg== dependencies: jest-diff "^25.2.1" pretty-format "^25.2.1" From a43c5a3c8c5ddb9f96fae72fcb6cc28da98972fb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 25 Jun 2020 10:42:04 +0800 Subject: [PATCH 0160/2192] chore: update dependency @types/semver to v7.3.1 (#1979) Co-authored-by: Renovate Bot --- @commitlint/is-ignored/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index 7962e8d34d..98fbe3755d 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -37,7 +37,7 @@ "@commitlint/parse": "^9.1.0", "@commitlint/test": "^9.1.0", "@commitlint/utils": "^9.1.0", - "@types/semver": "7.2.0" + "@types/semver": "7.3.1" }, "dependencies": { "@commitlint/types": "^9.1.0", diff --git a/yarn.lock b/yarn.lock index a466c3b6d1..450e60376b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2582,10 +2582,10 @@ resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== -"@types/semver@7.2.0": - version "7.2.0" - resolved "https://registry.npmjs.org/@types/semver/-/semver-7.2.0.tgz#0d72066965e910531e1db4621c15d0ca36b8d83b" - integrity sha512-TbB0A8ACUWZt3Y6bQPstW9QNbhNeebdgLX4T/ZfkrswAfUzRiXrgd9seol+X379Wa589Pu4UEx9Uok0D4RjRCQ== +"@types/semver@7.3.1": + version "7.3.1" + resolved "https://registry.npmjs.org/@types/semver/-/semver-7.3.1.tgz#7a9a5d595b6d873f338c867dcef64df289468cfa" + integrity sha512-ooD/FJ8EuwlDKOI6D9HWxgIgJjMg2cuziXm/42npDC8y4NjxplBUn9loewZiBNCt44450lHAU0OSb51/UqXeag== dependencies: "@types/node" "*" From 50ae7c15e0e4d759677bb93a42a713f2402d7130 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 27 Jun 2020 16:18:21 +0800 Subject: [PATCH 0161/2192] chore: update dependency eslint-plugin-import to v2.22.0 (#1981) Co-authored-by: Renovate Bot --- yarn.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/yarn.lock b/yarn.lock index 450e60376b..4df82de9d7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4758,9 +4758,9 @@ eslint-config-prettier@^6.10.0: get-stdin "^6.0.0" eslint-import-resolver-node@^0.3.3: - version "0.3.3" - resolved "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.3.tgz#dbaa52b6b2816b50bc6711af75422de808e98404" - integrity sha512-b8crLDo0M5RSe5YG8Pu2DYBj71tSB6OvXkfzwbJU2w7y8P4/yo0MyF8jU26IEuEuHF2K5/gcAJE3LhQGqBBbVg== + version "0.3.4" + resolved "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz#85ffa81942c25012d8231096ddf679c03042c717" + integrity sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA== dependencies: debug "^2.6.9" resolve "^1.13.1" @@ -4774,9 +4774,9 @@ eslint-module-utils@^2.6.0: pkg-dir "^2.0.0" eslint-plugin-import@^2.20.1: - version "2.21.2" - resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.21.2.tgz#8fef77475cc5510801bedc95f84b932f7f334a7c" - integrity sha512-FEmxeGI6yaz+SnEB6YgNHlQK1Bs2DKLM+YF+vuTk5H8J9CLbJLtlPvRFgZZ2+sXiKAlN5dpdlrWOjK8ZoZJpQA== + version "2.22.0" + resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.0.tgz#92f7736fe1fde3e2de77623c838dd992ff5ffb7e" + integrity sha512-66Fpf1Ln6aIS5Gr/55ts19eUuoDhAbZgnr6UxK5hbDx6l/QgQgx61AePq+BV4PP2uXQFClgMVzep5zZ94qqsxg== dependencies: array-includes "^3.1.1" array.prototype.flat "^1.2.3" @@ -8216,9 +8216,9 @@ object-copy@^0.1.0: kind-of "^3.0.3" object-inspect@^1.7.0: - version "1.7.0" - resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67" - integrity sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw== + version "1.8.0" + resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz#df807e5ecf53a609cc6bfe93eac3cc7be5b3a9d0" + integrity sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA== object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1: version "1.1.1" From d0f0eb9fde7efc2dff7a3aad190ded14303d3079 Mon Sep 17 00:00:00 2001 From: Julius Recep Colliander Celik Date: Mon, 29 Jun 2020 07:50:01 +0200 Subject: [PATCH 0162/2192] fix(load): resolve plugins from extended configs (#1976) * test(load): adds test for loading plugins from an extended config * fix(load): loads plugins from extended configs * refactor: clean up a loading test * test(load): adds test for including a shareable config with a local plugin * test: adds more realistic test-scenarios * Update @commitlint/load/src/load.ts Co-authored-by: Cedric van Putten Co-authored-by: Julius Celik Co-authored-by: Cedric van Putten --- .../commitlint.config.js | 3 +++ .../commitlint.config.js | 21 +++++++++++++++ .../config-with-local-plugin/index.js | 1 + .../extends-with-plugins/commitlint.config.js | 3 +++ .../config-with-plugins/commitlint.config.js | 3 +++ .../config-with-plugins/index.js | 1 + @commitlint/load/src/load.test.ts | 26 +++++++++++++++++++ @commitlint/load/src/load.ts | 6 +++++ 8 files changed, 64 insertions(+) create mode 100644 @commitlint/load/fixtures/extends-with-local-plugins/commitlint.config.js create mode 100644 @commitlint/load/fixtures/extends-with-local-plugins/config-with-local-plugin/commitlint.config.js create mode 100644 @commitlint/load/fixtures/extends-with-local-plugins/config-with-local-plugin/index.js create mode 100644 @commitlint/load/fixtures/extends-with-plugins/commitlint.config.js create mode 100644 @commitlint/load/fixtures/extends-with-plugins/config-with-plugins/commitlint.config.js create mode 100644 @commitlint/load/fixtures/extends-with-plugins/config-with-plugins/index.js diff --git a/@commitlint/load/fixtures/extends-with-local-plugins/commitlint.config.js b/@commitlint/load/fixtures/extends-with-local-plugins/commitlint.config.js new file mode 100644 index 0000000000..f0c973fd8c --- /dev/null +++ b/@commitlint/load/fixtures/extends-with-local-plugins/commitlint.config.js @@ -0,0 +1,3 @@ +module.exports = { + extends: ['./config-with-local-plugin'], +}; diff --git a/@commitlint/load/fixtures/extends-with-local-plugins/config-with-local-plugin/commitlint.config.js b/@commitlint/load/fixtures/extends-with-local-plugins/config-with-local-plugin/commitlint.config.js new file mode 100644 index 0000000000..2412bcd48a --- /dev/null +++ b/@commitlint/load/fixtures/extends-with-local-plugins/config-with-local-plugin/commitlint.config.js @@ -0,0 +1,21 @@ +module.exports = { + extends: [], + plugins: [{ + rules: { + 'hello-world-rule': ({ subject }) => { + const HELLO_WORLD = 'Hello World'; + return [ + subject.includes(HELLO_WORLD), + `Your subject should contain ${HELLO_WORLD} message` + ]; + }, + 'is-positive': ({ subject }) => { + const POSITIVE_EMOJI = ':)'; + return [ + subject.includes(POSITIVE_EMOJI), + `Your subject should contain ${POSITIVE_EMOJI} message` + ]; + } + } + }] +}; diff --git a/@commitlint/load/fixtures/extends-with-local-plugins/config-with-local-plugin/index.js b/@commitlint/load/fixtures/extends-with-local-plugins/config-with-local-plugin/index.js new file mode 100644 index 0000000000..fe16cc487b --- /dev/null +++ b/@commitlint/load/fixtures/extends-with-local-plugins/config-with-local-plugin/index.js @@ -0,0 +1 @@ +module.exports = require('./commitlint.config.js'); diff --git a/@commitlint/load/fixtures/extends-with-plugins/commitlint.config.js b/@commitlint/load/fixtures/extends-with-plugins/commitlint.config.js new file mode 100644 index 0000000000..cf6e89466d --- /dev/null +++ b/@commitlint/load/fixtures/extends-with-plugins/commitlint.config.js @@ -0,0 +1,3 @@ +module.exports = { + extends: ['./config-with-plugins'], +}; diff --git a/@commitlint/load/fixtures/extends-with-plugins/config-with-plugins/commitlint.config.js b/@commitlint/load/fixtures/extends-with-plugins/config-with-plugins/commitlint.config.js new file mode 100644 index 0000000000..1a285b7b1a --- /dev/null +++ b/@commitlint/load/fixtures/extends-with-plugins/config-with-plugins/commitlint.config.js @@ -0,0 +1,3 @@ +module.exports = { + plugins: ['example', '@scope/example'] +}; diff --git a/@commitlint/load/fixtures/extends-with-plugins/config-with-plugins/index.js b/@commitlint/load/fixtures/extends-with-plugins/config-with-plugins/index.js new file mode 100644 index 0000000000..fe16cc487b --- /dev/null +++ b/@commitlint/load/fixtures/extends-with-plugins/config-with-plugins/index.js @@ -0,0 +1 @@ +module.exports = require('./commitlint.config.js'); diff --git a/@commitlint/load/src/load.test.ts b/@commitlint/load/src/load.test.ts index 80e71147d9..1a3e4ba1f8 100644 --- a/@commitlint/load/src/load.test.ts +++ b/@commitlint/load/src/load.test.ts @@ -95,6 +95,32 @@ test('plugins should be loaded from config', async () => { }); }); +test('plugins should be loaded from shareable config', async () => { + const cwd = await gitBootstrap('fixtures/extends-with-plugins'); + const actual = await load({}, {cwd}); + + expect(actual.plugins).toMatchObject({ + example: plugin, + '@scope/example': scopedPlugin + }); +}); + +test('local plugins should be loaded from shareable configs', async () => { + const cwd = await gitBootstrap('fixtures/extends-with-local-plugins'); + const actual = await load({}, {cwd}); + + expect(actual.plugins).toEqual( + expect.objectContaining({ + local: { + rules: { + 'hello-world-rule': expect.any(Function), + 'is-positive': expect.any(Function) + } + } + }) + ); +}); + test('uses seed with parserPreset', async () => { const cwd = await gitBootstrap('fixtures/parser-preset'); const {parserPreset: actual} = await load( diff --git a/@commitlint/load/src/load.ts b/@commitlint/load/src/load.ts index 63fec9b908..c939e82192 100644 --- a/@commitlint/load/src/load.ts +++ b/@commitlint/load/src/load.ts @@ -3,6 +3,7 @@ import Path from 'path'; import merge from 'lodash/merge'; import mergeWith from 'lodash/mergeWith'; import pick from 'lodash/pick'; +import union from 'lodash/union'; import resolveFrom from 'resolve-from'; import executeRule from '@commitlint/execute-rule'; @@ -84,6 +85,11 @@ export default async function load( resolveFrom.silent(base, config.formatter) || config.formatter; } + // Read plugins from extends + if (Array.isArray(extended.plugins)) { + config.plugins = union(config.plugins, extended.plugins || []); + } + // resolve plugins if (Array.isArray(config.plugins)) { config.plugins.forEach(plugin => { From 90d580424434ad913f429347067078a3dab63f2a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 30 Jun 2020 11:49:57 +0800 Subject: [PATCH 0163/2192] chore: update dependency @types/lodash to v4.14.157 (#1592) Co-authored-by: Renovate Bot --- @commitlint/ensure/package.json | 2 +- @commitlint/load/package.json | 2 +- @commitlint/resolve-extends/package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 7cf98270e9..df2bde6541 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -35,7 +35,7 @@ "license": "MIT", "devDependencies": { "@commitlint/utils": "^9.1.0", - "@types/lodash": "4.14.149", + "@types/lodash": "4.14.157", "globby": "^11.0.0" }, "dependencies": { diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 0bfa0f073c..877a8bc2d7 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -36,7 +36,7 @@ "devDependencies": { "@commitlint/test": "^9.1.0", "@commitlint/utils": "^9.1.0", - "@types/lodash": "4.14.149", + "@types/lodash": "4.14.157", "execa": "^3.4.0" }, "dependencies": { diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index 598bb71167..8ea09cda7e 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -35,7 +35,7 @@ "license": "MIT", "devDependencies": { "@commitlint/utils": "^9.1.0", - "@types/lodash": "4.14.149" + "@types/lodash": "4.14.157" }, "dependencies": { "import-fresh": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index 4df82de9d7..9f0e142cd4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2552,10 +2552,10 @@ resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= -"@types/lodash@4.14.149": - version "4.14.149" - resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.149.tgz#1342d63d948c6062838fbf961012f74d4e638440" - integrity sha512-ijGqzZt/b7BfzcK9vTrS6MFljQRPn5BFWOx8oE0GYxribu6uV+aA9zZuXI1zc/etK9E8nrgdoF2+LgUw7+9tJQ== +"@types/lodash@4.14.157": + version "4.14.157" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.157.tgz#fdac1c52448861dfde1a2e1515dbc46e54926dc8" + integrity sha512-Ft5BNFmv2pHDgxV5JDsndOWTRJ+56zte0ZpYLowp03tW+K+t8u8YMOzAnpuqPgzX6WO1XpDIUm7u04M8vdDiVQ== "@types/minimatch@*": version "3.0.3" From c8367bf65550f77a14982329c73ec19864ae0180 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 30 Jun 2020 11:50:06 +0800 Subject: [PATCH 0164/2192] chore: update typescript-eslint monorepo to v3.5.0 (#1983) Co-authored-by: Renovate Bot --- yarn.lock | 53 ++++++++++++++++++++++++++++++++++------------------- 1 file changed, 34 insertions(+), 19 deletions(-) diff --git a/yarn.lock b/yarn.lock index 9f0e142cd4..dc2631e56d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2612,24 +2612,25 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^3.0.0": - version "3.4.0" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.4.0.tgz#8378062e6be8a1d049259bdbcf27ce5dfbeee62b" - integrity sha512-wfkpiqaEVhZIuQRmudDszc01jC/YR7gMSxa6ulhggAe/Hs0KVIuo9wzvFiDbG3JD5pRFQoqnf4m7REDsUvBnMQ== + version "3.5.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.5.0.tgz#e7736e0808b5fb947a5f9dd949ae6736a7226b84" + integrity sha512-m4erZ8AkSjoIUOf8s4k2V1xdL2c1Vy0D3dN6/jC9d7+nEqjY3gxXCkgi3gW/GAxPaA4hV8biaCoTVdQmfAeTCQ== dependencies: - "@typescript-eslint/experimental-utils" "3.4.0" + "@typescript-eslint/experimental-utils" "3.5.0" debug "^4.1.1" functional-red-black-tree "^1.0.1" regexpp "^3.0.0" semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@3.4.0": - version "3.4.0" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.4.0.tgz#8a44dfc6fb7f1d071937b390fe27608ebda122b8" - integrity sha512-rHPOjL43lOH1Opte4+dhC0a/+ks+8gOBwxXnyrZ/K4OTAChpSjP76fbI8Cglj7V5GouwVAGaK+xVwzqTyE/TPw== +"@typescript-eslint/experimental-utils@3.5.0": + version "3.5.0" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.5.0.tgz#d09f9ffb890d1b15a7ffa9975fae92eee05597c4" + integrity sha512-zGNOrVi5Wz0jcjUnFZ6QUD0MCox5hBuVwemGCew2qJzUX5xPoyR+0EzS5qD5qQXL/vnQ8Eu+nv03tpeFRwLrDg== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "3.4.0" + "@typescript-eslint/types" "3.5.0" + "@typescript-eslint/typescript-estree" "3.5.0" eslint-scope "^5.0.0" eslint-utils "^2.0.0" @@ -2644,15 +2645,21 @@ eslint-utils "^2.0.0" "@typescript-eslint/parser@^3.0.0": - version "3.4.0" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.4.0.tgz#fe52b68c5cb3bba3f5d875bd17adb70420d49d8d" - integrity sha512-ZUGI/de44L5x87uX5zM14UYcbn79HSXUR+kzcqU42gH0AgpdB/TjuJy3m4ezI7Q/jk3wTQd755mxSDLhQP79KA== + version "3.5.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.5.0.tgz#9ff8c11877c48df24e10e19d7bf542ee0359500d" + integrity sha512-sU07VbYB70WZHtgOjH/qfAp1+OwaWgrvD1Km1VXqRpcVxt971PMTU7gJtlrCje0M+Sdz7xKAbtiyIu+Y6QdnVA== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "3.4.0" - "@typescript-eslint/typescript-estree" "3.4.0" + "@typescript-eslint/experimental-utils" "3.5.0" + "@typescript-eslint/types" "3.5.0" + "@typescript-eslint/typescript-estree" "3.5.0" eslint-visitor-keys "^1.1.0" +"@typescript-eslint/types@3.5.0": + version "3.5.0" + resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-3.5.0.tgz#4e3d2a2272268d8ec3e3e4a37152a64956682639" + integrity sha512-Dreqb5idi66VVs1QkbAwVeDmdJG+sDtofJtKwKCZXIaBsINuCN7Jv5eDIHrS0hFMMiOvPH9UuOs4splW0iZe4Q== + "@typescript-eslint/typescript-estree@2.34.0": version "2.34.0" resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.34.0.tgz#14aeb6353b39ef0732cc7f1b8285294937cf37d5" @@ -2666,19 +2673,27 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/typescript-estree@3.4.0": - version "3.4.0" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.4.0.tgz#6a787eb70b48969e4cd1ea67b057083f96dfee29" - integrity sha512-zKwLiybtt4uJb4mkG5q2t6+W7BuYx2IISiDNV+IY68VfoGwErDx/RfVI7SWL4gnZ2t1A1ytQQwZ+YOJbHHJ2rw== +"@typescript-eslint/typescript-estree@3.5.0": + version "3.5.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.5.0.tgz#dfc895db21a381b84f24c2a719f5bf9c600dcfdc" + integrity sha512-Na71ezI6QP5WVR4EHxwcBJgYiD+Sre9BZO5iJK2QhrmRPo/42+b0no/HZIrdD1sjghzlYv7t+7Jis05M1uMxQg== dependencies: + "@typescript-eslint/types" "3.5.0" + "@typescript-eslint/visitor-keys" "3.5.0" debug "^4.1.1" - eslint-visitor-keys "^1.1.0" glob "^7.1.6" is-glob "^4.0.1" lodash "^4.17.15" semver "^7.3.2" tsutils "^3.17.1" +"@typescript-eslint/visitor-keys@3.5.0": + version "3.5.0" + resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-3.5.0.tgz#73c1ea2582f814735e4afdc1cf6f5e3af78db60a" + integrity sha512-7cTp9rcX2sz9Z+zua9MCOX4cqp5rYyFD5o8LlbSpXrMTXoRdngTtotRZEkm8+FNMHPWYFhitFK+qt/brK8BVJQ== + dependencies: + eslint-visitor-keys "^1.1.0" + "@zkochan/cmd-shim@^3.1.0": version "3.1.0" resolved "https://registry.npmjs.org/@zkochan/cmd-shim/-/cmd-shim-3.1.0.tgz#2ab8ed81f5bb5452a85f25758eb9b8681982fd2e" From cb565dfcca3128380b9b3dc274aedbcae34ce5ca Mon Sep 17 00:00:00 2001 From: escapedcat Date: Tue, 30 Jun 2020 15:20:52 +0800 Subject: [PATCH 0165/2192] v9.1.1 --- @alias/commitlint-config-angular/CHANGELOG.md | 8 ++++++++ @alias/commitlint-config-angular/package.json | 6 +++--- .../commitlint-config-lerna-scopes/CHANGELOG.md | 8 ++++++++ .../commitlint-config-lerna-scopes/package.json | 6 +++--- .../commitlint-config-patternplate/CHANGELOG.md | 8 ++++++++ .../commitlint-config-patternplate/package.json | 6 +++--- @alias/commitlint/CHANGELOG.md | 8 ++++++++ @alias/commitlint/package.json | 8 ++++---- @commitlint/cli/CHANGELOG.md | 8 ++++++++ @commitlint/cli/package.json | 16 ++++++++-------- .../config-angular-type-enum/CHANGELOG.md | 8 ++++++++ .../config-angular-type-enum/package.json | 4 ++-- @commitlint/config-angular/CHANGELOG.md | 8 ++++++++ @commitlint/config-angular/package.json | 6 +++--- @commitlint/config-conventional/CHANGELOG.md | 8 ++++++++ @commitlint/config-conventional/package.json | 6 +++--- @commitlint/config-lerna-scopes/CHANGELOG.md | 8 ++++++++ @commitlint/config-lerna-scopes/package.json | 6 +++--- @commitlint/config-patternplate/CHANGELOG.md | 8 ++++++++ @commitlint/config-patternplate/package.json | 6 +++--- @commitlint/core/CHANGELOG.md | 8 ++++++++ @commitlint/core/package.json | 12 ++++++------ @commitlint/ensure/CHANGELOG.md | 8 ++++++++ @commitlint/ensure/package.json | 6 +++--- @commitlint/execute-rule/CHANGELOG.md | 8 ++++++++ @commitlint/execute-rule/package.json | 4 ++-- @commitlint/format/CHANGELOG.md | 8 ++++++++ @commitlint/format/package.json | 4 ++-- @commitlint/is-ignored/CHANGELOG.md | 8 ++++++++ @commitlint/is-ignored/package.json | 10 +++++----- @commitlint/lint/CHANGELOG.md | 8 ++++++++ @commitlint/lint/package.json | 14 +++++++------- @commitlint/load/CHANGELOG.md | 11 +++++++++++ @commitlint/load/package.json | 12 ++++++------ @commitlint/message/CHANGELOG.md | 8 ++++++++ @commitlint/message/package.json | 6 +++--- @commitlint/parse/CHANGELOG.md | 8 ++++++++ @commitlint/parse/package.json | 6 +++--- @commitlint/prompt-cli/CHANGELOG.md | 8 ++++++++ @commitlint/prompt-cli/package.json | 8 ++++---- @commitlint/prompt/CHANGELOG.md | 8 ++++++++ @commitlint/prompt/package.json | 8 ++++---- @commitlint/read/CHANGELOG.md | 8 ++++++++ @commitlint/read/package.json | 8 ++++---- @commitlint/resolve-extends/CHANGELOG.md | 8 ++++++++ @commitlint/resolve-extends/package.json | 4 ++-- @commitlint/rules/CHANGELOG.md | 8 ++++++++ @commitlint/rules/package.json | 16 ++++++++-------- @commitlint/to-lines/CHANGELOG.md | 8 ++++++++ @commitlint/to-lines/package.json | 4 ++-- @commitlint/top-level/CHANGELOG.md | 8 ++++++++ @commitlint/top-level/package.json | 4 ++-- @commitlint/travis-cli/CHANGELOG.md | 8 ++++++++ @commitlint/travis-cli/package.json | 10 +++++----- @commitlint/types/CHANGELOG.md | 8 ++++++++ @commitlint/types/package.json | 4 ++-- @packages/babel-preset-commitlint/CHANGELOG.md | 11 +++++++++++ @packages/babel-preset-commitlint/package.json | 2 +- @packages/test-environment/CHANGELOG.md | 11 +++++++++++ @packages/test-environment/package.json | 2 +- @packages/test/CHANGELOG.md | 11 +++++++++++ @packages/test/package.json | 2 +- @packages/utils/CHANGELOG.md | 11 +++++++++++ @packages/utils/package.json | 4 ++-- CHANGELOG.md | 12 ++++++++++++ lerna.json | 2 +- 66 files changed, 394 insertions(+), 111 deletions(-) diff --git a/@alias/commitlint-config-angular/CHANGELOG.md b/@alias/commitlint-config-angular/CHANGELOG.md index 7456c762eb..03c1860ac6 100644 --- a/@alias/commitlint-config-angular/CHANGELOG.md +++ b/@alias/commitlint-config-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package commitlint-config-angular + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package commitlint-config-angular diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index ae610c5d2b..f236f56a9d 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-angular", - "version": "9.1.0", + "version": "9.1.1", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-angular": "^9.1.0" + "@commitlint/config-angular": "^9.1.1" }, "devDependencies": { - "@commitlint/utils": "^9.1.0" + "@commitlint/utils": "^9.1.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md index 78f35529b3..93f72e0666 100644 --- a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md +++ b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package commitlint-config-lerna-scopes + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package commitlint-config-lerna-scopes diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index a4c21f23d5..5a9dd206a3 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-lerna-scopes", - "version": "9.1.0", + "version": "9.1.1", "description": "Shareable commitlint config enforcing lerna package names as scopes", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-lerna-scopes": "^9.1.0" + "@commitlint/config-lerna-scopes": "^9.1.1" }, "devDependencies": { - "@commitlint/utils": "^9.1.0" + "@commitlint/utils": "^9.1.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@alias/commitlint-config-patternplate/CHANGELOG.md b/@alias/commitlint-config-patternplate/CHANGELOG.md index 6b45c6b18f..25d6716ef8 100644 --- a/@alias/commitlint-config-patternplate/CHANGELOG.md +++ b/@alias/commitlint-config-patternplate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package commitlint-config-patternplate + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package commitlint-config-patternplate diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index d9434a932c..855bbdceef 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-patternplate", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-patternplate": "^9.1.0" + "@commitlint/config-patternplate": "^9.1.1" }, "devDependencies": { - "@commitlint/utils": "^9.1.0" + "@commitlint/utils": "^9.1.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@alias/commitlint/CHANGELOG.md b/@alias/commitlint/CHANGELOG.md index 68ce178271..89a6d908cb 100644 --- a/@alias/commitlint/CHANGELOG.md +++ b/@alias/commitlint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package commitlint + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package commitlint diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 32e9f9a6af..507fbf9dc3 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -1,6 +1,6 @@ { "name": "commitlint", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint your commit messages", "files": [ "cli.js" @@ -34,11 +34,11 @@ }, "license": "MIT", "dependencies": { - "@commitlint/cli": "^9.1.0" + "@commitlint/cli": "^9.1.1" }, "devDependencies": { - "@commitlint/test": "^9.1.0", - "@commitlint/utils": "^9.1.0" + "@commitlint/test": "^9.1.1", + "@commitlint/utils": "^9.1.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/cli/CHANGELOG.md b/@commitlint/cli/CHANGELOG.md index 51914c41f1..2ef2e809c3 100644 --- a/@commitlint/cli/CHANGELOG.md +++ b/@commitlint/cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/cli + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 97a2c9eee1..62194fbdf6 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/cli", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint your commit messages", "files": [ "index.js", @@ -49,19 +49,19 @@ "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", - "@commitlint/test": "^9.1.0", - "@commitlint/utils": "^9.1.0", - "babel-preset-commitlint": "^9.0.1", + "@commitlint/test": "^9.1.1", + "@commitlint/utils": "^9.1.1", + "babel-preset-commitlint": "^9.1.1", "cross-env": "7.0.2", "execa": "^3.4.0", "fs-extra": "^8.1.0" }, "dependencies": { "@babel/runtime": "^7.9.6", - "@commitlint/format": "^9.1.0", - "@commitlint/lint": "^9.1.0", - "@commitlint/load": "^9.1.0", - "@commitlint/read": "^9.1.0", + "@commitlint/format": "^9.1.1", + "@commitlint/lint": "^9.1.1", + "@commitlint/load": "^9.1.1", + "@commitlint/read": "^9.1.1", "chalk": "4.1.0", "core-js": "^3.6.1", "get-stdin": "7.0.0", diff --git a/@commitlint/config-angular-type-enum/CHANGELOG.md b/@commitlint/config-angular-type-enum/CHANGELOG.md index e120faeae5..ee81484bb7 100644 --- a/@commitlint/config-angular-type-enum/CHANGELOG.md +++ b/@commitlint/config-angular-type-enum/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/config-angular-type-enum + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package @commitlint/config-angular-type-enum diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 423f3b46c5..8a0c4d598f 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular-type-enum", - "version": "9.1.0", + "version": "9.1.1", "description": "Shareable commitlint config enforcing the angular commit convention types", "files": [ "index.js" @@ -29,7 +29,7 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/utils": "^9.1.0" + "@commitlint/utils": "^9.1.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/config-angular/CHANGELOG.md b/@commitlint/config-angular/CHANGELOG.md index a89b8003a7..bd8f017f27 100644 --- a/@commitlint/config-angular/CHANGELOG.md +++ b/@commitlint/config-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/config-angular + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package @commitlint/config-angular diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index 7ed384f62c..38c63f4e55 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular", - "version": "9.1.0", + "version": "9.1.1", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/utils": "^9.1.0" + "@commitlint/utils": "^9.1.1" }, "dependencies": { - "@commitlint/config-angular-type-enum": "^9.1.0" + "@commitlint/config-angular-type-enum": "^9.1.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/config-conventional/CHANGELOG.md b/@commitlint/config-conventional/CHANGELOG.md index 54e55cb5a1..b7fc4b716f 100644 --- a/@commitlint/config-conventional/CHANGELOG.md +++ b/@commitlint/config-conventional/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/config-conventional + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index 0df989b24d..7496055ad8 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-conventional", - "version": "9.1.0", + "version": "9.1.1", "description": "Shareable commitlint config enforcing conventional commits", "files": [ "index.js" @@ -32,8 +32,8 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/lint": "^9.1.0", - "@commitlint/utils": "^9.1.0" + "@commitlint/lint": "^9.1.1", + "@commitlint/utils": "^9.1.1" }, "dependencies": { "conventional-changelog-conventionalcommits": "4.3.0" diff --git a/@commitlint/config-lerna-scopes/CHANGELOG.md b/@commitlint/config-lerna-scopes/CHANGELOG.md index a5851047bd..7e10238c7f 100644 --- a/@commitlint/config-lerna-scopes/CHANGELOG.md +++ b/@commitlint/config-lerna-scopes/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/config-lerna-scopes + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index fe01aff8f2..ace5fe3d56 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-lerna-scopes", - "version": "9.1.0", + "version": "9.1.1", "description": "Shareable commitlint config enforcing lerna package names as scopes", "files": [ "index.js" @@ -37,8 +37,8 @@ "semver": "7.3.2" }, "devDependencies": { - "@commitlint/test": "^9.1.0", - "@commitlint/utils": "^9.1.0" + "@commitlint/test": "^9.1.1", + "@commitlint/utils": "^9.1.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/config-patternplate/CHANGELOG.md b/@commitlint/config-patternplate/CHANGELOG.md index afdd42e455..b360d71c4b 100644 --- a/@commitlint/config-patternplate/CHANGELOG.md +++ b/@commitlint/config-patternplate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/config-patternplate + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package @commitlint/config-patternplate diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 5220752385..2d2ec62d1e 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-patternplate", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -29,12 +29,12 @@ "node": ">=8" }, "dependencies": { - "@commitlint/config-angular": "^9.1.0", + "@commitlint/config-angular": "^9.1.1", "globby": "^11.0.0", "lodash": "^4.17.15" }, "devDependencies": { - "@commitlint/utils": "^9.1.0" + "@commitlint/utils": "^9.1.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/core/CHANGELOG.md b/@commitlint/core/CHANGELOG.md index c5d253c07e..ef0daf170c 100644 --- a/@commitlint/core/CHANGELOG.md +++ b/@commitlint/core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/core + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package @commitlint/core diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index 8c54c85b08..8b7f67fea4 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/core", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint your commit messages", "main": "lib/core.js", "types": "lib/core.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "dependencies": { - "@commitlint/format": "^9.1.0", - "@commitlint/lint": "^9.1.0", - "@commitlint/load": "^9.1.0", - "@commitlint/read": "^9.1.0" + "@commitlint/format": "^9.1.1", + "@commitlint/lint": "^9.1.1", + "@commitlint/load": "^9.1.1", + "@commitlint/read": "^9.1.1" }, "devDependencies": { - "@commitlint/utils": "^9.1.0" + "@commitlint/utils": "^9.1.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/ensure/CHANGELOG.md b/@commitlint/ensure/CHANGELOG.md index 79d29533fe..d1b0bf073d 100644 --- a/@commitlint/ensure/CHANGELOG.md +++ b/@commitlint/ensure/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/ensure + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package @commitlint/ensure diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index df2bde6541..2d17cc358d 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/ensure", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,12 +34,12 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.1.0", + "@commitlint/utils": "^9.1.1", "@types/lodash": "4.14.157", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/types": "^9.1.0", + "@commitlint/types": "^9.1.1", "lodash": "^4.17.15" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" diff --git a/@commitlint/execute-rule/CHANGELOG.md b/@commitlint/execute-rule/CHANGELOG.md index 0e6cf74a88..316309d8b2 100644 --- a/@commitlint/execute-rule/CHANGELOG.md +++ b/@commitlint/execute-rule/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/execute-rule + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package @commitlint/execute-rule diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index 0310370fa4..44b7ed6be4 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/execute-rule", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.1.0" + "@commitlint/utils": "^9.1.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/format/CHANGELOG.md b/@commitlint/format/CHANGELOG.md index 6acd91778d..d53f5d05e8 100644 --- a/@commitlint/format/CHANGELOG.md +++ b/@commitlint/format/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/format + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index acbea6f457..a32da31a93 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/format", - "version": "9.1.0", + "version": "9.1.1", "description": "Format commitlint reports", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.1.0" + "@commitlint/utils": "^9.1.1" }, "dependencies": { "chalk": "^4.0.0" diff --git a/@commitlint/is-ignored/CHANGELOG.md b/@commitlint/is-ignored/CHANGELOG.md index 4f87472431..10f2215ba9 100644 --- a/@commitlint/is-ignored/CHANGELOG.md +++ b/@commitlint/is-ignored/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/is-ignored + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index 98fbe3755d..9a9bfd0e85 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/is-ignored", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^9.1.0", - "@commitlint/test": "^9.1.0", - "@commitlint/utils": "^9.1.0", + "@commitlint/parse": "^9.1.1", + "@commitlint/test": "^9.1.1", + "@commitlint/utils": "^9.1.1", "@types/semver": "7.3.1" }, "dependencies": { - "@commitlint/types": "^9.1.0", + "@commitlint/types": "^9.1.1", "semver": "7.3.2" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" diff --git a/@commitlint/lint/CHANGELOG.md b/@commitlint/lint/CHANGELOG.md index f09712f37d..61a9ab5756 100644 --- a/@commitlint/lint/CHANGELOG.md +++ b/@commitlint/lint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/lint + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package @commitlint/lint diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index e39bb4500c..71c5eb8d4a 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/lint", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint a string against commitlint rules", "main": "lib/lint.js", "types": "lib/lint.d.ts", @@ -34,14 +34,14 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.1.0", - "@commitlint/utils": "^9.1.0" + "@commitlint/test": "^9.1.1", + "@commitlint/utils": "^9.1.1" }, "dependencies": { - "@commitlint/is-ignored": "^9.1.0", - "@commitlint/parse": "^9.1.0", - "@commitlint/rules": "^9.1.0", - "@commitlint/types": "^9.1.0" + "@commitlint/is-ignored": "^9.1.1", + "@commitlint/parse": "^9.1.1", + "@commitlint/rules": "^9.1.1", + "@commitlint/types": "^9.1.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/load/CHANGELOG.md b/@commitlint/load/CHANGELOG.md index ec32f4cd15..cbb2fed0ee 100644 --- a/@commitlint/load/CHANGELOG.md +++ b/@commitlint/load/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + + +### Bug Fixes + +* **load:** resolve plugins from extended configs ([#1976](https://github.com/conventional-changelog/commitlint/issues/1976)) ([d0f0eb9](https://github.com/conventional-changelog/commitlint/commit/d0f0eb9fde7efc2dff7a3aad190ded14303d3079)) + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 877a8bc2d7..faed217f67 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/load", - "version": "9.1.0", + "version": "9.1.1", "description": "Load shared commitlint configuration", "main": "lib/load.js", "types": "lib/load.d.ts", @@ -34,15 +34,15 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.1.0", - "@commitlint/utils": "^9.1.0", + "@commitlint/test": "^9.1.1", + "@commitlint/utils": "^9.1.1", "@types/lodash": "4.14.157", "execa": "^3.4.0" }, "dependencies": { - "@commitlint/execute-rule": "^9.1.0", - "@commitlint/resolve-extends": "^9.1.0", - "@commitlint/types": "^9.1.0", + "@commitlint/execute-rule": "^9.1.1", + "@commitlint/resolve-extends": "^9.1.1", + "@commitlint/types": "^9.1.1", "chalk": "4.1.0", "cosmiconfig": "^6.0.0", "lodash": "^4.17.15", diff --git a/@commitlint/message/CHANGELOG.md b/@commitlint/message/CHANGELOG.md index 0de2464621..37c13cfeec 100644 --- a/@commitlint/message/CHANGELOG.md +++ b/@commitlint/message/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/message + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package @commitlint/message diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index 59563d1c23..83e5770768 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/message", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,8 +34,8 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.1.0", - "@commitlint/utils": "^9.1.0" + "@commitlint/test": "^9.1.1", + "@commitlint/utils": "^9.1.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/parse/CHANGELOG.md b/@commitlint/parse/CHANGELOG.md index efaec4e35d..6d9bc92af1 100644 --- a/@commitlint/parse/CHANGELOG.md +++ b/@commitlint/parse/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/parse + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package @commitlint/parse diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 2976b8d713..91bc800fd5 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/parse", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,8 +34,8 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.1.0", - "@commitlint/utils": "^9.1.0" + "@commitlint/test": "^9.1.1", + "@commitlint/utils": "^9.1.1" }, "dependencies": { "conventional-changelog-angular": "^5.0.0", diff --git a/@commitlint/prompt-cli/CHANGELOG.md b/@commitlint/prompt-cli/CHANGELOG.md index 069d16e9c1..5365d42538 100644 --- a/@commitlint/prompt-cli/CHANGELOG.md +++ b/@commitlint/prompt-cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/prompt-cli + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package @commitlint/prompt-cli diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 114d30cd66..80488b9611 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt-cli", - "version": "9.1.0", + "version": "9.1.1", "description": "commit prompt using commitlint.config.js", "files": [ "cli.js" @@ -31,11 +31,11 @@ "node": ">=8" }, "devDependencies": { - "@commitlint/test": "^9.1.0", - "@commitlint/utils": "^9.1.0" + "@commitlint/test": "^9.1.1", + "@commitlint/utils": "^9.1.1" }, "dependencies": { - "@commitlint/prompt": "^9.1.0", + "@commitlint/prompt": "^9.1.1", "execa": "^3.4.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" diff --git a/@commitlint/prompt/CHANGELOG.md b/@commitlint/prompt/CHANGELOG.md index 7fbfcffaf8..970901bc98 100644 --- a/@commitlint/prompt/CHANGELOG.md +++ b/@commitlint/prompt/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/prompt + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 7627462092..e2af9d0473 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt", - "version": "9.1.0", + "version": "9.1.1", "description": "commitizen prompt using commitlint.config.js", "main": "./lib/index.js", "files": [ @@ -50,14 +50,14 @@ "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", - "@commitlint/utils": "^9.1.0", - "babel-preset-commitlint": "^9.0.1", + "@commitlint/utils": "^9.1.1", + "babel-preset-commitlint": "^9.1.1", "commitizen": "4.1.2", "cross-env": "7.0.2" }, "dependencies": { "@babel/runtime": "^7.9.6", - "@commitlint/load": "^9.1.0", + "@commitlint/load": "^9.1.1", "chalk": "^4.0.0", "lodash": "^4.17.15", "throat": "^5.0.0", diff --git a/@commitlint/read/CHANGELOG.md b/@commitlint/read/CHANGELOG.md index aadd1d02c7..053f814030 100644 --- a/@commitlint/read/CHANGELOG.md +++ b/@commitlint/read/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/read + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package @commitlint/read diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 94196693c5..24e6a7e7aa 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/read", - "version": "9.1.0", + "version": "9.1.1", "description": "Read commit messages from a specified range or last edit", "main": "lib/read.js", "types": "lib/read.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.1.0", - "@commitlint/utils": "^9.1.0", + "@commitlint/test": "^9.1.1", + "@commitlint/utils": "^9.1.1", "@types/fs-extra": "^8.0.1", "@types/git-raw-commits": "^2.0.0" }, "dependencies": { - "@commitlint/top-level": "^9.1.0", + "@commitlint/top-level": "^9.1.1", "fs-extra": "^8.1.0", "git-raw-commits": "^2.0.0" }, diff --git a/@commitlint/resolve-extends/CHANGELOG.md b/@commitlint/resolve-extends/CHANGELOG.md index 9beb04cbcb..8cfc62a3f5 100644 --- a/@commitlint/resolve-extends/CHANGELOG.md +++ b/@commitlint/resolve-extends/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/resolve-extends + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package @commitlint/resolve-extends diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index 8ea09cda7e..85107e2ad7 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/resolve-extends", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.1.0", + "@commitlint/utils": "^9.1.1", "@types/lodash": "4.14.157" }, "dependencies": { diff --git a/@commitlint/rules/CHANGELOG.md b/@commitlint/rules/CHANGELOG.md index 084c5d64c7..093be26198 100644 --- a/@commitlint/rules/CHANGELOG.md +++ b/@commitlint/rules/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/rules + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index bfccb1e5f3..af64934309 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/rules", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,17 +34,17 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^9.1.0", - "@commitlint/test": "^9.1.0", - "@commitlint/utils": "^9.1.0", + "@commitlint/parse": "^9.1.1", + "@commitlint/test": "^9.1.1", + "@commitlint/utils": "^9.1.1", "conventional-changelog-angular": "5.0.10", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/ensure": "^9.1.0", - "@commitlint/message": "^9.1.0", - "@commitlint/to-lines": "^9.1.0", - "@commitlint/types": "^9.1.0" + "@commitlint/ensure": "^9.1.1", + "@commitlint/message": "^9.1.1", + "@commitlint/to-lines": "^9.1.1", + "@commitlint/types": "^9.1.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/to-lines/CHANGELOG.md b/@commitlint/to-lines/CHANGELOG.md index df4991c3d2..8edd72b5b5 100644 --- a/@commitlint/to-lines/CHANGELOG.md +++ b/@commitlint/to-lines/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/to-lines + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package @commitlint/to-lines diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index 977d7b2bad..4bc0f6716b 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/to-lines", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.1.0" + "@commitlint/utils": "^9.1.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@commitlint/top-level/CHANGELOG.md b/@commitlint/top-level/CHANGELOG.md index f9440d2f35..fad0097e4c 100644 --- a/@commitlint/top-level/CHANGELOG.md +++ b/@commitlint/top-level/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/top-level + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package @commitlint/top-level diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index 1b968f76a1..3b165ff51c 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/top-level", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.1.0" + "@commitlint/utils": "^9.1.1" }, "dependencies": { "find-up": "^4.0.0" diff --git a/@commitlint/travis-cli/CHANGELOG.md b/@commitlint/travis-cli/CHANGELOG.md index 28befba37e..5ae55ec5de 100644 --- a/@commitlint/travis-cli/CHANGELOG.md +++ b/@commitlint/travis-cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/travis-cli + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) **Note:** Version bump only for package @commitlint/travis-cli diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index ac132b43ad..19daa0afa7 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/travis-cli", - "version": "9.1.0", + "version": "9.1.1", "description": "Lint all relevant commits for a change or PR on Travis CI", "files": [ "lib/" @@ -47,14 +47,14 @@ "devDependencies": { "@babel/cli": "7.10.3", "@babel/core": "7.10.3", - "@commitlint/test": "^9.1.0", - "@commitlint/utils": "^9.1.0", - "babel-preset-commitlint": "^9.0.1", + "@commitlint/test": "^9.1.1", + "@commitlint/utils": "^9.1.1", + "babel-preset-commitlint": "^9.1.1", "cross-env": "7.0.2" }, "dependencies": { "@babel/runtime": "^7.9.6", - "@commitlint/cli": "^9.1.0", + "@commitlint/cli": "^9.1.1", "execa": "^3.4.0" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" diff --git a/@commitlint/types/CHANGELOG.md b/@commitlint/types/CHANGELOG.md index 0ecdfd7c81..af0356f82d 100644 --- a/@commitlint/types/CHANGELOG.md +++ b/@commitlint/types/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + +**Note:** Version bump only for package @commitlint/types + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index ab055a2075..3d22f349fe 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/types", - "version": "9.1.0", + "version": "9.1.1", "description": "Shared types for commitlint packages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -27,7 +27,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.1.0" + "@commitlint/utils": "^9.1.1" }, "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" } diff --git a/@packages/babel-preset-commitlint/CHANGELOG.md b/@packages/babel-preset-commitlint/CHANGELOG.md index 708da27578..435990adcb 100644 --- a/@packages/babel-preset-commitlint/CHANGELOG.md +++ b/@packages/babel-preset-commitlint/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + + +### Bug Fixes + +* mark internal packages as private [#972](https://github.com/conventional-changelog/commitlint/issues/972) ([#1970](https://github.com/conventional-changelog/commitlint/issues/1970)) ([2351124](https://github.com/conventional-changelog/commitlint/commit/23511248b2b4020ee87d04a838c7ce31e094c128)) + + + + + ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) **Note:** Version bump only for package babel-preset-commitlint diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index 8f2fa15ed1..85c125d5b7 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -1,6 +1,6 @@ { "name": "babel-preset-commitlint", - "version": "9.0.1", + "version": "9.1.1", "description": "Lint your commit messages", "private": true, "main": "index.js", diff --git a/@packages/test-environment/CHANGELOG.md b/@packages/test-environment/CHANGELOG.md index c4211507da..c218ee316b 100644 --- a/@packages/test-environment/CHANGELOG.md +++ b/@packages/test-environment/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + + +### Bug Fixes + +* mark internal packages as private [#972](https://github.com/conventional-changelog/commitlint/issues/972) ([#1970](https://github.com/conventional-changelog/commitlint/issues/1970)) ([2351124](https://github.com/conventional-changelog/commitlint/commit/23511248b2b4020ee87d04a838c7ce31e094c128)) + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index a5fe821de5..ef69a58d75 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/test-environment", - "version": "9.1.0", + "version": "9.1.1", "description": "test environment for @commitlint", "private": true, "main": "lib/test-environment.js", diff --git a/@packages/test/CHANGELOG.md b/@packages/test/CHANGELOG.md index c4114da330..338565c5a8 100644 --- a/@packages/test/CHANGELOG.md +++ b/@packages/test/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + + +### Bug Fixes + +* mark internal packages as private [#972](https://github.com/conventional-changelog/commitlint/issues/972) ([#1970](https://github.com/conventional-changelog/commitlint/issues/1970)) ([2351124](https://github.com/conventional-changelog/commitlint/commit/23511248b2b4020ee87d04a838c7ce31e094c128)) + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) diff --git a/@packages/test/package.json b/@packages/test/package.json index 6427030e84..4881398e67 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/test", - "version": "9.1.0", + "version": "9.1.1", "description": "test utilities for @commitlint", "private": true, "main": "lib/index.js", diff --git a/@packages/utils/CHANGELOG.md b/@packages/utils/CHANGELOG.md index fcc5d5e1b3..fe7d5df04d 100644 --- a/@packages/utils/CHANGELOG.md +++ b/@packages/utils/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + + +### Bug Fixes + +* mark internal packages as private [#972](https://github.com/conventional-changelog/commitlint/issues/972) ([#1970](https://github.com/conventional-changelog/commitlint/issues/1970)) ([2351124](https://github.com/conventional-changelog/commitlint/commit/23511248b2b4020ee87d04a838c7ce31e094c128)) + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 7364fb2f56..837b259f31 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/utils", - "version": "9.1.0", + "version": "9.1.1", "description": "Development utilities for @commitlint", "private": true, "files": [ @@ -37,7 +37,7 @@ }, "license": "MIT", "dependencies": { - "@commitlint/test": "^9.1.0", + "@commitlint/test": "^9.1.1", "execa": "^3.4.0", "is-builtin-module": "3.0.0", "meow": "4.0.1", diff --git a/CHANGELOG.md b/CHANGELOG.md index e6b0247bc0..aef1ade78f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) + + +### Bug Fixes + +* **load:** resolve plugins from extended configs ([#1976](https://github.com/conventional-changelog/commitlint/issues/1976)) ([d0f0eb9](https://github.com/conventional-changelog/commitlint/commit/d0f0eb9fde7efc2dff7a3aad190ded14303d3079)) +* mark internal packages as private [#972](https://github.com/conventional-changelog/commitlint/issues/972) ([#1970](https://github.com/conventional-changelog/commitlint/issues/1970)) ([2351124](https://github.com/conventional-changelog/commitlint/commit/23511248b2b4020ee87d04a838c7ce31e094c128)) + + + + + # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) diff --git a/lerna.json b/lerna.json index 6731c479c8..09c9528cc2 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "lerna": "2", "npmClient": "yarn", "useWorkspaces": true, - "version": "9.1.0" + "version": "9.1.1" } From a4060537e328962f6808c1fc0232d0a9c4cf761f Mon Sep 17 00:00:00 2001 From: escapedcat Date: Tue, 30 Jun 2020 16:09:57 +0800 Subject: [PATCH 0166/2192] chore: v9.1.1 - further gitHead entries --- @alias/commitlint-config-angular/package.json | 2 +- @alias/commitlint-config-lerna-scopes/package.json | 2 +- @alias/commitlint-config-patternplate/package.json | 2 +- @alias/commitlint/package.json | 2 +- @commitlint/cli/package.json | 2 +- @commitlint/config-angular-type-enum/package.json | 2 +- @commitlint/config-angular/package.json | 2 +- @commitlint/config-conventional/package.json | 2 +- @commitlint/config-lerna-scopes/package.json | 2 +- @commitlint/config-patternplate/package.json | 2 +- @commitlint/core/package.json | 2 +- @commitlint/ensure/package.json | 2 +- @commitlint/execute-rule/package.json | 2 +- @commitlint/format/package.json | 2 +- @commitlint/is-ignored/package.json | 2 +- @commitlint/lint/package.json | 2 +- @commitlint/load/package.json | 2 +- @commitlint/message/package.json | 2 +- @commitlint/parse/package.json | 2 +- @commitlint/prompt-cli/package.json | 2 +- @commitlint/prompt/package.json | 2 +- @commitlint/read/package.json | 2 +- @commitlint/resolve-extends/package.json | 2 +- @commitlint/rules/package.json | 2 +- @commitlint/to-lines/package.json | 2 +- @commitlint/top-level/package.json | 2 +- @commitlint/travis-cli/package.json | 2 +- @commitlint/types/package.json | 2 +- 28 files changed, 28 insertions(+), 28 deletions(-) diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index f236f56a9d..cd8cfffb14 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -34,5 +34,5 @@ "devDependencies": { "@commitlint/utils": "^9.1.1" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index 5a9dd206a3..a7ccbb4c71 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -34,5 +34,5 @@ "devDependencies": { "@commitlint/utils": "^9.1.1" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index 855bbdceef..a744b7f24a 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -34,5 +34,5 @@ "devDependencies": { "@commitlint/utils": "^9.1.1" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 507fbf9dc3..65736c9179 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -40,5 +40,5 @@ "@commitlint/test": "^9.1.1", "@commitlint/utils": "^9.1.1" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 62194fbdf6..0ce9dd9e59 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -71,5 +71,5 @@ "resolve-from": "5.0.0", "resolve-global": "1.0.0" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 8a0c4d598f..5d83fec99d 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -31,5 +31,5 @@ "devDependencies": { "@commitlint/utils": "^9.1.1" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index 38c63f4e55..9b6e1f9efc 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -34,5 +34,5 @@ "dependencies": { "@commitlint/config-angular-type-enum": "^9.1.1" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index 7496055ad8..8020f550af 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -38,5 +38,5 @@ "dependencies": { "conventional-changelog-conventionalcommits": "4.3.0" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index ace5fe3d56..dd84fcfa5d 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -40,5 +40,5 @@ "@commitlint/test": "^9.1.1", "@commitlint/utils": "^9.1.1" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 2d2ec62d1e..06e36da8ba 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -36,5 +36,5 @@ "devDependencies": { "@commitlint/utils": "^9.1.1" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index 8b7f67fea4..d038d872dc 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -42,5 +42,5 @@ "devDependencies": { "@commitlint/utils": "^9.1.1" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 2d17cc358d..c81abd9597 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -42,5 +42,5 @@ "@commitlint/types": "^9.1.1", "lodash": "^4.17.15" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index 44b7ed6be4..69a34bc15d 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -36,5 +36,5 @@ "devDependencies": { "@commitlint/utils": "^9.1.1" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index a32da31a93..2b42d05337 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -39,5 +39,5 @@ "dependencies": { "chalk": "^4.0.0" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index 9a9bfd0e85..d9b66a3cbf 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -43,5 +43,5 @@ "@commitlint/types": "^9.1.1", "semver": "7.3.2" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 71c5eb8d4a..5515f26677 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -43,5 +43,5 @@ "@commitlint/rules": "^9.1.1", "@commitlint/types": "^9.1.1" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index faed217f67..6f6e19d756 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -48,5 +48,5 @@ "lodash": "^4.17.15", "resolve-from": "^5.0.0" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index 83e5770768..4f0c4766d3 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -37,5 +37,5 @@ "@commitlint/test": "^9.1.1", "@commitlint/utils": "^9.1.1" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 91bc800fd5..77c1a046d3 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -41,5 +41,5 @@ "conventional-changelog-angular": "^5.0.0", "conventional-commits-parser": "^3.0.0" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 80488b9611..2ad1647940 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -38,5 +38,5 @@ "@commitlint/prompt": "^9.1.1", "execa": "^3.4.0" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index e2af9d0473..53da22478e 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -63,5 +63,5 @@ "throat": "^5.0.0", "vorpal": "^1.12.0" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 24e6a7e7aa..241d256c00 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -44,5 +44,5 @@ "fs-extra": "^8.1.0", "git-raw-commits": "^2.0.0" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index 85107e2ad7..d4ea8fe94a 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -43,5 +43,5 @@ "resolve-from": "^5.0.0", "resolve-global": "^1.0.0" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index af64934309..4184b24a3b 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -46,5 +46,5 @@ "@commitlint/to-lines": "^9.1.1", "@commitlint/types": "^9.1.1" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index 4bc0f6716b..b01a2dafcf 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -36,5 +36,5 @@ "devDependencies": { "@commitlint/utils": "^9.1.1" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index 3b165ff51c..d557e33798 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -39,5 +39,5 @@ "dependencies": { "find-up": "^4.0.0" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 19daa0afa7..1f79e31db4 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -57,5 +57,5 @@ "@commitlint/cli": "^9.1.1", "execa": "^3.4.0" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index 3d22f349fe..5f0b8c3800 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -29,5 +29,5 @@ "devDependencies": { "@commitlint/utils": "^9.1.1" }, - "gitHead": "71f0194f33943954a8dac1c458be47e5049717cd" + "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } From ac54d5c564d9474d58027babcf18b7812921bb2e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 5 Jul 2020 14:37:32 +0800 Subject: [PATCH 0167/2192] chore: update dependency eslint to v7.4.0 (#1987) Co-authored-by: Renovate Bot --- yarn.lock | 64 ++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 40 insertions(+), 24 deletions(-) diff --git a/yarn.lock b/yarn.lock index dc2631e56d..e6fc6fc7c4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -34,12 +34,12 @@ optionalDependencies: chokidar "^2.1.8" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.3": - version "7.10.3" - resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.3.tgz#324bcfd8d35cd3d47dae18cde63d752086435e9a" - integrity sha512-fDx9eNW0qz0WkUeqL6tXEXzVlPh6Y5aCDEZesl0xBGA8ndRukX91Uk44ZqnkECp01NAZUdCAl+aiQNGi0k88Eg== +"@babel/code-frame@^7.0.0": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a" + integrity sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg== dependencies: - "@babel/highlight" "^7.10.3" + "@babel/highlight" "^7.10.4" "@babel/code-frame@^7.10.1": version "7.10.1" @@ -48,6 +48,13 @@ dependencies: "@babel/highlight" "^7.10.1" +"@babel/code-frame@^7.10.3": + version "7.10.3" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.3.tgz#324bcfd8d35cd3d47dae18cde63d752086435e9a" + integrity sha512-fDx9eNW0qz0WkUeqL6tXEXzVlPh6Y5aCDEZesl0xBGA8ndRukX91Uk44ZqnkECp01NAZUdCAl+aiQNGi0k88Eg== + dependencies: + "@babel/highlight" "^7.10.3" + "@babel/code-frame@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" @@ -405,10 +412,10 @@ resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz#5770b0c1a826c4f53f5ede5e153163e0318e94b5" integrity sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw== -"@babel/helper-validator-identifier@^7.10.3": - version "7.10.3" - resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.3.tgz#60d9847f98c4cea1b279e005fdb7c28be5412d15" - integrity sha512-bU8JvtlYpJSBPuj1VUmKpFGaDZuLxASky3LhaKj3bmpSTY6VWooSM8msk+Z0CZoErFye2tlABF6yDkT3FOPAXw== +"@babel/helper-validator-identifier@^7.10.3", "@babel/helper-validator-identifier@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz#a78c7a7251e01f616512d31b10adcf52ada5e0d2" + integrity sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw== "@babel/helper-wrap-function@^7.8.3": version "7.8.3" @@ -447,7 +454,16 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/highlight@^7.10.3", "@babel/highlight@^7.8.3": +"@babel/highlight@^7.10.3", "@babel/highlight@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143" + integrity sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA== + dependencies: + "@babel/helper-validator-identifier" "^7.10.4" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/highlight@^7.8.3": version "7.10.3" resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.3.tgz#c633bb34adf07c5c13156692f5922c81ec53f28d" integrity sha512-Ih9B/u7AtgEnySE2L2F0Xm0GaM729XqqLfHkalTsbjXGyqmf/6M0Cu0WpvqueUlW+xk88BHw9Nkpj49naU+vWw== @@ -2784,9 +2800,9 @@ aggregate-error@^3.0.0: indent-string "^4.0.0" ajv@^6.10.0, ajv@^6.10.2: - version "6.12.2" - resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.2.tgz#c629c5eced17baf314437918d2da88c99d5958cd" - integrity sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ== + version "6.12.3" + resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.3.tgz#18c5af38a111ddeb4f2697bd78d68abc1cabd706" + integrity sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA== dependencies: fast-deep-equal "^3.1.1" fast-json-stable-stringify "^2.0.0" @@ -2810,10 +2826,10 @@ ansi-align@^3.0.0: dependencies: string-width "^3.0.0" -ansi-colors@^3.2.1: - version "3.2.4" - resolved "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf" - integrity sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA== +ansi-colors@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" + integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== ansi-escapes@^1.0.0, ansi-escapes@^1.1.0: version "1.4.0" @@ -4677,11 +4693,11 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0, end-of-stream@^1.4.1: once "^1.4.0" enquirer@^2.3.5: - version "2.3.5" - resolved "https://registry.npmjs.org/enquirer/-/enquirer-2.3.5.tgz#3ab2b838df0a9d8ab9e7dff235b0e8712ef92381" - integrity sha512-BNT1C08P9XD0vNg3J475yIUG+mVdp9T6towYFHUv897X0KoHBjB1shyrNmhmtHWKP17iSWgo7Gqh7BBuzLZMSA== + version "2.3.6" + resolved "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" + integrity sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg== dependencies: - ansi-colors "^3.2.1" + ansi-colors "^4.1.1" env-paths@^2.2.0: version "2.2.0" @@ -4835,9 +4851,9 @@ eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.2.0: integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== eslint@^7.0.0: - version "7.3.1" - resolved "https://registry.npmjs.org/eslint/-/eslint-7.3.1.tgz#76392bd7e44468d046149ba128d1566c59acbe19" - integrity sha512-cQC/xj9bhWUcyi/RuMbRtC3I0eW8MH0jhRELSvpKYkWep3C6YZ2OkvcvJVUeO6gcunABmzptbXBuDoXsjHmfTA== + version "7.4.0" + resolved "https://registry.npmjs.org/eslint/-/eslint-7.4.0.tgz#4e35a2697e6c1972f9d6ef2b690ad319f80f206f" + integrity sha512-gU+lxhlPHu45H3JkEGgYhWhkR9wLHHEXC9FbWFnTlEkbKyZKWgWRLgf61E8zWmBuI6g5xKBph9ltg3NtZMVF8g== dependencies: "@babel/code-frame" "^7.0.0" ajv "^6.10.0" From be3c3a4a4954457396a085665a04a9a1dc86db31 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2020 10:05:02 +0800 Subject: [PATCH 0168/2192] chore: update dependency eslint-plugin-jest to v23.18.0 (#1988) Co-authored-by: Renovate Bot --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index e6fc6fc7c4..d50871820b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4824,9 +4824,9 @@ eslint-plugin-import@^2.20.1: tsconfig-paths "^3.9.0" eslint-plugin-jest@^23.6.0: - version "23.17.1" - resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.17.1.tgz#c0f39ba78e0f33b7ee1ce4ec92b773e39026ea3f" - integrity sha512-/o36fw67qNbJGWbSBIBMfseMsNP/d88WUHAGHCi1xFwsNB3XXZGdvxbOw49j3iQz6MCW/yw8OeOsuQhi6mM5ZA== + version "23.18.0" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.18.0.tgz#4813eacb181820ed13c5505f400956d176b25af8" + integrity sha512-wLPM/Rm1SGhxrFQ2TKM/BYsYPhn7ch6ZEK92S2o/vGkAAnDXM0I4nTIo745RIX+VlCRMFgBuJEax6XfTHMdeKg== dependencies: "@typescript-eslint/experimental-utils" "^2.5.0" From 51613073bf81eab141c9cb5ce2139e73b07bb8a2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2020 11:06:58 +0800 Subject: [PATCH 0169/2192] chore: update typescript-eslint monorepo to v3.6.0 (#1989) Co-authored-by: Renovate Bot --- yarn.lock | 60 +++++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/yarn.lock b/yarn.lock index d50871820b..cdd5d724c3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2628,25 +2628,25 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^3.0.0": - version "3.5.0" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.5.0.tgz#e7736e0808b5fb947a5f9dd949ae6736a7226b84" - integrity sha512-m4erZ8AkSjoIUOf8s4k2V1xdL2c1Vy0D3dN6/jC9d7+nEqjY3gxXCkgi3gW/GAxPaA4hV8biaCoTVdQmfAeTCQ== + version "3.6.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.6.0.tgz#ba2b6cae478b8fca3f2e58ff1313e4198eea2d8a" + integrity sha512-ubHlHVt1lsPQB/CZdEov9XuOFhNG9YRC//kuiS1cMQI6Bs1SsqKrEmZnpgRwthGR09/kEDtr9MywlqXyyYd8GA== dependencies: - "@typescript-eslint/experimental-utils" "3.5.0" + "@typescript-eslint/experimental-utils" "3.6.0" debug "^4.1.1" functional-red-black-tree "^1.0.1" regexpp "^3.0.0" semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@3.5.0": - version "3.5.0" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.5.0.tgz#d09f9ffb890d1b15a7ffa9975fae92eee05597c4" - integrity sha512-zGNOrVi5Wz0jcjUnFZ6QUD0MCox5hBuVwemGCew2qJzUX5xPoyR+0EzS5qD5qQXL/vnQ8Eu+nv03tpeFRwLrDg== +"@typescript-eslint/experimental-utils@3.6.0": + version "3.6.0" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.6.0.tgz#0138152d66e3e53a6340f606793fb257bf2d76a1" + integrity sha512-4Vdf2hvYMUnTdkCNZu+yYlFtL2v+N2R7JOynIOkFbPjf9o9wQvRwRkzUdWlFd2YiiUwJLbuuLnl5civNg5ykOQ== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/types" "3.5.0" - "@typescript-eslint/typescript-estree" "3.5.0" + "@typescript-eslint/types" "3.6.0" + "@typescript-eslint/typescript-estree" "3.6.0" eslint-scope "^5.0.0" eslint-utils "^2.0.0" @@ -2661,20 +2661,20 @@ eslint-utils "^2.0.0" "@typescript-eslint/parser@^3.0.0": - version "3.5.0" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.5.0.tgz#9ff8c11877c48df24e10e19d7bf542ee0359500d" - integrity sha512-sU07VbYB70WZHtgOjH/qfAp1+OwaWgrvD1Km1VXqRpcVxt971PMTU7gJtlrCje0M+Sdz7xKAbtiyIu+Y6QdnVA== + version "3.6.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.6.0.tgz#79b5232e1a2d06f1fc745942b690cd87aca7b60e" + integrity sha512-taghDxuLhbDAD1U5Fk8vF+MnR0yiFE9Z3v2/bYScFb0N1I9SK8eKHkdJl1DAD48OGFDMFTeOTX0z7g0W6SYUXw== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "3.5.0" - "@typescript-eslint/types" "3.5.0" - "@typescript-eslint/typescript-estree" "3.5.0" + "@typescript-eslint/experimental-utils" "3.6.0" + "@typescript-eslint/types" "3.6.0" + "@typescript-eslint/typescript-estree" "3.6.0" eslint-visitor-keys "^1.1.0" -"@typescript-eslint/types@3.5.0": - version "3.5.0" - resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-3.5.0.tgz#4e3d2a2272268d8ec3e3e4a37152a64956682639" - integrity sha512-Dreqb5idi66VVs1QkbAwVeDmdJG+sDtofJtKwKCZXIaBsINuCN7Jv5eDIHrS0hFMMiOvPH9UuOs4splW0iZe4Q== +"@typescript-eslint/types@3.6.0": + version "3.6.0" + resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-3.6.0.tgz#4bd6eee55d2f9d35a4b36c4804be1880bf68f7bc" + integrity sha512-JwVj74ohUSt0ZPG+LZ7hb95fW8DFOqBuR6gE7qzq55KDI3BepqsCtHfBIoa0+Xi1AI7fq5nCu2VQL8z4eYftqg== "@typescript-eslint/typescript-estree@2.34.0": version "2.34.0" @@ -2689,13 +2689,13 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/typescript-estree@3.5.0": - version "3.5.0" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.5.0.tgz#dfc895db21a381b84f24c2a719f5bf9c600dcfdc" - integrity sha512-Na71ezI6QP5WVR4EHxwcBJgYiD+Sre9BZO5iJK2QhrmRPo/42+b0no/HZIrdD1sjghzlYv7t+7Jis05M1uMxQg== +"@typescript-eslint/typescript-estree@3.6.0": + version "3.6.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.6.0.tgz#9b4cab43f1192b64ff51530815b8919f166ce177" + integrity sha512-G57NDSABHjvob7zVV09ehWyD1K6/YUKjz5+AufObFyjNO4DVmKejj47MHjVHHlZZKgmpJD2yyH9lfCXHrPITFg== dependencies: - "@typescript-eslint/types" "3.5.0" - "@typescript-eslint/visitor-keys" "3.5.0" + "@typescript-eslint/types" "3.6.0" + "@typescript-eslint/visitor-keys" "3.6.0" debug "^4.1.1" glob "^7.1.6" is-glob "^4.0.1" @@ -2703,10 +2703,10 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/visitor-keys@3.5.0": - version "3.5.0" - resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-3.5.0.tgz#73c1ea2582f814735e4afdc1cf6f5e3af78db60a" - integrity sha512-7cTp9rcX2sz9Z+zua9MCOX4cqp5rYyFD5o8LlbSpXrMTXoRdngTtotRZEkm8+FNMHPWYFhitFK+qt/brK8BVJQ== +"@typescript-eslint/visitor-keys@3.6.0": + version "3.6.0" + resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-3.6.0.tgz#44185eb0cc47651034faa95c5e2e8b314ecebb26" + integrity sha512-p1izllL2Ubwunite0ITjubuMQRBGgjdVYwyG7lXPX8GbrA6qF0uwSRz9MnXZaHMxID4948gX0Ez8v9tUDi/KfQ== dependencies: eslint-visitor-keys "^1.1.0" From 94e7211b8ce78e43f18047b624f259fd78474a95 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2020 11:07:10 +0800 Subject: [PATCH 0170/2192] chore: update dependency @types/jest to v26.0.4 (#1992) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 4933b04164..d03e6c563f 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ }, "devDependencies": { "@lerna/project": "3.21.0", - "@types/jest": "26.0.3", + "@types/jest": "26.0.4", "@types/node": "12.12.47", "@typescript-eslint/eslint-plugin": "^3.0.0", "@typescript-eslint/parser": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index cdd5d724c3..7f7d9053a2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2550,10 +2550,10 @@ "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" -"@types/jest@26.0.3": - version "26.0.3" - resolved "https://registry.npmjs.org/@types/jest/-/jest-26.0.3.tgz#79534e0e94857171c0edc596db0ebe7cb7863251" - integrity sha512-v89ga1clpVL/Y1+YI0eIu1VMW+KU7Xl8PhylVtDKVWaSUHBHYPLXMQGBdrpHewaKoTvlXkksbYqPgz8b4cmRZg== +"@types/jest@26.0.4": + version "26.0.4" + resolved "https://registry.npmjs.org/@types/jest/-/jest-26.0.4.tgz#d2e513e85aca16992816f192582b5e67b0b15efb" + integrity sha512-4fQNItvelbNA9+sFgU+fhJo8ZFF+AS4Egk3GWwCW2jFtViukXbnztccafAdLhzE/0EiCogljtQQXP8aQ9J7sFg== dependencies: jest-diff "^25.2.1" pretty-format "^25.2.1" From 46a27bffc97602ae18a7da61137463678d07f912 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2020 11:07:53 +0800 Subject: [PATCH 0171/2192] chore: update node.js to >=v8.17.0 (#1990) Co-authored-by: Renovate Bot --- @alias/commitlint-config-angular/package.json | 2 +- @alias/commitlint-config-lerna-scopes/package.json | 2 +- @alias/commitlint-config-patternplate/package.json | 2 +- @alias/commitlint/package.json | 2 +- @commitlint/cli/package.json | 2 +- @commitlint/config-angular-type-enum/package.json | 2 +- @commitlint/config-angular/package.json | 2 +- @commitlint/config-conventional/package.json | 2 +- @commitlint/config-lerna-scopes/package.json | 2 +- @commitlint/config-patternplate/package.json | 2 +- @commitlint/core/package.json | 2 +- @commitlint/ensure/package.json | 2 +- @commitlint/execute-rule/package.json | 2 +- @commitlint/format/package.json | 2 +- @commitlint/is-ignored/package.json | 2 +- @commitlint/lint/package.json | 2 +- @commitlint/load/package.json | 2 +- @commitlint/message/package.json | 2 +- @commitlint/parse/package.json | 2 +- @commitlint/prompt-cli/package.json | 2 +- @commitlint/prompt/package.json | 2 +- @commitlint/read/package.json | 2 +- @commitlint/resolve-extends/package.json | 2 +- @commitlint/rules/package.json | 2 +- @commitlint/to-lines/package.json | 2 +- @commitlint/top-level/package.json | 2 +- @commitlint/travis-cli/package.json | 2 +- @commitlint/types/package.json | 2 +- @packages/babel-preset-commitlint/package.json | 2 +- @packages/test-environment/package.json | 2 +- @packages/test/package.json | 2 +- @packages/utils/package.json | 2 +- package.json | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index cd8cfffb14..806695f10c 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "dependencies": { "@commitlint/config-angular": "^9.1.1" diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index a7ccbb4c71..4eb05048a7 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "dependencies": { "@commitlint/config-lerna-scopes": "^9.1.1" diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index a744b7f24a..b08df800fa 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "dependencies": { "@commitlint/config-patternplate": "^9.1.1" diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 65736c9179..211b7643bb 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -13,7 +13,7 @@ "pkg": "pkg-check --skip-main" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 0ce9dd9e59..1931bbff4d 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -26,7 +26,7 @@ ] }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 5d83fec99d..c8b9527312 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "devDependencies": { "@commitlint/utils": "^9.1.1" diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index 9b6e1f9efc..28ec77c88c 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "devDependencies": { "@commitlint/utils": "^9.1.1" diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index 8020f550af..d607bcf6e0 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "devDependencies": { "@commitlint/lint": "^9.1.1", diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index dd84fcfa5d..b60c373ba1 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -29,7 +29,7 @@ "lerna": "^2.0.0 || ^3.0.0" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "dependencies": { "import-from": "3.0.0", diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 06e36da8ba..dd9fd6900d 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "dependencies": { "@commitlint/config-angular": "^9.1.1", diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index d038d872dc..6a7942c905 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index c81abd9597..5d2f2f0d9b 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index 69a34bc15d..fab3e10586 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index 2b42d05337..bccd87518c 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index d9b66a3cbf..3088281abf 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 5515f26677..9fabe3818d 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 6f6e19d756..55ae96c5b3 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index 4f0c4766d3..4ba7e744f1 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 77c1a046d3..588a98ad0c 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 2ad1647940..33ae10d5e3 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "devDependencies": { "@commitlint/test": "^9.1.1", diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 53da22478e..4dc15fcbe4 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -45,7 +45,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "devDependencies": { "@babel/cli": "^7.7.7", diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 241d256c00..344df4c886 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index d4ea8fe94a..0237c0dfc2 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index 4184b24a3b..163288abc3 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index b01a2dafcf..70c5085d92 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index d557e33798..b8f62b0bcb 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 1f79e31db4..1f966d2237 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -24,7 +24,7 @@ ] }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index 5f0b8c3800..39b64cd32a 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -11,7 +11,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index 85c125d5b7..4ca93fa994 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -8,7 +8,7 @@ "index.js" ], "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index ef69a58d75..c85b0670a9 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -9,7 +9,7 @@ "lib/" ], "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@packages/test/package.json b/@packages/test/package.json index 4881398e67..87f152f919 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -9,7 +9,7 @@ "lib/" ], "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 837b259f31..4b747c7102 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -16,7 +16,7 @@ "pkg": "node pkg-check.js --skip-main" }, "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", diff --git a/package.json b/package.json index d03e6c563f..defb7abbfd 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "@packages/*" ], "engines": { - "node": ">=8" + "node": ">=v8.17.0" }, "repository": { "type": "git", From 4e830b3e255a6983cbee5a50c13b180ca49af57d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2020 11:26:42 +0800 Subject: [PATCH 0172/2192] chore: update dependency @types/node to v12.12.48 (#1991) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index defb7abbfd..b3e57855ff 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "devDependencies": { "@lerna/project": "3.21.0", "@types/jest": "26.0.4", - "@types/node": "12.12.47", + "@types/node": "12.12.48", "@typescript-eslint/eslint-plugin": "^3.0.0", "@typescript-eslint/parser": "^3.0.0", "docsify-cli": "^4.4.0", diff --git a/yarn.lock b/yarn.lock index 7f7d9053a2..768a034310 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2583,10 +2583,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9" integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA== -"@types/node@12.12.47": - version "12.12.47" - resolved "https://registry.npmjs.org/@types/node/-/node-12.12.47.tgz#5007b8866a2f9150de82335ca7e24dd1d59bdfb5" - integrity sha512-yzBInQFhdY8kaZmqoL2+3U5dSTMrKaYcb561VU+lDzAYvqt+2lojvBEy+hmpSNuXnPTx7m9+04CzWYOUqWME2A== +"@types/node@12.12.48": + version "12.12.48" + resolved "https://registry.npmjs.org/@types/node/-/node-12.12.48.tgz#4135f064eeed9fcfb4756deea5ba2caa11603391" + integrity sha512-m3Nmo/YaDUfYzdCQlxjF5pIy7TNyDTAJhIa//xtHcF0dlgYIBKULKnmloCPtByDxtZXrWV8Pge1AKT6/lRvVWg== "@types/normalize-package-data@^2.4.0": version "2.4.0" From d4f064cc1d7a1a6845c8d6bc82a0863ec50cb24a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 12 Jul 2020 13:32:31 +0800 Subject: [PATCH 0173/2192] chore: update dependency @types/node to v12.12.50 (#1997) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index b3e57855ff..a811f2cae1 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "devDependencies": { "@lerna/project": "3.21.0", "@types/jest": "26.0.4", - "@types/node": "12.12.48", + "@types/node": "12.12.50", "@typescript-eslint/eslint-plugin": "^3.0.0", "@typescript-eslint/parser": "^3.0.0", "docsify-cli": "^4.4.0", diff --git a/yarn.lock b/yarn.lock index 768a034310..ce7eb9d15e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2583,10 +2583,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9" integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA== -"@types/node@12.12.48": - version "12.12.48" - resolved "https://registry.npmjs.org/@types/node/-/node-12.12.48.tgz#4135f064eeed9fcfb4756deea5ba2caa11603391" - integrity sha512-m3Nmo/YaDUfYzdCQlxjF5pIy7TNyDTAJhIa//xtHcF0dlgYIBKULKnmloCPtByDxtZXrWV8Pge1AKT6/lRvVWg== +"@types/node@12.12.50": + version "12.12.50" + resolved "https://registry.npmjs.org/@types/node/-/node-12.12.50.tgz#e9b2e85fafc15f2a8aa8fdd41091b983da5fd6ee" + integrity sha512-5ImO01Fb8YsEOYpV+aeyGYztcYcjGsBvN4D7G5r1ef2cuQOpymjWNQi5V0rKHE6PC2ru3HkoUr/Br2/8GUA84w== "@types/normalize-package-data@^2.4.0": version "2.4.0" From dabdfc944df1b499841269a785e03db992e55d95 Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Mon, 13 Jul 2020 05:16:38 +0200 Subject: [PATCH 0174/2192] Refactor/armano cli (#1998) * chore: merge armanos branch * refactor: merge cli typescript refactor with conflicts Fixes #1691 Co-authored-by: escapedcat --- @commitlint/cli/cli.js | 2 + @commitlint/cli/index.js | 2 +- @commitlint/cli/package.json | 30 +- @commitlint/cli/src/cli-error.ts | 13 + .../cli/src/{cli.test.js => cli.test.ts} | 56 +++- @commitlint/cli/src/{cli.js => cli.ts} | 297 +++++++++--------- @commitlint/cli/src/help.js | 34 -- @commitlint/cli/src/types.ts | 24 ++ @commitlint/cli/tsconfig.json | 10 + @commitlint/config-patternplate/package.json | 2 +- @commitlint/ensure/package.json | 2 +- @commitlint/format/package.json | 4 +- @commitlint/format/src/format.ts | 38 +-- @commitlint/format/tsconfig.json | 3 +- @commitlint/lint/src/lint.test.ts | 4 +- @commitlint/lint/src/lint.ts | 23 +- @commitlint/load/package.json | 2 +- @commitlint/prompt/package.json | 2 +- @commitlint/resolve-extends/package.json | 2 +- @commitlint/types/src/format.ts | 37 +++ @commitlint/types/src/index.ts | 1 + @commitlint/types/src/lint.ts | 7 +- @commitlint/types/src/load.ts | 86 +---- @commitlint/types/src/rules.ts | 107 ++++++- docs/reference-cli.md | 40 ++- package.json | 2 +- tsconfig.json | 3 +- yarn.lock | 74 ++--- 28 files changed, 503 insertions(+), 404 deletions(-) create mode 100755 @commitlint/cli/cli.js create mode 100644 @commitlint/cli/src/cli-error.ts rename @commitlint/cli/src/{cli.test.js => cli.test.ts} (84%) rename @commitlint/cli/src/{cli.js => cli.ts} (58%) mode change 100755 => 100644 delete mode 100644 @commitlint/cli/src/help.js create mode 100644 @commitlint/cli/src/types.ts create mode 100644 @commitlint/cli/tsconfig.json create mode 100644 @commitlint/types/src/format.ts diff --git a/@commitlint/cli/cli.js b/@commitlint/cli/cli.js new file mode 100755 index 0000000000..4856fd706c --- /dev/null +++ b/@commitlint/cli/cli.js @@ -0,0 +1,2 @@ +#!/usr/bin/env node +require('./lib/cli.js'); diff --git a/@commitlint/cli/index.js b/@commitlint/cli/index.js index 6babb12a58..bc56366369 100644 --- a/@commitlint/cli/index.js +++ b/@commitlint/cli/index.js @@ -1,3 +1,3 @@ const path = require('path'); -module.exports = path.join(__dirname, 'lib/cli.js'); +module.exports = path.join(__dirname, 'cli.js'); diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 1931bbff4d..4c755126e2 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -4,26 +4,15 @@ "description": "Lint your commit messages", "files": [ "index.js", - "lib", - "!*.test.js*" + "cli.js", + "lib" ], "bin": { - "commitlint": "./lib/cli.js" + "commitlint": "./cli.js" }, "scripts": { - "build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps", "deps": "dep-check", - "pkg": "pkg-check", - "start": "yarn run watch", - "watch": "babel src --out-dir lib --watch --source-maps" - }, - "babel": { - "presets": [ - "babel-preset-commitlint" - ], - "ignore": [ - "**/*.test.js" - ] + "pkg": "pkg-check" }, "engines": { "node": ">=v8.17.0" @@ -51,6 +40,7 @@ "@babel/core": "^7.7.7", "@commitlint/test": "^9.1.1", "@commitlint/utils": "^9.1.1", + "@types/yargs": "^15.0.3", "babel-preset-commitlint": "^9.1.1", "cross-env": "7.0.2", "execa": "^3.4.0", @@ -65,11 +55,9 @@ "chalk": "4.1.0", "core-js": "^3.6.1", "get-stdin": "7.0.0", - "lodash": "^4.17.15", - "meow": "5.0.0", - "regenerator-runtime": "0.13.5", + "lodash": "^4.17.19", "resolve-from": "5.0.0", - "resolve-global": "1.0.0" - }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + "resolve-global": "1.0.0", + "yargs": "^15.1.0" + } } diff --git a/@commitlint/cli/src/cli-error.ts b/@commitlint/cli/src/cli-error.ts new file mode 100644 index 0000000000..757814a1ed --- /dev/null +++ b/@commitlint/cli/src/cli-error.ts @@ -0,0 +1,13 @@ +export class CliError extends Error { + __proto__ = Error; + + public type: string; + + constructor(message: string, type: string) { + super(message); + + this.type = type; + + Object.setPrototypeOf(this, CliError.prototype); + } +} diff --git a/@commitlint/cli/src/cli.test.js b/@commitlint/cli/src/cli.test.ts similarity index 84% rename from @commitlint/cli/src/cli.test.js rename to @commitlint/cli/src/cli.test.ts index 53d6258a90..b19177c6e8 100644 --- a/@commitlint/cli/src/cli.test.js +++ b/@commitlint/cli/src/cli.test.ts @@ -4,9 +4,14 @@ import execa from 'execa'; import merge from 'lodash/merge'; import fs from 'fs-extra'; -const bin = require.resolve('../lib/cli.js'); +const bin = require.resolve('../cli.js'); -const cli = (args, options) => { +interface TestOptions { + cwd: string; + env?: Record; +} + +const cli = (args: string[], options: TestOptions) => { return (input = '') => { return execa(bin, args, { cwd: options.cwd, @@ -17,8 +22,8 @@ const cli = (args, options) => { }; }; -const gitBootstrap = fixture => git.bootstrap(fixture, __dirname); -const fixBootstrap = fixture => fix.bootstrap(fixture, __dirname); +const gitBootstrap = (fixture: string) => git.bootstrap(fixture, __dirname); +const fixBootstrap = (fixture: string) => fix.bootstrap(fixture, __dirname); test('should throw when called without [input]', async () => { const cwd = await gitBootstrap('fixtures/default'); @@ -423,7 +428,48 @@ test('should work with relative formatter path', async () => { expect(actual.exitCode).toBe(0); }); -async function writePkg(payload, options) { +test('should print help', async () => { + const cwd = await gitBootstrap('fixtures/default'); + const actual = await cli(['--help'], {cwd})(); + expect(actual.stdout).toMatchInlineSnapshot(` + "@commitlint/cli@9.1.1 - Lint your commit messages + + [input] reads from stdin if --edit, --env, --from and --to are omitted + + Options: + --color, -c toggle colored output [boolean] [default: true] + --config, -g path to the config file [string] + --cwd, -d directory to execute in + [string] [default: (Working Directory)] + --edit, -e read last commit message from the specified file or + fallbacks to ./.git/COMMIT_EDITMSG + [string] [default: false] + --env, -E check message in the file at path given by environment + variable value [string] + --extends, -x array of shareable configurations to extend [array] + --help-url, -H help url in error message [string] + --from, -f lower end of the commit range to lint; applies if + edit=false [string] + --format, -o output format of the results [string] + --parser-preset, -p configuration preset to use for + conventional-commits-parser [string] + --quiet, -q toggle console output [boolean] [default: false] + --to, -t upper end of the commit range to lint; applies if + edit=false [string] + --verbose, -V enable verbose output for reports without problems + [boolean] + -v, --version display version information [boolean] + -h, --help Show help [boolean]" + `); +}); + +test('should print version', async () => { + const cwd = await gitBootstrap('fixtures/default'); + const actual = await cli(['--version'], {cwd})(); + expect(actual.stdout).toMatch('@commitlint/cli@'); +}); + +async function writePkg(payload: unknown, options: TestOptions) { const pkgPath = path.join(options.cwd, 'package.json'); const pkg = JSON.parse(await fs.readFile(pkgPath, 'utf-8')); const result = merge(pkg, payload); diff --git a/@commitlint/cli/src/cli.js b/@commitlint/cli/src/cli.ts old mode 100755 new mode 100644 similarity index 58% rename from @commitlint/cli/src/cli.js rename to @commitlint/cli/src/cli.ts index 6ad0710816..6af2663f88 --- a/@commitlint/cli/src/cli.js +++ b/@commitlint/cli/src/cli.ts @@ -1,136 +1,139 @@ -#!/usr/bin/env node -import 'core-js/stable'; -import 'regenerator-runtime/runtime'; - import load from '@commitlint/load'; import lint from '@commitlint/lint'; import read from '@commitlint/read'; -import meow from 'meow'; -import {merge, pick, isFunction} from 'lodash'; +import isFunction from 'lodash/isFunction'; import stdin from 'get-stdin'; import resolveFrom from 'resolve-from'; import resolveGlobal from 'resolve-global'; +import yargs from 'yargs'; + +import {CliFlags, Seed} from './types'; +import { + LintOptions, + LintOutcome, + ParserOptions, + ParserPreset, + QualifiedConfig, + Formatter +} from '@commitlint/types'; +import {CliError} from './cli-error'; -import help from './help'; const pkg = require('../package'); -const flags = { - color: { - alias: 'c', - default: true, - description: 'toggle colored output', - type: 'boolean' - }, - config: { - alias: 'g', - default: null, - description: 'path to the config file', - type: 'string' - }, - cwd: { - alias: 'd', - default: process.cwd(), - description: 'directory to execute in', - type: 'string' - }, - edit: { - alias: 'e', - default: false, - description: - 'read last commit message from the specified file or fallbacks to ./.git/COMMIT_EDITMSG', - type: 'string' - }, - env: { - alias: 'E', - default: null, - description: - 'check message in the file at path given by environment variable value', - type: 'string' - }, - extends: { - alias: 'x', - description: 'array of shareable configurations to extend', - type: 'string' - }, - help: { - alias: 'h', - type: 'boolean', - description: 'display this help message' - }, - 'help-url': { - alias: 'H', - type: 'string', - description: 'helpurl in error message' - }, - from: { - alias: 'f', - default: null, - description: 'lower end of the commit range to lint; applies if edit=false', - type: 'string' - }, - format: { - alias: 'o', - default: null, - description: 'output format of the results', - type: 'string' - }, - 'parser-preset': { - alias: 'p', - description: 'configuration preset to use for conventional-commits-parser', - type: 'string' - }, - quiet: { - alias: 'q', - default: false, - description: 'toggle console output', - type: 'boolean' - }, - to: { - alias: 't', - default: null, - description: 'upper end of the commit range to lint; applies if edit=false', - type: 'string' - }, - version: { - alias: 'v', - type: 'boolean', - description: 'display version information' - }, - verbose: { - alias: 'V', - type: 'boolean', - description: 'enable verbose output for reports without problems' - } -}; - -const cli = meow({ - description: `${pkg.name}@${pkg.version} - ${pkg.description}`, - flags, - help: `[input] reads from stdin if --edit, --env, --from and --to are omitted\n${help( - flags - )}`, - unknown(arg) { - throw new Error(`unknown flags: ${arg}`); - } -}); - -main(cli).catch(err => +const cli = yargs + .options({ + color: { + alias: 'c', + default: true, + description: 'toggle colored output', + type: 'boolean' + }, + config: { + alias: 'g', + description: 'path to the config file', + type: 'string' + }, + cwd: { + alias: 'd', + default: process.cwd(), + defaultDescription: '(Working Directory)', + description: 'directory to execute in', + type: 'string' + }, + edit: { + alias: 'e', + default: false, + description: + 'read last commit message from the specified file or fallbacks to ./.git/COMMIT_EDITMSG', + type: 'string' + }, + env: { + alias: 'E', + description: + 'check message in the file at path given by environment variable value', + type: 'string' + }, + extends: { + alias: 'x', + description: 'array of shareable configurations to extend', + type: 'array' + }, + 'help-url': { + alias: 'H', + type: 'string', + description: 'help url in error message' + }, + from: { + alias: 'f', + description: + 'lower end of the commit range to lint; applies if edit=false', + type: 'string' + }, + format: { + alias: 'o', + description: 'output format of the results', + type: 'string' + }, + 'parser-preset': { + alias: 'p', + description: + 'configuration preset to use for conventional-commits-parser', + type: 'string' + }, + quiet: { + alias: 'q', + default: false, + description: 'toggle console output', + type: 'boolean' + }, + to: { + alias: 't', + description: + 'upper end of the commit range to lint; applies if edit=false', + type: 'string' + }, + verbose: { + alias: 'V', + type: 'boolean', + description: 'enable verbose output for reports without problems' + } + }) + .version( + 'version', + 'display version information', + `${pkg.name}@${pkg.version}` + ) + .alias('v', 'version') + .help('help') + .alias('h', 'help') + .usage(`${pkg.name}@${pkg.version} - ${pkg.description}\n`) + .usage( + `[input] reads from stdin if --edit, --env, --from and --to are omitted` + ) + .strict(); + +main(cli.argv).catch(err => { setTimeout(() => { if (err.type === pkg.name) { process.exit(1); } throw err; - }) -); + }, 0); +}); -async function main(options) { - const raw = options.input; - const flags = normalizeFlags(options.flags); +async function main(options: CliFlags) { + const raw = options._; + const flags = normalizeFlags(options); const fromStdin = checkFromStdin(raw, flags); - const range = pick(flags, 'edit', 'from', 'to'); - - const input = await (fromStdin ? stdin() : read(range, {cwd: flags.cwd})); + const input = await (fromStdin + ? stdin() + : read({ + to: flags.to, + from: flags.from, + edit: flags.edit, + cwd: flags.cwd + })); const messages = (Array.isArray(input) ? input : [input]) .filter(message => typeof message === 'string') @@ -138,11 +141,11 @@ async function main(options) { .filter(Boolean); if (messages.length === 0 && !checkFromRepository(flags)) { - const err = new Error( - '[input] is required: supply via stdin, or --env or --edit or --from and --to' + const err = new CliError( + '[input] is required: supply via stdin, or --env or --edit or --from and --to', + pkg.name ); - err.type = pkg.name; - console.log(`${cli.help}\n`); + yargs.showHelp('log'); console.log(err.message); throw err; } @@ -150,7 +153,7 @@ async function main(options) { const loadOpts = {cwd: flags.cwd, file: flags.config}; const loaded = await load(getSeed(flags), loadOpts); const parserOpts = selectParserOpts(loaded.parserPreset); - const opts = { + const opts: LintOptions & {parserOpts: ParserOptions} = { parserOpts: {}, plugins: {}, ignores: [], @@ -171,7 +174,7 @@ async function main(options) { const format = loadFormatter(loaded, flags); // Strip comments if reading from `.git/COMMIT_EDIT_MSG` - if (range.edit) { + if (flags.edit) { opts.parserOpts.commentChar = '#'; } @@ -183,8 +186,7 @@ async function main(options) { let input = ''; if (results.length !== 0) { - const originalInput = results[0].input; - input = originalInput; + input = results[0].input; } results.splice(0, results.length, { @@ -206,7 +208,12 @@ async function main(options) { }); } - const report = results.reduce( + const report = results.reduce<{ + valid: boolean; + errorCount: number; + warningCount: number; + results: LintOutcome[]; + }>( (info, result) => { info.valid = result.valid ? info.valid : false; info.errorCount += result.errors.length; @@ -226,8 +233,8 @@ async function main(options) { const output = format(report, { color: flags.color, verbose: flags.verbose, - helpUrl: flags.helpUrl - ? flags.helpUrl.trim() + helpUrl: flags['help-url'] + ? flags['help-url'].trim() : 'https://github.com/conventional-changelog/commitlint/#what-is-commitlint' }); @@ -236,34 +243,35 @@ async function main(options) { } if (!report.valid) { - const err = new Error(output); - err.type = pkg.name; - throw err; + throw new CliError(output, pkg.name); } } -function checkFromStdin(input, flags) { +function checkFromStdin(input: string[], flags: CliFlags): boolean { return input.length === 0 && !checkFromRepository(flags); } -function checkFromRepository(flags) { +function checkFromRepository(flags: CliFlags) { return checkFromHistory(flags) || checkFromEdit(flags); } -function checkFromEdit(flags) { +function checkFromEdit(flags: CliFlags) { return Boolean(flags.edit) || flags.env; } -function checkFromHistory(flags) { +function checkFromHistory(flags: CliFlags): boolean { return typeof flags.from === 'string' || typeof flags.to === 'string'; } -function normalizeFlags(flags) { +function normalizeFlags(flags: CliFlags): CliFlags { const edit = getEditValue(flags); - return merge({}, flags, {edit, e: edit}); + return { + ...flags, + edit + }; } -function getEditValue(flags) { +function getEditValue(flags: CliFlags) { if (flags.env) { if (!(flags.env in process.env)) { throw new Error( @@ -311,15 +319,16 @@ function getEditValue(flags) { return edit; } -function getSeed(seed) { - const e = Array.isArray(seed.extends) ? seed.extends : [seed.extends]; - const n = e.filter(i => typeof i === 'string'); +function getSeed(flags: CliFlags): Seed { + const n = (flags.extends || []).filter( + (i): i is string => typeof i === 'string' + ); return n.length > 0 - ? {extends: n, parserPreset: seed.parserPreset} - : {parserPreset: seed.parserPreset}; + ? {extends: n, parserPreset: flags['parser-preset']} + : {parserPreset: flags['parser-preset']}; } -function selectParserOpts(parserPreset) { +function selectParserOpts(parserPreset: ParserPreset) { if (typeof parserPreset !== 'object') { return undefined; } @@ -331,7 +340,7 @@ function selectParserOpts(parserPreset) { return parserPreset.parserOpts; } -function loadFormatter(config, flags) { +function loadFormatter(config: QualifiedConfig, flags: CliFlags): Formatter { const moduleName = flags.format || config.formatter || '@commitlint/format'; const modulePath = resolveFrom.silent(__dirname, moduleName) || diff --git a/@commitlint/cli/src/help.js b/@commitlint/cli/src/help.js deleted file mode 100644 index 42c0d597c9..0000000000 --- a/@commitlint/cli/src/help.js +++ /dev/null @@ -1,34 +0,0 @@ -module.exports = flags => { - const lines = Object.entries(flags).map(entry => { - const name = entry[0]; - const value = entry[1]; - return [ - [name, value.alias].filter(Boolean), - value.description, - value.default - ].filter(Boolean); - }); - - const longest = lines - .map(line => { - const flags = line[0]; - return flags.reduce((sum, flag) => sum + flag.length, 0); - }) - .sort((a, b) => b - a)[0]; - - return lines - .map(line => { - const flags = line[0]; - const desc = line[1]; - const defaults = line[2]; - const fs = flags.map(flag => - flag.length > 1 ? `--${flag}` : ` -${flag}` - ); - const ds = defaults ? `, defaults to: ${defaults}` : ''; - const length = flags.reduce((sum, flag) => sum + flag.length, 0); - return `${fs.join(',')}${' '.repeat( - Math.max(4 + longest - length, 0) - )}${desc}${ds}`; - }) - .join('\n'); -}; diff --git a/@commitlint/cli/src/types.ts b/@commitlint/cli/src/types.ts new file mode 100644 index 0000000000..67dcc606a1 --- /dev/null +++ b/@commitlint/cli/src/types.ts @@ -0,0 +1,24 @@ +export interface CliFlags { + color: boolean; + config?: string; + cwd: string; + edit?: string | boolean; + env?: string; + extends?: (string | number)[]; + help?: boolean; + 'help-url'?: string; + from?: string; + format?: string; + 'parser-preset'?: string; + quiet: boolean; + to?: string; + version?: boolean; + verbose?: boolean; + _: string[]; + $0: string; +} + +export interface Seed { + extends?: string[]; + parserPreset?: string; +} diff --git a/@commitlint/cli/tsconfig.json b/@commitlint/cli/tsconfig.json new file mode 100644 index 0000000000..8d5ce01f6d --- /dev/null +++ b/@commitlint/cli/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "rootDir": "./src", + "outDir": "./lib" + }, + "include": ["./src/**/*.ts"], + "exclude": ["./src/**/*.test.ts", "./lib/**/*"] +} diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index dd9fd6900d..46e0ccd973 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -31,7 +31,7 @@ "dependencies": { "@commitlint/config-angular": "^9.1.1", "globby": "^11.0.0", - "lodash": "^4.17.15" + "lodash": "^4.17.19" }, "devDependencies": { "@commitlint/utils": "^9.1.1" diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 5d2f2f0d9b..2cacf4aa18 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -40,7 +40,7 @@ }, "dependencies": { "@commitlint/types": "^9.1.1", - "lodash": "^4.17.15" + "lodash": "^4.17.19" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index bccd87518c..8f4569b6cc 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -37,7 +37,7 @@ "@commitlint/utils": "^9.1.1" }, "dependencies": { + "@commitlint/types": "^9.1.1", "chalk": "^4.0.0" - }, - "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" + } } diff --git a/@commitlint/format/src/format.ts b/@commitlint/format/src/format.ts index 050c8fba63..cf75cf824d 100644 --- a/@commitlint/format/src/format.ts +++ b/@commitlint/format/src/format.ts @@ -1,41 +1,19 @@ import chalk from 'chalk'; +import { + ChalkColor, + FormattableReport, + FormatOptions, + FormattableResult, + WithInput +} from '@commitlint/types'; const DEFAULT_SIGNS = [' ', '⚠', '✖'] as const; const DEFAULT_COLORS = ['white', 'yellow', 'red'] as const; -export interface FormattableProblem { - level: 0 | 1 | 2; - name: string; - message: string; -} - -export interface FormattableResult { - errors?: FormattableProblem[]; - warnings?: FormattableProblem[]; -} - -export interface WithInput { - input?: string; -} - -export interface FormattableReport { - results?: (FormattableResult & WithInput)[]; -} - -export type ChalkColor = keyof typeof chalk; - -export interface FormatOptions { - color?: boolean; - signs?: readonly [string, string, string]; - colors?: readonly [ChalkColor, ChalkColor, ChalkColor]; - verbose?: boolean; - helpUrl?: string; -} - export function format( report: FormattableReport = {}, options: FormatOptions = {} -) { +): string { const {results = []} = report; const fi = (result: FormattableResult & WithInput) => formatInput(result, options); diff --git a/@commitlint/format/tsconfig.json b/@commitlint/format/tsconfig.json index 49479bf34f..119e645565 100644 --- a/@commitlint/format/tsconfig.json +++ b/@commitlint/format/tsconfig.json @@ -6,5 +6,6 @@ "outDir": "./lib" }, "include": ["./src"], - "exclude": ["./src/**/*.test.ts", "./lib/**/*"] + "exclude": ["./src/**/*.test.ts", "./lib/**/*"], + "references": [{"path": "../types"}] } diff --git a/@commitlint/lint/src/lint.test.ts b/@commitlint/lint/src/lint.test.ts index 52ef073c13..9e4122cff2 100644 --- a/@commitlint/lint/src/lint.test.ts +++ b/@commitlint/lint/src/lint.test.ts @@ -128,8 +128,8 @@ test('throws for rule with invalid level', async () => { test('throws for rule with out of range level', async () => { const error = lint('type(scope): foo', { - 'type-enum': [-1, 'always'], - 'header-max-length': [3, 'always'] + 'type-enum': [-1, 'always'] as any, + 'header-max-length': [3, 'always'] as any }); await expect(error).rejects.toThrow('rule type-enum must be between 0 and 2'); diff --git a/@commitlint/lint/src/lint.ts b/@commitlint/lint/src/lint.ts index 6917d74611..3fd0204876 100644 --- a/@commitlint/lint/src/lint.ts +++ b/@commitlint/lint/src/lint.ts @@ -4,20 +4,21 @@ import parse from '@commitlint/parse'; import defaultRules from '@commitlint/rules'; import {buildCommitMesage} from './commit-message'; import { - LintRuleConfig, LintOptions, + LintOutcome, LintRuleOutcome, Rule, - RuleSeverity, + RuleConfigSeverity, BaseRule, - RuleType + RuleType, + QualifiedRules } from '@commitlint/types'; export default async function lint( message: string, - rawRulesConfig?: LintRuleConfig, + rawRulesConfig?: QualifiedRules, rawOpts?: LintOptions -) { +): Promise { const opts = rawOpts ? rawOpts : {defaultIgnores: undefined, ignores: undefined}; @@ -95,7 +96,7 @@ export default async function lint( const [level] = config; - if (level === RuleSeverity.Disabled && config.length === 1) { + if (level === RuleConfigSeverity.Disabled && config.length === 1) { return null; } @@ -151,15 +152,11 @@ export default async function lint( // Validate against all rules const pendingResults = Object.entries(rulesConfig) - .filter(([, [level]]) => level > 0) + // Level 0 rules are ignored + .filter(([, config]) => !!config && config.length && config[0] > 0) .map(async entry => { const [name, config] = entry; - const [level, when, value] = config; - - // Level 0 rules are ignored - if (level === 0) { - return null; - } + const [level, when, value] = config!; // const rule = allRules.get(name); diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 55ae96c5b3..a516c1e146 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -45,7 +45,7 @@ "@commitlint/types": "^9.1.1", "chalk": "4.1.0", "cosmiconfig": "^6.0.0", - "lodash": "^4.17.15", + "lodash": "^4.17.19", "resolve-from": "^5.0.0" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 4dc15fcbe4..25f20fc708 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -59,7 +59,7 @@ "@babel/runtime": "^7.9.6", "@commitlint/load": "^9.1.1", "chalk": "^4.0.0", - "lodash": "^4.17.15", + "lodash": "^4.17.19", "throat": "^5.0.0", "vorpal": "^1.12.0" }, diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index 0237c0dfc2..5a6acf63ce 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -39,7 +39,7 @@ }, "dependencies": { "import-fresh": "^3.0.0", - "lodash": "^4.17.15", + "lodash": "^4.17.19", "resolve-from": "^5.0.0", "resolve-global": "^1.0.0" }, diff --git a/@commitlint/types/src/format.ts b/@commitlint/types/src/format.ts new file mode 100644 index 0000000000..ba50d8a79f --- /dev/null +++ b/@commitlint/types/src/format.ts @@ -0,0 +1,37 @@ +import chalk from 'chalk'; +import {QualifiedRules} from './load'; +import {RuleConfigSeverity} from './rules'; + +export type Formatter = ( + report: FormattableReport, + options: FormatOptions +) => string; + +export interface FormattableProblem { + level: RuleConfigSeverity; + name: keyof QualifiedRules; + message: string; +} + +export interface FormattableResult { + errors?: FormattableProblem[]; + warnings?: FormattableProblem[]; +} + +export interface WithInput { + input?: string; +} + +export interface FormattableReport { + results?: (FormattableResult & WithInput)[]; +} + +export type ChalkColor = keyof typeof chalk; + +export interface FormatOptions { + color?: boolean; + signs?: readonly [string, string, string]; + colors?: readonly [ChalkColor, ChalkColor, ChalkColor]; + verbose?: boolean; + helpUrl?: string; +} diff --git a/@commitlint/types/src/index.ts b/@commitlint/types/src/index.ts index f562854fed..562a9a6373 100644 --- a/@commitlint/types/src/index.ts +++ b/@commitlint/types/src/index.ts @@ -1,4 +1,5 @@ export * from './ensure'; +export * from './format'; export * from './is-ignored'; export * from './rules'; export * from './lint'; diff --git a/@commitlint/types/src/lint.ts b/@commitlint/types/src/lint.ts index 6ebf81e448..e9f047e9e0 100644 --- a/@commitlint/types/src/lint.ts +++ b/@commitlint/types/src/lint.ts @@ -1,10 +1,11 @@ import {IsIgnoredOptions} from './is-ignored'; -import {RuleConfigTuple, PluginRecords, RuleSeverity} from './load'; +import {PluginRecords} from './load'; import {ParserOptions} from './parse'; +import {RuleConfigSeverity, RuleConfigTuple} from './rules'; export type LintRuleConfig = Record< string, - | Readonly<[RuleSeverity.Disabled]> + | Readonly<[RuleConfigSeverity.Disabled]> | RuleConfigTuple | RuleConfigTuple >; @@ -35,7 +36,7 @@ export interface LintRuleOutcome { /** If the commit is considered valid for the rule */ valid: boolean; /** The "severity" of the rule (1 = warning, 2 = error) */ - level: RuleSeverity; + level: RuleConfigSeverity; /** The name of the rule */ name: string; /** The message returned from the rule, if invalid */ diff --git a/@commitlint/types/src/load.ts b/@commitlint/types/src/load.ts index d6feebca38..cfcd59acc4 100644 --- a/@commitlint/types/src/load.ts +++ b/@commitlint/types/src/load.ts @@ -1,5 +1,4 @@ -import {TargetCaseType} from './ensure'; -import {Rule, RuleCondition} from './rules'; +import {Rule, RulesConfig, RuleConfigQuality} from './rules'; export type PluginRecords = Record; @@ -14,84 +13,9 @@ export interface LoadOptions { file?: string; } -export enum RuleSeverity { - Disabled = 0, - Warning = 1, - Error = 2 -} - -export type RuleConfigTuple = T extends void - ? Readonly<[RuleSeverity, RuleCondition]> - : Readonly<[RuleSeverity, RuleCondition, T]>; - -export enum RuleConfigQuality { - User, - Qualified -} - -export type QualifiedRuleConfig = - | (() => RuleConfigTuple) - | (() => RuleConfigTuple>) - | RuleConfigTuple; - -export type RuleConfig< - V = RuleConfigQuality.Qualified, - T = void -> = V extends RuleConfigQuality.Qualified - ? RuleConfigTuple - : QualifiedRuleConfig; - -export type CaseRuleConfig = RuleConfig< - V, - TargetCaseType ->; -export type LengthRuleConfig = RuleConfig< - V, - number ->; -export type EnumRuleConfig = RuleConfig< - V, - string[] ->; - -export type RulesConfig = { - 'body-case': CaseRuleConfig; - 'body-empty': RuleConfig; - 'body-leading-blank': RuleConfig; - 'body-max-length': LengthRuleConfig; - 'body-max-line-length': LengthRuleConfig; - 'body-min-length': LengthRuleConfig; - 'footer-empty': RuleConfig; - 'footer-leading-blank': RuleConfig; - 'footer-max-length': LengthRuleConfig; - 'footer-max-line-length': LengthRuleConfig; - 'footer-min-length': LengthRuleConfig; - 'header-case': CaseRuleConfig; - 'header-full-stop': RuleConfig; - 'header-max-length': LengthRuleConfig; - 'header-min-length': LengthRuleConfig; - 'references-empty': RuleConfig; - 'scope-case': CaseRuleConfig; - 'scope-empty': RuleConfig; - 'scope-enum': EnumRuleConfig; - 'scope-max-length': LengthRuleConfig; - 'scope-min-length': LengthRuleConfig; - 'signed-off-by': RuleConfig; - 'subject-case': CaseRuleConfig; - 'subject-empty': RuleConfig; - 'subject-full-stop': RuleConfig; - 'subject-max-length': LengthRuleConfig; - 'subject-min-length': LengthRuleConfig; - 'type-case': CaseRuleConfig; - 'type-empty': RuleConfig; - 'type-enum': EnumRuleConfig; - 'type-max-length': LengthRuleConfig; - 'type-min-length': LengthRuleConfig; -}; - export interface UserConfig { extends?: string[]; - formatter?: unknown; + formatter?: string; rules?: Partial; parserPreset?: string | ParserPreset; ignores?: ((commit: string) => boolean)[]; @@ -101,7 +25,7 @@ export interface UserConfig { export interface UserPreset { extends?: string[]; - formatter?: unknown; + formatter?: string; rules?: Partial; parserPreset?: string | ParserPreset; ignores?: ((commit: string) => boolean)[]; @@ -113,8 +37,8 @@ export type QualifiedRules = Partial>; export interface QualifiedConfig { extends: string[]; - formatter: unknown; - rules: Partial; + formatter: string; + rules: QualifiedRules; parserPreset: ParserPreset; ignores: ((commit: string) => boolean)[]; defaultIgnores: boolean; diff --git a/@commitlint/types/src/rules.ts b/@commitlint/types/src/rules.ts index 3d99db4059..2a4d063a88 100644 --- a/@commitlint/types/src/rules.ts +++ b/@commitlint/types/src/rules.ts @@ -1,12 +1,6 @@ +import {TargetCaseType} from './ensure'; import {Commit} from './parse'; -/** - * Rules always have a condition. - * It can be either "always" (as tested), or "never" (as tested). - * For example, `header-full-stop` can be enforced as "always" or "never". - */ -export type RuleCondition = 'always' | 'never'; - /** * Rules match the input either as successful or failed. * For example, when `header-full-stop` detects a full stop and is set as "always"; it's true. @@ -22,7 +16,7 @@ export type RuleType = 'async' | 'sync' | 'either'; export type BaseRule = ( parsed: Commit, - when?: RuleCondition, + when?: RuleConfigCondition, value?: Value ) => Type extends 'either' ? RuleOutcome | Promise @@ -35,3 +29,100 @@ export type BaseRule = ( export type Rule = BaseRule; export type AsyncRule = BaseRule; export type SyncRule = BaseRule; + +/** + * Rules always have a severity. + * Severity indicates what to do if the rule is found to be broken + * 0 - Disable this rule + * 1 - Warn for violations + * 2 - Error for violations + */ +export enum RuleConfigSeverity { + Disabled = 0, + Warning = 1, + Error = 2 +} + +/** + * Rules always have a condition. + * It can be either "always" (as tested), or "never" (as tested). + * For example, `header-full-stop` can be enforced as "always" or "never". + */ +export type RuleConfigCondition = 'always' | 'never'; + +export type RuleConfigTuple = T extends void + ? + | Readonly<[RuleConfigSeverity.Disabled]> + | Readonly<[RuleConfigSeverity, RuleConfigCondition]> + : + | Readonly<[RuleConfigSeverity.Disabled]> + | Readonly<[RuleConfigSeverity, RuleConfigCondition, T]>; + +export enum RuleConfigQuality { + User, + Qualified +} + +export type QualifiedRuleConfig = + | (() => RuleConfigTuple) + | (() => RuleConfigTuple>) + | RuleConfigTuple; + +export type RuleConfig< + V = RuleConfigQuality.Qualified, + T = void +> = V extends RuleConfigQuality.Qualified + ? RuleConfigTuple + : QualifiedRuleConfig; + +export type CaseRuleConfig = RuleConfig< + V, + TargetCaseType +>; +export type LengthRuleConfig = RuleConfig< + V, + number +>; +export type EnumRuleConfig = RuleConfig< + V, + string[] +>; + +export type RulesConfig = { + 'body-case': CaseRuleConfig; + 'body-empty': RuleConfig; + 'body-leading-blank': RuleConfig; + 'body-max-length': LengthRuleConfig; + 'body-max-line-length': LengthRuleConfig; + 'body-min-length': LengthRuleConfig; + 'footer-empty': RuleConfig; + 'footer-leading-blank': RuleConfig; + 'footer-max-length': LengthRuleConfig; + 'footer-max-line-length': LengthRuleConfig; + 'footer-min-length': LengthRuleConfig; + 'header-case': CaseRuleConfig; + 'header-full-stop': RuleConfig; + 'header-max-length': LengthRuleConfig; + 'header-min-length': LengthRuleConfig; + 'references-empty': RuleConfig; + 'scope-case': CaseRuleConfig; + 'scope-empty': RuleConfig; + 'scope-enum': EnumRuleConfig; + 'scope-max-length': LengthRuleConfig; + 'scope-min-length': LengthRuleConfig; + 'signed-off-by': RuleConfig; + 'subject-case': CaseRuleConfig; + 'subject-empty': RuleConfig; + 'subject-full-stop': RuleConfig; + 'subject-max-length': LengthRuleConfig; + 'subject-min-length': LengthRuleConfig; + 'type-case': CaseRuleConfig; + 'type-empty': RuleConfig; + 'type-enum': EnumRuleConfig; + 'type-max-length': LengthRuleConfig; + 'type-min-length': LengthRuleConfig; + // Plugins may add their custom rules + [key: string]: AnyRuleConfig; +}; + +export type AnyRuleConfig = RuleConfig | RuleConfig; diff --git a/docs/reference-cli.md b/docs/reference-cli.md index 44261fc6e2..3f0b66a6c1 100644 --- a/docs/reference-cli.md +++ b/docs/reference-cli.md @@ -3,21 +3,31 @@ ```bash ❯ npx commitlint --help -@commitlint/cli@8.0.0 - Lint your commit messages +@commitlint/cli@8.3.5 - Lint your commit messages [input] reads from stdin if --edit, --env, --from and --to are omitted ---color, -c toggle colored output, defaults to: true ---config, -g path to the config file ---cwd, -d directory to execute in, defaults to: $CD ---edit, -e read last commit message from the specified file or fallbacks to ./.git/COMMIT_EDITMSG ---env, -E check message in the file at path given by environment variable value ---extends, -x array of shareable configurations to extend ---help, -h display this help message ---from, -f lower end of the commit range to lint; applies if edit=false ---format, -o output format of the results ---parser-preset, -p configuration preset to use for conventional-commits-parser ---quiet, -q toggle console output ---to, -t upper end of the commit range to lint; applies if edit=false ---version, -v display version information ---verbose, -V enable verbose output for reports without problems + +Options: + --color, -c toggle colored output [boolean] [default: true] + --config, -g path to the config file [string] + --cwd, -d directory to execute in [string] [default: cwd] + --edit, -e read last commit message from the specified file or + fallbacks to ./.git/COMMIT_EDITMSG + [string] [default: false] + --env, -E check message in the file at path given by environment + variable value [string] + --extends, -x array of shareable configurations to extend [array] + --help-url, -H helpurl in error message [string] + --from, -f lower end of the commit range to lint; applies if + edit=false [string] + --format, -o output format of the results [string] + --parser-preset, -p configuration preset to use for + conventional-commits-parser [string] + --quiet, -q toggle console output [boolean] [default: false] + --to, -t upper end of the commit range to lint; applies if + edit=false [string] + --verbose, -V enable verbose output for reports without problems + [boolean] + -v, --version display version information [boolean] + -h, --help Show help [boolean] ``` diff --git a/package.json b/package.json index a811f2cae1..85d3f0f5d3 100644 --- a/package.json +++ b/package.json @@ -104,6 +104,6 @@ } }, "resolutions": { - "**/lodash": "4.17.15" + "**/lodash": "4.17.19" } } diff --git a/tsconfig.json b/tsconfig.json index ca6bc60377..fd1d9d995a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,6 +18,7 @@ {"path": "@commitlint/read"}, {"path": "@commitlint/rules"}, {"path": "@commitlint/lint"}, - {"path": "@commitlint/core"} + {"path": "@commitlint/core"}, + {"path": "@commitlint/cli"} ] } diff --git a/yarn.lock b/yarn.lock index ce7eb9d15e..e04d44c23d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2620,7 +2620,7 @@ resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-13.1.0.tgz#c563aa192f39350a1d18da36c5a8da382bbd8228" integrity sha512-gCubfBUZ6KxzoibJ+SCUc/57Ms1jz5NjHe4+dI2krNmU5zCPAphyLJYyTOg06ueIyfj+SaCUqmzun7ImlxDcKg== -"@types/yargs@^15.0.0": +"@types/yargs@^15.0.0", "@types/yargs@^15.0.3": version "15.0.3" resolved "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.3.tgz#41453a0bc7ab393e995d1f5451455638edbd2baf" integrity sha512-XCMQRK6kfpNBixHLyHUsGmXrpEmFFxzMrcnSXFMziHd8CoNJo8l16FkHyQq4x+xbM7E2XL83/O78OD8u+iZTdQ== @@ -4181,9 +4181,9 @@ core-js@^2.4.0, core-js@^2.5.0: integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg== core-js@^3.6.1: - version "3.6.1" - resolved "https://registry.npmjs.org/core-js/-/core-js-3.6.1.tgz#39d5e2e346258cc01eb7d44345b1c3c014ca3f05" - integrity sha512-186WjSik2iTGfDjfdCZAxv2ormxtKgemjC3SI6PL31qOA0j5LhTDVjHChccoc7brwLvpvLPiMyRlcO88C4l1QQ== + version "3.6.5" + resolved "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz#7395dc273af37fb2e50e9bd3d9fe841285231d1a" + integrity sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA== core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" @@ -7501,10 +7501,10 @@ lodash.uniq@^4.5.0: resolved "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@4.17.15, lodash@^3.3.1, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.5.1: - version "4.17.15" - resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" - integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== +lodash@4.17.15, lodash@4.17.19, lodash@^3.3.1, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.5.1: + version "4.17.19" + resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b" + integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ== log-symbols@^4.0.0: version "4.0.0" @@ -7693,21 +7693,6 @@ meow@4.0.1, meow@^4.0.0: redent "^2.0.0" trim-newlines "^2.0.0" -meow@5.0.0, meow@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/meow/-/meow-5.0.0.tgz#dfc73d63a9afc714a5e371760eb5c88b91078aa4" - integrity sha512-CbTqYU17ABaLefO8vCU153ZZlprKYWDljcndKKDCFcYQITzWCXZAVk4QMFZPgvzrnUQ3uItnIE/LoUOwrT15Ig== - dependencies: - camelcase-keys "^4.0.0" - decamelize-keys "^1.0.0" - loud-rejection "^1.0.0" - minimist-options "^3.0.1" - normalize-package-data "^2.3.4" - read-pkg-up "^3.0.0" - redent "^2.0.0" - trim-newlines "^2.0.0" - yargs-parser "^10.0.0" - meow@^3.3.0: version "3.7.0" resolved "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb" @@ -7724,6 +7709,21 @@ meow@^3.3.0: redent "^1.0.0" trim-newlines "^1.0.0" +meow@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/meow/-/meow-5.0.0.tgz#dfc73d63a9afc714a5e371760eb5c88b91078aa4" + integrity sha512-CbTqYU17ABaLefO8vCU153ZZlprKYWDljcndKKDCFcYQITzWCXZAVk4QMFZPgvzrnUQ3uItnIE/LoUOwrT15Ig== + dependencies: + camelcase-keys "^4.0.0" + decamelize-keys "^1.0.0" + loud-rejection "^1.0.0" + minimist-options "^3.0.1" + normalize-package-data "^2.3.4" + read-pkg-up "^3.0.0" + redent "^2.0.0" + trim-newlines "^2.0.0" + yargs-parser "^10.0.0" + merge-stream@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" @@ -9213,11 +9213,6 @@ regenerate@^1.4.0: resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11" integrity sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg== -regenerator-runtime@0.13.5, regenerator-runtime@^0.13.4: - version "0.13.5" - resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz#d878a1d094b4306d10b9096484b33ebd55e26697" - integrity sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA== - regenerator-runtime@^0.10.5: version "0.10.5" resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" @@ -9233,6 +9228,11 @@ regenerator-runtime@^0.13.2: resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5" integrity sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw== +regenerator-runtime@^0.13.4: + version "0.13.5" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz#d878a1d094b4306d10b9096484b33ebd55e26697" + integrity sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA== + regenerator-transform@^0.14.0: version "0.14.1" resolved "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.1.tgz#3b2fce4e1ab7732c08f665dfdb314749c7ddd2fb" @@ -9456,20 +9456,20 @@ resolve@1.1.7: resolved "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@^1.10.0, resolve@^1.13.1, resolve@^1.17.0: - version "1.17.0" - resolved "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444" - integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w== - dependencies: - path-parse "^1.0.6" - -resolve@^1.3.2, resolve@^1.8.1: +resolve@^1.10.0, resolve@^1.13.1, resolve@^1.3.2, resolve@^1.8.1: version "1.15.1" resolved "https://registry.npmjs.org/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8" integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w== dependencies: path-parse "^1.0.6" +resolve@^1.17.0: + version "1.17.0" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444" + integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w== + dependencies: + path-parse "^1.0.6" + responselike@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" @@ -11231,7 +11231,7 @@ yargs@^14.2.2: y18n "^4.0.0" yargs-parser "^15.0.0" -yargs@^15.0.0: +yargs@^15.0.0, yargs@^15.1.0: version "15.1.0" resolved "https://registry.npmjs.org/yargs/-/yargs-15.1.0.tgz#e111381f5830e863a89550bd4b136bb6a5f37219" integrity sha512-T39FNN1b6hCW4SOIk1XyTOWxtXdcen0t+XYrysQmChzSipvhBO8Bj0nK1ozAasdk24dNWuMZvr4k24nz+8HHLg== From 0eaee183c6c5b8c20f4cf0ccd1b6bd47d3386fb5 Mon Sep 17 00:00:00 2001 From: escapedcat Date: Mon, 13 Jul 2020 11:38:51 +0800 Subject: [PATCH 0175/2192] docs: correct info regarding modifying npm tags --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 81765c7122..fd0d9e541d 100644 --- a/README.md +++ b/README.md @@ -206,6 +206,10 @@ For more information on how to contribute please take a look at our [contributio ### Publishing a release +```sh +npm login +``` + ```sh yarn clean yarn install @@ -216,6 +220,10 @@ yarn run publish --otp #### Publish a `next` release +```sh +npm login +``` + ```sh yarn clean yarn install @@ -226,16 +234,20 @@ npx lerna publish --conventional-commits --dist-tag next --otp +npx lerna exec --no-bail --no-private --no-sort --stream -- '[ -n "$(npm v . dist-tags.next)" ] && npm dist-tag add ${LERNA_PACKAGE_NAME}@$(npm v . dist-tags.next) latest --otp ' ``` Remove next: ```sh -npx lerna exec --no-bail --no-private --no-sort --stream -- '[ -n "$(npm v . dist-tags.next)" ] && npm dist-tag rm ${LERNA_PACKAGE_NAME}@$(npm v . dist-tags.next) latest --otp +npx lerna exec --no-bail --no-private --no-sort --stream -- '[ -n "$(npm v . dist-tags.next)" ] && npm dist-tag rm ${LERNA_PACKAGE_NAME} next --otp ' ``` [0]: https://img.shields.io/badge/stability-stable-green.svg?style=flat-square From 935e3cffd3b1bf6824a16d030b8c768e222b6fed Mon Sep 17 00:00:00 2001 From: escapedcat Date: Mon, 13 Jul 2020 11:44:27 +0800 Subject: [PATCH 0176/2192] test(load): increase test timeout to avoid flakiness --- @commitlint/load/src/load.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@commitlint/load/src/load.test.ts b/@commitlint/load/src/load.test.ts index 1a3e4ba1f8..324b43f017 100644 --- a/@commitlint/load/src/load.test.ts +++ b/@commitlint/load/src/load.test.ts @@ -423,7 +423,7 @@ test('recursive resolves parser preset from conventional atom', async () => { expect((actual.parserPreset.parserOpts as any).headerPattern).toEqual( /^(:.*?:) (.*)$/ ); -}); +}, 10000); test('resolves parser preset from conventional commits without factory support', async () => { const cwd = await npmBootstrap( From 41d4f5851508be1421bd23e0424cacf043bc6a88 Mon Sep 17 00:00:00 2001 From: escapedcat Date: Mon, 13 Jul 2020 11:45:28 +0800 Subject: [PATCH 0177/2192] v9.1.2 --- @alias/commitlint-config-angular/CHANGELOG.md | 8 ++++++++ @alias/commitlint-config-angular/package.json | 6 +++--- .../commitlint-config-lerna-scopes/CHANGELOG.md | 8 ++++++++ .../commitlint-config-lerna-scopes/package.json | 6 +++--- .../commitlint-config-patternplate/CHANGELOG.md | 8 ++++++++ .../commitlint-config-patternplate/package.json | 6 +++--- @alias/commitlint/CHANGELOG.md | 8 ++++++++ @alias/commitlint/package.json | 8 ++++---- @commitlint/cli/CHANGELOG.md | 8 ++++++++ @commitlint/cli/package.json | 16 ++++++++-------- .../config-angular-type-enum/CHANGELOG.md | 8 ++++++++ .../config-angular-type-enum/package.json | 4 ++-- @commitlint/config-angular/CHANGELOG.md | 8 ++++++++ @commitlint/config-angular/package.json | 6 +++--- @commitlint/config-conventional/CHANGELOG.md | 8 ++++++++ @commitlint/config-conventional/package.json | 6 +++--- @commitlint/config-lerna-scopes/CHANGELOG.md | 8 ++++++++ @commitlint/config-lerna-scopes/package.json | 6 +++--- @commitlint/config-patternplate/CHANGELOG.md | 8 ++++++++ @commitlint/config-patternplate/package.json | 6 +++--- @commitlint/core/CHANGELOG.md | 8 ++++++++ @commitlint/core/package.json | 12 ++++++------ @commitlint/ensure/CHANGELOG.md | 8 ++++++++ @commitlint/ensure/package.json | 6 +++--- @commitlint/execute-rule/CHANGELOG.md | 8 ++++++++ @commitlint/execute-rule/package.json | 4 ++-- @commitlint/format/CHANGELOG.md | 8 ++++++++ @commitlint/format/package.json | 6 +++--- @commitlint/is-ignored/CHANGELOG.md | 8 ++++++++ @commitlint/is-ignored/package.json | 10 +++++----- @commitlint/lint/CHANGELOG.md | 8 ++++++++ @commitlint/lint/package.json | 14 +++++++------- @commitlint/load/CHANGELOG.md | 8 ++++++++ @commitlint/load/package.json | 12 ++++++------ @commitlint/message/CHANGELOG.md | 8 ++++++++ @commitlint/message/package.json | 6 +++--- @commitlint/parse/CHANGELOG.md | 8 ++++++++ @commitlint/parse/package.json | 6 +++--- @commitlint/prompt-cli/CHANGELOG.md | 8 ++++++++ @commitlint/prompt-cli/package.json | 8 ++++---- @commitlint/prompt/CHANGELOG.md | 8 ++++++++ @commitlint/prompt/package.json | 8 ++++---- @commitlint/read/CHANGELOG.md | 8 ++++++++ @commitlint/read/package.json | 8 ++++---- @commitlint/resolve-extends/CHANGELOG.md | 8 ++++++++ @commitlint/resolve-extends/package.json | 4 ++-- @commitlint/rules/CHANGELOG.md | 8 ++++++++ @commitlint/rules/package.json | 16 ++++++++-------- @commitlint/to-lines/CHANGELOG.md | 8 ++++++++ @commitlint/to-lines/package.json | 4 ++-- @commitlint/top-level/CHANGELOG.md | 8 ++++++++ @commitlint/top-level/package.json | 4 ++-- @commitlint/travis-cli/CHANGELOG.md | 8 ++++++++ @commitlint/travis-cli/package.json | 10 +++++----- @commitlint/types/CHANGELOG.md | 8 ++++++++ @commitlint/types/package.json | 4 ++-- @packages/babel-preset-commitlint/CHANGELOG.md | 8 ++++++++ @packages/babel-preset-commitlint/package.json | 2 +- @packages/test-environment/CHANGELOG.md | 8 ++++++++ @packages/test-environment/package.json | 2 +- @packages/test/CHANGELOG.md | 8 ++++++++ @packages/test/package.json | 2 +- @packages/utils/CHANGELOG.md | 8 ++++++++ @packages/utils/package.json | 4 ++-- CHANGELOG.md | 8 ++++++++ lerna.json | 2 +- 66 files changed, 376 insertions(+), 112 deletions(-) diff --git a/@alias/commitlint-config-angular/CHANGELOG.md b/@alias/commitlint-config-angular/CHANGELOG.md index 03c1860ac6..41411df350 100644 --- a/@alias/commitlint-config-angular/CHANGELOG.md +++ b/@alias/commitlint-config-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package commitlint-config-angular + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package commitlint-config-angular diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index 806695f10c..8fdcc09747 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-angular", - "version": "9.1.1", + "version": "9.1.2", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=v8.17.0" }, "dependencies": { - "@commitlint/config-angular": "^9.1.1" + "@commitlint/config-angular": "^9.1.2" }, "devDependencies": { - "@commitlint/utils": "^9.1.1" + "@commitlint/utils": "^9.1.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md index 93f72e0666..72e2a502e8 100644 --- a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md +++ b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package commitlint-config-lerna-scopes + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package commitlint-config-lerna-scopes diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index 4eb05048a7..3c0dfca1bb 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-lerna-scopes", - "version": "9.1.1", + "version": "9.1.2", "description": "Shareable commitlint config enforcing lerna package names as scopes", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=v8.17.0" }, "dependencies": { - "@commitlint/config-lerna-scopes": "^9.1.1" + "@commitlint/config-lerna-scopes": "^9.1.2" }, "devDependencies": { - "@commitlint/utils": "^9.1.1" + "@commitlint/utils": "^9.1.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@alias/commitlint-config-patternplate/CHANGELOG.md b/@alias/commitlint-config-patternplate/CHANGELOG.md index 25d6716ef8..4b9dc604b2 100644 --- a/@alias/commitlint-config-patternplate/CHANGELOG.md +++ b/@alias/commitlint-config-patternplate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package commitlint-config-patternplate + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package commitlint-config-patternplate diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index b08df800fa..d0939cf123 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-patternplate", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=v8.17.0" }, "dependencies": { - "@commitlint/config-patternplate": "^9.1.1" + "@commitlint/config-patternplate": "^9.1.2" }, "devDependencies": { - "@commitlint/utils": "^9.1.1" + "@commitlint/utils": "^9.1.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@alias/commitlint/CHANGELOG.md b/@alias/commitlint/CHANGELOG.md index 89a6d908cb..d8604f989c 100644 --- a/@alias/commitlint/CHANGELOG.md +++ b/@alias/commitlint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package commitlint + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package commitlint diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 211b7643bb..4d9f2eaa03 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -1,6 +1,6 @@ { "name": "commitlint", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint your commit messages", "files": [ "cli.js" @@ -34,11 +34,11 @@ }, "license": "MIT", "dependencies": { - "@commitlint/cli": "^9.1.1" + "@commitlint/cli": "^9.1.2" }, "devDependencies": { - "@commitlint/test": "^9.1.1", - "@commitlint/utils": "^9.1.1" + "@commitlint/test": "^9.1.2", + "@commitlint/utils": "^9.1.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/cli/CHANGELOG.md b/@commitlint/cli/CHANGELOG.md index 2ef2e809c3..484e65d9f9 100644 --- a/@commitlint/cli/CHANGELOG.md +++ b/@commitlint/cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/cli + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/cli diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 4c755126e2..94b16920c6 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/cli", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint your commit messages", "files": [ "index.js", @@ -38,20 +38,20 @@ "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", - "@commitlint/test": "^9.1.1", - "@commitlint/utils": "^9.1.1", + "@commitlint/test": "^9.1.2", + "@commitlint/utils": "^9.1.2", "@types/yargs": "^15.0.3", - "babel-preset-commitlint": "^9.1.1", + "babel-preset-commitlint": "^9.1.2", "cross-env": "7.0.2", "execa": "^3.4.0", "fs-extra": "^8.1.0" }, "dependencies": { "@babel/runtime": "^7.9.6", - "@commitlint/format": "^9.1.1", - "@commitlint/lint": "^9.1.1", - "@commitlint/load": "^9.1.1", - "@commitlint/read": "^9.1.1", + "@commitlint/format": "^9.1.2", + "@commitlint/lint": "^9.1.2", + "@commitlint/load": "^9.1.2", + "@commitlint/read": "^9.1.2", "chalk": "4.1.0", "core-js": "^3.6.1", "get-stdin": "7.0.0", diff --git a/@commitlint/config-angular-type-enum/CHANGELOG.md b/@commitlint/config-angular-type-enum/CHANGELOG.md index ee81484bb7..220af768d6 100644 --- a/@commitlint/config-angular-type-enum/CHANGELOG.md +++ b/@commitlint/config-angular-type-enum/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/config-angular-type-enum + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/config-angular-type-enum diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index c8b9527312..cc89a9ad12 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular-type-enum", - "version": "9.1.1", + "version": "9.1.2", "description": "Shareable commitlint config enforcing the angular commit convention types", "files": [ "index.js" @@ -29,7 +29,7 @@ "node": ">=v8.17.0" }, "devDependencies": { - "@commitlint/utils": "^9.1.1" + "@commitlint/utils": "^9.1.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/config-angular/CHANGELOG.md b/@commitlint/config-angular/CHANGELOG.md index bd8f017f27..500b983b23 100644 --- a/@commitlint/config-angular/CHANGELOG.md +++ b/@commitlint/config-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/config-angular + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/config-angular diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index 28ec77c88c..90ffca5c5f 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular", - "version": "9.1.1", + "version": "9.1.2", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=v8.17.0" }, "devDependencies": { - "@commitlint/utils": "^9.1.1" + "@commitlint/utils": "^9.1.2" }, "dependencies": { - "@commitlint/config-angular-type-enum": "^9.1.1" + "@commitlint/config-angular-type-enum": "^9.1.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/config-conventional/CHANGELOG.md b/@commitlint/config-conventional/CHANGELOG.md index b7fc4b716f..9d53845956 100644 --- a/@commitlint/config-conventional/CHANGELOG.md +++ b/@commitlint/config-conventional/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/config-conventional + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/config-conventional diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index d607bcf6e0..cacb17a39f 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-conventional", - "version": "9.1.1", + "version": "9.1.2", "description": "Shareable commitlint config enforcing conventional commits", "files": [ "index.js" @@ -32,8 +32,8 @@ "node": ">=v8.17.0" }, "devDependencies": { - "@commitlint/lint": "^9.1.1", - "@commitlint/utils": "^9.1.1" + "@commitlint/lint": "^9.1.2", + "@commitlint/utils": "^9.1.2" }, "dependencies": { "conventional-changelog-conventionalcommits": "4.3.0" diff --git a/@commitlint/config-lerna-scopes/CHANGELOG.md b/@commitlint/config-lerna-scopes/CHANGELOG.md index 7e10238c7f..cb76565bc7 100644 --- a/@commitlint/config-lerna-scopes/CHANGELOG.md +++ b/@commitlint/config-lerna-scopes/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/config-lerna-scopes + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/config-lerna-scopes diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index b60c373ba1..0bdeba04e5 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-lerna-scopes", - "version": "9.1.1", + "version": "9.1.2", "description": "Shareable commitlint config enforcing lerna package names as scopes", "files": [ "index.js" @@ -37,8 +37,8 @@ "semver": "7.3.2" }, "devDependencies": { - "@commitlint/test": "^9.1.1", - "@commitlint/utils": "^9.1.1" + "@commitlint/test": "^9.1.2", + "@commitlint/utils": "^9.1.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/config-patternplate/CHANGELOG.md b/@commitlint/config-patternplate/CHANGELOG.md index b360d71c4b..79d6d4d758 100644 --- a/@commitlint/config-patternplate/CHANGELOG.md +++ b/@commitlint/config-patternplate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/config-patternplate + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/config-patternplate diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 46e0ccd973..3630dcd285 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-patternplate", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -29,12 +29,12 @@ "node": ">=v8.17.0" }, "dependencies": { - "@commitlint/config-angular": "^9.1.1", + "@commitlint/config-angular": "^9.1.2", "globby": "^11.0.0", "lodash": "^4.17.19" }, "devDependencies": { - "@commitlint/utils": "^9.1.1" + "@commitlint/utils": "^9.1.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/core/CHANGELOG.md b/@commitlint/core/CHANGELOG.md index ef0daf170c..7190e9d699 100644 --- a/@commitlint/core/CHANGELOG.md +++ b/@commitlint/core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/core + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/core diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index 6a7942c905..72319906de 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/core", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint your commit messages", "main": "lib/core.js", "types": "lib/core.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "dependencies": { - "@commitlint/format": "^9.1.1", - "@commitlint/lint": "^9.1.1", - "@commitlint/load": "^9.1.1", - "@commitlint/read": "^9.1.1" + "@commitlint/format": "^9.1.2", + "@commitlint/lint": "^9.1.2", + "@commitlint/load": "^9.1.2", + "@commitlint/read": "^9.1.2" }, "devDependencies": { - "@commitlint/utils": "^9.1.1" + "@commitlint/utils": "^9.1.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/ensure/CHANGELOG.md b/@commitlint/ensure/CHANGELOG.md index d1b0bf073d..07e2c088ef 100644 --- a/@commitlint/ensure/CHANGELOG.md +++ b/@commitlint/ensure/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/ensure + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/ensure diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 2cacf4aa18..e9ee24f0ee 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/ensure", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,12 +34,12 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.1.1", + "@commitlint/utils": "^9.1.2", "@types/lodash": "4.14.157", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/types": "^9.1.1", + "@commitlint/types": "^9.1.2", "lodash": "^4.17.19" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" diff --git a/@commitlint/execute-rule/CHANGELOG.md b/@commitlint/execute-rule/CHANGELOG.md index 316309d8b2..f3be5dd2a0 100644 --- a/@commitlint/execute-rule/CHANGELOG.md +++ b/@commitlint/execute-rule/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/execute-rule + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/execute-rule diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index fab3e10586..b1fcdd2ba7 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/execute-rule", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.1.1" + "@commitlint/utils": "^9.1.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/format/CHANGELOG.md b/@commitlint/format/CHANGELOG.md index d53f5d05e8..5b4ce839a6 100644 --- a/@commitlint/format/CHANGELOG.md +++ b/@commitlint/format/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/format + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/format diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index 8f4569b6cc..28caf017e8 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/format", - "version": "9.1.1", + "version": "9.1.2", "description": "Format commitlint reports", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,10 +34,10 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.1.1" + "@commitlint/utils": "^9.1.2" }, "dependencies": { - "@commitlint/types": "^9.1.1", + "@commitlint/types": "^9.1.2", "chalk": "^4.0.0" } } diff --git a/@commitlint/is-ignored/CHANGELOG.md b/@commitlint/is-ignored/CHANGELOG.md index 10f2215ba9..2ef91b5abc 100644 --- a/@commitlint/is-ignored/CHANGELOG.md +++ b/@commitlint/is-ignored/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/is-ignored + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/is-ignored diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index 3088281abf..5c1e7a2bfa 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/is-ignored", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^9.1.1", - "@commitlint/test": "^9.1.1", - "@commitlint/utils": "^9.1.1", + "@commitlint/parse": "^9.1.2", + "@commitlint/test": "^9.1.2", + "@commitlint/utils": "^9.1.2", "@types/semver": "7.3.1" }, "dependencies": { - "@commitlint/types": "^9.1.1", + "@commitlint/types": "^9.1.2", "semver": "7.3.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" diff --git a/@commitlint/lint/CHANGELOG.md b/@commitlint/lint/CHANGELOG.md index 61a9ab5756..25898d0dbc 100644 --- a/@commitlint/lint/CHANGELOG.md +++ b/@commitlint/lint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/lint + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/lint diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 9fabe3818d..340e268012 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/lint", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint a string against commitlint rules", "main": "lib/lint.js", "types": "lib/lint.d.ts", @@ -34,14 +34,14 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.1.1", - "@commitlint/utils": "^9.1.1" + "@commitlint/test": "^9.1.2", + "@commitlint/utils": "^9.1.2" }, "dependencies": { - "@commitlint/is-ignored": "^9.1.1", - "@commitlint/parse": "^9.1.1", - "@commitlint/rules": "^9.1.1", - "@commitlint/types": "^9.1.1" + "@commitlint/is-ignored": "^9.1.2", + "@commitlint/parse": "^9.1.2", + "@commitlint/rules": "^9.1.2", + "@commitlint/types": "^9.1.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/load/CHANGELOG.md b/@commitlint/load/CHANGELOG.md index cbb2fed0ee..1df3a2a6fd 100644 --- a/@commitlint/load/CHANGELOG.md +++ b/@commitlint/load/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/load + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index a516c1e146..36f4f3c81e 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/load", - "version": "9.1.1", + "version": "9.1.2", "description": "Load shared commitlint configuration", "main": "lib/load.js", "types": "lib/load.d.ts", @@ -34,15 +34,15 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.1.1", - "@commitlint/utils": "^9.1.1", + "@commitlint/test": "^9.1.2", + "@commitlint/utils": "^9.1.2", "@types/lodash": "4.14.157", "execa": "^3.4.0" }, "dependencies": { - "@commitlint/execute-rule": "^9.1.1", - "@commitlint/resolve-extends": "^9.1.1", - "@commitlint/types": "^9.1.1", + "@commitlint/execute-rule": "^9.1.2", + "@commitlint/resolve-extends": "^9.1.2", + "@commitlint/types": "^9.1.2", "chalk": "4.1.0", "cosmiconfig": "^6.0.0", "lodash": "^4.17.19", diff --git a/@commitlint/message/CHANGELOG.md b/@commitlint/message/CHANGELOG.md index 37c13cfeec..4aeeb8a9c3 100644 --- a/@commitlint/message/CHANGELOG.md +++ b/@commitlint/message/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/message + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/message diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index 4ba7e744f1..c89296f17f 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/message", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,8 +34,8 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.1.1", - "@commitlint/utils": "^9.1.1" + "@commitlint/test": "^9.1.2", + "@commitlint/utils": "^9.1.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/parse/CHANGELOG.md b/@commitlint/parse/CHANGELOG.md index 6d9bc92af1..a1ff391e58 100644 --- a/@commitlint/parse/CHANGELOG.md +++ b/@commitlint/parse/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/parse + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/parse diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 588a98ad0c..6515448196 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/parse", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,8 +34,8 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.1.1", - "@commitlint/utils": "^9.1.1" + "@commitlint/test": "^9.1.2", + "@commitlint/utils": "^9.1.2" }, "dependencies": { "conventional-changelog-angular": "^5.0.0", diff --git a/@commitlint/prompt-cli/CHANGELOG.md b/@commitlint/prompt-cli/CHANGELOG.md index 5365d42538..eb0666d984 100644 --- a/@commitlint/prompt-cli/CHANGELOG.md +++ b/@commitlint/prompt-cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/prompt-cli + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/prompt-cli diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 33ae10d5e3..507fe5abb0 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt-cli", - "version": "9.1.1", + "version": "9.1.2", "description": "commit prompt using commitlint.config.js", "files": [ "cli.js" @@ -31,11 +31,11 @@ "node": ">=v8.17.0" }, "devDependencies": { - "@commitlint/test": "^9.1.1", - "@commitlint/utils": "^9.1.1" + "@commitlint/test": "^9.1.2", + "@commitlint/utils": "^9.1.2" }, "dependencies": { - "@commitlint/prompt": "^9.1.1", + "@commitlint/prompt": "^9.1.2", "execa": "^3.4.0" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" diff --git a/@commitlint/prompt/CHANGELOG.md b/@commitlint/prompt/CHANGELOG.md index 970901bc98..16dc3082bb 100644 --- a/@commitlint/prompt/CHANGELOG.md +++ b/@commitlint/prompt/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/prompt + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/prompt diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 25f20fc708..dd9068a1d0 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt", - "version": "9.1.1", + "version": "9.1.2", "description": "commitizen prompt using commitlint.config.js", "main": "./lib/index.js", "files": [ @@ -50,14 +50,14 @@ "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", - "@commitlint/utils": "^9.1.1", - "babel-preset-commitlint": "^9.1.1", + "@commitlint/utils": "^9.1.2", + "babel-preset-commitlint": "^9.1.2", "commitizen": "4.1.2", "cross-env": "7.0.2" }, "dependencies": { "@babel/runtime": "^7.9.6", - "@commitlint/load": "^9.1.1", + "@commitlint/load": "^9.1.2", "chalk": "^4.0.0", "lodash": "^4.17.19", "throat": "^5.0.0", diff --git a/@commitlint/read/CHANGELOG.md b/@commitlint/read/CHANGELOG.md index 053f814030..2de9f04c13 100644 --- a/@commitlint/read/CHANGELOG.md +++ b/@commitlint/read/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/read + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/read diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 344df4c886..d0a8ff065a 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/read", - "version": "9.1.1", + "version": "9.1.2", "description": "Read commit messages from a specified range or last edit", "main": "lib/read.js", "types": "lib/read.d.ts", @@ -34,13 +34,13 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/test": "^9.1.1", - "@commitlint/utils": "^9.1.1", + "@commitlint/test": "^9.1.2", + "@commitlint/utils": "^9.1.2", "@types/fs-extra": "^8.0.1", "@types/git-raw-commits": "^2.0.0" }, "dependencies": { - "@commitlint/top-level": "^9.1.1", + "@commitlint/top-level": "^9.1.2", "fs-extra": "^8.1.0", "git-raw-commits": "^2.0.0" }, diff --git a/@commitlint/resolve-extends/CHANGELOG.md b/@commitlint/resolve-extends/CHANGELOG.md index 8cfc62a3f5..65f97a3623 100644 --- a/@commitlint/resolve-extends/CHANGELOG.md +++ b/@commitlint/resolve-extends/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/resolve-extends + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/resolve-extends diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index 5a6acf63ce..d3cf7adafc 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/resolve-extends", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.1.1", + "@commitlint/utils": "^9.1.2", "@types/lodash": "4.14.157" }, "dependencies": { diff --git a/@commitlint/rules/CHANGELOG.md b/@commitlint/rules/CHANGELOG.md index 093be26198..ffc2332019 100644 --- a/@commitlint/rules/CHANGELOG.md +++ b/@commitlint/rules/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/rules + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/rules diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index 163288abc3..b6c160682d 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/rules", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,17 +34,17 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/parse": "^9.1.1", - "@commitlint/test": "^9.1.1", - "@commitlint/utils": "^9.1.1", + "@commitlint/parse": "^9.1.2", + "@commitlint/test": "^9.1.2", + "@commitlint/utils": "^9.1.2", "conventional-changelog-angular": "5.0.10", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/ensure": "^9.1.1", - "@commitlint/message": "^9.1.1", - "@commitlint/to-lines": "^9.1.1", - "@commitlint/types": "^9.1.1" + "@commitlint/ensure": "^9.1.2", + "@commitlint/message": "^9.1.2", + "@commitlint/to-lines": "^9.1.2", + "@commitlint/types": "^9.1.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/to-lines/CHANGELOG.md b/@commitlint/to-lines/CHANGELOG.md index 8edd72b5b5..2b80b2e2fc 100644 --- a/@commitlint/to-lines/CHANGELOG.md +++ b/@commitlint/to-lines/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/to-lines + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/to-lines diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index 70c5085d92..7c183d76fe 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/to-lines", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.1.1" + "@commitlint/utils": "^9.1.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/top-level/CHANGELOG.md b/@commitlint/top-level/CHANGELOG.md index fad0097e4c..4e0a446159 100644 --- a/@commitlint/top-level/CHANGELOG.md +++ b/@commitlint/top-level/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/top-level + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/top-level diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index b8f62b0bcb..1553b240ec 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/top-level", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,7 +34,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.1.1" + "@commitlint/utils": "^9.1.2" }, "dependencies": { "find-up": "^4.0.0" diff --git a/@commitlint/travis-cli/CHANGELOG.md b/@commitlint/travis-cli/CHANGELOG.md index 5ae55ec5de..c21d855344 100644 --- a/@commitlint/travis-cli/CHANGELOG.md +++ b/@commitlint/travis-cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/travis-cli + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/travis-cli diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 1f966d2237..329c4271d2 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/travis-cli", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint all relevant commits for a change or PR on Travis CI", "files": [ "lib/" @@ -47,14 +47,14 @@ "devDependencies": { "@babel/cli": "7.10.3", "@babel/core": "7.10.3", - "@commitlint/test": "^9.1.1", - "@commitlint/utils": "^9.1.1", - "babel-preset-commitlint": "^9.1.1", + "@commitlint/test": "^9.1.2", + "@commitlint/utils": "^9.1.2", + "babel-preset-commitlint": "^9.1.2", "cross-env": "7.0.2" }, "dependencies": { "@babel/runtime": "^7.9.6", - "@commitlint/cli": "^9.1.1", + "@commitlint/cli": "^9.1.2", "execa": "^3.4.0" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" diff --git a/@commitlint/types/CHANGELOG.md b/@commitlint/types/CHANGELOG.md index af0356f82d..0c63f88ef3 100644 --- a/@commitlint/types/CHANGELOG.md +++ b/@commitlint/types/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/types + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) **Note:** Version bump only for package @commitlint/types diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index 39b64cd32a..b163f5edea 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/types", - "version": "9.1.1", + "version": "9.1.2", "description": "Shared types for commitlint packages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -27,7 +27,7 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^9.1.1" + "@commitlint/utils": "^9.1.2" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@packages/babel-preset-commitlint/CHANGELOG.md b/@packages/babel-preset-commitlint/CHANGELOG.md index 435990adcb..40540a6200 100644 --- a/@packages/babel-preset-commitlint/CHANGELOG.md +++ b/@packages/babel-preset-commitlint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package babel-preset-commitlint + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index 4ca93fa994..c83d9b3e3a 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -1,6 +1,6 @@ { "name": "babel-preset-commitlint", - "version": "9.1.1", + "version": "9.1.2", "description": "Lint your commit messages", "private": true, "main": "index.js", diff --git a/@packages/test-environment/CHANGELOG.md b/@packages/test-environment/CHANGELOG.md index c218ee316b..52e594cb28 100644 --- a/@packages/test-environment/CHANGELOG.md +++ b/@packages/test-environment/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/test-environment + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index c85b0670a9..877d6bd299 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/test-environment", - "version": "9.1.1", + "version": "9.1.2", "description": "test environment for @commitlint", "private": true, "main": "lib/test-environment.js", diff --git a/@packages/test/CHANGELOG.md b/@packages/test/CHANGELOG.md index 338565c5a8..26ceadf8e4 100644 --- a/@packages/test/CHANGELOG.md +++ b/@packages/test/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/test + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) diff --git a/@packages/test/package.json b/@packages/test/package.json index 87f152f919..f3a010ab1a 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/test", - "version": "9.1.1", + "version": "9.1.2", "description": "test utilities for @commitlint", "private": true, "main": "lib/index.js", diff --git a/@packages/utils/CHANGELOG.md b/@packages/utils/CHANGELOG.md index fe7d5df04d..bd0bd077b4 100644 --- a/@packages/utils/CHANGELOG.md +++ b/@packages/utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/utils + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 4b747c7102..6306889524 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/utils", - "version": "9.1.1", + "version": "9.1.2", "description": "Development utilities for @commitlint", "private": true, "files": [ @@ -37,7 +37,7 @@ }, "license": "MIT", "dependencies": { - "@commitlint/test": "^9.1.1", + "@commitlint/test": "^9.1.2", "execa": "^3.4.0", "is-builtin-module": "3.0.0", "meow": "4.0.1", diff --git a/CHANGELOG.md b/CHANGELOG.md index aef1ade78f..fa3cc4a32b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) + +**Note:** Version bump only for package @commitlint/root + + + + + ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) diff --git a/lerna.json b/lerna.json index 09c9528cc2..3ff8e9104f 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "lerna": "2", "npmClient": "yarn", "useWorkspaces": true, - "version": "9.1.1" + "version": "9.1.2" } From 29c814a5ae2467e06db7d8b1775f5a8b8e648b17 Mon Sep 17 00:00:00 2001 From: escapedcat Date: Mon, 13 Jul 2020 12:03:27 +0800 Subject: [PATCH 0178/2192] test(cli): update help output to 9.1.2 --- @commitlint/cli/src/cli.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@commitlint/cli/src/cli.test.ts b/@commitlint/cli/src/cli.test.ts index b19177c6e8..10f397cf4f 100644 --- a/@commitlint/cli/src/cli.test.ts +++ b/@commitlint/cli/src/cli.test.ts @@ -432,7 +432,7 @@ test('should print help', async () => { const cwd = await gitBootstrap('fixtures/default'); const actual = await cli(['--help'], {cwd})(); expect(actual.stdout).toMatchInlineSnapshot(` - "@commitlint/cli@9.1.1 - Lint your commit messages + "@commitlint/cli@9.1.2 - Lint your commit messages [input] reads from stdin if --edit, --env, --from and --to are omitted From 751f39f284ef232574a176c3c11b1982ee544166 Mon Sep 17 00:00:00 2001 From: hannes Date: Tue, 14 Jul 2020 11:00:25 +0800 Subject: [PATCH 0179/2192] refactor!: drop support for node 8 (#1999) * refactor!: drop support for node 8 BREAKING CHANGE: remove node 8 from circle-ci checks also remove node 13 because we do not support experimental versions * docs: update node v10 to latest LTS 10 version Co-authored-by: Cedric van Putten Co-authored-by: Cedric van Putten --- .circleci/config.yml | 12 ------------ @alias/commitlint-config-angular/package.json | 2 +- @alias/commitlint-config-lerna-scopes/package.json | 2 +- @alias/commitlint-config-patternplate/package.json | 2 +- @alias/commitlint/package.json | 2 +- @commitlint/cli/package.json | 2 +- @commitlint/config-angular-type-enum/package.json | 2 +- @commitlint/config-angular/package.json | 2 +- @commitlint/config-conventional/package.json | 2 +- @commitlint/config-lerna-scopes/package.json | 2 +- @commitlint/config-patternplate/package.json | 2 +- @commitlint/core/package.json | 2 +- @commitlint/ensure/package.json | 2 +- @commitlint/execute-rule/package.json | 2 +- @commitlint/format/package.json | 2 +- @commitlint/is-ignored/package.json | 2 +- @commitlint/lint/package.json | 2 +- @commitlint/load/package.json | 2 +- @commitlint/message/package.json | 2 +- @commitlint/parse/package.json | 2 +- @commitlint/prompt-cli/package.json | 2 +- @commitlint/prompt/package.json | 2 +- @commitlint/read/package.json | 2 +- @commitlint/resolve-extends/package.json | 2 +- @commitlint/rules/package.json | 2 +- @commitlint/to-lines/package.json | 2 +- @commitlint/top-level/package.json | 2 +- @commitlint/travis-cli/package.json | 2 +- @commitlint/types/package.json | 2 +- @packages/babel-preset-commitlint/package.json | 2 +- @packages/test-environment/package.json | 2 +- @packages/test/package.json | 2 +- @packages/utils/package.json | 2 +- README.md | 2 +- package.json | 2 +- 35 files changed, 34 insertions(+), 46 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index efaff23490..85b48d6452 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -76,11 +76,6 @@ commands: - build - test jobs: - v8: - docker: - - image: node:8 - steps: - - run-tests v10: docker: - image: node:10 @@ -91,11 +86,6 @@ jobs: - image: node:12 steps: - run-all - v13: - docker: - - image: node:13 - steps: - - run-all v14: docker: - image: node:14 @@ -109,9 +99,7 @@ jobs: workflows: node: jobs: - - v8 - v10 - v12 - - v13 - v14 - windows-v12 diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index 8fdcc09747..35361d386c 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "dependencies": { "@commitlint/config-angular": "^9.1.2" diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index 3c0dfca1bb..50fd8bbece 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "dependencies": { "@commitlint/config-lerna-scopes": "^9.1.2" diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index d0939cf123..459748b021 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "dependencies": { "@commitlint/config-patternplate": "^9.1.2" diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 4d9f2eaa03..e4009cd9c7 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -13,7 +13,7 @@ "pkg": "pkg-check --skip-main" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 94b16920c6..ed97530910 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -15,7 +15,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index cc89a9ad12..9b1b9de520 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "devDependencies": { "@commitlint/utils": "^9.1.2" diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index 90ffca5c5f..e429c81cca 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "devDependencies": { "@commitlint/utils": "^9.1.2" diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index cacb17a39f..5828af71e3 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "devDependencies": { "@commitlint/lint": "^9.1.2", diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index 0bdeba04e5..7dfe3d034d 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -29,7 +29,7 @@ "lerna": "^2.0.0 || ^3.0.0" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "dependencies": { "import-from": "3.0.0", diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 3630dcd285..e2adc98a27 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "dependencies": { "@commitlint/config-angular": "^9.1.2", diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index 72319906de..9358af4476 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index e9ee24f0ee..393f99da1c 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index b1fcdd2ba7..25396cb8b5 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index 28caf017e8..e354d97c02 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index 5c1e7a2bfa..e8077bb3b2 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 340e268012..fdb2559fc8 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 36f4f3c81e..da3aaf051c 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index c89296f17f..cf316699eb 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 6515448196..f603c2a427 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 507fe5abb0..e09ca5c7ef 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "devDependencies": { "@commitlint/test": "^9.1.2", diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index dd9068a1d0..79dee75476 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -45,7 +45,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "devDependencies": { "@babel/cli": "^7.7.7", diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index d0a8ff065a..0dc0416d39 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index d3cf7adafc..c20bea7cbd 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index b6c160682d..f3fe46eb12 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index 7c183d76fe..68fe101ab4 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index 1553b240ec..91917e77fb 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 329c4271d2..7b7ff62c92 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -24,7 +24,7 @@ ] }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index b163f5edea..c2bdeaa187 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -11,7 +11,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index c83d9b3e3a..af920d6ba9 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -8,7 +8,7 @@ "index.js" ], "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index 877d6bd299..3975755455 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -9,7 +9,7 @@ "lib/" ], "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@packages/test/package.json b/@packages/test/package.json index f3a010ab1a..91389f7820 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -9,7 +9,7 @@ "lib/" ], "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 6306889524..878ee8a09f 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -16,7 +16,7 @@ "pkg": "node pkg-check.js --skip-main" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/README.md b/README.md index fd0d9e541d..a3821c56a5 100644 --- a/README.md +++ b/README.md @@ -175,7 +175,7 @@ is room and need for improvement. The items on the roadmap should enhance `commi ## Version Support -- Node.js [LTS](https://github.com/nodejs/LTS#lts-schedule) `>= 8` +- Node.js [LTS](https://github.com/nodejs/LTS#lts-schedule) `>= 10.21.0` - git `>= 2.13.2` ## Related projects diff --git a/package.json b/package.json index 85d3f0f5d3..4530b6a6d5 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "@packages/*" ], "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", From 4c5994fbc1457b68a932446d7d0d86cce8652931 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2020 11:10:39 +0800 Subject: [PATCH 0180/2192] chore: update dependency ts-jest to v26.1.2 (#2000) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 49 +++++++++++++++++++++++++++++++++++-------------- 2 files changed, 36 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 4530b6a6d5..3b2bb18fe2 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "lerna-v3": "npm:lerna@3", "lint-staged": "10.2.11", "prettier": "1.17.1", - "ts-jest": "26.1.1", + "ts-jest": "26.1.2", "typescript": "3.8.2" }, "husky": { diff --git a/yarn.lock b/yarn.lock index e04d44c23d..e5981ad8a2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1338,6 +1338,16 @@ "@types/yargs" "^15.0.0" chalk "^3.0.0" +"@jest/types@^26.1.0": + version "26.1.0" + resolved "https://registry.npmjs.org/@jest/types/-/types-26.1.0.tgz#f8afaaaeeb23b5cad49dd1f7779689941dcb6057" + integrity sha512-GXigDDsp6ZlNMhXQDeuy/iYCDsRIHJabWtDzvnn36+aqFfG14JmFV0e/iXxY4SP9vbXSiPNOWdehU5MeqrYHBQ== + dependencies: + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^1.1.1" + "@types/yargs" "^15.0.0" + chalk "^4.0.0" + "@lerna/add@3.20.0": version "3.20.0" resolved "https://registry.npmjs.org/@lerna/add/-/add-3.20.0.tgz#bea7edf36fc93fb72ec34cb9ba854c48d4abf309" @@ -5818,7 +5828,7 @@ got@^9.6.0: to-readable-stream "^1.0.0" url-parse-lax "^3.0.0" -graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0: +graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4: version "4.2.4" resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb" integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw== @@ -6966,6 +6976,17 @@ jest-snapshot@^25.1.0: pretty-format "^25.1.0" semver "^7.1.1" +jest-util@26.x: + version "26.1.0" + resolved "https://registry.npmjs.org/jest-util/-/jest-util-26.1.0.tgz#80e85d4ba820decacf41a691c2042d5276e5d8d8" + integrity sha512-rNMOwFQevljfNGvbzNQAxdmXQ+NawW/J72dmddsK0E8vgxXCMtwQ/EH0BiWEIxh0hhMcTsxwAxINt7Lh46Uzbg== + dependencies: + "@jest/types" "^26.1.0" + chalk "^4.0.0" + graceful-fs "^4.2.4" + is-ci "^2.0.0" + micromatch "^4.0.2" + jest-util@^25.1.0: version "25.1.0" resolved "https://registry.npmjs.org/jest-util/-/jest-util-25.1.0.tgz#7bc56f7b2abd534910e9fa252692f50624c897d9" @@ -7739,14 +7760,6 @@ merge@^1.2.1: resolved "https://registry.npmjs.org/merge/-/merge-1.2.1.tgz#38bebf80c3220a8a487b6fcfb3941bb11720c145" integrity sha512-VjFo4P5Whtj4vsLzsYBu5ayHhoHJ0UqNm7ibvShmbmoz7tGi0vXaoJbGdB+GmDMLUdg8DpQXEIeVDAe8MaABvQ== -micromatch@4.x, micromatch@^4.0.2: - version "4.0.2" - resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259" - integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q== - dependencies: - braces "^3.0.1" - picomatch "^2.0.5" - micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4: version "3.1.10" resolved "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" @@ -7766,6 +7779,14 @@ micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4: snapdragon "^0.8.1" to-regex "^3.0.2" +micromatch@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259" + integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q== + dependencies: + braces "^3.0.1" + picomatch "^2.0.5" + mime-db@1.42.0: version "1.42.0" resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.42.0.tgz#3e252907b4c7adb906597b4b65636272cf9e7bac" @@ -10535,18 +10556,18 @@ trim-off-newlines@^1.0.0: resolved "https://registry.npmjs.org/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3" integrity sha1-n5up2e+odkw4dpi8v+sshI8RrbM= -ts-jest@26.1.1: - version "26.1.1" - resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-26.1.1.tgz#b98569b8a4d4025d966b3d40c81986dd1c510f8d" - integrity sha512-Lk/357quLg5jJFyBQLnSbhycnB3FPe+e9i7ahxokyXxAYoB0q1pPmqxxRPYr4smJic1Rjcf7MXDBhZWgxlli0A== +ts-jest@26.1.2: + version "26.1.2" + resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-26.1.2.tgz#dd2e832ffae9cb803361483b6a3010a6413dc475" + integrity sha512-V4SyBDO9gOdEh+AF4KtXJeP+EeI4PkOrxcA8ptl4o8nCXUVM5Gg/8ngGKneS5BsZaR9DXVQNqj9k+iqGAnpGow== dependencies: bs-logger "0.x" buffer-from "1.x" fast-json-stable-stringify "2.x" + jest-util "26.x" json5 "2.x" lodash.memoize "4.x" make-error "1.x" - micromatch "4.x" mkdirp "1.x" semver "7.x" yargs-parser "18.x" From f94a5c82861523aa1cf407ffe062f99ecbbfb4e4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2020 13:13:53 +0800 Subject: [PATCH 0181/2192] fix: update dependency get-stdin to v8 (#1938) Co-authored-by: Renovate Bot --- @commitlint/cli/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index ed97530910..8cb92a5cde 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -54,7 +54,7 @@ "@commitlint/read": "^9.1.2", "chalk": "4.1.0", "core-js": "^3.6.1", - "get-stdin": "7.0.0", + "get-stdin": "8.0.0", "lodash": "^4.17.19", "resolve-from": "5.0.0", "resolve-global": "1.0.0", diff --git a/yarn.lock b/yarn.lock index e5981ad8a2..e3855942a3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5535,10 +5535,10 @@ get-port@^5.0.0: resolved "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz#0469ed07563479de6efb986baf053dcd7d4e3193" integrity sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ== -get-stdin@7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz#8d5de98f15171a125c5e516643c7a6d0ea8a96f6" - integrity sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ== +get-stdin@8.0.0: + version "8.0.0" + resolved "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53" + integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg== get-stdin@^4.0.1: version "4.0.1" From 2df49fac907993ae78199a1012e918b0e2ff5621 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2020 13:14:11 +0800 Subject: [PATCH 0182/2192] fix: update dependency fs-extra to v9 (#1018) Co-authored-by: Renovate Bot --- @commitlint/cli/package.json | 2 +- @commitlint/read/package.json | 4 ++-- @packages/test/package.json | 4 ++-- yarn.lock | 37 +++++++++++++++++++++++++++++++---- 4 files changed, 38 insertions(+), 9 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 8cb92a5cde..186546a012 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -44,7 +44,7 @@ "babel-preset-commitlint": "^9.1.2", "cross-env": "7.0.2", "execa": "^3.4.0", - "fs-extra": "^8.1.0" + "fs-extra": "^9.0.0" }, "dependencies": { "@babel/runtime": "^7.9.6", diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 0dc0416d39..5250ebb0d9 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -36,12 +36,12 @@ "devDependencies": { "@commitlint/test": "^9.1.2", "@commitlint/utils": "^9.1.2", - "@types/fs-extra": "^8.0.1", + "@types/fs-extra": "^9.0.0", "@types/git-raw-commits": "^2.0.0" }, "dependencies": { "@commitlint/top-level": "^9.1.2", - "fs-extra": "^8.1.0", + "fs-extra": "^9.0.0", "git-raw-commits": "^2.0.0" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" diff --git a/@packages/test/package.json b/@packages/test/package.json index 91389f7820..da5bba4a92 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -30,10 +30,10 @@ }, "license": "MIT", "dependencies": { - "@types/fs-extra": "^8.0.1", + "@types/fs-extra": "^9.0.0", "@types/tmp": "^0.2.0", "execa": "^3.4.0", - "fs-extra": "^8.1.0", + "fs-extra": "^9.0.0", "pkg-dir": "4.2.0", "resolve-pkg": "2.0.0", "tmp": "0.2.1" diff --git a/yarn.lock b/yarn.lock index e3855942a3..1621ef491a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2517,10 +2517,10 @@ resolved "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" integrity sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g== -"@types/fs-extra@^8.0.1": - version "8.0.1" - resolved "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.0.1.tgz#a2378d6e7e8afea1564e44aafa2e207dadf77686" - integrity sha512-J00cVDALmi/hJOYsunyT52Hva5TnJeKP5yd1r+mH/ZU0mbYZflR0Z5kw5kITtKTRYMhm1JMClOFYdHnQszEvqw== +"@types/fs-extra@^9.0.0": + version "9.0.1" + resolved "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.1.tgz#91c8fc4c51f6d5dbe44c2ca9ab09310bd00c7918" + integrity sha512-B42Sxuaz09MhC3DDeW5kubRcQ5by4iuVQ0cRRWM2lggLzAa/KVom0Aft/208NgMvNQQZ86s5rVcqDdn/SH0/mg== dependencies: "@types/node" "*" @@ -3075,6 +3075,11 @@ asynckit@^0.4.0: resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= +at-least-node@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" + integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== + atob-lite@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/atob-lite/-/atob-lite-2.0.0.tgz#0fef5ad46f1bd7a8502c65727f0367d5ee43d696" @@ -5415,6 +5420,16 @@ fs-extra@^4.0.1: jsonfile "^4.0.0" universalify "^0.1.0" +fs-extra@^9.0.0: + version "9.0.1" + resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-9.0.1.tgz#910da0062437ba4c39fedd863f1675ccfefcb9fc" + integrity sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ== + dependencies: + at-least-node "^1.0.0" + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^1.0.0" + fs-minipass@^1.2.5: version "1.2.7" resolved "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" @@ -7156,6 +7171,15 @@ jsonfile@^4.0.0: optionalDependencies: graceful-fs "^4.1.6" +jsonfile@^6.0.1: + version "6.0.1" + resolved "https://registry.npmjs.org/jsonfile/-/jsonfile-6.0.1.tgz#98966cba214378c8c84b82e085907b40bf614179" + integrity sha512-jR2b5v7d2vIOust+w3wtFKZIfpC2pnRmFAhAC/BuweZFQR8qZzxH1OyrQ10HmdVYiXWkYUqPVsz91cG7EL2FBg== + dependencies: + universalify "^1.0.0" + optionalDependencies: + graceful-fs "^4.1.6" + jsonparse@^1.2.0: version "1.3.1" resolved "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" @@ -10751,6 +10775,11 @@ universalify@^0.1.0: resolved "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== +universalify@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz#b61a1da173e8435b2fe3c67d29b9adf8594bd16d" + integrity sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug== + unpipe@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" From be9a349ca80b64fc950eb899bb195330c5554d1d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2020 13:14:26 +0800 Subject: [PATCH 0183/2192] chore: update typescript-eslint monorepo to v3.6.1 (#2002) Co-authored-by: Renovate Bot --- yarn.lock | 60 +++++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/yarn.lock b/yarn.lock index 1621ef491a..f4baf55390 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2638,25 +2638,25 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^3.0.0": - version "3.6.0" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.6.0.tgz#ba2b6cae478b8fca3f2e58ff1313e4198eea2d8a" - integrity sha512-ubHlHVt1lsPQB/CZdEov9XuOFhNG9YRC//kuiS1cMQI6Bs1SsqKrEmZnpgRwthGR09/kEDtr9MywlqXyyYd8GA== + version "3.6.1" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.6.1.tgz#5ced8fd2087fbb83a76973dea4a0d39d9cb4a642" + integrity sha512-06lfjo76naNeOMDl+mWG9Fh/a0UHKLGhin+mGaIw72FUMbMGBkdi/FEJmgEDzh4eE73KIYzHWvOCYJ0ak7nrJQ== dependencies: - "@typescript-eslint/experimental-utils" "3.6.0" + "@typescript-eslint/experimental-utils" "3.6.1" debug "^4.1.1" functional-red-black-tree "^1.0.1" regexpp "^3.0.0" semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@3.6.0": - version "3.6.0" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.6.0.tgz#0138152d66e3e53a6340f606793fb257bf2d76a1" - integrity sha512-4Vdf2hvYMUnTdkCNZu+yYlFtL2v+N2R7JOynIOkFbPjf9o9wQvRwRkzUdWlFd2YiiUwJLbuuLnl5civNg5ykOQ== +"@typescript-eslint/experimental-utils@3.6.1": + version "3.6.1" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.6.1.tgz#b5a2738ebbceb3fa90c5b07d50bb1225403c4a54" + integrity sha512-oS+hihzQE5M84ewXrTlVx7eTgc52eu+sVmG7ayLfOhyZmJ8Unvf3osyFQNADHP26yoThFfbxcibbO0d2FjnYhg== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/types" "3.6.0" - "@typescript-eslint/typescript-estree" "3.6.0" + "@typescript-eslint/types" "3.6.1" + "@typescript-eslint/typescript-estree" "3.6.1" eslint-scope "^5.0.0" eslint-utils "^2.0.0" @@ -2671,20 +2671,20 @@ eslint-utils "^2.0.0" "@typescript-eslint/parser@^3.0.0": - version "3.6.0" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.6.0.tgz#79b5232e1a2d06f1fc745942b690cd87aca7b60e" - integrity sha512-taghDxuLhbDAD1U5Fk8vF+MnR0yiFE9Z3v2/bYScFb0N1I9SK8eKHkdJl1DAD48OGFDMFTeOTX0z7g0W6SYUXw== + version "3.6.1" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.6.1.tgz#216e8adf4ee9c629f77c985476a2ea07fb80e1dc" + integrity sha512-SLihQU8RMe77YJ/jGTqOt0lMq7k3hlPVfp7v/cxMnXA9T0bQYoMDfTsNgHXpwSJM1Iq2aAJ8WqekxUwGv5F67Q== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "3.6.0" - "@typescript-eslint/types" "3.6.0" - "@typescript-eslint/typescript-estree" "3.6.0" + "@typescript-eslint/experimental-utils" "3.6.1" + "@typescript-eslint/types" "3.6.1" + "@typescript-eslint/typescript-estree" "3.6.1" eslint-visitor-keys "^1.1.0" -"@typescript-eslint/types@3.6.0": - version "3.6.0" - resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-3.6.0.tgz#4bd6eee55d2f9d35a4b36c4804be1880bf68f7bc" - integrity sha512-JwVj74ohUSt0ZPG+LZ7hb95fW8DFOqBuR6gE7qzq55KDI3BepqsCtHfBIoa0+Xi1AI7fq5nCu2VQL8z4eYftqg== +"@typescript-eslint/types@3.6.1": + version "3.6.1" + resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-3.6.1.tgz#87600fe79a1874235d3cc1cf5c7e1a12eea69eee" + integrity sha512-NPxd5yXG63gx57WDTW1rp0cF3XlNuuFFB5G+Kc48zZ+51ZnQn9yjDEsjTPQ+aWM+V+Z0I4kuTFKjKvgcT1F7xQ== "@typescript-eslint/typescript-estree@2.34.0": version "2.34.0" @@ -2699,13 +2699,13 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/typescript-estree@3.6.0": - version "3.6.0" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.6.0.tgz#9b4cab43f1192b64ff51530815b8919f166ce177" - integrity sha512-G57NDSABHjvob7zVV09ehWyD1K6/YUKjz5+AufObFyjNO4DVmKejj47MHjVHHlZZKgmpJD2yyH9lfCXHrPITFg== +"@typescript-eslint/typescript-estree@3.6.1": + version "3.6.1" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.6.1.tgz#a5c91fcc5497cce7922ff86bc37d5e5891dcdefa" + integrity sha512-G4XRe/ZbCZkL1fy09DPN3U0mR6SayIv1zSeBNquRFRk7CnVLgkC2ZPj8llEMJg5Y8dJ3T76SvTGtceytniaztQ== dependencies: - "@typescript-eslint/types" "3.6.0" - "@typescript-eslint/visitor-keys" "3.6.0" + "@typescript-eslint/types" "3.6.1" + "@typescript-eslint/visitor-keys" "3.6.1" debug "^4.1.1" glob "^7.1.6" is-glob "^4.0.1" @@ -2713,10 +2713,10 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/visitor-keys@3.6.0": - version "3.6.0" - resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-3.6.0.tgz#44185eb0cc47651034faa95c5e2e8b314ecebb26" - integrity sha512-p1izllL2Ubwunite0ITjubuMQRBGgjdVYwyG7lXPX8GbrA6qF0uwSRz9MnXZaHMxID4948gX0Ez8v9tUDi/KfQ== +"@typescript-eslint/visitor-keys@3.6.1": + version "3.6.1" + resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-3.6.1.tgz#5c57a7772f4dd623cfeacc219303e7d46f963b37" + integrity sha512-qC8Olwz5ZyMTZrh4Wl3K4U6tfms0R/mzU4/5W3XeUZptVraGVmbptJbn6h2Ey6Rb3hOs3zWoAUebZk8t47KGiQ== dependencies: eslint-visitor-keys "^1.1.0" From 8efb44193058d286f7325327a6d33936b273ec91 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2020 14:22:13 +0800 Subject: [PATCH 0184/2192] fix: update dependency execa to v4 (#1936) Co-authored-by: Renovate Bot --- @commitlint/cli/package.json | 2 +- @commitlint/load/package.json | 2 +- @commitlint/prompt-cli/package.json | 2 +- @commitlint/travis-cli/package.json | 2 +- @packages/test/package.json | 2 +- @packages/utils/package.json | 2 +- yarn.lock | 17 ++++++++++++++++- 7 files changed, 22 insertions(+), 7 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 186546a012..256566d603 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -43,7 +43,7 @@ "@types/yargs": "^15.0.3", "babel-preset-commitlint": "^9.1.2", "cross-env": "7.0.2", - "execa": "^3.4.0", + "execa": "^4.0.0", "fs-extra": "^9.0.0" }, "dependencies": { diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index da3aaf051c..c24264d87d 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -37,7 +37,7 @@ "@commitlint/test": "^9.1.2", "@commitlint/utils": "^9.1.2", "@types/lodash": "4.14.157", - "execa": "^3.4.0" + "execa": "^4.0.0" }, "dependencies": { "@commitlint/execute-rule": "^9.1.2", diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index e09ca5c7ef..391318b89b 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -36,7 +36,7 @@ }, "dependencies": { "@commitlint/prompt": "^9.1.2", - "execa": "^3.4.0" + "execa": "^4.0.0" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 7b7ff62c92..5bc0036330 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -55,7 +55,7 @@ "dependencies": { "@babel/runtime": "^7.9.6", "@commitlint/cli": "^9.1.2", - "execa": "^3.4.0" + "execa": "^4.0.0" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@packages/test/package.json b/@packages/test/package.json index da5bba4a92..b009d02c42 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -32,7 +32,7 @@ "dependencies": { "@types/fs-extra": "^9.0.0", "@types/tmp": "^0.2.0", - "execa": "^3.4.0", + "execa": "^4.0.0", "fs-extra": "^9.0.0", "pkg-dir": "4.2.0", "resolve-pkg": "2.0.0", diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 878ee8a09f..10a112f76d 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -38,7 +38,7 @@ "license": "MIT", "dependencies": { "@commitlint/test": "^9.1.2", - "execa": "^3.4.0", + "execa": "^4.0.0", "is-builtin-module": "3.0.0", "meow": "4.0.1", "read-pkg": "5.2.0", diff --git a/yarn.lock b/yarn.lock index f4baf55390..5c2360184d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5004,7 +5004,7 @@ execa@^1.0.0: signal-exit "^3.0.0" strip-eof "^1.0.0" -execa@^3.2.0, execa@^3.4.0: +execa@^3.2.0: version "3.4.0" resolved "https://registry.npmjs.org/execa/-/execa-3.4.0.tgz#c08ed4550ef65d858fac269ffc8572446f37eb89" integrity sha512-r9vdGQk4bmCuK1yKQu1KTwcT2zwfWdbdaXfCtAh+5nU/4fSX+JAb7vZGvI5naJrQlvONrEB20jeruESI69530g== @@ -5020,6 +5020,21 @@ execa@^3.2.0, execa@^3.4.0: signal-exit "^3.0.2" strip-final-newline "^2.0.0" +execa@^4.0.0: + version "4.0.3" + resolved "https://registry.npmjs.org/execa/-/execa-4.0.3.tgz#0a34dabbad6d66100bd6f2c576c8669403f317f2" + integrity sha512-WFDXGHckXPWZX19t1kCsXzOpqX9LWYNqn4C+HqZlk/V0imTkzJZqf87ZBhvpHaftERYknpk0fjSylnXVlVgI0A== + dependencies: + cross-spawn "^7.0.0" + get-stream "^5.0.0" + human-signals "^1.1.1" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.0" + onetime "^5.1.0" + signal-exit "^3.0.2" + strip-final-newline "^2.0.0" + execa@^4.0.1: version "4.0.2" resolved "https://registry.npmjs.org/execa/-/execa-4.0.2.tgz#ad87fb7b2d9d564f70d2b62d511bee41d5cbb240" From 8ca84595eeeeabb11bc30c0bd4e3f9da184f239e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2020 15:22:05 +0800 Subject: [PATCH 0185/2192] chore: update dependency typescript to v3.9.6 (#1012) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3b2bb18fe2..2efb881c68 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "lint-staged": "10.2.11", "prettier": "1.17.1", "ts-jest": "26.1.2", - "typescript": "3.8.2" + "typescript": "3.9.6" }, "husky": { "hooks": { diff --git a/yarn.lock b/yarn.lock index 5c2360184d..e82536f9ea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10701,10 +10701,10 @@ typedarray@^0.0.6: resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@3.8.2: - version "3.8.2" - resolved "https://registry.npmjs.org/typescript/-/typescript-3.8.2.tgz#91d6868aaead7da74f493c553aeff76c0c0b1d5a" - integrity sha512-EgOVgL/4xfVrCMbhYKUQTdF37SQn4Iw73H5BgCrF1Abdun7Kwy/QZsE/ssAy0y4LxBbvua3PIbFsbRczWWnDdQ== +typescript@3.9.6: + version "3.9.6" + resolved "https://registry.npmjs.org/typescript/-/typescript-3.9.6.tgz#8f3e0198a34c3ae17091b35571d3afd31999365a" + integrity sha512-Pspx3oKAPJtjNwE92YS05HQoY7z2SFyOpHo9MqJor3BXAGNaPUs83CuVp9VISFkSjyRfiTpmKuAYGJB7S7hOxw== uglify-js@^3.1.4: version "3.7.3" From a370dd0c6b9dd113a1b024313a921e7c84013b3c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 15 Jul 2020 09:55:07 +0800 Subject: [PATCH 0186/2192] chore: update babel monorepo (#2010) Co-authored-by: Renovate Bot --- @commitlint/travis-cli/package.json | 4 +- yarn.lock | 331 ++++++++++------------------ 2 files changed, 121 insertions(+), 214 deletions(-) diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 5bc0036330..c8550c216e 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -45,8 +45,8 @@ }, "license": "MIT", "devDependencies": { - "@babel/cli": "7.10.3", - "@babel/core": "7.10.3", + "@babel/cli": "7.10.5", + "@babel/core": "7.10.5", "@commitlint/test": "^9.1.2", "@commitlint/utils": "^9.1.2", "babel-preset-commitlint": "^9.1.2", diff --git a/yarn.lock b/yarn.lock index e82536f9ea..431d6175f2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,16 +2,16 @@ # yarn lockfile v1 -"@babel/cli@7.10.3": - version "7.10.3" - resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.10.3.tgz#4ea83bd997d2a41c78d07263ada3ec466fb3764b" - integrity sha512-lWB3yH5/fWY8pi2Kj5/fA+17guJ9feSBw5DNjTju3/nRi9sXnl1JPh7aKQOSvdNbiDbkzzoGYtsr46M8dGmXDQ== +"@babel/cli@7.10.5": + version "7.10.5" + resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.10.5.tgz#57df2987c8cf89d0fc7d4b157ec59d7619f1b77a" + integrity sha512-j9H9qSf3kLdM0Ao3aGPbGZ73mEA9XazuupcS6cDGWuiyAcANoguhP0r2Lx32H5JGw4sSSoHG3x/mxVnHgvOoyA== dependencies: commander "^4.0.1" convert-source-map "^1.1.0" fs-readdir-recursive "^1.1.0" glob "^7.0.0" - lodash "^4.17.13" + lodash "^4.17.19" make-dir "^2.1.0" slash "^2.0.0" source-map "^0.5.0" @@ -34,27 +34,13 @@ optionalDependencies: chokidar "^2.1.8" -"@babel/code-frame@^7.0.0": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4": version "7.10.4" resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a" integrity sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg== dependencies: "@babel/highlight" "^7.10.4" -"@babel/code-frame@^7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.1.tgz#d5481c5095daa1c57e16e54c6f9198443afb49ff" - integrity sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw== - dependencies: - "@babel/highlight" "^7.10.1" - -"@babel/code-frame@^7.10.3": - version "7.10.3" - resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.3.tgz#324bcfd8d35cd3d47dae18cde63d752086435e9a" - integrity sha512-fDx9eNW0qz0WkUeqL6tXEXzVlPh6Y5aCDEZesl0xBGA8ndRukX91Uk44ZqnkECp01NAZUdCAl+aiQNGi0k88Eg== - dependencies: - "@babel/highlight" "^7.10.3" - "@babel/code-frame@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" @@ -71,24 +57,24 @@ invariant "^2.2.4" semver "^5.5.0" -"@babel/core@7.10.3": - version "7.10.3" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.10.3.tgz#73b0e8ddeec1e3fdd7a2de587a60e17c440ec77e" - integrity sha512-5YqWxYE3pyhIi84L84YcwjeEgS+fa7ZjK6IBVGTjDVfm64njkR2lfDhVR5OudLk8x2GK59YoSyVv+L/03k1q9w== - dependencies: - "@babel/code-frame" "^7.10.3" - "@babel/generator" "^7.10.3" - "@babel/helper-module-transforms" "^7.10.1" - "@babel/helpers" "^7.10.1" - "@babel/parser" "^7.10.3" - "@babel/template" "^7.10.3" - "@babel/traverse" "^7.10.3" - "@babel/types" "^7.10.3" +"@babel/core@7.10.5": + version "7.10.5" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.10.5.tgz#1f15e2cca8ad9a1d78a38ddba612f5e7cdbbd330" + integrity sha512-O34LQooYVDXPl7QWCdW9p4NR+QlzOr7xShPPJz8GsuCU3/8ua/wqTr7gmnxXv+WBESiGU/G5s16i6tUvHkNb+w== + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/generator" "^7.10.5" + "@babel/helper-module-transforms" "^7.10.5" + "@babel/helpers" "^7.10.4" + "@babel/parser" "^7.10.5" + "@babel/template" "^7.10.4" + "@babel/traverse" "^7.10.5" + "@babel/types" "^7.10.5" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.1" json5 "^2.1.2" - lodash "^4.17.13" + lodash "^4.17.19" resolve "^1.3.2" semver "^5.4.1" source-map "^0.5.0" @@ -124,24 +110,13 @@ lodash "^4.17.13" source-map "^0.5.0" -"@babel/generator@^7.10.1": - version "7.10.2" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.10.2.tgz#0fa5b5b2389db8bfdfcc3492b551ee20f5dd69a9" - integrity sha512-AxfBNHNu99DTMvlUPlt1h2+Hn7knPpH5ayJ8OqDWSeLld+Fi2AYBTC/IejWDM9Edcii4UzZRCsbUt0WlSDsDsA== - dependencies: - "@babel/types" "^7.10.2" - jsesc "^2.5.1" - lodash "^4.17.13" - source-map "^0.5.0" - -"@babel/generator@^7.10.3": - version "7.10.3" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.10.3.tgz#32b9a0d963a71d7a54f5f6c15659c3dbc2a523a5" - integrity sha512-drt8MUHbEqRzNR0xnF8nMehbY11b1SDkRw03PSNH/3Rb2Z35oxkddVSi3rcaak0YJQ86PCuE7Qx1jSFhbLNBMA== +"@babel/generator@^7.10.5": + version "7.10.5" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.10.5.tgz#1b903554bc8c583ee8d25f1e8969732e6b829a69" + integrity sha512-3vXxr3FEW7E7lJZiWQ3bM4+v/Vyr9C+hpolQ8BGFr9Y8Ri2tFLWTixmwKBafDujO1WVah4fhZBeU1bieKdghig== dependencies: - "@babel/types" "^7.10.3" + "@babel/types" "^7.10.5" jsesc "^2.5.1" - lodash "^4.17.13" source-map "^0.5.0" "@babel/helper-annotate-as-pure@^7.8.3": @@ -212,23 +187,14 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/helper-function-name@^7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.1.tgz#92bd63829bfc9215aca9d9defa85f56b539454f4" - integrity sha512-fcpumwhs3YyZ/ttd5Rz0xn0TpIwVkN7X0V38B9TWNfVF42KEkhkAAuPCQ3oXmtTRtiPJrmZ0TrfS0GKF0eMaRQ== - dependencies: - "@babel/helper-get-function-arity" "^7.10.1" - "@babel/template" "^7.10.1" - "@babel/types" "^7.10.1" - -"@babel/helper-function-name@^7.10.3": - version "7.10.3" - resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.3.tgz#79316cd75a9fa25ba9787ff54544307ed444f197" - integrity sha512-FvSj2aiOd8zbeqijjgqdMDSyxsGHaMt5Tr0XjQsGKHD3/1FP3wksjnLAWzxw7lvXiej8W1Jt47SKTZ6upQNiRw== +"@babel/helper-function-name@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.4.tgz#d2d3b20c59ad8c47112fa7d2a94bc09d5ef82f1a" + integrity sha512-YdaSyz1n8gY44EmN7x44zBn9zQ1Ry2Y+3GTA+3vH6Mizke1Vw0aWDM66FOYEPw8//qKkmqOckrGgTYa+6sceqQ== dependencies: - "@babel/helper-get-function-arity" "^7.10.3" - "@babel/template" "^7.10.3" - "@babel/types" "^7.10.3" + "@babel/helper-get-function-arity" "^7.10.4" + "@babel/template" "^7.10.4" + "@babel/types" "^7.10.4" "@babel/helper-function-name@^7.8.3": version "7.8.3" @@ -239,19 +205,12 @@ "@babel/template" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/helper-get-function-arity@^7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.1.tgz#7303390a81ba7cb59613895a192b93850e373f7d" - integrity sha512-F5qdXkYGOQUb0hpRaPoetF9AnsXknKjWMZ+wmsIRsp5ge5sFh4c3h1eH2pRTTuy9KKAA2+TTYomGXAtEL2fQEw== - dependencies: - "@babel/types" "^7.10.1" - -"@babel/helper-get-function-arity@^7.10.3": - version "7.10.3" - resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.3.tgz#3a28f7b28ccc7719eacd9223b659fdf162e4c45e" - integrity sha512-iUD/gFsR+M6uiy69JA6fzM5seno8oE85IYZdbVVEuQaZlEzMO2MXblh+KSPJgsZAUx0EEbWXU0yJaW7C9CdAVg== +"@babel/helper-get-function-arity@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz#98c1cbea0e2332f33f9a4661b8ce1505b2c19ba2" + integrity sha512-EkN3YDB+SRDgiIUnNgcmiD361ti+AVbL3f3Henf6dqqUyr5dMsorno0lJWJuLhDhkI5sYEpgj6y9kB8AOU1I2A== dependencies: - "@babel/types" "^7.10.3" + "@babel/types" "^7.10.4" "@babel/helper-get-function-arity@^7.8.3": version "7.8.3" @@ -267,12 +226,12 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-member-expression-to-functions@^7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.10.1.tgz#432967fd7e12a4afef66c4687d4ca22bc0456f15" - integrity sha512-u7XLXeM2n50gb6PWJ9hoO5oO7JFPaZtrh35t8RqKLT1jFKj9IWeD1zrcrYp1q1qiZTdEarfDWfTIP8nGsu0h5g== +"@babel/helper-member-expression-to-functions@^7.10.4": + version "7.10.5" + resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.10.5.tgz#172f56e7a63e78112f3a04055f24365af702e7ee" + integrity sha512-HiqJpYD5+WopCXIAbQDG0zye5XYVvcO9w/DHp5GsaGkRUaamLj2bEtu6i8rnGGprAhHM3qidCMgp71HF4endhA== dependencies: - "@babel/types" "^7.10.1" + "@babel/types" "^7.10.5" "@babel/helper-member-expression-to-functions@^7.8.3": version "7.8.3" @@ -288,25 +247,25 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-module-imports@^7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.1.tgz#dd331bd45bccc566ce77004e9d05fe17add13876" - integrity sha512-SFxgwYmZ3HZPyZwJRiVNLRHWuW2OgE5k2nrVs6D9Iv4PPnXVffuEHy83Sfx/l4SqF+5kyJXjAyUmrG7tNm+qVg== +"@babel/helper-module-imports@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.4.tgz#4c5c54be04bd31670a7382797d75b9fa2e5b5620" + integrity sha512-nEQJHqYavI217oD9+s5MUBzk6x1IlvoS9WTPfgG43CbMEeStE0v+r+TucWdx8KFGowPGvyOkDT9+7DHedIDnVw== dependencies: - "@babel/types" "^7.10.1" + "@babel/types" "^7.10.4" -"@babel/helper-module-transforms@^7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.10.1.tgz#24e2f08ee6832c60b157bb0936c86bef7210c622" - integrity sha512-RLHRCAzyJe7Q7sF4oy2cB+kRnU4wDZY/H2xJFGof+M+SJEGhZsb+GFj5j1AD8NiSaVBJ+Pf0/WObiXu/zxWpFg== +"@babel/helper-module-transforms@^7.10.5": + version "7.10.5" + resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.10.5.tgz#120c271c0b3353673fcdfd8c053db3c544a260d6" + integrity sha512-4P+CWMJ6/j1W915ITJaUkadLObmCRRSC234uctJfn/vHrsLNxsR8dwlcXv9ZhJWzl77awf+mWXSZEKt5t0OnlA== dependencies: - "@babel/helper-module-imports" "^7.10.1" - "@babel/helper-replace-supers" "^7.10.1" - "@babel/helper-simple-access" "^7.10.1" - "@babel/helper-split-export-declaration" "^7.10.1" - "@babel/template" "^7.10.1" - "@babel/types" "^7.10.1" - lodash "^4.17.13" + "@babel/helper-module-imports" "^7.10.4" + "@babel/helper-replace-supers" "^7.10.4" + "@babel/helper-simple-access" "^7.10.4" + "@babel/helper-split-export-declaration" "^7.10.4" + "@babel/template" "^7.10.4" + "@babel/types" "^7.10.5" + lodash "^4.17.19" "@babel/helper-module-transforms@^7.8.3": version "7.8.3" @@ -320,12 +279,12 @@ "@babel/types" "^7.8.3" lodash "^4.17.13" -"@babel/helper-optimise-call-expression@^7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.1.tgz#b4a1f2561870ce1247ceddb02a3860fa96d72543" - integrity sha512-a0DjNS1prnBsoKx83dP2falChcs7p3i8VMzdrSbfLhuQra/2ENC4sbri34dz/rWmDADsmF1q5GbfaXydh0Jbjg== +"@babel/helper-optimise-call-expression@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.4.tgz#50dc96413d594f995a77905905b05893cd779673" + integrity sha512-n3UGKY4VXwXThEiKrgRAoVPBMqeoPgHVqiHZOanAJCG9nQUL2pLRQirUzl0ioKclHGpGqRgIOkgcIJaIWLpygg== dependencies: - "@babel/types" "^7.10.1" + "@babel/types" "^7.10.4" "@babel/helper-optimise-call-expression@^7.8.3": version "7.8.3" @@ -357,15 +316,15 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/helper-replace-supers@^7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.10.1.tgz#ec6859d20c5d8087f6a2dc4e014db7228975f13d" - integrity sha512-SOwJzEfpuQwInzzQJGjGaiG578UYmyi2Xw668klPWV5n07B73S0a9btjLk/52Mlcxa+5AdIYqws1KyXRfMoB7A== +"@babel/helper-replace-supers@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.10.4.tgz#d585cd9388ea06e6031e4cd44b6713cbead9e6cf" + integrity sha512-sPxZfFXocEymYTdVK1UNmFPBN+Hv5mJkLPsYWwGBxZAxaWfFu+xqp7b6qWD0yjNuNL2VKc6L5M18tOXUP7NU0A== dependencies: - "@babel/helper-member-expression-to-functions" "^7.10.1" - "@babel/helper-optimise-call-expression" "^7.10.1" - "@babel/traverse" "^7.10.1" - "@babel/types" "^7.10.1" + "@babel/helper-member-expression-to-functions" "^7.10.4" + "@babel/helper-optimise-call-expression" "^7.10.4" + "@babel/traverse" "^7.10.4" + "@babel/types" "^7.10.4" "@babel/helper-replace-supers@^7.8.3": version "7.8.3" @@ -377,13 +336,13 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/helper-simple-access@^7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.10.1.tgz#08fb7e22ace9eb8326f7e3920a1c2052f13d851e" - integrity sha512-VSWpWzRzn9VtgMJBIWTZ+GP107kZdQ4YplJlCmIrjoLVSi/0upixezHCDG8kpPVTBJpKfxTH01wDhh+jS2zKbw== +"@babel/helper-simple-access@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.10.4.tgz#0f5ccda2945277a2a7a2d3a821e15395edcf3461" + integrity sha512-0fMy72ej/VEvF8ULmX6yb5MtHG4uH4Dbd6I/aHDb/JVg0bbivwt9Wg+h3uMvX+QSFtwr5MeItvazbrc4jtRAXw== dependencies: - "@babel/template" "^7.10.1" - "@babel/types" "^7.10.1" + "@babel/template" "^7.10.4" + "@babel/types" "^7.10.4" "@babel/helper-simple-access@^7.8.3": version "7.8.3" @@ -393,12 +352,12 @@ "@babel/template" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/helper-split-export-declaration@^7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.1.tgz#c6f4be1cbc15e3a868e4c64a17d5d31d754da35f" - integrity sha512-UQ1LVBPrYdbchNhLwj6fetj46BcFwfS4NllJo/1aJsT+1dLTEnXJL0qHqtY7gPzF8S2fXBJamf1biAXV3X077g== +"@babel/helper-split-export-declaration@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.4.tgz#2c70576eaa3b5609b24cb99db2888cc3fc4251d1" + integrity sha512-pySBTeoUff56fL5CBU2hWm9TesA4r/rOkI9DyJLvvgz09MB9YtfIYe3iBriVaYNaPe+Alua0vBIOVOLs2buWhg== dependencies: - "@babel/types" "^7.10.1" + "@babel/types" "^7.10.4" "@babel/helper-split-export-declaration@^7.8.3": version "7.8.3" @@ -407,11 +366,6 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-validator-identifier@^7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz#5770b0c1a826c4f53f5ede5e153163e0318e94b5" - integrity sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw== - "@babel/helper-validator-identifier@^7.10.3", "@babel/helper-validator-identifier@^7.10.4": version "7.10.4" resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz#a78c7a7251e01f616512d31b10adcf52ada5e0d2" @@ -427,14 +381,14 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/helpers@^7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.10.1.tgz#a6827b7cb975c9d9cef5fd61d919f60d8844a973" - integrity sha512-muQNHF+IdU6wGgkaJyhhEmI54MOZBKsFfsXFhboz1ybwJ1Kl7IHlbm2a++4jwrmY5UYsgitt5lfqo1wMFcHmyw== +"@babel/helpers@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.10.4.tgz#2abeb0d721aff7c0a97376b9e1f6f65d7a475044" + integrity sha512-L2gX/XeUONeEbI78dXSrJzGdz4GQ+ZTA/aazfUsFaWjSe95kiCuOZ5HsXvkiw3iwF+mFHSRUfJU8t6YavocdXA== dependencies: - "@babel/template" "^7.10.1" - "@babel/traverse" "^7.10.1" - "@babel/types" "^7.10.1" + "@babel/template" "^7.10.4" + "@babel/traverse" "^7.10.4" + "@babel/types" "^7.10.4" "@babel/helpers@^7.8.4": version "7.8.4" @@ -445,16 +399,7 @@ "@babel/traverse" "^7.8.4" "@babel/types" "^7.8.3" -"@babel/highlight@^7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.1.tgz#841d098ba613ba1a427a2b383d79e35552c38ae0" - integrity sha512-8rMof+gVP8mxYZApLF/JgNDAkdKa+aJt3ZYxF8z6+j/hpeXL7iMsKCPHa2jNMHu/qqBwzQF4OHNoYi8dMA/rYg== - dependencies: - "@babel/helper-validator-identifier" "^7.10.1" - chalk "^2.0.0" - js-tokens "^4.0.0" - -"@babel/highlight@^7.10.3", "@babel/highlight@^7.10.4": +"@babel/highlight@^7.10.4": version "7.10.4" resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143" integrity sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA== @@ -477,15 +422,10 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz#d1dbe64691d60358a974295fa53da074dd2ce8e8" integrity sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw== -"@babel/parser@^7.10.1": - version "7.10.2" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.10.2.tgz#871807f10442b92ff97e4783b9b54f6a0ca812d0" - integrity sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ== - -"@babel/parser@^7.10.3": - version "7.10.3" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.10.3.tgz#7e71d892b0d6e7d04a1af4c3c79d72c1f10f5315" - integrity sha512-oJtNJCMFdIMwXGmx+KxuaD7i3b8uS7TTFYW/FNG2BT8m+fmGHoiPYoH0Pe3gya07WuFmM5FCDIr1x0irkD/hyA== +"@babel/parser@^7.10.4", "@babel/parser@^7.10.5": + version "7.10.5" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.10.5.tgz#e7c6bf5a7deff957cec9f04b551e2762909d826b" + integrity sha512-wfryxy4bE1UivvQKSQDU4/X6dr+i8bctjUjj8Zyt3DQy7NtPizJXT8M52nqpNKL+nq2PW8lxk4ZqLj0fD4B4hQ== "@babel/plugin-proposal-async-generator-functions@^7.8.3": version "7.8.3" @@ -963,23 +903,14 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/template@^7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/template/-/template-7.10.1.tgz#e167154a94cb5f14b28dc58f5356d2162f539811" - integrity sha512-OQDg6SqvFSsc9A0ej6SKINWrpJiNonRIniYondK2ViKhB06i3c0s+76XUft71iqBEe9S1OKsHwPAjfHnuvnCig== - dependencies: - "@babel/code-frame" "^7.10.1" - "@babel/parser" "^7.10.1" - "@babel/types" "^7.10.1" - -"@babel/template@^7.10.3": - version "7.10.3" - resolved "https://registry.npmjs.org/@babel/template/-/template-7.10.3.tgz#4d13bc8e30bf95b0ce9d175d30306f42a2c9a7b8" - integrity sha512-5BjI4gdtD+9fHZUsaxPHPNpwa+xRkDO7c7JbhYn2afvrkDu5SfAAbi9AIMXw2xEhO/BR35TqiW97IqNvCo/GqA== +"@babel/template@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/template/-/template-7.10.4.tgz#3251996c4200ebc71d1a8fc405fba940f36ba278" + integrity sha512-ZCjD27cGJFUB6nmCB1Enki3r+L5kJveX9pq1SvAUKoICy6CZ9yD8xO086YXdYhvNjBdnekm4ZnaP5yC8Cs/1tA== dependencies: - "@babel/code-frame" "^7.10.3" - "@babel/parser" "^7.10.3" - "@babel/types" "^7.10.3" + "@babel/code-frame" "^7.10.4" + "@babel/parser" "^7.10.4" + "@babel/types" "^7.10.4" "@babel/template@^7.7.4", "@babel/template@^7.8.3": version "7.8.3" @@ -1005,35 +936,20 @@ globals "^11.1.0" lodash "^4.17.13" -"@babel/traverse@^7.10.1": - version "7.10.1" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.10.1.tgz#bbcef3031e4152a6c0b50147f4958df54ca0dd27" - integrity sha512-C/cTuXeKt85K+p08jN6vMDz8vSV0vZcI0wmQ36o6mjbuo++kPMdpOYw23W2XH04dbRt9/nMEfA4W3eR21CD+TQ== - dependencies: - "@babel/code-frame" "^7.10.1" - "@babel/generator" "^7.10.1" - "@babel/helper-function-name" "^7.10.1" - "@babel/helper-split-export-declaration" "^7.10.1" - "@babel/parser" "^7.10.1" - "@babel/types" "^7.10.1" +"@babel/traverse@^7.10.4", "@babel/traverse@^7.10.5": + version "7.10.5" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.10.5.tgz#77ce464f5b258be265af618d8fddf0536f20b564" + integrity sha512-yc/fyv2gUjPqzTz0WHeRJH2pv7jA9kA7mBX2tXl/x5iOE81uaVPuGPtaYk7wmkx4b67mQ7NqI8rmT2pF47KYKQ== + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/generator" "^7.10.5" + "@babel/helper-function-name" "^7.10.4" + "@babel/helper-split-export-declaration" "^7.10.4" + "@babel/parser" "^7.10.5" + "@babel/types" "^7.10.5" debug "^4.1.0" globals "^11.1.0" - lodash "^4.17.13" - -"@babel/traverse@^7.10.3": - version "7.10.3" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.10.3.tgz#0b01731794aa7b77b214bcd96661f18281155d7e" - integrity sha512-qO6623eBFhuPm0TmmrUFMT1FulCmsSeJuVGhiLodk2raUDFhhTECLd9E9jC4LBIWziqt4wgF6KuXE4d+Jz9yug== - dependencies: - "@babel/code-frame" "^7.10.3" - "@babel/generator" "^7.10.3" - "@babel/helper-function-name" "^7.10.3" - "@babel/helper-split-export-declaration" "^7.10.1" - "@babel/parser" "^7.10.3" - "@babel/types" "^7.10.3" - debug "^4.1.0" - globals "^11.1.0" - lodash "^4.17.13" + lodash "^4.17.19" "@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.8.3": version "7.8.3" @@ -1044,22 +960,13 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" -"@babel/types@^7.10.1", "@babel/types@^7.10.2": - version "7.10.2" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.10.2.tgz#30283be31cad0dbf6fb00bd40641ca0ea675172d" - integrity sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng== - dependencies: - "@babel/helper-validator-identifier" "^7.10.1" - lodash "^4.17.13" - to-fast-properties "^2.0.0" - -"@babel/types@^7.10.3": - version "7.10.3" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.10.3.tgz#6535e3b79fea86a6b09e012ea8528f935099de8e" - integrity sha512-nZxaJhBXBQ8HVoIcGsf9qWep3Oh3jCENK54V4mRF7qaJabVsAYdbTtmSD8WmAp1R6ytPiu5apMwSXyxB1WlaBA== +"@babel/types@^7.10.4", "@babel/types@^7.10.5": + version "7.10.5" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz#d88ae7e2fde86bfbfe851d4d81afa70a997b5d15" + integrity sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q== dependencies: - "@babel/helper-validator-identifier" "^7.10.3" - lodash "^4.17.13" + "@babel/helper-validator-identifier" "^7.10.4" + lodash "^4.17.19" to-fast-properties "^2.0.0" "@bcoe/v8-coverage@^0.2.3": From f8a4fc4514ae9f7568829a0a4bf09a483564f5d7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 17 Jul 2020 09:50:24 +0800 Subject: [PATCH 0187/2192] chore: update dependency typescript to v3.9.7 (#2011) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 2efb881c68..ed7e4f0d90 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "lint-staged": "10.2.11", "prettier": "1.17.1", "ts-jest": "26.1.2", - "typescript": "3.9.6" + "typescript": "3.9.7" }, "husky": { "hooks": { diff --git a/yarn.lock b/yarn.lock index 431d6175f2..96c7f8e6bb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10608,10 +10608,10 @@ typedarray@^0.0.6: resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@3.9.6: - version "3.9.6" - resolved "https://registry.npmjs.org/typescript/-/typescript-3.9.6.tgz#8f3e0198a34c3ae17091b35571d3afd31999365a" - integrity sha512-Pspx3oKAPJtjNwE92YS05HQoY7z2SFyOpHo9MqJor3BXAGNaPUs83CuVp9VISFkSjyRfiTpmKuAYGJB7S7hOxw== +typescript@3.9.7: + version "3.9.7" + resolved "https://registry.npmjs.org/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa" + integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw== uglify-js@^3.1.4: version "3.7.3" From 51efc299ddb40fda48f5a4305fb0904656cfeb7e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 17 Jul 2020 13:13:01 +0800 Subject: [PATCH 0188/2192] chore: update dependency ts-jest to v26.1.3 (#2012) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ed7e4f0d90..e53cdf06d3 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "lerna-v3": "npm:lerna@3", "lint-staged": "10.2.11", "prettier": "1.17.1", - "ts-jest": "26.1.2", + "ts-jest": "26.1.3", "typescript": "3.9.7" }, "husky": { diff --git a/yarn.lock b/yarn.lock index 96c7f8e6bb..c13b451c59 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10502,10 +10502,10 @@ trim-off-newlines@^1.0.0: resolved "https://registry.npmjs.org/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3" integrity sha1-n5up2e+odkw4dpi8v+sshI8RrbM= -ts-jest@26.1.2: - version "26.1.2" - resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-26.1.2.tgz#dd2e832ffae9cb803361483b6a3010a6413dc475" - integrity sha512-V4SyBDO9gOdEh+AF4KtXJeP+EeI4PkOrxcA8ptl4o8nCXUVM5Gg/8ngGKneS5BsZaR9DXVQNqj9k+iqGAnpGow== +ts-jest@26.1.3: + version "26.1.3" + resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-26.1.3.tgz#aac928a05fdf13e3e6dfbc8caec3847442667894" + integrity sha512-beUTSvuqR9SmKQEylewqJdnXWMVGJRFqSz2M8wKJe7GBMmLZ5zw6XXKSJckbHNMxn+zdB3guN2eOucSw2gBMnw== dependencies: bs-logger "0.x" buffer-from "1.x" From 7f802df24acc507d10687da3b351f6f76f50265c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2020 10:18:49 +0800 Subject: [PATCH 0189/2192] chore: update dependency @types/jest to v26.0.5 (#2013) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e53cdf06d3..57b8e64446 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ }, "devDependencies": { "@lerna/project": "3.21.0", - "@types/jest": "26.0.4", + "@types/jest": "26.0.5", "@types/node": "12.12.50", "@typescript-eslint/eslint-plugin": "^3.0.0", "@typescript-eslint/parser": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index c13b451c59..08677eb75d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2467,10 +2467,10 @@ "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" -"@types/jest@26.0.4": - version "26.0.4" - resolved "https://registry.npmjs.org/@types/jest/-/jest-26.0.4.tgz#d2e513e85aca16992816f192582b5e67b0b15efb" - integrity sha512-4fQNItvelbNA9+sFgU+fhJo8ZFF+AS4Egk3GWwCW2jFtViukXbnztccafAdLhzE/0EiCogljtQQXP8aQ9J7sFg== +"@types/jest@26.0.5": + version "26.0.5" + resolved "https://registry.npmjs.org/@types/jest/-/jest-26.0.5.tgz#23a8eecf4764a770ea8d3a0d1ea16b96c822035d" + integrity sha512-heU+7w8snfwfjtcj2H458aTx3m5unIToOJhx75ebHilBiiQ39OIdA18WkG4LP08YKeAoWAGvWg8s+22w/PeJ6w== dependencies: jest-diff "^25.2.1" pretty-format "^25.2.1" From 47030528b433de05af02d65d8dd33af3862edce7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2020 10:19:41 +0800 Subject: [PATCH 0190/2192] chore: update dependency eslint to v7.5.0 (#2014) Co-authored-by: Renovate Bot --- yarn.lock | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/yarn.lock b/yarn.lock index 08677eb75d..79feeddce4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2677,7 +2677,7 @@ acorn@^6.0.1: resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.1.tgz#531e58ba3f51b9dacb9a6646ca4debf5b14ca474" integrity sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA== -acorn@^7.1.0, acorn@^7.2.0: +acorn@^7.1.0, acorn@^7.3.1: version "7.3.1" resolved "https://registry.npmjs.org/acorn/-/acorn-7.3.1.tgz#85010754db53c3fbaf3b9ea3e083aa5c5d147ffd" integrity sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA== @@ -4760,22 +4760,22 @@ eslint-scope@^5.0.0, eslint-scope@^5.1.0: esrecurse "^4.1.0" estraverse "^4.1.1" -eslint-utils@^2.0.0: +eslint-utils@^2.0.0, eslint-utils@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg== dependencies: eslint-visitor-keys "^1.1.0" -eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.2.0: +eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0: version "1.3.0" resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== eslint@^7.0.0: - version "7.4.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-7.4.0.tgz#4e35a2697e6c1972f9d6ef2b690ad319f80f206f" - integrity sha512-gU+lxhlPHu45H3JkEGgYhWhkR9wLHHEXC9FbWFnTlEkbKyZKWgWRLgf61E8zWmBuI6g5xKBph9ltg3NtZMVF8g== + version "7.5.0" + resolved "https://registry.npmjs.org/eslint/-/eslint-7.5.0.tgz#9ecbfad62216d223b82ac9ffea7ef3444671d135" + integrity sha512-vlUP10xse9sWt9SGRtcr1LAC67BENcQMFeV+w5EvLEoFe3xJ8cF1Skd0msziRx/VMC+72B4DxreCE+OR12OA6Q== dependencies: "@babel/code-frame" "^7.0.0" ajv "^6.10.0" @@ -4785,9 +4785,9 @@ eslint@^7.0.0: doctrine "^3.0.0" enquirer "^2.3.5" eslint-scope "^5.1.0" - eslint-utils "^2.0.0" - eslint-visitor-keys "^1.2.0" - espree "^7.1.0" + eslint-utils "^2.1.0" + eslint-visitor-keys "^1.3.0" + espree "^7.2.0" esquery "^1.2.0" esutils "^2.0.2" file-entry-cache "^5.0.1" @@ -4801,7 +4801,7 @@ eslint@^7.0.0: js-yaml "^3.13.1" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.4.1" - lodash "^4.17.14" + lodash "^4.17.19" minimatch "^3.0.4" natural-compare "^1.4.0" optionator "^0.9.1" @@ -4814,14 +4814,14 @@ eslint@^7.0.0: text-table "^0.2.0" v8-compile-cache "^2.0.3" -espree@^7.1.0: - version "7.1.0" - resolved "https://registry.npmjs.org/espree/-/espree-7.1.0.tgz#a9c7f18a752056735bf1ba14cb1b70adc3a5ce1c" - integrity sha512-dcorZSyfmm4WTuTnE5Y7MEN1DyoPYy1ZR783QW1FJoenn7RailyWFsq/UL6ZAAA7uXurN9FIpYyUs3OfiIW+Qw== +espree@^7.2.0: + version "7.2.0" + resolved "https://registry.npmjs.org/espree/-/espree-7.2.0.tgz#1c263d5b513dbad0ac30c4991b93ac354e948d69" + integrity sha512-H+cQ3+3JYRMEIOl87e7QdHX70ocly5iW4+dttuR8iYSPr/hXKFb+7dBsZ7+u1adC4VrnPlTkv0+OwuPnDop19g== dependencies: - acorn "^7.2.0" + acorn "^7.3.1" acorn-jsx "^5.2.0" - eslint-visitor-keys "^1.2.0" + eslint-visitor-keys "^1.3.0" esprima@^4.0.0, esprima@^4.0.1: version "4.0.1" @@ -10171,9 +10171,9 @@ strip-json-comments@3.0.1: integrity sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw== strip-json-comments@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.0.tgz#7638d31422129ecf4457440009fba03f9f9ac180" - integrity sha512-e6/d0eBu7gHtdCqFt0xJr642LdToM5/cN4Qb9DbHjVx1CP5RyeM+zH7pbecEmDv/lBqb0QH+6Uqq75rxFPkM0w== + version "3.1.1" + resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== strip-json-comments@~2.0.1: version "2.0.1" From dc3774a6bba40f5d2b86a47dd87c2a77db07c3f6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2020 10:50:37 +0800 Subject: [PATCH 0191/2192] chore: update typescript-eslint monorepo to v3.7.0 (#2015) Co-authored-by: Renovate Bot --- yarn.lock | 60 +++++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/yarn.lock b/yarn.lock index 79feeddce4..9ecaef4a72 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2545,25 +2545,25 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^3.0.0": - version "3.6.1" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.6.1.tgz#5ced8fd2087fbb83a76973dea4a0d39d9cb4a642" - integrity sha512-06lfjo76naNeOMDl+mWG9Fh/a0UHKLGhin+mGaIw72FUMbMGBkdi/FEJmgEDzh4eE73KIYzHWvOCYJ0ak7nrJQ== + version "3.7.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.7.0.tgz#0f91aa3c83d019591719e597fbdb73a59595a263" + integrity sha512-4OEcPON3QIx0ntsuiuFP/TkldmBGXf0uKxPQlGtS/W2F3ndYm8Vgdpj/woPJkzUc65gd3iR+qi3K8SDQP/obFg== dependencies: - "@typescript-eslint/experimental-utils" "3.6.1" + "@typescript-eslint/experimental-utils" "3.7.0" debug "^4.1.1" functional-red-black-tree "^1.0.1" regexpp "^3.0.0" semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@3.6.1": - version "3.6.1" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.6.1.tgz#b5a2738ebbceb3fa90c5b07d50bb1225403c4a54" - integrity sha512-oS+hihzQE5M84ewXrTlVx7eTgc52eu+sVmG7ayLfOhyZmJ8Unvf3osyFQNADHP26yoThFfbxcibbO0d2FjnYhg== +"@typescript-eslint/experimental-utils@3.7.0": + version "3.7.0" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.7.0.tgz#0ee21f6c48b2b30c63211da23827725078d5169a" + integrity sha512-xpfXXAfZqhhqs5RPQBfAFrWDHoNxD5+sVB5A46TF58Bq1hRfVROrWHcQHHUM9aCBdy9+cwATcvCbRg8aIRbaHQ== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/types" "3.6.1" - "@typescript-eslint/typescript-estree" "3.6.1" + "@typescript-eslint/types" "3.7.0" + "@typescript-eslint/typescript-estree" "3.7.0" eslint-scope "^5.0.0" eslint-utils "^2.0.0" @@ -2578,20 +2578,20 @@ eslint-utils "^2.0.0" "@typescript-eslint/parser@^3.0.0": - version "3.6.1" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.6.1.tgz#216e8adf4ee9c629f77c985476a2ea07fb80e1dc" - integrity sha512-SLihQU8RMe77YJ/jGTqOt0lMq7k3hlPVfp7v/cxMnXA9T0bQYoMDfTsNgHXpwSJM1Iq2aAJ8WqekxUwGv5F67Q== + version "3.7.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.7.0.tgz#3e9cd9df9ea644536feb6e5acdb8279ecff96ce9" + integrity sha512-2LZauVUt7jAWkcIW7djUc3kyW+fSarNEuM3RF2JdLHR9BfX/nDEnyA4/uWz0wseoWVZbDXDF7iF9Jc342flNqQ== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "3.6.1" - "@typescript-eslint/types" "3.6.1" - "@typescript-eslint/typescript-estree" "3.6.1" + "@typescript-eslint/experimental-utils" "3.7.0" + "@typescript-eslint/types" "3.7.0" + "@typescript-eslint/typescript-estree" "3.7.0" eslint-visitor-keys "^1.1.0" -"@typescript-eslint/types@3.6.1": - version "3.6.1" - resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-3.6.1.tgz#87600fe79a1874235d3cc1cf5c7e1a12eea69eee" - integrity sha512-NPxd5yXG63gx57WDTW1rp0cF3XlNuuFFB5G+Kc48zZ+51ZnQn9yjDEsjTPQ+aWM+V+Z0I4kuTFKjKvgcT1F7xQ== +"@typescript-eslint/types@3.7.0": + version "3.7.0" + resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-3.7.0.tgz#09897fab0cb95479c01166b10b2c03c224821077" + integrity sha512-reCaK+hyKkKF+itoylAnLzFeNYAEktB0XVfSQvf0gcVgpz1l49Lt6Vo9x4MVCCxiDydA0iLAjTF/ODH0pbfnpg== "@typescript-eslint/typescript-estree@2.34.0": version "2.34.0" @@ -2606,13 +2606,13 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/typescript-estree@3.6.1": - version "3.6.1" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.6.1.tgz#a5c91fcc5497cce7922ff86bc37d5e5891dcdefa" - integrity sha512-G4XRe/ZbCZkL1fy09DPN3U0mR6SayIv1zSeBNquRFRk7CnVLgkC2ZPj8llEMJg5Y8dJ3T76SvTGtceytniaztQ== +"@typescript-eslint/typescript-estree@3.7.0": + version "3.7.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.7.0.tgz#66872e6da120caa4b64e6b4ca5c8702afc74738d" + integrity sha512-xr5oobkYRebejlACGr1TJ0Z/r0a2/HUf0SXqPvlgUMwiMqOCu/J+/Dr9U3T0IxpE5oLFSkqMx1FE/dKaZ8KsOQ== dependencies: - "@typescript-eslint/types" "3.6.1" - "@typescript-eslint/visitor-keys" "3.6.1" + "@typescript-eslint/types" "3.7.0" + "@typescript-eslint/visitor-keys" "3.7.0" debug "^4.1.1" glob "^7.1.6" is-glob "^4.0.1" @@ -2620,10 +2620,10 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/visitor-keys@3.6.1": - version "3.6.1" - resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-3.6.1.tgz#5c57a7772f4dd623cfeacc219303e7d46f963b37" - integrity sha512-qC8Olwz5ZyMTZrh4Wl3K4U6tfms0R/mzU4/5W3XeUZptVraGVmbptJbn6h2Ey6Rb3hOs3zWoAUebZk8t47KGiQ== +"@typescript-eslint/visitor-keys@3.7.0": + version "3.7.0" + resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-3.7.0.tgz#ac0417d382a136e4571a0b0dcfe52088cb628177" + integrity sha512-k5PiZdB4vklUpUX4NBncn5RBKty8G3ihTY+hqJsCdMuD0v4jofI5xuqwnVcWxfv6iTm2P/dfEa2wMUnsUY8ODw== dependencies: eslint-visitor-keys "^1.1.0" From f74bfca3f64c54ca814e1edcc4ef7948a251ece1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2020 10:50:49 +0800 Subject: [PATCH 0192/2192] chore: update dependency @types/node to v12.12.51 (#2016) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 57b8e64446..bc7859bb2d 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "devDependencies": { "@lerna/project": "3.21.0", "@types/jest": "26.0.5", - "@types/node": "12.12.50", + "@types/node": "12.12.51", "@typescript-eslint/eslint-plugin": "^3.0.0", "@typescript-eslint/parser": "^3.0.0", "docsify-cli": "^4.4.0", diff --git a/yarn.lock b/yarn.lock index 9ecaef4a72..f87af06ebb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2500,10 +2500,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9" integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA== -"@types/node@12.12.50": - version "12.12.50" - resolved "https://registry.npmjs.org/@types/node/-/node-12.12.50.tgz#e9b2e85fafc15f2a8aa8fdd41091b983da5fd6ee" - integrity sha512-5ImO01Fb8YsEOYpV+aeyGYztcYcjGsBvN4D7G5r1ef2cuQOpymjWNQi5V0rKHE6PC2ru3HkoUr/Br2/8GUA84w== +"@types/node@12.12.51": + version "12.12.51" + resolved "https://registry.npmjs.org/@types/node/-/node-12.12.51.tgz#446a67af8c5ff98947d7cef296484c6ad47ddb16" + integrity sha512-6ILqt8iNThALrxDv2Q4LyYFQxULQz96HKNIFd4s9QRQaiHINYeUpLqeU/2IU7YMtvipG1fQVAy//vY8/fX1Y9w== "@types/normalize-package-data@^2.4.0": version "2.4.0" From cdcacd2c8632eaf9eda2be8ca84e892681d0cb61 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 22 Jul 2020 10:09:03 +0800 Subject: [PATCH 0193/2192] chore: update dependency @types/lodash to v4.14.158 (#2018) Co-authored-by: Renovate Bot --- @commitlint/ensure/package.json | 2 +- @commitlint/load/package.json | 2 +- @commitlint/resolve-extends/package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 393f99da1c..845612d9e4 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -35,7 +35,7 @@ "license": "MIT", "devDependencies": { "@commitlint/utils": "^9.1.2", - "@types/lodash": "4.14.157", + "@types/lodash": "4.14.158", "globby": "^11.0.0" }, "dependencies": { diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index c24264d87d..1f1cd14f72 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -36,7 +36,7 @@ "devDependencies": { "@commitlint/test": "^9.1.2", "@commitlint/utils": "^9.1.2", - "@types/lodash": "4.14.157", + "@types/lodash": "4.14.158", "execa": "^4.0.0" }, "dependencies": { diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index c20bea7cbd..b6bcb65a4e 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -35,7 +35,7 @@ "license": "MIT", "devDependencies": { "@commitlint/utils": "^9.1.2", - "@types/lodash": "4.14.157" + "@types/lodash": "4.14.158" }, "dependencies": { "import-fresh": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index f87af06ebb..5b6b844db0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2485,10 +2485,10 @@ resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= -"@types/lodash@4.14.157": - version "4.14.157" - resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.157.tgz#fdac1c52448861dfde1a2e1515dbc46e54926dc8" - integrity sha512-Ft5BNFmv2pHDgxV5JDsndOWTRJ+56zte0ZpYLowp03tW+K+t8u8YMOzAnpuqPgzX6WO1XpDIUm7u04M8vdDiVQ== +"@types/lodash@4.14.158": + version "4.14.158" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.158.tgz#b38ea8b6fe799acd076d7a8d7ab71c26ef77f785" + integrity sha512-InCEXJNTv/59yO4VSfuvNrZHt7eeNtWQEgnieIA+mIC+MOWM9arOWG2eQ8Vhk6NbOre6/BidiXhkZYeDY9U35w== "@types/minimatch@*": version "3.0.3" From 6f5d8c628d4434e5a4031407318a58384c1566ff Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 22 Jul 2020 11:55:53 +0800 Subject: [PATCH 0194/2192] chore: update node.js to >=v10.22.0 (#2017) Co-authored-by: Renovate Bot --- @alias/commitlint-config-angular/package.json | 2 +- @alias/commitlint-config-lerna-scopes/package.json | 2 +- @alias/commitlint-config-patternplate/package.json | 2 +- @alias/commitlint/package.json | 2 +- @commitlint/cli/package.json | 2 +- @commitlint/config-angular-type-enum/package.json | 2 +- @commitlint/config-angular/package.json | 2 +- @commitlint/config-conventional/package.json | 2 +- @commitlint/config-lerna-scopes/package.json | 2 +- @commitlint/config-patternplate/package.json | 2 +- @commitlint/core/package.json | 2 +- @commitlint/ensure/package.json | 2 +- @commitlint/execute-rule/package.json | 2 +- @commitlint/format/package.json | 2 +- @commitlint/is-ignored/package.json | 2 +- @commitlint/lint/package.json | 2 +- @commitlint/load/package.json | 2 +- @commitlint/message/package.json | 2 +- @commitlint/parse/package.json | 2 +- @commitlint/prompt-cli/package.json | 2 +- @commitlint/prompt/package.json | 2 +- @commitlint/read/package.json | 2 +- @commitlint/resolve-extends/package.json | 2 +- @commitlint/rules/package.json | 2 +- @commitlint/to-lines/package.json | 2 +- @commitlint/top-level/package.json | 2 +- @commitlint/travis-cli/package.json | 2 +- @commitlint/types/package.json | 2 +- @packages/babel-preset-commitlint/package.json | 2 +- @packages/test-environment/package.json | 2 +- @packages/test/package.json | 2 +- @packages/utils/package.json | 2 +- package.json | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index 35361d386c..bd38e6c4c2 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "dependencies": { "@commitlint/config-angular": "^9.1.2" diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index 50fd8bbece..c9fff36566 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "dependencies": { "@commitlint/config-lerna-scopes": "^9.1.2" diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index 459748b021..af70210413 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "dependencies": { "@commitlint/config-patternplate": "^9.1.2" diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index e4009cd9c7..2e8b266e50 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -13,7 +13,7 @@ "pkg": "pkg-check --skip-main" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 256566d603..7af379e0fc 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -15,7 +15,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 9b1b9de520..eacb321226 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "devDependencies": { "@commitlint/utils": "^9.1.2" diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index e429c81cca..f69a16edf4 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "devDependencies": { "@commitlint/utils": "^9.1.2" diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index 5828af71e3..315f0fcc8f 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "devDependencies": { "@commitlint/lint": "^9.1.2", diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index 7dfe3d034d..74f0ef1e65 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -29,7 +29,7 @@ "lerna": "^2.0.0 || ^3.0.0" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "dependencies": { "import-from": "3.0.0", diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index e2adc98a27..bf0f7b2c15 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "dependencies": { "@commitlint/config-angular": "^9.1.2", diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index 9358af4476..838158ab1b 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 845612d9e4..2551b1fef9 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index 25396cb8b5..1a9d4f4484 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index e354d97c02..471fadb7c7 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index e8077bb3b2..aa0a003a3c 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index fdb2559fc8..c08033ab7d 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 1f1cd14f72..0689d2e76d 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index cf316699eb..da92951fe9 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index f603c2a427..8054d72691 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 391318b89b..bb8aa17e8e 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "devDependencies": { "@commitlint/test": "^9.1.2", diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 79dee75476..39239a66ce 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -45,7 +45,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "devDependencies": { "@babel/cli": "^7.7.7", diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 5250ebb0d9..37ff78275f 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index b6bcb65a4e..50a6fec3ac 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index f3fe46eb12..3249ac35eb 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index 68fe101ab4..ebfbfcb0e4 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index 91917e77fb..61f2f0e5ba 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index c8550c216e..ffc7b8ebe2 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -24,7 +24,7 @@ ] }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index c2bdeaa187..dbb3b6f187 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -11,7 +11,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index af920d6ba9..ee3b74c6a2 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -8,7 +8,7 @@ "index.js" ], "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index 3975755455..4acf8cdbe8 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -9,7 +9,7 @@ "lib/" ], "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@packages/test/package.json b/@packages/test/package.json index b009d02c42..a6006aa6d0 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -9,7 +9,7 @@ "lib/" ], "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 10a112f76d..c8d8158afe 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -16,7 +16,7 @@ "pkg": "node pkg-check.js --skip-main" }, "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", diff --git a/package.json b/package.json index bc7859bb2d..3be84c0e58 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "@packages/*" ], "engines": { - "node": ">=v10.21.0" + "node": ">=v10.22.0" }, "repository": { "type": "git", From 71d4826bf6c4e7770a63d2035b78f21cd98759ba Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 24 Jul 2020 12:35:11 +0800 Subject: [PATCH 0195/2192] chore: update dependency @types/jest to v26.0.7 (#2019) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3be84c0e58..4e4b22e747 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ }, "devDependencies": { "@lerna/project": "3.21.0", - "@types/jest": "26.0.5", + "@types/jest": "26.0.7", "@types/node": "12.12.51", "@typescript-eslint/eslint-plugin": "^3.0.0", "@typescript-eslint/parser": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index 5b6b844db0..9bf9ce1eeb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2467,10 +2467,10 @@ "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" -"@types/jest@26.0.5": - version "26.0.5" - resolved "https://registry.npmjs.org/@types/jest/-/jest-26.0.5.tgz#23a8eecf4764a770ea8d3a0d1ea16b96c822035d" - integrity sha512-heU+7w8snfwfjtcj2H458aTx3m5unIToOJhx75ebHilBiiQ39OIdA18WkG4LP08YKeAoWAGvWg8s+22w/PeJ6w== +"@types/jest@26.0.7": + version "26.0.7" + resolved "https://registry.npmjs.org/@types/jest/-/jest-26.0.7.tgz#495cb1d1818c1699dbc3b8b046baf1c86ef5e324" + integrity sha512-+x0077/LoN6MjqBcVOe1y9dpryWnfDZ+Xfo3EqGeBcfPRJlQp3Lw62RvNlWxuGv7kOEwlHriAa54updi3Jvvwg== dependencies: jest-diff "^25.2.1" pretty-format "^25.2.1" From fb627f228f374a618a978a08a6280bf979e41927 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 24 Jul 2020 13:05:40 +0800 Subject: [PATCH 0196/2192] chore: update dependency @types/node to v12.12.52 (#2021) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 4e4b22e747..aa95e1af76 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "devDependencies": { "@lerna/project": "3.21.0", "@types/jest": "26.0.7", - "@types/node": "12.12.51", + "@types/node": "12.12.52", "@typescript-eslint/eslint-plugin": "^3.0.0", "@typescript-eslint/parser": "^3.0.0", "docsify-cli": "^4.4.0", diff --git a/yarn.lock b/yarn.lock index 9bf9ce1eeb..3850917476 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2500,10 +2500,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9" integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA== -"@types/node@12.12.51": - version "12.12.51" - resolved "https://registry.npmjs.org/@types/node/-/node-12.12.51.tgz#446a67af8c5ff98947d7cef296484c6ad47ddb16" - integrity sha512-6ILqt8iNThALrxDv2Q4LyYFQxULQz96HKNIFd4s9QRQaiHINYeUpLqeU/2IU7YMtvipG1fQVAy//vY8/fX1Y9w== +"@types/node@12.12.52": + version "12.12.52" + resolved "https://registry.npmjs.org/@types/node/-/node-12.12.52.tgz#ed7a845116bf496a9937228cb9c2a0f74092aeb1" + integrity sha512-oNJSI5bzuAH4f4I5JatPf4jytM6vQPWMw8JDOH68mNMyOmSqBkctHBfsyaBU3Su+dhYd8E+tDtPJWUXsyO5Msg== "@types/normalize-package-data@^2.4.0": version "2.4.0" From dbcabfd3d6a3469c2571e5d3cf240fb241685e18 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 25 Jul 2020 12:23:41 +0800 Subject: [PATCH 0197/2192] chore: update dependency @types/node to v12.12.53 (#2022) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index aa95e1af76..081b0c44ed 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "devDependencies": { "@lerna/project": "3.21.0", "@types/jest": "26.0.7", - "@types/node": "12.12.52", + "@types/node": "12.12.53", "@typescript-eslint/eslint-plugin": "^3.0.0", "@typescript-eslint/parser": "^3.0.0", "docsify-cli": "^4.4.0", diff --git a/yarn.lock b/yarn.lock index 3850917476..bc8ca24d90 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2500,10 +2500,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9" integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA== -"@types/node@12.12.52": - version "12.12.52" - resolved "https://registry.npmjs.org/@types/node/-/node-12.12.52.tgz#ed7a845116bf496a9937228cb9c2a0f74092aeb1" - integrity sha512-oNJSI5bzuAH4f4I5JatPf4jytM6vQPWMw8JDOH68mNMyOmSqBkctHBfsyaBU3Su+dhYd8E+tDtPJWUXsyO5Msg== +"@types/node@12.12.53": + version "12.12.53" + resolved "https://registry.npmjs.org/@types/node/-/node-12.12.53.tgz#be0d375933c3d15ef2380dafb3b0350ea7021129" + integrity sha512-51MYTDTyCziHb70wtGNFRwB4l+5JNvdqzFSkbDvpbftEgVUBEE+T5f7pROhWMp/fxp07oNIEQZd5bbfAH22ohQ== "@types/normalize-package-data@^2.4.0": version "2.4.0" From 32667e8aa665cf94fe669ba048ad7abaf6abac6e Mon Sep 17 00:00:00 2001 From: initial-wu Date: Sat, 25 Jul 2020 12:40:30 +0800 Subject: [PATCH 0198/2192] fix: update dependency (#1993) update dependency conventional-changelog-conventionalcommits to v4.3.1 Co-authored-by: initialwu --- @commitlint/config-conventional/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index 315f0fcc8f..70589f176b 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -36,7 +36,7 @@ "@commitlint/utils": "^9.1.2" }, "dependencies": { - "conventional-changelog-conventionalcommits": "4.3.0" + "conventional-changelog-conventionalcommits": "4.3.1" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } From fb9c2cb80e119375a062d08a9fc1cd7ac5450f72 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 25 Jul 2020 12:48:12 +0800 Subject: [PATCH 0199/2192] chore: update babel monorepo (#2023) Co-authored-by: Renovate Bot --- yarn.lock | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/yarn.lock b/yarn.lock index bc8ca24d90..67505feb3c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3713,6 +3713,14 @@ compare-func@^1.3.1: array-ify "^1.0.0" dot-prop "^3.0.0" +compare-func@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz#fb65e75edbddfd2e568554e8b5b05fff7a51fcb3" + integrity sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA== + dependencies: + array-ify "^1.0.0" + dot-prop "^5.1.0" + compare-versions@^3.6.0: version "3.6.0" resolved "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz#1a5689913685e5a87637b8d3ffca75514ec41d62" @@ -3842,12 +3850,12 @@ conventional-changelog-codemirror@^0.3.8: dependencies: q "^1.5.1" -conventional-changelog-conventionalcommits@4.3.0: - version "4.3.0" - resolved "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.3.0.tgz#c4205a659f7ca9d7881f29ee78a4e7d6aeb8b3c2" - integrity sha512-oYHydvZKU+bS8LnGqTMlNrrd7769EsuEHKy4fh1oMdvvDi7fem8U+nvfresJ1IDB8K00Mn4LpiA/lR+7Gs6rgg== +conventional-changelog-conventionalcommits@4.3.1: + version "4.3.1" + resolved "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.3.1.tgz#69972639e526e39a24946cb033260648dfecdda0" + integrity sha512-EQa7TJzF7H4EMkfjjJV7d+gragejDqa8NirZnCfRpruCMZqRbAJ8DqmYbkHrYtBYicXqgfM0zkk6HlvLPcyOdQ== dependencies: - compare-func "^1.3.1" + compare-func "^2.0.0" lodash "^4.17.15" q "^1.5.1" @@ -4547,6 +4555,13 @@ dot-prop@^4.1.0, dot-prop@^4.2.0: dependencies: is-obj "^1.0.0" +dot-prop@^5.1.0: + version "5.2.0" + resolved "https://registry.npmjs.org/dot-prop/-/dot-prop-5.2.0.tgz#c34ecc29556dc45f1f4c22697b6f4904e0cc4fcb" + integrity sha512-uEUyaDKoSQ1M4Oq8l45hSE26SnTxL6snNnqvK/VWx5wJhmff5z0FUVJDKDanor/6w3kzE3i7XZOk+7wC0EXr1A== + dependencies: + is-obj "^2.0.0" + duplexer3@^0.1.4: version "0.1.4" resolved "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" @@ -6406,6 +6421,11 @@ is-obj@^1.0.0, is-obj@^1.0.1: resolved "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= +is-obj@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" + integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== + is-path-inside@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" From 5ebd41f80515b20301164b9ecb1c6c4910f1f8c9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 25 Jul 2020 12:48:23 +0800 Subject: [PATCH 0200/2192] chore: update dependency globby to v11.0.1 (#2024) Co-authored-by: Renovate Bot From 44144ca7ac2b8e748e717f2dc6be2c5b1ea1f124 Mon Sep 17 00:00:00 2001 From: escapedcat Date: Sat, 25 Jul 2020 13:05:34 +0800 Subject: [PATCH 0201/2192] chore: conventional-changelog-conventionalcommits to ^4.3.1 --- @commitlint/config-conventional/package.json | 2 +- .../parser-preset-conventional-without-factory/package.json | 2 +- .../fixtures/parser-preset-conventionalcommits/package.json | 2 +- yarn.lock | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index 70589f176b..99ae03b27a 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -36,7 +36,7 @@ "@commitlint/utils": "^9.1.2" }, "dependencies": { - "conventional-changelog-conventionalcommits": "4.3.1" + "conventional-changelog-conventionalcommits": "^4.3.1" }, "gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" } diff --git a/@commitlint/load/fixtures/parser-preset-conventional-without-factory/package.json b/@commitlint/load/fixtures/parser-preset-conventional-without-factory/package.json index bf73e5d3b9..0b3db72ca4 100644 --- a/@commitlint/load/fixtures/parser-preset-conventional-without-factory/package.json +++ b/@commitlint/load/fixtures/parser-preset-conventional-without-factory/package.json @@ -2,6 +2,6 @@ "name": "parser-preset-conventional-without-factory", "version": "1.0.0", "devDependencies": { - "conventional-changelog-conventionalcommits": "4.2.3" + "conventional-changelog-conventionalcommits": "^4.3.1" } } diff --git a/@commitlint/load/fixtures/parser-preset-conventionalcommits/package.json b/@commitlint/load/fixtures/parser-preset-conventionalcommits/package.json index ddf3e0fc81..2fe7e8cbba 100644 --- a/@commitlint/load/fixtures/parser-preset-conventionalcommits/package.json +++ b/@commitlint/load/fixtures/parser-preset-conventionalcommits/package.json @@ -2,6 +2,6 @@ "name": "parser-preset-conventionalcommits", "version": "1.0.0", "devDependencies": { - "conventional-changelog-conventionalcommits": "4.2.3" + "conventional-changelog-conventionalcommits": "^4.3.1" } } diff --git a/yarn.lock b/yarn.lock index 67505feb3c..b686fa2a70 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3850,7 +3850,7 @@ conventional-changelog-codemirror@^0.3.8: dependencies: q "^1.5.1" -conventional-changelog-conventionalcommits@4.3.1: +conventional-changelog-conventionalcommits@^4.3.1: version "4.3.1" resolved "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.3.1.tgz#69972639e526e39a24946cb033260648dfecdda0" integrity sha512-EQa7TJzF7H4EMkfjjJV7d+gragejDqa8NirZnCfRpruCMZqRbAJ8DqmYbkHrYtBYicXqgfM0zkk6HlvLPcyOdQ== From 5fd27fdcd2d88435257f888d832fc19c5bbc037f Mon Sep 17 00:00:00 2001 From: hannes Date: Sun, 26 Jul 2020 13:27:38 +0800 Subject: [PATCH 0202/2192] Chore/prettier 2.x (#2025) * chore: update dependency prettier to v2 * chore: update prettier to v2.x * chore: apply prettier v2.x format fixes * chore: only run all circle-ci tasks on node LTS * fix: run prettier fixes from docker (#2027) Co-authored-by: Renovate Bot Co-authored-by: Cedric van Putten --- .circleci/config.yml | 2 +- .eslintrc.js | 24 ++-- @alias/commitlint/cli.test.js | 6 +- @commitlint/cli/src/cli.test.ts | 6 +- @commitlint/cli/src/cli.ts | 62 +++++----- .../config-angular-type-enum/README.md | 8 +- @commitlint/config-angular-type-enum/index.js | 4 +- @commitlint/config-angular/index.js | 6 +- @commitlint/config-conventional/index.js | 10 +- @commitlint/config-conventional/index.test.js | 44 ++++---- @commitlint/config-lerna-scopes/index.js | 14 +-- @commitlint/config-lerna-scopes/index.test.js | 10 +- @commitlint/config-patternplate/index.js | 13 +-- @commitlint/core/src/core.ts | 2 +- @commitlint/ensure/jest.config.js | 2 +- @commitlint/ensure/src/index.test.ts | 8 +- @commitlint/ensure/src/max-line-length.ts | 2 +- @commitlint/execute-rule/jest.config.js | 2 +- @commitlint/format/README.md | 18 +-- @commitlint/format/jest.config.js | 2 +- @commitlint/format/src/format.test.ts | 106 +++++++++--------- @commitlint/format/src/format.ts | 12 +- @commitlint/is-ignored/src/defaults.ts | 2 +- @commitlint/is-ignored/src/is-ignored.test.ts | 24 ++-- @commitlint/is-ignored/src/is-ignored.ts | 6 +- @commitlint/lint/README.md | 4 +- @commitlint/lint/src/commit-message.ts | 2 +- @commitlint/lint/src/lint.test.ts | 86 +++++++------- @commitlint/lint/src/lint.ts | 26 +++-- @commitlint/load/README.md | 2 +- @commitlint/load/src/load.test.ts | 82 +++++++------- @commitlint/load/src/load.ts | 18 +-- .../load/src/utils/load-parser-opts.ts | 4 +- .../load/src/utils/load-plugin.test.ts | 4 +- @commitlint/load/src/utils/load-plugin.ts | 4 +- @commitlint/parse/src/index.test.ts | 43 ++++--- @commitlint/parse/src/index.ts | 2 +- @commitlint/prompt-cli/cli.js | 6 +- @commitlint/prompt-cli/cli.test.js | 2 +- @commitlint/prompt/src/input.js | 12 +- @commitlint/prompt/src/library/format.js | 2 +- .../prompt/src/library/get-forced-case-fn.js | 18 +-- .../src/library/get-forced-leading-fn.js | 6 +- .../prompt/src/library/get-has-name.js | 2 +- @commitlint/prompt/src/library/get-prompt.js | 28 ++--- .../prompt/src/library/get-prompt.test.js | 12 +- @commitlint/prompt/src/library/meta.js | 4 +- @commitlint/prompt/src/settings.js | 36 +++--- @commitlint/read/README.md | 4 +- @commitlint/read/src/get-edit-file-path.ts | 2 +- @commitlint/read/src/stream-to-promise.ts | 2 +- @commitlint/resolve-extends/jest.config.js | 2 +- @commitlint/resolve-extends/src/index.test.ts | 52 ++++----- @commitlint/resolve-extends/src/index.ts | 2 +- @commitlint/rules/src/body-case.test.ts | 4 +- @commitlint/rules/src/body-case.ts | 2 +- @commitlint/rules/src/body-empty.test.ts | 4 +- @commitlint/rules/src/body-empty.ts | 2 +- .../rules/src/body-leading-blank.test.ts | 4 +- @commitlint/rules/src/body-leading-blank.ts | 2 +- @commitlint/rules/src/body-max-length.test.ts | 4 +- @commitlint/rules/src/body-max-length.ts | 2 +- .../rules/src/body-max-line-length.test.ts | 4 +- @commitlint/rules/src/body-max-line-length.ts | 2 +- @commitlint/rules/src/body-min-length.test.ts | 4 +- @commitlint/rules/src/body-min-length.ts | 2 +- @commitlint/rules/src/footer-empty.test.ts | 4 +- @commitlint/rules/src/footer-empty.ts | 2 +- .../rules/src/footer-leading-blank.test.ts | 4 +- @commitlint/rules/src/footer-leading-blank.ts | 6 +- .../rules/src/footer-max-length.test.ts | 4 +- @commitlint/rules/src/footer-max-length.ts | 2 +- .../rules/src/footer-max-line-length.test.ts | 4 +- .../rules/src/footer-max-line-length.ts | 2 +- .../rules/src/footer-min-length.test.ts | 4 +- @commitlint/rules/src/footer-min-length.ts | 2 +- @commitlint/rules/src/header-case.test.ts | 16 +-- @commitlint/rules/src/header-case.ts | 10 +- .../rules/src/header-full-stop.test.ts | 4 +- @commitlint/rules/src/header-full-stop.ts | 2 +- .../rules/src/header-max-length.test.ts | 4 +- @commitlint/rules/src/header-max-length.ts | 4 +- .../rules/src/header-min-length.test.ts | 4 +- @commitlint/rules/src/header-min-length.ts | 4 +- @commitlint/rules/src/index.test.ts | 4 +- @commitlint/rules/src/index.ts | 2 +- .../rules/src/references-empty.test.ts | 6 +- @commitlint/rules/src/references-empty.ts | 2 +- @commitlint/rules/src/scope-case.test.ts | 16 +-- @commitlint/rules/src/scope-case.ts | 12 +- @commitlint/rules/src/scope-empty.test.ts | 4 +- @commitlint/rules/src/scope-empty.ts | 2 +- @commitlint/rules/src/scope-enum.test.ts | 4 +- @commitlint/rules/src/scope-enum.ts | 6 +- .../rules/src/scope-max-length.test.ts | 4 +- @commitlint/rules/src/scope-max-length.ts | 2 +- .../rules/src/scope-min-length.test.ts | 4 +- @commitlint/rules/src/scope-min-length.ts | 2 +- @commitlint/rules/src/signed-off-by.test.ts | 4 +- @commitlint/rules/src/signed-off-by.ts | 2 +- @commitlint/rules/src/subject-case.test.ts | 16 +-- @commitlint/rules/src/subject-case.ts | 10 +- @commitlint/rules/src/subject-empty.test.ts | 4 +- @commitlint/rules/src/subject-empty.ts | 2 +- .../rules/src/subject-full-stop.test.ts | 4 +- @commitlint/rules/src/subject-full-stop.ts | 2 +- .../rules/src/subject-max-length.test.ts | 4 +- @commitlint/rules/src/subject-max-length.ts | 2 +- .../rules/src/subject-min-length.test.ts | 4 +- @commitlint/rules/src/subject-min-length.ts | 2 +- @commitlint/rules/src/type-case.test.ts | 18 +-- @commitlint/rules/src/type-case.ts | 10 +- @commitlint/rules/src/type-empty.test.ts | 4 +- @commitlint/rules/src/type-empty.ts | 2 +- @commitlint/rules/src/type-enum.test.ts | 4 +- @commitlint/rules/src/type-enum.ts | 4 +- @commitlint/rules/src/type-max-length.test.ts | 4 +- @commitlint/rules/src/type-max-length.ts | 2 +- @commitlint/rules/src/type-min-length.test.ts | 4 +- @commitlint/rules/src/type-min-length.ts | 2 +- @commitlint/to-lines/jest.config.js | 2 +- @commitlint/to-lines/src/index.test.ts | 2 +- @commitlint/travis-cli/src/cli.js | 12 +- @commitlint/travis-cli/src/cli.test.js | 24 ++-- @commitlint/types/src/rules.ts | 4 +- @packages/babel-preset-commitlint/index.js | 14 +-- @packages/test/src/fix.ts | 2 +- @packages/test/src/git.ts | 2 +- @packages/utils/dep-check.js | 8 +- @packages/utils/pkg-check.js | 52 ++++----- babel.config.js | 2 +- docs/concepts-shareable-config.md | 8 +- docs/guides-upgrade.md | 4 +- docs/reference-api.md | 68 +++++------ docs/reference-configuration.md | 24 ++-- docs/reference-plugins.md | 18 +-- jest.config.js | 2 +- package.json | 2 +- yarn.lock | 8 +- 139 files changed, 705 insertions(+), 715 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 85b48d6452..268a3b08ae 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -90,7 +90,7 @@ jobs: docker: - image: node:14 steps: - - run-all + - run-tests windows-v12: executor: win/default steps: diff --git a/.eslintrc.js b/.eslintrc.js index 404882ffab..21cb57c31e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -3,14 +3,14 @@ module.exports = { plugins: ['@typescript-eslint', 'jest', 'import'], env: { es6: true, - node: true + node: true, }, parserOptions: { sourceType: 'module', ecmaVersion: 11, ecmaFeatures: { - jsx: false - } + jsx: false, + }, }, extends: ['eslint:recommended', 'prettier'], rules: { @@ -25,7 +25,7 @@ module.exports = { // Prevent importing the default as if it were named 'import/no-named-default': 'error', // Forbid a module from importing itself - 'import/no-self-import': 'error' + 'import/no-self-import': 'error', // Enable after https://github.com/benmosher/eslint-plugin-import/issues/1650 is fixed // Forbid the use of extraneous packages @@ -41,7 +41,7 @@ module.exports = { extends: [ 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', - 'prettier/@typescript-eslint' + 'prettier/@typescript-eslint', ], rules: { '@typescript-eslint/no-unused-vars': 'off', @@ -54,21 +54,21 @@ module.exports = { // TODO: enable those rules? 'no-empty': 'off', - 'no-var': 'off' - } + 'no-var': 'off', + }, }, { files: ['*.test.ts', '*.test.js'], env: { - jest: true + jest: true, }, extends: ['plugin:jest/recommended'], rules: { '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-var-requires': 'off', // disallow non-import statements appearing before import statements - 'import/first': 'off' - } - } - ] + 'import/first': 'off', + }, + }, + ], }; diff --git a/@alias/commitlint/cli.test.js b/@alias/commitlint/cli.test.js index ad5110be83..390b1672f1 100644 --- a/@alias/commitlint/cli.test.js +++ b/@alias/commitlint/cli.test.js @@ -7,12 +7,12 @@ function cli(args, options, input) { const c = execa(bin, args, { cwd: options.cwd, env: options.env, - input: input + input: input, }); - return c.catch(err => err); + return c.catch((err) => err); } -const fixBootstrap = fixture => fix.bootstrap(fixture, __dirname); +const fixBootstrap = (fixture) => fix.bootstrap(fixture, __dirname); test('should reprint input from stdin', async () => { const cwd = await fixBootstrap('fixtures/default'); diff --git a/@commitlint/cli/src/cli.test.ts b/@commitlint/cli/src/cli.test.ts index 10f397cf4f..333dbc27d9 100644 --- a/@commitlint/cli/src/cli.test.ts +++ b/@commitlint/cli/src/cli.test.ts @@ -17,7 +17,7 @@ const cli = (args: string[], options: TestOptions) => { cwd: options.cwd, env: options.env, input: input, - reject: false + reject: false, }); }; }; @@ -239,7 +239,7 @@ test('should allow reading of environment variables for edit file, succeeding if await fs.writeFile(path.join(cwd, 'commit-msg-file'), 'foo'); const actual = await cli(['--env', 'variable'], { cwd, - env: {variable: 'commit-msg-file'} + env: {variable: 'commit-msg-file'}, })(); expect(actual.exitCode).toBe(0); }); @@ -252,7 +252,7 @@ test('should allow reading of environment variables for edit file, failing if in ); const actual = await cli(['--env', 'variable'], { cwd, - env: {variable: 'commit-msg-file'} + env: {variable: 'commit-msg-file'}, })(); expect(actual.exitCode).toBe(1); }); diff --git a/@commitlint/cli/src/cli.ts b/@commitlint/cli/src/cli.ts index 6af2663f88..e1d7b5bfb5 100644 --- a/@commitlint/cli/src/cli.ts +++ b/@commitlint/cli/src/cli.ts @@ -14,7 +14,7 @@ import { ParserOptions, ParserPreset, QualifiedConfig, - Formatter + Formatter, } from '@commitlint/types'; import {CliError} from './cli-error'; @@ -26,77 +26,77 @@ const cli = yargs alias: 'c', default: true, description: 'toggle colored output', - type: 'boolean' + type: 'boolean', }, config: { alias: 'g', description: 'path to the config file', - type: 'string' + type: 'string', }, cwd: { alias: 'd', default: process.cwd(), defaultDescription: '(Working Directory)', description: 'directory to execute in', - type: 'string' + type: 'string', }, edit: { alias: 'e', default: false, description: 'read last commit message from the specified file or fallbacks to ./.git/COMMIT_EDITMSG', - type: 'string' + type: 'string', }, env: { alias: 'E', description: 'check message in the file at path given by environment variable value', - type: 'string' + type: 'string', }, extends: { alias: 'x', description: 'array of shareable configurations to extend', - type: 'array' + type: 'array', }, 'help-url': { alias: 'H', type: 'string', - description: 'help url in error message' + description: 'help url in error message', }, from: { alias: 'f', description: 'lower end of the commit range to lint; applies if edit=false', - type: 'string' + type: 'string', }, format: { alias: 'o', description: 'output format of the results', - type: 'string' + type: 'string', }, 'parser-preset': { alias: 'p', description: 'configuration preset to use for conventional-commits-parser', - type: 'string' + type: 'string', }, quiet: { alias: 'q', default: false, description: 'toggle console output', - type: 'boolean' + type: 'boolean', }, to: { alias: 't', description: 'upper end of the commit range to lint; applies if edit=false', - type: 'string' + type: 'string', }, verbose: { alias: 'V', type: 'boolean', - description: 'enable verbose output for reports without problems' - } + description: 'enable verbose output for reports without problems', + }, }) .version( 'version', @@ -112,7 +112,7 @@ const cli = yargs ) .strict(); -main(cli.argv).catch(err => { +main(cli.argv).catch((err) => { setTimeout(() => { if (err.type === pkg.name) { process.exit(1); @@ -132,12 +132,12 @@ async function main(options: CliFlags) { to: flags.to, from: flags.from, edit: flags.edit, - cwd: flags.cwd + cwd: flags.cwd, })); const messages = (Array.isArray(input) ? input : [input]) - .filter(message => typeof message === 'string') - .filter(message => message.trim() !== '') + .filter((message) => typeof message === 'string') + .filter((message) => message.trim() !== '') .filter(Boolean); if (messages.length === 0 && !checkFromRepository(flags)) { @@ -157,7 +157,7 @@ async function main(options: CliFlags) { parserOpts: {}, plugins: {}, ignores: [], - defaultIgnores: true + defaultIgnores: true, }; if (parserOpts) { opts.parserOpts = parserOpts; @@ -179,7 +179,7 @@ async function main(options: CliFlags) { } const results = await Promise.all( - messages.map(message => lint(message, loaded.rules, opts)) + messages.map((message) => lint(message, loaded.rules, opts)) ); if (Object.keys(loaded.rules).length === 0) { @@ -199,12 +199,12 @@ async function main(options: CliFlags) { message: [ 'Please add rules to your `commitlint.config.js`', ' - Getting started guide: https://git.io/fhHij', - ' - Example config: https://git.io/fhHip' - ].join('\n') - } + ' - Example config: https://git.io/fhHip', + ].join('\n'), + }, ], warnings: [], - input + input, }); } @@ -226,7 +226,7 @@ async function main(options: CliFlags) { valid: true, errorCount: 0, warningCount: 0, - results: [] + results: [], } ); @@ -235,7 +235,7 @@ async function main(options: CliFlags) { verbose: flags.verbose, helpUrl: flags['help-url'] ? flags['help-url'].trim() - : 'https://github.com/conventional-changelog/commitlint/#what-is-commitlint' + : 'https://github.com/conventional-changelog/commitlint/#what-is-commitlint', }); if (!flags.quiet && output !== '') { @@ -267,7 +267,7 @@ function normalizeFlags(flags: CliFlags): CliFlags { const edit = getEditValue(flags); return { ...flags, - edit + edit, }; } @@ -275,11 +275,7 @@ function getEditValue(flags: CliFlags) { if (flags.env) { if (!(flags.env in process.env)) { throw new Error( - `Recieved '${ - flags.env - }' as value for -E | --env, but environment variable '${ - flags.env - }' is not available globally` + `Recieved '${flags.env}' as value for -E | --env, but environment variable '${flags.env}' is not available globally` ); } return process.env[flags.env]; diff --git a/@commitlint/config-angular-type-enum/README.md b/@commitlint/config-angular-type-enum/README.md index ad912be470..900ed600b2 100644 --- a/@commitlint/config-angular-type-enum/README.md +++ b/@commitlint/config-angular-type-enum/README.md @@ -28,14 +28,14 @@ const types = require('@commitlint/config-angular-type-enum'); // Use as rule creating errors for non-allowed types module.exports = { rules: { - ...types.rules - } + ...types.rules, + }, }; // Warn for non-allowed types module.exports = { rules: { - 'type-enum': [1, 'always', types.values()] - } + 'type-enum': [1, 'always', types.values()], + }, }; ``` diff --git a/@commitlint/config-angular-type-enum/index.js b/@commitlint/config-angular-type-enum/index.js index 4d9ff71ab8..3818ada7b6 100644 --- a/@commitlint/config-angular-type-enum/index.js +++ b/@commitlint/config-angular-type-enum/index.js @@ -8,11 +8,11 @@ const types = [ 'refactor', 'revert', 'style', - 'test' + 'test', ]; module.exports.rules = { - 'type-enum': [2, 'always', types] + 'type-enum': [2, 'always', types], }; module.exports.value = () => types; diff --git a/@commitlint/config-angular/index.js b/@commitlint/config-angular/index.js index 00c76b49d3..57c82621c7 100644 --- a/@commitlint/config-angular/index.js +++ b/@commitlint/config-angular/index.js @@ -9,12 +9,12 @@ module.exports = { 'subject-case': [ 2, 'never', - ['sentence-case', 'start-case', 'pascal-case', 'upper-case'] + ['sentence-case', 'start-case', 'pascal-case', 'upper-case'], ], 'subject-empty': [2, 'never'], 'subject-full-stop': [2, 'never', '.'], 'type-case': [2, 'always', 'lower-case'], 'type-empty': [2, 'never'], - 'type-enum': typeEnum.rules['type-enum'] - } + 'type-enum': typeEnum.rules['type-enum'], + }, }; diff --git a/@commitlint/config-conventional/index.js b/@commitlint/config-conventional/index.js index f7bff45ce8..cac9d3017f 100644 --- a/@commitlint/config-conventional/index.js +++ b/@commitlint/config-conventional/index.js @@ -10,7 +10,7 @@ module.exports = { 'subject-case': [ 2, 'never', - ['sentence-case', 'start-case', 'pascal-case', 'upper-case'] + ['sentence-case', 'start-case', 'pascal-case', 'upper-case'], ], 'subject-empty': [2, 'never'], 'subject-full-stop': [2, 'never', '.'], @@ -30,8 +30,8 @@ module.exports = { 'refactor', 'revert', 'style', - 'test' - ] - ] - } + 'test', + ], + ], + }, }; diff --git a/@commitlint/config-conventional/index.test.js b/@commitlint/config-conventional/index.test.js index ac0a0c2ecb..7f05f14ce2 100644 --- a/@commitlint/config-conventional/index.test.js +++ b/@commitlint/config-conventional/index.test.js @@ -10,7 +10,7 @@ const messages = { 'fix(scope): Some message', 'fix(scope): Some Message', 'fix(scope): SomeMessage', - 'fix(scope): SOMEMESSAGE' + 'fix(scope): SOMEMESSAGE', ], invalidSubjectEmpty: 'fix:', invalidSubjectFullStop: 'fix: some message.', @@ -28,8 +28,8 @@ const messages = { 'fix(scope): some message', 'fix(scope): some Message', 'fix(scope): some message\n\nBREAKING CHANGE: it will be significant!', - 'fix(scope): some message\n\nbody' - ] + 'fix(scope): some message\n\nbody', + ], }; const errors = { @@ -38,64 +38,64 @@ const errors = { message: 'type must be one of [build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test]', name: 'type-enum', - valid: false + valid: false, }, typeCase: { level: 2, message: 'type must be lower-case', name: 'type-case', - valid: false + valid: false, }, typeEmpty: { level: 2, message: 'type may not be empty', name: 'type-empty', - valid: false + valid: false, }, scopeCase: { level: 2, message: 'scope must be lower-case', name: 'scope-case', - valid: false + valid: false, }, subjectCase: { level: 2, message: 'subject must not be sentence-case, start-case, pascal-case, upper-case', name: 'subject-case', - valid: false + valid: false, }, subjectEmpty: { level: 2, message: 'subject may not be empty', name: 'subject-empty', - valid: false + valid: false, }, subjectFullStop: { level: 2, message: 'subject may not end with full stop', name: 'subject-full-stop', - valid: false + valid: false, }, headerMaxLength: { level: 2, message: 'header must not be longer than 100 characters, current length is 112', name: 'header-max-length', - valid: false + valid: false, }, footerMaxLineLength: { level: 2, message: "footer's lines must not be longer than 100 characters", name: 'footer-max-line-length', - valid: false + valid: false, }, bodyMaxLineLength: { level: 2, message: "body's lines must not be longer than 100 characters", name: 'body-max-line-length', - valid: false - } + valid: false, + }, }; const warnings = { @@ -103,14 +103,14 @@ const warnings = { level: 1, message: 'footer must have leading blank line', name: 'footer-leading-blank', - valid: false + valid: false, }, bodyLeadingBlank: { level: 1, message: 'body must have leading blank line', name: 'body-leading-blank', - valid: false - } + valid: false, + }, }; test('type-enum', async () => { @@ -143,10 +143,12 @@ test('scope-case', async () => { test('subject-case', async () => { const invalidInputs = await Promise.all( - messages.invalidSubjectCases.map(invalidInput => lint(invalidInput, rules)) + messages.invalidSubjectCases.map((invalidInput) => + lint(invalidInput, rules) + ) ); - invalidInputs.forEach(result => { + invalidInputs.forEach((result) => { expect(result.valid).toBe(false); expect(result.errors).toEqual([errors.subjectCase]); }); @@ -203,10 +205,10 @@ test('body-max-line-length', async () => { test('valid messages', async () => { const validInputs = await Promise.all( - messages.validMessages.map(input => lint(input, rules)) + messages.validMessages.map((input) => lint(input, rules)) ); - validInputs.forEach(result => { + validInputs.forEach((result) => { expect(result.valid).toBe(true); expect(result.errors).toEqual([]); expect(result.warnings).toEqual([]); diff --git a/@commitlint/config-lerna-scopes/index.js b/@commitlint/config-lerna-scopes/index.js index 9a9a780255..8ad84c3502 100644 --- a/@commitlint/config-lerna-scopes/index.js +++ b/@commitlint/config-lerna-scopes/index.js @@ -6,9 +6,9 @@ const semver = require('semver'); module.exports = { utils: {getPackages}, rules: { - 'scope-enum': ctx => - getPackages(ctx).then(packages => [2, 'always', packages]) - } + 'scope-enum': (ctx) => + getPackages(ctx).then((packages) => [2, 'always', packages]), + }, }; function getPackages(context) { @@ -25,7 +25,7 @@ function getPackages(context) { const repository = new Repository(cwd); return PackageUtilities.getPackages({ packageConfigs: repository.packageConfigs, - rootPath: cwd + rootPath: cwd, }); } @@ -33,10 +33,10 @@ function getPackages(context) { const project = new Project(cwd); return project.getPackages(); }) - .then(packages => { + .then((packages) => { return packages - .map(pkg => pkg.name) - .map(name => (name.charAt(0) === '@' ? name.split('/')[1] : name)); + .map((pkg) => pkg.name) + .map((name) => (name.charAt(0) === '@' ? name.split('/')[1] : name)); }); } diff --git a/@commitlint/config-lerna-scopes/index.test.js b/@commitlint/config-lerna-scopes/index.test.js index c7661b833e..1c1b1797b1 100644 --- a/@commitlint/config-lerna-scopes/index.test.js +++ b/@commitlint/config-lerna-scopes/index.test.js @@ -8,23 +8,23 @@ test('exports rules key', () => { test('rules hold object', () => { expect(config).toMatchObject({ - rules: expect.any(Object) + rules: expect.any(Object), }); }); test('rules contain scope-enum', () => { expect(config).toMatchObject({ rules: { - 'scope-enum': expect.anything() - } + 'scope-enum': expect.anything(), + }, }); }); test('scope-enum is function', () => { expect(config).toMatchObject({ rules: { - 'scope-enum': expect.any(Function) - } + 'scope-enum': expect.any(Function), + }, }); }); diff --git a/@commitlint/config-patternplate/index.js b/@commitlint/config-patternplate/index.js index 905613babe..38755dc112 100644 --- a/@commitlint/config-patternplate/index.js +++ b/@commitlint/config-patternplate/index.js @@ -4,23 +4,20 @@ const merge = require('lodash/merge'); function pathToId(root, filePath) { const relativePath = path.relative(root, filePath); - return path - .dirname(relativePath) - .split(path.sep) - .join('/'); + return path.dirname(relativePath).split(path.sep).join('/'); } function getPatternIDs() { const root = path.resolve(process.cwd(), './patterns'); const glob = path.resolve(root, '**/pattern.json'); - return globby(glob).then(results => - results.map(result => pathToId(root, result)) + return globby(glob).then((results) => + results.map((result) => pathToId(root, result)) ); } module.exports = merge(require('@commitlint/config-angular'), { rules: { 'scope-enum': () => - getPatternIDs().then(ids => [2, 'always', ids.concat(['system'])]) - } + getPatternIDs().then((ids) => [2, 'always', ids.concat(['system'])]), + }, }); diff --git a/@commitlint/core/src/core.ts b/@commitlint/core/src/core.ts index 2ca69e66be..614c17ac14 100644 --- a/@commitlint/core/src/core.ts +++ b/@commitlint/core/src/core.ts @@ -7,5 +7,5 @@ export = { format, load, lint, - read + read, }; diff --git a/@commitlint/ensure/jest.config.js b/@commitlint/ensure/jest.config.js index 20d2ea60f5..1be638f622 100644 --- a/@commitlint/ensure/jest.config.js +++ b/@commitlint/ensure/jest.config.js @@ -1,4 +1,4 @@ module.exports = { preset: 'ts-jest', - testEnvironment: 'node' + testEnvironment: 'node', }; diff --git a/@commitlint/ensure/src/index.test.ts b/@commitlint/ensure/src/index.test.ts index 21e3147f31..93c23c2188 100644 --- a/@commitlint/ensure/src/index.test.ts +++ b/@commitlint/ensure/src/index.test.ts @@ -6,22 +6,22 @@ import * as ensure from '.'; test('exports all checkers', async () => { const ignore = ['types']; const expected = (await glob('*.ts')) - .map(f => camelCase(f)) + .map((f) => camelCase(f)) .sort() - .filter(item => !ignore.includes(item)); + .filter((item) => !ignore.includes(item)); const actual = Object.keys(ensure).sort(); expect(actual).toEqual(expected); }); test('rules export functions', () => { const actual = Object.values(ensure); - expect(actual.every(rule => typeof rule === 'function')).toBe(true); + expect(actual.every((rule) => typeof rule === 'function')).toBe(true); }); async function glob(pattern: string): Promise { const files = await globby(pattern, { ignore: ['**/index.ts', '**/*.test.ts'], - cwd: __dirname + cwd: __dirname, }); return files.map(relative).map(toExport); } diff --git a/@commitlint/ensure/src/max-line-length.ts b/@commitlint/ensure/src/max-line-length.ts index 6132b3daa6..6b607e98fe 100644 --- a/@commitlint/ensure/src/max-line-length.ts +++ b/@commitlint/ensure/src/max-line-length.ts @@ -2,4 +2,4 @@ import ensure from './max-length'; export default (value: string, max: number): boolean => typeof value === 'string' && - value.split(/\r?\n/).every(line => ensure(line, max)); + value.split(/\r?\n/).every((line) => ensure(line, max)); diff --git a/@commitlint/execute-rule/jest.config.js b/@commitlint/execute-rule/jest.config.js index 20d2ea60f5..1be638f622 100644 --- a/@commitlint/execute-rule/jest.config.js +++ b/@commitlint/execute-rule/jest.config.js @@ -1,4 +1,4 @@ module.exports = { preset: 'ts-jest', - testEnvironment: 'node' + testEnvironment: 'node', }; diff --git a/@commitlint/format/README.md b/@commitlint/format/README.md index 7bd79eab97..284829f948 100644 --- a/@commitlint/format/README.md +++ b/@commitlint/format/README.md @@ -27,28 +27,28 @@ const output = format( valid: false, level: 2, name: 'some-error', - message: 'This will show up red as it has level 2' - } + message: 'This will show up red as it has level 2', + }, ], warnings: [ { valid: true, level: 0, name: 'some-hint', - message: 'This will not show up as it has level 0' + message: 'This will not show up as it has level 0', }, { valid: false, level: 1, name: 'some-warning', - message: 'This will show up yellow as it has level 1' - } - ] - } - ] + message: 'This will show up yellow as it has level 1', + }, + ], + }, + ], }, { - color: false + color: false, } ); diff --git a/@commitlint/format/jest.config.js b/@commitlint/format/jest.config.js index 20d2ea60f5..1be638f622 100644 --- a/@commitlint/format/jest.config.js +++ b/@commitlint/format/jest.config.js @@ -1,4 +1,4 @@ module.exports = { preset: 'ts-jest', - testEnvironment: 'node' + testEnvironment: 'node', }; diff --git a/@commitlint/format/src/format.test.ts b/@commitlint/format/src/format.test.ts index 522dc9add0..745da36b21 100644 --- a/@commitlint/format/src/format.test.ts +++ b/@commitlint/format/src/format.test.ts @@ -21,12 +21,12 @@ test('returns empty summary if verbose', () => { results: [ { errors: [], - warnings: [] - } - ] + warnings: [], + }, + ], }, { - verbose: true + verbose: true, } ); @@ -41,11 +41,11 @@ test('returns a correct summary of empty .errors and .warnings', () => { { level: 2, name: 'error-name', - message: 'There was an error' - } - ] - } - ] + message: 'There was an error', + }, + ], + }, + ], }); const actualWarning = format({ @@ -55,11 +55,11 @@ test('returns a correct summary of empty .errors and .warnings', () => { { level: 1, name: 'warning-name', - message: 'There was a problem' - } - ] - } - ] + message: 'There was a problem', + }, + ], + }, + ], }); expect(actualError).toContain('There was an error'); @@ -76,11 +76,11 @@ test('uses appropriate signs by default', () => { { level: 2, name: 'error-name', - message: 'There was an error' - } - ] - } - ] + message: 'There was an error', + }, + ], + }, + ], }); const actualWarning = format({ @@ -90,11 +90,11 @@ test('uses appropriate signs by default', () => { { level: 1, name: 'warning-name', - message: 'There was a problem' - } - ] - } - ] + message: 'There was a problem', + }, + ], + }, + ], }); expect(actualError).toContain('✖'); @@ -111,11 +111,11 @@ test('uses signs as configured', () => { { level: 2, name: 'error-name', - message: 'There was an error' - } - ] - } - ] + message: 'There was an error', + }, + ], + }, + ], }, options ); @@ -128,11 +128,11 @@ test('uses signs as configured', () => { { level: 1, name: 'warning-name', - message: 'There was a problem' - } - ] - } - ] + message: 'There was a problem', + }, + ], + }, + ], }, options ); @@ -153,9 +153,9 @@ test('format result transforms error to text', () => { { level: 2, name: 'error-name', - message: 'There was an error' - } - ] + message: 'There was an error', + }, + ], }); const actualText = actual.join('\n'); @@ -171,9 +171,9 @@ test('format result transforms warning to text', () => { { level: 1, name: 'warning-name', - message: 'There was a warning' - } - ] + message: 'There was a warning', + }, + ], }); const actualText = actual.join('\n'); @@ -190,12 +190,12 @@ test('format result prints help for errors', () => { { level: 2, name: 'error-name', - message: 'There was an error' - } - ] + message: 'There was an error', + }, + ], }, { - helpUrl: 'https://example.com' + helpUrl: 'https://example.com', } ); @@ -211,12 +211,12 @@ test('format result prints help for warnings', () => { { level: 2, name: 'warning-name', - message: 'There was a warning' - } - ] + message: 'There was a warning', + }, + ], }, { - helpUrl: 'https://example.com' + helpUrl: 'https://example.com', } ); @@ -234,12 +234,12 @@ test('format result help cotains options.helpUrl', () => { { level: 2, name: 'warning-name', - message: 'There was a warning' - } - ] + message: 'There was a warning', + }, + ], }, { - helpUrl + helpUrl, } ); @@ -250,7 +250,7 @@ test('format result help cotains options.helpUrl', () => { test('format result omits help for empty problems', () => { const actual = formatResult({ - warnings: [] + warnings: [], }); expect(actual).not.toEqual( diff --git a/@commitlint/format/src/format.ts b/@commitlint/format/src/format.ts index cf75cf824d..a0707ca413 100644 --- a/@commitlint/format/src/format.ts +++ b/@commitlint/format/src/format.ts @@ -4,7 +4,7 @@ import { FormattableReport, FormatOptions, FormattableResult, - WithInput + WithInput, } from '@commitlint/types'; const DEFAULT_SIGNS = [' ', '⚠', '✖'] as const; @@ -20,8 +20,8 @@ export function format( const fr = (result: FormattableResult) => formatResult(result, options); return results - .filter(r => Array.isArray(r.warnings) || Array.isArray(r.errors)) - .map(result => [...fi(result), ...fr(result)]) + .filter((r) => Array.isArray(r.warnings) || Array.isArray(r.errors)) + .map((result) => [...fi(result), ...fr(result)]) .reduce( (acc, item) => (Array.isArray(item) ? [...acc, ...item] : [...acc, item]), [] @@ -59,11 +59,11 @@ export function formatResult( const { signs = DEFAULT_SIGNS, colors = DEFAULT_COLORS, - color: enabled = true + color: enabled = true, } = options; const {errors = [], warnings = []} = result; - const problems = [...errors, ...warnings].map(problem => { + const problems = [...errors, ...warnings].map((problem) => { const sign = signs[problem.level] || ''; const color: ChalkColor = colors[problem.level] || ('white' as const); const decoration = enabled ? ((chalk as any)[color] as any)(sign) : sign; @@ -96,7 +96,7 @@ export function formatResult( hasProblems ? '' : undefined, fmtSummary, help, - help ? '' : undefined + help ? '' : undefined, ].filter((line): line is string => typeof line === 'string'); } diff --git a/@commitlint/is-ignored/src/defaults.ts b/@commitlint/is-ignored/src/defaults.ts index 59a5884922..79ef2c18fb 100644 --- a/@commitlint/is-ignored/src/defaults.ts +++ b/@commitlint/is-ignored/src/defaults.ts @@ -24,5 +24,5 @@ export const wildcards: Matcher[] = [ test(/^Merged (.*?)(in|into) (.*)/), test(/^Merge remote-tracking branch (.*)/), test(/^Automatic merge(.*)/), - test(/^Auto-merged (.*?) into (.*)/) + test(/^Auto-merged (.*?) into (.*)/), ]; diff --git a/@commitlint/is-ignored/src/is-ignored.test.ts b/@commitlint/is-ignored/src/is-ignored.test.ts index e50524dc9c..b2fe87d00f 100644 --- a/@commitlint/is-ignored/src/is-ignored.test.ts +++ b/@commitlint/is-ignored/src/is-ignored.test.ts @@ -14,20 +14,20 @@ const VERSION_MESSAGES = [ '0.0.1-some-crazy-tag.999', '0.0.1-1e69d54', 'v0.0.1', - ' v3.0.0' + ' v3.0.0', ]; const AMENDMENTS = [ 'Signed-off-by: Developer ', 'Change-Id: I895114872a515a269487a683124b63303818e19c', - 'Signed-off-by: Developer \nChange-Id: I895114872a515a269487a683124b63303818e19c' + 'Signed-off-by: Developer \nChange-Id: I895114872a515a269487a683124b63303818e19c', ]; const AMENDED_VERSION_MESSAGES = VERSION_MESSAGES.reduce( (results, message) => { return [ ...results, - ...AMENDMENTS.map(amendment => `${message}\n\n${amendment}`) + ...AMENDMENTS.map((amendment) => `${message}\n\n${amendment}`), ]; }, [] @@ -84,20 +84,20 @@ test('should return true for revert commits', () => { }); test('should ignore npm semver commits', () => { - VERSION_MESSAGES.forEach(message => expect(isIgnored(message)).toBe(true)); + VERSION_MESSAGES.forEach((message) => expect(isIgnored(message)).toBe(true)); }); test('should ignore npm semver commits with chore', () => { - VERSION_MESSAGES.forEach(message => + VERSION_MESSAGES.forEach((message) => expect(isIgnored(`chore: ${message}`)).toBe(true) ); - VERSION_MESSAGES.forEach(message => + VERSION_MESSAGES.forEach((message) => expect(isIgnored(`chore(release): ${message}`)).toBe(true) ); }); test('should ignore npm semver commits with footers', () => { - AMENDED_VERSION_MESSAGES.forEach(message => + AMENDED_VERSION_MESSAGES.forEach((message) => expect(isIgnored(message)).toBe(true) ); }); @@ -131,7 +131,7 @@ test('should return false for commits containing, but not starting, with merge b test('should return false for ignored message if defaults is false', () => { expect( isIgnored('Auto-merged develop into master', { - defaults: false + defaults: false, }) ).toBe(false); }); @@ -139,7 +139,7 @@ test('should return false for ignored message if defaults is false', () => { test('should return false for ignored message if custom ignores and defaults is false', () => { expect( isIgnored('Auto-merged develop into master', { - defaults: false + defaults: false, }) ).toBe(false); }); @@ -148,7 +148,7 @@ test('should throw error if ignores is not an array', () => { const ignoredString = 'this should be ignored'; expect(() => { isIgnored(ignoredString, { - ignores: 'throws error' + ignores: 'throws error', } as any); }).toThrow('ignores must be of type array, received '); }); @@ -157,7 +157,7 @@ test('should return true for custom ignores as function', () => { const ignoredString = 'this should be ignored'; expect( isIgnored(ignoredString, { - ignores: [c => c === ignoredString] + ignores: [(c) => c === ignoredString], }) ).toBe(true); }); @@ -166,7 +166,7 @@ test('should throw error if any element of ignores is not a function', () => { const ignoredString = 'this should be ignored'; expect(() => { isIgnored(ignoredString, { - ignores: ['throws error'] + ignores: ['throws error'], } as any); }).toThrow('ignores must be array of type function, received items of type:'); }); diff --git a/@commitlint/is-ignored/src/is-ignored.ts b/@commitlint/is-ignored/src/is-ignored.ts index 42ba3c8cc0..716b45b9d0 100644 --- a/@commitlint/is-ignored/src/is-ignored.ts +++ b/@commitlint/is-ignored/src/is-ignored.ts @@ -13,16 +13,16 @@ export default function isIgnored( ); } - const invalids = ignores.filter(c => typeof c !== 'function'); + const invalids = ignores.filter((c) => typeof c !== 'function'); if (invalids.length > 0) { throw new Error( `ignores must be array of type function, received items of type: ${invalids - .map(i => typeof i) + .map((i) => typeof i) .join(', ')}` ); } const base = opts.defaults === false ? [] : wildcards; - return [...base, ...ignores].some(w => w(commit)); + return [...base, ...ignores].some((w) => w(commit)); } diff --git a/@commitlint/lint/README.md b/@commitlint/lint/README.md index 9f766bd597..acac11e96e 100644 --- a/@commitlint/lint/README.md +++ b/@commitlint/lint/README.md @@ -13,12 +13,12 @@ npm install --save @commitlint/lint ```js const lint = require('@commitlint/lint'); -lint('foo: bar', {'type-enum': [1, 'always', ['foo']]}).then(report => +lint('foo: bar', {'type-enum': [1, 'always', ['foo']]}).then((report) => console.log(report) ); // => { valid: true, errors: [], warnings: [] } -lint('foo: bar', {'type-enum': [1, 'always', ['bar']]}).then(report => +lint('foo: bar', {'type-enum': [1, 'always', ['bar']]}).then((report) => console.log(report) ); /* => diff --git a/@commitlint/lint/src/commit-message.ts b/@commitlint/lint/src/commit-message.ts index e27cdc82e3..2b1b2f011e 100644 --- a/@commitlint/lint/src/commit-message.ts +++ b/@commitlint/lint/src/commit-message.ts @@ -7,7 +7,7 @@ export interface CommitMessageData { export const buildCommitMesage = ({ header, body, - footer + footer, }: CommitMessageData): string => { let message = header; diff --git a/@commitlint/lint/src/lint.test.ts b/@commitlint/lint/src/lint.test.ts index 9e4122cff2..ea94b0b9c4 100644 --- a/@commitlint/lint/src/lint.test.ts +++ b/@commitlint/lint/src/lint.test.ts @@ -9,7 +9,7 @@ test('positive on empty message', async () => { expect(await lint('')).toMatchObject({ valid: true, errors: [], - warnings: [] + warnings: [], }); }); @@ -20,21 +20,21 @@ test('positive on stub message and no rule', async () => { test('positive on stub message and adhered rule', async () => { const actual = await lint('foo: bar', { - 'type-enum': [2, 'always', ['foo']] + 'type-enum': [2, 'always', ['foo']], }); expect(actual.valid).toBe(true); }); test('negative on stub message and broken rule', async () => { const actual = await lint('foo: bar', { - 'type-enum': [2, 'never', ['foo']] + 'type-enum': [2, 'never', ['foo']], }); expect(actual.valid).toBe(false); }); test('positive on ignored message and broken rule', async () => { const actual = await lint('Revert "some bogus commit"', { - 'type-empty': [2, 'never'] + 'type-empty': [2, 'never'], }); expect(actual.valid).toBe(true); expect(actual.input).toBe('Revert "some bogus commit"'); @@ -44,10 +44,10 @@ test('negative on ignored message, disabled ignored messages and broken rule', a const actual = await lint( 'Revert "some bogus commit"', { - 'type-empty': [2, 'never'] + 'type-empty': [2, 'never'], }, { - defaultIgnores: false + defaultIgnores: false, } ); expect(actual.valid).toBe(false); @@ -58,10 +58,10 @@ test('positive on custom ignored message and broken rule', async () => { const actual = await lint( ignoredMessage, { - 'type-empty': [2, 'never'] + 'type-empty': [2, 'never'], }, { - ignores: [c => c === ignoredMessage] + ignores: [(c) => c === ignoredMessage], } ); expect(actual.valid).toBe(true); @@ -73,12 +73,12 @@ test('positive on stub message and opts', async () => { 'foo-bar', { 'type-enum': [2, 'always', ['foo']], - 'type-empty': [2, 'never'] + 'type-empty': [2, 'never'], }, { parserOpts: { - headerPattern: /^(\w*)(?:\((.*)\))?-(.*)$/ - } + headerPattern: /^(\w*)(?:\((.*)\))?-(.*)$/, + }, } ); expect(actual.valid).toBe(true); @@ -93,7 +93,7 @@ test('throws for invalid rule names', async () => { test('throws for invalid rule config', async () => { const error = lint('type(scope): foo', { 'type-enum': 1, - 'scope-enum': {0: 2, 1: 'never', 2: ['foo'], length: 3} + 'scope-enum': {0: 2, 1: 'never', 2: ['foo'], length: 3}, } as any); await expect(error).rejects.toThrow('type-enum must be array'); @@ -107,7 +107,7 @@ test('allows disable shorthand', async () => { errors: [], input: 'foo', valid: true, - warnings: [] + warnings: [], }); }); @@ -120,7 +120,7 @@ test('throws for rule with invalid length', async () => { test('throws for rule with invalid level', async () => { const error = lint('type(scope): foo', { 'type-enum': ['2', 'always'] as any, - 'header-max-length': [{}, 'always'] as any + 'header-max-length': [{}, 'always'] as any, }); await expect(error).rejects.toThrow('rule type-enum must be number'); await expect(error).rejects.toThrow('rule header-max-length must be number'); @@ -129,7 +129,7 @@ test('throws for rule with invalid level', async () => { test('throws for rule with out of range level', async () => { const error = lint('type(scope): foo', { 'type-enum': [-1, 'always'] as any, - 'header-max-length': [3, 'always'] as any + 'header-max-length': [3, 'always'] as any, }); await expect(error).rejects.toThrow('rule type-enum must be between 0 and 2'); @@ -141,7 +141,7 @@ test('throws for rule with out of range level', async () => { test('throws for rule with invalid condition', async () => { const error = lint('type(scope): foo', { 'type-enum': [1, 2] as any, - 'header-max-length': [1, {}] as any + 'header-max-length': [1, {}] as any, }); await expect(error).rejects.toThrow('type-enum must be string'); @@ -151,7 +151,7 @@ test('throws for rule with invalid condition', async () => { test('throws for rule with out of range condition', async () => { const error = lint('type(scope): foo', { 'type-enum': [1, 'foo'] as any, - 'header-max-length': [1, 'bar'] as any + 'header-max-length': [1, 'bar'] as any, }); await expect(error).rejects.toThrow('type-enum must be "always" or "never"'); @@ -162,7 +162,7 @@ test('throws for rule with out of range condition', async () => { test('succeds for issue', async () => { const report = await lint('somehting #1', { - 'references-empty': [2, 'never'] + 'references-empty': [2, 'never'], }); expect(report.valid).toBe(true); @@ -170,7 +170,7 @@ test('succeds for issue', async () => { test('fails for issue', async () => { const report = await lint('somehting #1', { - 'references-empty': [2, 'always'] + 'references-empty': [2, 'always'], }); expect(report.valid).toBe(false); @@ -180,12 +180,12 @@ test('succeds for custom issue prefix', async () => { const report = await lint( 'somehting REF-1', { - 'references-empty': [2, 'never'] + 'references-empty': [2, 'never'], }, { parserOpts: { - issuePrefixes: ['REF-'] - } + issuePrefixes: ['REF-'], + }, } ); @@ -196,12 +196,12 @@ test('fails for custom issue prefix', async () => { const report = await lint( 'somehting #1', { - 'references-empty': [2, 'never'] + 'references-empty': [2, 'never'], }, { parserOpts: { - issuePrefixes: ['REF-'] - } + issuePrefixes: ['REF-'], + }, } ); @@ -212,16 +212,16 @@ test('fails for custom plugin rule', async () => { const report = await lint( 'somehting #1', { - 'plugin-rule': [2, 'never'] + 'plugin-rule': [2, 'never'], }, { plugins: { 'plugin-example': { rules: { - 'plugin-rule': () => [false] - } - } - } + 'plugin-rule': () => [false], + }, + }, + }, } ); @@ -232,16 +232,16 @@ test('passes for custom plugin rule', async () => { const report = await lint( 'somehting #1', { - 'plugin-rule': [2, 'never'] + 'plugin-rule': [2, 'never'], }, { plugins: { 'plugin-example': { rules: { - 'plugin-rule': () => [true] - } - } - } + 'plugin-rule': () => [true], + }, + }, + }, } ); @@ -275,12 +275,12 @@ test('returns original message with commit header, body and footer, parsing comm const report = await lint( message, { - 'references-empty': [2, 'never'] + 'references-empty': [2, 'never'], }, { parserOpts: { - commentChar: '#' - } + commentChar: '#', + }, } ); @@ -291,16 +291,16 @@ test('passes for async rule', async () => { const report = await lint( 'somehting #1', { - 'async-rule': [2, 'never'] + 'async-rule': [2, 'never'], }, { plugins: { 'example-plugin': { rules: { - 'async-rule': async () => [true, 'all good'] as const - } - } - } + 'async-rule': async () => [true, 'all good'] as const, + }, + }, + }, } ); diff --git a/@commitlint/lint/src/lint.ts b/@commitlint/lint/src/lint.ts index 3fd0204876..83c7a567f2 100644 --- a/@commitlint/lint/src/lint.ts +++ b/@commitlint/lint/src/lint.ts @@ -11,7 +11,7 @@ import { RuleConfigSeverity, BaseRule, RuleType, - QualifiedRules + QualifiedRules, } from '@commitlint/types'; export default async function lint( @@ -32,7 +32,7 @@ export default async function lint( valid: true, errors: [], warnings: [], - input: message + input: message, }; } @@ -52,7 +52,7 @@ export default async function lint( valid: true, errors: [], warnings: [], - input: message + input: message, }; } @@ -61,9 +61,9 @@ export default async function lint( ); if (opts.plugins) { - Object.values(opts.plugins).forEach(plugin => { + Object.values(opts.plugins).forEach((plugin) => { if (plugin.rules) { - Object.keys(plugin.rules).forEach(ruleKey => + Object.keys(plugin.rules).forEach((ruleKey) => allRules.set(ruleKey, plugin.rules[ruleKey]) ); } @@ -72,7 +72,7 @@ export default async function lint( // Find invalid rules configs const missing = Object.keys(rulesConfig).filter( - name => typeof allRules.get(name) !== 'function' + (name) => typeof allRules.get(name) !== 'function' ); if (missing.length > 0) { @@ -147,14 +147,14 @@ export default async function lint( .filter((item): item is Error => item instanceof Error); if (invalid.length > 0) { - throw new Error(invalid.map(i => i.message).join('\n')); + throw new Error(invalid.map((i) => i.message).join('\n')); } // Validate against all rules const pendingResults = Object.entries(rulesConfig) // Level 0 rules are ignored .filter(([, config]) => !!config && config.length && config[0] > 0) - .map(async entry => { + .map(async (entry) => { const [name, config] = entry; const [level, when, value] = config!; // @@ -171,7 +171,7 @@ export default async function lint( level, valid, name, - message + message, }; }); @@ -179,9 +179,11 @@ export default async function lint( (result): result is LintRuleOutcome => result !== null ); - const errors = results.filter(result => result.level === 2 && !result.valid); + const errors = results.filter( + (result) => result.level === 2 && !result.valid + ); const warnings = results.filter( - result => result.level === 1 && !result.valid + (result) => result.level === 1 && !result.valid ); const valid = errors.length === 0; @@ -190,6 +192,6 @@ export default async function lint( valid, errors, warnings, - input: buildCommitMesage(parsed) + input: buildCommitMesage(parsed), }; } diff --git a/@commitlint/load/README.md b/@commitlint/load/README.md index c74a7ffea6..f41d378803 100644 --- a/@commitlint/load/README.md +++ b/@commitlint/load/README.md @@ -13,7 +13,7 @@ npm install --save-dev @commitlint/load ```js const load = require('@commitlint/load'); -load({extends: ['./package']}).then(config => console.log(config)); +load({extends: ['./package']}).then((config) => console.log(config)); // => { extends: ['./package', './package-b'], rules: {} } ``` diff --git a/@commitlint/load/src/load.test.ts b/@commitlint/load/src/load.test.ts index 324b43f017..09d2db53d5 100644 --- a/@commitlint/load/src/load.test.ts +++ b/@commitlint/load/src/load.test.ts @@ -3,7 +3,7 @@ const scopedPlugin = jest.fn(); jest.mock('commitlint-plugin-example', () => plugin, {virtual: true}); jest.mock('@scope/commitlint-plugin-example', () => scopedPlugin, { - virtual: true + virtual: true, }); import path from 'path'; @@ -59,7 +59,7 @@ test('plugins should be loaded from seed', async () => { expect(actual.plugins).toMatchObject({ example: plugin, - '@scope/example': scopedPlugin + '@scope/example': scopedPlugin, }); }); @@ -68,19 +68,19 @@ test('plugins should be loaded from local', async () => { plugins: [ { rules: { - test: () => [true, 'asd'] - } - } - ] + test: () => [true, 'asd'], + }, + }, + ], }); expect(actual.plugins).toEqual( expect.objectContaining({ local: { rules: { - test: expect.any(Function) - } - } + test: expect.any(Function), + }, + }, }) ); }); @@ -91,7 +91,7 @@ test('plugins should be loaded from config', async () => { expect(actual.plugins).toMatchObject({ example: plugin, - '@scope/example': scopedPlugin + '@scope/example': scopedPlugin, }); }); @@ -101,7 +101,7 @@ test('plugins should be loaded from shareable config', async () => { expect(actual.plugins).toMatchObject({ example: plugin, - '@scope/example': scopedPlugin + '@scope/example': scopedPlugin, }); }); @@ -114,9 +114,9 @@ test('local plugins should be loaded from shareable configs', async () => { local: { rules: { 'hello-world-rule': expect.any(Function), - 'is-positive': expect.any(Function) - } - } + 'is-positive': expect.any(Function), + }, + }, }) ); }); @@ -130,7 +130,7 @@ test('uses seed with parserPreset', async () => { expect(actual.name).toBe('./conventional-changelog-custom'); expect(actual.parserOpts).toMatchObject({ - headerPattern: /^(\w*)(?:\((.*)\))?-(.*)$/ + headerPattern: /^(\w*)(?:\((.*)\))?-(.*)$/, }); }); @@ -164,8 +164,8 @@ test('respects cwd option', async () => { plugins: {}, rules: { one: 1, - two: 2 - } + two: 2, + }, }); }); @@ -180,8 +180,8 @@ test('recursive extends', async () => { rules: { zero: 0, one: 1, - two: 2 - } + two: 2, + }, }); }); @@ -196,8 +196,8 @@ test('recursive extends with json file', async () => { rules: { zero: 0, one: 1, - two: 2 - } + two: 2, + }, }); }); @@ -212,8 +212,8 @@ test('recursive extends with yaml file', async () => { rules: { zero: 0, one: 1, - two: 2 - } + two: 2, + }, }); }); @@ -228,8 +228,8 @@ test('recursive extends with js file', async () => { rules: { zero: 0, one: 1, - two: 2 - } + two: 2, + }, }); }); @@ -244,8 +244,8 @@ test('recursive extends with package.json file', async () => { rules: { zero: 0, one: 1, - two: 2 - } + two: 2, + }, }); }); @@ -255,7 +255,7 @@ test('parser preset overwrites completely instead of merging', async () => { expect(actual.parserPreset.name).toBe('./custom'); expect(actual.parserPreset.parserOpts).toMatchObject({ - headerPattern: /.*/ + headerPattern: /.*/, }); }); @@ -265,7 +265,7 @@ test('recursive extends with parserPreset', async () => { expect(actual.parserPreset.name).toBe('./conventional-changelog-custom'); expect(actual.parserPreset.parserOpts).toMatchObject({ - headerPattern: /^(\w*)(?:\((.*)\))?-(.*)$/ + headerPattern: /^(\w*)(?:\((.*)\))?-(.*)$/, }); }); @@ -279,8 +279,8 @@ test('ignores unknow keys', async () => { plugins: {}, rules: { foo: 'bar', - baz: 'bar' - } + baz: 'bar', + }, }); }); @@ -294,8 +294,8 @@ test('ignores unknow keys recursively', async () => { plugins: {}, rules: { zero: 0, - one: 1 - } + one: 1, + }, }); }); @@ -312,8 +312,8 @@ test('find up from given cwd', async () => { rules: { child: true, inner: false, - outer: false - } + outer: false, + }, }); }); @@ -329,8 +329,8 @@ test('find up config from outside current git repo', async () => { rules: { child: false, inner: false, - outer: true - } + outer: true, + }, }); }); @@ -342,7 +342,7 @@ test('respects formatter option', async () => { formatter: 'commitlint-junit', extends: [], plugins: {}, - rules: {} + rules: {}, }); }); @@ -354,7 +354,7 @@ test('resolves formatter relative from config directory', async () => { formatter: resolveFrom(cwd, './formatters/custom.js'), extends: [], plugins: {}, - rules: {} + rules: {}, }); }); @@ -366,7 +366,7 @@ test('returns formatter name when unable to resolve from config directory', asyn formatter: './doesnt/exists.js', extends: [], plugins: {}, - rules: {} + rules: {}, }); }); @@ -413,7 +413,7 @@ test('recursive resolves parser preset from conventional atom', async () => { ); // the package file is nested in 2 folders, `npm.bootstrap` cant do that await execa('npm', ['install'], { - cwd: path.resolve(cwd, 'first-extended', 'second-extended') + cwd: path.resolve(cwd, 'first-extended', 'second-extended'), }); const actual = await load({}, {cwd}); diff --git a/@commitlint/load/src/load.ts b/@commitlint/load/src/load.ts index c939e82192..93097a81fc 100644 --- a/@commitlint/load/src/load.ts +++ b/@commitlint/load/src/load.ts @@ -14,7 +14,7 @@ import { QualifiedConfig, UserPreset, QualifiedRules, - ParserPreset + ParserPreset, } from '@commitlint/types'; import loadPlugin from './utils/load-plugin'; @@ -51,7 +51,7 @@ export default async function load( config.parserPreset = { name: config.parserPreset, path: resolvedParserPreset, - parserOpts: require(resolvedParserPreset) + parserOpts: require(resolvedParserPreset), }; } @@ -59,7 +59,7 @@ export default async function load( const extended = resolveExtends(opts, { prefix: 'commitlint-config', cwd: base, - parserPreset: config.parserPreset + parserPreset: config.parserPreset, }); const preset = (pickConfig( @@ -92,7 +92,7 @@ export default async function load( // resolve plugins if (Array.isArray(config.plugins)) { - config.plugins.forEach(plugin => { + config.plugins.forEach((plugin) => { if (typeof plugin === 'string') { loadPlugin(preset.plugins, plugin, process.env.DEBUG === 'true'); } else { @@ -102,9 +102,11 @@ export default async function load( } const rules = preset.rules ? preset.rules : {}; - const qualifiedRules = (await Promise.all( - Object.entries(rules || {}).map(entry => executeRule(entry)) - )).reduce((registry, item) => { + const qualifiedRules = ( + await Promise.all( + Object.entries(rules || {}).map((entry) => executeRule(entry)) + ) + ).reduce((registry, item) => { const [key, value] = item as any; (registry as any)[key] = value; return registry; @@ -117,6 +119,6 @@ export default async function load( ignores: preset.ignores!, defaultIgnores: preset.defaultIgnores!, plugins: preset.plugins!, - rules: qualifiedRules + rules: qualifiedRules, }; } diff --git a/@commitlint/load/src/utils/load-parser-opts.ts b/@commitlint/load/src/utils/load-parser-opts.ts index 9cb55d97c8..86d5b5b700 100644 --- a/@commitlint/load/src/utils/load-parser-opts.ts +++ b/@commitlint/load/src/utils/load-parser-opts.ts @@ -20,7 +20,7 @@ export async function loadParserOpts( typeof parser.parserOpts === 'function' && parserName.startsWith('conventional-changelog-') ) { - return await new Promise(resolve => { + return await new Promise((resolve) => { const result = parser.parserOpts((_: never, opts: {parserOpts: any}) => { resolve(opts.parserOpts); }); @@ -28,7 +28,7 @@ export async function loadParserOpts( // If result has data or a promise, the parser doesn't support factory-init // due to https://github.com/nodejs/promises-debugging/issues/16 it just quits, so let's use this fallback if (result) { - Promise.resolve(result).then(opts => { + Promise.resolve(result).then((opts) => { resolve(opts.parserOpts); }); } diff --git a/@commitlint/load/src/utils/load-plugin.test.ts b/@commitlint/load/src/utils/load-plugin.test.ts index 65c1fe9cae..abe9b74bc6 100644 --- a/@commitlint/load/src/utils/load-plugin.test.ts +++ b/@commitlint/load/src/utils/load-plugin.test.ts @@ -1,11 +1,11 @@ import loadPlugin from './load-plugin'; jest.mock('commitlint-plugin-example', () => ({example: true}), { - virtual: true + virtual: true, }); jest.mock('@scope/commitlint-plugin-example', () => ({scope: true}), { - virtual: true + virtual: true, }); test('should load a plugin when referenced by short name', () => { diff --git a/@commitlint/load/src/utils/load-plugin.ts b/@commitlint/load/src/utils/load-plugin.ts index 742a4e6cd5..30003816ba 100644 --- a/@commitlint/load/src/utils/load-plugin.ts +++ b/@commitlint/load/src/utils/load-plugin.ts @@ -15,7 +15,7 @@ export default function loadPlugin( if (pluginName.match(/\s+/u)) { throw new WhitespacePluginError(pluginName, { - pluginName: longName + pluginName: longName, }); } @@ -34,7 +34,7 @@ export default function loadPlugin( throw new MissingPluginError(pluginName, error.message, { pluginName: longName, - commitlintPath: path.resolve(__dirname, '../..') + commitlintPath: path.resolve(__dirname, '../..'), }); } diff --git a/@commitlint/parse/src/index.test.ts b/@commitlint/parse/src/index.test.ts index 9210d4e988..157113c930 100644 --- a/@commitlint/parse/src/index.test.ts +++ b/@commitlint/parse/src/index.test.ts @@ -19,13 +19,10 @@ test('calls parser with message and passed options', async () => { const message = 'message'; expect.assertions(1); - await parse( - message, - (m: string): any => { - expect(m).toBe(message); - return {}; - } - ); + await parse(message, (m: string): any => { + expect(m).toBe(message); + return {}; + }); }); test('passes object up from parser function', async () => { @@ -51,7 +48,7 @@ test('returns object with expected keys', async () => { revert: null, scope: null, subject: null, - type: null + type: null, }; expect(actual).toMatchObject(expected); @@ -72,7 +69,7 @@ test('uses angular grammar', async () => { revert: null, scope: 'scope', subject: 'subject', - type: 'type' + type: 'type', }; expect(actual).toMatchObject(expected); @@ -82,8 +79,8 @@ test('uses custom opts parser', async () => { const message = 'type(scope)-subject'; const changelogOpts = { parserOpts: { - headerPattern: /^(\w*)(?:\((.*)\))?-(.*)$/ - } + headerPattern: /^(\w*)(?:\((.*)\))?-(.*)$/, + }, }; const actual = await parse(message, undefined, changelogOpts.parserOpts); const expected = { @@ -98,7 +95,7 @@ test('uses custom opts parser', async () => { revert: null, scope: 'scope', subject: 'subject', - type: 'type' + type: 'type', }; expect(actual).toMatchObject(expected); @@ -108,7 +105,7 @@ test('does not merge array properties with custom opts', async () => { const message = 'type: subject'; const actual = await parse(message, undefined, { headerPattern: /^(.*):\s(.*)$/, - headerCorrespondence: ['type', 'subject'] + headerCorrespondence: ['type', 'subject'], }); const expected = { body: null, @@ -121,7 +118,7 @@ test('does not merge array properties with custom opts', async () => { references: [], revert: null, subject: 'subject', - type: 'type' + type: 'type', }; expect(actual).toMatchObject(expected); @@ -148,7 +145,7 @@ test('ignores comments', async () => { const changelogOpts = await require('conventional-changelog-angular'); const opts = { ...changelogOpts.parserOpts, - commentChar: '#' + commentChar: '#', }; const actual = await parse(message, undefined, opts); @@ -163,7 +160,7 @@ test('registers inline #', async () => { const changelogOpts = await require('conventional-changelog-angular'); const opts = { ...changelogOpts.parserOpts, - commentChar: '#' + commentChar: '#', }; const actual = await parse(message, undefined, opts); @@ -175,7 +172,7 @@ test('parses references leading subject', async () => { const message = '#1 some subject'; const opts = await require('conventional-changelog-angular'); const { - references: [actual] + references: [actual], } = await parse(message, undefined, opts); expect(actual.issue).toBe('1'); @@ -184,17 +181,17 @@ test('parses references leading subject', async () => { test('parses custom references', async () => { const message = '#1 some subject PREFIX-2'; const {references} = await parse(message, undefined, { - issuePrefixes: ['PREFIX-'] + issuePrefixes: ['PREFIX-'], }); - expect(references.find(ref => ref.issue === '1')).toBeFalsy(); - expect(references.find(ref => ref.issue === '2')).toMatchObject({ + expect(references.find((ref) => ref.issue === '1')).toBeFalsy(); + expect(references.find((ref) => ref.issue === '2')).toMatchObject({ action: null, issue: '2', owner: null, prefix: 'PREFIX-', raw: '#1 some subject PREFIX-2', - repository: null + repository: null, }); }); @@ -215,7 +212,7 @@ test('uses permissive default regex with other parser opts', async () => { test('uses restrictive default regex in passed parser opts', async () => { const message = 'chore(component,demo): bump'; const actual = await parse(message, undefined, { - headerPattern: /^(\w*)(?:\(([a-z]*)\))?: (.*)$/ + headerPattern: /^(\w*)(?:\(([a-z]*)\))?: (.*)$/, }); expect(actual.subject).toBe(null); @@ -233,7 +230,7 @@ test('works with chinese scope by default', async () => { test('does not work with chinese scopes with incompatible pattern', async () => { const message = 'fix(面试评价): 测试'; const actual = await parse(message, undefined, { - headerPattern: /^(\w*)(?:\(([a-z]*)\))?: (.*)$/ + headerPattern: /^(\w*)(?:\(([a-z]*)\))?: (.*)$/, }); expect(actual.subject).toBe(null); diff --git a/@commitlint/parse/src/index.ts b/@commitlint/parse/src/index.ts index 37d6b18bf4..3f90e8a4f6 100644 --- a/@commitlint/parse/src/index.ts +++ b/@commitlint/parse/src/index.ts @@ -11,7 +11,7 @@ export default async function parse( const defaultOpts = (await defaultChangelogOpts).parserOpts; const opts = { ...defaultOpts, - ...(parserOpts || {}) + ...(parserOpts || {}), }; const parsed = parser(message, opts) as Commit; parsed.raw = message; diff --git a/@commitlint/prompt-cli/cli.js b/@commitlint/prompt-cli/cli.js index 050e9ef081..16f957e07a 100755 --- a/@commitlint/prompt-cli/cli.js +++ b/@commitlint/prompt-cli/cli.js @@ -5,7 +5,7 @@ const {prompter} = require('@commitlint/prompt'); const _ = undefined; const prompt = () => prompter(_, commit); -main().catch(err => { +main().catch((err) => { setTimeout(() => { throw err; }); @@ -13,7 +13,7 @@ main().catch(err => { function main() { return isStageEmpty() - .then(empty => { + .then((empty) => { if (empty) { console.log( `Nothing to commit. Stage your changes via "git add" execute "commit" again` @@ -25,7 +25,7 @@ function main() { } function isStageEmpty() { - return execa('git', ['diff', '--cached']).then(r => r.stdout === ''); + return execa('git', ['diff', '--cached']).then((r) => r.stdout === ''); } function commit(message) { diff --git a/@commitlint/prompt-cli/cli.test.js b/@commitlint/prompt-cli/cli.test.js index 546ef1279d..1ee3443a02 100644 --- a/@commitlint/prompt-cli/cli.test.js +++ b/@commitlint/prompt-cli/cli.test.js @@ -9,7 +9,7 @@ const cli = (args, options) => { cwd: options.cwd, env: options.env, input: input, - reject: false + reject: false, }); }; }; diff --git a/@commitlint/prompt/src/input.js b/@commitlint/prompt/src/input.js index 45a49db145..b7768ce91e 100644 --- a/@commitlint/prompt/src/input.js +++ b/@commitlint/prompt/src/input.js @@ -20,14 +20,14 @@ async function input(prompter) { scope: null, subject: null, body: null, - footer: null + footer: null, }; const {rules} = await load(); await Promise.all( ['type', 'scope', 'subject', 'body', 'footer'].map( - throat(1, async input => { + throat(1, async (input) => { const inputRules = getRules(input, rules); const inputSettings = settings[input]; @@ -41,7 +41,7 @@ async function input(prompter) { const [, [severity, applicable, length]] = headerLengthRule; if (severity > 0 && applicable === 'always') { inputSettings.header = { - length + length, }; } } @@ -50,11 +50,11 @@ async function input(prompter) { rules: inputRules, settings: inputSettings, results, - prompter + prompter, }); }) ) - ).catch(err => { + ).catch((err) => { console.error(err); return ''; }); @@ -80,7 +80,7 @@ function getRulePrefix(id) { * @return {[type]} [description] */ function getHasPrefix(name) { - return rule => getRulePrefix(rule[0]) === name; + return (rule) => getRulePrefix(rule[0]) === name; } /** diff --git a/@commitlint/prompt/src/library/format.js b/@commitlint/prompt/src/library/format.js index 75919e1ba5..ee6b58dde6 100644 --- a/@commitlint/prompt/src/library/format.js +++ b/@commitlint/prompt/src/library/format.js @@ -25,7 +25,7 @@ function format(input, debug = false) { type || scope ? ':' : '' } ${subject}`, body, - footer + footer, ] .filter(Boolean) .join('\n'); diff --git a/@commitlint/prompt/src/library/get-forced-case-fn.js b/@commitlint/prompt/src/library/get-forced-case-fn.js index 9cf401910a..141c3ad18f 100644 --- a/@commitlint/prompt/src/library/get-forced-case-fn.js +++ b/@commitlint/prompt/src/library/get-forced-case-fn.js @@ -10,7 +10,7 @@ import startCase from 'lodash/startCase'; * @return {fn} transform function applying the enforced case */ export default function getForcedCaseFn(rule) { - const noop = input => input; + const noop = (input) => input; if (!rule) { return noop; @@ -42,26 +42,26 @@ export default function getForcedCaseFn(rule) { switch (target) { case 'camel-case': - return input => camelCase(input); + return (input) => camelCase(input); case 'kebab-case': - return input => kebabCase(input); + return (input) => kebabCase(input); case 'snake-case': - return input => snakeCase(input); + return (input) => snakeCase(input); case 'pascal-case': - return input => upperFirst(camelCase(input)); + return (input) => upperFirst(camelCase(input)); case 'start-case': - return input => startCase(input); + return (input) => startCase(input); case 'upper-case': case 'uppercase': - return input => input.toUpperCase(); + return (input) => input.toUpperCase(); case 'sentence-case': case 'sentencecase': - return input => + return (input) => `${input.charAt(0).toUpperCase()}${input.substring(1).toLowerCase()}`; case 'lower-case': case 'lowercase': case 'lowerCase': // Backwards compat config-angular v4 - return input => input.toLowerCase() === input; + return (input) => input.toLowerCase() === input; default: throw new TypeError(`Unknown target case "${rule[2]}"`); } diff --git a/@commitlint/prompt/src/library/get-forced-leading-fn.js b/@commitlint/prompt/src/library/get-forced-leading-fn.js index 810d9ca2d6..21e62e594c 100644 --- a/@commitlint/prompt/src/library/get-forced-leading-fn.js +++ b/@commitlint/prompt/src/library/get-forced-leading-fn.js @@ -4,12 +4,12 @@ * @return {fn} transform function applying the leading */ export default function getForcedLeadingFn(rule) { - const noop = input => input; - const remove = input => { + const noop = (input) => input; + const remove = (input) => { const fragments = input.split('\n'); return fragments[0] === '' ? fragments.slice(1).join('\n') : input; }; - const lead = input => { + const lead = (input) => { const fragments = input.split('\n'); return fragments[0] === '' ? input : ['', ...fragments].join('\n'); }; diff --git a/@commitlint/prompt/src/library/get-has-name.js b/@commitlint/prompt/src/library/get-has-name.js index 1f7df8f102..9695a6a9f4 100644 --- a/@commitlint/prompt/src/library/get-has-name.js +++ b/@commitlint/prompt/src/library/get-has-name.js @@ -6,5 +6,5 @@ import getRuleName from './get-rule-name'; * @return {[type]} [description] */ export default function getHasName(name) { - return rule => getRuleName(rule[0]) === name; + return (rule) => getRuleName(rule[0]) === name; } diff --git a/@commitlint/prompt/src/library/get-prompt.js b/@commitlint/prompt/src/library/get-prompt.js index 8c3a21a0f9..59e17956f7 100644 --- a/@commitlint/prompt/src/library/get-prompt.js +++ b/@commitlint/prompt/src/library/get-prompt.js @@ -98,18 +98,18 @@ function getPrompt(type, context = {}) { results.scope, results.scope ? '()' : '', results.type && results.scope ? ':' : '', - results.subject + results.subject, ].join('').length : Infinity; const maxLength = Math.min(inputMaxLength, remainingHeaderLength); - return new Promise(resolve => { + return new Promise((resolve) => { // Add the defined enums as sub commands if applicable if (enumRule) { const [, [, , enums]] = enumRule; - enums.forEach(enumerable => { + enums.forEach((enumerable) => { const enumSettings = (settings.enumerables || {})[enumerable] || {}; prompt .command(enumerable) @@ -121,7 +121,7 @@ function getPrompt(type, context = {}) { }); }); } else { - prompt.catch('[text...]').action(parameters => { + prompt.catch('[text...]').action((parameters) => { const {text = ''} = parameters; prompt.removeAllListeners(); prompt.ui.redraw.done(); @@ -142,7 +142,7 @@ function getPrompt(type, context = {}) { } // Handle empty input - const onSubmit = input => { + const onSubmit = (input) => { if (input.length > 0) { return; } @@ -165,34 +165,34 @@ function getPrompt(type, context = {}) { } }; - const drawRemaining = length => { + const drawRemaining = (length) => { if (length < Infinity) { const colors = [ { threshold: 5, - color: 'red' + color: 'red', }, { threshold: 10, - color: 'yellow' + color: 'yellow', }, { threshold: Infinity, - color: 'grey' - } + color: 'grey', + }, ]; const color = colors - .filter(item => { + .filter((item) => { return item.threshold >= length; }) - .map(item => item.color)[0]; + .map((item) => item.color)[0]; prompt.ui.redraw(chalk[color](`${length} characters left`)); } }; - const onKey = event => { + const onKey = (event) => { const sanitized = forceCaseFn(event.value); const cropped = sanitized.slice(0, maxLength); @@ -217,7 +217,7 @@ function getPrompt(type, context = {}) { required: mayNotBeEmpty, 'tab-completion': typeof enumRule !== 'undefined', header: typeof settings.header !== 'undefined', - 'multi-line': settings.multiline + 'multi-line': settings.multiline, })}` ); diff --git a/@commitlint/prompt/src/library/get-prompt.test.js b/@commitlint/prompt/src/library/get-prompt.test.js index 0b9899eb71..62c00e0a35 100644 --- a/@commitlint/prompt/src/library/get-prompt.test.js +++ b/@commitlint/prompt/src/library/get-prompt.test.js @@ -9,14 +9,14 @@ test('throws with incompatible prompter', () => { getPrompt('type', { prompter() { return {}; - } + }, }) ).toThrow('prompt.removeAllListeners'); }); test('returns input unaltered wihtout rules', async () => { const message = await getPrompt('type', { - prompter: stub('foobar') + prompter: stub('foobar'), }); expect(message).toEqual('foobar'); @@ -68,15 +68,15 @@ function stub(input = '') { redraw: { done(...args) { called.push([instance.ui.redraw.done, args]); - } - } + }, + }, }, - called + called, }; setTimeout(() => { actions[0]({ - text: Array.isArray(input) ? input : [input] + text: Array.isArray(input) ? input : [input], }); }); diff --git a/@commitlint/prompt/src/library/meta.js b/@commitlint/prompt/src/library/meta.js index bf278bbb5d..006f2dd989 100644 --- a/@commitlint/prompt/src/library/meta.js +++ b/@commitlint/prompt/src/library/meta.js @@ -8,8 +8,8 @@ import chalk from 'chalk'; export default function meta(settings) { return chalk.grey( Object.entries(settings || {}) - .filter(item => item[1]) - .map(item => { + .filter((item) => item[1]) + .map((item) => { const [name, value] = item; return typeof value === 'boolean' ? `[${name}]` : `[${name}=${value}]`; }) diff --git a/@commitlint/prompt/src/settings.js b/@commitlint/prompt/src/settings.js index 63781fbe68..e897b7c17b 100644 --- a/@commitlint/prompt/src/settings.js +++ b/@commitlint/prompt/src/settings.js @@ -3,54 +3,54 @@ export default { description: ' holds information about the goal of a change.', enumerables: { feat: { - description: 'Adds a new feature.' + description: 'Adds a new feature.', }, fix: { - description: 'Solves a bug.' + description: 'Solves a bug.', }, chore: { - description: "Other changes that don't modify src or test files" + description: "Other changes that don't modify src or test files", }, docs: { - description: 'Adds or alters documentation.' + description: 'Adds or alters documentation.', }, style: { - description: 'Improves formatting, white-space.' + description: 'Improves formatting, white-space.', }, refactor: { description: - 'Rewrites code without feature, performance or bug changes.' + 'Rewrites code without feature, performance or bug changes.', }, perf: { - description: 'Improves performance.' + description: 'Improves performance.', }, test: { - description: 'Adds or modifies tests.' + description: 'Adds or modifies tests.', }, build: { - description: 'Affects the build system or external dependencies.' + description: 'Affects the build system or external dependencies.', }, ci: { - description: 'Changes CI configuration files and scripts.' + description: 'Changes CI configuration files and scripts.', }, revert: { - description: 'Reverts a previous commit.' - } - } + description: 'Reverts a previous commit.', + }, + }, }, scope: { - description: ' marks which sub-component of the project is affected' + description: ' marks which sub-component of the project is affected', }, subject: { - description: ' is a short, high-level description of the change' + description: ' is a short, high-level description of the change', }, body: { description: ' holds additional information about the change', - multline: true + multline: true, }, footer: { description: '