billmcchesney1 / consensource-ui

Web client to interface with the ConsenSource blockchain
http://consensource.io
0 stars 1 forks source link

chore(deps): update dependency eslint-plugin-import to v2.23.0 - autoclosed #45

Closed mend-for-github-com[bot] closed 2 years ago

mend-for-github-com[bot] commented 2 years ago

This PR contains the following updates:

Package Type Update Change
eslint-plugin-import devDependencies minor 2.22.1 -> 2.23.0

By merging this PR, the below vulnerabilities will be automatically resolved:

Severity CVSS Score CVE
High High 7.5 CVE-2021-23343
Medium Medium 5.3 CVE-2021-23362

Release Notes

import-js/eslint-plugin-import ### [`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)])