matthewhudson / current-device

📱 The easiest way to write conditional CSS and/or JavaScript based on device operating system (iOS, Android, Blackberry, Windows, Firefox OS, MeeGo), orientation (Portrait vs. Landscape), and type (Tablet vs. Mobile).
https://matthewhudson.github.io/current-device/
MIT License
3.94k stars 587 forks source link

chore(deps): update dependency eslint-plugin-import to v2.23.4 #287

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-import 2.22.1 -> 2.23.4 age adoption passing confidence

Release Notes

benmosher/eslint-plugin-import ### [`v2.23.4`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#​2234---2021-05-29) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.23.3...v2.23.4) ##### Fixed - \[`no-import-module-exports`]: Don't crash if packages have no entrypoint (\[[#​2099](https://togithub.com/benmosher/eslint-plugin-import/issues/2099)], thanks \[[@​eps1lon](https://togithub.com/eps1lon)]) - \[`no-extraneous-dependencies`]: fix package name algorithm (\[[#​2097](https://togithub.com/benmosher/eslint-plugin-import/issues/2097)], thanks \[[@​paztis](https://togithub.com/paztis)]) ### [`v2.23.3`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#​2233---2021-05-21) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.23.2...v2.23.3) ##### Fixed - \[`no-restricted-paths`]: fix false positive matches (\[[#​2090](https://togithub.com/benmosher/eslint-plugin-import/issues/2090)], thanks \[[@​malykhinvi](https://togithub.com/malykhinvi)]) - \[`no-cycle`]: ignore imports where imported file only imports types of importing file (\[[#​2083](https://togithub.com/benmosher/eslint-plugin-import/issues/2083)], thanks \[[@​cherryblossom000](https://togithub.com/cherryblossom000)]) - \[`no-cycle`]: fix false negative when file imports a type after importing a value in Flow (\[[#​2083](https://togithub.com/benmosher/eslint-plugin-import/issues/2083)], thanks \[[@​cherryblossom000](https://togithub.com/cherryblossom000)]) - \[`order`]: restore default behavior unless `type` is in groups (\[[#​2087](https://togithub.com/benmosher/eslint-plugin-import/issues/2087)], thanks \[[@​grit96](https://togithub.com/grit96)]) ##### Changed - \[Docs] Add `no-relative-packages` to list of to the list of rules (\[[#​2075](https://togithub.com/benmosher/eslint-plugin-import/issues/2075)], thanks \[[@​arvigeus](https://togithub.com/arvigeus)]) ### [`v2.23.2`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#​2232---2021-05-15) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.23.1...v2.23.2) ##### Changed - \[meta] add `safe-publish-latest`; use `prepublishOnly` script for npm 7+ ### [`v2.23.1`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#​2231---2021-05-14) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.23.0...v2.23.1) ##### Fixed - \[`newline-after-import`]: fix crash with `export {}` syntax (\[[#​2063](https://togithub.com/benmosher/eslint-plugin-import/issues/2063)], \[[#​2056](https://togithub.com/benmosher/eslint-plugin-import/issues/2056)], thanks \[[@​ljharb](https://togithub.com/ljharb)]) - `ExportMap`: do not crash when tsconfig lacks `.compilerOptions` (\[[#​2067](https://togithub.com/benmosher/eslint-plugin-import/issues/2067)], thanks \[[@​ljharb](https://togithub.com/ljharb)]) - \[`order`]: fix alphabetical sorting (\[[#​2071](https://togithub.com/benmosher/eslint-plugin-import/issues/2071)], thanks \[[@​grit96](https://togithub.com/grit96)]) ### [`v2.23.0`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#​2230---2021-05-13) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.22.1...v2.23.0) ##### Added - \[`no-commonjs`]: Also detect require calls with expressionless template literals: ``require(`x`)`` (\[[#​1958](https://togithub.com/benmosher/eslint-plugin-import/issues/1958)], thanks \[[@​FloEdelmann](https://togithub.com/FloEdelmann)]) - \[`no-internal-modules`]: Add `forbid` option (\[[#​1846](https://togithub.com/benmosher/eslint-plugin-import/issues/1846)], thanks \[[@​guillaumewuip](https://togithub.com/guillaumewuip)]) - add \[`no-relative-packages`] (\[[#​1860](https://togithub.com/benmosher/eslint-plugin-import/issues/1860)], \[[#​966](https://togithub.com/benmosher/eslint-plugin-import/issues/966)], thanks \[[@​tapayne88](https://togithub.com/tapayne88)] \[[@​panrafal](https://togithub.com/panrafal)]) - add \[`no-import-module-exports`] rule: report import declarations with CommonJS exports (\[[#​804](https://togithub.com/benmosher/eslint-plugin-import/issues/804)], thanks \[[@​kentcdodds](https://togithub.com/kentcdodds)] and \[[@​ttmarek](https://togithub.com/ttmarek)]) - \[`no-unused-modules`]: Support destructuring assignment for `export`. (\[[#​1997](https://togithub.com/benmosher/eslint-plugin-import/issues/1997)], thanks \[[@​s-h-a-d-o-w](https://togithub.com/s-h-a-d-o-w)]) - \[`order`]: support type imports (\[[#​2021](https://togithub.com/benmosher/eslint-plugin-import/issues/2021)], thanks \[[@​grit96](https://togithub.com/grit96)]) - \[`order`]: Add `warnOnUnassignedImports` option to enable warnings for out of order unassigned imports (\[[#​1990](https://togithub.com/benmosher/eslint-plugin-import/issues/1990)], thanks \[[@​hayes](https://togithub.com/hayes)]) ##### Fixed - \[`export`]/TypeScript: properly detect export specifiers as children of a TS module block (\[[#​1889](https://togithub.com/benmosher/eslint-plugin-import/issues/1889)], thanks \[[@​andreubotella](https://togithub.com/andreubotella)]) - \[`order`]: ignore non-module-level requires (\[[#​1940](https://togithub.com/benmosher/eslint-plugin-import/issues/1940)], thanks \[[@​golopot](https://togithub.com/golopot)]) - \[`no-webpack-loader-syntax`]/TypeScript: avoid crash on missing name (\[[#​1947](https://togithub.com/benmosher/eslint-plugin-import/issues/1947)], thanks \[[@​leonardodino](https://togithub.com/leonardodino)]) - \[`no-extraneous-dependencies`]: Add package.json cache (\[[#​1948](https://togithub.com/benmosher/eslint-plugin-import/issues/1948)], thanks \[[@​fa93hws](https://togithub.com/fa93hws)]) - \[`prefer-default-export`]: handle empty array destructuring (\[[#​1965](https://togithub.com/benmosher/eslint-plugin-import/issues/1965)], thanks \[[@​ljharb](https://togithub.com/ljharb)]) - \[`no-unused-modules`]: make type imports mark a module as used (fixes [#​1924](https://togithub.com/benmosher/eslint-plugin-import/issues/1924)) (\[[#​1974](https://togithub.com/benmosher/eslint-plugin-import/issues/1974)], thanks \[[@​cherryblossom000](https://togithub.com/cherryblossom000)]) - \[`no-cycle`]: fix perf regression (\[[#​1944](https://togithub.com/benmosher/eslint-plugin-import/issues/1944)], thanks \[[@​Blasz](https://togithub.com/Blasz)]) - \[`first`]: fix handling of `import = require` (\[[#​1963](https://togithub.com/benmosher/eslint-plugin-import/issues/1963)], thanks \[[@​MatthiasKunnen](https://togithub.com/MatthiasKunnen)]) - \[`no-cycle`]/\[`extensions`]: fix isExternalModule usage (\[[#​1696](https://togithub.com/benmosher/eslint-plugin-import/issues/1696)], thanks \[[@​paztis](https://togithub.com/paztis)]) - \[`extensions`]/\[`no-cycle`]/\[`no-extraneous-dependencies`]: Correct module real path resolution (\[[#​1696](https://togithub.com/benmosher/eslint-plugin-import/issues/1696)], thanks \[[@​paztis](https://togithub.com/paztis)]) - \[`no-named-default`]: ignore Flow import type and typeof (\[[#​1983](https://togithub.com/benmosher/eslint-plugin-import/issues/1983)], thanks \[[@​christianvuerings](https://togithub.com/christianvuerings)]) - \[`no-extraneous-dependencies`]: Exclude flow `typeof` imports (\[[#​1534](https://togithub.com/benmosher/eslint-plugin-import/issues/1534)], thanks \[[@​devongovett](https://togithub.com/devongovett)]) - \[`newline-after-import`]: respect decorator annotations (\[[#​1985](https://togithub.com/benmosher/eslint-plugin-import/issues/1985)], thanks \[[@​lilling](https://togithub.com/lilling)]) - \[`no-restricted-paths`]: enhance performance for zones with `except` paths (\[[#​2022](https://togithub.com/benmosher/eslint-plugin-import/issues/2022)], thanks \[[@​malykhinvi](https://togithub.com/malykhinvi)]) - \[`no-unresolved`]: check import() (\[[#​2026](https://togithub.com/benmosher/eslint-plugin-import/issues/2026)], thanks \[[@​aladdin-add](https://togithub.com/aladdin-add)]) ##### Changed - \[Generic Import Callback] Make callback for all imports once in rules (\[[#​1237](https://togithub.com/benmosher/eslint-plugin-import/issues/1237)], thanks \[[@​ljqx](https://togithub.com/ljqx)]) - \[Docs] \[`no-named-as-default`]: add semicolon (\[[#​1897](https://togithub.com/benmosher/eslint-plugin-import/issues/1897)], thanks \[[@​bicstone](https://togithub.com/bicstone)]) - \[Docs] `no-extraneous-dependencies`: correct peerDependencies option default to `true` (\[[#​1993](https://togithub.com/benmosher/eslint-plugin-import/issues/1993)], thanks \[[@​dwardu](https://togithub.com/dwardu)]) - \[Docs] `order`: Document options required to match ordering example (\[[#​1992](https://togithub.com/benmosher/eslint-plugin-import/issues/1992)], thanks \[[@​silviogutierrez](https://togithub.com/silviogutierrez)]) - \[Tests] `no-unresolved`: add tests for `import()` (\[[#​2012](https://togithub.com/benmosher/eslint-plugin-import/issues/2012)], thanks \[[@​davidbonnet](https://togithub.com/davidbonnet)]) - \[Docs] Add import/recommended ruleset to README (\[[#​2034](https://togithub.com/benmosher/eslint-plugin-import/issues/2034)], thanks \[[@​edemaine](https://togithub.com/edemaine)])

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

codecov[bot] commented 3 years ago

Codecov Report

Merging #287 (acf9c18) into master (6e2e4ec) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #287   +/-   ##
=======================================
  Coverage   71.71%   71.71%           
=======================================
  Files           1        1           
  Lines         152      152           
=======================================
  Hits          109      109           
  Misses         43       43           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6e2e4ec...acf9c18. Read the comment docs.

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 63.37% when pulling acf9c18f16d12f8d2eb41eadefc8d53250e23009 on renovate/eslint-plugin-import-2.x into 6e2e4ec84148f9f35d82b5532ab25a11140376fc on master.