eslint-plugin-n
Advanced tools
Comparing version 17.0.0-0 to 17.0.0-1
@@ -49,3 +49,2 @@ "use strict" | ||
"no-hide-core-modules": require("./rules/no-hide-core-modules"), | ||
"no-unsupported-features": require("./rules/no-unsupported-features"), | ||
} | ||
@@ -52,0 +51,0 @@ |
@@ -671,4 +671,4 @@ /** | ||
: type === ReferenceTracker.CONSTRUCT | ||
? `new ${baseName}()` | ||
: baseName | ||
? `new ${baseName}()` | ||
: baseName | ||
} | ||
@@ -675,0 +675,0 @@ |
@@ -17,133 +17,603 @@ /** | ||
globals: { | ||
// Core js builtins | ||
AggregateError: { | ||
[READ]: { supported: "15.0.0" }, | ||
[READ]: { supported: ["15.0.0"] }, | ||
}, | ||
Array: { | ||
from: { [READ]: { supported: "4.0.0" } }, | ||
of: { [READ]: { supported: "4.0.0" } }, | ||
[READ]: { supported: ["0.10.0"] }, | ||
from: { [READ]: { supported: ["4.0.0"] } }, | ||
isArray: { [READ]: { supported: ["0.10.0"] } }, | ||
length: { [READ]: { supported: ["0.10.0"] } }, | ||
of: { [READ]: { supported: ["4.0.0"] } }, | ||
toLocaleString: { [READ]: { supported: ["0.10.0"] } }, | ||
}, | ||
ArrayBuffer: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
isView: { [READ]: { supported: ["4.0.0"] } }, | ||
}, | ||
Atomics: { | ||
[READ]: { supported: ["8.10.0"] }, | ||
add: { [READ]: { supported: ["8.10.0"] } }, | ||
and: { [READ]: { supported: ["8.10.0"] } }, | ||
compareExchange: { [READ]: { supported: ["8.10.0"] } }, | ||
exchange: { [READ]: { supported: ["8.10.0"] } }, | ||
isLockFree: { [READ]: { supported: ["8.10.0"] } }, | ||
load: { [READ]: { supported: ["8.10.0"] } }, | ||
notify: { [READ]: { supported: ["8.10.0"] } }, | ||
or: { [READ]: { supported: ["8.10.0"] } }, | ||
store: { [READ]: { supported: ["8.10.0"] } }, | ||
sub: { [READ]: { supported: ["8.10.0"] } }, | ||
wait: { [READ]: { supported: ["8.10.0"] } }, | ||
waitAsync: { [READ]: { supported: ["16.0.0"] } }, | ||
xor: { [READ]: { supported: ["8.10.0"] } }, | ||
}, | ||
BigInt: { | ||
[READ]: { supported: "10.4.0" }, | ||
[READ]: { supported: ["10.4.0"] }, | ||
asIntN: { [READ]: { supported: ["10.4.0"] } }, | ||
asUintN: { [READ]: { supported: ["10.4.0"] } }, | ||
}, | ||
BigInt64Array: { | ||
[READ]: { supported: ["10.4.0"] }, | ||
BYTES_PER_ELEMENT: { [READ]: { supported: ["0.10.0"] } }, | ||
from: { [READ]: { supported: ["4.0.0"] } }, | ||
name: { [READ]: { supported: ["0.10.0"] } }, | ||
of: { [READ]: { supported: ["4.0.0"] } }, | ||
}, | ||
BigUint64Array: { | ||
[READ]: { supported: ["10.4.0"] }, | ||
BYTES_PER_ELEMENT: { [READ]: { supported: ["0.10.0"] } }, | ||
from: { [READ]: { supported: ["4.0.0"] } }, | ||
name: { [READ]: { supported: ["0.10.0"] } }, | ||
of: { [READ]: { supported: ["4.0.0"] } }, | ||
}, | ||
Boolean: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
DataView: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
Date: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
UTC: { [READ]: { supported: ["0.10.0"] } }, | ||
now: { [READ]: { supported: ["0.10.0"] } }, | ||
parse: { [READ]: { supported: ["0.10.0"] } }, | ||
toLocaleDateString: { [READ]: { supported: ["0.10.0"] } }, | ||
toLocaleString: { [READ]: { supported: ["0.10.0"] } }, | ||
toLocaleTimeString: { [READ]: { supported: ["0.10.0"] } }, | ||
}, | ||
Error: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
cause: { [READ]: { supported: ["16.9.0"] } }, | ||
}, | ||
EvalError: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
FinalizationRegistry: { | ||
[READ]: { supported: "14.6.0" }, | ||
[READ]: { supported: ["14.6.0"] }, | ||
}, | ||
Float32Array: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
BYTES_PER_ELEMENT: { [READ]: { supported: ["0.10.0"] } }, | ||
from: { [READ]: { supported: ["4.0.0"] } }, | ||
name: { [READ]: { supported: ["0.10.0"] } }, | ||
of: { [READ]: { supported: ["4.0.0"] } }, | ||
}, | ||
Float64Array: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
BYTES_PER_ELEMENT: { [READ]: { supported: ["0.10.0"] } }, | ||
from: { [READ]: { supported: ["4.0.0"] } }, | ||
name: { [READ]: { supported: ["0.10.0"] } }, | ||
of: { [READ]: { supported: ["4.0.0"] } }, | ||
}, | ||
Function: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
length: { [READ]: { supported: ["0.10.0"] } }, | ||
name: { [READ]: { supported: ["0.10.0"] } }, | ||
}, | ||
Infinity: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
Int16Array: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
BYTES_PER_ELEMENT: { [READ]: { supported: ["0.10.0"] } }, | ||
from: { [READ]: { supported: ["4.0.0"] } }, | ||
name: { [READ]: { supported: ["0.10.0"] } }, | ||
of: { [READ]: { supported: ["4.0.0"] } }, | ||
}, | ||
Int32Array: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
BYTES_PER_ELEMENT: { [READ]: { supported: ["0.10.0"] } }, | ||
from: { [READ]: { supported: ["4.0.0"] } }, | ||
name: { [READ]: { supported: ["0.10.0"] } }, | ||
of: { [READ]: { supported: ["4.0.0"] } }, | ||
}, | ||
Int8Array: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
BYTES_PER_ELEMENT: { [READ]: { supported: ["0.10.0"] } }, | ||
from: { [READ]: { supported: ["4.0.0"] } }, | ||
name: { [READ]: { supported: ["0.10.0"] } }, | ||
of: { [READ]: { supported: ["4.0.0"] } }, | ||
}, | ||
Intl: { | ||
[READ]: { supported: ["0.12.0"] }, | ||
Collator: { [READ]: { supported: ["0.12.0"] } }, | ||
DateTimeFormat: { [READ]: { supported: ["0.12.0"] } }, | ||
DisplayNames: { [READ]: { supported: ["14.0.0"] } }, | ||
ListFormat: { [READ]: { supported: ["12.0.0"] } }, | ||
Locale: { [READ]: { supported: ["12.0.0"] } }, | ||
NumberFormat: { [READ]: { supported: ["0.12.0"] } }, | ||
PluralRules: { [READ]: { supported: ["10.0.0"] } }, | ||
RelativeTimeFormat: { [READ]: { supported: ["12.0.0"] } }, | ||
Segmenter: { [READ]: { supported: ["16.0.0"] } }, | ||
Segments: { [READ]: { supported: ["16.0.0"] } }, | ||
getCanonicalLocales: { [READ]: { supported: ["7.0.0"] } }, | ||
supportedValuesOf: { [READ]: { supported: ["18.0.0"] } }, | ||
}, | ||
JSON: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
parse: { [READ]: { supported: ["0.10.0"] } }, | ||
stringify: { [READ]: { supported: ["0.10.0"] } }, | ||
}, | ||
Map: { | ||
[READ]: { supported: "0.12.0" }, | ||
[READ]: { supported: ["0.12.0"] }, | ||
groupBy: { [READ]: { supported: ["21.0.0"] } }, | ||
}, | ||
Math: { | ||
acosh: { [READ]: { supported: "0.12.0" } }, | ||
asinh: { [READ]: { supported: "0.12.0" } }, | ||
atanh: { [READ]: { supported: "0.12.0" } }, | ||
cbrt: { [READ]: { supported: "0.12.0" } }, | ||
clz32: { [READ]: { supported: "0.12.0" } }, | ||
cosh: { [READ]: { supported: "0.12.0" } }, | ||
expm1: { [READ]: { supported: "0.12.0" } }, | ||
fround: { [READ]: { supported: "0.12.0" } }, | ||
hypot: { [READ]: { supported: "0.12.0" } }, | ||
imul: { [READ]: { supported: "0.12.0" } }, | ||
log10: { [READ]: { supported: "0.12.0" } }, | ||
log1p: { [READ]: { supported: "0.12.0" } }, | ||
log2: { [READ]: { supported: "0.12.0" } }, | ||
sign: { [READ]: { supported: "0.12.0" } }, | ||
sinh: { [READ]: { supported: "0.12.0" } }, | ||
tanh: { [READ]: { supported: "0.12.0" } }, | ||
trunc: { [READ]: { supported: "0.12.0" } }, | ||
[READ]: { supported: ["0.10.0"] }, | ||
E: { [READ]: { supported: ["0.10.0"] } }, | ||
LN10: { [READ]: { supported: ["0.10.0"] } }, | ||
LN2: { [READ]: { supported: ["0.10.0"] } }, | ||
LOG10E: { [READ]: { supported: ["0.10.0"] } }, | ||
LOG2E: { [READ]: { supported: ["0.10.0"] } }, | ||
PI: { [READ]: { supported: ["0.10.0"] } }, | ||
SQRT1_2: { [READ]: { supported: ["0.10.0"] } }, | ||
SQRT2: { [READ]: { supported: ["0.10.0"] } }, | ||
abs: { [READ]: { supported: ["0.10.0"] } }, | ||
acos: { [READ]: { supported: ["0.10.0"] } }, | ||
acosh: { [READ]: { supported: ["0.12.0"] } }, | ||
asin: { [READ]: { supported: ["0.10.0"] } }, | ||
asinh: { [READ]: { supported: ["0.12.0"] } }, | ||
atan: { [READ]: { supported: ["0.10.0"] } }, | ||
atan2: { [READ]: { supported: ["0.10.0"] } }, | ||
atanh: { [READ]: { supported: ["0.12.0"] } }, | ||
cbrt: { [READ]: { supported: ["0.12.0"] } }, | ||
ceil: { [READ]: { supported: ["0.10.0"] } }, | ||
clz32: { [READ]: { supported: ["0.12.0"] } }, | ||
cos: { [READ]: { supported: ["0.10.0"] } }, | ||
cosh: { [READ]: { supported: ["0.12.0"] } }, | ||
exp: { [READ]: { supported: ["0.10.0"] } }, | ||
expm1: { [READ]: { supported: ["0.12.0"] } }, | ||
floor: { [READ]: { supported: ["0.10.0"] } }, | ||
fround: { [READ]: { supported: ["0.12.0"] } }, | ||
hypot: { [READ]: { supported: ["0.12.0"] } }, | ||
imul: { [READ]: { supported: ["0.12.0"] } }, | ||
log: { [READ]: { supported: ["0.10.0"] } }, | ||
log10: { [READ]: { supported: ["0.12.0"] } }, | ||
log1p: { [READ]: { supported: ["0.12.0"] } }, | ||
log2: { [READ]: { supported: ["0.12.0"] } }, | ||
max: { [READ]: { supported: ["0.10.0"] } }, | ||
min: { [READ]: { supported: ["0.10.0"] } }, | ||
pow: { [READ]: { supported: ["0.10.0"] } }, | ||
random: { [READ]: { supported: ["0.10.0"] } }, | ||
round: { [READ]: { supported: ["0.10.0"] } }, | ||
sign: { [READ]: { supported: ["0.12.0"] } }, | ||
sin: { [READ]: { supported: ["0.10.0"] } }, | ||
sinh: { [READ]: { supported: ["0.12.0"] } }, | ||
sqrt: { [READ]: { supported: ["0.10.0"] } }, | ||
tan: { [READ]: { supported: ["0.10.0"] } }, | ||
tanh: { [READ]: { supported: ["0.12.0"] } }, | ||
trunc: { [READ]: { supported: ["0.12.0"] } }, | ||
}, | ||
NaN: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
Number: { | ||
EPSILON: { [READ]: { supported: "0.12.0" } }, | ||
isFinite: { [READ]: { supported: "0.10.0" } }, | ||
isInteger: { [READ]: { supported: "0.12.0" } }, | ||
isNaN: { [READ]: { supported: "0.10.0" } }, | ||
isSafeInteger: { [READ]: { supported: "0.12.0" } }, | ||
MAX_SAFE_INTEGER: { [READ]: { supported: "0.12.0" } }, | ||
MIN_SAFE_INTEGER: { [READ]: { supported: "0.12.0" } }, | ||
parseFloat: { [READ]: { supported: "0.12.0" } }, | ||
parseInt: { [READ]: { supported: "0.12.0" } }, | ||
// [READ]: { supported: [ "0.10.0" ] }, | ||
EPSILON: { [READ]: { supported: ["0.12.0"] } }, | ||
MAX_SAFE_INTEGER: { [READ]: { supported: ["0.12.0"] } }, | ||
MAX_VALUE: { [READ]: { supported: ["0.10.0"] } }, | ||
MIN_SAFE_INTEGER: { [READ]: { supported: ["0.12.0"] } }, | ||
MIN_VALUE: { [READ]: { supported: ["0.10.0"] } }, | ||
NEGATIVE_INFINITY: { [READ]: { supported: ["0.10.0"] } }, | ||
NaN: { [READ]: { supported: ["0.10.0"] } }, | ||
POSITIVE_INFINITY: { [READ]: { supported: ["0.10.0"] } }, | ||
isFinite: { [READ]: { supported: ["0.10.0"] } }, | ||
isInteger: { [READ]: { supported: ["0.12.0"] } }, | ||
isNaN: { [READ]: { supported: ["0.10.0"] } }, | ||
isSafeInteger: { [READ]: { supported: ["0.12.0"] } }, | ||
parseFloat: { [READ]: { supported: ["0.12.0"] } }, | ||
parseInt: { [READ]: { supported: ["0.12.0"] } }, | ||
toLocaleString: { [READ]: { supported: ["0.10.0"] } }, | ||
}, | ||
Object: { | ||
assign: { [READ]: { supported: "4.0.0" } }, | ||
fromEntries: { [READ]: { supported: "12.0.0" } }, | ||
getOwnPropertySymbols: { [READ]: { supported: "0.12.0" } }, | ||
is: { [READ]: { supported: "0.10.0" } }, | ||
setPrototypeOf: { [READ]: { supported: "0.12.0" } }, | ||
values: { [READ]: { supported: "7.0.0" } }, | ||
entries: { [READ]: { supported: "7.0.0" } }, | ||
getOwnPropertyDescriptors: { [READ]: { supported: "7.0.0" } }, | ||
// [READ]: { supported: [ "0.10.0" ] }, | ||
assign: { [READ]: { supported: ["4.0.0"] } }, | ||
create: { [READ]: { supported: ["0.10.0"] } }, | ||
defineGetter: { [READ]: { supported: ["0.10.0"] } }, | ||
defineProperties: { [READ]: { supported: ["0.10.0"] } }, | ||
defineProperty: { [READ]: { supported: ["0.10.0"] } }, | ||
defineSetter: { [READ]: { supported: ["0.10.0"] } }, | ||
entries: { [READ]: { supported: ["7.0.0"] } }, | ||
freeze: { [READ]: { supported: ["0.10.0"] } }, | ||
fromEntries: { [READ]: { supported: ["12.0.0"] } }, | ||
getOwnPropertyDescriptor: { [READ]: { supported: ["0.10.0"] } }, | ||
getOwnPropertyDescriptors: { [READ]: { supported: ["7.0.0"] } }, | ||
getOwnPropertyNames: { [READ]: { supported: ["0.10.0"] } }, | ||
getOwnPropertySymbols: { [READ]: { supported: ["0.12.0"] } }, | ||
getPrototypeOf: { [READ]: { supported: ["0.10.0"] } }, | ||
groupBy: { [READ]: { supported: ["21.0.0"] } }, | ||
hasOwn: { [READ]: { supported: ["16.9.0"] } }, | ||
is: { [READ]: { supported: ["0.10.0"] } }, | ||
isExtensible: { [READ]: { supported: ["0.10.0"] } }, | ||
isFrozen: { [READ]: { supported: ["0.10.0"] } }, | ||
isSealed: { [READ]: { supported: ["0.10.0"] } }, | ||
keys: { [READ]: { supported: ["0.10.0"] } }, | ||
lookupGetter: { [READ]: { supported: ["0.10.0"] } }, | ||
lookupSetter: { [READ]: { supported: ["0.10.0"] } }, | ||
preventExtensions: { [READ]: { supported: ["0.10.0"] } }, | ||
proto: { [READ]: { supported: ["0.10.0"] } }, | ||
seal: { [READ]: { supported: ["0.10.0"] } }, | ||
setPrototypeOf: { [READ]: { supported: ["0.12.0"] } }, | ||
values: { [READ]: { supported: ["7.0.0"] } }, | ||
}, | ||
Promise: { | ||
[READ]: { supported: "0.12.0" }, | ||
allSettled: { [READ]: { supported: "12.9.0" } }, | ||
any: { [READ]: { supported: "15.0.0" } }, | ||
[READ]: { supported: ["0.12.0"] }, | ||
all: { [READ]: { supported: ["0.12.0"] } }, | ||
allSettled: { [READ]: { supported: ["12.9.0"] } }, | ||
any: { [READ]: { supported: ["15.0.0"] } }, | ||
race: { [READ]: { supported: ["0.12.0"] } }, | ||
reject: { [READ]: { supported: ["0.12.0"] } }, | ||
resolve: { [READ]: { supported: ["0.12.0"] } }, | ||
}, | ||
Proxy: { | ||
[READ]: { supported: "6.0.0" }, | ||
[READ]: { supported: ["6.0.0"] }, | ||
revocable: { [READ]: { supported: ["6.0.0"] } }, | ||
}, | ||
RangeError: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
ReferenceError: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
Reflect: { | ||
[READ]: { supported: "6.0.0" }, | ||
[READ]: { supported: ["6.0.0"] }, | ||
apply: { [READ]: { supported: ["6.0.0"] } }, | ||
construct: { [READ]: { supported: ["6.0.0"] } }, | ||
defineProperty: { [READ]: { supported: ["6.0.0"] } }, | ||
deleteProperty: { [READ]: { supported: ["6.0.0"] } }, | ||
get: { [READ]: { supported: ["6.0.0"] } }, | ||
getOwnPropertyDescriptor: { [READ]: { supported: ["6.0.0"] } }, | ||
getPrototypeOf: { [READ]: { supported: ["6.0.0"] } }, | ||
has: { [READ]: { supported: ["6.0.0"] } }, | ||
isExtensible: { [READ]: { supported: ["6.0.0"] } }, | ||
ownKeys: { [READ]: { supported: ["6.0.0"] } }, | ||
preventExtensions: { [READ]: { supported: ["6.0.0"] } }, | ||
set: { [READ]: { supported: ["6.0.0"] } }, | ||
setPrototypeOf: { [READ]: { supported: ["6.0.0"] } }, | ||
}, | ||
RegExp: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
dotAll: { [READ]: { supported: ["8.10.0"] } }, | ||
hasIndices: { [READ]: { supported: ["16.0.0"] } }, | ||
input: { [READ]: { supported: ["0.10.0"] } }, | ||
lastIndex: { [READ]: { supported: ["0.10.0"] } }, | ||
lastMatch: { [READ]: { supported: ["0.10.0"] } }, | ||
lastParen: { [READ]: { supported: ["0.10.0"] } }, | ||
leftContext: { [READ]: { supported: ["0.10.0"] } }, | ||
n: { [READ]: { supported: ["0.10.0"] } }, | ||
rightContext: { [READ]: { supported: ["0.10.0"] } }, | ||
}, | ||
Set: { | ||
[READ]: { supported: "0.12.0" }, | ||
[READ]: { supported: ["0.12.0"] }, | ||
}, | ||
SharedArrayBuffer: { | ||
[READ]: { supported: ["8.10.0"] }, | ||
}, | ||
String: { | ||
fromCodePoint: { [READ]: { supported: "4.0.0" } }, | ||
raw: { [READ]: { supported: "4.0.0" } }, | ||
[READ]: { supported: ["0.10.0"] }, | ||
fromCharCode: { [READ]: { supported: ["0.10.0"] } }, | ||
fromCodePoint: { [READ]: { supported: ["4.0.0"] } }, | ||
length: { [READ]: { supported: ["0.10.0"] } }, | ||
localeCompare: { [READ]: { supported: ["0.10.0"] } }, | ||
raw: { [READ]: { supported: ["4.0.0"] } }, | ||
toLocaleLowerCase: { [READ]: { supported: ["0.10.0"] } }, | ||
toLocaleUpperCase: { [READ]: { supported: ["0.10.0"] } }, | ||
}, | ||
Symbol: { | ||
[READ]: { supported: "0.12.0" }, | ||
[READ]: { supported: ["0.12.0"] }, | ||
asyncIterator: { [READ]: { supported: ["10.0.0"] } }, | ||
for: { [READ]: { supported: ["0.12.0"] } }, | ||
hasInstance: { [READ]: { supported: ["6.5.0"] } }, | ||
isConcatSpreadable: { [READ]: { supported: ["6.0.0"] } }, | ||
iterator: { [READ]: { supported: ["0.12.0"] } }, | ||
keyFor: { [READ]: { supported: ["0.12.0"] } }, | ||
match: { [READ]: { supported: ["6.0.0"] } }, | ||
matchAll: { [READ]: { supported: ["12.0.0"] } }, | ||
replace: { [READ]: { supported: ["6.0.0"] } }, | ||
search: { [READ]: { supported: ["6.0.0"] } }, | ||
species: { [READ]: { supported: ["6.5.0"] } }, | ||
split: { [READ]: { supported: ["6.0.0"] } }, | ||
toPrimitive: { [READ]: { supported: ["6.0.0"] } }, | ||
toStringTag: { [READ]: { supported: ["6.0.0"] } }, | ||
unscopables: { [READ]: { supported: ["0.12.0"] } }, | ||
}, | ||
Int8Array: { | ||
[READ]: { supported: "0.10.0" }, | ||
SyntaxError: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
TypeError: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
URIError: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
Uint16Array: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
BYTES_PER_ELEMENT: { [READ]: { supported: ["0.10.0"] } }, | ||
from: { [READ]: { supported: ["4.0.0"] } }, | ||
name: { [READ]: { supported: ["0.10.0"] } }, | ||
of: { [READ]: { supported: ["4.0.0"] } }, | ||
}, | ||
Uint32Array: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
BYTES_PER_ELEMENT: { [READ]: { supported: ["0.10.0"] } }, | ||
from: { [READ]: { supported: ["4.0.0"] } }, | ||
name: { [READ]: { supported: ["0.10.0"] } }, | ||
of: { [READ]: { supported: ["4.0.0"] } }, | ||
}, | ||
Uint8Array: { | ||
[READ]: { supported: "0.10.0" }, | ||
[READ]: { supported: ["0.10.0"] }, | ||
BYTES_PER_ELEMENT: { [READ]: { supported: ["0.10.0"] } }, | ||
from: { [READ]: { supported: ["4.0.0"] } }, | ||
name: { [READ]: { supported: ["0.10.0"] } }, | ||
of: { [READ]: { supported: ["4.0.0"] } }, | ||
}, | ||
Uint8ClampedArray: { | ||
[READ]: { supported: "0.10.0" }, | ||
[READ]: { supported: ["0.10.0"] }, | ||
BYTES_PER_ELEMENT: { [READ]: { supported: ["0.10.0"] } }, | ||
from: { [READ]: { supported: ["4.0.0"] } }, | ||
name: { [READ]: { supported: ["0.10.0"] } }, | ||
of: { [READ]: { supported: ["4.0.0"] } }, | ||
}, | ||
Int16Array: { | ||
[READ]: { supported: "0.10.0" }, | ||
WeakMap: { | ||
[READ]: { supported: ["0.12.0"] }, | ||
}, | ||
Uint16Array: { | ||
[READ]: { supported: "0.10.0" }, | ||
WeakRef: { | ||
[READ]: { supported: ["14.6.0"] }, | ||
}, | ||
Int32Array: { | ||
[READ]: { supported: "0.10.0" }, | ||
WeakSet: { | ||
[READ]: { supported: ["0.12.0"] }, | ||
}, | ||
Uint32Array: { | ||
[READ]: { supported: "0.10.0" }, | ||
decodeURI: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
BigInt64Array: { | ||
[READ]: { supported: "10.4.0" }, | ||
decodeURIComponent: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
BigUint64Array: { | ||
[READ]: { supported: "10.4.0" }, | ||
encodeURI: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
Float32Array: { | ||
[READ]: { supported: "0.10.0" }, | ||
encodeURIComponent: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
Float64Array: { | ||
[READ]: { supported: "0.10.0" }, | ||
escape: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
DataView: { | ||
[READ]: { supported: "0.10.0" }, | ||
eval: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
WeakMap: { | ||
[READ]: { supported: "0.12.0" }, | ||
globalThis: { | ||
[READ]: { supported: ["12.0.0"] }, | ||
}, | ||
WeakRef: { | ||
[READ]: { supported: "14.6.0" }, | ||
isFinite: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
WeakSet: { | ||
[READ]: { supported: "0.12.0" }, | ||
isNaN: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
Atomics: { | ||
[READ]: { supported: "8.10.0" }, | ||
parseFloat: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
SharedArrayBuffer: { | ||
[READ]: { supported: "8.10.0" }, | ||
parseInt: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
globalThis: { | ||
[READ]: { supported: "12.0.0" }, | ||
unescape: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
// General APIs | ||
AbortController: { | ||
[READ]: { supported: ["15.0.0"] }, | ||
}, | ||
AbortSignal: { | ||
[READ]: { supported: ["15.0.0"] }, | ||
abort: { [READ]: { supported: ["15.12.0"] } }, | ||
any: { [READ]: { supported: ["20.3.0"] } }, | ||
timeout: { [READ]: { supported: ["17.3.0"] } }, | ||
}, | ||
Blob: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
BroadcastChannel: { | ||
[READ]: { supported: ["15.4.0"] }, | ||
}, | ||
ByteLengthQueuingStrategy: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
CompressionStream: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
CountQueuingStrategy: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
Crypto: { | ||
[READ]: { supported: ["19.0.0"] }, | ||
}, | ||
CryptoKey: { | ||
[READ]: { supported: ["15.0.0"] }, | ||
}, | ||
CustomEvent: { | ||
[READ]: { supported: ["19.0.0"] }, | ||
}, | ||
DOMException: { | ||
[READ]: { supported: ["17.0.0"] }, | ||
}, | ||
DecompressionStream: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
Event: { | ||
[READ]: { supported: ["14.5.0"] }, | ||
}, | ||
EventTarget: { | ||
[READ]: { supported: ["14.5.0"] }, | ||
}, | ||
FormData: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
Headers: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
MessageChannel: { | ||
[READ]: { supported: ["15.0.0"] }, | ||
}, | ||
MessageEvent: { | ||
[READ]: { supported: ["15.0.0"] }, | ||
}, | ||
MessagePort: { | ||
[READ]: { supported: ["14.7.0"] }, | ||
}, | ||
Performance: { | ||
[READ]: { supported: ["8.5.0"] }, | ||
}, | ||
PerformanceEntry: { | ||
[READ]: { supported: ["8.5.0"] }, | ||
}, | ||
PerformanceMark: { | ||
[READ]: { supported: ["8.5.0"] }, | ||
}, | ||
PerformanceMeasure: { | ||
[READ]: { supported: ["8.5.0"] }, | ||
}, | ||
PerformanceObserver: { | ||
[READ]: { supported: ["8.5.0"] }, | ||
supportedEntryTypes: { [READ]: { supported: ["8.5.0"] } }, | ||
}, | ||
PerformanceObserverEntryList: { | ||
[READ]: { supported: ["8.5.0"] }, | ||
}, | ||
ReadableByteStreamController: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
ReadableStream: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
from: { [READ]: { supported: ["20.6.0"] } }, | ||
}, | ||
ReadableStreamBYOBReader: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
ReadableStreamBYOBRequest: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
ReadableStreamDefaultController: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
ReadableStreamDefaultReader: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
Request: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
Response: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
SubtleCrypto: { | ||
[READ]: { supported: ["15.0.0"] }, | ||
}, | ||
TextDecoder: { | ||
[READ]: { supported: ["11.0.0"] }, | ||
}, | ||
TextDecoderStream: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
TextEncoder: { | ||
[READ]: { supported: ["11.0.0"] }, | ||
}, | ||
TextEncoderStream: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
TransformStream: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
TransformStreamDefaultController: { | ||
[READ]: { supported: ["16.5.0"] }, | ||
}, | ||
URL: { | ||
[READ]: { supported: ["10.0.0"] }, | ||
canParse: { [READ]: { supported: ["19.9.0"] } }, | ||
createObjectURL: { [READ]: { supported: ["16.7.0"] } }, | ||
revokeObjectURL: { [READ]: { supported: ["16.7.0"] } }, | ||
}, | ||
URLSearchParams: { | ||
[READ]: { supported: ["10.0.0"] }, | ||
}, | ||
Worker: { | ||
[READ]: { supported: ["12.17.0"] }, | ||
}, | ||
WritableStream: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
WritableStreamDefaultController: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
WritableStreamDefaultWriter: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
atob: { | ||
[READ]: { supported: ["16.0.0"] }, | ||
}, | ||
btoa: { | ||
[READ]: { supported: ["16.0.0"] }, | ||
}, | ||
clearInterval: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
clearTimeout: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
console: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
assert: { [READ]: { supported: ["10.0.0"] } }, | ||
clear: { [READ]: { supported: ["8.3.0"] } }, | ||
countReset: { [READ]: { supported: ["8.3.0"] } }, | ||
count: { [READ]: { supported: ["8.3.0"] } }, | ||
debug: { [READ]: { supported: ["8.0.0"] } }, | ||
dir: { [READ]: { supported: ["0.10.0"] } }, | ||
dirxml: { [READ]: { supported: ["9.3.0"] } }, | ||
error: { [READ]: { supported: ["0.10.0"] } }, | ||
groupCollapsed: { [READ]: { supported: ["8.5.0"] } }, | ||
groupEnd: { [READ]: { supported: ["8.5.0"] } }, | ||
group: { [READ]: { supported: ["8.5.0"] } }, | ||
info: { [READ]: { supported: ["0.10.0"] } }, | ||
log: { [READ]: { supported: ["0.10.0"] } }, | ||
table: { [READ]: { supported: ["10.0.0"] } }, | ||
timeEnd: { [READ]: { supported: ["0.10.0"] } }, | ||
timeLog: { [READ]: { supported: ["10.7.0"] } }, | ||
time: { [READ]: { supported: ["0.10.0"] } }, | ||
trace: { [READ]: { supported: ["0.10.0"] } }, | ||
warn: { [READ]: { supported: ["0.10.0"] } }, | ||
}, | ||
fetch: { | ||
[READ]: { supported: ["18.0.0"] }, | ||
}, | ||
queueMicrotask: { | ||
[READ]: { supported: ["11.0.0"] }, | ||
}, | ||
setInterval: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
setTimeout: { | ||
[READ]: { supported: ["0.10.0"] }, | ||
}, | ||
structuredClone: { | ||
[READ]: { supported: ["17.0.0"] }, | ||
}, | ||
}, | ||
@@ -150,0 +620,0 @@ } |
@@ -19,7 +19,7 @@ /** | ||
queueMicrotask: { | ||
[READ]: { supported: "12.0.0", experimental: "11.0.0" }, | ||
[READ]: { supported: ["12.0.0"], experimental: "11.0.0" }, | ||
}, | ||
require: { | ||
resolve: { | ||
paths: { [READ]: { supported: "8.9.0" } }, | ||
paths: { [READ]: { supported: ["8.9.0"] } }, | ||
}, | ||
@@ -31,10 +31,10 @@ }, | ||
strict: { | ||
[READ]: { supported: "9.9.0", backported: ["8.13.0"] }, | ||
doesNotReject: { [READ]: { supported: "10.0.0" } }, | ||
rejects: { [READ]: { supported: "10.0.0" } }, | ||
[READ]: { supported: ["9.9.0", "8.13.0"] }, | ||
doesNotReject: { [READ]: { supported: ["10.0.0"] } }, | ||
rejects: { [READ]: { supported: ["10.0.0"] } }, | ||
}, | ||
deepStrictEqual: { [READ]: { supported: "4.0.0" } }, | ||
doesNotReject: { [READ]: { supported: "10.0.0" } }, | ||
notDeepStrictEqual: { [READ]: { supported: "4.0.0" } }, | ||
rejects: { [READ]: { supported: "10.0.0" } }, | ||
deepStrictEqual: { [READ]: { supported: ["4.0.0"] } }, | ||
doesNotReject: { [READ]: { supported: ["10.0.0"] } }, | ||
notDeepStrictEqual: { [READ]: { supported: ["4.0.0"] } }, | ||
rejects: { [READ]: { supported: ["10.0.0"] } }, | ||
CallTracker: { | ||
@@ -45,6 +45,6 @@ [READ]: { supported: null, experimental: "14.2.0" }, | ||
async_hooks: { | ||
[READ]: { supported: "8.0.0" }, | ||
createHook: { [READ]: { supported: "8.1.0" } }, | ||
[READ]: { supported: ["8.0.0"] }, | ||
createHook: { [READ]: { supported: ["8.1.0"] } }, | ||
AsyncLocalStorage: { | ||
[READ]: { supported: "13.10.0", backported: ["12.17.0"] }, | ||
[READ]: { supported: ["13.10.0", "12.17.0"] }, | ||
}, | ||
@@ -54,74 +54,73 @@ }, | ||
Buffer: { | ||
alloc: { [READ]: { supported: "4.5.0" } }, | ||
allocUnsafe: { [READ]: { supported: "4.5.0" } }, | ||
allocUnsafeSlow: { [READ]: { supported: "4.5.0" } }, | ||
from: { [READ]: { supported: "4.5.0" } }, | ||
alloc: { [READ]: { supported: ["4.5.0"] } }, | ||
allocUnsafe: { [READ]: { supported: ["4.5.0"] } }, | ||
allocUnsafeSlow: { [READ]: { supported: ["4.5.0"] } }, | ||
from: { [READ]: { supported: ["4.5.0"] } }, | ||
}, | ||
kMaxLength: { [READ]: { supported: "3.0.0" } }, | ||
transcode: { [READ]: { supported: "7.1.0" } }, | ||
constants: { [READ]: { supported: "8.2.0" } }, | ||
kMaxLength: { [READ]: { supported: ["3.0.0"] } }, | ||
transcode: { [READ]: { supported: ["7.1.0"] } }, | ||
constants: { [READ]: { supported: ["8.2.0"] } }, | ||
Blob: { [READ]: { supported: null, experimental: "15.7.0" } }, | ||
}, | ||
child_process: { | ||
ChildProcess: { [READ]: { supported: "2.2.0" } }, | ||
ChildProcess: { [READ]: { supported: ["2.2.0"] } }, | ||
}, | ||
console: { | ||
clear: { [READ]: { supported: "8.3.0", backported: ["6.13.0"] } }, | ||
count: { [READ]: { supported: "8.3.0", backported: ["6.13.0"] } }, | ||
clear: { [READ]: { supported: ["8.3.0", "6.13.0"] } }, | ||
count: { [READ]: { supported: ["8.3.0", "6.13.0"] } }, | ||
countReset: { | ||
[READ]: { supported: "8.3.0", backported: ["6.13.0"] }, | ||
[READ]: { supported: ["8.3.0", "6.13.0"] }, | ||
}, | ||
debug: { [READ]: { supported: "8.0.0" } }, | ||
dirxml: { [READ]: { supported: "8.0.0" } }, | ||
group: { [READ]: { supported: "8.5.0" } }, | ||
groupCollapsed: { [READ]: { supported: "8.5.0" } }, | ||
groupEnd: { [READ]: { supported: "8.5.0" } }, | ||
table: { [READ]: { supported: "10.0.0" } }, | ||
markTimeline: { [READ]: { supported: "8.0.0" } }, | ||
profile: { [READ]: { supported: "8.0.0" } }, | ||
profileEnd: { [READ]: { supported: "8.0.0" } }, | ||
timeLog: { [READ]: { supported: "10.7.0" } }, | ||
timeStamp: { [READ]: { supported: "8.0.0" } }, | ||
timeline: { [READ]: { supported: "8.0.0" } }, | ||
timelineEnd: { [READ]: { supported: "8.0.0" } }, | ||
debug: { [READ]: { supported: ["8.0.0"] } }, | ||
dirxml: { [READ]: { supported: ["8.0.0"] } }, | ||
group: { [READ]: { supported: ["8.5.0"] } }, | ||
groupCollapsed: { [READ]: { supported: ["8.5.0"] } }, | ||
groupEnd: { [READ]: { supported: ["8.5.0"] } }, | ||
table: { [READ]: { supported: ["10.0.0"] } }, | ||
markTimeline: { [READ]: { supported: ["8.0.0"] } }, | ||
profile: { [READ]: { supported: ["8.0.0"] } }, | ||
profileEnd: { [READ]: { supported: ["8.0.0"] } }, | ||
timeLog: { [READ]: { supported: ["10.7.0"] } }, | ||
timeStamp: { [READ]: { supported: ["8.0.0"] } }, | ||
timeline: { [READ]: { supported: ["8.0.0"] } }, | ||
timelineEnd: { [READ]: { supported: ["8.0.0"] } }, | ||
}, | ||
crypto: { | ||
Certificate: { | ||
exportChallenge: { [READ]: { supported: "9.0.0" } }, | ||
exportPublicKey: { [READ]: { supported: "9.0.0" } }, | ||
verifySpkac: { [READ]: { supported: "9.0.0" } }, | ||
exportChallenge: { [READ]: { supported: ["9.0.0"] } }, | ||
exportPublicKey: { [READ]: { supported: ["9.0.0"] } }, | ||
verifySpkac: { [READ]: { supported: ["9.0.0"] } }, | ||
}, | ||
ECDH: { [READ]: { supported: "8.8.0", backported: ["6.13.0"] } }, | ||
KeyObject: { [READ]: { supported: "11.6.0" } }, | ||
createPrivateKey: { [READ]: { supported: "11.6.0" } }, | ||
createPublicKey: { [READ]: { supported: "11.6.0" } }, | ||
createSecretKey: { [READ]: { supported: "11.6.0" } }, | ||
constants: { [READ]: { supported: "6.3.0" } }, | ||
fips: { [READ]: { supported: "6.0.0" } }, | ||
generateKeyPair: { [READ]: { supported: "10.12.0" } }, | ||
generateKeyPairSync: { [READ]: { supported: "10.12.0" } }, | ||
getCurves: { [READ]: { supported: "2.3.0" } }, | ||
getFips: { [READ]: { supported: "10.0.0" } }, | ||
privateEncrypt: { [READ]: { supported: "1.1.0" } }, | ||
publicDecrypt: { [READ]: { supported: "1.1.0" } }, | ||
ECDH: { [READ]: { supported: ["8.8.0", "6.13.0"] } }, | ||
KeyObject: { [READ]: { supported: ["11.6.0"] } }, | ||
createPrivateKey: { [READ]: { supported: ["11.6.0"] } }, | ||
createPublicKey: { [READ]: { supported: ["11.6.0"] } }, | ||
createSecretKey: { [READ]: { supported: ["11.6.0"] } }, | ||
constants: { [READ]: { supported: ["6.3.0"] } }, | ||
fips: { [READ]: { supported: ["6.0.0"] } }, | ||
generateKeyPair: { [READ]: { supported: ["10.12.0"] } }, | ||
generateKeyPairSync: { [READ]: { supported: ["10.12.0"] } }, | ||
getCurves: { [READ]: { supported: ["2.3.0"] } }, | ||
getFips: { [READ]: { supported: ["10.0.0"] } }, | ||
privateEncrypt: { [READ]: { supported: ["1.1.0"] } }, | ||
publicDecrypt: { [READ]: { supported: ["1.1.0"] } }, | ||
randomFillSync: { | ||
[READ]: { supported: "7.10.0", backported: ["6.13.0"] }, | ||
[READ]: { supported: ["7.10.0", "6.13.0"] }, | ||
}, | ||
randomFill: { | ||
[READ]: { supported: "7.10.0", backported: ["6.13.0"] }, | ||
[READ]: { supported: ["7.10.0", "6.13.0"] }, | ||
}, | ||
scrypt: { [READ]: { supported: "10.5.0" } }, | ||
scryptSync: { [READ]: { supported: "10.5.0" } }, | ||
setFips: { [READ]: { supported: "10.0.0" } }, | ||
sign: { [READ]: { supported: "12.0.0" } }, | ||
timingSafeEqual: { [READ]: { supported: "6.6.0" } }, | ||
verify: { [READ]: { supported: "12.0.0" } }, | ||
scrypt: { [READ]: { supported: ["10.5.0"] } }, | ||
scryptSync: { [READ]: { supported: ["10.5.0"] } }, | ||
setFips: { [READ]: { supported: ["10.0.0"] } }, | ||
sign: { [READ]: { supported: ["12.0.0"] } }, | ||
timingSafeEqual: { [READ]: { supported: ["6.6.0"] } }, | ||
verify: { [READ]: { supported: ["12.0.0"] } }, | ||
}, | ||
dns: { | ||
Resolver: { [READ]: { supported: "8.3.0" } }, | ||
resolvePtr: { [READ]: { supported: "6.0.0" } }, | ||
Resolver: { [READ]: { supported: ["8.3.0"] } }, | ||
resolvePtr: { [READ]: { supported: ["6.0.0"] } }, | ||
promises: { | ||
[READ]: { | ||
supported: "11.14.0", | ||
backported: ["10.17.0"], | ||
supported: ["11.14.0", "10.17.0"], | ||
experimental: "10.6.0", | ||
@@ -134,63 +133,62 @@ }, | ||
once: { | ||
[READ]: { supported: "11.13.0", backported: ["10.16.0"] }, | ||
[READ]: { supported: ["11.13.0", "10.16.0"] }, | ||
}, | ||
}, | ||
once: { [READ]: { supported: "11.13.0", backported: ["10.16.0"] } }, | ||
once: { [READ]: { supported: ["11.13.0", "10.16.0"] } }, | ||
}, | ||
fs: { | ||
Dirent: { [READ]: { supported: "10.10.0" } }, | ||
copyFile: { [READ]: { supported: "8.5.0" } }, | ||
copyFileSync: { [READ]: { supported: "8.5.0" } }, | ||
mkdtemp: { [READ]: { supported: "5.10.0" } }, | ||
mkdtempSync: { [READ]: { supported: "5.10.0" } }, | ||
Dirent: { [READ]: { supported: ["10.10.0"] } }, | ||
copyFile: { [READ]: { supported: ["8.5.0"] } }, | ||
copyFileSync: { [READ]: { supported: ["8.5.0"] } }, | ||
mkdtemp: { [READ]: { supported: ["5.10.0"] } }, | ||
mkdtempSync: { [READ]: { supported: ["5.10.0"] } }, | ||
realpath: { | ||
native: { [READ]: { supported: "9.2.0" } }, | ||
native: { [READ]: { supported: ["9.2.0"] } }, | ||
}, | ||
realpathSync: { | ||
native: { [READ]: { supported: "9.2.0" } }, | ||
native: { [READ]: { supported: ["9.2.0"] } }, | ||
}, | ||
promises: { | ||
[READ]: { | ||
supported: "11.14.0", | ||
backported: ["10.17.0"], | ||
supported: ["11.14.0", "10.17.0"], | ||
experimental: "10.1.0", | ||
}, | ||
}, | ||
writev: { [READ]: { supported: "12.9.0" } }, | ||
writevSync: { [READ]: { supported: "12.9.0" } }, | ||
writev: { [READ]: { supported: ["12.9.0"] } }, | ||
writevSync: { [READ]: { supported: ["12.9.0"] } }, | ||
readv: { | ||
[READ]: { supported: "13.13.0", backported: ["12.17.0"] }, | ||
[READ]: { supported: ["13.13.0", "12.17.0"] }, | ||
}, | ||
readvSync: { | ||
[READ]: { supported: "13.13.0", backported: ["12.17.0"] }, | ||
[READ]: { supported: ["13.13.0", "12.17.0"] }, | ||
}, | ||
lutimes: { | ||
[READ]: { supported: "14.5.0", backported: ["12.19.0"] }, | ||
[READ]: { supported: ["14.5.0", "12.19.0"] }, | ||
}, | ||
lutimesSync: { | ||
[READ]: { supported: "14.5.0", backported: ["12.19.0"] }, | ||
[READ]: { supported: ["14.5.0", "12.19.0"] }, | ||
}, | ||
opendir: { | ||
[READ]: { supported: "12.12.0" }, | ||
[READ]: { supported: ["12.12.0"] }, | ||
}, | ||
opendirSync: { | ||
[READ]: { supported: "12.12.0" }, | ||
[READ]: { supported: ["12.12.0"] }, | ||
}, | ||
rm: { | ||
[READ]: { supported: "14.14.0" }, | ||
[READ]: { supported: ["14.14.0"] }, | ||
}, | ||
rmSync: { | ||
[READ]: { supported: "14.14.0" }, | ||
[READ]: { supported: ["14.14.0"] }, | ||
}, | ||
read: { | ||
[READ]: { supported: "13.11.0", backported: ["12.17.0"] }, | ||
[READ]: { supported: ["13.11.0", "12.17.0"] }, | ||
}, | ||
readSync: { | ||
[READ]: { supported: "13.11.0", backported: ["12.17.0"] }, | ||
[READ]: { supported: ["13.11.0", "12.17.0"] }, | ||
}, | ||
Dir: { | ||
[READ]: { supported: "12.12.0" }, | ||
[READ]: { supported: ["12.12.0"] }, | ||
}, | ||
StatWatcher: { | ||
[READ]: { supported: "14.3.0", backported: ["12.20.0"] }, | ||
[READ]: { supported: ["14.3.0", "12.20.0"] }, | ||
}, | ||
@@ -200,3 +198,3 @@ }, | ||
[READ]: { | ||
supported: "14.0.0", | ||
supported: ["14.0.0"], | ||
}, | ||
@@ -206,4 +204,3 @@ }, | ||
[READ]: { | ||
supported: "10.10.0", | ||
backported: ["8.13.0"], | ||
supported: ["10.10.0", "8.13.0"], | ||
experimental: "8.4.0", | ||
@@ -219,72 +216,71 @@ }, | ||
[READ]: { | ||
supported: "9.3.0", | ||
backported: ["6.13.0", "8.10.0"], | ||
supported: ["9.3.0", "6.13.0", "8.10.0"], | ||
}, | ||
}, | ||
createRequireFromPath: { [READ]: { supported: "10.12.0" } }, | ||
createRequire: { [READ]: { supported: "12.2.0" } }, | ||
syncBuiltinESMExports: { [READ]: { supported: "12.12.0" } }, | ||
createRequireFromPath: { [READ]: { supported: ["10.12.0"] } }, | ||
createRequire: { [READ]: { supported: ["12.2.0"] } }, | ||
syncBuiltinESMExports: { [READ]: { supported: ["12.12.0"] } }, | ||
}, | ||
builtinModules: { | ||
[READ]: { | ||
supported: "9.3.0", | ||
backported: ["6.13.0", "8.10.0"], | ||
supported: ["9.3.0", "6.13.0", "8.10.0"], | ||
}, | ||
}, | ||
createRequireFromPath: { [READ]: { supported: "10.12.0" } }, | ||
createRequire: { [READ]: { supported: "12.2.0" } }, | ||
syncBuiltinESMExports: { [READ]: { supported: "12.12.0" } }, | ||
createRequireFromPath: { [READ]: { supported: ["10.12.0"] } }, | ||
createRequire: { [READ]: { supported: ["12.2.0"] } }, | ||
syncBuiltinESMExports: { [READ]: { supported: ["12.12.0"] } }, | ||
}, | ||
os: { | ||
constants: { | ||
[READ]: { supported: "6.3.0" }, | ||
priority: { [READ]: { supported: "10.10.0" } }, | ||
[READ]: { supported: ["6.3.0"] }, | ||
priority: { [READ]: { supported: ["10.10.0"] } }, | ||
}, | ||
getPriority: { [READ]: { supported: "10.10.0" } }, | ||
homedir: { [READ]: { supported: "2.3.0" } }, | ||
setPriority: { [READ]: { supported: "10.10.0" } }, | ||
userInfo: { [READ]: { supported: "6.0.0" } }, | ||
getPriority: { [READ]: { supported: ["10.10.0"] } }, | ||
homedir: { [READ]: { supported: ["2.3.0"] } }, | ||
setPriority: { [READ]: { supported: ["10.10.0"] } }, | ||
userInfo: { [READ]: { supported: ["6.0.0"] } }, | ||
}, | ||
path: { | ||
toNamespacedPath: { [READ]: { supported: "9.0.0" } }, | ||
toNamespacedPath: { [READ]: { supported: ["9.0.0"] } }, | ||
}, | ||
perf_hooks: { | ||
[READ]: { supported: "8.5.0" }, | ||
monitorEventLoopDelay: { [READ]: { supported: "11.10.0" } }, | ||
[READ]: { supported: ["8.5.0"] }, | ||
monitorEventLoopDelay: { [READ]: { supported: ["11.10.0"] } }, | ||
}, | ||
process: { | ||
allowedNodeEnvironmentFlags: { [READ]: { supported: "10.10.0" } }, | ||
argv0: { [READ]: { supported: "6.4.0" } }, | ||
channel: { [READ]: { supported: "7.1.0" } }, | ||
cpuUsage: { [READ]: { supported: "6.1.0" } }, | ||
emitWarning: { [READ]: { supported: "6.0.0" } }, | ||
getegid: { [READ]: { supported: "2.0.0" } }, | ||
geteuid: { [READ]: { supported: "2.0.0" } }, | ||
allowedNodeEnvironmentFlags: { [READ]: { supported: ["10.10.0"] } }, | ||
argv0: { [READ]: { supported: ["6.4.0"] } }, | ||
channel: { [READ]: { supported: ["7.1.0"] } }, | ||
cpuUsage: { [READ]: { supported: ["6.1.0"] } }, | ||
emitWarning: { [READ]: { supported: ["6.0.0"] } }, | ||
getegid: { [READ]: { supported: ["2.0.0"] } }, | ||
geteuid: { [READ]: { supported: ["2.0.0"] } }, | ||
hasUncaughtExceptionCaptureCallback: { | ||
[READ]: { supported: "9.3.0" }, | ||
[READ]: { supported: ["9.3.0"] }, | ||
}, | ||
hrtime: { | ||
bigint: { [READ]: { supported: "10.7.0" } }, | ||
bigint: { [READ]: { supported: ["10.7.0"] } }, | ||
}, | ||
ppid: { | ||
[READ]: { | ||
supported: "9.2.0", | ||
backported: ["6.13.0", "8.10.0"], | ||
supported: ["9.2.0", "6.13.0", "8.10.0"], | ||
}, | ||
}, | ||
release: { [READ]: { supported: "3.0.0" } }, | ||
report: { [READ]: { supported: "14.0.0", experimental: "11.8.0" } }, | ||
resourceUsage: { [READ]: { supported: "12.6.0" } }, | ||
setegid: { [READ]: { supported: "2.0.0" } }, | ||
seteuid: { [READ]: { supported: "2.0.0" } }, | ||
release: { [READ]: { supported: ["3.0.0"] } }, | ||
report: { | ||
[READ]: { supported: ["14.0.0"], experimental: "11.8.0" }, | ||
}, | ||
resourceUsage: { [READ]: { supported: ["12.6.0"] } }, | ||
setegid: { [READ]: { supported: ["2.0.0"] } }, | ||
seteuid: { [READ]: { supported: ["2.0.0"] } }, | ||
setUncaughtExceptionCaptureCallback: { | ||
[READ]: { supported: "9.3.0" }, | ||
[READ]: { supported: ["9.3.0"] }, | ||
}, | ||
stdout: { | ||
getColorDepth: { [READ]: { supported: "9.9.0" } }, | ||
hasColor: { [READ]: { supported: "11.13.0" } }, | ||
getColorDepth: { [READ]: { supported: ["9.9.0"] } }, | ||
hasColor: { [READ]: { supported: ["11.13.0"] } }, | ||
}, | ||
stderr: { | ||
getColorDepth: { [READ]: { supported: "9.9.0" } }, | ||
hasColor: { [READ]: { supported: "11.13.0" } }, | ||
getColorDepth: { [READ]: { supported: ["9.9.0"] } }, | ||
hasColor: { [READ]: { supported: ["11.13.0"] } }, | ||
}, | ||
@@ -295,63 +291,63 @@ }, | ||
from: { | ||
[READ]: { supported: "12.3.0", backported: ["10.17.0"] }, | ||
[READ]: { supported: ["12.3.0", "10.17.0"] }, | ||
}, | ||
}, | ||
finished: { [READ]: { supported: "10.0.0" } }, | ||
pipeline: { [READ]: { supported: "10.0.0" } }, | ||
finished: { [READ]: { supported: ["10.0.0"] } }, | ||
pipeline: { [READ]: { supported: ["10.0.0"] } }, | ||
}, | ||
trace_events: { | ||
[READ]: { supported: "10.0.0" }, | ||
[READ]: { supported: ["10.0.0"] }, | ||
}, | ||
url: { | ||
URL: { [READ]: { supported: "7.0.0", backported: ["6.13.0"] } }, | ||
URL: { [READ]: { supported: ["7.0.0", "6.13.0"] } }, | ||
URLSearchParams: { | ||
[READ]: { supported: "7.5.0", backported: ["6.13.0"] }, | ||
[READ]: { supported: ["7.5.0", "6.13.0"] }, | ||
}, | ||
domainToASCII: { [READ]: { supported: "7.4.0" } }, | ||
domainToUnicode: { [READ]: { supported: "7.4.0" } }, | ||
domainToASCII: { [READ]: { supported: ["7.4.0"] } }, | ||
domainToUnicode: { [READ]: { supported: ["7.4.0"] } }, | ||
}, | ||
util: { | ||
callbackify: { [READ]: { supported: "8.2.0" } }, | ||
formatWithOptions: { [READ]: { supported: "10.0.0" } }, | ||
callbackify: { [READ]: { supported: ["8.2.0"] } }, | ||
formatWithOptions: { [READ]: { supported: ["10.0.0"] } }, | ||
getSystemErrorName: { | ||
[READ]: { supported: "9.7.0", backported: ["8.12.0"] }, | ||
[READ]: { supported: ["9.7.0", "8.12.0"] }, | ||
}, | ||
inspect: { | ||
custom: { [READ]: { supported: "6.6.0" } }, | ||
defaultOptions: { [READ]: { supported: "6.4.0" } }, | ||
replDefaults: { [READ]: { supported: "11.12.0" } }, | ||
custom: { [READ]: { supported: ["6.6.0"] } }, | ||
defaultOptions: { [READ]: { supported: ["6.4.0"] } }, | ||
replDefaults: { [READ]: { supported: ["11.12.0"] } }, | ||
}, | ||
isDeepStrictEqual: { [READ]: { supported: "9.0.0" } }, | ||
promisify: { [READ]: { supported: "8.0.0" } }, | ||
isDeepStrictEqual: { [READ]: { supported: ["9.0.0"] } }, | ||
promisify: { [READ]: { supported: ["8.0.0"] } }, | ||
TextDecoder: { | ||
[READ]: { supported: "8.9.0", experimental: "8.3.0" }, | ||
[READ]: { supported: ["8.9.0"], experimental: "8.3.0" }, | ||
}, | ||
TextEncoder: { | ||
[READ]: { supported: "8.9.0", experimental: "8.3.0" }, | ||
[READ]: { supported: ["8.9.0"], experimental: "8.3.0" }, | ||
}, | ||
types: { | ||
[READ]: { supported: "10.0.0" }, | ||
isBoxedPrimitive: { [READ]: { supported: "10.11.0" } }, | ||
[READ]: { supported: ["10.0.0"] }, | ||
isBoxedPrimitive: { [READ]: { supported: ["10.11.0"] } }, | ||
}, | ||
}, | ||
v8: { | ||
[READ]: { supported: "1.0.0" }, | ||
DefaultDeserializer: { [READ]: { supported: "8.0.0" } }, | ||
DefaultSerializer: { [READ]: { supported: "8.0.0" } }, | ||
Deserializer: { [READ]: { supported: "8.0.0" } }, | ||
Serializer: { [READ]: { supported: "8.0.0" } }, | ||
cachedDataVersionTag: { [READ]: { supported: "8.0.0" } }, | ||
deserialize: { [READ]: { supported: "8.0.0" } }, | ||
getHeapCodeStatistics: { [READ]: { supported: "12.8.0" } }, | ||
getHeapSnapshot: { [READ]: { supported: "11.13.0" } }, | ||
getHeapSpaceStatistics: { [READ]: { supported: "6.0.0" } }, | ||
serialize: { [READ]: { supported: "8.0.0" } }, | ||
writeHeapSnapshot: { [READ]: { supported: "11.13.0" } }, | ||
[READ]: { supported: ["1.0.0"] }, | ||
DefaultDeserializer: { [READ]: { supported: ["8.0.0"] } }, | ||
DefaultSerializer: { [READ]: { supported: ["8.0.0"] } }, | ||
Deserializer: { [READ]: { supported: ["8.0.0"] } }, | ||
Serializer: { [READ]: { supported: ["8.0.0"] } }, | ||
cachedDataVersionTag: { [READ]: { supported: ["8.0.0"] } }, | ||
deserialize: { [READ]: { supported: ["8.0.0"] } }, | ||
getHeapCodeStatistics: { [READ]: { supported: ["12.8.0"] } }, | ||
getHeapSnapshot: { [READ]: { supported: ["11.13.0"] } }, | ||
getHeapSpaceStatistics: { [READ]: { supported: ["6.0.0"] } }, | ||
serialize: { [READ]: { supported: ["8.0.0"] } }, | ||
writeHeapSnapshot: { [READ]: { supported: ["11.13.0"] } }, | ||
}, | ||
vm: { | ||
Module: { [READ]: { supported: "9.6.0" } }, | ||
compileFunction: { [READ]: { supported: "10.10.0" } }, | ||
Module: { [READ]: { supported: ["9.6.0"] } }, | ||
compileFunction: { [READ]: { supported: ["10.10.0"] } }, | ||
}, | ||
worker_threads: { | ||
[READ]: { supported: "12.11.0", experimental: "10.5.0" }, | ||
[READ]: { supported: ["12.11.0"], experimental: "10.5.0" }, | ||
}, | ||
@@ -364,15 +360,15 @@ }, | ||
...trackMap.modules.util.TextDecoder, | ||
[READ]: { supported: "11.0.0" }, | ||
[READ]: { supported: ["11.0.0"] }, | ||
}, | ||
TextEncoder: { | ||
...trackMap.modules.util.TextEncoder, | ||
[READ]: { supported: "11.0.0" }, | ||
[READ]: { supported: ["11.0.0"] }, | ||
}, | ||
URL: { | ||
...trackMap.modules.url.URL, | ||
[READ]: { supported: "10.0.0" }, | ||
[READ]: { supported: ["10.0.0"] }, | ||
}, | ||
URLSearchParams: { | ||
...trackMap.modules.url.URLSearchParams, | ||
[READ]: { supported: "10.0.0" }, | ||
[READ]: { supported: ["10.0.0"] }, | ||
}, | ||
@@ -379,0 +375,0 @@ console: trackMap.modules.console, |
@@ -8,4 +8,7 @@ /** | ||
const path = require("path") | ||
const matcher = require("ignore") | ||
const getConvertPath = require("../util/get-convert-path") | ||
const getPackageJson = require("../util/get-package-json") | ||
const getNpmignore = require("../util/get-npmignore") | ||
@@ -70,2 +73,3 @@ const NODE_SHEBANG = "#!/usr/bin/env node\n" | ||
/** @type {import('eslint').Rule.RuleModule} */ | ||
module.exports = { | ||
@@ -84,4 +88,8 @@ meta: { | ||
properties: { | ||
// | ||
convertPath: getConvertPath.schema, | ||
ignoreUnpublished: { type: "boolean" }, | ||
additionalExecutables: { | ||
type: "array", | ||
items: { type: "string" }, | ||
}, | ||
}, | ||
@@ -101,7 +109,6 @@ additionalProperties: false, | ||
const sourceCode = context.sourceCode ?? context.getSourceCode() // TODO: just use context.sourceCode when dropping eslint < v9 | ||
let filePath = context.filename ?? context.getFilename() | ||
const filePath = context.filename ?? context.getFilename() | ||
if (filePath === "<input>") { | ||
return {} | ||
} | ||
filePath = path.resolve(filePath) | ||
@@ -113,15 +120,46 @@ const p = getPackageJson(filePath) | ||
const basedir = path.dirname(p.filePath) | ||
filePath = path.join( | ||
basedir, | ||
getConvertPath(context)( | ||
path.relative(basedir, filePath).replace(/\\/gu, "/") | ||
) | ||
const packageDirectory = path.dirname(p.filePath) | ||
const originalAbsolutePath = path.resolve(filePath) | ||
const originalRelativePath = path | ||
.relative(packageDirectory, originalAbsolutePath) | ||
.replace(/\\/gu, "/") | ||
const convertedRelativePath = | ||
getConvertPath(context)(originalRelativePath) | ||
const convertedAbsolutePath = path.resolve( | ||
packageDirectory, | ||
convertedRelativePath | ||
) | ||
const needsShebang = isBinFile(filePath, p.bin, basedir) | ||
const { additionalExecutables = [] } = context.options?.[0] ?? {} | ||
const executable = matcher() | ||
executable.add(additionalExecutables) | ||
const isExecutable = executable.test(convertedRelativePath) | ||
if ( | ||
(additionalExecutables.length === 0 || | ||
isExecutable.ignored === false) && | ||
context.options?.[0]?.ignoreUnpublished === true | ||
) { | ||
const npmignore = getNpmignore(convertedAbsolutePath) | ||
if (npmignore.match(convertedRelativePath)) { | ||
return {} | ||
} | ||
} | ||
const needsShebang = | ||
isExecutable.ignored === true || | ||
isBinFile(convertedAbsolutePath, p.bin, packageDirectory) | ||
const info = getShebangInfo(sourceCode) | ||
return { | ||
Program(node) { | ||
Program() { | ||
const loc = { | ||
start: { line: 1, column: 0 }, | ||
end: { line: 1, column: sourceCode.lines.at(0).length }, | ||
} | ||
if ( | ||
@@ -136,3 +174,3 @@ needsShebang | ||
context.report({ | ||
node, | ||
loc, | ||
messageId: "unexpectedBOM", | ||
@@ -146,3 +184,3 @@ fix(fixer) { | ||
context.report({ | ||
node, | ||
loc, | ||
messageId: "expectedLF", | ||
@@ -158,3 +196,3 @@ fix(fixer) { | ||
context.report({ | ||
node, | ||
loc, | ||
messageId: "expectedHashbangNode", | ||
@@ -171,3 +209,3 @@ fix(fixer) { | ||
context.report({ | ||
node, | ||
loc, | ||
messageId: "expectedHashbang", | ||
@@ -174,0 +212,0 @@ fix(fixer) { |
@@ -42,3 +42,8 @@ /** | ||
const absolute = path.isAbsolute(pattern) | ||
const matcher = new Minimatch(pattern, { dot: true }) | ||
const posix = pattern.replace(/\\/g, "/") | ||
const matcher = new Minimatch(posix, { | ||
allowWindowsEscape: true, | ||
dot: true, | ||
}) | ||
return { absolute, matcher, negate } | ||
@@ -45,0 +50,0 @@ }) |
@@ -7,3 +7,3 @@ /** | ||
const { Range, lt, major } = require("semver") // eslint-disable-line no-unused-vars | ||
const { major, rsort } = require("semver") | ||
const { ReferenceTracker } = require("@eslint-community/eslint-utils") | ||
@@ -16,4 +16,3 @@ const getConfiguredNodeVersion = require("./get-configured-node-version") | ||
* @typedef {Object} SupportInfo | ||
* @property {string | null} supported The stably supported version. If `null` is present, it hasn't been supported yet. | ||
* @property {string[]} [backported] The backported versions. | ||
* @property {string[]} supported The stably supported version. If `null` is present, it hasn't been supported yet. | ||
* @property {string} [experimental] The added version as experimental. | ||
@@ -40,25 +39,18 @@ */ | ||
*/ | ||
function isSupported({ backported, supported }, configured) { | ||
if ( | ||
backported && | ||
backported.length >= 2 && | ||
!backported.every((v, i) => i === 0 || lt(backported[i - 1], v)) | ||
) { | ||
throw new Error("Invalid BackportConfiguration") | ||
} | ||
if (supported == null) { | ||
function isSupported({ supported }, configured) { | ||
if (supported == null || supported.length === 0) { | ||
return false | ||
} | ||
if (backported == null || backported.length === 0) { | ||
return !configured.intersects(getSemverRange(`<${supported}`)) | ||
} | ||
return !configured.intersects( | ||
getSemverRange( | ||
[...backported, supported] | ||
.map((v, i) => (i === 0 ? `<${v}` : `>=${major(v)}.0.0 <${v}`)) | ||
.join(" || ") | ||
) | ||
const [latest] = rsort(supported) | ||
const range = getSemverRange( | ||
[ | ||
...supported.map( | ||
version => `>= ${version} < ${major(version) + 1}` | ||
), | ||
`> ${major(latest)}`, | ||
].join("||") | ||
) | ||
return configured.intersects(range) | ||
} | ||
@@ -70,10 +62,16 @@ | ||
*/ | ||
function supportedVersionToString({ backported, supported }) { | ||
if (supported == null) { | ||
function supportedVersionToString({ supported }) { | ||
if (supported == null || supported.length === 0) { | ||
return "(none yet)" | ||
} | ||
if (backported == null || backported.length === 0) { | ||
return supported | ||
const [latest, ...backported] = rsort(supported) | ||
if (backported.length === 0) { | ||
return latest | ||
} | ||
return `${supported} (backported: ^${backported.join(", ^")})` | ||
const backportString = backported.map(version => `^${version}`).join(", ") | ||
return `${latest} (backported: ${backportString})` | ||
} | ||
@@ -80,0 +78,0 @@ |
@@ -7,3 +7,3 @@ /** | ||
const Minimatch = require("minimatch").Minimatch | ||
const { Minimatch } = require("minimatch") | ||
@@ -50,2 +50,13 @@ /** | ||
/** | ||
* @param {string} pattern | ||
* @return {Minimatch} | ||
*/ | ||
function makeMatcher(pattern) { | ||
const posix = pattern.replace(/\\/g, "/") | ||
return new Minimatch(posix, { | ||
allowWindowsEscape: true, | ||
}) | ||
} | ||
/** | ||
* Creates the function which checks whether a file path is matched with the given pattern or not. | ||
@@ -58,4 +69,4 @@ * | ||
function createMatch(includePatterns, excludePatterns) { | ||
const include = includePatterns.map(pattern => new Minimatch(pattern)) | ||
const exclude = excludePatterns.map(pattern => new Minimatch(pattern)) | ||
const include = includePatterns.map(makeMatcher) | ||
const exclude = excludePatterns.map(makeMatcher) | ||
@@ -62,0 +73,0 @@ return filePath => |
@@ -7,4 +7,2 @@ /** | ||
require("util").inspect.defaultOptions.depth = null | ||
const { resolve } = require("path") | ||
@@ -11,0 +9,0 @@ const isBuiltin = require("is-builtin-module") |
{ | ||
"name": "eslint-plugin-n", | ||
"version": "17.0.0-0", | ||
"version": "17.0.0-1", | ||
"description": "Additional ESLint's rules for Node.js", | ||
@@ -25,3 +25,3 @@ "engines": { | ||
"is-core-module": "^2.12.1", | ||
"minimatch": "^3.1.2", | ||
"minimatch": "^9.0.0", | ||
"semver": "^7.5.3" | ||
@@ -31,6 +31,6 @@ }, | ||
"@eslint/js": "^8.43.0", | ||
"@types/eslint": "^8.44.6", | ||
"@typescript-eslint/parser": "^5.60.0", | ||
"@types/eslint": "^8.56.2", | ||
"@typescript-eslint/parser": "^6.0.0", | ||
"eslint": "^8", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-doc-generator": "^1.6.1", | ||
@@ -41,4 +41,4 @@ "eslint-plugin-eslint-plugin": "^5.2.1", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^13.2.2", | ||
"markdownlint-cli": "^0.35.0", | ||
"lint-staged": "^15.2.0", | ||
"markdownlint-cli": "^0.39.0", | ||
"mocha": "^10.2.0", | ||
@@ -48,5 +48,5 @@ "npm-run-all2": "^6.1.1", | ||
"opener": "^1.5.2", | ||
"prettier": "^2.8.8", | ||
"prettier": "^3.1.1", | ||
"punycode": "^2.3.0", | ||
"release-it": "^15.11.0", | ||
"release-it": "^17.0.0", | ||
"rimraf": "^5.0.1", | ||
@@ -59,3 +59,3 @@ "typescript": "^5.1.3" | ||
"coverage": "opener ./coverage/lcov-report/index.html", | ||
"format": "prettier --loglevel warn --write \"**/*.{js,css,md}\"", | ||
"format": "prettier --write \"**/*.{js,json}\"", | ||
"lint": "npm-run-all \"lint:*\"", | ||
@@ -115,3 +115,4 @@ "lint:docs": "markdownlint \"**/*.md\"", | ||
"*.js": "eslint --cache --fix", | ||
"*.{json,js}": "prettier --write --ignore-path .eslintignore" | ||
"*.{json,js}": "prettier --write --ignore-path .eslintignore", | ||
"*.md": "markdownlint --fix" | ||
}, | ||
@@ -118,0 +119,0 @@ "imports": { |
@@ -136,3 +136,2 @@ # eslint-plugin-n | ||
| [no-unpublished-require](docs/rules/no-unpublished-require.md) | disallow `require()` expressions which import private modules | βοΈ π’ β βοΈ π’ β | | | | ||
| [no-unsupported-features](docs/rules/no-unsupported-features.md) | disallow unsupported ECMAScript features on the specified version | | | β | | ||
| [no-unsupported-features/es-builtins](docs/rules/no-unsupported-features/es-builtins.md) | disallow unsupported ECMAScript built-ins on the specified version | βοΈ π’ β βοΈ π’ β | | | | ||
@@ -139,0 +138,0 @@ | [no-unsupported-features/es-syntax](docs/rules/no-unsupported-features/es-syntax.md) | disallow unsupported ECMAScript syntax on the specified version | βοΈ π’ β βοΈ π’ β | | | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
284731
76
7603
243
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedminimatch@9.0.5(transitive)
Updatedminimatch@^9.0.0