1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | "use strict";
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | const commonjs = {
|
13 | exports: true,
|
14 | global: false,
|
15 | module: false,
|
16 | require: false
|
17 | };
|
18 |
|
19 | const es3 = {
|
20 | Array: false,
|
21 | Boolean: false,
|
22 | constructor: false,
|
23 | Date: false,
|
24 | decodeURI: false,
|
25 | decodeURIComponent: false,
|
26 | encodeURI: false,
|
27 | encodeURIComponent: false,
|
28 | Error: false,
|
29 | escape: false,
|
30 | eval: false,
|
31 | EvalError: false,
|
32 | Function: false,
|
33 | hasOwnProperty: false,
|
34 | Infinity: false,
|
35 | isFinite: false,
|
36 | isNaN: false,
|
37 | isPrototypeOf: false,
|
38 | Math: false,
|
39 | NaN: false,
|
40 | Number: false,
|
41 | Object: false,
|
42 | parseFloat: false,
|
43 | parseInt: false,
|
44 | propertyIsEnumerable: false,
|
45 | RangeError: false,
|
46 | ReferenceError: false,
|
47 | RegExp: false,
|
48 | String: false,
|
49 | SyntaxError: false,
|
50 | toLocaleString: false,
|
51 | toString: false,
|
52 | TypeError: false,
|
53 | undefined: false,
|
54 | unescape: false,
|
55 | URIError: false,
|
56 | valueOf: false
|
57 | };
|
58 |
|
59 | const es5 = {
|
60 | ...es3,
|
61 | JSON: false
|
62 | };
|
63 |
|
64 | const es2015 = {
|
65 | ...es5,
|
66 | ArrayBuffer: false,
|
67 | DataView: false,
|
68 | Float32Array: false,
|
69 | Float64Array: false,
|
70 | Int16Array: false,
|
71 | Int32Array: false,
|
72 | Int8Array: false,
|
73 | Map: false,
|
74 | Promise: false,
|
75 | Proxy: false,
|
76 | Reflect: false,
|
77 | Set: false,
|
78 | Symbol: false,
|
79 | Uint16Array: false,
|
80 | Uint32Array: false,
|
81 | Uint8Array: false,
|
82 | Uint8ClampedArray: false,
|
83 | WeakMap: false,
|
84 | WeakSet: false
|
85 | };
|
86 |
|
87 |
|
88 | const es2016 = {
|
89 | ...es2015
|
90 | };
|
91 |
|
92 | const es2017 = {
|
93 | ...es2016,
|
94 | Atomics: false,
|
95 | SharedArrayBuffer: false
|
96 | };
|
97 |
|
98 |
|
99 | const es2018 = {
|
100 | ...es2017
|
101 | };
|
102 |
|
103 |
|
104 | const es2019 = {
|
105 | ...es2018
|
106 | };
|
107 |
|
108 | const es2020 = {
|
109 | ...es2019,
|
110 | BigInt: false,
|
111 | BigInt64Array: false,
|
112 | BigUint64Array: false,
|
113 | globalThis: false
|
114 | };
|
115 |
|
116 | const es2021 = {
|
117 | ...es2020,
|
118 | AggregateError: false,
|
119 | FinalizationRegistry: false,
|
120 | WeakRef: false
|
121 | };
|
122 |
|
123 | const es2022 = {
|
124 | ...es2021
|
125 | };
|
126 |
|
127 | const es2023 = {
|
128 | ...es2022
|
129 | };
|
130 |
|
131 | const es2024 = {
|
132 | ...es2023
|
133 | };
|
134 |
|
135 |
|
136 |
|
137 |
|
138 |
|
139 |
|
140 | module.exports = {
|
141 | commonjs,
|
142 | es3,
|
143 | es5,
|
144 | es2015,
|
145 | es2016,
|
146 | es2017,
|
147 | es2018,
|
148 | es2019,
|
149 | es2020,
|
150 | es2021,
|
151 | es2022,
|
152 | es2023,
|
153 | es2024
|
154 | };
|