Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/unsupported-features/node-builtins-modules/crypto.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const crypto = {
getFips: { [READ]: { supported: ["10.0.0"] } },
getHashes: { [READ]: { supported: ["0.9.3"] } },
getRandomValues: { [READ]: { supported: ["17.4.0"] } },
hash: { [READ]: { supported: ["20.12.0", "21.7.0"] } },
hkdf: { [READ]: { supported: ["15.0.0"] } },
hkdfSync: { [READ]: { supported: ["15.0.0"] } },
pbkdf2: { [READ]: { supported: ["0.5.5"] } },
Expand Down
1 change: 1 addition & 0 deletions lib/unsupported-features/node-builtins-modules/http2.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const http2 = {
getDefaultSettings: { [READ]: { supported: ["8.4.0"] } },
getPackedSettings: { [READ]: { supported: ["8.4.0"] } },
getUnpackedSettings: { [READ]: { supported: ["8.4.0"] } },
performServerHandshake: { [READ]: { supported: ["20.12.0", "21.7.0"] } },
Http2Session: { [READ]: { supported: ["8.4.0"] } },
ServerHttp2Session: { [READ]: { supported: ["8.4.0"] } },
ClientHttp2Session: { [READ]: { supported: ["8.4.0"] } },
Expand Down
1 change: 1 addition & 0 deletions lib/unsupported-features/node-builtins-modules/process.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ const process = {
},
initgroups: { [READ]: { supported: ["0.9.4"] } },
kill: { [READ]: { supported: ["0.0.6"] } },
loadEnvFile: { [READ]: { supported: ["20.12.0", "21.7.0"] } },
memoryUsage: { [READ]: { supported: ["0.1.16"] } },
rss: { [READ]: { supported: ["15.6.0", "14.18.0"] } },
nextTick: { [READ]: { supported: ["0.1.26"] } },
Expand Down
21 changes: 21 additions & 0 deletions lib/unsupported-features/node-builtins-modules/sea.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
"use strict"

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

/** @type {import('../types.js').SupportVersionTraceMap} */
const test = {
isSea: { [READ]: { supported: ["21.7.0", "20.12.0"] } },
getAsset: { [READ]: { supported: ["21.7.0", "20.12.0"] } },
getAssetAsBlob: { [READ]: { supported: ["21.7.0", "20.12.0"] } },
getRawAsset: { [READ]: { supported: ["21.7.0", "20.12.0"] } },
}

test.test = test

/** @type {import('../types.js').SupportVersionTraceMap} */
module.exports = {
"node:sea": {
[READ]: { experimental: ["21.7.0", "20.12.0"] },
...test,
},
}
2 changes: 2 additions & 0 deletions lib/unsupported-features/node-builtins-modules/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ const util = {
parseArgs: {
[READ]: { experimental: ["18.3.0", "16.17.0"], supported: ["20.0.0"] },
},
parseEnv: { [READ]: { supported: ["20.12.0", "21.7.0"] } },
stripVTControlCharacters: { [READ]: { supported: ["16.11.0"] } },
styleText: { [READ]: { supported: ["20.12.0", "21.7.0"] } },
toUSVString: { [READ]: { supported: ["16.8.0", "14.18.0"] } },
transferableAbortController: { [READ]: { experimental: ["18.11.0"] } },
transferableAbortSignal: { [READ]: { experimental: ["18.11.0"] } },
Expand Down
1 change: 1 addition & 0 deletions lib/unsupported-features/node-builtins-modules/vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const { READ } = require("@eslint-community/eslint-utils")

/** @type {import('../types.js').SupportVersionTraceMap} */
const vm = {
constants: { [READ]: { supported: ["20.12.0", "21.7.0"] } },
compileFunction: { [READ]: { supported: ["10.10.0"] } },
createContext: { [READ]: { supported: ["0.3.1"] } },
isContext: { [READ]: { supported: ["0.11.7"] } },
Expand Down
1 change: 1 addition & 0 deletions lib/unsupported-features/node-builtins.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const NodeBuiltinModules = {
...require("./node-builtins-modules/punycode.js"),
...require("./node-builtins-modules/querystring.js"),
...require("./node-builtins-modules/readline.js"),
...require("./node-builtins-modules/sea.js"),
...require("./node-builtins-modules/stream.js"),
...require("./node-builtins-modules/string_decoder.js"),
...require("./node-builtins-modules/test.js"),
Expand Down