chips-blockchain / pangea-poker

This is the reference GUI for Pangea Poker, blackchain based decentralised game.
https://chips.cash/
25 stars 16 forks source link

Update dependency eslint-plugin-import to v2.24.2 #479

Closed renovate[bot] closed 2 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.24.2 age adoption passing confidence

Release Notes

import-js/eslint-plugin-import ### [`v2.24.2`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#​2242---2021-08-24) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.24.1...v2.24.2) ##### Fixed - \[`named`], \[`namespace`]: properly handle ExportAllDeclarations (\[[#​2199](https://togithub.com/import-js/eslint-plugin-import/issues/2199)], thanks \[[@​ljharb](https://togithub.com/ljharb)]) ### [`v2.24.1`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#​2241---2021-08-19) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.24.0...v2.24.1) ##### Fixed - `ExportMap`: Add default export when esModuleInterop is true and anything is exported (\[[#​2184](https://togithub.com/import-js/eslint-plugin-import/issues/2184)], thanks \[[@​Maxim-Mazurok](https://togithub.com/Maxim-Mazurok)]) - \[`named`], \[`namespace`]: properly set reexports on `export * as … from` (\[[#​1998](https://togithub.com/import-js/eslint-plugin-import/issues/1998)], \[[#​2161](https://togithub.com/import-js/eslint-plugin-import/issues/2161)], thanks \[[@​ljharb](https://togithub.com/ljharb)]) - \[`no-duplicates`]: correctly handle case of mixed default/named type imports (\[[#​2149](https://togithub.com/import-js/eslint-plugin-import/issues/2149)], thanks \[[@​GoodForOneFare](https://togithub.com/GoodForOneFare)], \[[@​nwalters512](https://togithub.com/nwalters512)]) - \[`no-duplicates`]: avoid crash with empty `import type {}` (\[[#​2201](https://togithub.com/import-js/eslint-plugin-import/issues/2201)], thanks \[[@​ljharb](https://togithub.com/ljharb)]) ##### Changed - \[Docs] `max-dependencies`: 📖 Document `ignoreTypeImports` option (\[[#​2196](https://togithub.com/import-js/eslint-plugin-import/issues/2196)], thanks \[[@​himynameisdave](https://togithub.com/himynameisdave)]) ### [`v2.24.0`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#​2240---2021-08-08) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.23.4...v2.24.0) ##### Added - \[`no-dynamic-require`]: add option `esmodule` (\[[#​1223](https://togithub.com/import-js/eslint-plugin-import/issues/1223)], thanks \[[@​vikr01](https://togithub.com/vikr01)]) - \[`named`]: add `commonjs` option (\[[#​1222](https://togithub.com/import-js/eslint-plugin-import/issues/1222)], thanks \[[@​vikr01](https://togithub.com/vikr01)]) - \[`no-namespace`]: Add `ignore` option (\[[#​2112](https://togithub.com/import-js/eslint-plugin-import/issues/2112)], thanks \[[@​aberezkin](https://togithub.com/aberezkin)]) - \[`max-dependencies`]: add option `ignoreTypeImports` (\[[#​1847](https://togithub.com/import-js/eslint-plugin-import/issues/1847)], thanks \[[@​rfermann](https://togithub.com/rfermann)]) ##### Fixed - \[`no-duplicates`]: ensure autofix avoids excessive newlines (\[[#​2028](https://togithub.com/import-js/eslint-plugin-import/issues/2028)], thanks \[[@​ertrzyiks](https://togithub.com/ertrzyiks)]) - \[`extensions`]: avoid crashing on partially typed import/export statements (\[[#​2118](https://togithub.com/import-js/eslint-plugin-import/issues/2118)], thanks \[[@​ljharb](https://togithub.com/ljharb)]) - \[`no-extraneous-dependencies`]: add ESM intermediate package.json support (\[[#​2121](https://togithub.com/import-js/eslint-plugin-import/issues/2121)], thanks \[[@​paztis](https://togithub.com/paztis)]) - Use `context.getPhysicalFilename()` when available (ESLint 7.28+) (\[[#​2160](https://togithub.com/import-js/eslint-plugin-import/issues/2160)], thanks \[[@​pmcelhaney](https://togithub.com/pmcelhaney)]) - \[`extensions`]/`importType`: fix isScoped treating @​/abc as scoped module (\[[#​2146](https://togithub.com/import-js/eslint-plugin-import/issues/2146)], thanks \[[@​rperello](https://togithub.com/rperello)]) ##### Changed - \[Docs] \[`extensions`]: improved cases for using `@/...` (\[[#​2140](https://togithub.com/import-js/eslint-plugin-import/issues/2140)], thanks \[[@​wenfangdu](https://togithub.com/wenfangdu)]) - \[Docs] \[`extensions`]: removed incorrect cases (\[[#​2138](https://togithub.com/import-js/eslint-plugin-import/issues/2138)], thanks \[[@​wenfangdu](https://togithub.com/wenfangdu)]) - \[Tests] \[`order`]: add tests for `pathGroupsExcludedImportTypes: ['type']` (\[[#​2158](https://togithub.com/import-js/eslint-plugin-import/issues/2158)], thanks \[[@​atav32](https://togithub.com/atav32)]) - \[Docs] \[`order`]: improve the documentation for the `pathGroupsExcludedImportTypes` option (\[[#​2156](https://togithub.com/import-js/eslint-plugin-import/issues/2156)], thanks \[[@​liby](https://togithub.com/liby)]) - \[Tests] \[`no-cycle`]: Restructure test files (\[[#​1517](https://togithub.com/import-js/eslint-plugin-import/issues/1517)], thanks \[[@​soryy708](https://togithub.com/soryy708)]) - \[Docs] add description how to use plugin with yarn berry (\[[#​2179](https://togithub.com/import-js/eslint-plugin-import/issues/2179)], thanks \[[@​KostyaZgara](https://togithub.com/KostyaZgara)]) ### [`v2.23.4`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#​2234---2021-05-29) [Compare Source](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/2099)], thanks \[[@​eps1lon](https://togithub.com/eps1lon)]) - \[`no-extraneous-dependencies`]: fix package name algorithm (\[[#​2097](https://togithub.com/import-js/eslint-plugin-import/issues/2097)], thanks \[[@​paztis](https://togithub.com/paztis)]) ### [`v2.23.3`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#​2233---2021-05-21) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.23.2...v2.23.3) ##### Fixed - \[`no-restricted-paths`]: fix false positive matches (\[[#​2090](https://togithub.com/import-js/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/import-js/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/import-js/eslint-plugin-import/issues/2083)], thanks \[[@​cherryblossom000](https://togithub.com/cherryblossom000)]) - \[`order`]: restore default behavior unless `type` is in groups (\[[#​2087](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/2075)], thanks \[[@​arvigeus](https://togithub.com/arvigeus)]) ### [`v2.23.2`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#​2232---2021-05-15) [Compare Source](https://togithub.com/import-js/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/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#​2231---2021-05-14) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.23.0...v2.23.1) ##### Fixed - \[`newline-after-import`]: fix crash with `export {}` syntax (\[[#​2063](https://togithub.com/import-js/eslint-plugin-import/issues/2063)], \[[#​2056](https://togithub.com/import-js/eslint-plugin-import/issues/2056)], thanks \[[@​ljharb](https://togithub.com/ljharb)]) - `ExportMap`: do not crash when tsconfig lacks `.compilerOptions` (\[[#​2067](https://togithub.com/import-js/eslint-plugin-import/issues/2067)], thanks \[[@​ljharb](https://togithub.com/ljharb)]) - \[`order`]: fix alphabetical sorting (\[[#​2071](https://togithub.com/import-js/eslint-plugin-import/issues/2071)], thanks \[[@​grit96](https://togithub.com/grit96)]) ### [`v2.23.0`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#​2230---2021-05-13) [Compare Source](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1958)], thanks \[[@​FloEdelmann](https://togithub.com/FloEdelmann)]) - \[`no-internal-modules`]: Add `forbid` option (\[[#​1846](https://togithub.com/import-js/eslint-plugin-import/issues/1846)], thanks \[[@​guillaumewuip](https://togithub.com/guillaumewuip)]) - add \[`no-relative-packages`] (\[[#​1860](https://togithub.com/import-js/eslint-plugin-import/issues/1860)], \[[#​966](https://togithub.com/import-js/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/import-js/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/import-js/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/import-js/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/import-js/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/import-js/eslint-plugin-import/issues/1889)], thanks \[[@​andreubotella](https://togithub.com/andreubotella)]) - \[`order`]: ignore non-module-level requires (\[[#​1940](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1947)], thanks \[[@​leonardodino](https://togithub.com/leonardodino)]) - \[`no-extraneous-dependencies`]: Add package.json cache (\[[#​1948](https://togithub.com/import-js/eslint-plugin-import/issues/1948)], thanks \[[@​fa93hws](https://togithub.com/fa93hws)]) - \[`prefer-default-export`]: handle empty array destructuring (\[[#​1965](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1924)) (\[[#​1974](https://togithub.com/import-js/eslint-plugin-import/issues/1974)], thanks \[[@​cherryblossom000](https://togithub.com/cherryblossom000)]) - \[`no-cycle`]: fix perf regression (\[[#​1944](https://togithub.com/import-js/eslint-plugin-import/issues/1944)], thanks \[[@​Blasz](https://togithub.com/Blasz)]) - \[`first`]: fix handling of `import = require` (\[[#​1963](https://togithub.com/import-js/eslint-plugin-import/issues/1963)], thanks \[[@​MatthiasKunnen](https://togithub.com/MatthiasKunnen)]) - \[`no-cycle`]/\[`extensions`]: fix isExternalModule usage (\[[#​1696](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1696)], thanks \[[@​paztis](https://togithub.com/paztis)]) - \[`no-named-default`]: ignore Flow import type and typeof (\[[#​1983](https://togithub.com/import-js/eslint-plugin-import/issues/1983)], thanks \[[@​christianvuerings](https://togithub.com/christianvuerings)]) - \[`no-extraneous-dependencies`]: Exclude flow `typeof` imports (\[[#​1534](https://togithub.com/import-js/eslint-plugin-import/issues/1534)], thanks \[[@​devongovett](https://togithub.com/devongovett)]) - \[`newline-after-import`]: respect decorator annotations (\[[#​1985](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/2022)], thanks \[[@​malykhinvi](https://togithub.com/malykhinvi)]) - \[`no-unresolved`]: check import() (\[[#​2026](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1237)], thanks \[[@​ljqx](https://togithub.com/ljqx)]) - \[Docs] \[`no-named-as-default`]: add semicolon (\[[#​1897](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1993)], thanks \[[@​dwardu](https://togithub.com/dwardu)]) - \[Docs] `order`: Document options required to match ordering example (\[[#​1992](https://togithub.com/import-js/eslint-plugin-import/issues/1992)], thanks \[[@​silviogutierrez](https://togithub.com/silviogutierrez)]) - \[Tests] `no-unresolved`: add tests for `import()` (\[[#​2012](https://togithub.com/import-js/eslint-plugin-import/issues/2012)], thanks \[[@​davidbonnet](https://togithub.com/davidbonnet)]) - \[Docs] Add import/recommended ruleset to README (\[[#​2034](https://togithub.com/import-js/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.