[Snyk] Upgrade xo from 0.23.0 to 0.37.1 #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade xo from 0.23.0 to 0.37.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version fixes:
SNYK-JS-YARGSPARSER-560381
Why? Proof of Concept exploit, Has a fix available, CVSS 5.6
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: xo
v0.37.0...v0.37.1
New rules
no-unsafe-optional-chaining
no-useless-backreference
default-case-last
no-nonoctal-decimal-escape
unicorn/prefer-array-some
unicorn/prefer-default-parameters
unicorn/no-lonely-if
unicorn/empty-brace-spaces
unicorn/prefer-date-now
@ typescript-eslint/non-nullable-type-assertion-style
@ typescript-eslint/no-confusing-void-expression
Renamed rules
Only affects you if you had any of these rules disabled.
unicorn/no-fn-reference-in-iterator
→unicorn/no-array-callback-reference
unicorn/no-array-instanceof
→unicorn/no-instanceof-array
unicorn/no-reduce
→unicorn/no-array-reduce
unicorn/prefer-dataset
→unicorn/prefer-dom-node-dataset
unicorn/prefer-flat-map
→unicorn/prefer-array-flat-map
unicorn/prefer-replace-all
→unicorn/prefer-string-replace-all
unicorn/prefer-starts-ends-with
→unicorn/prefer-string-starts-ends-with
unicorn/prefer-text-content
→unicorn/prefer-dom-node-text-content
unicorn/prefer-trim-start-end
→unicorn/prefer-string-trim-start-end
unicorn/prefer-event-key
→unicorn/prefer-keyboard-event-key
unicorn/prefer-node-append
→unicorn/prefer-dom-node-append
unicorn/prefer-node-remove
→unicorn/prefer-dom-node-remove
Improvements
err
→error
for variable names d801095v0.36.0...v0.36.1
processor
option bf6eb25v0.35.0...v0.36.0
New rules
@ typescript-eslint/no-unnecessary-type-constraint
@ typescript-eslint/space-infix-ops
Improvements
v0.34.2...v0.35.0
extensions
option (#503) 35e6336v0.34.1...v0.34.2
unicorn/import-style
rule for TypeScript projects 77716e2It wants to use
import path from 'path';
which is not always possible.v0.34.0...v0.34.1
New rules
unicorn/import-style
unicorn/prefer-math-trunc
@ typescript-eslint/consistent-indexed-object-style
@ typescript-eslint/no-duplicate-imports
@ typescript-eslint/comma-dangle
@ typescript-eslint/no-loop-func
@ typescript-eslint/no-implicit-any-catch
Improvements
v0.33.1...v0.34.0
v0.33.0...v0.33.1
New rules
no-unreachable-loop
no-promise-executor-return
no-loss-of-precision
unicorn/prefer-array-find
unicorn/no-object-as-default-parameter
@ typescript-eslint/prefer-literal-enum-member
@ typescript-eslint/no-loss-of-precision
@ typescript-eslint/ban-tslint-comment
Improvements
v0.32.1...v0.33.0
Commit messages
Package name: xo
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs