PATH:
usr
/
local
/
lib
/
node_modules
/
knex-migrator
/
node_modules
/
core-js
/
modules
'use strict'; var isRegExp = require('./_is-regexp'); var anObject = require('./_an-object'); var speciesConstructor = require('./_species-constructor'); var advanceStringIndex = require('./_advance-string-index'); var toLength = require('./_to-length'); var callRegExpExec = require('./_regexp-exec-abstract'); var regexpExec = require('./_regexp-exec'); var fails = require('./_fails'); var $min = Math.min; var $push = [].push; var $SPLIT = 'split'; var LENGTH = 'length'; var LAST_INDEX = 'lastIndex'; var MAX_UINT32 = 0xffffffff; // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); // @@split logic require('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split, maybeCallNative) { var internalSplit; if ( 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || '.'[$SPLIT](/()()/)[LENGTH] > 1 || ''[$SPLIT](/.?/)[LENGTH] ) { // based on es5-shim implementation, need to rework it internalSplit = function (separator, limit) { var string = String(this); if (separator === undefined && limit === 0) return []; // If `separator` is not a regex, use native split if (!isRegExp(separator)) return $split.call(string, separator, limit); var output = []; var flags = (separator.ignoreCase ? 'i' : '') + (separator.multiline ? 'm' : '') + (separator.unicode ? 'u' : '') + (separator.sticky ? 'y' : ''); var lastLastIndex = 0; var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; // Make `global` and avoid `lastIndex` issues by working with a copy var separatorCopy = new RegExp(separator.source, flags + 'g'); var match, lastIndex, lastLength; while (match = regexpExec.call(separatorCopy, string)) { lastIndex = separatorCopy[LAST_INDEX]; if (lastIndex > lastLastIndex) { output.push(string.slice(lastLastIndex, match.index)); if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); lastLength = match[0][LENGTH]; lastLastIndex = lastIndex; if (output[LENGTH] >= splitLimit) break; } if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop } if (lastLastIndex === string[LENGTH]) { if (lastLength || !separatorCopy.test('')) output.push(''); } else output.push(string.slice(lastLastIndex)); return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; }; // Chakra, V8 } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { internalSplit = function (separator, limit) { return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); }; } else { internalSplit = $split; } return [ // `String.prototype.split` method // https://tc39.github.io/ecma262/#sec-string.prototype.split function split(separator, limit) { var O = defined(this); var splitter = separator == undefined ? undefined : separator[SPLIT]; return splitter !== undefined ? splitter.call(separator, O, limit) : internalSplit.call(String(O), separator, limit); }, // `RegExp.prototype[@@split]` method // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split // // NOTE: This cannot be properly polyfilled in engines that don't support // the 'y' flag. function (regexp, limit) { var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); if (res.done) return res.value; var rx = anObject(regexp); var S = String(this); var C = speciesConstructor(rx, RegExp); var unicodeMatching = rx.unicode; var flags = (rx.ignoreCase ? 'i' : '') + (rx.multiline ? 'm' : '') + (rx.unicode ? 'u' : '') + (SUPPORTS_Y ? 'y' : 'g'); // ^(? + rx + ) is needed, in combination with some S slicing, to // simulate the 'y' flag. var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; if (lim === 0) return []; if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; var p = 0; var q = 0; var A = []; while (q < S.length) { splitter.lastIndex = SUPPORTS_Y ? q : 0; var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); var e; if ( z === null || (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p ) { q = advanceStringIndex(S, q, unicodeMatching); } else { A.push(S.slice(p, q)); if (A.length === lim) return A; for (var i = 1; i <= z.length - 1; i++) { A.push(z[i]); if (A.length === lim) return A; } q = p = e; } } A.push(S.slice(p)); return A; } ]; });
[+]
..
[-] es6.weak-set.js
[edit]
[-] _invoke.js
[edit]
[-] _to-object.js
[edit]
[-] es6.typed.array-buffer.js
[edit]
[-] _set-to-string-tag.js
[edit]
[-] es7.set.from.js
[edit]
[-] es7.string.pad-end.js
[edit]
[-] es6.math.fround.js
[edit]
[-] _to-integer.js
[edit]
[-] _object-pie.js
[edit]
[-] _enum-bug-keys.js
[edit]
[-] es6.regexp.constructor.js
[edit]
[-] _is-regexp.js
[edit]
[-] _date-to-primitive.js
[edit]
[-] es6.object.prevent-extensions.js
[edit]
[-] es6.reflect.own-keys.js
[edit]
[-] _validate-collection.js
[edit]
[-] _set-species.js
[edit]
[-] es6.reflect.define-property.js
[edit]
[-] es6.number.max-safe-integer.js
[edit]
[-] core.string.unescape-html.js
[edit]
[-] _regexp-exec.js
[edit]
[-] es6.date.to-string.js
[edit]
[-] _is-array-iter.js
[edit]
[-] _same-value.js
[edit]
[-] _object-sap.js
[edit]
[-] es6.math.sign.js
[edit]
[-] _object-dp.js
[edit]
[-] _collection-weak.js
[edit]
[-] es6.math.imul.js
[edit]
[-] es6.array.is-array.js
[edit]
[-] _classof.js
[edit]
[-] _collection.js
[edit]
[-] es6.array.iterator.js
[edit]
[-] _keyof.js
[edit]
[-] es7.object.define-setter.js
[edit]
[-] _collection-strong.js
[edit]
[-] es6.parse-float.js
[edit]
[-] es6.string.italics.js
[edit]
[-] es7.weak-map.of.js
[edit]
[-] es6.regexp.search.js
[edit]
[-] _object-assign.js
[edit]
[-] es6.string.includes.js
[edit]
[-] es6.typed.data-view.js
[edit]
[-] es6.number.to-precision.js
[edit]
[-] es6.string.trim.js
[edit]
[-] es6.reflect.has.js
[edit]
[-] es6.typed.float32-array.js
[edit]
[-] es6.string.blink.js
[edit]
[-] _create-property.js
[edit]
[-] es7.promise.try.js
[edit]
[-] es6.object.get-prototype-of.js
[edit]
[-] es6.array.reduce-right.js
[edit]
[-] es6.array.find.js
[edit]
[-] _global.js
[edit]
[-] _partial.js
[edit]
[-] es6.weak-map.js
[edit]
[-] es6.reflect.set-prototype-of.js
[edit]
[-] es6.reflect.enumerate.js
[edit]
[-] _string-pad.js
[edit]
[-] es6.array.fill.js
[edit]
[-] _inherit-if-required.js
[edit]
[-] es7.array.flat-map.js
[edit]
[-] _object-gopn.js
[edit]
[-] es7.object.lookup-getter.js
[edit]
[-] _core.js
[edit]
[-] es6.object.get-own-property-descriptor.js
[edit]
[-] es7.object.get-own-property-descriptors.js
[edit]
[-] _iterators.js
[edit]
[-] _enum-keys.js
[edit]
[-] _array-from-iterable.js
[edit]
[-] es6.reflect.get-own-property-descriptor.js
[edit]
[-] es6.regexp.exec.js
[edit]
[-] _to-absolute-index.js
[edit]
[-] es7.string.at.js
[edit]
[-] es6.object.is-extensible.js
[edit]
[-] es7.math.signbit.js
[edit]
[-] _fails-is-regexp.js
[edit]
[-] _collection-to-json.js
[edit]
[-] _array-copy-within.js
[edit]
[-] es6.string.link.js
[edit]
[-] _date-to-iso-string.js
[edit]
[-] _parse-int.js
[edit]
[-] es7.weak-set.from.js
[edit]
[-] web.dom.iterable.js
[edit]
[-] _parse-float.js
[edit]
[-] es6.number.epsilon.js
[edit]
[-] es6.reflect.get-prototype-of.js
[edit]
[-] _function-to-string.js
[edit]
[-] _object-to-array.js
[edit]
[-] es6.object.is-frozen.js
[edit]
[-] core.object.is-object.js
[edit]
[-] _string-repeat.js
[edit]
[-] es7.map.to-json.js
[edit]
[-] es7.math.iaddh.js
[edit]
[-] _string-context.js
[edit]
[-] _iter-detect.js
[edit]
[-] es6.math.sinh.js
[edit]
[-] es7.reflect.has-metadata.js
[edit]
[-] core.number.iterator.js
[edit]
[-] es7.math.clamp.js
[edit]
[-] es7.string.trim-left.js
[edit]
[-] es6.object.create.js
[edit]
[-] es6.object.get-own-property-names.js
[edit]
[-] es6.math.trunc.js
[edit]
[-] es6.reflect.construct.js
[edit]
[-] _array-methods.js
[edit]
[-] web.immediate.js
[edit]
[-] es7.reflect.delete-metadata.js
[edit]
[-] es5.js
[edit]
[-] es7.weak-map.from.js
[edit]
[-] web.timers.js
[edit]
[-] _to-primitive.js
[edit]
[-] _fix-re-wks.js
[edit]
[-] es6.number.is-nan.js
[edit]
[-] _shared.js
[edit]
[-] es6.object.keys.js
[edit]
[-] _a-number-value.js
[edit]
[-] _new-promise-capability.js
[edit]
[-] es7.reflect.get-own-metadata-keys.js
[edit]
[-] es6.string.ends-with.js
[edit]
[-] _iobject.js
[edit]
[-] _strict-method.js
[edit]
[-] _ie8-dom-define.js
[edit]
[-] _math-scale.js
[edit]
[-] es6.function.name.js
[edit]
[-] core.dict.js
[edit]
[-] _replacer.js
[edit]
[-] es6.string.fixed.js
[edit]
[-] _advance-string-index.js
[edit]
[-] es6.parse-int.js
[edit]
[-] _set-collection-from.js
[edit]
[-] es7.map.of.js
[edit]
[-] _uid.js
[edit]
[-] _object-dps.js
[edit]
[-] es7.reflect.has-own-metadata.js
[edit]
[-] _promise-resolve.js
[edit]
[-] core.get-iterator.js
[edit]
[-] es6.object.is.js
[edit]
[-] core.get-iterator-method.js
[edit]
[-] _redefine-all.js
[edit]
[-] _string-ws.js
[edit]
[-] es7.object.lookup-setter.js
[edit]
[-] _object-gopn-ext.js
[edit]
[-] _for-of.js
[edit]
[-] es6.array.some.js
[edit]
[-] _set-collection-of.js
[edit]
[-] es6.set.js
[edit]
[-] es6.number.parse-int.js
[edit]
[-] es6.number.is-finite.js
[edit]
[-] _iter-create.js
[edit]
[-] es6.math.clz32.js
[edit]
[-] es7.math.scale.js
[edit]
[-] es7.math.isubh.js
[edit]
[-] _shared-key.js
[edit]
[-] es6.regexp.split.js
[edit]
[-] es6.function.bind.js
[edit]
[-] es6.object.assign.js
[edit]
[-] _to-iobject.js
[edit]
[-] es6.object.define-property.js
[edit]
[-] es6.function.has-instance.js
[edit]
[-] es6.object.is-sealed.js
[edit]
[-] es6.string.strike.js
[edit]
[-] es7.set.to-json.js
[edit]
[-] _typed-array.js
[edit]
[-] es6.typed.uint32-array.js
[edit]
[-] es6.array.for-each.js
[edit]
[-] _wks-ext.js
[edit]
[-] _an-instance.js
[edit]
[-] _math-fround.js
[edit]
[-] es6.typed.int8-array.js
[edit]
[-] es6.math.atanh.js
[edit]
[-] core.is-iterable.js
[edit]
[-] es7.math.radians.js
[edit]
[-] es6.reflect.delete-property.js
[edit]
[-] es6.array.filter.js
[edit]
[-] es7.reflect.get-metadata.js
[edit]
[-] es6.typed.int16-array.js
[edit]
[-] _object-gops.js
[edit]
[-] _math-log1p.js
[edit]
[-] es6.date.to-iso-string.js
[edit]
[-] _array-species-create.js
[edit]
[-] es6.string.raw.js
[edit]
[-] es6.date.to-json.js
[edit]
[-] _has.js
[edit]
[-] _to-index.js
[edit]
[-] _ctx.js
[edit]
[-] _entry-virtual.js
[edit]
[-] es6.math.acosh.js
[edit]
[-] es6.typed.uint8-clamped-array.js
[edit]
[-] es6.math.expm1.js
[edit]
[-] es6.array.copy-within.js
[edit]
[-] es6.string.sup.js
[edit]
[-] es6.array.every.js
[edit]
[-] _descriptors.js
[edit]
[-] es6.map.js
[edit]
[-] es6.typed.uint16-array.js
[edit]
[-] es7.global.js
[edit]
[-] _perform.js
[edit]
[-] es6.reflect.get.js
[edit]
[-] _dom-create.js
[edit]
[-] es6.string.code-point-at.js
[edit]
[-] es6.object.set-prototype-of.js
[edit]
[-] es7.reflect.get-own-metadata.js
[edit]
[-] es7.math.degrees.js
[edit]
[-] es6.number.constructor.js
[edit]
[-] es6.string.sub.js
[edit]
[-] _string-at.js
[edit]
[-] _flags.js
[edit]
[-] es6.string.bold.js
[edit]
[-] es7.math.rad-per-deg.js
[edit]
[-] es7.map.from.js
[edit]
[-] es6.reflect.apply.js
[edit]
[-] _iter-define.js
[edit]
[-] es6.array.species.js
[edit]
[-] core.string.escape-html.js
[edit]
[-] es6.string.repeat.js
[edit]
[-] es6.array.from.js
[edit]
[-] es7.set.of.js
[edit]
[-] _typed.js
[edit]
[-] es6.regexp.flags.js
[edit]
[-] es6.array.sort.js
[edit]
[-] _meta.js
[edit]
[-] _flatten-into-array.js
[edit]
[-] _object-keys.js
[edit]
[-] _string-trim.js
[edit]
[-] _microtask.js
[edit]
[-] _math-expm1.js
[edit]
[-] es6.array.join.js
[edit]
[-] core.object.make.js
[edit]
[-] es6.number.min-safe-integer.js
[edit]
[-] es6.string.big.js
[edit]
[-] _object-forced-pam.js
[edit]
[-] es7.weak-set.of.js
[edit]
[-] _native-weak-map.js
[edit]
[-] _object-gpo.js
[edit]
[-] es6.string.fontsize.js
[edit]
[-] es6.reflect.set.js
[edit]
[-] _cof.js
[edit]
[-] es6.math.cbrt.js
[edit]
[-] _wks-define.js
[edit]
[-] es7.math.deg-per-rad.js
[edit]
[-] es6.object.seal.js
[edit]
[-] es7.math.imulh.js
[edit]
[-] es7.error.is-error.js
[edit]
[-] _is-array.js
[edit]
[-] _a-function.js
[edit]
[-] es6.number.is-safe-integer.js
[edit]
[-] _export.js
[edit]
[-] _object-gopd.js
[edit]
[-] es7.object.entries.js
[edit]
[-] _object-define.js
[edit]
[-] es6.number.to-fixed.js
[edit]
[-] _string-html.js
[edit]
[-] _typed-buffer.js
[edit]
[-] es6.math.hypot.js
[edit]
[-] _fails.js
[edit]
[-] es7.string.match-all.js
[edit]
[-] _html.js
[edit]
[-] es6.string.anchor.js
[edit]
[-] _is-integer.js
[edit]
[-] es6.regexp.to-string.js
[edit]
[+]
library
[-] _array-reduce.js
[edit]
[-] es7.object.define-getter.js
[edit]
[-] es6.symbol.js
[edit]
[-] _iter-step.js
[edit]
[-] es6.array.map.js
[edit]
[-] es6.array.last-index-of.js
[edit]
[-] es6.object.to-string.js
[edit]
[-] es6.string.fontcolor.js
[edit]
[-] es6.number.parse-float.js
[edit]
[-] es7.observable.js
[edit]
[-] _an-object.js
[edit]
[-] _array-fill.js
[edit]
[-] es7.object.values.js
[edit]
[-] _object-keys-internal.js
[edit]
[-] es7.math.umulh.js
[edit]
[-] _wks.js
[edit]
[-] es6.string.starts-with.js
[edit]
[-] es6.object.define-properties.js
[edit]
[-] es7.math.fscale.js
[edit]
[-] es6.math.asinh.js
[edit]
[-] core.function.part.js
[edit]
[-] _add-to-unscopables.js
[edit]
[-] es7.string.trim-right.js
[edit]
[-] _array-species-constructor.js
[edit]
[-] _array-includes.js
[edit]
[-] _set-proto.js
[edit]
[-] es7.reflect.get-metadata-keys.js
[edit]
[-] es6.string.from-code-point.js
[edit]
[-] es6.regexp.match.js
[edit]
[-] es6.number.is-integer.js
[edit]
[-] es6.regexp.replace.js
[edit]
[-] es7.system.global.js
[edit]
[-] _bind.js
[edit]
[-] es6.object.freeze.js
[edit]
[-] es7.promise.finally.js
[edit]
[-] es6.typed.int32-array.js
[edit]
[-] _regexp-exec-abstract.js
[edit]
[-] core.delay.js
[edit]
[-] es6.array.find-index.js
[edit]
[-] es7.reflect.define-metadata.js
[edit]
[-] es7.reflect.metadata.js
[edit]
[-] _is-object.js
[edit]
[-] es7.array.flatten.js
[edit]
[-] core.object.define.js
[edit]
[-] _iter-call.js
[edit]
[-] _species-constructor.js
[edit]
[-] es6.math.tanh.js
[edit]
[-] core.regexp.escape.js
[edit]
[-] _object-create.js
[edit]
[-] es6.reflect.prevent-extensions.js
[edit]
[-] es6.array.index-of.js
[edit]
[-] es6.array.slice.js
[edit]
[-] es6.math.cosh.js
[edit]
[-] _task.js
[edit]
[-] es6.string.iterator.js
[edit]
[-] es6.date.now.js
[edit]
[-] _path.js
[edit]
[-] _hide.js
[edit]
[-] es7.asap.js
[edit]
[-] _defined.js
[edit]
[-] core.object.classof.js
[edit]
[-] es6.reflect.is-extensible.js
[edit]
[-] es6.math.log1p.js
[edit]
[-] es6.typed.uint8-array.js
[edit]
[-] es6.date.to-primitive.js
[edit]
[-] _property-desc.js
[edit]
[-] es6.promise.js
[edit]
[-] _redefine.js
[edit]
[-] es7.string.pad-start.js
[edit]
[-] es6.math.log10.js
[edit]
[-] es6.string.small.js
[edit]
[-] _math-sign.js
[edit]
[-] _metadata.js
[edit]
[-] _own-keys.js
[edit]
[-] es6.math.log2.js
[edit]
[-] _to-length.js
[edit]
[-] _library.js
[edit]
[-] es6.typed.float64-array.js
[edit]
[-] es7.array.includes.js
[edit]
[-] es6.array.reduce.js
[edit]
[-] es7.symbol.observable.js
[edit]
[-] _user-agent.js
[edit]
[-] es6.array.of.js
[edit]
[-] es7.symbol.async-iterator.js
[edit]