1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.default = void 0;
|
7 |
|
8 | var _helpers = require("./helpers");
|
9 |
|
10 | var _default = runtimeVersion => {
|
11 | const includeMathModule = (0, _helpers.hasMinVersion)("7.0.1", runtimeVersion);
|
12 | return {
|
13 | BuiltIns: {
|
14 | Symbol: {
|
15 | stable: true,
|
16 | path: "symbol"
|
17 | },
|
18 | Promise: {
|
19 | stable: true,
|
20 | path: "promise"
|
21 | },
|
22 | Map: {
|
23 | stable: true,
|
24 | path: "map"
|
25 | },
|
26 | WeakMap: {
|
27 | stable: true,
|
28 | path: "weak-map"
|
29 | },
|
30 | Set: {
|
31 | stable: true,
|
32 | path: "set"
|
33 | },
|
34 | WeakSet: {
|
35 | stable: true,
|
36 | path: "weak-set"
|
37 | },
|
38 | setImmediate: {
|
39 | stable: true,
|
40 | path: "set-immediate"
|
41 | },
|
42 | clearImmediate: {
|
43 | stable: true,
|
44 | path: "clear-immediate"
|
45 | },
|
46 | parseFloat: {
|
47 | stable: true,
|
48 | path: "parse-float"
|
49 | },
|
50 | parseInt: {
|
51 | stable: true,
|
52 | path: "parse-int"
|
53 | }
|
54 | },
|
55 | StaticProperties: Object.assign({
|
56 | Array: {
|
57 | from: {
|
58 | stable: true,
|
59 | path: "array/from"
|
60 | },
|
61 | isArray: {
|
62 | stable: true,
|
63 | path: "array/is-array"
|
64 | },
|
65 | of: {
|
66 | stable: true,
|
67 | path: "array/of"
|
68 | }
|
69 | },
|
70 | JSON: {
|
71 | stringify: {
|
72 | stable: true,
|
73 | path: "json/stringify"
|
74 | }
|
75 | },
|
76 | Object: {
|
77 | assign: {
|
78 | stable: true,
|
79 | path: "object/assign"
|
80 | },
|
81 | create: {
|
82 | stable: true,
|
83 | path: "object/create"
|
84 | },
|
85 | defineProperties: {
|
86 | stable: true,
|
87 | path: "object/define-properties"
|
88 | },
|
89 | defineProperty: {
|
90 | stable: true,
|
91 | path: "object/define-property"
|
92 | },
|
93 | entries: {
|
94 | stable: true,
|
95 | path: "object/entries"
|
96 | },
|
97 | freeze: {
|
98 | stable: true,
|
99 | path: "object/freeze"
|
100 | },
|
101 | getOwnPropertyDescriptor: {
|
102 | stable: true,
|
103 | path: "object/get-own-property-descriptor"
|
104 | },
|
105 | getOwnPropertyDescriptors: {
|
106 | stable: true,
|
107 | path: "object/get-own-property-descriptors"
|
108 | },
|
109 | getOwnPropertyNames: {
|
110 | stable: true,
|
111 | path: "object/get-own-property-names"
|
112 | },
|
113 | getOwnPropertySymbols: {
|
114 | stable: true,
|
115 | path: "object/get-own-property-symbols"
|
116 | },
|
117 | getPrototypeOf: {
|
118 | stable: true,
|
119 | path: "object/get-prototype-of"
|
120 | },
|
121 | isExtensible: {
|
122 | stable: true,
|
123 | path: "object/is-extensible"
|
124 | },
|
125 | isFrozen: {
|
126 | stable: true,
|
127 | path: "object/is-frozen"
|
128 | },
|
129 | isSealed: {
|
130 | stable: true,
|
131 | path: "object/is-sealed"
|
132 | },
|
133 | is: {
|
134 | stable: true,
|
135 | path: "object/is"
|
136 | },
|
137 | keys: {
|
138 | stable: true,
|
139 | path: "object/keys"
|
140 | },
|
141 | preventExtensions: {
|
142 | stable: true,
|
143 | path: "object/prevent-extensions"
|
144 | },
|
145 | seal: {
|
146 | stable: true,
|
147 | path: "object/seal"
|
148 | },
|
149 | setPrototypeOf: {
|
150 | stable: true,
|
151 | path: "object/set-prototype-of"
|
152 | },
|
153 | values: {
|
154 | stable: true,
|
155 | path: "object/values"
|
156 | }
|
157 | }
|
158 | }, includeMathModule ? {
|
159 | Math: {
|
160 | acosh: {
|
161 | stable: true,
|
162 | path: "math/acosh"
|
163 | },
|
164 | asinh: {
|
165 | stable: true,
|
166 | path: "math/asinh"
|
167 | },
|
168 | atanh: {
|
169 | stable: true,
|
170 | path: "math/atanh"
|
171 | },
|
172 | cbrt: {
|
173 | stable: true,
|
174 | path: "math/cbrt"
|
175 | },
|
176 | clz32: {
|
177 | stable: true,
|
178 | path: "math/clz32"
|
179 | },
|
180 | cosh: {
|
181 | stable: true,
|
182 | path: "math/cosh"
|
183 | },
|
184 | expm1: {
|
185 | stable: true,
|
186 | path: "math/expm1"
|
187 | },
|
188 | fround: {
|
189 | stable: true,
|
190 | path: "math/fround"
|
191 | },
|
192 | hypot: {
|
193 | stable: true,
|
194 | path: "math/hypot"
|
195 | },
|
196 | imul: {
|
197 | stable: true,
|
198 | path: "math/imul"
|
199 | },
|
200 | log10: {
|
201 | stable: true,
|
202 | path: "math/log10"
|
203 | },
|
204 | log1p: {
|
205 | stable: true,
|
206 | path: "math/log1p"
|
207 | },
|
208 | log2: {
|
209 | stable: true,
|
210 | path: "math/log2"
|
211 | },
|
212 | sign: {
|
213 | stable: true,
|
214 | path: "math/sign"
|
215 | },
|
216 | sinh: {
|
217 | stable: true,
|
218 | path: "math/sinh"
|
219 | },
|
220 | tanh: {
|
221 | stable: true,
|
222 | path: "math/tanh"
|
223 | },
|
224 | trunc: {
|
225 | stable: true,
|
226 | path: "math/trunc"
|
227 | }
|
228 | }
|
229 | } : {}, {
|
230 | Symbol: {
|
231 | for: {
|
232 | stable: true,
|
233 | path: "symbol/for"
|
234 | },
|
235 | hasInstance: {
|
236 | stable: true,
|
237 | path: "symbol/has-instance"
|
238 | },
|
239 | isConcatSpreadable: {
|
240 | stable: true,
|
241 | path: "symbol/is-concat-spreadable"
|
242 | },
|
243 | iterator: {
|
244 | stable: true,
|
245 | path: "symbol/iterator"
|
246 | },
|
247 | keyFor: {
|
248 | stable: true,
|
249 | path: "symbol/key-for"
|
250 | },
|
251 | match: {
|
252 | stable: true,
|
253 | path: "symbol/match"
|
254 | },
|
255 | replace: {
|
256 | stable: true,
|
257 | path: "symbol/replace"
|
258 | },
|
259 | search: {
|
260 | stable: true,
|
261 | path: "symbol/search"
|
262 | },
|
263 | species: {
|
264 | stable: true,
|
265 | path: "symbol/species"
|
266 | },
|
267 | split: {
|
268 | stable: true,
|
269 | path: "symbol/split"
|
270 | },
|
271 | toPrimitive: {
|
272 | stable: true,
|
273 | path: "symbol/to-primitive"
|
274 | },
|
275 | toStringTag: {
|
276 | stable: true,
|
277 | path: "symbol/to-string-tag"
|
278 | },
|
279 | unscopables: {
|
280 | stable: true,
|
281 | path: "symbol/unscopables"
|
282 | }
|
283 | },
|
284 | String: {
|
285 | at: {
|
286 | stable: true,
|
287 | path: "string/at"
|
288 | },
|
289 | fromCodePoint: {
|
290 | stable: true,
|
291 | path: "string/from-code-point"
|
292 | },
|
293 | raw: {
|
294 | stable: true,
|
295 | path: "string/raw"
|
296 | }
|
297 | },
|
298 | Number: {
|
299 | EPSILON: {
|
300 | stable: true,
|
301 | path: "number/epsilon"
|
302 | },
|
303 | isFinite: {
|
304 | stable: true,
|
305 | path: "number/is-finite"
|
306 | },
|
307 | isInteger: {
|
308 | stable: true,
|
309 | path: "number/is-integer"
|
310 | },
|
311 | isNaN: {
|
312 | stable: true,
|
313 | path: "number/is-nan"
|
314 | },
|
315 | isSafeInteger: {
|
316 | stable: true,
|
317 | path: "number/is-safe-integer"
|
318 | },
|
319 | MAX_SAFE_INTEGER: {
|
320 | stable: true,
|
321 | path: "number/max-safe-integer"
|
322 | },
|
323 | MIN_SAFE_INTEGER: {
|
324 | stable: true,
|
325 | path: "number/min-safe-integer"
|
326 | },
|
327 | parseFloat: {
|
328 | stable: true,
|
329 | path: "number/parse-float"
|
330 | },
|
331 | parseInt: {
|
332 | stable: true,
|
333 | path: "number/parse-int"
|
334 | }
|
335 | },
|
336 | Reflect: {
|
337 | apply: {
|
338 | stable: true,
|
339 | path: "reflect/apply"
|
340 | },
|
341 | construct: {
|
342 | stable: true,
|
343 | path: "reflect/construct"
|
344 | },
|
345 | defineProperty: {
|
346 | stable: true,
|
347 | path: "reflect/define-property"
|
348 | },
|
349 | deleteProperty: {
|
350 | stable: true,
|
351 | path: "reflect/delete-property"
|
352 | },
|
353 | getOwnPropertyDescriptor: {
|
354 | stable: true,
|
355 | path: "reflect/get-own-property-descriptor"
|
356 | },
|
357 | getPrototypeOf: {
|
358 | stable: true,
|
359 | path: "reflect/get-prototype-of"
|
360 | },
|
361 | get: {
|
362 | stable: true,
|
363 | path: "reflect/get"
|
364 | },
|
365 | has: {
|
366 | stable: true,
|
367 | path: "reflect/has"
|
368 | },
|
369 | isExtensible: {
|
370 | stable: true,
|
371 | path: "reflect/is-extensible"
|
372 | },
|
373 | ownKeys: {
|
374 | stable: true,
|
375 | path: "reflect/own-keys"
|
376 | },
|
377 | preventExtensions: {
|
378 | stable: true,
|
379 | path: "reflect/prevent-extensions"
|
380 | },
|
381 | setPrototypeOf: {
|
382 | stable: true,
|
383 | path: "reflect/set-prototype-of"
|
384 | },
|
385 | set: {
|
386 | stable: true,
|
387 | path: "reflect/set"
|
388 | }
|
389 | },
|
390 | Date: {
|
391 | now: {
|
392 | stable: true,
|
393 | path: "date/now"
|
394 | }
|
395 | }
|
396 | })
|
397 | };
|
398 | };
|
399 |
|
400 | exports.default = _default; |
\ | No newline at end of file |