diff --git a/package.json b/package.json index 1cb3602..664e918 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "pinst": "2.1.6", "power-assert": "1.6.1", "regenerator-runtime": "0.13.7", - "xo": "0.39.1" + "xo": "0.40.0" }, "ava": { "files": [ diff --git a/yarn.lock b/yarn.lock index c00cf4c..9f32036 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1237,6 +1237,21 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" +"@eslint/eslintrc@^0.4.1": + version "0.4.1" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.1.tgz#442763b88cecbe3ee0ec7ca6d6dd6168550cbf14" + integrity sha512-5v7TDE9plVhvxQeWLXDTvFvJBdH6pEsdnl2g/dAptmuFEPedQ4Erq5rsDsX+mvAM610IhNaO2W5V1dOOnDKxkQ== + dependencies: + ajv "^6.12.4" + debug "^4.1.1" + espree "^7.3.0" + globals "^12.1.0" + ignore "^4.0.6" + import-fresh "^3.2.1" + js-yaml "^3.13.1" + minimatch "^3.0.4" + strip-json-comments "^3.1.1" + "@failure-abstraction/error@^5.0.5": version "5.0.5" resolved "https://registry.yarnpkg.com/@failure-abstraction/error/-/error-5.0.5.tgz#0cf54ae8f76a025a8df015acd958192fb29a5e9a" @@ -2398,7 +2413,7 @@ buffer@^5.5.0: base64-js "^1.3.1" ieee754 "^1.1.13" -builtin-modules@^3.1.0: +builtin-modules@^3.0.0, builtin-modules@^3.1.0: version "3.2.0" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.2.0.tgz#45d5db99e7ee5e6bc4f362e008bf917ab5049887" integrity sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA== @@ -3438,6 +3453,11 @@ defer-to-connect@^2.0.0: resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== +define-lazy-prop@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" + integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== + define-properties@^1.1.2, define-properties@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" @@ -3992,10 +4012,10 @@ eslint-config-prettier@^8.2.0: resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz#f7471b20b6fe8a9a9254cc684454202886a2dd7a" integrity sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew== -eslint-config-xo-typescript@^0.39.0: - version "0.39.0" - resolved "https://registry.yarnpkg.com/eslint-config-xo-typescript/-/eslint-config-xo-typescript-0.39.0.tgz#63577ea61879e794913af5796ceaa28baf826fd6" - integrity sha512-UP4WqkmAKerYAhJTLdfrjBhD/nM1ePEugQNBJjzFfZv/lJ4yQjTzDBjfjsgluX1kz9PajRMaaipiWloJEODdGg== +eslint-config-xo-typescript@^0.41.0: + version "0.41.0" + resolved "https://registry.yarnpkg.com/eslint-config-xo-typescript/-/eslint-config-xo-typescript-0.41.0.tgz#fca12c45e0189b02d60c8b0b978cfccbf1d7c9de" + integrity sha512-qnaHKlCG/ii/6mtVGC/GxWOd2GrzwfMW/QbnmkyuhmPCFYGaHvErw4Qcz0urszdGiN5VVelJBP+ZcxVd+BFZgQ== eslint-config-xo@^0.36.0: version "0.36.0" @@ -4133,17 +4153,17 @@ eslint-plugin-promise@^5.1.0: resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-5.1.0.tgz#fb2188fb734e4557993733b41aa1a688f46c6f24" integrity sha512-NGmI6BH5L12pl7ScQHbg7tvtk4wPxxj8yPHH47NvSmMtFneC077PSeY3huFj06ZWZvtbfxSPt3RuOQD5XcR4ng== -eslint-plugin-unicorn@^30.0.0: - version "30.0.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-30.0.0.tgz#45d3d138f444eff527e8c00f7a9299bcfcb5051b" - integrity sha512-ZKbE48Ep99z/3geLpkBfv+jNrzr2k7bLqCC/RfZOekZzAvn2/ECDE/d8zGdW1YxHmIC9pevQvm8Pl89v9GEIVw== +eslint-plugin-unicorn@^32.0.0: + version "32.0.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-32.0.0.tgz#a62fa2752b80259ffb8b24878631148237dc2a4d" + integrity sha512-VYE/XvZvdcY0RvOKGxsrVVWo8DaI/tGVYuhKzSd6Uuy69Ydc8zX+roZ/H9PgyykM4nuj8JDoOHSwVk9a4OYbCQ== dependencies: ci-info "^3.1.1" clean-regexp "^1.0.0" eslint-template-visitor "^2.3.2" eslint-utils "^2.1.0" - eslint-visitor-keys "^2.0.0" import-modules "^2.1.0" + is-builtin-module "^3.1.0" lodash "^4.17.21" pluralize "^8.0.0" read-pkg-up "^7.0.1" @@ -4681,7 +4701,16 @@ fs-extra@8.1.0: jsonfile "^4.0.0" universalify "^0.1.0" -fs-extra@^9.0.0, fs-extra@^9.1.0: +fs-extra@^10.0.0: + version "10.0.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.0.0.tgz#9ff61b655dde53fb34a82df84bb214ce802e17c1" + integrity sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + +fs-extra@^9.0.0: version "9.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== @@ -5474,6 +5503,13 @@ is-buffer@^1.1.5: resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== +is-builtin-module@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-3.1.0.tgz#6fdb24313b1c03b75f8b9711c0feb8c30b903b00" + integrity sha512-OV7JjAgOTfAFJmHZLvpSTb4qi0nIILDV1gWPYDnDJUTNFM5aGlRAhk4QcT8i7TuAleeEV5Fdkqn3t4mS+Q11fg== + dependencies: + builtin-modules "^3.0.0" + is-callable@^1.1.4, is-callable@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.3.tgz#8b1e0500b73a1d76c70487636f368e519de8db8e" @@ -7294,6 +7330,13 @@ p-event@^4.0.0, p-event@^4.2.0: dependencies: p-timeout "^3.1.0" +p-filter@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/p-filter/-/p-filter-2.1.0.tgz#1b1472562ae7a0f742f0f3d3d3718ea66ff9c09c" + integrity sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw== + dependencies: + p-map "^2.0.0" + p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" @@ -9997,20 +10040,22 @@ xdg-basedir@^4.0.0: resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-2.0.1.tgz#4d8b8f1eccd3419aa362061becef515e1e559635" integrity sha1-TYuPHszTQZqjYgYb7O9RXh5VljU= -xo@0.39.1: - version "0.39.1" - resolved "https://registry.yarnpkg.com/xo/-/xo-0.39.1.tgz#02cda4d77651548edcc27f1aa6c929c7390132be" - integrity sha512-7OXtjkIfCMw3XfUPGInnUhxb/w/IHqATQM7XHOxwiJqbsQ44OYcLkTZb7mA35tDtqflnvWk88wD+IxiR/XJ5gQ== +xo@0.40.0: + version "0.40.0" + resolved "https://registry.yarnpkg.com/xo/-/xo-0.40.0.tgz#32031355a1a0bad8bc57c8b75b00f76befffe901" + integrity sha512-Gcm4/qics4j992WH379D5oDKWI+Caann6I+wflmViIHA1tJ+YAiwRZ7V0brAzgW3yRka+9676e+GLoniWGNmaQ== dependencies: + "@eslint/eslintrc" "^0.4.1" "@typescript-eslint/eslint-plugin" "^4.22.0" "@typescript-eslint/parser" "^4.22.0" arrify "^2.0.1" cosmiconfig "^7.0.0" debug "^4.3.1" + define-lazy-prop "^2.0.0" eslint "^7.24.0" eslint-config-prettier "^8.2.0" eslint-config-xo "^0.36.0" - eslint-config-xo-typescript "^0.39.0" + eslint-config-xo-typescript "^0.41.0" eslint-formatter-pretty "^4.0.0" eslint-import-resolver-webpack "^0.13.0" eslint-plugin-ava "^12.0.0" @@ -10020,10 +10065,10 @@ xo@0.39.1: eslint-plugin-node "^11.1.0" eslint-plugin-prettier "^3.4.0" eslint-plugin-promise "^5.1.0" - eslint-plugin-unicorn "^30.0.0" + eslint-plugin-unicorn "^32.0.0" find-cache-dir "^3.3.1" find-up "^5.0.0" - fs-extra "^9.1.0" + fs-extra "^10.0.0" get-stdin "^8.0.0" globby "^9.2.0" has-flag "^4.0.0" @@ -10035,11 +10080,12 @@ xo@0.39.1: meow "^9.0.0" micromatch "^4.0.4" open-editor "^3.0.0" + p-filter "^2.1.0" + p-map "^4.0.0" p-reduce "^2.1.0" path-exists "^4.0.0" prettier "^2.2.1" resolve-cwd "^3.0.0" - resolve-from "^5.0.0" semver "^7.3.5" slash "^3.0.0" to-absolute-glob "^2.0.2"