1 | "use strict";
|
---|
2 |
|
---|
3 | exports.__esModule = true;
|
---|
4 | exports.CommonInstanceDependencies = exports.InstanceProperties = exports.StaticProperties = exports.BuiltIns = exports.PromiseDependenciesWithIterators = exports.PromiseDependencies = exports.CommonIterators = void 0;
|
---|
5 |
|
---|
6 | var _data = _interopRequireDefault(require("../core-js-compat/data.js"));
|
---|
7 |
|
---|
8 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
---|
9 |
|
---|
10 | const polyfillsOrder = {};
|
---|
11 | Object.keys(_data.default).forEach((name, index) => {
|
---|
12 | polyfillsOrder[name] = index;
|
---|
13 | });
|
---|
14 |
|
---|
15 | const define = (pure, global, name = global[0], exclude) => {
|
---|
16 | return {
|
---|
17 | name,
|
---|
18 | pure,
|
---|
19 | global: global.sort((a, b) => polyfillsOrder[a] - polyfillsOrder[b]),
|
---|
20 | exclude
|
---|
21 | };
|
---|
22 | };
|
---|
23 |
|
---|
24 | const typed = name => define(null, [name, ...TypedArrayDependencies]);
|
---|
25 |
|
---|
26 | const ArrayNatureIterators = ["es.array.iterator", "web.dom-collections.iterator"];
|
---|
27 | const CommonIterators = ["es.string.iterator", ...ArrayNatureIterators];
|
---|
28 | exports.CommonIterators = CommonIterators;
|
---|
29 | const ArrayNatureIteratorsWithTag = ["es.object.to-string", ...ArrayNatureIterators];
|
---|
30 | const CommonIteratorsWithTag = ["es.object.to-string", ...CommonIterators];
|
---|
31 | const TypedArrayDependencies = ["es.typed-array.copy-within", "es.typed-array.every", "es.typed-array.fill", "es.typed-array.filter", "es.typed-array.find", "es.typed-array.find-index", "es.typed-array.for-each", "es.typed-array.includes", "es.typed-array.index-of", "es.typed-array.iterator", "es.typed-array.join", "es.typed-array.last-index-of", "es.typed-array.map", "es.typed-array.reduce", "es.typed-array.reduce-right", "es.typed-array.reverse", "es.typed-array.set", "es.typed-array.slice", "es.typed-array.some", "es.typed-array.sort", "es.typed-array.subarray", "es.typed-array.to-locale-string", "es.typed-array.to-string", "es.object.to-string", "es.array.iterator", "es.array-buffer.slice"];
|
---|
32 | const TypedArrayStaticMethods = {
|
---|
33 | from: define(null, ["es.typed-array.from"]),
|
---|
34 | of: define(null, ["es.typed-array.of"])
|
---|
35 | };
|
---|
36 | const PromiseDependencies = ["es.promise", "es.object.to-string"];
|
---|
37 | exports.PromiseDependencies = PromiseDependencies;
|
---|
38 | const PromiseDependenciesWithIterators = [...PromiseDependencies, ...CommonIterators];
|
---|
39 | exports.PromiseDependenciesWithIterators = PromiseDependenciesWithIterators;
|
---|
40 | const SymbolDependencies = ["es.symbol", "es.symbol.description", "es.object.to-string"];
|
---|
41 | const MapDependencies = ["es.map", "esnext.map.delete-all", "esnext.map.every", "esnext.map.filter", "esnext.map.find", "esnext.map.find-key", "esnext.map.includes", "esnext.map.key-of", "esnext.map.map-keys", "esnext.map.map-values", "esnext.map.merge", "esnext.map.reduce", "esnext.map.some", "esnext.map.update", ...CommonIteratorsWithTag];
|
---|
42 | const SetDependencies = ["es.set", "esnext.set.add-all", "esnext.set.delete-all", "esnext.set.difference", "esnext.set.every", "esnext.set.filter", "esnext.set.find", "esnext.set.intersection", "esnext.set.is-disjoint-from", "esnext.set.is-subset-of", "esnext.set.is-superset-of", "esnext.set.join", "esnext.set.map", "esnext.set.reduce", "esnext.set.some", "esnext.set.symmetric-difference", "esnext.set.union", ...CommonIteratorsWithTag];
|
---|
43 | const WeakMapDependencies = ["es.weak-map", "esnext.weak-map.delete-all", ...CommonIteratorsWithTag];
|
---|
44 | const WeakSetDependencies = ["es.weak-set", "esnext.weak-set.add-all", "esnext.weak-set.delete-all", ...CommonIteratorsWithTag];
|
---|
45 | const URLSearchParamsDependencies = ["web.url-search-params", ...CommonIteratorsWithTag];
|
---|
46 | const BuiltIns = {
|
---|
47 | AggregateError: define("aggregate-error", ["es.aggregate-error", ...CommonIterators]),
|
---|
48 | ArrayBuffer: define(null, ["es.array-buffer.constructor", "es.array-buffer.slice", "es.object.to-string"]),
|
---|
49 | DataView: define(null, ["es.data-view", "es.array-buffer.slice", "es.object.to-string"]),
|
---|
50 | Date: define(null, ["es.date.to-string"]),
|
---|
51 | Float32Array: typed("es.typed-array.float32-array"),
|
---|
52 | Float64Array: typed("es.typed-array.float64-array"),
|
---|
53 | Int8Array: typed("es.typed-array.int8-array"),
|
---|
54 | Int16Array: typed("es.typed-array.int16-array"),
|
---|
55 | Int32Array: typed("es.typed-array.int32-array"),
|
---|
56 | Uint8Array: typed("es.typed-array.uint8-array"),
|
---|
57 | Uint8ClampedArray: typed("es.typed-array.uint8-clamped-array"),
|
---|
58 | Uint16Array: typed("es.typed-array.uint16-array"),
|
---|
59 | Uint32Array: typed("es.typed-array.uint32-array"),
|
---|
60 | Map: define("map/index", MapDependencies),
|
---|
61 | Number: define(null, ["es.number.constructor"]),
|
---|
62 | Observable: define("observable/index", ["esnext.observable", "esnext.symbol.observable", "es.object.to-string", ...CommonIteratorsWithTag]),
|
---|
63 | Promise: define("promise/index", PromiseDependencies),
|
---|
64 | RegExp: define(null, ["es.regexp.constructor", "es.regexp.exec", "es.regexp.to-string"]),
|
---|
65 | Set: define("set/index", SetDependencies),
|
---|
66 | Symbol: define("symbol/index", SymbolDependencies),
|
---|
67 | URL: define("url/index", ["web.url", ...URLSearchParamsDependencies]),
|
---|
68 | URLSearchParams: define("url-search-params/index", URLSearchParamsDependencies),
|
---|
69 | WeakMap: define("weak-map/index", WeakMapDependencies),
|
---|
70 | WeakSet: define("weak-set/index", WeakSetDependencies),
|
---|
71 | clearImmediate: define("clear-immediate", ["web.immediate"]),
|
---|
72 | compositeKey: define("composite-key", ["esnext.composite-key"]),
|
---|
73 | compositeSymbol: define("composite-symbol", ["esnext.composite-symbol"]),
|
---|
74 | fetch: define(null, PromiseDependencies),
|
---|
75 | globalThis: define("global-this", ["es.global-this"]),
|
---|
76 | parseFloat: define("parse-float", ["es.parse-float"]),
|
---|
77 | parseInt: define("parse-int", ["es.parse-int"]),
|
---|
78 | queueMicrotask: define("queue-microtask", ["web.queue-microtask"]),
|
---|
79 | setImmediate: define("set-immediate", ["web.immediate"]),
|
---|
80 | setInterval: define("set-interval", ["web.timers"]),
|
---|
81 | setTimeout: define("set-timeout", ["web.timers"])
|
---|
82 | };
|
---|
83 | exports.BuiltIns = BuiltIns;
|
---|
84 | const StaticProperties = {
|
---|
85 | Array: {
|
---|
86 | from: define("array/from", ["es.array.from", "es.string.iterator"]),
|
---|
87 | isArray: define("array/is-array", ["es.array.is-array"]),
|
---|
88 | of: define("array/of", ["es.array.of"])
|
---|
89 | },
|
---|
90 | ArrayBuffer: {
|
---|
91 | isView: define(null, ["es.array-buffer.is-view"])
|
---|
92 | },
|
---|
93 | Date: {
|
---|
94 | now: define("date/now", ["es.date.now"])
|
---|
95 | },
|
---|
96 | JSON: {
|
---|
97 | stringify: define("json/stringify", [], "es.symbol")
|
---|
98 | },
|
---|
99 | Math: {
|
---|
100 | DEG_PER_RAD: define("math/deg-per-rad", ["esnext.math.deg-per-rad"]),
|
---|
101 | RAD_PER_DEG: define("math/rad-per-deg", ["esnext.math.rad-per-deg"]),
|
---|
102 | acosh: define("math/acosh", ["es.math.acosh"]),
|
---|
103 | asinh: define("math/asinh", ["es.math.asinh"]),
|
---|
104 | atanh: define("math/atanh", ["es.math.atanh"]),
|
---|
105 | cbrt: define("math/cbrt", ["es.math.cbrt"]),
|
---|
106 | clamp: define("math/clamp", ["esnext.math.clamp"]),
|
---|
107 | clz32: define("math/clz32", ["es.math.clz32"]),
|
---|
108 | cosh: define("math/cosh", ["es.math.cosh"]),
|
---|
109 | degrees: define("math/degrees", ["esnext.math.degrees"]),
|
---|
110 | expm1: define("math/expm1", ["es.math.expm1"]),
|
---|
111 | fround: define("math/fround", ["es.math.fround"]),
|
---|
112 | fscale: define("math/fscale", ["esnext.math.fscale"]),
|
---|
113 | hypot: define("math/hypot", ["es.math.hypot"]),
|
---|
114 | iaddh: define("math/iaddh", ["esnext.math.iaddh"]),
|
---|
115 | imul: define("math/imul", ["es.math.imul"]),
|
---|
116 | imulh: define("math/imulh", ["esnext.math.imulh"]),
|
---|
117 | isubh: define("math/isubh", ["esnext.math.isubh"]),
|
---|
118 | log10: define("math/log10", ["es.math.log10"]),
|
---|
119 | log1p: define("math/log1p", ["es.math.log1p"]),
|
---|
120 | log2: define("math/log2", ["es.math.log2"]),
|
---|
121 | radians: define("math/radians", ["esnext.math.radians"]),
|
---|
122 | scale: define("math/scale", ["esnext.math.scale"]),
|
---|
123 | seededPRNG: define("math/seeded-prng", ["esnext.math.seeded-prng"]),
|
---|
124 | sign: define("math/sign", ["es.math.sign"]),
|
---|
125 | signbit: define("math/signbit", ["esnext.math.signbit"]),
|
---|
126 | sinh: define("math/sinh", ["es.math.sinh"]),
|
---|
127 | tanh: define("math/tanh", ["es.math.tanh"]),
|
---|
128 | trunc: define("math/trunc", ["es.math.trunc"]),
|
---|
129 | umulh: define("math/umulh", ["esnext.math.umulh"])
|
---|
130 | },
|
---|
131 | Map: {
|
---|
132 | from: define(null, ["esnext.map.from", ...MapDependencies]),
|
---|
133 | groupBy: define(null, ["esnext.map.group-by", ...MapDependencies]),
|
---|
134 | keyBy: define(null, ["esnext.map.key-by", ...MapDependencies]),
|
---|
135 | of: define(null, ["esnext.map.of", ...MapDependencies])
|
---|
136 | },
|
---|
137 | Number: {
|
---|
138 | EPSILON: define("number/epsilon", ["es.number.epsilon"]),
|
---|
139 | MAX_SAFE_INTEGER: define("number/max-safe-integer", ["es.number.max-safe-integer"]),
|
---|
140 | MIN_SAFE_INTEGER: define("number/min-safe-integer", ["es.number.min-safe-integer"]),
|
---|
141 | fromString: define("number/from-string", ["esnext.number.from-string"]),
|
---|
142 | isFinite: define("number/is-finite", ["es.number.is-finite"]),
|
---|
143 | isInteger: define("number/is-integer", ["es.number.is-integer"]),
|
---|
144 | isNaN: define("number/is-nan", ["es.number.is-nan"]),
|
---|
145 | isSafeInteger: define("number/is-safe-integer", ["es.number.is-safe-integer"]),
|
---|
146 | parseFloat: define("number/parse-float", ["es.number.parse-float"]),
|
---|
147 | parseInt: define("number/parse-int", ["es.number.parse-int"])
|
---|
148 | },
|
---|
149 | Object: {
|
---|
150 | assign: define("object/assign", ["es.object.assign"]),
|
---|
151 | create: define("object/create", ["es.object.create"]),
|
---|
152 | defineProperties: define("object/define-properties", ["es.object.define-properties"]),
|
---|
153 | defineProperty: define("object/define-property", ["es.object.define-property"]),
|
---|
154 | entries: define("object/entries", ["es.object.entries"]),
|
---|
155 | freeze: define("object/freeze", ["es.object.freeze"]),
|
---|
156 | fromEntries: define("object/from-entries", ["es.object.from-entries", "es.array.iterator"]),
|
---|
157 | getOwnPropertyDescriptor: define("object/get-own-property-descriptor", ["es.object.get-own-property-descriptor"]),
|
---|
158 | getOwnPropertyDescriptors: define("object/get-own-property-descriptors", ["es.object.get-own-property-descriptors"]),
|
---|
159 | getOwnPropertyNames: define("object/get-own-property-names", ["es.object.get-own-property-names"]),
|
---|
160 | getOwnPropertySymbols: define("object/get-own-property-symbols", ["es.symbol"]),
|
---|
161 | getPrototypeOf: define("object/get-prototype-of", ["es.object.get-prototype-of"]),
|
---|
162 | hasOwn: define("object/has-own", ["esnext.object.has-own"]),
|
---|
163 | is: define("object/is", ["es.object.is"]),
|
---|
164 | isExtensible: define("object/is-extensible", ["es.object.is-extensible"]),
|
---|
165 | isFrozen: define("object/is-frozen", ["es.object.is-frozen"]),
|
---|
166 | isSealed: define("object/is-sealed", ["es.object.is-sealed"]),
|
---|
167 | keys: define("object/keys", ["es.object.keys"]),
|
---|
168 | preventExtensions: define("object/prevent-extensions", ["es.object.prevent-extensions"]),
|
---|
169 | seal: define("object/seal", ["es.object.seal"]),
|
---|
170 | setPrototypeOf: define("object/set-prototype-of", ["es.object.set-prototype-of"]),
|
---|
171 | values: define("object/values", ["es.object.values"])
|
---|
172 | },
|
---|
173 | Promise: {
|
---|
174 | all: define(null, PromiseDependenciesWithIterators),
|
---|
175 | allSettled: define(null, ["es.promise.all-settled", ...PromiseDependenciesWithIterators]),
|
---|
176 | any: define(null, ["es.promise.any", ...PromiseDependenciesWithIterators]),
|
---|
177 | race: define(null, PromiseDependenciesWithIterators),
|
---|
178 | try: define(null, ["esnext.promise.try", ...PromiseDependenciesWithIterators])
|
---|
179 | },
|
---|
180 | Reflect: {
|
---|
181 | apply: define("reflect/apply", ["es.reflect.apply"]),
|
---|
182 | construct: define("reflect/construct", ["es.reflect.construct"]),
|
---|
183 | defineMetadata: define("reflect/define-metadata", ["esnext.reflect.define-metadata"]),
|
---|
184 | defineProperty: define("reflect/define-property", ["es.reflect.define-property"]),
|
---|
185 | deleteMetadata: define("reflect/delete-metadata", ["esnext.reflect.delete-metadata"]),
|
---|
186 | deleteProperty: define("reflect/delete-property", ["es.reflect.delete-property"]),
|
---|
187 | get: define("reflect/get", ["es.reflect.get"]),
|
---|
188 | getMetadata: define("reflect/get-metadata", ["esnext.reflect.get-metadata"]),
|
---|
189 | getMetadataKeys: define("reflect/get-metadata-keys", ["esnext.reflect.get-metadata-keys"]),
|
---|
190 | getOwnMetadata: define("reflect/get-own-metadata", ["esnext.reflect.get-own-metadata"]),
|
---|
191 | getOwnMetadataKeys: define("reflect/get-own-metadata-keys", ["esnext.reflect.get-own-metadata-keys"]),
|
---|
192 | getOwnPropertyDescriptor: define("reflect/get-own-property-descriptor", ["es.reflect.get-own-property-descriptor"]),
|
---|
193 | getPrototypeOf: define("reflect/get-prototype-of", ["es.reflect.get-prototype-of"]),
|
---|
194 | has: define("reflect/has", ["es.reflect.has"]),
|
---|
195 | hasMetadata: define("reflect/has-metadata", ["esnext.reflect.has-metadata"]),
|
---|
196 | hasOwnMetadata: define("reflect/has-own-metadata", ["esnext.reflect.has-own-metadata"]),
|
---|
197 | isExtensible: define("reflect/is-extensible", ["es.reflect.is-extensible"]),
|
---|
198 | metadata: define("reflect/metadata", ["esnext.reflect.metadata"]),
|
---|
199 | ownKeys: define("reflect/own-keys", ["es.reflect.own-keys"]),
|
---|
200 | preventExtensions: define("reflect/prevent-extensions", ["es.reflect.prevent-extensions"]),
|
---|
201 | set: define("reflect/set", ["es.reflect.set"]),
|
---|
202 | setPrototypeOf: define("reflect/set-prototype-of", ["es.reflect.set-prototype-of"])
|
---|
203 | },
|
---|
204 | Set: {
|
---|
205 | from: define(null, ["esnext.set.from", ...SetDependencies]),
|
---|
206 | of: define(null, ["esnext.set.of", ...SetDependencies])
|
---|
207 | },
|
---|
208 | String: {
|
---|
209 | fromCodePoint: define("string/from-code-point", ["es.string.from-code-point"]),
|
---|
210 | raw: define("string/raw", ["es.string.raw"])
|
---|
211 | },
|
---|
212 | Symbol: {
|
---|
213 | asyncIterator: define("symbol/async-iterator", ["es.symbol.async-iterator"]),
|
---|
214 | dispose: define("symbol/dispose", ["esnext.symbol.dispose"]),
|
---|
215 | for: define("symbol/for", [], "es.symbol"),
|
---|
216 | hasInstance: define("symbol/has-instance", ["es.symbol.has-instance", "es.function.has-instance"]),
|
---|
217 | isConcatSpreadable: define("symbol/is-concat-spreadable", ["es.symbol.is-concat-spreadable", "es.array.concat"]),
|
---|
218 | iterator: define("symbol/iterator", ["es.symbol.iterator", ...CommonIteratorsWithTag]),
|
---|
219 | keyFor: define("symbol/key-for", [], "es.symbol"),
|
---|
220 | match: define("symbol/match", ["es.symbol.match", "es.string.match"]),
|
---|
221 | observable: define("symbol/observable", ["esnext.symbol.observable"]),
|
---|
222 | patternMatch: define("symbol/pattern-match", ["esnext.symbol.pattern-match"]),
|
---|
223 | replace: define("symbol/replace", ["es.symbol.replace", "es.string.replace"]),
|
---|
224 | search: define("symbol/search", ["es.symbol.search", "es.string.search"]),
|
---|
225 | species: define("symbol/species", ["es.symbol.species", "es.array.species"]),
|
---|
226 | split: define("symbol/split", ["es.symbol.split", "es.string.split"]),
|
---|
227 | toPrimitive: define("symbol/to-primitive", ["es.symbol.to-primitive", "es.date.to-primitive"]),
|
---|
228 | toStringTag: define("symbol/to-string-tag", ["es.symbol.to-string-tag", "es.object.to-string", "es.math.to-string-tag", "es.json.to-string-tag"]),
|
---|
229 | unscopables: define("symbol/unscopables", ["es.symbol.unscopables"])
|
---|
230 | },
|
---|
231 | WeakMap: {
|
---|
232 | from: define(null, ["esnext.weak-map.from", ...WeakMapDependencies]),
|
---|
233 | of: define(null, ["esnext.weak-map.of", ...WeakMapDependencies])
|
---|
234 | },
|
---|
235 | WeakSet: {
|
---|
236 | from: define(null, ["esnext.weak-set.from", ...WeakSetDependencies]),
|
---|
237 | of: define(null, ["esnext.weak-set.of", ...WeakSetDependencies])
|
---|
238 | },
|
---|
239 | Int8Array: TypedArrayStaticMethods,
|
---|
240 | Uint8Array: TypedArrayStaticMethods,
|
---|
241 | Uint8ClampedArray: TypedArrayStaticMethods,
|
---|
242 | Int16Array: TypedArrayStaticMethods,
|
---|
243 | Uint16Array: TypedArrayStaticMethods,
|
---|
244 | Int32Array: TypedArrayStaticMethods,
|
---|
245 | Uint32Array: TypedArrayStaticMethods,
|
---|
246 | Float32Array: TypedArrayStaticMethods,
|
---|
247 | Float64Array: TypedArrayStaticMethods
|
---|
248 | };
|
---|
249 | exports.StaticProperties = StaticProperties;
|
---|
250 | const InstanceProperties = {
|
---|
251 | at: define("instance/at", ["esnext.string.at", "esnext.array.at", "esnext.typed-array.at"]),
|
---|
252 | anchor: define(null, ["es.string.anchor"]),
|
---|
253 | big: define(null, ["es.string.big"]),
|
---|
254 | bind: define("instance/bind", ["es.function.bind"]),
|
---|
255 | blink: define(null, ["es.string.blink"]),
|
---|
256 | bold: define(null, ["es.string.bold"]),
|
---|
257 | codePointAt: define("instance/code-point-at", ["es.string.code-point-at"]),
|
---|
258 | codePoints: define("instance/code-points", ["esnext.string.code-points"]),
|
---|
259 | concat: define("instance/concat", ["es.array.concat"], undefined, ["String"]),
|
---|
260 | copyWithin: define("instance/copy-within", ["es.array.copy-within"]),
|
---|
261 | description: define(null, ["es.symbol", "es.symbol.description"]),
|
---|
262 | endsWith: define("instance/ends-with", ["es.string.ends-with"]),
|
---|
263 | entries: define("instance/entries", ArrayNatureIteratorsWithTag),
|
---|
264 | every: define("instance/every", ["es.array.every"]),
|
---|
265 | exec: define(null, ["es.regexp.exec"]),
|
---|
266 | fill: define("instance/fill", ["es.array.fill"]),
|
---|
267 | filter: define("instance/filter", ["es.array.filter"]),
|
---|
268 | finally: define(null, ["es.promise.finally", ...PromiseDependencies]),
|
---|
269 | find: define("instance/find", ["es.array.find"]),
|
---|
270 | findIndex: define("instance/find-index", ["es.array.find-index"]),
|
---|
271 | findLast: define("instance/find-last", ["esnext.array.find-last"]),
|
---|
272 | findLastIndex: define("instance/find-last-index", ["esnext.array.find-last-index"]),
|
---|
273 | fixed: define(null, ["es.string.fixed"]),
|
---|
274 | flags: define("instance/flags", ["es.regexp.flags"]),
|
---|
275 | flatMap: define("instance/flat-map", ["es.array.flat-map", "es.array.unscopables.flat-map"]),
|
---|
276 | flat: define("instance/flat", ["es.array.flat"]),
|
---|
277 | fontcolor: define(null, ["es.string.fontcolor"]),
|
---|
278 | fontsize: define(null, ["es.string.fontsize"]),
|
---|
279 | forEach: define("instance/for-each", ["es.array.for-each", "web.dom-collections.for-each"]),
|
---|
280 | includes: define("instance/includes", ["es.array.includes", "es.string.includes"]),
|
---|
281 | indexOf: define("instance/index-of", ["es.array.index-of"]),
|
---|
282 | italic: define(null, ["es.string.italics"]),
|
---|
283 | join: define(null, ["es.array.join"]),
|
---|
284 | keys: define("instance/keys", ArrayNatureIteratorsWithTag),
|
---|
285 | lastIndex: define(null, ["esnext.array.last-index"]),
|
---|
286 | lastIndexOf: define("instance/last-index-of", ["es.array.last-index-of"]),
|
---|
287 | lastItem: define(null, ["esnext.array.last-item"]),
|
---|
288 | link: define(null, ["es.string.link"]),
|
---|
289 | map: define("instance/map", ["es.array.map"]),
|
---|
290 | match: define(null, ["es.string.match", "es.regexp.exec"]),
|
---|
291 | matchAll: define("instance/match-all", ["es.string.match-all"]),
|
---|
292 | name: define(null, ["es.function.name"]),
|
---|
293 | padEnd: define("instance/pad-end", ["es.string.pad-end"]),
|
---|
294 | padStart: define("instance/pad-start", ["es.string.pad-start"]),
|
---|
295 | reduce: define("instance/reduce", ["es.array.reduce"]),
|
---|
296 | reduceRight: define("instance/reduce-right", ["es.array.reduce-right"]),
|
---|
297 | repeat: define("instance/repeat", ["es.string.repeat"]),
|
---|
298 | replace: define(null, ["es.string.replace", "es.regexp.exec"]),
|
---|
299 | replaceAll: define("instance/replace-all", ["es.string.replace-all"]),
|
---|
300 | reverse: define("instance/reverse", ["es.array.reverse"]),
|
---|
301 | search: define(null, ["es.string.search", "es.regexp.exec"]),
|
---|
302 | slice: define("instance/slice", ["es.array.slice"]),
|
---|
303 | small: define(null, ["es.string.small"]),
|
---|
304 | some: define("instance/some", ["es.array.some"]),
|
---|
305 | sort: define("instance/sort", ["es.array.sort"]),
|
---|
306 | splice: define("instance/splice", ["es.array.splice"]),
|
---|
307 | split: define(null, ["es.string.split", "es.regexp.exec"]),
|
---|
308 | startsWith: define("instance/starts-with", ["es.string.starts-with"]),
|
---|
309 | strike: define(null, ["es.string.strike"]),
|
---|
310 | sub: define(null, ["es.string.sub"]),
|
---|
311 | sup: define(null, ["es.string.sup"]),
|
---|
312 | toFixed: define(null, ["es.number.to-fixed"]),
|
---|
313 | toISOString: define(null, ["es.date.to-iso-string"]),
|
---|
314 | toJSON: define(null, ["es.date.to-json", "web.url.to-json"]),
|
---|
315 | toPrecision: define(null, ["es.number.to-precision"]),
|
---|
316 | toString: define(null, ["es.object.to-string", "es.regexp.to-string", "es.date.to-string"]),
|
---|
317 | trim: define("instance/trim", ["es.string.trim"]),
|
---|
318 | trimEnd: define("instance/trim-end", ["es.string.trim-end"]),
|
---|
319 | trimLeft: define("instance/trim-left", ["es.string.trim-start"]),
|
---|
320 | trimRight: define("instance/trim-right", ["es.string.trim-end"]),
|
---|
321 | trimStart: define("instance/trim-start", ["es.string.trim-start"]),
|
---|
322 | values: define("instance/values", ArrayNatureIteratorsWithTag),
|
---|
323 | __defineGetter__: define(null, ["es.object.define-getter"]),
|
---|
324 | __defineSetter__: define(null, ["es.object.define-setter"]),
|
---|
325 | __lookupGetter__: define(null, ["es.object.lookup-getter"]),
|
---|
326 | __lookupSetter__: define(null, ["es.object.lookup-setter"])
|
---|
327 | };
|
---|
328 | exports.InstanceProperties = InstanceProperties;
|
---|
329 | const CommonInstanceDependencies = new Set(["es.object.to-string", "es.object.define-getter", "es.object.define-setter", "es.object.lookup-getter", "es.object.lookup-setter", "es.regexp.exec"]);
|
---|
330 | exports.CommonInstanceDependencies = CommonInstanceDependencies; |
---|