This commit is contained in:
2022-07-18 02:50:52 +00:00
parent befd344ab0
commit 06181b34d6
8569 changed files with 818704 additions and 352705 deletions
+3 -1
View File
@@ -86,7 +86,9 @@ const anymatch = (matchers, testString, options = DEFAULT_OPTIONS) => {
.filter(item => typeof item === 'string' && item.charAt(0) === BANG)
.map(item => item.slice(1))
.map(item => picomatch(item, opts));
const patterns = mtchers.map(matcher => createPattern(matcher, opts));
const patterns = mtchers
.filter(item => typeof item !== 'string' || (typeof item === 'string' && item.charAt(0) !== BANG))
.map(matcher => createPattern(matcher, opts));
if (testString == null) {
return (testString, ri = false) => {
+12 -12
View File
@@ -1,32 +1,32 @@
{
"_args": [
[
"anymatch@3.1.1",
"/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series"
"anymatch@3.1.2",
"/home/node/nuxt"
]
],
"_from": "anymatch@3.1.1",
"_id": "anymatch@3.1.1",
"_from": "anymatch@3.1.2",
"_id": "anymatch@3.1.2",
"_inBundle": false,
"_integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==",
"_integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
"_location": "/anymatch",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "anymatch@3.1.1",
"raw": "anymatch@3.1.2",
"name": "anymatch",
"escapedName": "anymatch",
"rawSpec": "3.1.1",
"rawSpec": "3.1.2",
"saveSpec": null,
"fetchSpec": "3.1.1"
"fetchSpec": "3.1.2"
},
"_requiredBy": [
"/chokidar"
],
"_resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz",
"_spec": "3.1.1",
"_where": "/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series",
"_resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",
"_spec": "3.1.2",
"_where": "/home/node/nuxt",
"author": {
"name": "Elan Shanker",
"url": "https://github.com/es128"
@@ -75,5 +75,5 @@
"mocha": "mocha",
"test": "nyc mocha"
},
"version": "3.1.1"
"version": "3.1.2"
}