0.2.0 - Mid migration

This commit is contained in:
Daniel Mason 2022-04-25 14:47:15 +12:00
parent 139e6a915e
commit 7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions

10
web/node_modules/es5-ext/reg-exp/#/split/implement.js generated vendored Normal file
View file

@ -0,0 +1,10 @@
"use strict";
if (!require("./is-implemented")()) {
Object.defineProperty(RegExp.prototype, "split", {
value: require("./shim"),
configurable: true,
enumerable: false,
writable: true
});
}

3
web/node_modules/es5-ext/reg-exp/#/split/index.js generated vendored Normal file
View file

@ -0,0 +1,3 @@
"use strict";
module.exports = require("./is-implemented")() ? RegExp.prototype.split : require("./shim");

View file

@ -0,0 +1,8 @@
"use strict";
var re = /\|/;
module.exports = function () {
if (typeof re.split !== "function") return false;
return re.split("bar|foo")[1] === "foo";
};

8
web/node_modules/es5-ext/reg-exp/#/split/shim.js generated vendored Normal file
View file

@ -0,0 +1,8 @@
"use strict";
var validRegExp = require("../../valid-reg-exp");
module.exports = function (string) {
validRegExp(this);
return String(string).split(this);
};