This commit is contained in:
how2ice
2025-08-16 14:19:20 +09:00
parent 44cca8f122
commit 3b3ae51be4
1474 changed files with 20539 additions and 1058 deletions

20
node_modules/is-extglob/index.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
/*!
* is-extglob <https://github.com/jonschlinkert/is-extglob>
*
* Copyright (c) 2014-2016, Jon Schlinkert.
* Licensed under the MIT License.
*/
module.exports = function isExtglob(str) {
if (typeof str !== 'string' || str === '') {
return false;
}
var match;
while ((match = /(\\).|([@?!+*]\(.*\))/g.exec(str))) {
if (match[2]) return true;
str = str.slice(match.index + match[0].length);
}
return false;
};