Skip to content

Commit

Permalink
feat: Update to node v22.5.0 (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
scagood committed Jul 24, 2024
1 parent f7a74eb commit 2539c9d
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/unsupported-features/node-builtins-modules/path.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const path = {
dirname: { [READ]: { supported: ["0.1.16"] } },
extname: { [READ]: { supported: ["0.1.25"] } },
format: { [READ]: { supported: ["0.11.15"] } },
matchesGlob: { [READ]: { experimental: ["22.5.0"] } },
isAbsolute: { [READ]: { supported: ["0.11.2"] } },
join: { [READ]: { supported: ["0.1.16"] } },
normalize: { [READ]: { supported: ["0.1.23"] } },
Expand Down
5 changes: 5 additions & 0 deletions lib/unsupported-features/node-builtins-modules/process.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ const process = {
execArgv: { [READ]: { supported: ["0.7.7"] } },
execPath: { [READ]: { supported: ["0.1.100"] } },
exitCode: { [READ]: { supported: ["0.11.8"] } },
finalization: {
register: { [READ]: { experimental: ["22.5.0"] } },
registerBeforeExit: { [READ]: { experimental: ["22.5.0"] } },
unregister: { [READ]: { experimental: ["22.5.0"] } },
},
mainModule: {
[READ]: {
supported: ["0.1.17"],
Expand Down
17 changes: 17 additions & 0 deletions lib/unsupported-features/node-builtins-modules/sqlite.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"use strict"

const { READ } = require("@eslint-community/eslint-utils")

/** @type {import('../types.js').SupportVersionTraceMap} */
const sqlite = {
DatabaseSync: { [READ]: { supported: ["22.5.0"] } },
StatementSync: { [READ]: { supported: ["22.5.0"] } },
}

/** @type {import('../types.js').SupportVersionTraceMap} */
module.exports = {
"node:sqlite": {
[READ]: { experimental: ["22.5.0"] },
...sqlite,
},
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const worker_threads = {
markAsUntransferable: { [READ]: { supported: ["14.5.0", "12.19.0"] } },
isMarkedAsUntransferable: { [READ]: { supported: ["21.0.0"] } },
moveMessagePortToContext: { [READ]: { supported: ["11.13.0"] } },
postMessageToThread: { [READ]: { experimental: ["22.5.0"] } },
receiveMessageOnPort: { [READ]: { supported: ["12.3.0"] } },
setEnvironmentData: {
[READ]: {
Expand Down

0 comments on commit 2539c9d

Please sign in to comment.