refactor(Cypress): add nodemodules

This commit is contained in:
2021-09-02 17:18:41 +02:00
parent 1aa57bbd0a
commit bc6e1bc12e
4238 changed files with 340975 additions and 8 deletions

11
node_modules/es5-ext/reg-exp/#/sticky/implement.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
"use strict";
var isSticky = require("../is-sticky");
if (!require("./is-implemented")()) {
Object.defineProperty(RegExp.prototype, "sticky", {
configurable: true,
enumerable: false,
get: isSticky
});
}

View File

@@ -0,0 +1,10 @@
"use strict";
module.exports = function () {
var dummyRegExp = /a/;
// We need to do check on instance and not on prototype due to how ES2015 spec evolved:
// https://github.com/tc39/ecma262/issues/262
// https://github.com/tc39/ecma262/pull/263
// https://bugs.chromium.org/p/v8/issues/detail?id=4617
return "sticky" in dummyRegExp;
};