-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionbugESLint is working incorrectlyESLint is working incorrectlycoreRelates to ESLint's core APIs and featuresRelates to ESLint's core APIs and featuresrepro:yesIssues with a reproducible exampleIssues with a reproducible example
Description
Environment
Node version:20.18.3
npm version:11.1.0
Local ESLint version: the latest main branch
Global ESLint version:
Operating System: Ubuntu 22.04
What parser are you using?
Default (Espree)
What did you do?
Configuration
<!-- Paste your configuration here -->
<!-- Paste your code here -->
The eslint/lib/shared/serialization.js module does not properly handle circular references in objects during serialization. This can lead to a maximum call stack size exceeded error when attempting to serialize data structures containing circular references.
What did you expect to happen?
What actually happened?
Link to Minimal Reproducible Example
Participation
- I am willing to submit a pull request for this issue.
Additional comments
No response
Metadata
Metadata
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionbugESLint is working incorrectlyESLint is working incorrectlycoreRelates to ESLint's core APIs and featuresRelates to ESLint's core APIs and featuresrepro:yesIssues with a reproducible exampleIssues with a reproducible example
Type
Projects
Status
Complete