Skip to content

Commit

Permalink
Bump eslint-plugin-unicorn from 7.0.0 to 8.0.2 (#654)
Browse files Browse the repository at this point in the history
* Bump eslint-plugin-unicorn from 7.0.0 to 8.0.2

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 7.0.0 to 8.0.2.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](sindresorhus/eslint-plugin-unicorn@v7.0.0...v8.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* fixes for eslint-plugin-unicorn 8
  • Loading branch information
dependabot[bot] authored and sonnyp committed Apr 19, 2019
1 parent f8d33ae commit a48897b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 12 deletions.
1 change: 1 addition & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ rules:
# unicorn https://github.com/sindresorhus/eslint-plugin-unicorn
unicorn/filename-case: 0
unicorn/catch-error-name: ['error', {'name': 'err'}]
unicorn/prevent-abbreviations: 0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-unicorn": "^7.0.0",
"eslint-plugin-unicorn": "^8.0.2",
"exorcist": "^1.0.1",
"jsdom": "^13.0.0",
"lerna": "^3.10.6",
Expand Down
13 changes: 6 additions & 7 deletions packages/resolve/lib/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ function resolve(domain) {
.then(res => {
return parse(res)
.getChildren('Link')
.filter(
link =>
[
'urn:xmpp:alt-connections:websocket',
'urn:xmpp:alt-connections:httppoll',
'urn:xmpp:alt-connections:xbosh',
].indexOf(link.attrs.rel) > -1
.filter(link =>
[
'urn:xmpp:alt-connections:websocket',
'urn:xmpp:alt-connections:httppoll',
'urn:xmpp:alt-connections:xbosh',
].includes(link.attrs.rel)
)
.map(({attrs}) => ({
rel: attrs.rel,
Expand Down
26 changes: 22 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3344,18 +3344,21 @@ eslint-plugin-promise@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-4.0.1.tgz#2d074b653f35a23d1ba89d8e976a985117d1c6a2"

eslint-plugin-unicorn@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-7.0.0.tgz#b03ade717684d620392bf5458a51758e8e77ea47"
integrity sha512-Tz2/2nUwT0qzYzHfOzpib6dltmwivdJd+Kf7GZ4e/xg4INCpVMevl1MKFNFv19n9+g2KMdC7yXgPHdUnXmtiBQ==
eslint-plugin-unicorn@^8.0.2:
version "8.0.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-8.0.2.tgz#a1f6192c39916d7385c057f79a95ffcdf47f4636"
integrity sha512-Ik2/Bt/PvPnf1lZgUnNFK2310XoRn/4LYiP5gkEPVDa4w9HCoii7I6SeKh2X5Rdp2WLy4eUiLcYtiBUp+q2IRw==
dependencies:
clean-regexp "^1.0.0"
eslint-ast-utils "^1.0.0"
import-modules "^1.1.0"
lodash.camelcase "^4.1.1"
lodash.defaultsdeep "^4.6.0"
lodash.kebabcase "^4.0.1"
lodash.snakecase "^4.0.1"
lodash.topairs "^4.3.0"
lodash.upperfirst "^4.2.0"
reserved-words "^0.1.2"
safe-regex "^2.0.1"

eslint-scope@^4.0.3:
Expand Down Expand Up @@ -4907,6 +4910,11 @@ lodash.debounce@^4.0.3, lodash.debounce@^4.0.8:
version "4.0.8"
resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"

lodash.defaultsdeep@^4.6.0:
version "4.6.0"
resolved "https://registry.yarnpkg.com/lodash.defaultsdeep/-/lodash.defaultsdeep-4.6.0.tgz#bec1024f85b1bd96cbea405b23c14ad6443a6f81"
integrity sha1-vsECT4WxvZbL6kBbI8FK1kQ6b4E=

lodash.difference@^4.3.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/lodash.difference/-/lodash.difference-4.5.0.tgz#9ccb4e505d486b91651345772885a2df27fd017c"
Expand Down Expand Up @@ -4965,6 +4973,11 @@ lodash.templatesettings@^4.0.0:
dependencies:
lodash._reinterpolate "~3.0.0"

lodash.topairs@^4.3.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/lodash.topairs/-/lodash.topairs-4.3.0.tgz#3b6deaa37d60fb116713c46c5f17ea190ec48d64"
integrity sha1-O23qo31g+xFnE8RsXxfqGQ7EjWQ=

lodash.uniq@^4.5.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
Expand Down Expand Up @@ -6561,6 +6574,11 @@ require-precompiled@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/require-precompiled/-/require-precompiled-0.1.0.tgz#5a1b52eb70ebed43eb982e974c85ab59571e56fa"

reserved-words@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/reserved-words/-/reserved-words-0.1.2.tgz#00a0940f98cd501aeaaac316411d9adc52b31ab1"
integrity sha1-AKCUD5jNUBrqqsMWQR2a3FKzGrE=

resolve-cwd@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a"
Expand Down

0 comments on commit a48897b

Please sign in to comment.