chore(deps): update dependency rome to v12.1.3 #318

Open
renovate[bot] wants to merge 1 commit from renovate/rome-12.x-lockfile into main
renovate[bot] commented 2023-05-13 13:41:57 +00:00 (Migrated from github.com)

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rome (source) 12.0.0 -> 12.1.3 age adoption passing confidence

Release Notes

rome/tools (rome)

v12.1.3

CLI
Other changes
  • rome lsp-proxy should accept the global CLI options #​4505
  • Enhance help descriptions
  • Accept the environment variable 'ROME_BINARY' to override the Rome binary
Configuration
Other changes
  • Fix an issue where all the nursery were enabled when the "nursery": {} object
    was defined #​4479
Formatter
Linter
Other changes
Parser
Other changes

v12.1.2

Configuration
Other changes
  • Fix regression where a specific combination of configuration didn't load
    the correct rules to apply #​4502
Linter
New rules
Other changes

v12.1.1

CLI
Other changes
  • Fix regression where the command lsp-proxy was renamed lsp_proxy #​4489
Configuration
Other changes
  • Fix an issue where Rome was loading incorrectly recommended rule #​4479 #​4488
Linter
Other changes
  • Fix an issue where the noAssignInExpressions rule replaced the operator with an invalid token, which caused other lint rules to crash. #​4464
  • Fix an issue that noUnusedVariables rule did not correctly detect exports when a variable and an interface had the same name #​4468

v12.1.0

CLI
Other changes
  • Refactored the underling argument parsing logic. Changed the look and feel of the help
    output. #​4405.
  • The command rome check can accept input from stdin.
  • Add the argument --stdin-file-path to use when running rome check via stdin.
  • Add the argument --formatter-enabled to the command rome check to control the formatter via CLI.
  • Add the argument --linter-enabled to the command rome check to control the linter via CLI.
  • Add the argument --organize-imports-enabled to the command rome check to control the import sorting via CLI.
  • Add new command rome migrate the transform the configuration file rome.json
    when there are breaking changes.
Configuration
  • Add vcs property, to opt in the VCS integration:
    • vcs.enabled, to enable or not the integration;
    • vcs.clientKind, the supported clients;
    • vcs.useIgnoreFile, to ignore the files/paths inside the file;
    • vcs.root, an optional path to the root of the VCS;
Editors
Other changes
  • Fix an issue where the VSCode extension duplicates text when using VSCode git utilities #​4338
  • Remove code assists from being added to the code actions when apply fixes;
  • When requesting code actions, ignored files should not throw errors. Fixes #​4434
Formatter
Other changes
  • Fix an issue where formatting of JSX string literals property values were using incorrect quotes #​4054
  • Changed import assertion grammar to the new import attribute assertion
- import "module" assert {}
+ import "module" with {}
  • Fix an issue where JSON formatter does not respect lineWidth for arrays #​4351
  • Add support for decorators
Linter
New rules
Promoted rules

New rules are promoted, please check #​4431 for more details.

Note that, noExtraSemicolons and noExtraLabels are renamed to noExtraSemicolon and noUselessLabel.

Other changes
Parser
Other changes
  • Allow module syntax in cts files
  • Changed import assertion grammar to the new import attribute assertion
- import "module" assert {}
+ import "module" with {}
  • Allow decorators before export and export default. #​4252
  • Add support for Stage 3 decorators
