Skip to content

Commit

Permalink
chore: drop structuredClone polyfill for v9 (#17915)
Browse files Browse the repository at this point in the history
feat!: drop structuredClone polyfill
  • Loading branch information
bakkot committed Dec 29, 2023
1 parent afc3c03 commit f6f4a45
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions lib/config/flat-config-schema.js
Expand Up @@ -9,11 +9,6 @@
// Requirements
//-----------------------------------------------------------------------------

/*
* Note: This can be removed in ESLint v9 because structuredClone is available globally
* starting in Node.js v17.
*/
const structuredClone = require("@ungap/structured-clone").default;
const { normalizeSeverityToNumber } = require("../shared/severity");

//-----------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -70,7 +70,6 @@
"@humanwhocodes/config-array": "^0.11.13",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
"@ungap/structured-clone": "^1.2.0",
"ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
Expand Down

0 comments on commit f6f4a45

Please sign in to comment.