Debian Codegraph @

scripts/build-es-shims-data/es-shims-features.js

raw symbols SCIP
1 "use strict";
2
3 module.exports = {
4 globalThis: "globalThis",
5 parseInt: "Miscellaneous / parseInt ignores leading zeros",
6 AggregateError: "Promise.any / AggregateError",
7 "Array.from": "Array static methods / Array.from",
8 "Array.of": "Array static methods / Array.of",
9 "Array.prototype.at": "`.item` method / Array.prototype.item",
10 "Array.prototype.concat": {
11 features: [
12 "well-known symbols / Symbol.isConcatSpreadable, non-spreadable array",
13 "well-known symbols / Symbol.isConcatSpreadable, spreadable object with poisoned getter",
14 ],
15 },
16 "Array.prototype.copyWithin":
17 "Array.prototype methods / Array.prototype.copyWithin",
18 "Array.prototype.entries":
19 "Array.prototype methods / Array.prototype.entries",
20 "Array.prototype.every": "Array methods / Array.prototype.every",
21 "Array.prototype.filter": "Array methods / Array.prototype.filter",
22 "Array.prototype.find": "Array.prototype methods / Array.prototype.find",
23 "Array.prototype.findIndex":
24 "Array.prototype methods / Array.prototype.findIndex",
25 "Array.prototype.findLast": "Array find from last / Array.prototype.findLast",
26 "Array.prototype.findLastIndex":
27 "Array find from last / Array.prototype.findLastIndex",
28 "Array.prototype.flat":
29 "Array.prototype.{flat, flatMap} / Array.prototype.flat",
30 "Array.prototype.flatMap":
31 "Array.prototype.{flat, flatMap} / Array.prototype.flatMap",
32 "Array.prototype.includes": "Array.prototype.includes",
33 "Array.prototype.indexOf": "Array methods / Array.prototype.indexOf",
34 "Array.prototype.keys": "Array.prototype methods / Array.prototype.keys",
35 "Array.prototype.lastIndexOf": "Array methods / Array.prototype.lastIndexOf",
36 "Array.prototype.map": "Array methods / Array.prototype.map",
37 "Array.prototype.reduce": "Array methods / Array.prototype.reduce",
38 "Array.prototype.reduceRight": "Array methods / Array.prototype.reduceRight",
39 "Array.prototype.some": "Array methods / Array.prototype.some",
40 "Array.prototype.splice": "Array.prototype methods / Array.prototype.splice",
41 //"Array.prototype.toReversed": MISSING,
42 //"Array.prototype.toSpliced": MISSING,
43 //"Array.prototype.toSorted": MISSING,
44 "Array.prototype.unshift": "Array methods / Array.prototype.unshift",
45 "Array.prototype.values": "Array.prototype methods / Array.prototype.values",
46 //"Array.prototype.with": MISSING,
47 //"Date": MISSING,
48 //"Date.prototype.getFullYear": MISSING,
49 //"Date.prototype.getMonth": MISSING,
50 //"Date.prototype.getDate": MISSING,
51 //"Date.prototype.getUTCDate": MISSING,
52 //"Date.prototype.getUTCFullYear": MISSING,
53 //"Date.prototype.getUTCMonth": MISSING,
54 //"Date.prototype.toUTCString": MISSING,
55 //"Date.prototype.toDateString": MISSING,
56 //"Date.prototype.toString": MISSING,
57 "Date.prototype.toISOString": "Date methods / Date.prototype.toISOString",
58 "Date.prototype.toJSON": "Date methods / Date.prototype.toJSON",
59 "Date.now": "Date methods / Date.now",
60 //"Date.parse": MISSING,
61 "Error cause": "Error.cause property",
62 "Function.prototype.name": {
63 features: [
64 'function "name" property / function statements',
65 'function "name" property / function expressions',
66 ],
67 },
68 "Math.acosh": "Math methods / Math.acosh",
69 "Math.atanh": "Math methods / Math.atanh",
70 "Math.clz32": "Math methods / Math.clz32",
71 "Math.cbrt": "Math methods / Math.cbrt",
72 "Math.fround": "Math methods / Math.fround",
73 "Math.imul": "Math methods / Math.imul",
74 "Math.log10": "Math methods / Math.log10",
75 "Math.log1p": "Math methods / Math.log1p",
76 "Math.sign": "Math methods / Math.sign",
77 "Number.isFinite": "Number properties / Number.isFinite",
78 "Number.isInteger": "Number properties / Number.isInteger",
79 "Number.isSafeInteger": "Number properties / Number.isSafeInteger",
80 "Number.isNaN": "Number properties / Number.isNaN",
81 "Number.parseFloat": "Number properties / Number.parseFloat",
82 "Number.parseInt": "Number properties / Number.parseInt",
83 "Number.prototype.toExponential": {
84 features: [
85 "Number methods / Number.prototype.toExponential rounds properly",
86 "Number methods / Number.prototype.toExponential throws on ±Infinity fractionDigits",
87 ],
88 },
89 "Object.assign": "Object static methods / Object.assign",
90 "Object.is": "Object static methods / Object.is",
91 "Object.defineProperties": "Object static methods / Object.defineProperties",
92 "Object.entries": "Object static methods / Object.entries",
93 "Object.fromEntries": "Object.fromEntries",
94 "Object.getOwnPropertyDescriptors":
95 "Object static methods / Object.getOwnPropertyDescriptors",
96 "Object.getPrototypeOf": "Object static methods / Object.getPrototypeOf",
97 "Object.hasOwn": "Object.hasOwn",
98 "Object.values": "Object static methods / Object.values",
99 "Promise.allSettled": "Promise.allSettled",
100 "Promise.any": "Promise.any",
101 "Promise.try": [],
102 "Promise.prototype.finally": "Promise.prototype.finally",
103 "Reflect.apply": "Reflect / Reflect.apply",
104 "Reflect.getPrototypeOf": "Reflect / Reflect.getPrototypeOf",
105 "Reflect.ownKeys": "Reflect / Reflect.ownKeys",
106 "RegExp.prototype.flags":
107 "RegExp.prototype properties / RegExp.prototype.flags",
108 "String.fromCodePoint": "String static methods / String.fromCodePoint",
109 "String.raw": "String static methods / String.raw",
110 "String.prototype.codePointAt":
111 "String.prototype methods / String.prototype.codePointAt",
112 "String.prototype.endsWith":
113 "String.prototype methods / String.prototype.endsWith",
114 "String.prototype.includes":
115 "String.prototype methods / String.prototype.includes",
116 "String.prototype.at": "`.item` method / String.prototype.item",
117 "String.prototype.matchAll": "String.prototype.matchAll",
118 "String.prototype.padEnd": "String padding / String.prototype.padEnd",
119 "String.prototype.padStart": "String padding / String.prototype.padStart",
120 "String.prototype.repeat":
121 "String.prototype methods / String.prototype.repeat",
122 "String.prototype.replaceAll": "String.prototype.replaceAll",
123 "String.prototype.split":
124 "String properties and methods / String.prototype.split",
125 "String.prototype.startsWith":
126 "String.prototype methods / String.prototype.startsWith",
127 "String.prototype.substr":
128 "String properties and methods / String.prototype.substr",
129 "String.prototype.trim":
130 "String properties and methods / String.prototype.trim",
131 "String.prototype.trimEnd": "string trimming / String.prototype.trimEnd",
132 "String.prototype.trimLeft": "string trimming / String.prototype.trimLeft",
133 "String.prototype.trimRight": "string trimming / String.prototype.trimRight",
134 "String.prototype.trimStart": "string trimming / String.prototype.trimStart",
135 "Symbol.prototype.description": "Symbol.prototype.description",
136
137 // Annex B
138 "String.prototype.anchor": "String.prototype HTML methods",
139 "String.prototype.big": "String.prototype HTML methods",
140 "String.prototype.blink": "String.prototype HTML methods",
141 "String.prototype.bold": "String.prototype HTML methods",
142 "String.prototype.fixed": "String.prototype HTML methods",
143 "String.prototype.fontcolor": "String.prototype HTML methods",
144 "String.prototype.fontsize": "String.prototype HTML methods",
145 "String.prototype.italics": "String.prototype HTML methods",
146 "String.prototype.link": "String.prototype HTML methods",
147 "String.prototype.small": "String.prototype HTML methods",
148 "String.prototype.strike": "String.prototype HTML methods",
149 "String.prototype.sub": "String.prototype HTML methods",
150 "String.prototype.sup": "String.prototype HTML methods",
151 };