VSCode
  • requireConfiguration is set to true by default

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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.


  • If you want to rebase/retry this PR, check this box

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

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [rome](https://rome.tools) ([source](https://togithub.com/rome/tools/tree/HEAD/npm/rome)) | [`12.0.0` -> `12.1.3`](https://renovatebot.com/diffs/npm/rome/12.0.0/12.1.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/rome/12.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/rome/12.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/rome/12.0.0/12.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/rome/12.0.0/12.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>rome/tools (rome)</summary> ### [`v12.1.3`](https://togithub.com/rome/tools/blob/HEAD/CHANGELOG.md#1213) ##### CLI ##### Other changes - `rome lsp-proxy` should accept the global CLI options [#&#8203;4505](https://togithub.com/rome/tools/issues/4505) - Enhance help descriptions - Accept the environment variable 'ROME_BINARY' to override the Rome binary ##### Configuration ##### Other changes - Fix an issue where all the `nursery` were enabled when the `"nursery": {}` object was defined [#&#8203;4479](https://togithub.com/rome/tools/issues/4479) ##### Formatter ##### Linter ##### Other changes - Fix false positive diagnostics ([#&#8203;4483](https://togithub.com/rome/tools/issues/4483)) that [`useHookAtTopLevel`](https://docs.rome.tools/lint/rules/usehookattoplevel/) caused to returning call expressions of a hook. - Revert [#&#8203;4359](https://togithub.com/rome/tools/issues/4359) ##### Parser ##### Other changes - Revert [#&#8203;4359](https://togithub.com/rome/tools/issues/4359) ### [`v12.1.2`](https://togithub.com/rome/tools/blob/HEAD/CHANGELOG.md#1212) ##### Configuration ##### Other changes - Fix regression where a specific combination of configuration didn't load the correct rules to apply [#&#8203;4502](https://togithub.com/rome/tools/issues/4502) ##### Linter ##### New rules - [`noUselessTypeConstraint`](https://docs.rome.tools/lint/rules/noUselessTypeConstraint/) ##### Other changes - [`noInnerDeclarations`](https://docs.rome.tools/lint/rules/noinnerdeclarations/): allow function declarations in nested block inside an *ES module* [#&#8203;4492](https://togithub.com/rome/tools/issues/4492). - [`noInvalidConstructorSuper`](https://docs.rome.tools/lint/rules/noinvalidconstructorsuper/): recognize `extends` clauses that use static member access such as `extends mod.C` [#&#8203;4499](https://togithub.com/rome/tools/issues/4499) ### [`v12.1.1`](https://togithub.com/rome/tools/blob/HEAD/CHANGELOG.md#1211) ##### CLI ##### Other changes - Fix regression where the command `lsp-proxy` was renamed `lsp_proxy` [#&#8203;4489](https://togithub.com/rome/tools/issues/4489) ##### Configuration ##### Other changes - Fix an issue where Rome was loading incorrectly recommended rule [#&#8203;4479](https://togithub.com/rome/tools/issues/4479) [#&#8203;4488](https://togithub.com/rome/tools/issues/4488) ##### Linter ##### Other changes - Fix an issue where the [`noAssignInExpressions`](https://docs.rome.tools/lint/rules/noassigninexpressions/) rule replaced the operator with an invalid token, which caused other lint rules to crash. [#&#8203;4464](https://togithub.com/rome/tools/issues/4464) - Fix an issue that [`noUnusedVariables`](https://docs.rome.tools/lint/rules/nounusedvariables/) rule did not correctly detect exports when a variable and an `interface` had the same name [#&#8203;4468](https://togithub.com/rome/tools/pull/4468) ### [`v12.1.0`](https://togithub.com/rome/tools/blob/HEAD/CHANGELOG.md#1210) ##### CLI ##### Other changes - Refactored the underling argument parsing logic. Changed the look and feel of the help output. [#&#8203;4405](https://togithub.com/rome/tools/pull/4405). - The command `rome check` can accept input from `stdin`. - Add the argument `--stdin-file-path` to use when running `rome check` via `stdin`. - Add the argument `--formatter-enabled` to the command `rome check` to control the formatter via CLI. - Add the argument `--linter-enabled` to the command `rome check` to control the linter via CLI. - Add the argument `--organize-imports-enabled` to the command `rome check` to control the import sorting via CLI. - Add new command `rome migrate` the transform the configuration file `rome.json` when there are breaking changes. ##### Configuration - Add `vcs` property, to opt in the VCS integration: - `vcs.enabled`, to enable or not the integration; - `vcs.clientKind`, the supported clients; - `vcs.useIgnoreFile`, to ignore the files/paths inside the file; - `vcs.root`, an optional path to the root of the VCS; ##### Editors ##### Other changes - Fix an issue where the VSCode extension duplicates text when using VSCode git utilities [#&#8203;4338](https://togithub.com/rome/tools/issues/4338) - Remove code assists from being added to the code actions when apply fixes; - When requesting code actions, ignored files should not throw errors. Fixes [#&#8203;4434](https://togithub.com/rome/tools/issues/4434) ##### Formatter ##### Other changes - Fix an issue where formatting of JSX string literals property values were using incorrect quotes [#&#8203;4054](https://togithub.com/rome/tools/issues/4054) - Changed import assertion grammar to the new import attribute assertion ```diff - import "module" assert {} + import "module" with {} ``` - Fix an issue where JSON formatter does not respect `lineWidth` for arrays [#&#8203;4351](https://togithub.com/rome/tools/issues/4351) - Add support for decorators ##### Linter ##### New rules - [`noConfusingArrow`](https://docs.rome.tools/lint/rules/noConfusingArrow/) - [`noRedundantRoles`](https://docs.rome.tools/lint/rules/noRedundantRoles/) - [`noNoninteractiveTabindex`](https://docs.rome.tools/lint/rules/noNoninteractiveTabindex/) - [`noAriaUnsupportedElements`](https://docs.rome.tools/lint/rules/noAriaUnsupportedElements/) - [`noConsoleLog`](https://docs.rome.tools/lint/rules/noConsoleLog/) - [`noForEach`](https://docs.rome.tools/lint/rules/noForEach/) - [`useLiteralKeys`](https://docs.rome.tools/lint/rules/useLiteralKeys/) - [`noConstantCondition`](https://docs.rome.tools/lint/rules/noConstantCondition/) - [`useGroupedTypeImport`](https://docs.rome.tools/lint/rules/useGroupedTypeImport/) - [`noUselessConstructor`](https://docs.rome.tools/lint/rules/noUselessConstructor/) - [`useLiteralEnumMembers`](https://docs.rome.tools/lint/rules/useLiteralEnumMembers/) - [`useHeadingContent`](https://docs.rome.tools/lint/rules/useHeadingContent/) - [`noAccumulatingSpread`](https://docs.rome.tools/lint/rules/noAccumulatingSpread/) - [`useSimpleNumberKeys`](https://docs.rome.tools/lint/rules/useSimpleNumberKeys/) ##### Promoted rules New rules are promoted, please check [#&#8203;4431](https://togithub.com/rome/tools/pull/4431) for more details. - [lint/a11y/noNoninteractiveElementToInteractiveRole](https://docs.rome.tools/lint/rules/noNoninteractiveElementToInteractiveRole) - [lint/a11y/noRedundantAlt](https://docs.rome.tools/lint/rules/noRedundantAlt) - [lint/a11y/noSvgWithoutTitle](https://docs.rome.tools/lint/rules/noSvgWithoutTitle) - [lint/a11y/useAriaPropsForRole](https://docs.rome.tools/lint/rules/useAriaPropsForRole) - [lint/a11y/useIframeTitle](https://docs.rome.tools/lint/rules/useIframeTitle) - [lint/a11y/useMediaCaption](https://docs.rome.tools/lint/rules/useMediaCaption) - [lint/a11y/useValidAriaProps](https://docs.rome.tools/lint/rules/useValidAriaProps) - [lint/a11y/useValidLang](https://docs.rome.tools/lint/rules/useValidLang) - [lint/complexity/noExtraSemicolon](https://docs.rome.tools/lint/rules/noExtraSemicolon) - [lint/complexity/noUselessCatch](https://docs.rome.tools/lint/rules/noUselessCatch) - [lint/complexity/noUselessConstructor](https://docs.rome.tools/lint/rules/noUselessConstructor) - [lint/complexity/noUselessLabel](https://docs.rome.tools/lint/rules/noUselessLabel) - [lint/complexity/noUselessRename](https://docs.rome.tools/lint/rules/noUselessRename) - [lint/complexity/noUselessSwitchCase](https://docs.rome.tools/lint/rules/noUselessSwitchCase) - [lint/complexity/noWith](https://docs.rome.tools/lint/rules/noWith) - [lint/correctness/noGlobalObjectCalls](https://docs.rome.tools/lint/rules/noGlobalObjectCalls) - [lint/correctness/noInnerDeclarations](https://docs.rome.tools/lint/rules/noInnerDeclarations) - [lint/correctness/noInvalidConstructorSuper](https://docs.rome.tools/lint/rules/noInvalidConstructorSuper) - [lint/correctness/noSwitchDeclarations](https://docs.rome.tools/lint/rules/noSwitchDeclarations) - [lint/correctness/noUnreachableSuper](https://rome.tools/docs/lint/rules/noUnreachableSuper) - [lint/correctness/noUnsafeOptionalChaining](https://docs.rome.tools/lint/rules/noUnsafeOptionalChaining) - [lint/correctness/noUnusedLabels](https://docs.rome.tools/lint/rules/noUnusedLabels) - [lint/correctness/useYield](https://docs.rome.tools/lint/rules/useYield) - [lint/style/noCommaOperator](https://docs.rome.tools/lint/rules/noCommaOperator) - [lint/style/noInferrableTypes](https://docs.rome.tools/lint/rules/noInferrableTypes) - [lint/style/noNamespace](https://docs.rome.tools/lint/rules/noNamespace) - [lint/style/noParameterAssign](https://docs.rome.tools/lint/rules/noParameterAssign) - [lint/style/noParameterProperties](https://docs.rome.tools/lint/rules/noParameterProperties) - [lint/style/noRestrictedGlobals](https://docs.rome.tools/lint/rules/noRestrictedGlobals) - [lint/suspicious/noAssignInExpressions](https://docs.rome.tools/lint/rules/noAssignInExpressions) - [lint/suspicious/noClassAssign](https://docs.rome.tools/lint/rules/noClassAssign) - [lint/suspicious/noConfusingLabels](https://docs.rome.tools/lint/rules/noConfusingLabels) - [lint/suspicious/noDuplicateCase](https://docs.rome.tools/lint/rules/noDuplicateCase) - [lint/suspicious/noDuplicateClassMembers](https://docs.rome.tools/lint/rules/noDuplicateClassMembers) - [lint/suspicious/noPrototypeBuiltins](https://docs.rome.tools/lint/rules/noPrototypeBuiltins) - [lint/suspicious/noRedeclare](https://docs.rome.tools/lint/rules/noRedeclare) - [lint/suspicious/noSelfCompare](https://docs.rome.tools/lint/rules/noSelfCompare) - [lint/suspicious/useNamespaceKeyword](https://docs.rome.tools/lint/rules/useNamespaceKeyword) Note that, `noExtraSemicolons` and `noExtraLabels` are renamed to [`noExtraSemicolon`](https://docs.rome.tools/lint/rules/noextrasemicolon/) and [`noUselessLabel`](https://docs.rome.tools/lint/rules/nouselesslabel/). ##### Other changes - Code actions are formatted using Rome's formatter. If the formatter is disabled, the code action is not formatted. - Fixed an issue that [`useShorthandArrayType`](https://docs.rome.tools/lint/rules/useShorthandArrayType) rule did not handle nested ReadonlyArray types correctly and erroneously reported TsObjectType [#&#8203;4354](https://togithub.com/rome/tools/issues/4353). - [`noUndeclaredVariables`](https://docs.rome.tools/lint/rules/noUndeclaredVariables) detects globals based on the file type. - Fix an issue when [`noUndeclaredVariables`](https://docs.rome.tools/lint/rules/noundeclaredvariables/) incorrectly identifies `AggregateError` as an undeclared variable. [#&#8203;4365](https://togithub.com/rome/tools/issues/4365) - Fix an issue that `useLiteralKeys` rule doesn't ignore valid uses of square bracket notation. [#&#8203;4370](https://togithub.com/rome/tools/issues/4370) - Fix [#&#8203;4348](https://togithub.com/rome/tools/issues/4348) that caused [`noNonNullAssertion`](https://docs.rome.tools/lint/rules/nononnullassertion/) to emit incorrect code action - Fix [#&#8203;4410](https://togithub.com/rome/tools/issues/4410) that caused [`useButtonType`](https://docs.rome.tools/lint/rules/usebuttontype/) to miss some cases - Fix false positive diagnostics that [`useCamelCase`](https://docs.rome.tools/lint/rules/usecamelcase/) caused to default exported components - Fix false positive diagnostics that [`useCamelCase`](https://docs.rome.tools/lint/rules/usecamelcase/) caused to private class members - Fix false positive diagnostics that [`useHookAtTopLevel`](https://docs.rome.tools/lint/rules/usehookattoplevel/) caused to arrow functions, export default functions and function expressions. - Fix false positive diagnostics that [`useHookAtTopLevel`](https://docs.rome.tools/lint/rules/usehookattoplevel/) caused to `as` or `satisfies` expression. - Fix false positive diagnostics that [`noHeadeScope`](https://docs.rome.tools/lint/rules/noheaderscope/) caused to custom components - Fix false negative diagnostics that [`noNoninteractiveElementToInteractiveRole`](https://docs.rome.tools/lint/rules/nononinteractiveelementtointeractiverole/) and [`noNoninteractiveTabindex`](https://docs.rome.tools/lint/rules/nononinteractivetabindex/) caused to non-interactive elements. ##### Parser ##### Other changes - Allow module syntax in `cts` files - Changed import assertion grammar to the new import attribute assertion ```diff - import "module" assert {} + import "module" with {} ``` - Allow decorators before `export` and `export default`. [#&#8203;4252](https://togithub.com/rome/tools/issues/4252) - Add support for Stage 3 decorators ##### VSCode - `requireConfiguration` is set to `true` by default </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mcataford/packwatch). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43OS4xIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
codecov-commenter commented 2023-05-13 13:44:40 +00:00 (Migrated from github.com)

Codecov Report

Patch and project coverage have no change.

Comparison is base (5486566) 98.95% compared to head (d7db504) 98.95%.

Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #318   +/-   ##
=======================================
  Coverage   98.95%   98.95%           
=======================================
  Files           4        4           
  Lines          96       96           
  Branches       20       20           
=======================================
  Hits           95       95           
  Misses          1        1           

View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

## [Codecov](https://app.codecov.io/gh/mcataford/packwatch/pull/318?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marc+Cataford) Report Patch and project coverage have no change. > Comparison is base [(`5486566`)](https://app.codecov.io/gh/mcataford/packwatch/commit/5486566b597e33883bb3c695eb594f3933b66f3a?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marc+Cataford) 98.95% compared to head [(`d7db504`)](https://app.codecov.io/gh/mcataford/packwatch/pull/318?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marc+Cataford) 98.95%. :exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please [install the Github App Integration](https://github.com/apps/codecov) for your organization. [Read more](https://about.codecov.io/blog/codecov-is-updating-its-github-integration/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marc+Cataford). <details><summary>Additional details and impacted files</summary> ```diff @@ Coverage Diff @@ ## main #318 +/- ## ======================================= Coverage 98.95% 98.95% ======================================= Files 4 4 Lines 96 96 Branches 20 20 ======================================= Hits 95 95 Misses 1 1 ``` </details> [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/mcataford/packwatch/pull/318?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marc+Cataford). :loudspeaker: Do you have feedback about the report comment? [Let us know in this issue](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marc+Cataford).
This repo is archived. You cannot comment on pull requests.
No description provided.