From 014b19b691b26213fff7da160e9836f36c030a45 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 28 Mar 2021 15:25:09 +0800 Subject: [PATCH 0001/1667] chore: update dependency @babel/core to v7.13.13 (#2526) Co-authored-by: Renovate Bot --- yarn.lock | 76 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 52 insertions(+), 24 deletions(-) diff --git a/yarn.lock b/yarn.lock index 1811736c56..a4ba19f35e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -43,19 +43,19 @@ source-map "^0.5.0" "@babel/core@^7.12.10": - version "7.13.10" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.13.10.tgz#07de050bbd8193fcd8a3c27918c0890613a94559" - integrity sha512-bfIYcT0BdKeAZrovpMqX2Mx5NrgAckGbwT982AkdS5GNfn3KMGiprlBAtmBcFZRUmpaufS6WZFP8trvx8ptFDw== + version "7.13.13" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.13.13.tgz#bc44c4a2be2288ec4ddf56b66fc718019c76ac29" + integrity sha512-1xEs9jZAyKIouOoCmpsgk/I26PoKyvzQ2ixdRpRzfbcp1fL+ozw7TUgdDgwonbTovqRaTfRh50IXuw4QrWO0GA== dependencies: "@babel/code-frame" "^7.12.13" "@babel/generator" "^7.13.9" - "@babel/helper-compilation-targets" "^7.13.10" - "@babel/helper-module-transforms" "^7.13.0" + "@babel/helper-compilation-targets" "^7.13.13" + "@babel/helper-module-transforms" "^7.13.12" "@babel/helpers" "^7.13.10" - "@babel/parser" "^7.13.10" + "@babel/parser" "^7.13.13" "@babel/template" "^7.12.13" - "@babel/traverse" "^7.13.0" - "@babel/types" "^7.13.0" + "@babel/traverse" "^7.13.13" + "@babel/types" "^7.13.13" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" @@ -106,7 +106,7 @@ "@babel/helper-explode-assignable-expression" "^7.12.13" "@babel/types" "^7.12.13" -"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.13.10", "@babel/helper-compilation-targets@^7.13.8": +"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.13.8": version "7.13.10" resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.10.tgz#1310a1678cb8427c07a753750da4f8ce442bdd0c" integrity sha512-/Xju7Qg1GQO4mHZ/Kcs6Au7gfafgZnwm+a7sy/ow/tV1sHeraRUHbjdat8/UvDor4Tez+siGKDk6zIKtCPKVJA== @@ -116,6 +116,16 @@ browserslist "^4.14.5" semver "^6.3.0" +"@babel/helper-compilation-targets@^7.13.10", "@babel/helper-compilation-targets@^7.13.13": + version "7.13.13" + resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.13.tgz#2b2972a0926474853f41e4adbc69338f520600e5" + integrity sha512-q1kcdHNZehBwD9jYPh3WyXcsFERi39X4I59I3NadciWtNDyZ6x+GboOxncFK0kXlKIv6BJm5acncehXWUjWQMQ== + dependencies: + "@babel/compat-data" "^7.13.12" + "@babel/helper-validator-option" "^7.12.17" + browserslist "^4.14.5" + semver "^6.3.0" + "@babel/helper-create-class-features-plugin@^7.13.0": version "7.13.11" resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.13.11.tgz#30d30a005bca2c953f5653fc25091a492177f4f6" @@ -209,7 +219,7 @@ "@babel/types" "^7.12.13" lodash "^4.17.19" -"@babel/helper-module-transforms@^7.13.0": +"@babel/helper-module-transforms@^7.13.0", "@babel/helper-module-transforms@^7.13.12": version "7.13.12" resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.13.12.tgz#600e58350490828d82282631a1422268e982ba96" integrity sha512-7zVQqMO3V+K4JOOj40kxiCrMf6xlQAkewBB0eu2b03OO/Q21ZutOzjpfD79A5gtE/2OWi1nv625MrDlGlkbknQ== @@ -332,15 +342,10 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.12.15.tgz#2b20de7f0b4b332d9b119dd9c33409c538b8aacf" integrity sha512-AQBOU2Z9kWwSZMd6lNjCX0GUgFonL1wAM1db8L8PMk9UDaGsRCArBkU4Sc+UCM3AE4hjbXx+h58Lb3QT4oRmrA== -"@babel/parser@^7.12.13", "@babel/parser@^7.13.0": - version "7.13.12" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.13.12.tgz#ba320059420774394d3b0c0233ba40e4250b81d1" - integrity sha512-4T7Pb244rxH24yR116LAuJ+adxXXnHhZaLJjegJVKSdoNCe4x1eDBaud5YIcQFcqzsaD5BHvJw5BQ0AZapdCRw== - -"@babel/parser@^7.13.10": - version "7.13.10" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.13.10.tgz#8f8f9bf7b3afa3eabd061f7a5bcdf4fec3c48409" - integrity sha512-0s7Mlrw9uTWkYua7xWr99Wpk2bnGa0ANleKfksYAES8LpWH4gW1OUr42vqKNf0us5UQNfru2wPqMqRITzq/SIQ== +"@babel/parser@^7.12.13", "@babel/parser@^7.13.0", "@babel/parser@^7.13.13": + version "7.13.13" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.13.13.tgz#42f03862f4aed50461e543270916b47dd501f0df" + integrity sha512-OhsyMrqygfk5v8HmWwOzlYjJrtLaFhF34MrfG/Z73DgYCI6ojNUTUp2TYbtnjo8PegeJp12eamsNettCQjKjVw== "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.13.12": version "7.13.12" @@ -961,7 +966,7 @@ globals "^11.1.0" lodash "^4.17.19" -"@babel/traverse@^7.12.13", "@babel/traverse@^7.13.0": +"@babel/traverse@^7.12.13": version "7.13.0" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.0.tgz#6d95752475f86ee7ded06536de309a65fc8966cc" integrity sha512-xys5xi5JEhzC3RzEmSGrs/b3pJW/o87SypZ+G/PhaE7uqVQNv/jlmVIBXuoh5atqQ434LfXV+sf23Oxj0bchJQ== @@ -976,6 +981,20 @@ globals "^11.1.0" lodash "^4.17.19" +"@babel/traverse@^7.13.0", "@babel/traverse@^7.13.13": + version "7.13.13" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.13.tgz#39aa9c21aab69f74d948a486dd28a2dbdbf5114d" + integrity sha512-CblEcwmXKR6eP43oQGG++0QMTtCjAsa3frUuzHoiIJWpaIIi8dwMyEFUJoXRLxagGqCK+jALRwIO+o3R9p/uUg== + dependencies: + "@babel/code-frame" "^7.12.13" + "@babel/generator" "^7.13.9" + "@babel/helper-function-name" "^7.12.13" + "@babel/helper-split-export-declaration" "^7.12.13" + "@babel/parser" "^7.13.13" + "@babel/types" "^7.13.13" + debug "^4.1.0" + globals "^11.1.0" + "@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3": version "7.12.12" resolved "https://registry.npmjs.org/@babel/types/-/types-7.12.12.tgz#4608a6ec313abbd87afa55004d373ad04a96c299" @@ -985,7 +1004,7 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" -"@babel/types@^7.12.1", "@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.4.4": +"@babel/types@^7.12.1", "@babel/types@^7.4.4": version "7.13.12" resolved "https://registry.npmjs.org/@babel/types/-/types-7.13.12.tgz#edbf99208ef48852acdff1c8a681a1e4ade580cd" integrity sha512-K4nY2xFN4QMvQwkQ+zmBDp6ANMbVNw6BbxWmYA4qNjhR9W+Lj/8ky5MEY2Me5r+B2c6/v6F53oMndG+f9s3IiA== @@ -1003,6 +1022,15 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" +"@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.13.13": + version "7.13.13" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.13.13.tgz#dcd8b815b38f537a3697ce84c8e3cc62197df96f" + integrity sha512-kt+EpC6qDfIaqlP+DIbIJOclYy/A1YXs9dAf/ljbi+39Bcbc073H6jKVpXEr/EoIh5anGn5xq/yRVzKl+uIc9w== + dependencies: + "@babel/helper-validator-identifier" "^7.12.11" + lodash "^4.17.19" + to-fast-properties "^2.0.0" + "@babel/types@^7.12.17": version "7.13.0" resolved "https://registry.npmjs.org/@babel/types/-/types-7.13.0.tgz#74424d2816f0171b4100f0ab34e9a374efdf7f80" @@ -4108,9 +4136,9 @@ ee-first@1.1.1: integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= electron-to-chromium@^1.3.649: - version "1.3.694" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.694.tgz#f5dbbec0ce9bbf93487b7d38b8396f4e58ab51c8" - integrity sha512-8YJ/OZjbK5luOd27dmk34B47oa/zNGRHrKTEmfO3qPns1kFAJ36Lb+OtYzNlCoXtkPYuDbX0ztofuL7ArMHJkQ== + version "1.3.701" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.701.tgz#5e796ed7ce88cd77bc7bf831cf311ef6b067c389" + integrity sha512-Zd9ofdIMYHYhG1gvnejQDvC/kqSeXQvtXF0yRURGxgwGqDZm9F9Fm3dYFnm5gyuA7xpXfBlzVLN1sz0FjxpKfw== emittery@^0.7.1: version "0.7.1" From f94da490e9027d7ff086e7ab637834976c8b0326 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 28 Mar 2021 15:26:09 +0800 Subject: [PATCH 0002/1667] chore: update dependency eslint to v7.23.0 (#2527) Co-authored-by: Renovate Bot --- yarn.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/yarn.lock b/yarn.lock index a4ba19f35e..1864a7629e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2519,9 +2519,9 @@ ajv@^6.5.5: uri-js "^4.2.2" ajv@^7.0.2: - version "7.2.1" - resolved "https://registry.npmjs.org/ajv/-/ajv-7.2.1.tgz#a5ac226171912447683524fa2f1248fcf8bac83d" - integrity sha512-+nu0HDv7kNSOua9apAVc979qd932rrZeb3WOvoiD31A/p1mIE5/9bN2027pE2rOPYEdS3UHzsvof4hY+lM9/WQ== + version "7.2.4" + resolved "https://registry.npmjs.org/ajv/-/ajv-7.2.4.tgz#8e239d4d56cf884bccca8cca362f508446dc160f" + integrity sha512-nBeQgg/ZZA3u3SYxyaDvpvDtgZ/EZPF547ARgZBrG9Bhu1vKDwAIjtIf+sDtJUKa2zOcEbmRLBRSyMraS/Oy1A== dependencies: fast-deep-equal "^3.1.1" json-schema-traverse "^1.0.0" @@ -4339,9 +4339,9 @@ eslint-visitor-keys@^2.0.0: integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ== eslint@^7.0.0: - version "7.22.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-7.22.0.tgz#07ecc61052fec63661a2cab6bd507127c07adc6f" - integrity sha512-3VawOtjSJUQiiqac8MQc+w457iGLfuNGLFn8JmF051tTKbh5/x/0vlcEj8OgDCaw7Ysa2Jn8paGshV7x2abKXg== + version "7.23.0" + resolved "https://registry.npmjs.org/eslint/-/eslint-7.23.0.tgz#8d029d252f6e8cf45894b4bee08f5493f8e94325" + integrity sha512-kqvNVbdkjzpFy0XOszNwjkKzZ+6TcwCQ/h+ozlcIWwaimBBuhlQ4nN6kbiM2L+OjDcznkTJxzYfRFH92sx4a0Q== dependencies: "@babel/code-frame" "7.12.11" "@eslint/eslintrc" "^0.4.0" @@ -5107,9 +5107,9 @@ globals@^12.1.0: type-fest "^0.8.1" globals@^13.6.0: - version "13.6.0" - resolved "https://registry.npmjs.org/globals/-/globals-13.6.0.tgz#d77138e53738567bb96a3916ff6f6b487af20ef7" - integrity sha512-YFKCX0SiPg7l5oKYCJ2zZGxcXprVXHcSnVuvzrT3oSENQonVLqM5pf9fN5dLGZGyCjhw8TN8Btwe/jKnZ0pjvQ== + version "13.7.0" + resolved "https://registry.npmjs.org/globals/-/globals-13.7.0.tgz#aed3bcefd80ad3ec0f0be2cf0c895110c0591795" + integrity sha512-Aipsz6ZKRxa/xQkZhNg0qIWXT6x6rD46f6x/PCnBomlttdIyAPak4YD9jTmKpZ72uROSMU87qJtcgpgHaVchiA== dependencies: type-fest "^0.20.2" From c3ab80c3ed6679912089ad474be12d6fc990a915 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 28 Mar 2021 15:26:55 +0800 Subject: [PATCH 0003/1667] chore: update dependency @types/node to v12.20.7 (#2528) 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 ed5ce20423..daafc85ef4 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "@babel/preset-env": "^7.12.11", "@lerna/project": "4.0.0", "@types/jest": "26.0.22", - "@types/node": "12.20.6", + "@types/node": "12.20.7", "@typescript-eslint/eslint-plugin": "^4.1.0", "@typescript-eslint/parser": "^4.1.0", "docsify-cli": "^4.4.0", diff --git a/yarn.lock b/yarn.lock index 1864a7629e..adef20ccfa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2289,10 +2289,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9" integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA== -"@types/node@12.20.6": - version "12.20.6" - resolved "https://registry.npmjs.org/@types/node/-/node-12.20.6.tgz#7b73cce37352936e628c5ba40326193443cfba25" - integrity sha512-sRVq8d+ApGslmkE9e3i+D3gFGk7aZHAT+G4cIpIEdLJYPsWiSPwcAnJEjddLQQDqV3Ra2jOclX/Sv6YrvGYiWA== +"@types/node@12.20.7": + version "12.20.7" + resolved "https://registry.npmjs.org/@types/node/-/node-12.20.7.tgz#1cb61fd0c85cb87e728c43107b5fd82b69bc9ef8" + integrity sha512-gWL8VUkg8VRaCAUgG9WmhefMqHmMblxe2rVpMF86nZY/+ZysU+BkAp+3cz03AixWDSSz0ks5WX59yAhv/cDwFA== "@types/normalize-package-data@^2.4.0": version "2.4.0" From d38a2adc07f4cd6dad48aadbb73f2f1d3740e689 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 28 Mar 2021 17:42:38 +0800 Subject: [PATCH 0004/1667] fix: update dependency read-pkg to v6 (#2530) Co-authored-by: Renovate Bot --- @packages/utils/package.json | 2 +- yarn.lock | 58 +++++++++++++++++++++++++++++++----- 2 files changed, 51 insertions(+), 9 deletions(-) diff --git a/@packages/utils/package.json b/@packages/utils/package.json index d267c23e0c..b27074611d 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -42,7 +42,7 @@ "dependencies": { "execa": "^5.0.0", "fs-extra": "^9.0.0", - "read-pkg": "5.2.0", + "read-pkg": "6.0.0", "require-from-string": "2.0.2", "tar-fs": "2.1.1", "tmp": "0.2.1", diff --git a/yarn.lock b/yarn.lock index adef20ccfa..d2bd83b9d9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5308,6 +5308,13 @@ hosted-git-info@^3.0.6: dependencies: lru-cache "^6.0.0" +hosted-git-info@^4.0.1: + version "4.0.2" + resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz#5e425507eede4fea846b7262f0838456c4209961" + integrity sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg== + dependencies: + lru-cache "^6.0.0" + html-encoding-sniffer@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz#42a6dc4fd33f00281176e8b23759ca4e4fa185f3" @@ -7420,6 +7427,16 @@ normalize-package-data@^3.0.0: semver "^7.3.2" validate-npm-package-license "^3.0.1" +normalize-package-data@^3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.2.tgz#cae5c410ae2434f9a6c1baa65d5bc3b9366c8699" + integrity sha512-6CdZocmfGaKnIHPVFhJJZ3GuR8SsLKvDANFp47Jmy51aKIr8akjAWTSxtpI+MBgBFdSMRyo4hMpDlT6dTffgZg== + dependencies: + hosted-git-info "^4.0.1" + resolve "^1.20.0" + semver "^7.3.4" + validate-npm-package-license "^3.0.1" + normalize-path@^2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" @@ -7939,6 +7956,16 @@ parse-json@^5.0.0: json-parse-better-errors "^1.0.1" lines-and-columns "^1.1.6" +parse-json@^5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + parse-passwd@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" @@ -8381,15 +8408,15 @@ read-pkg-up@^7.0.1: read-pkg "^5.2.0" type-fest "^0.8.1" -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== +read-pkg@6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-6.0.0.tgz#a67a7d6a1c2b0c3cd6aa2ea521f40c458a4a504c" + integrity sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q== dependencies: "@types/normalize-package-data" "^2.4.0" - normalize-package-data "^2.5.0" - parse-json "^5.0.0" - type-fest "^0.6.0" + normalize-package-data "^3.0.2" + parse-json "^5.2.0" + type-fest "^1.0.1" read-pkg@^1.0.0: version "1.1.0" @@ -8418,6 +8445,16 @@ read-pkg@^3.0.0: normalize-package-data "^2.3.2" path-type "^3.0.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== + dependencies: + "@types/normalize-package-data" "^2.4.0" + normalize-package-data "^2.5.0" + parse-json "^5.0.0" + type-fest "^0.6.0" + read@1, read@~1.0.1: version "1.0.7" resolved "https://registry.npmjs.org/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" @@ -8743,7 +8780,7 @@ resolve-url@^0.2.1: resolved "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= -resolve@^1.1.6, resolve@^1.14.2: +resolve@^1.1.6, resolve@^1.14.2, resolve@^1.20.0: version "1.20.0" resolved "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975" integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A== @@ -9914,6 +9951,11 @@ type-fest@^0.8.1: resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== +type-fest@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/type-fest/-/type-fest-1.0.1.tgz#2494455e65c59170ec98bdda05b7d7184f5b74ad" + integrity sha512-+UTPE7JT3O+sUpRroRgQAbbSfIRBwOHh+o/oruB1JJE6g6uBm3Y0D82fO3xu8VHfxJLQjeRp0PEY6mRmh/lElA== + 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" From 688ad1e16650113374ead7dafc46ac774f57e759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Poduszl=C3=B3?= Date: Sun, 28 Mar 2021 12:06:01 +0200 Subject: [PATCH 0005/1667] Allow any scope casing for Conventional Commits (#2529) * Allow any scope casing for Conventional Commits * Remove obsolete scope casing restriction test --- @commitlint/config-conventional/index.js | 1 - @commitlint/config-conventional/index.test.js | 14 -------------- 2 files changed, 15 deletions(-) diff --git a/@commitlint/config-conventional/index.js b/@commitlint/config-conventional/index.js index cac9d3017f..8a7e3bd15a 100644 --- a/@commitlint/config-conventional/index.js +++ b/@commitlint/config-conventional/index.js @@ -6,7 +6,6 @@ module.exports = { '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': [ 2, 'never', diff --git a/@commitlint/config-conventional/index.test.js b/@commitlint/config-conventional/index.test.js index 7f05f14ce2..570c4b9ace 100644 --- a/@commitlint/config-conventional/index.test.js +++ b/@commitlint/config-conventional/index.test.js @@ -5,7 +5,6 @@ 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', @@ -52,12 +51,6 @@ const errors = { name: 'type-empty', valid: false, }, - scopeCase: { - level: 2, - message: 'scope must be lower-case', - name: 'scope-case', - valid: false, - }, subjectCase: { level: 2, message: @@ -134,13 +127,6 @@ test('type-empty', async () => { 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) => From 6862403f2ae4b644dff067a11b86bccb30a67a59 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 30 Mar 2021 10:42:55 +0800 Subject: [PATCH 0006/1667] chore: update dependency @babel/core to v7.13.14 (#2531) Co-authored-by: Renovate Bot --- yarn.lock | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/yarn.lock b/yarn.lock index d2bd83b9d9..96c7ded2d7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -43,24 +43,23 @@ source-map "^0.5.0" "@babel/core@^7.12.10": - version "7.13.13" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.13.13.tgz#bc44c4a2be2288ec4ddf56b66fc718019c76ac29" - integrity sha512-1xEs9jZAyKIouOoCmpsgk/I26PoKyvzQ2ixdRpRzfbcp1fL+ozw7TUgdDgwonbTovqRaTfRh50IXuw4QrWO0GA== + version "7.13.14" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.13.14.tgz#8e46ebbaca460a63497c797e574038ab04ae6d06" + integrity sha512-wZso/vyF4ki0l0znlgM4inxbdrUvCb+cVz8grxDq+6C9k6qbqoIJteQOKicaKjCipU3ISV+XedCqpL2RJJVehA== dependencies: "@babel/code-frame" "^7.12.13" "@babel/generator" "^7.13.9" "@babel/helper-compilation-targets" "^7.13.13" - "@babel/helper-module-transforms" "^7.13.12" + "@babel/helper-module-transforms" "^7.13.14" "@babel/helpers" "^7.13.10" "@babel/parser" "^7.13.13" "@babel/template" "^7.12.13" "@babel/traverse" "^7.13.13" - "@babel/types" "^7.13.13" + "@babel/types" "^7.13.14" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.1.2" - lodash "^4.17.19" semver "^6.3.0" source-map "^0.5.0" @@ -219,7 +218,7 @@ "@babel/types" "^7.12.13" lodash "^4.17.19" -"@babel/helper-module-transforms@^7.13.0", "@babel/helper-module-transforms@^7.13.12": +"@babel/helper-module-transforms@^7.13.0": version "7.13.12" resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.13.12.tgz#600e58350490828d82282631a1422268e982ba96" integrity sha512-7zVQqMO3V+K4JOOj40kxiCrMf6xlQAkewBB0eu2b03OO/Q21ZutOzjpfD79A5gtE/2OWi1nv625MrDlGlkbknQ== @@ -233,6 +232,20 @@ "@babel/traverse" "^7.13.0" "@babel/types" "^7.13.12" +"@babel/helper-module-transforms@^7.13.14": + version "7.13.14" + resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.13.14.tgz#e600652ba48ccb1641775413cb32cfa4e8b495ef" + integrity sha512-QuU/OJ0iAOSIatyVZmfqB0lbkVP0kDRiKj34xy+QNsnVZi/PA6BoSoreeqnxxa9EHFAIL0R9XOaAR/G9WlIy5g== + dependencies: + "@babel/helper-module-imports" "^7.13.12" + "@babel/helper-replace-supers" "^7.13.12" + "@babel/helper-simple-access" "^7.13.12" + "@babel/helper-split-export-declaration" "^7.12.13" + "@babel/helper-validator-identifier" "^7.12.11" + "@babel/template" "^7.12.13" + "@babel/traverse" "^7.13.13" + "@babel/types" "^7.13.14" + "@babel/helper-optimise-call-expression@^7.12.13": version "7.12.13" resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.13.tgz#5c02d171b4c8615b1e7163f888c1c81c30a2aaea" @@ -1022,10 +1035,10 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" -"@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.13.13": - version "7.13.13" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.13.13.tgz#dcd8b815b38f537a3697ce84c8e3cc62197df96f" - integrity sha512-kt+EpC6qDfIaqlP+DIbIJOclYy/A1YXs9dAf/ljbi+39Bcbc073H6jKVpXEr/EoIh5anGn5xq/yRVzKl+uIc9w== +"@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.13.13", "@babel/types@^7.13.14": + version "7.13.14" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.13.14.tgz#c35a4abb15c7cd45a2746d78ab328e362cbace0d" + integrity sha512-A2aa3QTkWoyqsZZFl56MLUsfmh7O0gN41IPvXAE/++8ojpbz12SszD7JEGYVdn4f9Kt4amIei07swF1h4AqmmQ== dependencies: "@babel/helper-validator-identifier" "^7.12.11" lodash "^4.17.19" From 3208db5d5dd8fa78831fab25e7094c66d8295fe3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 30 Mar 2021 10:43:05 +0800 Subject: [PATCH 0007/1667] chore: update dependency husky to v6 (#2532) 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 daafc85ef4..f26a0fb056 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "eslint-config-prettier": "^8.0.0", "eslint-plugin-import": "^2.20.1", "eslint-plugin-jest": "^24.0.0", - "husky": "^5.1.1", + "husky": "^6.0.0", "jest": "26.6.3", "lerna": "^4.0.0", "lint-staged": "10.5.4", diff --git a/yarn.lock b/yarn.lock index 96c7ded2d7..0214471417 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5399,10 +5399,10 @@ humanize-ms@^1.2.1: dependencies: ms "^2.0.0" -husky@^5.1.1: - version "5.2.0" - resolved "https://registry.npmjs.org/husky/-/husky-5.2.0.tgz#fc5e1c2300d34855d47de4753607d00943fc0802" - integrity sha512-AM8T/auHXRBxlrfPVLKP6jt49GCM2Zz47m8G3FOMsLmTv8Dj/fKVWE0Rh2d4Qrvmy131xEsdQnb3OXRib67PGg== +husky@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e" + integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ== iconv-lite@0.4.24, iconv-lite@^0.4.24: version "0.4.24" From de0052256b4a037d9fffbb3c8567c33fc9f6b255 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 30 Mar 2021 10:43:14 +0800 Subject: [PATCH 0008/1667] chore: update typescript-eslint monorepo to v4.20.0 (#2533) Co-authored-by: Renovate Bot --- yarn.lock | 90 +++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 74 insertions(+), 16 deletions(-) diff --git a/yarn.lock b/yarn.lock index 0214471417..ecf2ac2afe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2357,12 +2357,12 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^4.1.0": - version "4.18.0" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.18.0.tgz#50fbce93211b5b690895d20ebec6fe8db48af1f6" - integrity sha512-Lzkc/2+7EoH7+NjIWLS2lVuKKqbEmJhtXe3rmfA8cyiKnZm3IfLf51irnBcmow8Q/AptVV0XBZmBJKuUJTe6cQ== + version "4.20.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.20.0.tgz#9d8794bd99aad9153092ad13c96164e3082e9a92" + integrity sha512-sw+3HO5aehYqn5w177z2D82ZQlqHCwcKSMboueo7oE4KU9QiC0SAgfS/D4z9xXvpTc8Bt41Raa9fBR8T2tIhoQ== dependencies: - "@typescript-eslint/experimental-utils" "4.18.0" - "@typescript-eslint/scope-manager" "4.18.0" + "@typescript-eslint/experimental-utils" "4.20.0" + "@typescript-eslint/scope-manager" "4.20.0" debug "^4.1.1" functional-red-black-tree "^1.0.1" lodash "^4.17.15" @@ -2370,7 +2370,19 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@4.18.0", "@typescript-eslint/experimental-utils@^4.0.1": +"@typescript-eslint/experimental-utils@4.20.0": + version "4.20.0" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.20.0.tgz#a8ab2d7b61924f99042b7d77372996d5f41dc44b" + integrity sha512-sQNlf6rjLq2yB5lELl3gOE7OuoA/6IVXJUJ+Vs7emrQMva14CkOwyQwD7CW+TkmOJ4Q/YGmoDLmbfFrpGmbKng== + dependencies: + "@types/json-schema" "^7.0.3" + "@typescript-eslint/scope-manager" "4.20.0" + "@typescript-eslint/types" "4.20.0" + "@typescript-eslint/typescript-estree" "4.20.0" + eslint-scope "^5.0.0" + eslint-utils "^2.0.0" + +"@typescript-eslint/experimental-utils@^4.0.1": version "4.18.0" resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.18.0.tgz#ed6c955b940334132b17100d2917449b99a91314" integrity sha512-92h723Kblt9JcT2RRY3QS2xefFKar4ZQFVs3GityOKWQYgtajxt/tuXIzL7sVCUlM1hgreiV5gkGYyBpdOwO6A== @@ -2383,13 +2395,13 @@ eslint-utils "^2.0.0" "@typescript-eslint/parser@^4.1.0": - version "4.18.0" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.18.0.tgz#a211edb14a69fc5177054bec04c95b185b4dde21" - integrity sha512-W3z5S0ZbecwX3PhJEAnq4mnjK5JJXvXUDBYIYGoweCyWyuvAKfGHvzmpUzgB5L4cRBb+cTu9U/ro66dx7dIimA== + version "4.20.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.20.0.tgz#8dd403c8b4258b99194972d9799e201b8d083bdd" + integrity sha512-m6vDtgL9EABdjMtKVw5rr6DdeMCH3OA1vFb0dAyuZSa3e5yw1YRzlwFnm9knma9Lz6b2GPvoNSa8vOXrqsaglA== dependencies: - "@typescript-eslint/scope-manager" "4.18.0" - "@typescript-eslint/types" "4.18.0" - "@typescript-eslint/typescript-estree" "4.18.0" + "@typescript-eslint/scope-manager" "4.20.0" + "@typescript-eslint/types" "4.20.0" + "@typescript-eslint/typescript-estree" "4.20.0" debug "^4.1.1" "@typescript-eslint/scope-manager@4.18.0": @@ -2400,11 +2412,24 @@ "@typescript-eslint/types" "4.18.0" "@typescript-eslint/visitor-keys" "4.18.0" +"@typescript-eslint/scope-manager@4.20.0": + version "4.20.0" + resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.20.0.tgz#953ecbf3b00845ece7be66246608be9d126d05ca" + integrity sha512-/zm6WR6iclD5HhGpcwl/GOYDTzrTHmvf8LLLkwKqqPKG6+KZt/CfSgPCiybshmck66M2L5fWSF/MKNuCwtKQSQ== + dependencies: + "@typescript-eslint/types" "4.20.0" + "@typescript-eslint/visitor-keys" "4.20.0" + "@typescript-eslint/types@4.18.0": version "4.18.0" resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.18.0.tgz#bebe323f81f2a7e2e320fac9415e60856267584a" integrity sha512-/BRociARpj5E+9yQ7cwCF/SNOWwXJ3qhjurMuK2hIFUbr9vTuDeu476Zpu+ptxY2kSxUHDGLLKy+qGq2sOg37A== +"@typescript-eslint/types@4.20.0": + version "4.20.0" + resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.20.0.tgz#c6cf5ef3c9b1c8f699a9bbdafb7a1da1ca781225" + integrity sha512-cYY+1PIjei1nk49JAPnH1VEnu7OYdWRdJhYI5wiKOUMhLTG1qsx5cQxCUTuwWCmQoyriadz3Ni8HZmGSofeC+w== + "@typescript-eslint/typescript-estree@4.18.0": version "4.18.0" resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.18.0.tgz#756d3e61da8c16ab99185532c44872f4cd5538cb" @@ -2418,6 +2443,19 @@ semver "^7.3.2" tsutils "^3.17.1" +"@typescript-eslint/typescript-estree@4.20.0": + version "4.20.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.20.0.tgz#8b3b08f85f18a8da5d88f65cb400f013e88ab7be" + integrity sha512-Knpp0reOd4ZsyoEJdW8i/sK3mtZ47Ls7ZHvD8WVABNx5Xnn7KhenMTRGegoyMTx6TiXlOVgMz9r0pDgXTEEIHA== + dependencies: + "@typescript-eslint/types" "4.20.0" + "@typescript-eslint/visitor-keys" "4.20.0" + debug "^4.1.1" + globby "^11.0.1" + is-glob "^4.0.1" + semver "^7.3.2" + tsutils "^3.17.1" + "@typescript-eslint/visitor-keys@4.18.0": version "4.18.0" resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.18.0.tgz#4e6fe2a175ee33418318a029610845a81e2ff7b6" @@ -2426,6 +2464,14 @@ "@typescript-eslint/types" "4.18.0" eslint-visitor-keys "^2.0.0" +"@typescript-eslint/visitor-keys@4.20.0": + version "4.20.0" + resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.20.0.tgz#1e84db034da13f208325e6bfc995c3b75f7dbd62" + integrity sha512-NXKRM3oOVQL8yNFDNCZuieRIwZ5UtjNLYtmMx2PacEAGmbaEYtGgVHUHVyZvU/0rYZcizdrWjDo+WBtRPSgq+A== + dependencies: + "@typescript-eslint/types" "4.20.0" + eslint-visitor-keys "^2.0.0" + JSONStream@^1.0.4: version "1.3.5" resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" @@ -5138,7 +5184,19 @@ globby@^11.0.0: merge2 "^1.3.0" slash "^3.0.0" -globby@^11.0.1, globby@^11.0.2: +globby@^11.0.1: + version "11.0.3" + resolved "https://registry.npmjs.org/globby/-/globby-11.0.3.tgz#9b1f0cb523e171dd1ad8c7b2a9fb4b644b9593cb" + integrity sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg== + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.1.1" + ignore "^5.1.4" + merge2 "^1.3.0" + slash "^3.0.0" + +globby@^11.0.2: version "11.0.2" resolved "https://registry.npmjs.org/globby/-/globby-11.0.2.tgz#1af538b766a3b540ebfb58a32b2e2d5897321d83" integrity sha512-2ZThXDvvV8fYFRVIxnrMQBipZQDr7MxKAmQK1vujaj9/7eF0efG7BPUKJ7jP7G5SLF37xKDXvO4S/KKLj/Z0og== @@ -8305,9 +8363,9 @@ qs@~6.5.2: integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== queue-microtask@^1.2.2: - version "1.2.2" - resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.2.tgz#abf64491e6ecf0f38a6502403d4cda04f372dfd3" - integrity sha512-dB15eXv3p2jDlbOiNLyMabYg1/sXvppd8DP2J3EOCQ0AkuSXCW2tP7mnVouVLJKgUMY6yP0kcQDVpLCN13h4Xg== + version "1.2.3" + resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== quick-lru@^1.0.0: version "1.1.0" From 32daec2277f3db2855996db57264bed36ed5db21 Mon Sep 17 00:00:00 2001 From: escapedcat Date: Fri, 2 Apr 2021 10:24:34 +0800 Subject: [PATCH 0009/1667] v12.1.1 --- @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 | 8 ++++++++ @alias/commitlint/package.json | 8 ++++---- @commitlint/cli/CHANGELOG.md | 8 ++++++++ @commitlint/cli/package.json | 14 +++++++------- @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 | 6 +++--- @commitlint/config-lerna-scopes/CHANGELOG.md | 12 ++++++++++++ @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 | 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 | 11 +++++++++++ @commitlint/is-ignored/package.json | 8 ++++---- @commitlint/lint/CHANGELOG.md | 8 ++++++++ @commitlint/lint/package.json | 12 ++++++------ @commitlint/load/CHANGELOG.md | 8 ++++++++ @commitlint/load/package.json | 10 +++++----- @commitlint/message/CHANGELOG.md | 8 ++++++++ @commitlint/message/package.json | 4 ++-- @commitlint/parse/CHANGELOG.md | 8 ++++++++ @commitlint/parse/package.json | 6 +++--- @commitlint/prompt-cli/CHANGELOG.md | 8 ++++++++ @commitlint/prompt-cli/package.json | 6 +++--- @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 | 14 +++++++------- @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 | 6 +++--- @commitlint/types/CHANGELOG.md | 8 ++++++++ @commitlint/types/package.json | 4 ++-- @packages/utils/CHANGELOG.md | 11 +++++++++++ @packages/utils/package.json | 2 +- CHANGELOG.md | 14 ++++++++++++++ lerna.json | 2 +- 60 files changed, 357 insertions(+), 98 deletions(-) diff --git a/@alias/commitlint-config-angular/CHANGELOG.md b/@alias/commitlint-config-angular/CHANGELOG.md index d49ad7b22a..9c2d43b47f 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package commitlint-config-angular + + + + + ## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) **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 848dd46acc..fcf64f1f15 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-angular", - "version": "12.0.1", + "version": "12.1.1", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=v10" }, "dependencies": { - "@commitlint/config-angular": "^12.0.1" + "@commitlint/config-angular": "^12.1.1" }, "devDependencies": { - "@commitlint/utils": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@alias/commitlint-config-lerna-scopes/CHANGELOG.md b/@alias/commitlint-config-lerna-scopes/CHANGELOG.md index af32b70e38..7cbe47a0a3 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package commitlint-config-lerna-scopes + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) **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 95e6e6f073..a86fbcb80c 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": "12.1.0", + "version": "12.1.1", "description": "Shareable commitlint config enforcing lerna package names as scopes", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=v10" }, "dependencies": { - "@commitlint/config-lerna-scopes": "^12.1.0" + "@commitlint/config-lerna-scopes": "^12.1.1" }, "devDependencies": { - "@commitlint/utils": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" } diff --git a/@alias/commitlint-config-patternplate/CHANGELOG.md b/@alias/commitlint-config-patternplate/CHANGELOG.md index 5f94ddb3ca..7d8000d5fa 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package commitlint-config-patternplate + + + + + ## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) **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 16865c98aa..09f79b8301 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "commitlint-config-patternplate", - "version": "12.0.1", + "version": "12.1.1", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=v10" }, "dependencies": { - "@commitlint/config-patternplate": "^12.0.1" + "@commitlint/config-patternplate": "^12.1.1" }, "devDependencies": { - "@commitlint/utils": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@alias/commitlint/CHANGELOG.md b/@alias/commitlint/CHANGELOG.md index b7db77131b..26d0ff1735 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package commitlint + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) **Note:** Version bump only for package commitlint diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index a81dc0714f..2eadfafb2b 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -1,6 +1,6 @@ { "name": "commitlint", - "version": "12.1.0", + "version": "12.1.1", "description": "Lint your commit messages", "files": [ "cli.js" @@ -34,12 +34,12 @@ }, "license": "MIT", "dependencies": { - "@commitlint/cli": "^12.1.0", - "@commitlint/types": "^12.0.1" + "@commitlint/cli": "^12.1.1", + "@commitlint/types": "^12.1.1" }, "devDependencies": { "@commitlint/test": "^12.1.0", - "@commitlint/utils": "^12.0.1", + "@commitlint/utils": "^12.1.1", "execa": "^5.0.0" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" diff --git a/@commitlint/cli/CHANGELOG.md b/@commitlint/cli/CHANGELOG.md index fa1b90594b..a89a70212d 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/cli + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) **Note:** Version bump only for package @commitlint/cli diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 188a6f74c2..f23bfa7a83 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/cli", - "version": "12.1.0", + "version": "12.1.1", "description": "Lint your commit messages", "files": [ "index.js", @@ -37,17 +37,17 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "^12.1.0", - "@commitlint/utils": "^12.0.1", + "@commitlint/utils": "^12.1.1", "@types/yargs": "^16.0.0", "execa": "^5.0.0", "fs-extra": "^9.0.0" }, "dependencies": { - "@commitlint/format": "^12.0.1", - "@commitlint/lint": "^12.1.0", - "@commitlint/load": "^12.1.0", - "@commitlint/read": "^12.1.0", - "@commitlint/types": "^12.0.1", + "@commitlint/format": "^12.1.1", + "@commitlint/lint": "^12.1.1", + "@commitlint/load": "^12.1.1", + "@commitlint/read": "^12.1.1", + "@commitlint/types": "^12.1.1", "get-stdin": "8.0.0", "lodash": "^4.17.19", "resolve-from": "5.0.0", diff --git a/@commitlint/config-angular-type-enum/CHANGELOG.md b/@commitlint/config-angular-type-enum/CHANGELOG.md index 7656aa4fcc..983d695732 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/config-angular-type-enum + + + + + ## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) **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 0dbc84b0f0..7ca9adccec 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": "12.0.1", + "version": "12.1.1", "description": "Shareable commitlint config enforcing the angular commit convention types", "files": [ "index.js" @@ -29,7 +29,7 @@ "node": ">=v10" }, "devDependencies": { - "@commitlint/utils": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/config-angular/CHANGELOG.md b/@commitlint/config-angular/CHANGELOG.md index efe43ed3aa..0f3b876c19 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/config-angular + + + + + ## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) **Note:** Version bump only for package @commitlint/config-angular diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index e708ada742..8e3290e31b 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-angular", - "version": "12.0.1", + "version": "12.1.1", "description": "Shareable commitlint config enforcing the angular commit convention", "files": [ "index.js" @@ -29,10 +29,10 @@ "node": ">=v10" }, "devDependencies": { - "@commitlint/utils": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "dependencies": { - "@commitlint/config-angular-type-enum": "^12.0.1" + "@commitlint/config-angular-type-enum": "^12.1.1" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/config-conventional/CHANGELOG.md b/@commitlint/config-conventional/CHANGELOG.md index 752513550d..a83353f339 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/config-conventional + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) **Note:** Version bump only for package @commitlint/config-conventional diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index e5140007e4..0660847f00 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-conventional", - "version": "12.1.0", + "version": "12.1.1", "description": "Shareable commitlint config enforcing conventional commits", "files": [ "index.js" @@ -32,8 +32,8 @@ "node": ">=v10" }, "devDependencies": { - "@commitlint/lint": "^12.1.0", - "@commitlint/utils": "^12.0.1" + "@commitlint/lint": "^12.1.1", + "@commitlint/utils": "^12.1.1" }, "dependencies": { "conventional-changelog-conventionalcommits": "^4.3.1" diff --git a/@commitlint/config-lerna-scopes/CHANGELOG.md b/@commitlint/config-lerna-scopes/CHANGELOG.md index 33dbcb075e..50c86da2cc 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + + +### Bug Fixes + +* **config-lerna-scopes:** ignore packages without names ([#2514](https://github.com/conventional-changelog/commitlint/issues/2514)) ([df3bf71](https://github.com/conventional-changelog/commitlint/commit/df3bf71ab36a085ef35a1491025c0d2e2b92ff77)) +* update dependency semver to v7.3.5 ([#2519](https://github.com/conventional-changelog/commitlint/issues/2519)) ([5113f22](https://github.com/conventional-changelog/commitlint/commit/5113f22c620e7b187fd558e5befa541b448ea18b)) + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index 111e9c44a1..f4ca59f1c7 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": "12.1.0", + "version": "12.1.1", "description": "Shareable commitlint config enforcing lerna package and workspace names as scopes", "files": [ "index.js" @@ -39,7 +39,7 @@ }, "devDependencies": { "@commitlint/test": "^12.1.0", - "@commitlint/utils": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" } diff --git a/@commitlint/config-patternplate/CHANGELOG.md b/@commitlint/config-patternplate/CHANGELOG.md index 011305cde9..03c79edcb3 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/config-patternplate + + + + + ## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) **Note:** Version bump only for package @commitlint/config-patternplate diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index a3cf2d00fb..c80664b8e9 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/config-patternplate", - "version": "12.0.1", + "version": "12.1.1", "description": "Lint your commits, patternplate-style", "files": [ "index.js" @@ -29,12 +29,12 @@ "node": ">=v10" }, "dependencies": { - "@commitlint/config-angular": "^12.0.1", + "@commitlint/config-angular": "^12.1.1", "globby": "^11.0.0", "lodash": "^4.17.19" }, "devDependencies": { - "@commitlint/utils": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/core/CHANGELOG.md b/@commitlint/core/CHANGELOG.md index 334d5b1f8a..33b4cae7e6 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/core + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) **Note:** Version bump only for package @commitlint/core diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index b4f3babbfc..734fb034f1 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/core", - "version": "12.1.0", + "version": "12.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": "^12.0.1", - "@commitlint/lint": "^12.1.0", - "@commitlint/load": "^12.1.0", - "@commitlint/read": "^12.1.0" + "@commitlint/format": "^12.1.1", + "@commitlint/lint": "^12.1.1", + "@commitlint/load": "^12.1.1", + "@commitlint/read": "^12.1.1" }, "devDependencies": { - "@commitlint/utils": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" } diff --git a/@commitlint/ensure/CHANGELOG.md b/@commitlint/ensure/CHANGELOG.md index a2feaf5184..c125905c13 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/ensure + + + + + ## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) **Note:** Version bump only for package @commitlint/ensure diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 3b74e78aec..0aaef84509 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/ensure", - "version": "12.0.1", + "version": "12.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": "^12.0.1", + "@commitlint/utils": "^12.1.1", "@types/lodash": "^4.14.161", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/types": "^12.0.1", + "@commitlint/types": "^12.1.1", "lodash": "^4.17.19" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" diff --git a/@commitlint/execute-rule/CHANGELOG.md b/@commitlint/execute-rule/CHANGELOG.md index 3d3a3f3b2c..5e3ff102a8 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/execute-rule + + + + + ## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) **Note:** Version bump only for package @commitlint/execute-rule diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index ff15fa7397..b3b740035f 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/execute-rule", - "version": "12.0.1", + "version": "12.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": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/format/CHANGELOG.md b/@commitlint/format/CHANGELOG.md index 4949a7acd1..9460fa7415 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/format + + + + + ## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index 22b8815bec..c0ff3c174b 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/format", - "version": "12.0.1", + "version": "12.1.1", "description": "Format commitlint reports", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,10 +34,10 @@ }, "license": "MIT", "devDependencies": { - "@commitlint/utils": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "dependencies": { - "@commitlint/types": "^12.0.1", + "@commitlint/types": "^12.1.1", "chalk": "^4.0.0" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" diff --git a/@commitlint/is-ignored/CHANGELOG.md b/@commitlint/is-ignored/CHANGELOG.md index 0aa6677186..f483104c8c 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + + +### Bug Fixes + +* update dependency semver to v7.3.5 ([#2519](https://github.com/conventional-changelog/commitlint/issues/2519)) ([5113f22](https://github.com/conventional-changelog/commitlint/commit/5113f22c620e7b187fd558e5befa541b448ea18b)) + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) **Note:** Version bump only for package @commitlint/is-ignored diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index d418010fc3..078602c040 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/is-ignored", - "version": "12.1.0", + "version": "12.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": "^12.1.0", + "@commitlint/parse": "^12.1.1", "@commitlint/test": "^12.1.0", - "@commitlint/utils": "^12.0.1", + "@commitlint/utils": "^12.1.1", "@types/semver": "7.3.4" }, "dependencies": { - "@commitlint/types": "^12.0.1", + "@commitlint/types": "^12.1.1", "semver": "7.3.5" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" diff --git a/@commitlint/lint/CHANGELOG.md b/@commitlint/lint/CHANGELOG.md index d22ab4e43f..9c586639d5 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/lint + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) **Note:** Version bump only for package @commitlint/lint diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index d87e067b99..fbf4f060fc 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/lint", - "version": "12.1.0", + "version": "12.1.1", "description": "Lint a string against commitlint rules", "main": "lib/lint.js", "types": "lib/lint.d.ts", @@ -35,13 +35,13 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "^12.1.0", - "@commitlint/utils": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "dependencies": { - "@commitlint/is-ignored": "^12.1.0", - "@commitlint/parse": "^12.1.0", - "@commitlint/rules": "^12.1.0", - "@commitlint/types": "^12.0.1" + "@commitlint/is-ignored": "^12.1.1", + "@commitlint/parse": "^12.1.1", + "@commitlint/rules": "^12.1.1", + "@commitlint/types": "^12.1.1" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" } diff --git a/@commitlint/load/CHANGELOG.md b/@commitlint/load/CHANGELOG.md index f22a6f1ee6..d166b398c5 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/load + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) **Note:** Version bump only for package @commitlint/load diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 85eac1745d..a40bc278a5 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/load", - "version": "12.1.0", + "version": "12.1.1", "description": "Load shared commitlint configuration", "main": "lib/load.js", "types": "lib/load.d.ts", @@ -35,15 +35,15 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "^12.1.0", - "@commitlint/utils": "^12.0.1", + "@commitlint/utils": "^12.1.1", "@types/lodash": "4.14.168", "conventional-changelog-atom": "^2.0.8", "execa": "^5.0.0" }, "dependencies": { - "@commitlint/execute-rule": "^12.0.1", - "@commitlint/resolve-extends": "^12.0.1", - "@commitlint/types": "^12.0.1", + "@commitlint/execute-rule": "^12.1.1", + "@commitlint/resolve-extends": "^12.1.1", + "@commitlint/types": "^12.1.1", "chalk": "^4.0.0", "cosmiconfig": "^7.0.0", "lodash": "^4.17.19", diff --git a/@commitlint/message/CHANGELOG.md b/@commitlint/message/CHANGELOG.md index 2993559b1a..838269024c 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/message + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) **Note:** Version bump only for package @commitlint/message diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index b67436e8f6..83f29468bc 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/message", - "version": "12.1.0", + "version": "12.1.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -35,7 +35,7 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "^12.1.0", - "@commitlint/utils": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" } diff --git a/@commitlint/parse/CHANGELOG.md b/@commitlint/parse/CHANGELOG.md index 0e50f704b3..742365e97c 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/parse + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) **Note:** Version bump only for package @commitlint/parse diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 6c74743c1b..3e12ef9f95 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/parse", - "version": "12.1.0", + "version": "12.1.1", "description": "Lint your commit messages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -35,10 +35,10 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "^12.1.0", - "@commitlint/utils": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "dependencies": { - "@commitlint/types": "^12.0.1", + "@commitlint/types": "^12.1.1", "conventional-changelog-angular": "^5.0.11", "conventional-commits-parser": "^3.0.0" }, diff --git a/@commitlint/prompt-cli/CHANGELOG.md b/@commitlint/prompt-cli/CHANGELOG.md index c537705521..12de2ed1a7 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/prompt-cli + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) **Note:** Version bump only for package @commitlint/prompt-cli diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 18d1d35010..0cf8b7ea21 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt-cli", - "version": "12.1.0", + "version": "12.1.1", "description": "commit prompt using commitlint.config.js", "files": [ "cli.js" @@ -32,10 +32,10 @@ }, "devDependencies": { "@commitlint/test": "^12.1.0", - "@commitlint/utils": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "dependencies": { - "@commitlint/prompt": "^12.1.0", + "@commitlint/prompt": "^12.1.1", "execa": "^5.0.0" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" diff --git a/@commitlint/prompt/CHANGELOG.md b/@commitlint/prompt/CHANGELOG.md index 86122d2283..0af18f24d8 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + + +### Bug Fixes + +* **prompt:** modify the entry point to pass commitizen's function check ([#2501](https://github.com/conventional-changelog/commitlint/issues/2501)) ([0173fb7](https://github.com/conventional-changelog/commitlint/commit/0173fb7cc01dc8442ed88a0ab8feec20c955deee)), closes [/github.com/conventional-changelog/commitlint/issues/2486#issuecomment-791682272](https://github.com//github.com/conventional-changelog/commitlint/issues/2486/issues/issuecomment-791682272) [/github.com/conventional-changelog/commitlint/issues/2486#issuecomment-791682272](https://github.com//github.com/conventional-changelog/commitlint/issues/2486/issues/issuecomment-791682272) + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) **Note:** Version bump only for package @commitlint/prompt diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 68d18c25c3..1a63dd5572 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/prompt", - "version": "12.1.0", + "version": "12.1.1", "description": "commitizen prompt using commitlint.config.js", "main": "./lib/index.js", "files": [ @@ -36,12 +36,12 @@ "node": ">=v10" }, "devDependencies": { - "@commitlint/utils": "^12.0.1", + "@commitlint/utils": "^12.1.1", "commitizen": "4.2.3" }, "dependencies": { - "@commitlint/load": "^12.1.0", - "@commitlint/types": "^12.0.1", + "@commitlint/load": "^12.1.1", + "@commitlint/types": "^12.1.1", "chalk": "^4.0.0", "lodash": "^4.17.19", "throat": "^6.0.0", diff --git a/@commitlint/read/CHANGELOG.md b/@commitlint/read/CHANGELOG.md index 14bc5a1fde..3fb880bf9f 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/read + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) **Note:** Version bump only for package @commitlint/read diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 259ee52e1f..a57d7374b7 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/read", - "version": "12.1.0", + "version": "12.1.1", "description": "Read commit messages from a specified range or last edit", "main": "lib/read.js", "types": "lib/read.d.ts", @@ -35,14 +35,14 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "^12.1.0", - "@commitlint/utils": "^12.0.1", + "@commitlint/utils": "^12.1.1", "@types/fs-extra": "^9.0.1", "@types/git-raw-commits": "^2.0.0", "execa": "^5.0.0" }, "dependencies": { - "@commitlint/top-level": "^12.0.1", - "@commitlint/types": "^12.0.1", + "@commitlint/top-level": "^12.1.1", + "@commitlint/types": "^12.1.1", "fs-extra": "^9.0.0", "git-raw-commits": "^2.0.0" }, diff --git a/@commitlint/resolve-extends/CHANGELOG.md b/@commitlint/resolve-extends/CHANGELOG.md index 0562d118d4..e80806d628 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/resolve-extends + + + + + ## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) **Note:** Version bump only for package @commitlint/resolve-extends diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index 1f82209619..ed7bd04301 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/resolve-extends", - "version": "12.0.1", + "version": "12.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": "^12.0.1", + "@commitlint/utils": "^12.1.1", "@types/lodash": "^4.14.161" }, "dependencies": { diff --git a/@commitlint/rules/CHANGELOG.md b/@commitlint/rules/CHANGELOG.md index b610a4087c..d1481130e7 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/rules + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) **Note:** Version bump only for package @commitlint/rules diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index f3829b4977..dc450eb291 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/rules", - "version": "12.1.0", + "version": "12.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": "^12.1.0", + "@commitlint/parse": "^12.1.1", "@commitlint/test": "^12.1.0", - "@commitlint/utils": "^12.0.1", + "@commitlint/utils": "^12.1.1", "conventional-changelog-angular": "5.0.12", "globby": "^11.0.0" }, "dependencies": { - "@commitlint/ensure": "^12.0.1", - "@commitlint/message": "^12.1.0", - "@commitlint/to-lines": "^12.0.1", - "@commitlint/types": "^12.0.1" + "@commitlint/ensure": "^12.1.1", + "@commitlint/message": "^12.1.1", + "@commitlint/to-lines": "^12.1.1", + "@commitlint/types": "^12.1.1" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" } diff --git a/@commitlint/to-lines/CHANGELOG.md b/@commitlint/to-lines/CHANGELOG.md index 3749146ac3..6d9180cf98 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/to-lines + + + + + ## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) **Note:** Version bump only for package @commitlint/to-lines diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index b62736e156..b297524716 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/to-lines", - "version": "12.0.1", + "version": "12.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": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@commitlint/top-level/CHANGELOG.md b/@commitlint/top-level/CHANGELOG.md index 4b74e36d09..e8eff135a3 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/top-level + + + + + ## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) **Note:** Version bump only for package @commitlint/top-level diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index 10424b6950..69155b8078 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/top-level", - "version": "12.0.1", + "version": "12.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": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "dependencies": { "find-up": "^5.0.0" diff --git a/@commitlint/travis-cli/CHANGELOG.md b/@commitlint/travis-cli/CHANGELOG.md index da1b711c14..275e63b95c 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/travis-cli + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) **Note:** Version bump only for package @commitlint/travis-cli diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 72ecf21a68..20b8630fb6 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/travis-cli", - "version": "12.1.0", + "version": "12.1.1", "description": "Lint all relevant commits for a change or PR on Travis CI", "files": [ "lib/", @@ -36,10 +36,10 @@ "license": "MIT", "devDependencies": { "@commitlint/test": "^12.1.0", - "@commitlint/utils": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "dependencies": { - "@commitlint/cli": "^12.1.0", + "@commitlint/cli": "^12.1.1", "execa": "^5.0.0" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" diff --git a/@commitlint/types/CHANGELOG.md b/@commitlint/types/CHANGELOG.md index 77a23bbb85..fa3f0c8f3a 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + +**Note:** Version bump only for package @commitlint/types + + + + + ## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index 9620f2dd69..fe1c7af725 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/types", - "version": "12.0.1", + "version": "12.1.1", "description": "Shared types for commitlint packages", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -30,7 +30,7 @@ "chalk": "^4.0.0" }, "devDependencies": { - "@commitlint/utils": "^12.0.1" + "@commitlint/utils": "^12.1.1" }, "gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" } diff --git a/@packages/utils/CHANGELOG.md b/@packages/utils/CHANGELOG.md index ccc3de4ba4..7ce3b0d075 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. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + + +### Bug Fixes + +* update dependency read-pkg to v6 ([#2530](https://github.com/conventional-changelog/commitlint/issues/2530)) ([d38a2ad](https://github.com/conventional-changelog/commitlint/commit/d38a2adc07f4cd6dad48aadbb73f2f1d3740e689)) + + + + + ## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) **Note:** Version bump only for package @commitlint/utils diff --git a/@packages/utils/package.json b/@packages/utils/package.json index b27074611d..8b3cb35278 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@commitlint/utils", - "version": "12.0.1", + "version": "12.1.1", "description": "Development utilities for @commitlint", "private": true, "files": [ diff --git a/CHANGELOG.md b/CHANGELOG.md index 782d09d1ee..21529d69ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,20 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) + + +### Bug Fixes + +* update dependency read-pkg to v6 ([#2530](https://github.com/conventional-changelog/commitlint/issues/2530)) ([d38a2ad](https://github.com/conventional-changelog/commitlint/commit/d38a2adc07f4cd6dad48aadbb73f2f1d3740e689)) +* **config-lerna-scopes:** ignore packages without names ([#2514](https://github.com/conventional-changelog/commitlint/issues/2514)) ([df3bf71](https://github.com/conventional-changelog/commitlint/commit/df3bf71ab36a085ef35a1491025c0d2e2b92ff77)) +* update dependency semver to v7.3.5 ([#2519](https://github.com/conventional-changelog/commitlint/issues/2519)) ([5113f22](https://github.com/conventional-changelog/commitlint/commit/5113f22c620e7b187fd558e5befa541b448ea18b)) +* **prompt:** modify the entry point to pass commitizen's function check ([#2501](https://github.com/conventional-changelog/commitlint/issues/2501)) ([0173fb7](https://github.com/conventional-changelog/commitlint/commit/0173fb7cc01dc8442ed88a0ab8feec20c955deee)), closes [/github.com/conventional-changelog/commitlint/issues/2486#issuecomment-791682272](https://github.com//github.com/conventional-changelog/commitlint/issues/2486/issues/issuecomment-791682272) [/github.com/conventional-changelog/commitlint/issues/2486#issuecomment-791682272](https://github.com//github.com/conventional-changelog/commitlint/issues/2486/issues/issuecomment-791682272) + + + + + # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) diff --git a/lerna.json b/lerna.json index 1adba9b5cf..c2ebe0b959 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "lerna": "4", "npmClient": "yarn", "useWorkspaces": true, - "version": "12.1.0" + "version": "12.1.1" } From f160e0f627bb34e025770fb02c9588219031967c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 4 Apr 2021 18:46:34 +0800 Subject: [PATCH 0010/1667] chore: update dependency eslint-plugin-jest to v24.3.3 (#2536) Co-authored-by: Renovate Bot --- yarn.lock | 54 ++++-------------------------------------------------- 1 file changed, 4 insertions(+), 50 deletions(-) diff --git a/yarn.lock b/yarn.lock index ecf2ac2afe..cff87c3c69 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2370,7 +2370,7 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@4.20.0": +"@typescript-eslint/experimental-utils@4.20.0", "@typescript-eslint/experimental-utils@^4.0.1": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.20.0.tgz#a8ab2d7b61924f99042b7d77372996d5f41dc44b" integrity sha512-sQNlf6rjLq2yB5lELl3gOE7OuoA/6IVXJUJ+Vs7emrQMva14CkOwyQwD7CW+TkmOJ4Q/YGmoDLmbfFrpGmbKng== @@ -2382,18 +2382,6 @@ eslint-scope "^5.0.0" eslint-utils "^2.0.0" -"@typescript-eslint/experimental-utils@^4.0.1": - version "4.18.0" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.18.0.tgz#ed6c955b940334132b17100d2917449b99a91314" - integrity sha512-92h723Kblt9JcT2RRY3QS2xefFKar4ZQFVs3GityOKWQYgtajxt/tuXIzL7sVCUlM1hgreiV5gkGYyBpdOwO6A== - dependencies: - "@types/json-schema" "^7.0.3" - "@typescript-eslint/scope-manager" "4.18.0" - "@typescript-eslint/types" "4.18.0" - "@typescript-eslint/typescript-estree" "4.18.0" - eslint-scope "^5.0.0" - eslint-utils "^2.0.0" - "@typescript-eslint/parser@^4.1.0": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.20.0.tgz#8dd403c8b4258b99194972d9799e201b8d083bdd" @@ -2404,14 +2392,6 @@ "@typescript-eslint/typescript-estree" "4.20.0" debug "^4.1.1" -"@typescript-eslint/scope-manager@4.18.0": - version "4.18.0" - resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.18.0.tgz#d75b55234c35d2ff6ac945758d6d9e53be84a427" - integrity sha512-olX4yN6rvHR2eyFOcb6E4vmhDPsfdMyfQ3qR+oQNkAv8emKKlfxTWUXU5Mqxs2Fwe3Pf1BoPvrwZtwngxDzYzQ== - dependencies: - "@typescript-eslint/types" "4.18.0" - "@typescript-eslint/visitor-keys" "4.18.0" - "@typescript-eslint/scope-manager@4.20.0": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.20.0.tgz#953ecbf3b00845ece7be66246608be9d126d05ca" @@ -2420,29 +2400,11 @@ "@typescript-eslint/types" "4.20.0" "@typescript-eslint/visitor-keys" "4.20.0" -"@typescript-eslint/types@4.18.0": - version "4.18.0" - resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.18.0.tgz#bebe323f81f2a7e2e320fac9415e60856267584a" - integrity sha512-/BRociARpj5E+9yQ7cwCF/SNOWwXJ3qhjurMuK2hIFUbr9vTuDeu476Zpu+ptxY2kSxUHDGLLKy+qGq2sOg37A== - "@typescript-eslint/types@4.20.0": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.20.0.tgz#c6cf5ef3c9b1c8f699a9bbdafb7a1da1ca781225" integrity sha512-cYY+1PIjei1nk49JAPnH1VEnu7OYdWRdJhYI5wiKOUMhLTG1qsx5cQxCUTuwWCmQoyriadz3Ni8HZmGSofeC+w== -"@typescript-eslint/typescript-estree@4.18.0": - version "4.18.0" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.18.0.tgz#756d3e61da8c16ab99185532c44872f4cd5538cb" - integrity sha512-wt4xvF6vvJI7epz+rEqxmoNQ4ZADArGQO9gDU+cM0U5fdVv7N+IAuVoVAoZSOZxzGHBfvE3XQMLdy+scsqFfeg== - dependencies: - "@typescript-eslint/types" "4.18.0" - "@typescript-eslint/visitor-keys" "4.18.0" - debug "^4.1.1" - globby "^11.0.1" - is-glob "^4.0.1" - semver "^7.3.2" - tsutils "^3.17.1" - "@typescript-eslint/typescript-estree@4.20.0": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.20.0.tgz#8b3b08f85f18a8da5d88f65cb400f013e88ab7be" @@ -2456,14 +2418,6 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/visitor-keys@4.18.0": - version "4.18.0" - resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.18.0.tgz#4e6fe2a175ee33418318a029610845a81e2ff7b6" - integrity sha512-Q9t90JCvfYaN0OfFUgaLqByOfz8yPeTAdotn/XYNm5q9eHax90gzdb+RJ6E9T5s97Kv/UHWKERTmqA0jTKAEHw== - dependencies: - "@typescript-eslint/types" "4.18.0" - eslint-visitor-keys "^2.0.0" - "@typescript-eslint/visitor-keys@4.20.0": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.20.0.tgz#1e84db034da13f208325e6bfc995c3b75f7dbd62" @@ -4366,9 +4320,9 @@ eslint-plugin-import@^2.20.1: tsconfig-paths "^3.9.0" eslint-plugin-jest@^24.0.0: - version "24.3.2" - resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-24.3.2.tgz#30a8b2dea6278d0da1d6fb9d6cd530aaf58050a1" - integrity sha512-cicWDr+RvTAOKS3Q/k03+Z3odt3VCiWamNUHWd6QWbVQWcYJyYgUTu8x0mx9GfeDEimawU5kQC+nQ3MFxIM6bw== + version "24.3.3" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-24.3.3.tgz#4e0f9dd6b1667990e7be3a7d7c9a85b952056df9" + integrity sha512-IQ9tLHyKEyBw1BM3IE13WxOXQm03h/7dy1KFknUVkoY2N2+Hw7lb/3YFz/4jwcrxXt2+KhA/GoiK7jt8aK19ww== dependencies: "@typescript-eslint/experimental-utils" "^4.0.1" From 055aca39aab78cbda0aef205977f50beaaa0227e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 5 Apr 2021 17:35:45 +0800 Subject: [PATCH 0011/1667] chore: update dependency eslint-plugin-jest to v24.3.4 (#2537) Co-authored-by: Renovate Bot --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index cff87c3c69..35473f5a7a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4320,9 +4320,9 @@ eslint-plugin-import@^2.20.1: tsconfig-paths "^3.9.0" eslint-plugin-jest@^24.0.0: - version "24.3.3" - resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-24.3.3.tgz#4e0f9dd6b1667990e7be3a7d7c9a85b952056df9" - integrity sha512-IQ9tLHyKEyBw1BM3IE13WxOXQm03h/7dy1KFknUVkoY2N2+Hw7lb/3YFz/4jwcrxXt2+KhA/GoiK7jt8aK19ww== + version "24.3.4" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-24.3.4.tgz#6d90c3554de0302e879603dd6405474c98849f19" + integrity sha512-3n5oY1+fictanuFkTWPwSlehugBTAgwLnYLFsCllzE3Pl1BwywHl5fL0HFxmMjoQY8xhUDk8uAWc3S4JOHGh3A== dependencies: "@typescript-eslint/experimental-utils" "^4.0.1" From e134fe97aada757b7ef77211a3b621dcc0132fd9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Apr 2021 18:49:19 +0800 Subject: [PATCH 0012/1667] chore: update typescript-eslint monorepo to v4.21.0 (#2538) Co-authored-by: Renovate Bot --- yarn.lock | 70 +++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 58 insertions(+), 12 deletions(-) diff --git a/yarn.lock b/yarn.lock index 35473f5a7a..44a70daa08 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2357,12 +2357,12 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^4.1.0": - version "4.20.0" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.20.0.tgz#9d8794bd99aad9153092ad13c96164e3082e9a92" - integrity sha512-sw+3HO5aehYqn5w177z2D82ZQlqHCwcKSMboueo7oE4KU9QiC0SAgfS/D4z9xXvpTc8Bt41Raa9fBR8T2tIhoQ== + version "4.21.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.21.0.tgz#3fce2bfa76d95c00ac4f33dff369cb593aab8878" + integrity sha512-FPUyCPKZbVGexmbCFI3EQHzCZdy2/5f+jv6k2EDljGdXSRc0cKvbndd2nHZkSLqCNOPk0jB6lGzwIkglXcYVsQ== dependencies: - "@typescript-eslint/experimental-utils" "4.20.0" - "@typescript-eslint/scope-manager" "4.20.0" + "@typescript-eslint/experimental-utils" "4.21.0" + "@typescript-eslint/scope-manager" "4.21.0" debug "^4.1.1" functional-red-black-tree "^1.0.1" lodash "^4.17.15" @@ -2370,7 +2370,19 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@4.20.0", "@typescript-eslint/experimental-utils@^4.0.1": +"@typescript-eslint/experimental-utils@4.21.0": + version "4.21.0" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.21.0.tgz#0b0bb7c15d379140a660c003bdbafa71ae9134b6" + integrity sha512-cEbgosW/tUFvKmkg3cU7LBoZhvUs+ZPVM9alb25XvR0dal4qHL3SiUqHNrzoWSxaXA9gsifrYrS1xdDV6w/gIA== + dependencies: + "@types/json-schema" "^7.0.3" + "@typescript-eslint/scope-manager" "4.21.0" + "@typescript-eslint/types" "4.21.0" + "@typescript-eslint/typescript-estree" "4.21.0" + eslint-scope "^5.0.0" + eslint-utils "^2.0.0" + +"@typescript-eslint/experimental-utils@^4.0.1": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.20.0.tgz#a8ab2d7b61924f99042b7d77372996d5f41dc44b" integrity sha512-sQNlf6rjLq2yB5lELl3gOE7OuoA/6IVXJUJ+Vs7emrQMva14CkOwyQwD7CW+TkmOJ4Q/YGmoDLmbfFrpGmbKng== @@ -2383,13 +2395,13 @@ eslint-utils "^2.0.0" "@typescript-eslint/parser@^4.1.0": - version "4.20.0" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.20.0.tgz#8dd403c8b4258b99194972d9799e201b8d083bdd" - integrity sha512-m6vDtgL9EABdjMtKVw5rr6DdeMCH3OA1vFb0dAyuZSa3e5yw1YRzlwFnm9knma9Lz6b2GPvoNSa8vOXrqsaglA== + version "4.21.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.21.0.tgz#a227fc2af4001668c3e3f7415d4feee5093894c1" + integrity sha512-eyNf7QmE5O/l1smaQgN0Lj2M/1jOuNg2NrBm1dqqQN0sVngTLyw8tdCbih96ixlhbF1oINoN8fDCyEH9SjLeIA== dependencies: - "@typescript-eslint/scope-manager" "4.20.0" - "@typescript-eslint/types" "4.20.0" - "@typescript-eslint/typescript-estree" "4.20.0" + "@typescript-eslint/scope-manager" "4.21.0" + "@typescript-eslint/types" "4.21.0" + "@typescript-eslint/typescript-estree" "4.21.0" debug "^4.1.1" "@typescript-eslint/scope-manager@4.20.0": @@ -2400,11 +2412,24 @@ "@typescript-eslint/types" "4.20.0" "@typescript-eslint/visitor-keys" "4.20.0" +"@typescript-eslint/scope-manager@4.21.0": + version "4.21.0" + resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.21.0.tgz#c81b661c4b8af1ec0c010d847a8f9ab76ab95b4d" + integrity sha512-kfOjF0w1Ix7+a5T1knOw00f7uAP9Gx44+OEsNQi0PvvTPLYeXJlsCJ4tYnDj5PQEYfpcgOH5yBlw7K+UEI9Agw== + dependencies: + "@typescript-eslint/types" "4.21.0" + "@typescript-eslint/visitor-keys" "4.21.0" + "@typescript-eslint/types@4.20.0": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.20.0.tgz#c6cf5ef3c9b1c8f699a9bbdafb7a1da1ca781225" integrity sha512-cYY+1PIjei1nk49JAPnH1VEnu7OYdWRdJhYI5wiKOUMhLTG1qsx5cQxCUTuwWCmQoyriadz3Ni8HZmGSofeC+w== +"@typescript-eslint/types@4.21.0": + version "4.21.0" + resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.21.0.tgz#abdc3463bda5d31156984fa5bc316789c960edef" + integrity sha512-+OQaupjGVVc8iXbt6M1oZMwyKQNehAfLYJJ3SdvnofK2qcjfor9pEM62rVjBknhowTkh+2HF+/KdRAc/wGBN2w== + "@typescript-eslint/typescript-estree@4.20.0": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.20.0.tgz#8b3b08f85f18a8da5d88f65cb400f013e88ab7be" @@ -2418,6 +2443,19 @@ semver "^7.3.2" tsutils "^3.17.1" +"@typescript-eslint/typescript-estree@4.21.0": + version "4.21.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.21.0.tgz#3817bd91857beeaeff90f69f1f112ea58d350b0a" + integrity sha512-ZD3M7yLaVGVYLw4nkkoGKumb7Rog7QID9YOWobFDMQKNl+vPxqVIW/uDk+MDeGc+OHcoG2nJ2HphwiPNajKw3w== + dependencies: + "@typescript-eslint/types" "4.21.0" + "@typescript-eslint/visitor-keys" "4.21.0" + debug "^4.1.1" + globby "^11.0.1" + is-glob "^4.0.1" + semver "^7.3.2" + tsutils "^3.17.1" + "@typescript-eslint/visitor-keys@4.20.0": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.20.0.tgz#1e84db034da13f208325e6bfc995c3b75f7dbd62" @@ -2426,6 +2464,14 @@ "@typescript-eslint/types" "4.20.0" eslint-visitor-keys "^2.0.0" +"@typescript-eslint/visitor-keys@4.21.0": + version "4.21.0" + resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.21.0.tgz#990a9acdc124331f5863c2cf21c88ba65233cd8d" + integrity sha512-dH22dROWGi5Z6p+Igc8bLVLmwy7vEe8r+8c+raPQU0LxgogPUrRAtRGtvBWmlr9waTu3n+QLt/qrS/hWzk1x5w== + dependencies: + "@typescript-eslint/types" "4.21.0" + eslint-visitor-keys "^2.0.0" + JSONStream@^1.0.4: version "1.3.5" resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" From c6d4b043c22072a71d83b4d8697eba811148fa7f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 8 Apr 2021 16:57:29 +0800 Subject: [PATCH 0013/1667] chore: update dependency typescript to v4.2.4 (#2539) 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 f26a0fb056..de51e53e4a 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "lint-staged": "10.5.4", "prettier": "^2.0.5", "ts-jest": "26.5.4", - "typescript": "4.2.3" + "typescript": "4.2.4" }, "resolutions": { "**/lodash": "^4.17.19" diff --git a/yarn.lock b/yarn.lock index 44a70daa08..d3971f9bd4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10039,10 +10039,10 @@ typedarray@^0.0.6: resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@4.2.3: - version "4.2.3" - resolved "https://registry.npmjs.org/typescript/-/typescript-4.2.3.tgz#39062d8019912d43726298f09493d598048c1ce3" - integrity sha512-qOcYwxaByStAWrBf4x0fibwZvMRG+r4cQoTjbPtUlrWjBHbmCAww1i448U0GJ+3cNNEtebDteo/cHOR3xJ4wEw== +typescript@4.2.4: + version "4.2.4" + resolved "https://registry.npmjs.org/typescript/-/typescript-4.2.4.tgz#8610b59747de028fda898a8aef0e103f156d0961" + integrity sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg== uglify-js@^3.1.4: version "3.7.3" From e998496162a0bb63c220210dbb11f235819f3b95 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 9 Apr 2021 09:39:23 +0800 Subject: [PATCH 0014/1667] chore: update babel monorepo to v7.13.15 (#2540) Co-authored-by: Renovate Bot --- yarn.lock | 188 +++++++++++++++++++++++------------------------------- 1 file changed, 80 insertions(+), 108 deletions(-) diff --git a/yarn.lock b/yarn.lock index d3971f9bd4..595bd7fa64 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16,10 +16,10 @@ dependencies: "@babel/highlight" "^7.12.13" -"@babel/compat-data@^7.13.0", "@babel/compat-data@^7.13.12", "@babel/compat-data@^7.13.8": - version "7.13.12" - resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.13.12.tgz#a8a5ccac19c200f9dd49624cac6e19d7be1236a1" - integrity sha512-3eJJ841uKxeV8dcN/2yGEUy+RfgQspPEgQat85umsE1rotuquQ2AbIub4S6j7c50a2d+4myc+zSlnXeIHrOnhQ== +"@babel/compat-data@^7.13.11", "@babel/compat-data@^7.13.12", "@babel/compat-data@^7.13.15", "@babel/compat-data@^7.13.8": + version "7.13.15" + resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.13.15.tgz#7e8eea42d0b64fda2b375b22d06c605222e848f4" + integrity sha512-ltnibHKR1VnrU4ymHyQ/CXtNXI6yZC0oJThyW78Hft8XndANwi+9H+UIklBDraIjFEJzw8wmcM427oDd9KS5wA== "@babel/core@^7.1.0", "@babel/core@^7.7.5": version "7.12.10" @@ -43,18 +43,18 @@ source-map "^0.5.0" "@babel/core@^7.12.10": - version "7.13.14" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.13.14.tgz#8e46ebbaca460a63497c797e574038ab04ae6d06" - integrity sha512-wZso/vyF4ki0l0znlgM4inxbdrUvCb+cVz8grxDq+6C9k6qbqoIJteQOKicaKjCipU3ISV+XedCqpL2RJJVehA== + version "7.13.15" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.13.15.tgz#a6d40917df027487b54312202a06812c4f7792d0" + integrity sha512-6GXmNYeNjS2Uz+uls5jalOemgIhnTMeaXo+yBUA72kC2uX/8VW6XyhVIo2L8/q0goKQA3EVKx0KOQpVKSeWadQ== dependencies: "@babel/code-frame" "^7.12.13" "@babel/generator" "^7.13.9" "@babel/helper-compilation-targets" "^7.13.13" "@babel/helper-module-transforms" "^7.13.14" "@babel/helpers" "^7.13.10" - "@babel/parser" "^7.13.13" + "@babel/parser" "^7.13.15" "@babel/template" "^7.12.13" - "@babel/traverse" "^7.13.13" + "@babel/traverse" "^7.13.15" "@babel/types" "^7.13.14" convert-source-map "^1.7.0" debug "^4.1.0" @@ -105,17 +105,7 @@ "@babel/helper-explode-assignable-expression" "^7.12.13" "@babel/types" "^7.12.13" -"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.13.8": - version "7.13.10" - resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.10.tgz#1310a1678cb8427c07a753750da4f8ce442bdd0c" - integrity sha512-/Xju7Qg1GQO4mHZ/Kcs6Au7gfafgZnwm+a7sy/ow/tV1sHeraRUHbjdat8/UvDor4Tez+siGKDk6zIKtCPKVJA== - dependencies: - "@babel/compat-data" "^7.13.8" - "@babel/helper-validator-option" "^7.12.17" - browserslist "^4.14.5" - semver "^6.3.0" - -"@babel/helper-compilation-targets@^7.13.10", "@babel/helper-compilation-targets@^7.13.13": +"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.13.13", "@babel/helper-compilation-targets@^7.13.8": version "7.13.13" resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.13.tgz#2b2972a0926474853f41e4adbc69338f520600e5" integrity sha512-q1kcdHNZehBwD9jYPh3WyXcsFERi39X4I59I3NadciWtNDyZ6x+GboOxncFK0kXlKIv6BJm5acncehXWUjWQMQ== @@ -144,10 +134,10 @@ "@babel/helper-annotate-as-pure" "^7.12.13" regexpu-core "^4.7.1" -"@babel/helper-define-polyfill-provider@^0.1.5": - version "0.1.5" - resolved "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.1.5.tgz#3c2f91b7971b9fc11fe779c945c014065dea340e" - integrity sha512-nXuzCSwlJ/WKr8qxzW816gwyT6VZgiJG17zR40fou70yfAcqjoNyTLl/DQ+FExw5Hx5KNqshmN8Ldl/r2N7cTg== +"@babel/helper-define-polyfill-provider@^0.2.0": + version "0.2.0" + resolved "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.2.0.tgz#a640051772045fedaaecc6f0c6c69f02bdd34bf1" + integrity sha512-JT8tHuFjKBo8NnaUbblz7mIu1nnvUDiHVjXXkulZULyidvo/7P6TY7+YqpV37IfF+KUFxmlK04elKtGKXaiVgw== dependencies: "@babel/helper-compilation-targets" "^7.13.0" "@babel/helper-module-imports" "^7.12.13" @@ -218,21 +208,7 @@ "@babel/types" "^7.12.13" lodash "^4.17.19" -"@babel/helper-module-transforms@^7.13.0": - version "7.13.12" - resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.13.12.tgz#600e58350490828d82282631a1422268e982ba96" - integrity sha512-7zVQqMO3V+K4JOOj40kxiCrMf6xlQAkewBB0eu2b03OO/Q21ZutOzjpfD79A5gtE/2OWi1nv625MrDlGlkbknQ== - dependencies: - "@babel/helper-module-imports" "^7.13.12" - "@babel/helper-replace-supers" "^7.13.12" - "@babel/helper-simple-access" "^7.13.12" - "@babel/helper-split-export-declaration" "^7.12.13" - "@babel/helper-validator-identifier" "^7.12.11" - "@babel/template" "^7.12.13" - "@babel/traverse" "^7.13.0" - "@babel/types" "^7.13.12" - -"@babel/helper-module-transforms@^7.13.14": +"@babel/helper-module-transforms@^7.13.0", "@babel/helper-module-transforms@^7.13.14": version "7.13.14" resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.13.14.tgz#e600652ba48ccb1641775413cb32cfa4e8b495ef" integrity sha512-QuU/OJ0iAOSIatyVZmfqB0lbkVP0kDRiKj34xy+QNsnVZi/PA6BoSoreeqnxxa9EHFAIL0R9XOaAR/G9WlIy5g== @@ -355,7 +331,12 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.12.15.tgz#2b20de7f0b4b332d9b119dd9c33409c538b8aacf" integrity sha512-AQBOU2Z9kWwSZMd6lNjCX0GUgFonL1wAM1db8L8PMk9UDaGsRCArBkU4Sc+UCM3AE4hjbXx+h58Lb3QT4oRmrA== -"@babel/parser@^7.12.13", "@babel/parser@^7.13.0", "@babel/parser@^7.13.13": +"@babel/parser@^7.12.13", "@babel/parser@^7.13.15": + version "7.13.15" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.13.15.tgz#8e66775fb523599acb6a289e12929fa5ab0954d8" + integrity sha512-b9COtcAlVEQljy/9fbcMHpG+UIW9ReF+gpaxDHTlZd0c6/UU9ng8zdySAW9sRTzpvcdCHn6bUcbuYUgGzLAWVQ== + +"@babel/parser@^7.13.0": version "7.13.13" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.13.13.tgz#42f03862f4aed50461e543270916b47dd501f0df" integrity sha512-OhsyMrqygfk5v8HmWwOzlYjJrtLaFhF34MrfG/Z73DgYCI6ojNUTUp2TYbtnjo8PegeJp12eamsNettCQjKjVw== @@ -369,10 +350,10 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.12.1" "@babel/plugin-proposal-optional-chaining" "^7.13.12" -"@babel/plugin-proposal-async-generator-functions@^7.13.8": - version "7.13.8" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.13.8.tgz#87aacb574b3bc4b5603f6fe41458d72a5a2ec4b1" - integrity sha512-rPBnhj+WgoSmgq+4gQUtXx/vOcU+UYtjy1AA/aeD61Hwj410fwYyqfUcRP3lR8ucgliVJL/G7sXcNUecC75IXA== +"@babel/plugin-proposal-async-generator-functions@^7.13.15": + version "7.13.15" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.13.15.tgz#80e549df273a3b3050431b148c892491df1bcc5b" + integrity sha512-VapibkWzFeoa6ubXy/NgV5U2U4MVnUlvnx6wo1XhlsaTrLYWE0UFpDQsVrmn22q5CzeloqJ8gEMHSKxuee6ZdA== dependencies: "@babel/helper-plugin-utils" "^7.13.0" "@babel/helper-remap-async-to-generator" "^7.13.0" @@ -773,10 +754,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-transform-regenerator@^7.12.13": - version "7.12.13" - resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.12.13.tgz#b628bcc9c85260ac1aeb05b45bde25210194a2f5" - integrity sha512-lxb2ZAvSLyJ2PEe47hoGWPmW22v7CtSl9jW8mingV4H2sEX/JOcrAj2nPuGWi56ERUm2bUpjKzONAuT6HCn2EA== +"@babel/plugin-transform-regenerator@^7.13.15": + version "7.13.15" + resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.13.15.tgz#e5eb28945bf8b6563e7f818945f966a8d2997f39" + integrity sha512-Bk9cOLSz8DiurcMETZ8E2YtIVJbFCPGW28DJWUakmyVWtQSm6Wsf0p4B4BfEr/eL2Nkhe/CICiUiMOCi1TPhuQ== dependencies: regenerator-transform "^0.14.2" @@ -839,16 +820,16 @@ "@babel/helper-plugin-utils" "^7.12.13" "@babel/preset-env@^7.12.11": - version "7.13.12" - resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.13.12.tgz#6dff470478290582ac282fb77780eadf32480237" - integrity sha512-JzElc6jk3Ko6zuZgBtjOd01pf9yYDEIH8BcqVuYIuOkzOwDesoa/Nz4gIo4lBG6K861KTV9TvIgmFuT6ytOaAA== + version "7.13.15" + resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.13.15.tgz#c8a6eb584f96ecba183d3d414a83553a599f478f" + integrity sha512-D4JAPMXcxk69PKe81jRJ21/fP/uYdcTZ3hJDF5QX2HSI9bBxxYw/dumdR6dGumhjxlprHPE4XWoPaqzZUVy2MA== dependencies: - "@babel/compat-data" "^7.13.12" - "@babel/helper-compilation-targets" "^7.13.10" + "@babel/compat-data" "^7.13.15" + "@babel/helper-compilation-targets" "^7.13.13" "@babel/helper-plugin-utils" "^7.13.0" "@babel/helper-validator-option" "^7.12.17" "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.13.12" - "@babel/plugin-proposal-async-generator-functions" "^7.13.8" + "@babel/plugin-proposal-async-generator-functions" "^7.13.15" "@babel/plugin-proposal-class-properties" "^7.13.0" "@babel/plugin-proposal-dynamic-import" "^7.13.8" "@babel/plugin-proposal-export-namespace-from" "^7.12.13" @@ -896,7 +877,7 @@ "@babel/plugin-transform-object-super" "^7.12.13" "@babel/plugin-transform-parameters" "^7.13.0" "@babel/plugin-transform-property-literals" "^7.12.13" - "@babel/plugin-transform-regenerator" "^7.12.13" + "@babel/plugin-transform-regenerator" "^7.13.15" "@babel/plugin-transform-reserved-words" "^7.12.13" "@babel/plugin-transform-shorthand-properties" "^7.12.13" "@babel/plugin-transform-spread" "^7.13.0" @@ -906,10 +887,10 @@ "@babel/plugin-transform-unicode-escapes" "^7.12.13" "@babel/plugin-transform-unicode-regex" "^7.12.13" "@babel/preset-modules" "^0.1.4" - "@babel/types" "^7.13.12" - babel-plugin-polyfill-corejs2 "^0.1.4" - babel-plugin-polyfill-corejs3 "^0.1.3" - babel-plugin-polyfill-regenerator "^0.1.2" + "@babel/types" "^7.13.14" + babel-plugin-polyfill-corejs2 "^0.2.0" + babel-plugin-polyfill-corejs3 "^0.2.0" + babel-plugin-polyfill-regenerator "^0.2.0" core-js-compat "^3.9.0" semver "^6.3.0" @@ -994,17 +975,17 @@ globals "^11.1.0" lodash "^4.17.19" -"@babel/traverse@^7.13.0", "@babel/traverse@^7.13.13": - version "7.13.13" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.13.tgz#39aa9c21aab69f74d948a486dd28a2dbdbf5114d" - integrity sha512-CblEcwmXKR6eP43oQGG++0QMTtCjAsa3frUuzHoiIJWpaIIi8dwMyEFUJoXRLxagGqCK+jALRwIO+o3R9p/uUg== +"@babel/traverse@^7.13.0", "@babel/traverse@^7.13.13", "@babel/traverse@^7.13.15": + version "7.13.15" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.15.tgz#c38bf7679334ddd4028e8e1f7b3aa5019f0dada7" + integrity sha512-/mpZMNvj6bce59Qzl09fHEs8Bt8NnpEDQYleHUPZQ3wXUMvXi+HJPLars68oAbmp839fGoOkv2pSL2z9ajCIaQ== dependencies: "@babel/code-frame" "^7.12.13" "@babel/generator" "^7.13.9" "@babel/helper-function-name" "^7.12.13" "@babel/helper-split-export-declaration" "^7.12.13" - "@babel/parser" "^7.13.13" - "@babel/types" "^7.13.13" + "@babel/parser" "^7.13.15" + "@babel/types" "^7.13.14" debug "^4.1.0" globals "^11.1.0" @@ -1017,10 +998,10 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" -"@babel/types@^7.12.1", "@babel/types@^7.4.4": - version "7.13.12" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.13.12.tgz#edbf99208ef48852acdff1c8a681a1e4ade580cd" - integrity sha512-K4nY2xFN4QMvQwkQ+zmBDp6ANMbVNw6BbxWmYA4qNjhR9W+Lj/8ky5MEY2Me5r+B2c6/v6F53oMndG+f9s3IiA== +"@babel/types@^7.12.1", "@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.13.14", "@babel/types@^7.4.4": + version "7.13.14" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.13.14.tgz#c35a4abb15c7cd45a2746d78ab328e362cbace0d" + integrity sha512-A2aa3QTkWoyqsZZFl56MLUsfmh7O0gN41IPvXAE/++8ojpbz12SszD7JEGYVdn4f9Kt4amIei07swF1h4AqmmQ== dependencies: "@babel/helper-validator-identifier" "^7.12.11" lodash "^4.17.19" @@ -1035,15 +1016,6 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" -"@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.13.13", "@babel/types@^7.13.14": - version "7.13.14" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.13.14.tgz#c35a4abb15c7cd45a2746d78ab328e362cbace0d" - integrity sha512-A2aa3QTkWoyqsZZFl56MLUsfmh7O0gN41IPvXAE/++8ojpbz12SszD7JEGYVdn4f9Kt4amIei07swF1h4AqmmQ== - dependencies: - "@babel/helper-validator-identifier" "^7.12.11" - lodash "^4.17.19" - to-fast-properties "^2.0.0" - "@babel/types@^7.12.17": version "7.13.0" resolved "https://registry.npmjs.org/@babel/types/-/types-7.13.0.tgz#74424d2816f0171b4100f0ab34e9a374efdf7f80" @@ -2857,29 +2829,29 @@ babel-plugin-jest-hoist@^26.6.2: "@types/babel__core" "^7.0.0" "@types/babel__traverse" "^7.0.6" -babel-plugin-polyfill-corejs2@^0.1.4: - version "0.1.10" - resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.1.10.tgz#a2c5c245f56c0cac3dbddbf0726a46b24f0f81d1" - integrity sha512-DO95wD4g0A8KRaHKi0D51NdGXzvpqVLnLu5BTvDlpqUEpTmeEtypgC1xqesORaWmiUOQI14UHKlzNd9iZ2G3ZA== +babel-plugin-polyfill-corejs2@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.2.0.tgz#686775bf9a5aa757e10520903675e3889caeedc4" + integrity sha512-9bNwiR0dS881c5SHnzCmmGlMkJLl0OUZvxrxHo9w/iNoRuqaPjqlvBf4HrovXtQs/au5yKkpcdgfT1cC5PAZwg== dependencies: - "@babel/compat-data" "^7.13.0" - "@babel/helper-define-polyfill-provider" "^0.1.5" + "@babel/compat-data" "^7.13.11" + "@babel/helper-define-polyfill-provider" "^0.2.0" semver "^6.1.1" -babel-plugin-polyfill-corejs3@^0.1.3: - version "0.1.7" - resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.1.7.tgz#80449d9d6f2274912e05d9e182b54816904befd0" - integrity sha512-u+gbS9bbPhZWEeyy1oR/YaaSpod/KDT07arZHb80aTpl8H5ZBq+uN1nN9/xtX7jQyfLdPfoqI4Rue/MQSWJquw== +babel-plugin-polyfill-corejs3@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.0.tgz#f4b4bb7b19329827df36ff56f6e6d367026cb7a2" + integrity sha512-zZyi7p3BCUyzNxLx8KV61zTINkkV65zVkDAFNZmrTCRVhjo1jAS+YLvDJ9Jgd/w2tsAviCwFHReYfxO3Iql8Yg== dependencies: - "@babel/helper-define-polyfill-provider" "^0.1.5" - core-js-compat "^3.8.1" + "@babel/helper-define-polyfill-provider" "^0.2.0" + core-js-compat "^3.9.1" -babel-plugin-polyfill-regenerator@^0.1.2: - version "0.1.6" - resolved "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.1.6.tgz#0fe06a026fe0faa628ccc8ba3302da0a6ce02f3f" - integrity sha512-OUrYG9iKPKz8NxswXbRAdSwF0GhRdIEMTloQATJi4bDuFqrXaXcCUT/VGNrr8pBcjMh1RxZ7Xt9cytVJTJfvMg== +babel-plugin-polyfill-regenerator@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.2.0.tgz#853f5f5716f4691d98c84f8069c7636ea8da7ab8" + integrity sha512-J7vKbCuD2Xi/eEHxquHN14bXAW9CXtecwuLrOIDJtcZzTaPzV1VdEfoUf9AzcRBMolKUQKM9/GVojeh0hFiqMg== dependencies: - "@babel/helper-define-polyfill-provider" "^0.1.5" + "@babel/helper-define-polyfill-provider" "^0.2.0" babel-polyfill@^6.3.14: version "6.26.0" @@ -3192,9 +3164,9 @@ camelcase@^6.0.0: integrity sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w== caniuse-lite@^1.0.30001181: - version "1.0.30001204" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001204.tgz#256c85709a348ec4d175e847a3b515c66e79f2aa" - integrity sha512-JUdjWpcxfJ9IPamy2f5JaRDCaqJOxDzOSKtbdx4rH9VivMd1vIzoPumsJa9LoMIi4Fx2BV2KZOxWhNkBjaYivQ== + version "1.0.30001208" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001208.tgz#a999014a35cebd4f98c405930a057a0d75352eb9" + integrity sha512-OE5UE4+nBOro8Dyvv0lfx+SRtfVIOM9uhKqFmJeUbGriqhhStgp1A0OyBpgy3OUF8AhYCT+PVwPC1gMl2ZcQMA== capture-exit@^2.0.0: version "2.0.0" @@ -3738,10 +3710,10 @@ 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.8.1, core-js-compat@^3.9.0: - version "3.9.1" - resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.9.1.tgz#4e572acfe90aff69d76d8c37759d21a5c59bb455" - integrity sha512-jXAirMQxrkbiiLsCx9bQPJFA6llDadKMpYrBJQJ3/c4/vsPP/fAf29h24tviRlvwUL6AmY5CHLu2GvjuYviQqA== +core-js-compat@^3.9.0, core-js-compat@^3.9.1: + version "3.10.1" + resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.10.1.tgz#62183a3a77ceeffcc420d907a3e6fc67d9b27f1c" + integrity sha512-ZHQTdTPkqvw2CeHiZC970NNJcnwzT6YIueDMASKt+p3WbZsLXOcoD392SkcWhkC0wBBHhlfhqGKKsNCQUozYtg== dependencies: browserslist "^4.16.3" semver "7.0.0" @@ -4195,9 +4167,9 @@ ee-first@1.1.1: integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= electron-to-chromium@^1.3.649: - version "1.3.701" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.701.tgz#5e796ed7ce88cd77bc7bf831cf311ef6b067c389" - integrity sha512-Zd9ofdIMYHYhG1gvnejQDvC/kqSeXQvtXF0yRURGxgwGqDZm9F9Fm3dYFnm5gyuA7xpXfBlzVLN1sz0FjxpKfw== + version "1.3.711" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.711.tgz#92c3caf7ffed5e18bf63f66b4b57b4db2409c450" + integrity sha512-XbklBVCDiUeho0PZQCjC25Ha6uBwqqJeyDhPLwLwfWRAo4x+FZFsmu1pPPkXT+B4MQMQoQULfyaMltDopfeiHQ== emittery@^0.7.1: version "0.7.1" @@ -8691,9 +8663,9 @@ regjsgen@^0.5.1: integrity sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A== regjsparser@^0.6.4: - version "0.6.8" - resolved "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.8.tgz#4532c3da36d75d56e3f394ce2ea6842bde7496bd" - integrity sha512-3weFrFQREJhJ2PW+iCGaG6TenyzNSZgsBKZ/oEf6Trme31COSeIWhHw9O6FPkuXktfx+b6Hf/5e6dKPHaROq2g== + version "0.6.9" + resolved "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.9.tgz#b489eef7c9a2ce43727627011429cf833a7183e6" + integrity sha512-ZqbNRz1SNjLAiYuwY0zoXW8Ne675IX5q+YHioAGbCw4X96Mjl2+dcX9B2ciaeyYjViDAfvIjFpQjJgLttTEERQ== dependencies: jsesc "~0.5.0" From 2ab3c57b709ddad3fc98d768309ac4fdac8cb68a Mon Sep 17 00:00:00 2001 From: mbehboodian Date: Fri, 9 Apr 2021 14:08:40 +0430 Subject: [PATCH 0015/1667] fix(rules): fix subject-full-stop rule config value type (#2534) --- @commitlint/types/src/rules.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@commitlint/types/src/rules.ts b/@commitlint/types/src/rules.ts index efc69d0cc6..c6cc0bd0ff 100644 --- a/@commitlint/types/src/rules.ts +++ b/@commitlint/types/src/rules.ts @@ -114,7 +114,7 @@ export type RulesConfig = { 'signed-off-by': RuleConfig; 'subject-case': CaseRuleConfig; 'subject-empty': RuleConfig; - 'subject-full-stop': RuleConfig; + 'subject-full-stop': RuleConfig; 'subject-max-length': LengthRuleConfig; 'subject-min-length': LengthRuleConfig; 'type-case': CaseRuleConfig; From 89f9a6d759f7296438e184a93c1f766aba1443ca Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Fri, 9 Apr 2021 10:38:48 +0100 Subject: [PATCH 0016/1667] fix(types): update chalk import (#2535) The import was importing as default but is not exported as default. Now the import is importing `* as` so you don't have to use the tsconfig option `esModuleInterop` --- @commitlint/types/src/format.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@commitlint/types/src/format.ts b/@commitlint/types/src/format.ts index f48bda09af..7180cb3b82 100644 --- a/@commitlint/types/src/format.ts +++ b/@commitlint/types/src/format.ts @@ -1,4 +1,4 @@ -import chalk from 'chalk'; +import * as chalk from 'chalk'; import {QualifiedRules} from './load'; import {RuleConfigSeverity} from './rules'; From 99282b512b9662b57b0b370cd7df766adf46c01e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 10 Apr 2021 18:19:42 +0800 Subject: [PATCH 0017/1667] chore: update dependency eslint to v7.24.0 (#2543) Co-authored-by: Renovate Bot --- yarn.lock | 68 ++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 50 insertions(+), 18 deletions(-) diff --git a/yarn.lock b/yarn.lock index 595bd7fa64..db169f0ae1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2549,10 +2549,10 @@ ajv@^6.5.5: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^7.0.2: - version "7.2.4" - resolved "https://registry.npmjs.org/ajv/-/ajv-7.2.4.tgz#8e239d4d56cf884bccca8cca362f508446dc160f" - integrity sha512-nBeQgg/ZZA3u3SYxyaDvpvDtgZ/EZPF547ARgZBrG9Bhu1vKDwAIjtIf+sDtJUKa2zOcEbmRLBRSyMraS/Oy1A== +ajv@^8.0.1: + version "8.0.5" + resolved "https://registry.npmjs.org/ajv/-/ajv-8.0.5.tgz#f07d6fdeffcdbb80485570ce3f1bc845fcc812b9" + integrity sha512-RkiLa/AeJx7+9OvniQ/qeWu0w74A8DiPPBclQ6ji3ZQkv5KamO+QGpqmi7O4JIw3rHGUXZ6CoP9tsAkn3gyazg== dependencies: fast-deep-equal "^3.1.1" json-schema-traverse "^1.0.0" @@ -2897,9 +2897,9 @@ babel-runtime@^6.26.0: regenerator-runtime "^0.11.0" balanced-match@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" - integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c= + version "1.0.2" + resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== base64-js@^1.3.1: version "1.3.1" @@ -4370,9 +4370,9 @@ eslint-visitor-keys@^2.0.0: integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ== eslint@^7.0.0: - version "7.23.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-7.23.0.tgz#8d029d252f6e8cf45894b4bee08f5493f8e94325" - integrity sha512-kqvNVbdkjzpFy0XOszNwjkKzZ+6TcwCQ/h+ozlcIWwaimBBuhlQ4nN6kbiM2L+OjDcznkTJxzYfRFH92sx4a0Q== + version "7.24.0" + resolved "https://registry.npmjs.org/eslint/-/eslint-7.24.0.tgz#2e44fa62d93892bfdb100521f17345ba54b8513a" + integrity sha512-k9gaHeHiFmGCDQ2rEfvULlSLruz6tgfA8DEn+rY9/oYPFFTlz55mM/Q/Rij1b2Y42jwZiK3lXvNTw6w6TXzcKQ== dependencies: "@babel/code-frame" "7.12.11" "@eslint/eslintrc" "^0.4.0" @@ -5138,9 +5138,9 @@ globals@^12.1.0: type-fest "^0.8.1" globals@^13.6.0: - version "13.7.0" - resolved "https://registry.npmjs.org/globals/-/globals-13.7.0.tgz#aed3bcefd80ad3ec0f0be2cf0c895110c0591795" - integrity sha512-Aipsz6ZKRxa/xQkZhNg0qIWXT6x6rD46f6x/PCnBomlttdIyAPak4YD9jTmKpZ72uROSMU87qJtcgpgHaVchiA== + version "13.8.0" + resolved "https://registry.npmjs.org/globals/-/globals-13.8.0.tgz#3e20f504810ce87a8d72e55aecf8435b50f4c1b3" + integrity sha512-rHtdA6+PDBIjeEvA91rpqzEvk/k3/i7EeNQiryiWuJH0Hw9cpyJMAt2jtbAwUaRdhD+573X4vWw6IcjKPasi9Q== dependencies: type-fest "^0.20.2" @@ -5683,6 +5683,13 @@ is-binary-path@~2.1.0: dependencies: binary-extensions "^2.0.0" +is-boolean-object@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.0.tgz#e2aaad3a3a8fca34c28f6eee135b156ed2587ff0" + integrity sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA== + dependencies: + call-bind "^1.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" @@ -5818,6 +5825,11 @@ is-npm@^4.0.0: resolved "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz#c90dd8380696df87a7a6d823c20d0b12bbe3c84d" integrity sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig== +is-number-object@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.4.tgz#36ac95e741cf18b283fc1ddf5e83da798e3ec197" + integrity sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw== + is-number@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" @@ -6811,11 +6823,21 @@ lodash._reinterpolate@^3.0.0: resolved "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" integrity sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0= +lodash.clonedeep@^4.5.0: + version "4.5.0" + resolved "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" + integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= + lodash.debounce@^4.0.8: version "4.0.8" resolved "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= +lodash.flatten@^4.4.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.ismatch@^4.4.0: version "4.4.0" resolved "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37" @@ -6846,6 +6868,11 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" +lodash.truncate@^4.4.2: + version "4.4.2" + resolved "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193" + integrity sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM= + lodash@4.17.15, lodash@4.x, lodash@^3.3.1, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.5.1: version "4.17.21" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" @@ -9617,12 +9644,17 @@ symbol-tree@^3.2.4: integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== table@^6.0.4: - version "6.0.7" - resolved "https://registry.npmjs.org/table/-/table-6.0.7.tgz#e45897ffbcc1bcf9e8a87bf420f2c9e5a7a52a34" - integrity sha512-rxZevLGTUzWna/qBLObOe16kB2RTnnbhciwgPbMMlazz1yZGVEgnZK762xyVdVznhqxrfCeBMmMkgOOaPwjH7g== + version "6.0.9" + resolved "https://registry.npmjs.org/table/-/table-6.0.9.tgz#790a12bf1e09b87b30e60419bafd6a1fd85536fb" + integrity sha512-F3cLs9a3hL1Z7N4+EkSscsel3z55XT950AvB05bwayrNg5T1/gykXtigioTAjbltvbMSJvvhFCbnf6mX+ntnJQ== dependencies: - ajv "^7.0.2" - lodash "^4.17.20" + ajv "^8.0.1" + is-boolean-object "^1.1.0" + is-number-object "^1.0.4" + is-string "^1.0.5" + lodash.clonedeep "^4.5.0" + lodash.flatten "^4.4.0" + lodash.truncate "^4.4.2" slice-ansi "^4.0.0" string-width "^4.2.0" From e35ba3fdf5d057789e0501569bc2056d250cd41c Mon Sep 17 00:00:00 2001 From: mbehboodian Date: Sat, 10 Apr 2021 14:52:16 +0430 Subject: [PATCH 0018/1667] Fix rules configuration key types (#2541) * fix(rules): set body-full-stop rule config value type * fix(rules): fix header-full-stop rule config value type * fix(rules): fix signed-off-by rule config value type --- @commitlint/types/src/rules.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/@commitlint/types/src/rules.ts b/@commitlint/types/src/rules.ts index c6cc0bd0ff..f9bfbd3e6d 100644 --- a/@commitlint/types/src/rules.ts +++ b/@commitlint/types/src/rules.ts @@ -91,7 +91,7 @@ export type EnumRuleConfig = RuleConfig< export type RulesConfig = { 'body-case': CaseRuleConfig; 'body-empty': RuleConfig; - 'body-full-stop': RuleConfig; + 'body-full-stop': RuleConfig; 'body-leading-blank': RuleConfig; 'body-max-length': LengthRuleConfig; 'body-max-line-length': LengthRuleConfig; @@ -102,7 +102,7 @@ export type RulesConfig = { 'footer-max-line-length': LengthRuleConfig; 'footer-min-length': LengthRuleConfig; 'header-case': CaseRuleConfig; - 'header-full-stop': RuleConfig; + 'header-full-stop': RuleConfig; 'header-max-length': LengthRuleConfig; 'header-min-length': LengthRuleConfig; 'references-empty': RuleConfig; @@ -111,7 +111,7 @@ export type RulesConfig = { 'scope-enum': EnumRuleConfig; 'scope-max-length': LengthRuleConfig; 'scope-min-length': LengthRuleConfig; - 'signed-off-by': RuleConfig; + 'signed-off-by': RuleConfig; 'subject-case': CaseRuleConfig; 'subject-empty': RuleConfig; 'subject-full-stop': RuleConfig; From 588aa3778924dc2db93f7cae087df01970a46e62 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 11 Apr 2021 13:55:59 +0800 Subject: [PATCH 0019/1667] chore: update dependency eslint-plugin-jest to v24.3.5 (#2545) Co-authored-by: Renovate Bot --- yarn.lock | 69 +++++++++++-------------------------------------------- 1 file changed, 14 insertions(+), 55 deletions(-) diff --git a/yarn.lock b/yarn.lock index db169f0ae1..be61d439fd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2342,7 +2342,7 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@4.21.0": +"@typescript-eslint/experimental-utils@4.21.0", "@typescript-eslint/experimental-utils@^4.0.1": version "4.21.0" resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.21.0.tgz#0b0bb7c15d379140a660c003bdbafa71ae9134b6" integrity sha512-cEbgosW/tUFvKmkg3cU7LBoZhvUs+ZPVM9alb25XvR0dal4qHL3SiUqHNrzoWSxaXA9gsifrYrS1xdDV6w/gIA== @@ -2354,18 +2354,6 @@ eslint-scope "^5.0.0" eslint-utils "^2.0.0" -"@typescript-eslint/experimental-utils@^4.0.1": - version "4.20.0" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.20.0.tgz#a8ab2d7b61924f99042b7d77372996d5f41dc44b" - integrity sha512-sQNlf6rjLq2yB5lELl3gOE7OuoA/6IVXJUJ+Vs7emrQMva14CkOwyQwD7CW+TkmOJ4Q/YGmoDLmbfFrpGmbKng== - dependencies: - "@types/json-schema" "^7.0.3" - "@typescript-eslint/scope-manager" "4.20.0" - "@typescript-eslint/types" "4.20.0" - "@typescript-eslint/typescript-estree" "4.20.0" - eslint-scope "^5.0.0" - eslint-utils "^2.0.0" - "@typescript-eslint/parser@^4.1.0": version "4.21.0" resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.21.0.tgz#a227fc2af4001668c3e3f7415d4feee5093894c1" @@ -2376,14 +2364,6 @@ "@typescript-eslint/typescript-estree" "4.21.0" debug "^4.1.1" -"@typescript-eslint/scope-manager@4.20.0": - version "4.20.0" - resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.20.0.tgz#953ecbf3b00845ece7be66246608be9d126d05ca" - integrity sha512-/zm6WR6iclD5HhGpcwl/GOYDTzrTHmvf8LLLkwKqqPKG6+KZt/CfSgPCiybshmck66M2L5fWSF/MKNuCwtKQSQ== - dependencies: - "@typescript-eslint/types" "4.20.0" - "@typescript-eslint/visitor-keys" "4.20.0" - "@typescript-eslint/scope-manager@4.21.0": version "4.21.0" resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.21.0.tgz#c81b661c4b8af1ec0c010d847a8f9ab76ab95b4d" @@ -2392,29 +2372,11 @@ "@typescript-eslint/types" "4.21.0" "@typescript-eslint/visitor-keys" "4.21.0" -"@typescript-eslint/types@4.20.0": - version "4.20.0" - resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.20.0.tgz#c6cf5ef3c9b1c8f699a9bbdafb7a1da1ca781225" - integrity sha512-cYY+1PIjei1nk49JAPnH1VEnu7OYdWRdJhYI5wiKOUMhLTG1qsx5cQxCUTuwWCmQoyriadz3Ni8HZmGSofeC+w== - "@typescript-eslint/types@4.21.0": version "4.21.0" resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.21.0.tgz#abdc3463bda5d31156984fa5bc316789c960edef" integrity sha512-+OQaupjGVVc8iXbt6M1oZMwyKQNehAfLYJJ3SdvnofK2qcjfor9pEM62rVjBknhowTkh+2HF+/KdRAc/wGBN2w== -"@typescript-eslint/typescript-estree@4.20.0": - version "4.20.0" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.20.0.tgz#8b3b08f85f18a8da5d88f65cb400f013e88ab7be" - integrity sha512-Knpp0reOd4ZsyoEJdW8i/sK3mtZ47Ls7ZHvD8WVABNx5Xnn7KhenMTRGegoyMTx6TiXlOVgMz9r0pDgXTEEIHA== - dependencies: - "@typescript-eslint/types" "4.20.0" - "@typescript-eslint/visitor-keys" "4.20.0" - debug "^4.1.1" - globby "^11.0.1" - is-glob "^4.0.1" - semver "^7.3.2" - tsutils "^3.17.1" - "@typescript-eslint/typescript-estree@4.21.0": version "4.21.0" resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.21.0.tgz#3817bd91857beeaeff90f69f1f112ea58d350b0a" @@ -2428,14 +2390,6 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/visitor-keys@4.20.0": - version "4.20.0" - resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.20.0.tgz#1e84db034da13f208325e6bfc995c3b75f7dbd62" - integrity sha512-NXKRM3oOVQL8yNFDNCZuieRIwZ5UtjNLYtmMx2PacEAGmbaEYtGgVHUHVyZvU/0rYZcizdrWjDo+WBtRPSgq+A== - dependencies: - "@typescript-eslint/types" "4.20.0" - eslint-visitor-keys "^2.0.0" - "@typescript-eslint/visitor-keys@4.21.0": version "4.21.0" resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.21.0.tgz#990a9acdc124331f5863c2cf21c88ba65233cd8d" @@ -4338,9 +4292,9 @@ eslint-plugin-import@^2.20.1: tsconfig-paths "^3.9.0" eslint-plugin-jest@^24.0.0: - version "24.3.4" - resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-24.3.4.tgz#6d90c3554de0302e879603dd6405474c98849f19" - integrity sha512-3n5oY1+fictanuFkTWPwSlehugBTAgwLnYLFsCllzE3Pl1BwywHl5fL0HFxmMjoQY8xhUDk8uAWc3S4JOHGh3A== + version "24.3.5" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-24.3.5.tgz#71f0b580f87915695c286c3f0eb88cf23664d044" + integrity sha512-XG4rtxYDuJykuqhsOqokYIR84/C8pRihRtEpVskYLbIIKGwPNW2ySxdctuVzETZE+MbF/e7wmsnbNVpzM0rDug== dependencies: "@typescript-eslint/experimental-utils" "^4.0.1" @@ -7108,12 +7062,12 @@ micromatch@^3.0.4, micromatch@^3.1.4: 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== + version "4.0.4" + resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz#896d519dfe9db25fce94ceb7a500919bf881ebf9" + integrity sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg== dependencies: braces "^3.0.1" - picomatch "^2.0.5" + picomatch "^2.2.3" mime-db@1.42.0: version "1.42.0" @@ -8144,11 +8098,16 @@ 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.2.1: +picomatch@^2.0.4: version "2.2.2" resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad" integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg== +picomatch@^2.2.1, picomatch@^2.2.3: + version "2.2.3" + resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz#465547f359ccc206d3c48e46a1bcb89bf7ee619d" + integrity sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg== + pify@^2.0.0, pify@^2.3.0: version "2.3.0" resolved "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" From 0ee4db1eacf68eff4c9abf4e4c53170b63b30468 Mon Sep 17 00:00:00 2001 From: Mark Date: Sun, 11 Apr 2021 01:59:55 -0400 Subject: [PATCH 0020/1667] docs: fix husky add hook in 'Getting started' (#2544) Single quotes escape '$1' since it's a positional parameter. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a82e5f68c1..ac14ca57c2 100644 --- a/README.md +++ b/README.md @@ -101,15 +101,15 @@ npm install husky --save-dev # or yarn add husky --dev -# Active hooks +# Activate hooks npx husky install # or yarn husky install # Add hook -npx husky add .husky/commit-msg "npx --no-install commitlint --edit $1" +npx husky add .husky/commit-msg 'npx --no-install commitlint --edit $1' # or -yarn husky add .husky/commit-msg "yarn commitlint --edit $1" +yarn husky add .husky/commit-msg 'yarn commitlint --edit $1' ``` **Detailed Setup instructions** From d3ccf8af7cd2b97478ca20019ca4ab740f4fc3b2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 13 Apr 2021 09:14:54 +0800 Subject: [PATCH 0021/1667] chore: update typescript-eslint monorepo to v4.22.0 (#2546) Co-authored-by: Renovate Bot --- yarn.lock | 70 +++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 58 insertions(+), 12 deletions(-) diff --git a/yarn.lock b/yarn.lock index be61d439fd..e6fc32819c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2329,12 +2329,12 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^4.1.0": - version "4.21.0" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.21.0.tgz#3fce2bfa76d95c00ac4f33dff369cb593aab8878" - integrity sha512-FPUyCPKZbVGexmbCFI3EQHzCZdy2/5f+jv6k2EDljGdXSRc0cKvbndd2nHZkSLqCNOPk0jB6lGzwIkglXcYVsQ== + version "4.22.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.22.0.tgz#3d5f29bb59e61a9dba1513d491b059e536e16dbc" + integrity sha512-U8SP9VOs275iDXaL08Ln1Fa/wLXfj5aTr/1c0t0j6CdbOnxh+TruXu1p4I0NAvdPBQgoPjHsgKn28mOi0FzfoA== dependencies: - "@typescript-eslint/experimental-utils" "4.21.0" - "@typescript-eslint/scope-manager" "4.21.0" + "@typescript-eslint/experimental-utils" "4.22.0" + "@typescript-eslint/scope-manager" "4.22.0" debug "^4.1.1" functional-red-black-tree "^1.0.1" lodash "^4.17.15" @@ -2342,7 +2342,19 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@4.21.0", "@typescript-eslint/experimental-utils@^4.0.1": +"@typescript-eslint/experimental-utils@4.22.0": + version "4.22.0" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.22.0.tgz#68765167cca531178e7b650a53456e6e0bef3b1f" + integrity sha512-xJXHHl6TuAxB5AWiVrGhvbGL8/hbiCQ8FiWwObO3r0fnvBdrbWEDy1hlvGQOAWc6qsCWuWMKdVWlLAEMpxnddg== + dependencies: + "@types/json-schema" "^7.0.3" + "@typescript-eslint/scope-manager" "4.22.0" + "@typescript-eslint/types" "4.22.0" + "@typescript-eslint/typescript-estree" "4.22.0" + eslint-scope "^5.0.0" + eslint-utils "^2.0.0" + +"@typescript-eslint/experimental-utils@^4.0.1": version "4.21.0" resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.21.0.tgz#0b0bb7c15d379140a660c003bdbafa71ae9134b6" integrity sha512-cEbgosW/tUFvKmkg3cU7LBoZhvUs+ZPVM9alb25XvR0dal4qHL3SiUqHNrzoWSxaXA9gsifrYrS1xdDV6w/gIA== @@ -2355,13 +2367,13 @@ eslint-utils "^2.0.0" "@typescript-eslint/parser@^4.1.0": - version "4.21.0" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.21.0.tgz#a227fc2af4001668c3e3f7415d4feee5093894c1" - integrity sha512-eyNf7QmE5O/l1smaQgN0Lj2M/1jOuNg2NrBm1dqqQN0sVngTLyw8tdCbih96ixlhbF1oINoN8fDCyEH9SjLeIA== + version "4.22.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.22.0.tgz#e1637327fcf796c641fe55f73530e90b16ac8fe8" + integrity sha512-z/bGdBJJZJN76nvAY9DkJANYgK3nlRstRRi74WHm3jjgf2I8AglrSY+6l7ogxOmn55YJ6oKZCLLy+6PW70z15Q== dependencies: - "@typescript-eslint/scope-manager" "4.21.0" - "@typescript-eslint/types" "4.21.0" - "@typescript-eslint/typescript-estree" "4.21.0" + "@typescript-eslint/scope-manager" "4.22.0" + "@typescript-eslint/types" "4.22.0" + "@typescript-eslint/typescript-estree" "4.22.0" debug "^4.1.1" "@typescript-eslint/scope-manager@4.21.0": @@ -2372,11 +2384,24 @@ "@typescript-eslint/types" "4.21.0" "@typescript-eslint/visitor-keys" "4.21.0" +"@typescript-eslint/scope-manager@4.22.0": + version "4.22.0" + resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.22.0.tgz#ed411545e61161a8d702e703a4b7d96ec065b09a" + integrity sha512-OcCO7LTdk6ukawUM40wo61WdeoA7NM/zaoq1/2cs13M7GyiF+T4rxuA4xM+6LeHWjWbss7hkGXjFDRcKD4O04Q== + dependencies: + "@typescript-eslint/types" "4.22.0" + "@typescript-eslint/visitor-keys" "4.22.0" + "@typescript-eslint/types@4.21.0": version "4.21.0" resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.21.0.tgz#abdc3463bda5d31156984fa5bc316789c960edef" integrity sha512-+OQaupjGVVc8iXbt6M1oZMwyKQNehAfLYJJ3SdvnofK2qcjfor9pEM62rVjBknhowTkh+2HF+/KdRAc/wGBN2w== +"@typescript-eslint/types@4.22.0": + version "4.22.0" + resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.22.0.tgz#0ca6fde5b68daf6dba133f30959cc0688c8dd0b6" + integrity sha512-sW/BiXmmyMqDPO2kpOhSy2Py5w6KvRRsKZnV0c4+0nr4GIcedJwXAq+RHNK4lLVEZAJYFltnnk1tJSlbeS9lYA== + "@typescript-eslint/typescript-estree@4.21.0": version "4.21.0" resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.21.0.tgz#3817bd91857beeaeff90f69f1f112ea58d350b0a" @@ -2390,6 +2415,19 @@ semver "^7.3.2" tsutils "^3.17.1" +"@typescript-eslint/typescript-estree@4.22.0": + version "4.22.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.22.0.tgz#b5d95d6d366ff3b72f5168c75775a3e46250d05c" + integrity sha512-TkIFeu5JEeSs5ze/4NID+PIcVjgoU3cUQUIZnH3Sb1cEn1lBo7StSV5bwPuJQuoxKXlzAObjYTilOEKRuhR5yg== + dependencies: + "@typescript-eslint/types" "4.22.0" + "@typescript-eslint/visitor-keys" "4.22.0" + debug "^4.1.1" + globby "^11.0.1" + is-glob "^4.0.1" + semver "^7.3.2" + tsutils "^3.17.1" + "@typescript-eslint/visitor-keys@4.21.0": version "4.21.0" resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.21.0.tgz#990a9acdc124331f5863c2cf21c88ba65233cd8d" @@ -2398,6 +2436,14 @@ "@typescript-eslint/types" "4.21.0" eslint-visitor-keys "^2.0.0" +"@typescript-eslint/visitor-keys@4.22.0": + version "4.22.0" + resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.22.0.tgz#169dae26d3c122935da7528c839f42a8a42f6e47" + integrity sha512-nnMu4F+s4o0sll6cBSsTeVsT4cwxB7zECK3dFxzEjPBii9xLpq4yqqsy/FU5zMfan6G60DKZSCXAa3sHJZrcYw== + dependencies: + "@typescript-eslint/types" "4.22.0" + eslint-visitor-keys "^2.0.0" + JSONStream@^1.0.4: version "1.3.5" resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" From 787df39f0d305e04a3e25b542ca63747627d36eb Mon Sep 17 00:00:00 2001 From: Helder Burato Berto Date: Tue, 13 Apr 2021 02:16:27 +0100 Subject: [PATCH 0022/1667] Update README.md (#2542) Update Husky way to add the enable the git message commit lint hook, check more [here](https://typicode.github.io/husky/#/?id=automatic-recommended). --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index ac14ca57c2..07fb625bcf 100644 --- a/README.md +++ b/README.md @@ -107,9 +107,7 @@ npx husky install yarn husky install # Add hook -npx husky add .husky/commit-msg 'npx --no-install commitlint --edit $1' -# or -yarn husky add .husky/commit-msg 'yarn commitlint --edit $1' +npx husky add .husky/commit-msg 'npx --no-install commitlint --edit "$1"' ``` **Detailed Setup instructions** From c4f9e57758a7976b476e5f9dac22ecde7f2cd97b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 15 Apr 2021 17:40:32 +0800 Subject: [PATCH 0023/1667] chore: update dependency eslint-config-prettier to v8.2.0 (#2548) Co-authored-by: Renovate Bot --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index e6fc32819c..7ebe009501 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4298,9 +4298,9 @@ escodegen@^1.14.1: source-map "~0.6.1" eslint-config-prettier@^8.0.0: - version "8.1.0" - resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.1.0.tgz#4ef1eaf97afe5176e6a75ddfb57c335121abc5a6" - integrity sha512-oKMhGv3ihGbCIimCAjqkdzx2Q+jthoqnXSP+d86M9tptwugycmTFdVR4IpLgq2c4SHifbwO90z2fQ8/Aio73yw== + version "8.2.0" + resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.2.0.tgz#78de77d63bca8e9e59dae75a614b5299925bb7b3" + integrity sha512-dWV9EVeSo2qodOPi1iBYU/x6F6diHv8uujxbxr77xExs3zTAlNXvVZKiyLsQGNz7yPV2K49JY5WjPzNIuDc2Bw== eslint-import-resolver-node@^0.3.4: version "0.3.4" From 163cc05319a511e041c58ad977e3c17005ed068f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 15 Apr 2021 17:40:54 +0800 Subject: [PATCH 0024/1667] chore: update dependency @types/node to v12.20.8 (#2549) 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 de51e53e4a..64abf7ab6d 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "@babel/preset-env": "^7.12.11", "@lerna/project": "4.0.0", "@types/jest": "26.0.22", - "@types/node": "12.20.7", + "@types/node": "12.20.8", "@typescript-eslint/eslint-plugin": "^4.1.0", "@typescript-eslint/parser": "^4.1.0", "docsify-cli": "^4.4.0", diff --git a/yarn.lock b/yarn.lock index 7ebe009501..55074cf33d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2274,10 +2274,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9" integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA== -"@types/node@12.20.7": - version "12.20.7" - resolved "https://registry.npmjs.org/@types/node/-/node-12.20.7.tgz#1cb61fd0c85cb87e728c43107b5fd82b69bc9ef8" - integrity sha512-gWL8VUkg8VRaCAUgG9WmhefMqHmMblxe2rVpMF86nZY/+ZysU+BkAp+3cz03AixWDSSz0ks5WX59yAhv/cDwFA== +"@types/node@12.20.8": + version "12.20.8" + resolved "https://registry.npmjs.org/@types/node/-/node-12.20.8.tgz#e8552c505de64739fc997e28920ff4539fc8f185" + integrity sha512-uxDkaUGwXNDHu5MHqs+FAsmOjNoNibDF1cu4668QG96mQldQfgV3M+UyntXWWrtXSh13jFxEdNUdoLWH46mLKQ== "@types/normalize-package-data@^2.4.0": version "2.4.0" From 7d8a77b94bfc391cb434582c58d8e1bad412c319 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 16 Apr 2021 15:28:56 +0800 Subject: [PATCH 0025/1667] chore: update dependency ts-jest to v26.5.5 (#2550) 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 64abf7ab6d..24cab33dc4 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,7 @@ "lerna": "^4.0.0", "lint-staged": "10.5.4", "prettier": "^2.0.5", - "ts-jest": "26.5.4", + "ts-jest": "26.5.5", "typescript": "4.2.4" }, "resolutions": { diff --git a/yarn.lock b/yarn.lock index 55074cf33d..93153d6830 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9922,10 +9922,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.5.4: - version "26.5.4" - resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-26.5.4.tgz#207f4c114812a9c6d5746dd4d1cdf899eafc9686" - integrity sha512-I5Qsddo+VTm94SukBJ4cPimOoFZsYTeElR2xy6H2TOVs+NsvgYglW8KuQgKoApOKuaU/Ix/vrF9ebFZlb5D2Pg== +ts-jest@26.5.5: + version "26.5.5" + resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-26.5.5.tgz#e40481b6ee4dd162626ba481a2be05fa57160ea5" + integrity sha512-7tP4m+silwt1NHqzNRAPjW1BswnAhopTdc2K3HEkRZjF0ZG2F/e/ypVH0xiZIMfItFtD3CX0XFbwPzp9fIEUVg== dependencies: bs-logger "0.x" buffer-from "1.x" From b774d0c104d013efa47861a52910d665bd1b3cde Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 16 Apr 2021 15:29:13 +0800 Subject: [PATCH 0026/1667] chore: update dependency @types/node to v12.20.10 (#2551) 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 24cab33dc4..19887a1664 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "@babel/preset-env": "^7.12.11", "@lerna/project": "4.0.0", "@types/jest": "26.0.22", - "@types/node": "12.20.8", + "@types/node": "12.20.10", "@typescript-eslint/eslint-plugin": "^4.1.0", "@typescript-eslint/parser": "^4.1.0", "docsify-cli": "^4.4.0", diff --git a/yarn.lock b/yarn.lock index 93153d6830..4a88ca9ee5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2274,10 +2274,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9" integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA== -"@types/node@12.20.8": - version "12.20.8" - resolved "https://registry.npmjs.org/@types/node/-/node-12.20.8.tgz#e8552c505de64739fc997e28920ff4539fc8f185" - integrity sha512-uxDkaUGwXNDHu5MHqs+FAsmOjNoNibDF1cu4668QG96mQldQfgV3M+UyntXWWrtXSh13jFxEdNUdoLWH46mLKQ== +"@types/node@12.20.10": + version "12.20.10" + resolved "https://registry.npmjs.org/@types/node/-/node-12.20.10.tgz#4dcb8a85a8f1211acafb88d72fafc7e3d2685583" + integrity sha512-TxCmnSSppKBBOzYzPR2BR25YlX5Oay8z2XGwFBInuA/Co0V9xJhLlW4kjbxKtgeNo3NOMbQP1A5Rc03y+XecPw== "@types/normalize-package-data@^2.4.0": version "2.4.0" From 22ab4e5f153c2760dff6500d793c9194edafb6d4 Mon Sep 17 00:00:00 2001 From: Rocktim Saikia Date: Mon, 19 Apr 2021 16:12:07 -1100 Subject: [PATCH 0027/1667] docs: update text to husky v6 (#2554) --- README.md | 4 +++- docs/guides-local-setup.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 07fb625bcf..2e3301b0c8 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitl To lint commits before they are created you can use Husky's `commit-msg` hook: ```sh -# Install Husky v5 +# Install Husky v6 npm install husky --save-dev # or yarn add husky --dev @@ -110,6 +110,8 @@ yarn husky install npx husky add .husky/commit-msg 'npx --no-install commitlint --edit "$1"' ``` +Check the [husky documentation](https://typicode.github.io/husky/#/?id=manual) on how you can automatically have Git hooks enabled after install for different `yarn` versions. + **Detailed Setup instructions** - [Local setup](https://conventional-changelog.github.io/commitlint/#/guides-local-setup) - Lint messages on commit with husky diff --git a/docs/guides-local-setup.md b/docs/guides-local-setup.md index 96cc7353cc..27c0439db5 100644 --- a/docs/guides-local-setup.md +++ b/docs/guides-local-setup.md @@ -22,7 +22,7 @@ Alternatively the configuration can be defined in `.commitlintrc.js`, `.commitli Install `husky` as devDependency, a handy git hook helper available on npm. ```sh -# Install Husky v5 +# Install Husky v6 npm install husky --save-dev # or yarn add husky --dev @@ -38,6 +38,8 @@ npx husky add .husky/commit-msg 'npx --no-install commitlint --edit $1' yarn husky add .husky/commit-msg 'yarn commitlint --edit $1' ``` +Check the [husky documentation](https://typicode.github.io/husky/#/?id=manual) on how you can automatically have Git hooks enabled after install for different `yarn` versions. + ## Test ### Test simple usage From 2591b839b72e33a2cce397e52dad55c7063e7528 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 21 Apr 2021 10:33:06 +0800 Subject: [PATCH 0028/1667] chore: update dependency @babel/core to v7.13.16 (#2555) Co-authored-by: Renovate Bot --- yarn.lock | 116 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 77 insertions(+), 39 deletions(-) diff --git a/yarn.lock b/yarn.lock index 4a88ca9ee5..2f138fa897 100644 --- a/yarn.lock +++ b/yarn.lock @@ -43,19 +43,19 @@ source-map "^0.5.0" "@babel/core@^7.12.10": - version "7.13.15" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.13.15.tgz#a6d40917df027487b54312202a06812c4f7792d0" - integrity sha512-6GXmNYeNjS2Uz+uls5jalOemgIhnTMeaXo+yBUA72kC2uX/8VW6XyhVIo2L8/q0goKQA3EVKx0KOQpVKSeWadQ== + version "7.13.16" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.13.16.tgz#7756ab24396cc9675f1c3fcd5b79fcce192ea96a" + integrity sha512-sXHpixBiWWFti0AV2Zq7avpTasr6sIAu7Y396c608541qAU2ui4a193m0KSQmfPSKFZLnQ3cvlKDOm3XkuXm3Q== dependencies: "@babel/code-frame" "^7.12.13" - "@babel/generator" "^7.13.9" - "@babel/helper-compilation-targets" "^7.13.13" + "@babel/generator" "^7.13.16" + "@babel/helper-compilation-targets" "^7.13.16" "@babel/helper-module-transforms" "^7.13.14" - "@babel/helpers" "^7.13.10" - "@babel/parser" "^7.13.15" + "@babel/helpers" "^7.13.16" + "@babel/parser" "^7.13.16" "@babel/template" "^7.12.13" "@babel/traverse" "^7.13.15" - "@babel/types" "^7.13.14" + "@babel/types" "^7.13.16" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" @@ -81,7 +81,7 @@ jsesc "^2.5.1" source-map "^0.5.0" -"@babel/generator@^7.13.0", "@babel/generator@^7.13.9": +"@babel/generator@^7.13.0": version "7.13.9" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.13.9.tgz#3a7aa96f9efb8e2be42d38d80e2ceb4c64d8de39" integrity sha512-mHOOmY0Axl/JCTkxTU6Lf5sWOg/v8nUa+Xkt4zMTftX0wqmb6Sh7J8gvcehBw7q0AhrhAR+FDacKjCZ2X8K+Sw== @@ -90,6 +90,15 @@ jsesc "^2.5.1" source-map "^0.5.0" +"@babel/generator@^7.13.16": + version "7.13.16" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.13.16.tgz#0befc287031a201d84cdfc173b46b320ae472d14" + integrity sha512-grBBR75UnKOcUWMp8WoDxNsWCFl//XCK6HWTrBQKTr5SV9f5g0pNOjdyzi/DTBv12S9GnYPInIXQBTky7OXEMg== + dependencies: + "@babel/types" "^7.13.16" + jsesc "^2.5.1" + source-map "^0.5.0" + "@babel/helper-annotate-as-pure@^7.12.13": version "7.12.13" resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.12.13.tgz#0f58e86dfc4bb3b1fcd7db806570e177d439b6ab" @@ -105,7 +114,7 @@ "@babel/helper-explode-assignable-expression" "^7.12.13" "@babel/types" "^7.12.13" -"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.13.13", "@babel/helper-compilation-targets@^7.13.8": +"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.13.8": version "7.13.13" resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.13.tgz#2b2972a0926474853f41e4adbc69338f520600e5" integrity sha512-q1kcdHNZehBwD9jYPh3WyXcsFERi39X4I59I3NadciWtNDyZ6x+GboOxncFK0kXlKIv6BJm5acncehXWUjWQMQ== @@ -115,6 +124,16 @@ browserslist "^4.14.5" semver "^6.3.0" +"@babel/helper-compilation-targets@^7.13.13", "@babel/helper-compilation-targets@^7.13.16": + version "7.13.16" + resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.16.tgz#6e91dccf15e3f43e5556dffe32d860109887563c" + integrity sha512-3gmkYIrpqsLlieFwjkGgLaSHmhnvlAYzZLlYVjlW+QwI+1zE17kGxuJGmIqDQdYp56XdmGeD+Bswx0UTyG18xA== + dependencies: + "@babel/compat-data" "^7.13.15" + "@babel/helper-validator-option" "^7.12.17" + browserslist "^4.14.5" + semver "^6.3.0" + "@babel/helper-create-class-features-plugin@^7.13.0": version "7.13.11" resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.13.11.tgz#30d30a005bca2c953f5653fc25091a492177f4f6" @@ -303,14 +322,14 @@ "@babel/traverse" "^7.12.13" "@babel/types" "^7.12.13" -"@babel/helpers@^7.13.10": - version "7.13.10" - resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.13.10.tgz#fd8e2ba7488533cdeac45cc158e9ebca5e3c7df8" - integrity sha512-4VO883+MWPDUVRF3PhiLBUFHoX/bsLTGFpFK/HqvvfBZz2D57u9XzPVNFVBTc0PW/CWR9BXTOKt8NF4DInUHcQ== +"@babel/helpers@^7.13.16": + version "7.13.17" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.13.17.tgz#b497c7a00e9719d5b613b8982bda6ed3ee94caf6" + integrity sha512-Eal4Gce4kGijo1/TGJdqp3WuhllaMLSrW6XcL0ulyUAQOuxHcCafZE8KHg9857gcTehsm/v7RcOx2+jp0Ryjsg== dependencies: "@babel/template" "^7.12.13" - "@babel/traverse" "^7.13.0" - "@babel/types" "^7.13.0" + "@babel/traverse" "^7.13.17" + "@babel/types" "^7.13.17" "@babel/highlight@^7.10.4", "@babel/highlight@^7.12.13": version "7.13.10" @@ -331,10 +350,10 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.12.15.tgz#2b20de7f0b4b332d9b119dd9c33409c538b8aacf" integrity sha512-AQBOU2Z9kWwSZMd6lNjCX0GUgFonL1wAM1db8L8PMk9UDaGsRCArBkU4Sc+UCM3AE4hjbXx+h58Lb3QT4oRmrA== -"@babel/parser@^7.12.13", "@babel/parser@^7.13.15": - version "7.13.15" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.13.15.tgz#8e66775fb523599acb6a289e12929fa5ab0954d8" - integrity sha512-b9COtcAlVEQljy/9fbcMHpG+UIW9ReF+gpaxDHTlZd0c6/UU9ng8zdySAW9sRTzpvcdCHn6bUcbuYUgGzLAWVQ== +"@babel/parser@^7.12.13", "@babel/parser@^7.13.16": + version "7.13.16" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.13.16.tgz#0f18179b0448e6939b1f3f5c4c355a3a9bcdfd37" + integrity sha512-6bAg36mCwuqLO0hbR+z7PHuqWiCeP7Dzg73OpQwsAB1Eb8HnGEz5xYBzCfbu+YjoaJsJs+qheDxVAuqbt3ILEw== "@babel/parser@^7.13.0": version "7.13.13" @@ -975,17 +994,17 @@ globals "^11.1.0" lodash "^4.17.19" -"@babel/traverse@^7.13.0", "@babel/traverse@^7.13.13", "@babel/traverse@^7.13.15": - version "7.13.15" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.15.tgz#c38bf7679334ddd4028e8e1f7b3aa5019f0dada7" - integrity sha512-/mpZMNvj6bce59Qzl09fHEs8Bt8NnpEDQYleHUPZQ3wXUMvXi+HJPLars68oAbmp839fGoOkv2pSL2z9ajCIaQ== +"@babel/traverse@^7.13.0", "@babel/traverse@^7.13.13", "@babel/traverse@^7.13.15", "@babel/traverse@^7.13.17": + version "7.13.17" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.17.tgz#c85415e0c7d50ac053d758baec98b28b2ecfeea3" + integrity sha512-BMnZn0R+X6ayqm3C3To7o1j7Q020gWdqdyP50KEoVqaCO2c/Im7sYZSmVgvefp8TTMQ+9CtwuBp0Z1CZ8V3Pvg== dependencies: "@babel/code-frame" "^7.12.13" - "@babel/generator" "^7.13.9" + "@babel/generator" "^7.13.16" "@babel/helper-function-name" "^7.12.13" "@babel/helper-split-export-declaration" "^7.12.13" - "@babel/parser" "^7.13.15" - "@babel/types" "^7.13.14" + "@babel/parser" "^7.13.16" + "@babel/types" "^7.13.17" debug "^4.1.0" globals "^11.1.0" @@ -998,7 +1017,7 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" -"@babel/types@^7.12.1", "@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.13.14", "@babel/types@^7.4.4": +"@babel/types@^7.12.1", "@babel/types@^7.4.4": version "7.13.14" resolved "https://registry.npmjs.org/@babel/types/-/types-7.13.14.tgz#c35a4abb15c7cd45a2746d78ab328e362cbace0d" integrity sha512-A2aa3QTkWoyqsZZFl56MLUsfmh7O0gN41IPvXAE/++8ojpbz12SszD7JEGYVdn4f9Kt4amIei07swF1h4AqmmQ== @@ -1016,6 +1035,14 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" +"@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.13.14", "@babel/types@^7.13.16", "@babel/types@^7.13.17": + version "7.13.17" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.13.17.tgz#48010a115c9fba7588b4437dd68c9469012b38b4" + integrity sha512-RawydLgxbOPDlTLJNtoIypwdmAy//uQIzlKt2+iBiJaRlVuI6QLUxVAyWGNfOzp8Yu4L4lLIacoCyTNtpb4wiA== + dependencies: + "@babel/helper-validator-identifier" "^7.12.11" + to-fast-properties "^2.0.0" + "@babel/types@^7.12.17": version "7.13.0" resolved "https://registry.npmjs.org/@babel/types/-/types-7.13.0.tgz#74424d2816f0171b4100f0ab34e9a374efdf7f80" @@ -2995,7 +3022,18 @@ browser-process-hrtime@^1.0.0: resolved "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== -browserslist@^4.14.5, browserslist@^4.16.3: +browserslist@^4.14.5: + version "4.16.4" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.16.4.tgz#7ebf913487f40caf4637b892b268069951c35d58" + integrity sha512-d7rCxYV8I9kj41RH8UKYnvDYCRENUlHRgyXy/Rhr/1BaeLGfiCptEdFE8MIrvGfWbBFNjVYx76SQWvNX1j+/cQ== + dependencies: + caniuse-lite "^1.0.30001208" + colorette "^1.2.2" + electron-to-chromium "^1.3.712" + escalade "^3.1.1" + node-releases "^1.1.71" + +browserslist@^4.16.3: version "4.16.3" resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz#340aa46940d7db878748567c5dea24a48ddf3717" integrity sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw== @@ -3163,10 +3201,10 @@ camelcase@^6.0.0: resolved "https://registry.npmjs.org/camelcase/-/camelcase-6.0.0.tgz#5259f7c30e35e278f1bdc2a4d91230b37cad981e" integrity sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w== -caniuse-lite@^1.0.30001181: - version "1.0.30001208" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001208.tgz#a999014a35cebd4f98c405930a057a0d75352eb9" - integrity sha512-OE5UE4+nBOro8Dyvv0lfx+SRtfVIOM9uhKqFmJeUbGriqhhStgp1A0OyBpgy3OUF8AhYCT+PVwPC1gMl2ZcQMA== +caniuse-lite@^1.0.30001181, caniuse-lite@^1.0.30001208: + version "1.0.30001214" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001214.tgz#70f153c78223515c6d37a9fde6cd69250da9d872" + integrity sha512-O2/SCpuaU3eASWVaesQirZv1MSjUNOvmugaD8zNSJqw6Vv5SGwoOpA9LJs3pNPfM745nxqPvfZY3MQKY4AKHYg== capture-exit@^2.0.0: version "2.0.0" @@ -3436,7 +3474,7 @@ color-name@~1.1.4: resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -colorette@^1.2.1: +colorette@^1.2.1, colorette@^1.2.2: version "1.2.2" resolved "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94" integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w== @@ -4166,10 +4204,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.649: - version "1.3.711" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.711.tgz#92c3caf7ffed5e18bf63f66b4b57b4db2409c450" - integrity sha512-XbklBVCDiUeho0PZQCjC25Ha6uBwqqJeyDhPLwLwfWRAo4x+FZFsmu1pPPkXT+B4MQMQoQULfyaMltDopfeiHQ== +electron-to-chromium@^1.3.649, electron-to-chromium@^1.3.712: + version "1.3.717" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.717.tgz#78d4c857070755fb58ab64bcc173db1d51cbc25f" + integrity sha512-OfzVPIqD1MkJ7fX+yTl2nKyOE4FReeVfMCzzxQS+Kp43hZYwHwThlGP+EGIZRXJsxCM7dqo8Y65NOX/HP12iXQ== emittery@^0.7.1: version "0.7.1" @@ -7457,7 +7495,7 @@ node-notifier@^8.0.0: uuid "^8.3.0" which "^2.0.2" -node-releases@^1.1.70: +node-releases@^1.1.70, node-releases@^1.1.71: version "1.1.71" resolved "https://registry.npmjs.org/node-releases/-/node-releases-1.1.71.tgz#cb1334b179896b1c89ecfdd4b725fb7bbdfc7dbb" integrity sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg== From 1667e08444e76a2a380d6908fd81393491f77495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Berthommier?= Date: Fri, 23 Apr 2021 06:12:45 +0200 Subject: [PATCH 0029/1667] Update package.json (#2556) --- @commitlint/config-lerna-scopes/package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index f4ca59f1c7..8dbabc15af 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -28,6 +28,11 @@ "peerDependencies": { "lerna": "^3.0.0 || ^4.0.0" }, + "peerDependenciesMeta": { + "lerna": { + "optional": true + } + }, "engines": { "node": ">=v10" }, From ecc277bfcb40390f7acb52ad9ac1e6aa33700fa6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 24 Apr 2021 17:11:56 +0800 Subject: [PATCH 0030/1667] chore: update dependency eslint to v7.25.0 (#2558) Co-authored-by: Renovate Bot --- yarn.lock | 44 +++++++++++++++++++------------------------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/yarn.lock b/yarn.lock index 2f138fa897..197c5bb3ba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2577,9 +2577,9 @@ ajv@^6.5.5: uri-js "^4.2.2" ajv@^8.0.1: - version "8.0.5" - resolved "https://registry.npmjs.org/ajv/-/ajv-8.0.5.tgz#f07d6fdeffcdbb80485570ce3f1bc845fcc812b9" - integrity sha512-RkiLa/AeJx7+9OvniQ/qeWu0w74A8DiPPBclQ6ji3ZQkv5KamO+QGpqmi7O4JIw3rHGUXZ6CoP9tsAkn3gyazg== + version "8.1.0" + resolved "https://registry.npmjs.org/ajv/-/ajv-8.1.0.tgz#45d5d3d36c7cdd808930cc3e603cf6200dbeb736" + integrity sha512-B/Sk2Ix7A36fs/ZkuGLIR86EdjbgR6fsAcbx9lOP/QBSXujDNbVmIS/U4Itz5k8fPFDeVZl/zQ/gJW4Jrq6XjQ== dependencies: fast-deep-equal "^3.1.1" json-schema-traverse "^1.0.0" @@ -3246,7 +3246,15 @@ chalk@^3.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^4.0.0, chalk@^4.1.0: +chalk@^4.0.0: + version "4.1.1" + resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz#c80b3fab28bf6371e6863325eee67e618b77e6ad" + integrity sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +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== @@ -4408,9 +4416,9 @@ eslint-visitor-keys@^2.0.0: integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ== eslint@^7.0.0: - version "7.24.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-7.24.0.tgz#2e44fa62d93892bfdb100521f17345ba54b8513a" - integrity sha512-k9gaHeHiFmGCDQ2rEfvULlSLruz6tgfA8DEn+rY9/oYPFFTlz55mM/Q/Rij1b2Y42jwZiK3lXvNTw6w6TXzcKQ== + version "7.25.0" + resolved "https://registry.npmjs.org/eslint/-/eslint-7.25.0.tgz#1309e4404d94e676e3e831b3a3ad2b050031eb67" + integrity sha512-TVpSovpvCNpLURIScDRB6g5CYu/ZFq9GfX2hLNIV4dSBKxIWojeDODvYl3t0k0VtMxYeR8OXPCFE5+oHMlGfhw== dependencies: "@babel/code-frame" "7.12.11" "@eslint/eslintrc" "^0.4.0" @@ -5721,13 +5729,6 @@ is-binary-path@~2.1.0: dependencies: binary-extensions "^2.0.0" -is-boolean-object@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.0.tgz#e2aaad3a3a8fca34c28f6eee135b156ed2587ff0" - integrity sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA== - dependencies: - call-bind "^1.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" @@ -5863,11 +5864,6 @@ is-npm@^4.0.0: resolved "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz#c90dd8380696df87a7a6d823c20d0b12bbe3c84d" integrity sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig== -is-number-object@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.4.tgz#36ac95e741cf18b283fc1ddf5e83da798e3ec197" - integrity sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw== - is-number@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" @@ -9687,19 +9683,17 @@ symbol-tree@^3.2.4: integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== table@^6.0.4: - version "6.0.9" - resolved "https://registry.npmjs.org/table/-/table-6.0.9.tgz#790a12bf1e09b87b30e60419bafd6a1fd85536fb" - integrity sha512-F3cLs9a3hL1Z7N4+EkSscsel3z55XT950AvB05bwayrNg5T1/gykXtigioTAjbltvbMSJvvhFCbnf6mX+ntnJQ== + version "6.5.1" + resolved "https://registry.npmjs.org/table/-/table-6.5.1.tgz#930885a7430f15f8766b35cd1e36de40793db523" + integrity sha512-xGDXWTBJxahkzPQCsn1S9ESHEenU7TbMD5Iv4FeopXv/XwJyWatFjfbor+6ipI10/MNPXBYUamYukOrbPZ9L/w== dependencies: ajv "^8.0.1" - is-boolean-object "^1.1.0" - is-number-object "^1.0.4" - is-string "^1.0.5" lodash.clonedeep "^4.5.0" lodash.flatten "^4.4.0" lodash.truncate "^4.4.2" slice-ansi "^4.0.0" string-width "^4.2.0" + strip-ansi "^6.0.0" tar-fs@2.1.1: version "2.1.1" From 597cb59673d974aa3a72a0b4cd08727992cd6ff9 Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Sat, 24 Apr 2021 13:51:55 +0100 Subject: [PATCH 0031/1667] Remove get-sdtin dependency (#2557) * fix: update dependency get-stdin to v9 * fix: remove dependency get-stdin The get-stdin package has now gone to ESM and can not be used by common js package. This removes the dependency and implements the package. Co-authored-by: Renovate Bot --- @commitlint/cli/package.json | 1 - @commitlint/cli/src/cli.ts | 17 ++++++++++++++++- yarn.lock | 5 ----- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index f23bfa7a83..043c632ef2 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -48,7 +48,6 @@ "@commitlint/load": "^12.1.1", "@commitlint/read": "^12.1.1", "@commitlint/types": "^12.1.1", - "get-stdin": "8.0.0", "lodash": "^4.17.19", "resolve-from": "5.0.0", "resolve-global": "1.0.0", diff --git a/@commitlint/cli/src/cli.ts b/@commitlint/cli/src/cli.ts index 61fcbe6f79..d113ff03da 100644 --- a/@commitlint/cli/src/cli.ts +++ b/@commitlint/cli/src/cli.ts @@ -2,7 +2,6 @@ import load from '@commitlint/load'; import lint from '@commitlint/lint'; import read from '@commitlint/read'; import isFunction from 'lodash/isFunction'; -import stdin from 'get-stdin'; import resolveFrom from 'resolve-from'; import resolveGlobal from 'resolve-global'; import yargs from 'yargs'; @@ -126,6 +125,22 @@ main({edit: false, ...cli.argv}).catch((err) => { }, 0); }); +async function stdin() { + let result = ''; + + if (process.stdin.isTTY) { + return result; + } + + process.stdin.setEncoding('utf8'); + + for await (const chunk of process.stdin) { + result += chunk; + } + + return result; +} + async function main(options: CliFlags) { const raw = options._; const flags = normalizeFlags(options); diff --git a/yarn.lock b/yarn.lock index 197c5bb3ba..664e2ca22f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4991,11 +4991,6 @@ get-port@^5.0.0, get-port@^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@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" resolved "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe" From 440ece6fe75cccb4422001d30dbe669be554265e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 26 Apr 2021 09:55:15 +0800 Subject: [PATCH 0032/1667] chore: update dependency eslint-config-prettier to v8.3.0 (#2559) Co-authored-by: Renovate Bot --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 664e2ca22f..0c3d9b614e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4344,9 +4344,9 @@ escodegen@^1.14.1: source-map "~0.6.1" eslint-config-prettier@^8.0.0: - version "8.2.0" - resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.2.0.tgz#78de77d63bca8e9e59dae75a614b5299925bb7b3" - integrity sha512-dWV9EVeSo2qodOPi1iBYU/x6F6diHv8uujxbxr77xExs3zTAlNXvVZKiyLsQGNz7yPV2K49JY5WjPzNIuDc2Bw== + version "8.3.0" + resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz#f7471b20b6fe8a9a9254cc684454202886a2dd7a" + integrity sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew== eslint-import-resolver-node@^0.3.4: version "0.3.4" From d982dc2c99e4bdadb6520ccc228b350bc7b5a4d3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 26 Apr 2021 10:08:32 +0800 Subject: [PATCH 0033/1667] chore: update dependency eslint-plugin-jest to v24.3.6 (#2561) Co-authored-by: Renovate Bot --- yarn.lock | 54 ++++-------------------------------------------------- 1 file changed, 4 insertions(+), 50 deletions(-) diff --git a/yarn.lock b/yarn.lock index 0c3d9b614e..dcac70cbb8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2369,7 +2369,7 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@4.22.0": +"@typescript-eslint/experimental-utils@4.22.0", "@typescript-eslint/experimental-utils@^4.0.1": version "4.22.0" resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.22.0.tgz#68765167cca531178e7b650a53456e6e0bef3b1f" integrity sha512-xJXHHl6TuAxB5AWiVrGhvbGL8/hbiCQ8FiWwObO3r0fnvBdrbWEDy1hlvGQOAWc6qsCWuWMKdVWlLAEMpxnddg== @@ -2381,18 +2381,6 @@ eslint-scope "^5.0.0" eslint-utils "^2.0.0" -"@typescript-eslint/experimental-utils@^4.0.1": - version "4.21.0" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.21.0.tgz#0b0bb7c15d379140a660c003bdbafa71ae9134b6" - integrity sha512-cEbgosW/tUFvKmkg3cU7LBoZhvUs+ZPVM9alb25XvR0dal4qHL3SiUqHNrzoWSxaXA9gsifrYrS1xdDV6w/gIA== - dependencies: - "@types/json-schema" "^7.0.3" - "@typescript-eslint/scope-manager" "4.21.0" - "@typescript-eslint/types" "4.21.0" - "@typescript-eslint/typescript-estree" "4.21.0" - eslint-scope "^5.0.0" - eslint-utils "^2.0.0" - "@typescript-eslint/parser@^4.1.0": version "4.22.0" resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.22.0.tgz#e1637327fcf796c641fe55f73530e90b16ac8fe8" @@ -2403,14 +2391,6 @@ "@typescript-eslint/typescript-estree" "4.22.0" debug "^4.1.1" -"@typescript-eslint/scope-manager@4.21.0": - version "4.21.0" - resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.21.0.tgz#c81b661c4b8af1ec0c010d847a8f9ab76ab95b4d" - integrity sha512-kfOjF0w1Ix7+a5T1knOw00f7uAP9Gx44+OEsNQi0PvvTPLYeXJlsCJ4tYnDj5PQEYfpcgOH5yBlw7K+UEI9Agw== - dependencies: - "@typescript-eslint/types" "4.21.0" - "@typescript-eslint/visitor-keys" "4.21.0" - "@typescript-eslint/scope-manager@4.22.0": version "4.22.0" resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.22.0.tgz#ed411545e61161a8d702e703a4b7d96ec065b09a" @@ -2419,29 +2399,11 @@ "@typescript-eslint/types" "4.22.0" "@typescript-eslint/visitor-keys" "4.22.0" -"@typescript-eslint/types@4.21.0": - version "4.21.0" - resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.21.0.tgz#abdc3463bda5d31156984fa5bc316789c960edef" - integrity sha512-+OQaupjGVVc8iXbt6M1oZMwyKQNehAfLYJJ3SdvnofK2qcjfor9pEM62rVjBknhowTkh+2HF+/KdRAc/wGBN2w== - "@typescript-eslint/types@4.22.0": version "4.22.0" resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.22.0.tgz#0ca6fde5b68daf6dba133f30959cc0688c8dd0b6" integrity sha512-sW/BiXmmyMqDPO2kpOhSy2Py5w6KvRRsKZnV0c4+0nr4GIcedJwXAq+RHNK4lLVEZAJYFltnnk1tJSlbeS9lYA== -"@typescript-eslint/typescript-estree@4.21.0": - version "4.21.0" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.21.0.tgz#3817bd91857beeaeff90f69f1f112ea58d350b0a" - integrity sha512-ZD3M7yLaVGVYLw4nkkoGKumb7Rog7QID9YOWobFDMQKNl+vPxqVIW/uDk+MDeGc+OHcoG2nJ2HphwiPNajKw3w== - dependencies: - "@typescript-eslint/types" "4.21.0" - "@typescript-eslint/visitor-keys" "4.21.0" - debug "^4.1.1" - globby "^11.0.1" - is-glob "^4.0.1" - semver "^7.3.2" - tsutils "^3.17.1" - "@typescript-eslint/typescript-estree@4.22.0": version "4.22.0" resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.22.0.tgz#b5d95d6d366ff3b72f5168c75775a3e46250d05c" @@ -2455,14 +2417,6 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/visitor-keys@4.21.0": - version "4.21.0" - resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.21.0.tgz#990a9acdc124331f5863c2cf21c88ba65233cd8d" - integrity sha512-dH22dROWGi5Z6p+Igc8bLVLmwy7vEe8r+8c+raPQU0LxgogPUrRAtRGtvBWmlr9waTu3n+QLt/qrS/hWzk1x5w== - dependencies: - "@typescript-eslint/types" "4.21.0" - eslint-visitor-keys "^2.0.0" - "@typescript-eslint/visitor-keys@4.22.0": version "4.22.0" resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.22.0.tgz#169dae26d3c122935da7528c839f42a8a42f6e47" @@ -4384,9 +4338,9 @@ eslint-plugin-import@^2.20.1: tsconfig-paths "^3.9.0" eslint-plugin-jest@^24.0.0: - version "24.3.5" - resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-24.3.5.tgz#71f0b580f87915695c286c3f0eb88cf23664d044" - integrity sha512-XG4rtxYDuJykuqhsOqokYIR84/C8pRihRtEpVskYLbIIKGwPNW2ySxdctuVzETZE+MbF/e7wmsnbNVpzM0rDug== + version "24.3.6" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-24.3.6.tgz#5f0ca019183c3188c5ad3af8e80b41de6c8e9173" + integrity sha512-WOVH4TIaBLIeCX576rLcOgjNXqP+jNlCiEmRgFTfQtJ52DpwnIQKAVGlGPAN7CZ33bW6eNfHD6s8ZbEUTQubJg== dependencies: "@typescript-eslint/experimental-utils" "^4.0.1" From b12abb8f69e6e884291cf309c94c4a35f6b8e348 Mon Sep 17 00:00:00 2001 From: beet <63141491+beetcb@users.noreply.github.com> Date: Mon, 26 Apr 2021 15:05:07 +0800 Subject: [PATCH 0034/1667] docs: correct way to get the default module in examples (#2425) * docs: correct way to get the default module in examples * style: using destructuring assignment syntax sugar * Revert "style: using destructuring assignment syntax sugar" fix(syntax): CommonJS can't require default entry using this syntax sugar, so revert it This reverts commit 511c6395ca1999aed40af89ea8b87986ead81dcd. --- @commitlint/format/README.md | 2 +- @commitlint/lint/README.md | 2 +- @commitlint/load/README.md | 2 +- @commitlint/read/README.md | 2 +- docs/reference-api.md | 20 ++++++++++---------- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/@commitlint/format/README.md b/@commitlint/format/README.md index 284829f948..b815fb89fd 100644 --- a/@commitlint/format/README.md +++ b/@commitlint/format/README.md @@ -11,7 +11,7 @@ npm install --save @commitlint/format ## Example ```js -const format = require('@commitlint/format'); +const format = require('@commitlint/format').default; const output = format( { diff --git a/@commitlint/lint/README.md b/@commitlint/lint/README.md index acac11e96e..a863241afd 100644 --- a/@commitlint/lint/README.md +++ b/@commitlint/lint/README.md @@ -11,7 +11,7 @@ npm install --save @commitlint/lint ## Example ```js -const lint = require('@commitlint/lint'); +const lint = require('@commitlint/lint').default; lint('foo: bar', {'type-enum': [1, 'always', ['foo']]}).then((report) => console.log(report) diff --git a/@commitlint/load/README.md b/@commitlint/load/README.md index f41d378803..9488693304 100644 --- a/@commitlint/load/README.md +++ b/@commitlint/load/README.md @@ -11,7 +11,7 @@ npm install --save-dev @commitlint/load ## Example ```js -const load = require('@commitlint/load'); +const load = require('@commitlint/load').default; load({extends: ['./package']}).then((config) => console.log(config)); // => { extends: ['./package', './package-b'], rules: {} } diff --git a/@commitlint/read/README.md b/@commitlint/read/README.md index 7ce615cf42..acb77a6bb9 100644 --- a/@commitlint/read/README.md +++ b/@commitlint/read/README.md @@ -11,7 +11,7 @@ npm install --save @commitlint/read ## Example ```js -const read = require('@commitlint/read'); +const read = require('@commitlint/read').default; // Read last edited commit message read({edit: true}).then((messages) => console.log(messages)); diff --git a/docs/reference-api.md b/docs/reference-api.md index 95c4d6bd74..794ceb3315 100644 --- a/docs/reference-api.md +++ b/docs/reference-api.md @@ -72,7 +72,7 @@ format(report?: Report = {}, options?: formatOptions = {}) => string[]; - **Example** ```js -const format = require('@commitlint/format'); +const format = require('@commitlint/format').default; format(); // => [ '\u001b[1m\u001b[32m✔\u001b[39m found 0 problems, 0 warnings\u001b[22m' ] @@ -245,7 +245,7 @@ load(seed: Seed = {}, options?: LoadOptions = {cwd: process.cwd()}) => Promise Prom - **Basic Example** ```js -const lint = require('@commitlint/lint'); +const lint = require('@commitlint/lint').default; lint('foo: bar').then((report) => console.log(report)); // => { valid: true, errors: [], warnings: [] } @@ -402,8 +402,8 @@ lint('foo-bar', {'type-enum': [2, 'always', ['foo']]}, opts).then((report) => - **Load configuration** ```js -const load = require('@commitlint/load'); -const lint = require('@commitlint/lint'); +const load = require('@commitlint/load').default; +const lint = require('@commitlint/lint').default; const CONFIG = { extends: ['@commitlint/config-conventional'], @@ -432,8 +432,8 @@ load(CONFIG) - **Read git history** ```js -const lint = require('@commitlint/lint'); -const read = require('@commitlint/read'); +const lint = require('@commitlint/lint').default; +const read = require('@commitlint/read').default; const RULES = { 'type-enum': [2, 'always', ['foo']], @@ -449,9 +449,9 @@ read({to: 'HEAD', from: 'HEAD~2'}).then((commits) => - **Simplfied last-commit checker** ```js -const load = require('@commitlint/load'); -const read = require('@commitlint/read'); -const lint = require('@commitlint/lint'); +const load = require('@commitlint/load').default; +const read = require('@commitlint/read').default; +const lint = require('@commitlint/lint').default; Promise.all([load(), read({from: 'HEAD~1'})]) .then((tasks) => { From ba7b3bb524bab3fadd5be2faaa1d87f8af81b3c0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 27 Apr 2021 09:08:39 +0800 Subject: [PATCH 0035/1667] chore: update dependency @types/jest to v26.0.23 (#2562) 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 19887a1664..9b35a9f0eb 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "@babel/core": "^7.12.10", "@babel/preset-env": "^7.12.11", "@lerna/project": "4.0.0", - "@types/jest": "26.0.22", + "@types/jest": "26.0.23", "@types/node": "12.20.10", "@typescript-eslint/eslint-plugin": "^4.1.0", "@typescript-eslint/parser": "^4.1.0", diff --git a/yarn.lock b/yarn.lock index dcac70cbb8..7effa6e953 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2258,10 +2258,10 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/jest@26.0.22": - version "26.0.22" - resolved "https://registry.npmjs.org/@types/jest/-/jest-26.0.22.tgz#8308a1debdf1b807aa47be2838acdcd91e88fbe6" - integrity sha512-eeWwWjlqxvBxc4oQdkueW5OF/gtfSceKk4OnOAGlUSwS/liBRtZppbJuz1YkgbrbfGOoeBHun9fOvXnjNwrSOw== +"@types/jest@26.0.23": + version "26.0.23" + resolved "https://registry.npmjs.org/@types/jest/-/jest-26.0.23.tgz#a1b7eab3c503b80451d019efb588ec63522ee4e7" + integrity sha512-ZHLmWMJ9jJ9PTiT58juykZpL7KjwJywFN3Rr2pTSkyQfydf/rk22yS7W8p5DaVUMQ2BQC7oYiU3FjbTM/mYrOA== dependencies: jest-diff "^26.0.0" pretty-format "^26.0.0" From 05e8bd4478f827600387f842141f1ac6eb70447b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 27 Apr 2021 09:08:48 +0800 Subject: [PATCH 0036/1667] chore: update dependency @types/semver to v7.3.5 (#2563) 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 078602c040..5a348d37a6 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -37,7 +37,7 @@ "@commitlint/parse": "^12.1.1", "@commitlint/test": "^12.1.0", "@commitlint/utils": "^12.1.1", - "@types/semver": "7.3.4" + "@types/semver": "7.3.5" }, "dependencies": { "@commitlint/types": "^12.1.1", diff --git a/yarn.lock b/yarn.lock index 7effa6e953..d6a9c58dff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2321,10 +2321,10 @@ resolved "https://registry.npmjs.org/@types/prettier/-/prettier-2.1.1.tgz#be148756d5480a84cde100324c03a86ae5739fb5" integrity sha512-2zs+O+UkDsJ1Vcp667pd3f8xearMdopz/z54i99wtRDI5KLmngk7vlrYZD0ZjKHaROR03EznlBbVY9PfAEyJIQ== -"@types/semver@7.3.4": - version "7.3.4" - resolved "https://registry.npmjs.org/@types/semver/-/semver-7.3.4.tgz#43d7168fec6fa0988bb1a513a697b29296721afb" - integrity sha512-+nVsLKlcUCeMzD2ufHEYuJ9a2ovstb6Dp52A5VsoKxDXgvE051XgHI/33I1EymwkRGQkwnA0LkhnUzituGs4EQ== +"@types/semver@7.3.5": + version "7.3.5" + resolved "https://registry.npmjs.org/@types/semver/-/semver-7.3.5.tgz#74deebbbcb1e86634dbf10a5b5e8798626f5a597" + integrity sha512-iotVxtCCsPLRAvxMFFgxL8HD2l4mAZ2Oin7/VJ2ooWO0VOK4EGOGmZWZn1uCq7RofR3I/1IOSjCHlFT71eVK0Q== "@types/stack-utils@^2.0.0": version "2.0.0" From af5b72f905012bbaa2220a7ccafc9d478e397a17 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 29 Apr 2021 11:56:38 +0800 Subject: [PATCH 0037/1667] chore: update dependency @types/node to v12.20.11 (#2566) 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 9b35a9f0eb..8298dcf5e8 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "@babel/preset-env": "^7.12.11", "@lerna/project": "4.0.0", "@types/jest": "26.0.23", - "@types/node": "12.20.10", + "@types/node": "12.20.11", "@typescript-eslint/eslint-plugin": "^4.1.0", "@typescript-eslint/parser": "^4.1.0", "docsify-cli": "^4.4.0", diff --git a/yarn.lock b/yarn.lock index d6a9c58dff..12017f7838 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2301,10 +2301,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9" integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA== -"@types/node@12.20.10": - version "12.20.10" - resolved "https://registry.npmjs.org/@types/node/-/node-12.20.10.tgz#4dcb8a85a8f1211acafb88d72fafc7e3d2685583" - integrity sha512-TxCmnSSppKBBOzYzPR2BR25YlX5Oay8z2XGwFBInuA/Co0V9xJhLlW4kjbxKtgeNo3NOMbQP1A5Rc03y+XecPw== +"@types/node@12.20.11": + version "12.20.11" + resolved "https://registry.npmjs.org/@types/node/-/node-12.20.11.tgz#980832cd56efafff8c18aa148c4085eb02a483f4" + integrity sha512-gema+apZ6qLQK7k7F0dGkGCWQYsL0qqKORWOQO6tq46q+x+1C0vbOiOqOwRVlh4RAdbQwV/j/ryr3u5NOG1fPQ== "@types/normalize-package-data@^2.4.0": version "2.4.0" From c77381db5b548513858315c3e6601299c5ad5548 Mon Sep 17 00:00:00 2001 From: Curly Brackets <76864176+curly210102@users.noreply.github.com> Date: Thu, 29 Apr 2021 13:44:59 +0800 Subject: [PATCH 0038/1667] Feature/cz commitlint (#2547) * feat(cz-commitlint): finish basic features inspired by cz-conventional-changelog * test(cz-commitlint): Add Util Function Tests * feat(cz-commitlint): add prompt field to commitlint config file, add tests for cz-commitlint prompt field is working for prompt config, settled in commitlint config file, can be defined by shared configurations. * test(cli): update 'should print config' test for add 'prompt' field * fix(cz-commitlint): fix question input start with new line, fix footer config apply * docs(cz-commitlint): update commitlint doc "Guide: Use prompt" * docs(cz-commitlint): add Prompt Configuration introdution * fix(config-conventional): update to pass ci modify format * chore: update registry to default npm * fix(cz-commitlint): compatible old version @commitlint/load, remove no longer used dependencies * fix(cz-commitlint): fix load prompt config from commitlint config file * test(cz-commitlint): move the test files flat with source code files to keep consistency --- .gitignore | 1 + @commitlint/cli/src/cli.test.ts | 7 +- @commitlint/config-conventional/index.js | 99 +++++ @commitlint/cz-commitlint/.gitignore | 1 + @commitlint/cz-commitlint/README.md | 88 +++++ @commitlint/cz-commitlint/TODO | 5 + @commitlint/cz-commitlint/license.md | 19 + @commitlint/cz-commitlint/package.json | 42 +++ @commitlint/cz-commitlint/src/Process.test.ts | 241 +++++++++++++ @commitlint/cz-commitlint/src/Process.ts | 36 ++ .../cz-commitlint/src/Question.test.ts | 317 ++++++++++++++++ @commitlint/cz-commitlint/src/Question.ts | 186 ++++++++++ .../cz-commitlint/src/SectionBody.test.ts | 77 ++++ @commitlint/cz-commitlint/src/SectionBody.ts | 37 ++ .../cz-commitlint/src/SectionFooter.test.ts | 314 ++++++++++++++++ .../cz-commitlint/src/SectionFooter.ts | 174 +++++++++ .../cz-commitlint/src/SectionHeader.test.ts | 114 ++++++ .../cz-commitlint/src/SectionHeader.ts | 62 ++++ @commitlint/cz-commitlint/src/index.ts | 16 + .../services/getRuleQuestionConfig.test.ts | 340 ++++++++++++++++++ .../src/services/getRuleQuestionConfig.ts | 74 ++++ .../src/store/defaultPromptConfigs.ts | 29 ++ .../cz-commitlint/src/store/prompts.test.ts | 109 ++++++ .../cz-commitlint/src/store/prompts.ts | 36 ++ .../cz-commitlint/src/store/rules.test.ts | 67 ++++ @commitlint/cz-commitlint/src/store/rules.ts | 24 ++ @commitlint/cz-commitlint/src/types.ts | 6 + .../cz-commitlint/src/utils/case-fn.test.ts | 80 +++++ .../cz-commitlint/src/utils/case-fn.ts | 54 +++ .../src/utils/full-stop-fn-test.ts | 67 ++++ .../cz-commitlint/src/utils/full-stop-fn.ts | 34 ++ .../src/utils/leading-blank-fn-test.ts | 37 ++ .../src/utils/leading-blank-fn.ts | 29 ++ .../cz-commitlint/src/utils/rules.test.ts | 125 +++++++ @commitlint/cz-commitlint/src/utils/rules.ts | 98 +++++ @commitlint/cz-commitlint/tsconfig.json | 11 + @commitlint/load/src/load.ts | 28 +- @commitlint/load/src/utils/pick-config.ts | 3 +- @commitlint/types/src/index.ts | 3 +- @commitlint/types/src/load.ts | 8 +- @commitlint/types/src/prompt.ts | 54 +++ docs/assets/cz-commitlint.png | Bin 0 -> 26953 bytes docs/guides-use-prompt.md | 7 +- docs/reference-configuration.md | 28 ++ docs/reference-prompt.md | 148 ++++++++ tsconfig.json | 3 +- yarn.lock | 33 +- 47 files changed, 3340 insertions(+), 31 deletions(-) create mode 100644 @commitlint/cz-commitlint/.gitignore create mode 100644 @commitlint/cz-commitlint/README.md create mode 100644 @commitlint/cz-commitlint/TODO create mode 100644 @commitlint/cz-commitlint/license.md create mode 100644 @commitlint/cz-commitlint/package.json create mode 100644 @commitlint/cz-commitlint/src/Process.test.ts create mode 100644 @commitlint/cz-commitlint/src/Process.ts create mode 100644 @commitlint/cz-commitlint/src/Question.test.ts create mode 100644 @commitlint/cz-commitlint/src/Question.ts create mode 100644 @commitlint/cz-commitlint/src/SectionBody.test.ts create mode 100644 @commitlint/cz-commitlint/src/SectionBody.ts create mode 100644 @commitlint/cz-commitlint/src/SectionFooter.test.ts create mode 100644 @commitlint/cz-commitlint/src/SectionFooter.ts create mode 100644 @commitlint/cz-commitlint/src/SectionHeader.test.ts create mode 100644 @commitlint/cz-commitlint/src/SectionHeader.ts create mode 100644 @commitlint/cz-commitlint/src/index.ts create mode 100644 @commitlint/cz-commitlint/src/services/getRuleQuestionConfig.test.ts create mode 100644 @commitlint/cz-commitlint/src/services/getRuleQuestionConfig.ts create mode 100644 @commitlint/cz-commitlint/src/store/defaultPromptConfigs.ts create mode 100644 @commitlint/cz-commitlint/src/store/prompts.test.ts create mode 100644 @commitlint/cz-commitlint/src/store/prompts.ts create mode 100644 @commitlint/cz-commitlint/src/store/rules.test.ts create mode 100644 @commitlint/cz-commitlint/src/store/rules.ts create mode 100644 @commitlint/cz-commitlint/src/types.ts create mode 100644 @commitlint/cz-commitlint/src/utils/case-fn.test.ts create mode 100644 @commitlint/cz-commitlint/src/utils/case-fn.ts create mode 100644 @commitlint/cz-commitlint/src/utils/full-stop-fn-test.ts create mode 100644 @commitlint/cz-commitlint/src/utils/full-stop-fn.ts create mode 100644 @commitlint/cz-commitlint/src/utils/leading-blank-fn-test.ts create mode 100644 @commitlint/cz-commitlint/src/utils/leading-blank-fn.ts create mode 100644 @commitlint/cz-commitlint/src/utils/rules.test.ts create mode 100644 @commitlint/cz-commitlint/src/utils/rules.ts create mode 100644 @commitlint/cz-commitlint/tsconfig.json create mode 100644 @commitlint/types/src/prompt.ts create mode 100644 docs/assets/cz-commitlint.png create mode 100644 docs/reference-prompt.md diff --git a/.gitignore b/.gitignore index 8e1e11b2d8..c9d515cd7d 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ lib/ package.json.lerna_backup /*.iml tsconfig.tsbuildinfo +coverage diff --git a/@commitlint/cli/src/cli.test.ts b/@commitlint/cli/src/cli.test.ts index 6507182032..ea67ee2db1 100644 --- a/@commitlint/cli/src/cli.test.ts +++ b/@commitlint/cli/src/cli.test.ts @@ -1,8 +1,8 @@ -import path from 'path'; import {fix, git} from '@commitlint/test'; import execa from 'execa'; -import merge from 'lodash/merge'; import fs from 'fs-extra'; +import merge from 'lodash/merge'; +import path from 'path'; const bin = require.resolve('../cli.js'); @@ -494,7 +494,8 @@ test('should print config', async () => { defaultIgnores: undefined, plugins: {}, rules: { 'type-enum': [ 2, 'never', [ 'foo' ] ] }, - helpUrl: 'https://github.com/conventional-changelog/commitlint/#what-is-commitlint' + helpUrl: 'https://github.com/conventional-changelog/commitlint/#what-is-commitlint', + prompt: {} }" `); }); diff --git a/@commitlint/config-conventional/index.js b/@commitlint/config-conventional/index.js index 8a7e3bd15a..b772bc333a 100644 --- a/@commitlint/config-conventional/index.js +++ b/@commitlint/config-conventional/index.js @@ -33,4 +33,103 @@ module.exports = { ], ], }, + prompt: { + questions: { + type: { + description: "Select the type of change that you're committing:", + enum: { + feat: { + description: 'A new feature', + title: 'Features', + emoji: '✨', + }, + fix: { + description: 'A bug fix', + title: 'Bug Fixes', + emoji: '🐛', + }, + docs: { + description: 'Documentation only changes', + title: 'Documentation', + emoji: '📚', + }, + style: { + description: + 'Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)', + title: 'Styles', + emoji: '💎', + }, + refactor: { + description: + 'A code change that neither fixes a bug nor adds a feature', + title: 'Code Refactoring', + emoji: '📦', + }, + perf: { + description: 'A code change that improves performance', + title: 'Performance Improvements', + emoji: '🚀', + }, + test: { + description: 'Adding missing tests or correcting existing tests', + title: 'Tests', + emoji: '🚨', + }, + build: { + description: + 'Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)', + title: 'Builds', + emoji: '🛠', + }, + ci: { + description: + 'Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)', + title: 'Continuous Integrations', + emoji: '⚙️', + }, + chore: { + description: "Other changes that don't modify src or test files", + title: 'Chores', + emoji: '♻️', + }, + revert: { + description: 'Reverts a previous commit', + title: 'Reverts', + emoji: '🗑', + }, + }, + }, + scope: { + description: + 'What is the scope of this change (e.g. component or file name)', + }, + subject: { + description: + 'Write a short, imperative tense description of the change', + }, + body: { + description: 'Provide a longer description of the change', + }, + isBreaking: { + description: 'Are there any breaking changes?', + }, + breakingBody: { + description: + 'A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself', + }, + breaking: { + description: 'Describe the breaking changes', + }, + isIssueAffected: { + description: 'Does this change affect any open issues?', + }, + issuesBody: { + description: + 'If issues are closed, the commit requires a body. Please enter a longer description of the commit itself', + }, + issues: { + description: 'Add issue references (e.g. "fix #123", "re #123".)', + }, + }, + }, }; diff --git a/@commitlint/cz-commitlint/.gitignore b/@commitlint/cz-commitlint/.gitignore new file mode 100644 index 0000000000..722d5e71d9 --- /dev/null +++ b/@commitlint/cz-commitlint/.gitignore @@ -0,0 +1 @@ +.vscode diff --git a/@commitlint/cz-commitlint/README.md b/@commitlint/cz-commitlint/README.md new file mode 100644 index 0000000000..3f572ba595 --- /dev/null +++ b/@commitlint/cz-commitlint/README.md @@ -0,0 +1,88 @@ +> Commitizen adapter using the commitlint.config.js + +# @commitlint/cz-commitlint + +This is a commitizen adapter, using this adapter, commitizen works based on commitlint.config.js. + +Submit by commitizen, lint by commitlint, just need maintain one configuration file, Consistent and Scalable. + +The interactive process is inspired by [cz-conventional-changelog](https://github.com/commitizen/cz-conventional-changelog). + +## Getting started + +### Using commitizen adapter + +```bash +npm install --save-dev @commitlint/cz-commitlint commitizen +``` + +In package.json + +``` +{ + "scripts": { + "commit": "git-cz" + }, + "config": { + "commitizen": { + "path": "@commitlint/cz-commitlint" + } + } +} +``` + +### Configure commitlint + +```bash +# Install commitlint cli and conventional config +npm install --save-dev @commitlint/config-conventional @commitlint/cli + +# Simple: config with conventional +echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js + +# commitlint configuration is shareable, +# Install lerna-scopes +npm install --save-dev @commitlint/config-lerna-scopes +# Scalable: config with lerna-scopes in monorepo mode +echo "module.exports = {extends: ['@commitlint/config-conventional', '@commitlint/config-lerna-scopes']};" > commitlint.config.js +``` + +### Set Git Hooks by husky + +```base + +# ------- using npm ---------- +# Install Husky +npm install husky --save-dev +# Active hooks +npx husky install +# Add commitlint hook +npx husky add .husky/commit-msg 'npx --no-install commitlint --edit $1' +# Add commitizen hook +npx husky add .husky/prepare-commit-msg 'exec < /dev/tty && node_modules/.bin/cz --hook || true' + + +# ------- using yarn ---------- +# Install Husky +yarn add husky --dev +# Active hooks +yarn husky install +# Add commitlint hook +yarn husky add .husky/commit-msg 'yarn --no-install commitlint --edit $1' +# Add commitizen hook +yarn husky add .husky/prepare-commit-msg 'exec < /dev/tty && node_modules/.bin/cz --hook || true' + +``` + +### Try it out + +```bash +git add . +npm run commit +# or +yarn run commit +``` + +## Related + +- [Commitlint Shared Configuration](https://github.com/conventional-changelog/commitlint#shared-configuration) - You can find more shared configurations are available to install and use with commitlint diff --git a/@commitlint/cz-commitlint/TODO b/@commitlint/cz-commitlint/TODO new file mode 100644 index 0000000000..689365d222 --- /dev/null +++ b/@commitlint/cz-commitlint/TODO @@ -0,0 +1,5 @@ +[x] jest Test +[x] insert prompt settings to commitlint.config.js +[] support multi line +[] support emoji and title +[] recognize "signed-off-by" and "references-empty" rules diff --git a/@commitlint/cz-commitlint/license.md b/@commitlint/cz-commitlint/license.md new file mode 100644 index 0000000000..d13cc4b26a --- /dev/null +++ b/@commitlint/cz-commitlint/license.md @@ -0,0 +1,19 @@ +The MIT License (MIT) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/@commitlint/cz-commitlint/package.json b/@commitlint/cz-commitlint/package.json new file mode 100644 index 0000000000..7a8e89ced7 --- /dev/null +++ b/@commitlint/cz-commitlint/package.json @@ -0,0 +1,42 @@ +{ + "name": "cz-commitlint", + "version": "1.0.0", + "description": "Commitizen adapter using the commitlint.config.js", + "main": "./lib/index.js", + "files": [ + "lib" + ], + "scripts": { + "commit": "git-cz" + }, + "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "repository": { + "type": "git", + "url": "https://github.com/conventional-changelog/commitlint.git" + }, + "engineStrict": true, + "engines": { + "node": ">= 10" + }, + "author": "Curly Brackets ", + "license": "MIT", + "config": { + "commitizen": { + "path": "./@commitlint/cz-commitlint" + } + }, + "dependencies": { + "@commitlint/load": "^12.1.1", + "@commitlint/types": "^12.1.1", + "chalk": "^4.1.0", + "lodash": "^4.17.21", + "word-wrap": "^1.2.3" + }, + "peerDependencies": { + "commitizen": "^4.0.3", + "inquirer": "^8.0.0" + }, + "devDependencies": { + "@types/inquirer": "^7.3.1" + } +} diff --git a/@commitlint/cz-commitlint/src/Process.test.ts b/@commitlint/cz-commitlint/src/Process.test.ts new file mode 100644 index 0000000000..c5de547c79 --- /dev/null +++ b/@commitlint/cz-commitlint/src/Process.test.ts @@ -0,0 +1,241 @@ +import {QualifiedRules, UserPromptConfig} from '@commitlint/types'; +import {Answers, DistinctQuestion} from 'inquirer'; +import isFunction from 'lodash/isFunction'; +import process from './Process'; + +const mockShowTitle = jest.fn(); +const mockShowValidation = jest.fn((message) => message); + +// mock inquirer +const mockPrompt = jest.fn(function (questions, answers) { + for (const {name, message, when, filter, validate} of questions) { + if (!when || when(answers)) { + const title = + message && isFunction(message) + ? message(answers) + : typeof message === 'string' + ? message + : ''; + mockShowTitle(title); + + const validation: boolean | string = + !validate || validate(answers[name] ?? '', answers); + + if (typeof validation === 'string') { + mockShowValidation(validation); + break; + } else { + if (filter && answers[name]) { + answers[name] = filter(answers[name]); + } + } + } + } +}); + +function InquirerFactory(answers: Answers) { + const inquirer = { + prompt: function (questions: DistinctQuestion) { + return { + then: function (callback: (answers: Answers) => void) { + mockPrompt(questions, answers); + callback(answers); + }, + }; + }, + }; + + return inquirer; +} + +const MESSAGES = { + skip: '(press enter to skip)', + max: 'upper %d chars', + min: '%d chars at least', + emptyWarning: '%s can not be empty', + upperLimitWarning: '%s: %s over limit %d', + lowerLimitWarning: '%s: %s below limit %d', +}; + +let rules: QualifiedRules; +let prompts: UserPromptConfig; + +afterEach(() => { + mockShowTitle.mockClear(); + mockShowValidation.mockClear(); +}); + +describe('conventional-changlog', () => { + beforeEach(() => { + 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], + 'subject-case': [ + 2, + 'never', + ['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': [ + 2, + 'always', + [ + 'build', + 'chore', + 'ci', + 'docs', + 'feat', + 'fix', + 'perf', + 'refactor', + 'revert', + 'style', + 'test', + ], + ], + } as any; + prompts = { + messages: MESSAGES, + questions: { + type: { + description: "Select the type of change that you're committing:", + enum: { + feat: { + description: 'A new feature', + title: 'Features', + emoji: '✨', + }, + fix: { + description: 'A bug fix', + title: 'Bug Fixes', + emoji: '🐛', + }, + docs: { + description: 'Documentation only changes', + title: 'Documentation', + emoji: '📚', + }, + style: { + description: + 'Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)', + title: 'Styles', + emoji: '💎', + }, + refactor: { + description: + 'A code change that neither fixes a bug nor adds a feature', + title: 'Code Refactoring', + emoji: '📦', + }, + perf: { + description: 'A code change that improves performance', + title: 'Performance Improvements', + emoji: '🚀', + }, + test: { + description: 'Adding missing tests or correcting existing tests', + title: 'Tests', + emoji: '🚨', + }, + build: { + description: + 'Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)', + title: 'Builds', + emoji: '🛠', + }, + ci: { + description: + 'Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)', + title: 'Continuous Integrations', + emoji: '⚙️', + }, + chore: { + description: "Other changes that don't modify src or test files", + title: 'Chores', + emoji: '♻️', + }, + revert: { + description: 'Reverts a previous commit', + title: 'Reverts', + emoji: '🗑', + }, + }, + }, + scope: { + description: + 'What is the scope of this change (e.g. component or file name)', + }, + subject: { + description: + 'Write a short, imperative tense description of the change', + }, + body: { + description: 'Provide a longer description of the change', + }, + isBreaking: { + description: 'Are there any breaking changes?', + }, + breakingBody: { + description: + 'A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself', + }, + breaking: { + description: 'Describe the breaking changes', + }, + isIssueAffected: { + description: 'Does this change affect any open issues?', + }, + issuesBody: { + description: + 'If issues are closed, the commit requires a body. Please enter a longer description of the commit itself', + }, + issues: { + description: 'Add issue references (e.g. "fix #123", "re #123".)', + }, + }, + }; + }); + test('should process works well', () => { + const answers = { + type: 'refactor', + scope: 'prompt', + subject: 'refactor prompt based on inquirer', + body: 'inspired by commitizen/cz-conventional-changelog', + isBreaking: true, + breaking: 'refactor types', + isIssueAffected: true, + issues: 'https://github.com/conventional-changelog/commitlint/issues/94', + }; + return process(rules as any, prompts, InquirerFactory(answers) as any).then( + (commitMessage) => { + expect(commitMessage).toBe( + 'refactor(prompt): refactor prompt based on inquirer\n\ninspired by commitizen/cz-conventional-changelog\n\nBREAKING CHANGE: refactor types\nhttps://github.com/conventional-changelog/commitlint/issues/94' + ); + } + ); + }); + + test('should show validation and stop process when subject is empty', () => { + const answers = { + type: 'refactor', + scope: 'prompt', + body: 'inspired by commitizen/cz-conventional-changelog', + isBreaking: true, + breaking: 'refactor types', + isIssueAffected: true, + issues: 'https://github.com/conventional-changelog/commitlint/issues/94', + }; + return process(rules as any, prompts, InquirerFactory(answers) as any).then( + () => { + expect(mockShowValidation).toBeCalledWith('subject can not be empty'); + expect(mockShowTitle).toBeCalledTimes(3); + } + ); + }); +}); diff --git a/@commitlint/cz-commitlint/src/Process.ts b/@commitlint/cz-commitlint/src/Process.ts new file mode 100644 index 0000000000..f1ec42d36f --- /dev/null +++ b/@commitlint/cz-commitlint/src/Process.ts @@ -0,0 +1,36 @@ +import {QualifiedRules, UserPromptConfig} from '@commitlint/types'; +import {Inquirer} from 'inquirer'; +import { + combineCommitMessage as combineBody, + getQuestions as getBodyQuestions, +} from './SectionBody'; +import { + combineCommitMessage as combineFooter, + getQuestions as getFooterQuestions, +} from './SectionFooter'; +import { + combineCommitMessage as combineHeader, + getQuestions as getHeaderQuestions, +} from './SectionHeader'; +import {setPromptConfig} from './store/prompts'; +import {setRules} from './store/rules'; + +export default async function ( + rules: QualifiedRules, + prompts: UserPromptConfig, + inquirer: Inquirer +): Promise { + setRules(rules); + setPromptConfig(prompts); + const questions = [ + ...getHeaderQuestions(), + ...getBodyQuestions(), + ...getFooterQuestions(), + ]; + const answers = await inquirer.prompt(questions); + const header = combineHeader(answers); + const body = combineBody(answers); + const footer = combineFooter(answers); + + return [header, body, footer].filter(Boolean).join('\n'); +} diff --git a/@commitlint/cz-commitlint/src/Question.test.ts b/@commitlint/cz-commitlint/src/Question.test.ts new file mode 100644 index 0000000000..9f94dfe90b --- /dev/null +++ b/@commitlint/cz-commitlint/src/Question.test.ts @@ -0,0 +1,317 @@ +import chalk from 'chalk'; +import inquirer, {Answers, InputQuestionOptions} from 'inquirer'; +import Question from './Question'; + +const MESSAGES = { + skip: '(press enter to skip)', + max: 'upper %d chars', + min: '%d chars at least', + emptyWarning: '%s can not be empty', + upperLimitWarning: '%s: %s over limit %d', + lowerLimitWarning: '%s: %s below limit %d', +}; +const QUESTION_CONFIG = { + title: 'please input', + messages: MESSAGES, +}; + +describe('name', () => { + test('should throw error when name is not a meaningful string', () => { + expect( + () => + new Question('' as any, { + ...QUESTION_CONFIG, + }) + ).toThrow(); + + expect( + () => + new Question( + function () { + return 'scope'; + } as any, + { + ...QUESTION_CONFIG, + } + ) + ).toThrow(); + }); + + test('should set name when name is valid', () => { + expect( + new Question('test' as any, { + ...QUESTION_CONFIG, + }).question + ).toHaveProperty('name', 'test'); + }); +}); + +describe('type', () => { + test('should return "list" type when enumList is array', () => { + const question = new Question('scope', { + ...QUESTION_CONFIG, + enumList: ['cli', 'core'], + }).question; + expect(question).toHaveProperty('type', 'list'); + expect(question).toHaveProperty('choices', ['cli', 'core']); + expect(question).not.toHaveProperty('transformer'); + }); + + test('should contain "skip" list item when enumList is array and skip is true', () => { + const question = new Question('scope', { + ...QUESTION_CONFIG, + enumList: ['cli', 'core'], + skip: true, + }).question; + expect(question).toHaveProperty('type', 'list'); + expect(question).toHaveProperty('choices', [ + 'cli', + 'core', + new inquirer.Separator(), + { + name: 'empty', + value: '', + }, + ]); + expect(question).not.toHaveProperty('transformer'); + }); + + test('should return "confirm" type when name is start with "is"', () => { + const question = new Question('isSubmit' as any, { + ...QUESTION_CONFIG, + }).question; + expect(question).toHaveProperty('type', 'confirm'); + expect(question).not.toHaveProperty('choices'); + expect(question).not.toHaveProperty('transformer'); + }); + + test('should return "input" type in other cases', () => { + const question = new Question('body', { + ...QUESTION_CONFIG, + }).question; + expect(question).toHaveProperty('type', 'input'); + expect(question).not.toHaveProperty('choices'); + expect(question).toHaveProperty('transformer', expect.any(Function)); + }); +}); + +describe('message', () => { + test('should display title when it is not input', () => { + const question = new Question('body', { + ...QUESTION_CONFIG, + enumList: ['cli', 'core'], + }).question; + expect(question).toHaveProperty('message', expect.any(Function)); + expect((question.message as any)()).toBe('please input: '); + }); + + test('should display skip hint when it is input and can skip', () => { + const question = new Question('body' as any, { + ...QUESTION_CONFIG, + skip: true, + }).question; + expect(question).toHaveProperty('message', expect.any(Function)); + expect((question.message as any)()).toBe( + 'please input(press enter to skip): \n' + ); + }); + + test('should not display skip hint when it is input and without skip string', () => { + const question = new Question('scope', { + ...QUESTION_CONFIG, + messages: {}, + skip: true, + } as any).question; + expect(question).toHaveProperty('message', expect.any(Function)); + expect((question.message as any)()).toBe('please input: \n'); + }); + + test('should display upper limit hint when it is input and has max length', () => { + const question = new Question('scope', { + ...QUESTION_CONFIG, + maxLength: 80, + } as any).question; + expect(question).toHaveProperty('message', expect.any(Function)); + expect((question.message as any)()).toBe('please input: upper 80 chars\n'); + }); + + test('should display lower limit hint when it is input and has min length', () => { + const question = new Question('scope', { + ...QUESTION_CONFIG, + minLength: 10, + } as any).question; + expect(question).toHaveProperty('message', expect.any(Function)); + expect((question.message as any)()).toBe( + 'please input: 10 chars at least\n' + ); + }); + + test('should display hints with correct format', () => { + const question = new Question('scope', { + ...QUESTION_CONFIG, + minLength: 10, + maxLength: 80, + skip: true, + } as any).question; + expect(question).toHaveProperty('message', expect.any(Function)); + expect((question.message as any)()).toBe( + 'please input(press enter to skip): 10 chars at least, upper 80 chars\n' + ); + }); + + test('should execute function beforeQuestionStart when init message', () => { + const mockFn = jest.fn(); + class CustomQuestion extends Question { + beforeQuestionStart(answers: Answers): void { + mockFn(answers); + } + } + const question = new CustomQuestion('body', { + ...QUESTION_CONFIG, + } as any).question; + expect(question).toHaveProperty('message', expect.any(Function)); + + const answers = { + header: 'This is header', + footer: 'This is footer', + }; + (question.message as any)(answers); + expect(mockFn).toHaveBeenCalledWith(answers); + }); +}); + +describe('filter', () => { + test('should auto fix case and full-stop', () => { + const question = new Question('body', { + ...QUESTION_CONFIG, + caseFn: (input: string) => input[0].toUpperCase() + input.slice(1), + fullStopFn: (input: string) => input + '!', + }).question; + + expect(question.filter?.('xxxx', {})).toBe('Xxxx!'); + }); + + test('should works well when does not pass caseFn/fullStopFn', () => { + const question = new Question('body', { + ...QUESTION_CONFIG, + }).question; + + expect(question.filter?.('xxxx', {})).toBe('xxxx'); + }); +}); + +describe('validate', () => { + test('should display empty warning when can not skip but string is empty', () => { + const question = new Question('body', { + ...QUESTION_CONFIG, + skip: false, + }).question; + + expect(question.validate?.('')).toBe('body can not be empty'); + }); + + test('should ignore empty validation when can skip', () => { + const question = new Question('body', { + ...QUESTION_CONFIG, + skip: true, + }).question; + + expect(question.validate?.('')).toBe(true); + }); + + test('should display upper limit warning when char count is over upper limit', () => { + const question = new Question('body', { + ...QUESTION_CONFIG, + maxLength: 5, + }).question; + + expect(question.validate?.('xxxxxx')).toBe('body: body over limit 1'); + }); + + test('should display lower limit warning when char count is less than lower limit', () => { + const question = new Question('body', { + ...QUESTION_CONFIG, + minLength: 5, + }).question; + + expect(question.validate?.('xxx')).toBe('body: body below limit 2'); + }); + + test('should validate the final submit string', () => { + const question = new Question('body', { + ...QUESTION_CONFIG, + caseFn: () => '', + skip: false, + }).question; + + expect(question.validate?.('xxxx')).not.toBe(true); + }); +}); + +describe('transformer', () => { + test('should auto transform case and full-stop', () => { + const question = new Question('body', { + ...QUESTION_CONFIG, + caseFn: (input: string) => input[0].toUpperCase() + input.slice(1), + fullStopFn: (input: string) => input + '!', + }).question; + + expect( + (question as InputQuestionOptions)?.transformer?.('xxxx', {}, {}) + ).toBe('Xxxx!'); + }); + + test('should char count with green color when in the limit range', () => { + let question = new Question('body', { + ...QUESTION_CONFIG, + maxLength: 5, + }).question; + + expect( + (question as InputQuestionOptions)?.transformer?.('xxx', {}, {}) + ).toEqual(chalk.green(`(3) xxx`)); + + question = new Question('body', { + ...QUESTION_CONFIG, + minLength: 2, + }).question; + + expect( + (question as InputQuestionOptions)?.transformer?.('xxx', {}, {}) + ).toEqual(chalk.green(`(3) xxx`)); + }); + + test('should char count with red color when over the limit range', () => { + let question = new Question('body', { + ...QUESTION_CONFIG, + maxLength: 5, + }).question; + + expect( + (question as InputQuestionOptions)?.transformer?.('xxxxxx', {}, {}) + ).toEqual(chalk.red(`(6) xxxxxx`)); + + question = new Question('body', { + ...QUESTION_CONFIG, + minLength: 2, + }).question; + + expect( + (question as InputQuestionOptions)?.transformer?.('x', {}, {}) + ).toEqual(chalk.red(`(1) x`)); + }); +}); + +describe('inquirer question', () => { + test('should pass "when" and "default" field to inquirer question', () => { + const when = (answers: Answers) => !!answers.header; + const question = new Question('body', { + ...QUESTION_CONFIG, + when, + defaultValue: 'update', + }).question; + + expect(question).toHaveProperty('default', 'update'); + expect(question).toHaveProperty('when', when); + }); +}); diff --git a/@commitlint/cz-commitlint/src/Question.ts b/@commitlint/cz-commitlint/src/Question.ts new file mode 100644 index 0000000000..4abec6b53c --- /dev/null +++ b/@commitlint/cz-commitlint/src/Question.ts @@ -0,0 +1,186 @@ +import {PromptMessages, PromptName} from '@commitlint/types'; +import chalk from 'chalk'; +import inquirer, {Answers, ChoiceCollection, DistinctQuestion} from 'inquirer'; +import {CaseFn} from './utils/case-fn'; +import {FullStopFn} from './utils/full-stop-fn'; + +export type QuestionConfig = { + title: string; + messages: PromptMessages; + maxLength?: number; + minLength?: number; + defaultValue?: string; + when?: DistinctQuestion['when']; + skip?: boolean; + enumList?: ChoiceCollection<{ + name: string; + value: string; + }> | null; + fullStopFn?: FullStopFn; + caseFn?: CaseFn; +}; + +export default class Question { + private _question: Readonly; + private messages: PromptMessages; + private skip: boolean; + private _maxLength: number; + private _minLength: number; + private title: string; + private caseFn: CaseFn; + private fullStopFn: FullStopFn; + constructor( + name: PromptName, + { + title, + enumList, + messages, + defaultValue, + when, + skip, + fullStopFn, + caseFn, + maxLength, + minLength, + }: QuestionConfig + ) { + if (!name || typeof name !== 'string') + throw new Error('Question: name is required'); + + this._maxLength = maxLength ?? Infinity; + this._minLength = minLength ?? 0; + this.messages = messages; + this.title = title ?? ''; + this.skip = skip ?? false; + this.fullStopFn = fullStopFn ?? ((_: string) => _); + this.caseFn = caseFn ?? ((_: string) => _); + + if (enumList && Array.isArray(enumList)) { + this._question = { + type: 'list', + choices: skip + ? [ + ...enumList, + new inquirer.Separator(), + { + name: 'empty', + value: '', + }, + ] + : [...enumList], + }; + } else if (/^is[A-Z]/.test(name)) { + this._question = { + type: 'confirm', + }; + } else { + this._question = { + type: 'input', + transformer: this.transformer.bind(this), + }; + } + + Object.assign(this._question, { + name, + default: defaultValue, + when, + validate: this.validate.bind(this), + filter: this.filter.bind(this), + message: this.decorateMessage.bind(this), + }); + } + + getMessage(key: string): string { + return this.messages[key] ?? ''; + } + + get question(): Readonly { + return this._question; + } + + get maxLength(): number { + return this._maxLength; + } + + set maxLength(maxLength: number) { + this._maxLength = maxLength; + } + + get minLength(): number { + return this._minLength; + } + + set minLength(minLength: number) { + this._minLength = minLength; + } + + protected beforeQuestionStart(_answers: Answers): void { + return; + } + + protected validate(input: string): boolean | string { + const output = this.filter(input); + const questionName = this.question.name ?? ''; + if (!this.skip && output.length === 0) { + return this.getMessage('emptyWarning').replace(/%s/g, questionName); + } + + if (output.length > this.maxLength) { + return this.getMessage('upperLimitWarning') + .replace(/%s/g, questionName) + .replace(/%d/g, `${output.length - this.maxLength}`); + } + + if (output.length < this.minLength) { + return this.getMessage('lowerLimitWarning') + .replace(/%s/g, questionName) + .replace(/%d/g, `${this.minLength - output.length}`); + } + + return true; + } + + protected filter(input: string): string { + return this.caseFn(this.fullStopFn(input)); + } + + protected transformer(input: string, _answers: Answers): string { + const output = this.filter(input); + + if (this.maxLength === Infinity && this.minLength === 0) { + return output; + } + const color = + output.length <= this.maxLength && output.length >= this.minLength + ? chalk.green + : chalk.red; + return color('(' + output.length + ') ' + input); + } + + protected decorateMessage(_answers: Answers): string { + this.beforeQuestionStart && this.beforeQuestionStart(_answers); + if (this.question.type === 'input') { + const countLimitMessage = (() => { + const messages = []; + if (this.minLength > 0 && this.getMessage('min')) { + messages.push( + this.getMessage('min').replace(/%d/g, this.minLength + '') + ); + } + if (this.maxLength < Infinity && this.getMessage('max')) { + messages.push( + this.getMessage('max').replace(/%d/g, this.maxLength + '') + ); + } + + return messages.join(', '); + })(); + + const skipMessage = this.skip ? this.getMessage('skip') : ''; + + return this.title + skipMessage + ': ' + countLimitMessage + '\n'; + } else { + return this.title + ': '; + } + } +} diff --git a/@commitlint/cz-commitlint/src/SectionBody.test.ts b/@commitlint/cz-commitlint/src/SectionBody.test.ts new file mode 100644 index 0000000000..12e4acc6e5 --- /dev/null +++ b/@commitlint/cz-commitlint/src/SectionBody.test.ts @@ -0,0 +1,77 @@ +import {RuleConfigSeverity} from '@commitlint/types'; +import {combineCommitMessage, getQuestions} from './SectionBody'; +import {setRules} from './store/rules'; + +describe('getQuestions', () => { + test('should exclude question when body must be empty', () => { + setRules({ + 'body-empty': [RuleConfigSeverity.Error, 'always'], + }); + const questions = getQuestions(); + expect(questions).toHaveLength(0); + }); + + test('should only return body question', () => { + setRules({}); + const questions = getQuestions(); + expect(questions).toHaveLength(1); + expect(questions).toEqual([ + expect.objectContaining({ + name: 'body', + }), + ]); + }); +}); + +describe('combineCommitMessage', () => { + test('should wrap message to multi lines when max-line-length set', () => { + setRules({ + 'body-max-line-length': [RuleConfigSeverity.Error, 'always', 10], + }); + + const commitMessage = combineCommitMessage({ + body: 'This is the body message.', + }); + + expect(commitMessage).toBe('This is\nthe body\nmessage.'); + }); + + test('should auto apply leading blank', () => { + setRules({ + 'body-leading-blank': [RuleConfigSeverity.Error, 'always'], + }); + + const commitMessage = combineCommitMessage({ + body: 'This is the body message.', + }); + + expect(commitMessage).toBe('\nThis is the body message.'); + }); + + test('should return correct string when leading-blank and max-line-length both set', () => { + setRules({ + 'body-max-line-length': [RuleConfigSeverity.Error, 'always', 10], + 'body-leading-blank': [RuleConfigSeverity.Error, 'always'], + }); + const commitMessage = combineCommitMessage({ + body: 'This is the body message.', + }); + expect(commitMessage).toBe('\nThis is\nthe body\nmessage.'); + }); + + test('should use breakingBody when body message is empty but commit has BREAK CHANGE', () => { + setRules({}); + const commitMessage = combineCommitMessage({ + breakingBody: 'This is breaking body message.', + }); + expect(commitMessage).toBe('This is breaking body message.'); + }); + + test('should use issueBody when body message is empty but commit has issue note', () => { + setRules({}); + const commitMessage = combineCommitMessage({ + issuesBody: 'This is issue body message.', + }); + expect(commitMessage).toBe('This is issue body message.'); + }); +}); diff --git a/@commitlint/cz-commitlint/src/SectionBody.ts b/@commitlint/cz-commitlint/src/SectionBody.ts new file mode 100644 index 0000000000..de528b8858 --- /dev/null +++ b/@commitlint/cz-commitlint/src/SectionBody.ts @@ -0,0 +1,37 @@ +import {Answers, DistinctQuestion} from 'inquirer'; +import wrap from 'word-wrap'; +import Question from './Question'; +import getRuleQuestionConfig from './services/getRuleQuestionConfig'; +import {getRule} from './store/rules'; +import getLeadingBlankFn from './utils/leading-blank-fn'; +import {getMaxLength} from './utils/rules'; + +export function getQuestions(): Array { + // body + const questionConfig = getRuleQuestionConfig('body'); + + if (!questionConfig) return []; + else return [new Question('body', questionConfig).question]; +} + +export function combineCommitMessage(answers: Answers): string { + const maxLineLength = getMaxLength(getRule('body', 'max-line-length')); + const leadingBlankFn = getLeadingBlankFn(getRule('body', 'leading-blank')); + const {body, breakingBody, issuesBody} = answers; + + const commitBody = body ?? breakingBody ?? issuesBody ?? '-'; + + if (commitBody) { + return leadingBlankFn( + maxLineLength < Infinity + ? wrap(commitBody, { + width: maxLineLength, + trim: true, + indent: '', + }) + : commitBody.trim() + ); + } else { + return ''; + } +} diff --git a/@commitlint/cz-commitlint/src/SectionFooter.test.ts b/@commitlint/cz-commitlint/src/SectionFooter.test.ts new file mode 100644 index 0000000000..06752401d5 --- /dev/null +++ b/@commitlint/cz-commitlint/src/SectionFooter.test.ts @@ -0,0 +1,314 @@ +import {RuleConfigSeverity} from '@commitlint/types'; +import {combineCommitMessage, getQuestions} from './SectionFooter'; +import {setPromptConfig} from './store/prompts'; +import {setRules} from './store/rules'; + +beforeEach(() => { + setRules({}); + setPromptConfig({}); +}); +describe('getQuestions', () => { + test('should only ask questions that listed in prompt question config', () => { + setPromptConfig({ + questions: { + footer: { + description: + '