dimaMachina / graphql-eslint

ESLint parser, plugin and set rules for GraphQL (for schema and operations). Easily customizable with custom rules. Integrates with IDEs and modern GraphQL tools.
https://the-guild.dev/graphql/eslint
MIT License
795 stars 103 forks source link

fix(deps): update dependency @babel/code-frame to v7.24.2 #2237

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@babel/code-frame (source) 7.18.6 -> 7.24.2 age adoption passing confidence

Release Notes

babel/babel (@​babel/code-frame) ### [`v7.24.2`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7242-2024-03-19) [Compare Source](https://togithub.com/babel/babel/compare/v7.24.1...v7.24.2) ##### :bug: Bug Fix - `babel-code-frame`, `babel-highlight` - [#​16362](https://togithub.com/babel/babel/pull/16362) Restore previous `FORCE_COLOR=0` behavior ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.24.1`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7241-2024-03-19) [Compare Source](https://togithub.com/babel/babel/compare/v7.23.5...v7.24.1) ##### :bug: Bug Fix - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators` - [#​16350](https://togithub.com/babel/babel/pull/16350) Fix decorated class computed keys ordering ([@​JLHwung](https://togithub.com/JLHwung)) - [#​16344](https://togithub.com/babel/babel/pull/16344) Fix decorated class static field private access ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-proposal-decorators`, `babel-plugin-proposal-json-modules`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-regenerator`, `babel-plugin-transform-runtime`, `babel-preset-env` - [#​16329](https://togithub.com/babel/babel/pull/16329) Respect `moduleName` for `@babel/runtime/regenerator` imports ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-transform-class-properties` - [#​16331](https://togithub.com/babel/babel/pull/16331) Fix decorator memoiser binding kind ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helper-create-class-features-plugin`, `babel-helper-replace-supers`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-class-properties` - [#​16325](https://togithub.com/babel/babel/pull/16325) Fix decorator evaluation private environment ([@​JLHwung](https://togithub.com/JLHwung)) ##### :memo: Documentation - [#​16319](https://togithub.com/babel/babel/pull/16319) Update SECURITY.md ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-code-frame`, `babel-highlight` - [#​16359](https://togithub.com/babel/babel/pull/16359) Replace `chalk` with `picocolors` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-fixtures`, `babel-helpers`, `babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-transform-unicode-sets-regex`, `babel-preset-env`, `babel-preset-flow` - [#​16352](https://togithub.com/babel/babel/pull/16352) Run Babel transform tests on old node if possible ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helpers`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-class-static-block`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-regenerator`, `babel-plugin-transform-runtime`, `babel-preset-env`, `babel-runtime-corejs3`, `babel-runtime`, `babel-standalone` - [#​16323](https://togithub.com/babel/babel/pull/16323) Allow separate helpers to be excluded in Babel 8 ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-module-imports`, `babel-plugin-proposal-import-wasm-source`, `babel-plugin-proposal-json-modules`, `babel-plugin-proposal-record-and-tuple`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx` - [#​16349](https://togithub.com/babel/babel/pull/16349) Support merging imports in import injector ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression`, `babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`, `babel-plugin-bugfix-v8-static-class-fields-redefine-readonly`, `babel-plugin-external-helpers`, `babel-plugin-proposal-async-do-expressions`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-do-expressions`, `babel-plugin-proposal-duplicate-named-capturing-groups-regex`, `babel-plugin-proposal-explicit-resource-management`, `babel-plugin-proposal-export-default-from`, `babel-plugin-proposal-function-bind`, `babel-plugin-proposal-function-sent`, `babel-plugin-proposal-import-attributes-to-assertions`, `babel-plugin-proposal-import-defer`, `babel-plugin-proposal-import-wasm-source`, `babel-plugin-proposal-json-modules`, `babel-plugin-proposal-optional-chaining-assign`, `babel-plugin-proposal-partial-application`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-proposal-record-and-tuple`, `babel-plugin-proposal-regexp-modifiers`, `babel-plugin-proposal-throw-expressions`, `babel-plugin-syntax-async-do-expressions`, `babel-plugin-syntax-decimal`, `babel-plugin-syntax-decorators`, `babel-plugin-syntax-destructuring-private`, `babel-plugin-syntax-do-expressions`, `babel-plugin-syntax-explicit-resource-management`, `babel-plugin-syntax-export-default-from`, `babel-plugin-syntax-flow`, `babel-plugin-syntax-function-bind`, `babel-plugin-syntax-function-sent`, `babel-plugin-syntax-import-assertions`, `babel-plugin-syntax-import-attributes`, `babel-plugin-syntax-import-defer`, `babel-plugin-syntax-import-reflection`, `babel-plugin-syntax-import-source`, `babel-plugin-syntax-jsx`, `babel-plugin-syntax-module-blocks`, `babel-plugin-syntax-optional-chaining-assign`, `babel-plugin-syntax-partial-application`, `babel-plugin-syntax-pipeline-operator`, `babel-plugin-syntax-record-and-tuple`, `babel-plugin-syntax-throw-expressions`, `babel-plugin-syntax-typescript`, `babel-plugin-transform-arrow-functions`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-async-to-generator`, `babel-plugin-transform-block-scoped-functions`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-class-static-block`, `babel-plugin-transform-classes`, `babel-plugin-transform-computed-properties`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-dotall-regex`, `babel-plugin-transform-duplicate-keys`, `babel-plugin-transform-dynamic-import`, `babel-plugin-transform-exponentiation-operator`, `babel-plugin-transform-export-namespace-from`, `babel-plugin-transform-flow-comments`, `babel-plugin-transform-flow-strip-types`, `babel-plugin-transform-for-of`, `babel-plugin-transform-function-name`, `babel-plugin-transform-instanceof`, `babel-plugin-transform-jscript`, `babel-plugin-transform-json-strings`, `babel-plugin-transform-literals`, `babel-plugin-transform-logical-assignment-operators`, `babel-plugin-transform-member-expression-literals`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-modules-umd`, `babel-plugin-transform-new-target`, `babel-plugin-transform-nullish-coalescing-operator`, `babel-plugin-transform-numeric-separator`, `babel-plugin-transform-object-assign`, `babel-plugin-transform-object-rest-spread`, `babel-plugin-transform-object-set-prototype-of-to-assign`, `babel-plugin-transform-object-super`, `babel-plugin-transform-optional-catch-binding`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-parameters`, `babel-plugin-transform-private-methods`, `babel-plugin-transform-private-property-in-object`, `babel-plugin-transform-property-literals`, `babel-plugin-transform-property-mutators`, `babel-plugin-transform-proto-to-assign`, `babel-plugin-transform-react-constant-elements`, `babel-plugin-transform-react-display-name`, `babel-plugin-transform-react-inline-elements`, `babel-plugin-transform-react-jsx-compat`, `babel-plugin-transform-react-jsx-self`, `babel-plugin-transform-react-jsx-source`, `babel-plugin-transform-react-pure-annotations`, `babel-plugin-transform-regenerator`, `babel-plugin-transform-reserved-words`, `babel-plugin-transform-runtime`, `babel-plugin-transform-shorthand-properties`, `babel-plugin-transform-spread`, `babel-plugin-transform-sticky-regex`, `babel-plugin-transform-strict-mode`, `babel-plugin-transform-template-literals`, `babel-plugin-transform-typeof-symbol`, `babel-plugin-transform-typescript`, `babel-plugin-transform-unicode-escapes`, `babel-plugin-transform-unicode-property-regex`, `babel-plugin-transform-unicode-regex`, `babel-plugin-transform-unicode-sets-regex`, `babel-preset-env`, `babel-preset-flow`, `babel-preset-react`, `babel-preset-typescript` - [#​16332](https://togithub.com/babel/babel/pull/16332) Test Babel 7 plugins compatibility with Babel 8 core ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-compat-data`, `babel-plugin-transform-object-rest-spread`, `babel-preset-env` - [#​16318](https://togithub.com/babel/babel/pull/16318) \[babel 8] Fix `@babel/compat-data` package.json ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :microscope: Output optimization - `babel-helper-replace-supers`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-parameters`, `babel-plugin-transform-runtime` - [#​16345](https://togithub.com/babel/babel/pull/16345) Optimize the use of `assertThisInitialized` after `super()` ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes` - [#​16343](https://togithub.com/babel/babel/pull/16343) Use simpler `assertThisInitialized` more often ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-plugin-proposal-decorators`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-object-rest-spread`, `babel-traverse` - [#​16342](https://togithub.com/babel/babel/pull/16342) Consider well-known and registered symbols as literals ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-plugin-external-helpers`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-function-bind`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-flow-comments`, `babel-plugin-transform-flow-strip-types`, `babel-plugin-transform-function-name`, `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-parameters`, `babel-plugin-transform-private-property-in-object`, `babel-plugin-transform-react-jsx`, `babel-plugin-transform-runtime`, `babel-plugin-transform-spread`, `babel-plugin-transform-typescript`, `babel-preset-env` - [#​16326](https://togithub.com/babel/babel/pull/16326) Reduce the use of class names ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.23.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7235-2023-11-29) [Compare Source](https://togithub.com/babel/babel/compare/v7.23.4...v7.23.5) ##### :eyeglasses: Spec Compliance - `babel-plugin-proposal-decorators` - [#​16138](https://togithub.com/babel/babel/pull/16138) Class binding is in TDZ during decorators initialization ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helpers`, `babel-plugin-proposal-decorators` - [#​16132](https://togithub.com/babel/babel/pull/16132) Allow addInitializer in field decorator context ([@​JLHwung](https://togithub.com/JLHwung)) ##### :bug: Bug Fix - `babel-traverse`, `babel-types` - [#​16131](https://togithub.com/babel/babel/pull/16131) Do not remove bindings when removing assignment expression path ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-classes` - [#​16135](https://togithub.com/babel/babel/pull/16135) Require class properties transform when compiling class with private fields ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator` - [#​16122](https://togithub.com/babel/babel/pull/16122) fix: Missing parentheses after line break ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helpers` - [#​16130](https://togithub.com/babel/babel/pull/16130) Fix helpers internal fns names conflict resolution ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-typescript` - [#​16123](https://togithub.com/babel/babel/pull/16123) Simplify class fields injetion after `super()` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-parameters`, `babel-plugin-transform-typescript`, `babel-traverse` - [#​16110](https://togithub.com/babel/babel/pull/16110) fix: Unexpected duplication of comments ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-eslint-plugin` - [#​16023](https://togithub.com/babel/babel/pull/16023) Add `@babel/eslint-plugin/no-undef` to fix `no-undef` with accessor props ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :microscope: Output optimization - `babel-helpers` - [#​16129](https://togithub.com/babel/babel/pull/16129) Optimize `decorator` helper size ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.23.4`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7234-2023-11-20) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.13...v7.23.4) ##### :bug: Bug Fix - `babel-generator` - [#​16104](https://togithub.com/babel/babel/pull/16104) fix: Pure comments missing parentheses ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.22.13`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72213-2023-08-28) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.10...v7.22.13) ##### :house: Internal - `babel-helper-fixtures`, `babel-plugin-proposal-function-bind`, `babel-plugin-transform-modules-commonjs`, `babel-preset-env` - [#​15890](https://togithub.com/babel/babel/pull/15890) Improve helper-fixtures ([@​JLHwung](https://togithub.com/JLHwung)) ##### :leftwards_arrow_with_hook: Revert - `babel-parser` - [#​15901](https://togithub.com/babel/babel/pull/15901) Revert "Do not record trailing comma pos when `maybeAsyncArrow: false`" ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.22.10`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72210-2023-08-07) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.5...v7.22.10) ##### :bug: Bug Fix - `babel-plugin-transform-typescript` - [#​15799](https://togithub.com/babel/babel/pull/15799) \[ts] Strip type-only namespaces ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#​15798](https://togithub.com/babel/babel/pull/15798) \[ts] Fix compiling extended exported nested namespace ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-class-static-block`, `babel-plugin-transform-new-target`, `babel-plugin-transform-private-methods`, `babel-preset-env` - [#​15701](https://togithub.com/babel/babel/pull/15701) Memoize class binding when compiling private methods and static elements ([@​JLHwung](https://togithub.com/JLHwung)) ##### :nail_care: Polish - `babel-cli` - [#​15824](https://togithub.com/babel/babel/pull/15824) Add `meta` object to `@babel/eslint-plugin` ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-traverse`, `babel-types` - [#​15661](https://togithub.com/babel/babel/pull/15661) Improve the type definition of `path.isX` ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-generator`, `babel-types` - [#​15776](https://togithub.com/babel/babel/pull/15776) improve SourceLocation typing ([@​JLHwung](https://togithub.com/JLHwung)) ##### :house: Internal - Other - [#​15818](https://togithub.com/babel/babel/pull/15818) build: generate flow typings in prepublish job ([@​JLHwung](https://togithub.com/JLHwung)) - [#​15777](https://togithub.com/babel/babel/pull/15777) chore: bump dev dependencies and remove .eslintignore ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-cli`, `babel-core`, `babel-generator`, `babel-helper-builder-react-jsx`, `babel-preset-env`, `babel-standalone` - [#​15794](https://togithub.com/babel/babel/pull/15794) Enable `@typescript-eslint/no-redundant-type-constituents` rule ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helper-compilation-targets` - [#​15811](https://togithub.com/babel/babel/pull/15811) Remove `@babel/core` peerDep from `helper-compilation-targets` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#​15793](https://togithub.com/babel/babel/pull/15793) Use const enum in babel-parser ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-transform-runtime`, `babel-traverse`, `babel-types` - [#​15716](https://togithub.com/babel/babel/pull/15716) chore: Use `typescript-eslint@v6` with reworked configs ([@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg)) ##### :microscope: Output optimization - `babel-plugin-transform-block-scoping`, `babel-plugin-transform-parameters`, `babel-plugin-transform-regenerator` - [#​15746](https://togithub.com/babel/babel/pull/15746) Reduce `transform-block-scoping` loops output size ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.22.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7225-2023-06-08) [Compare Source](https://togithub.com/babel/babel/compare/v7.21.4...v7.22.5) ##### :bug: Bug Fix - `babel-preset-env`, `babel-standalone` - [#​15675](https://togithub.com/babel/babel/pull/15675) Fix using `syntax-unicode-sets-regex` in standalone ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-core` - [#​15683](https://togithub.com/babel/babel/pull/15683) Suggest `-transform-` when resolving missing plugins ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.21.4`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7214-2023-03-31) [Compare Source](https://togithub.com/babel/babel/compare/v7.18.6...v7.21.4) ##### :bug: Bug Fix - `babel-core`, `babel-helper-module-imports`, `babel-preset-typescript` - [#​15478](https://togithub.com/babel/babel/pull/15478) Fix support for `import/export` in `.cts` files ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-generator` - [#​15496](https://togithub.com/babel/babel/pull/15496) Fix compact printing of non-null assertion operators ([@​rtsao](https://togithub.com/rtsao)) ##### :nail_care: Polish - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-typescript`, `babel-traverse` - [#​15427](https://togithub.com/babel/babel/pull/15427) Fix moving comments of removed nodes ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - Other - [#​15519](https://togithub.com/babel/babel/pull/15519) Update Prettier integration test ([@​fisker](https://togithub.com/fisker)) - `babel-parser` - [#​15510](https://togithub.com/babel/babel/pull/15510) refactor: introduce `lookaheadInLineCharCode` ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-code-frame`, `babel-highlight` - [#​15499](https://togithub.com/babel/babel/pull/15499) Polish babel-code-frame highlight test ([@​JLHwung](https://togithub.com/JLHwung))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 Mend Renovate. View repository job log here.

changeset-bot[bot] commented 6 months ago

⚠️ No Changeset found

Latest commit: 223b51fb00077dc1ea22cda84f6d4fa1cb18bc11

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

github-actions[bot] commented 6 months ago
### 💻 Website Preview The latest changes are available as preview in: [https://f2e7b38e.graphql-eslint.pages.dev](https://f2e7b38e.graphql-eslint.pages.dev)