Package upgrades
This commit is contained in:
17
dist/plyr.polyfilled.js
vendored
17
dist/plyr.polyfilled.js
vendored
@ -574,7 +574,7 @@ typeof navigator === "object" && (function (global, factory) {
|
||||
});
|
||||
|
||||
var _core = createCommonjsModule(function (module) {
|
||||
var core = module.exports = { version: '2.6.2' };
|
||||
var core = module.exports = { version: '2.6.3' };
|
||||
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
||||
});
|
||||
var _core_1 = _core.version;
|
||||
@ -2333,9 +2333,10 @@ typeof navigator === "object" && (function (global, factory) {
|
||||
var $SPLIT = 'split';
|
||||
var LENGTH = 'length';
|
||||
var LAST_INDEX$1 = 'lastIndex';
|
||||
var MAX_UINT32 = 0xffffffff;
|
||||
|
||||
// eslint-disable-next-line no-empty
|
||||
var SUPPORTS_Y = !!(function () { try { return new RegExp('x', 'y'); } catch (e) {} })();
|
||||
// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
|
||||
var SUPPORTS_Y = !_fails(function () { });
|
||||
|
||||
// @@split logic
|
||||
_fixReWks('split', 2, function (defined, SPLIT, $split, maybeCallNative) {
|
||||
@ -2360,7 +2361,7 @@ typeof navigator === "object" && (function (global, factory) {
|
||||
(separator.unicode ? 'u' : '') +
|
||||
(separator.sticky ? 'y' : '');
|
||||
var lastLastIndex = 0;
|
||||
var splitLimit = limit === undefined ? 4294967295 : limit >>> 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;
|
||||
@ -2414,14 +2415,14 @@ typeof navigator === "object" && (function (global, factory) {
|
||||
|
||||
var unicodeMatching = rx.unicode;
|
||||
var flags = (rx.ignoreCase ? 'i' : '') +
|
||||
(rx.multiline ? 'm' : '') +
|
||||
(rx.unicode ? 'u' : '') +
|
||||
(SUPPORTS_Y ? 'y' : 'g');
|
||||
(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 ? 0xffffffff : limit >>> 0;
|
||||
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
|
||||
if (lim === 0) return [];
|
||||
if (S.length === 0) return _regexpExecAbstract(splitter, S) === null ? [S] : [];
|
||||
var p = 0;
|
||||
|
Reference in New Issue
Block a user