diff --git a/package.json b/package.json index 58067a0947d6..f2e16ecb35a8 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "eslint-plugin-import": "^2.9.0", "eslint-plugin-jest": "^22.0.0", "eslint-plugin-node": "^6.0.1", - "eslint-plugin-promise": "^3.7.0", + "eslint-plugin-promise": "^4.2.1", "eslint-plugin-react": "^7.4.0", "eslint-plugin-standard": "^3.0.1", "gh-pages": "^1.1.0", diff --git a/packages/taro-components-rn/package.json b/packages/taro-components-rn/package.json index 97fb941cc27e..315ecb68cdea 100644 --- a/packages/taro-components-rn/package.json +++ b/packages/taro-components-rn/package.json @@ -59,7 +59,7 @@ "eslint-plugin-import": "^2.9.0", "eslint-plugin-jest": "^21.15.0", "eslint-plugin-node": "^6.0.1", - "eslint-plugin-promise": "^3.7.0", + "eslint-plugin-promise": "^4.2.1", "eslint-plugin-react": "^7.7.0", "eslint-plugin-standard": "^3.0.1", "gulp": "^4.0.0", diff --git a/packages/taro-components-rn/yarn.lock b/packages/taro-components-rn/yarn.lock index 11b7da85f2dd..a50b220e47e9 100644 --- a/packages/taro-components-rn/yarn.lock +++ b/packages/taro-components-rn/yarn.lock @@ -2895,10 +2895,10 @@ eslint-plugin-node@^6.0.1: resolve "^1.3.3" semver "^5.4.1" -eslint-plugin-promise@^3.7.0: - version "3.8.0" - resolved "http://registry.npm.taobao.org/eslint-plugin-promise/download/eslint-plugin-promise-3.8.0.tgz#65ebf27a845e3c1e9d6f6a5622ddd3801694b621" - integrity sha1-ZevyeoRePB6db2pWIt3TgBaUtiE= +eslint-plugin-promise@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-4.2.1.tgz#845fd8b2260ad8f82564c1222fce44ad71d9418a" + integrity sha512-VoM09vT7bfA7D+upt+FjeBO5eHIJQBUWki1aPvB+vbNiHS3+oGIJGIeyBtKQTME6UPXXy3vV07OL1tHd3ANuDw== eslint-plugin-react-native-globals@^0.1.1: version "0.1.2" diff --git a/yarn.lock b/yarn.lock index 7e4aa065e5e3..586e64ea874e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4113,9 +4113,10 @@ eslint-plugin-node@^6.0.1: resolve "^1.3.3" semver "^5.4.1" -eslint-plugin-promise@^3.7.0: - version "3.8.0" - resolved "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-3.8.0.tgz#65ebf27a845e3c1e9d6f6a5622ddd3801694b621" +eslint-plugin-promise@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-4.2.1.tgz#845fd8b2260ad8f82564c1222fce44ad71d9418a" + integrity sha512-VoM09vT7bfA7D+upt+FjeBO5eHIJQBUWki1aPvB+vbNiHS3+oGIJGIeyBtKQTME6UPXXy3vV07OL1tHd3ANuDw== eslint-plugin-react@^7.4.0: version "7.11.1"