Skip to content

BREAKING: Replace eslint-plugin-import with eslint-plugin-import-x#366

Merged
Mrtenz merged 1 commit intomainfrom
mrtenz/revert-revert-eslint-plugin-import-x
Aug 16, 2024
Merged

BREAKING: Replace eslint-plugin-import with eslint-plugin-import-x#366
Mrtenz merged 1 commit intomainfrom
mrtenz/revert-revert-eslint-plugin-import-x

Conversation

@Mrtenz
Copy link
Copy Markdown
Member

@Mrtenz Mrtenz commented Aug 16, 2024

This reintroduces #356 after reverting.

#356)

* Replace `eslint-plugin-import` with `eslint-plugin-import-x`

* Update READMEs

* Fix local ESLint config

* Update lockfile
@Mrtenz Mrtenz requested review from a team as code owners August 16, 2024 16:38
@socket-security
Copy link
Copy Markdown

socket-security bot commented Aug 16, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@typescript-eslint/scope-manager@7.12.0 None 0 613 kB jameshenry
npm/@typescript-eslint/types@7.12.0 None 0 156 kB jameshenry
npm/@typescript-eslint/typescript-estree@7.12.0 None 0 577 kB jameshenry
npm/@typescript-eslint/utils@7.12.0 None 0 332 kB jameshenry
npm/@typescript-eslint/visitor-keys@7.12.0 None 0 19.4 kB jameshenry
npm/doctrine@3.0.0 None 0 106 kB eslint
npm/eslint-import-resolver-node@0.3.9 None 0 5.29 kB ljharb
npm/eslint-plugin-import-x@0.5.1 None 0 631 kB jounqin
npm/get-tsconfig@4.7.5 filesystem, unsafe 0 101 kB hirokiosame
npm/json5@2.2.3 None 0 235 kB jordanbtucker
npm/strip-bom@4.0.0 None 0 3.91 kB sindresorhus
npm/tslib@2.6.2 None 0 84 kB typescript-bot

🚮 Removed packages: npm/@types/json-schema@7.0.15, npm/@types/semver@7.5.8, npm/@typescript-eslint/scope-manager@5.42.1, npm/@typescript-eslint/types@5.42.1, npm/@typescript-eslint/typescript-estree@5.42.1, npm/@typescript-eslint/utils@5.42.1, npm/@typescript-eslint/visitor-keys@5.42.1, npm/array-buffer-byte-length@1.0.0, npm/array-includes@3.1.6, npm/array.prototype.flat@1.3.1, npm/available-typed-arrays@1.0.5, npm/call-bind@1.0.2, npm/define-properties@1.1.4, npm/es-abstract@1.21.2, npm/es-set-tostringtag@2.0.1, npm/es-shim-unscopables@1.0.0, npm/eslint-import-resolver-node@0.3.7, npm/eslint-module-utils@2.8.0, npm/function.prototype.name@1.1.5, npm/get-intrinsic@1.2.1, npm/get-symbol-description@1.0.0, npm/get-tsconfig@4.7.3, npm/globalthis@1.0.3, npm/has-property-descriptors@1.0.0, npm/has-proto@1.0.1, npm/has-tostringtag@1.0.0, npm/has@1.0.3, npm/internal-slot@1.0.5, npm/is-array-buffer@3.0.2, npm/is-date-object@1.0.2, npm/is-negative-zero@2.0.2, npm/is-shared-array-buffer@1.0.2, npm/is-typed-array@1.1.10, npm/minimist@1.2.6, npm/object-inspect@1.12.3, npm/object.assign@4.1.4, npm/object.values@1.1.6, npm/regexp.prototype.flags@1.4.3, npm/safe-regex-test@1.0.0, npm/side-channel@1.0.4, npm/string.prototype.trim@1.2.7, npm/string.prototype.trimend@1.0.6, npm/string.prototype.trimstart@1.0.6, npm/tsconfig-paths@3.14.1, npm/tslib@1.10.0, npm/tsutils@3.21.0, npm/typed-array-length@1.0.4, npm/which-typed-array@1.1.9

View full report↗︎

Copy link
Copy Markdown
Member

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@socket-security
Copy link
Copy Markdown

socket-security bot commented Aug 16, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring: npm/debug@2.6.9

View full report↗︎

Next steps

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

@rekmarks
Copy link
Copy Markdown
Member

@SocketSecurity ignore npm/debug@2.6.9

This 7-year old version of a venerable package is of no concern to us.

@Mrtenz Mrtenz merged commit 96f5da2 into main Aug 16, 2024
@Mrtenz Mrtenz deleted the mrtenz/revert-revert-eslint-plugin-import-x branch August 16, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants