Merge pull request #40 from richardrigutins:dependabot/npm_and_yarn/glob-10.3.4

chore(deps): bump glob from 10.3.3 to 10.3.4
This commit is contained in:
Riccardo Rigutini 2023-09-04 20:03:02 +02:00 committed by GitHub
commit 901a7da786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 20 deletions

15
dist/index.js generated vendored
View File

@ -4103,9 +4103,6 @@ class Processor {
while (typeof (p = pattern.pattern()) === 'string' && while (typeof (p = pattern.pattern()) === 'string' &&
(rest = pattern.rest())) { (rest = pattern.rest())) {
const c = t.resolve(p); const c = t.resolve(p);
// we can be reasonably sure that .. is a readable dir
if (c.isUnknown() && p !== '..')
break;
t = c; t = c;
pattern = rest; pattern = rest;
changed = true; changed = true;
@ -4121,14 +4118,10 @@ class Processor {
// more strings for an unknown entry, // more strings for an unknown entry,
// or a pattern starting with magic, mounted on t. // or a pattern starting with magic, mounted on t.
if (typeof p === 'string') { if (typeof p === 'string') {
// must be final entry // must not be final entry, otherwise we would have
if (!rest) { // concatenated it earlier.
const ifDir = p === '..' || p === '' || p === '.'; const ifDir = p === '..' || p === '' || p === '.';
this.matches.add(t.resolve(p), absolute, ifDir); this.matches.add(t.resolve(p), absolute, ifDir);
}
else {
this.subwalks.add(t, pattern);
}
continue; continue;
} }
else if (p === minimatch_1.GLOBSTAR) { else if (p === minimatch_1.GLOBSTAR) {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

14
package-lock.json generated
View File

@ -10,7 +10,7 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@actions/core": "^1.10.0", "@actions/core": "^1.10.0",
"glob": "^10.3.3" "glob": "^10.3.4"
}, },
"devDependencies": { "devDependencies": {
"@types/jest": "^29.5.4", "@types/jest": "^29.5.4",
@ -4251,9 +4251,9 @@
} }
}, },
"node_modules/glob": { "node_modules/glob": {
"version": "10.3.3", "version": "10.3.4",
"resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.4.tgz",
"integrity": "sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==", "integrity": "sha512-6LFElP3A+i/Q8XQKEvZjkEWEOTgAIALR9AO2rwT8bgPhDd1anmqDJDZ6lLddI4ehxxxR1S5RIqKe1uapMQfYaQ==",
"dependencies": { "dependencies": {
"foreground-child": "^3.1.0", "foreground-child": "^3.1.0",
"jackspeak": "^2.0.3", "jackspeak": "^2.0.3",
@ -10639,9 +10639,9 @@
} }
}, },
"glob": { "glob": {
"version": "10.3.3", "version": "10.3.4",
"resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.4.tgz",
"integrity": "sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==", "integrity": "sha512-6LFElP3A+i/Q8XQKEvZjkEWEOTgAIALR9AO2rwT8bgPhDd1anmqDJDZ6lLddI4ehxxxR1S5RIqKe1uapMQfYaQ==",
"requires": { "requires": {
"foreground-child": "^3.1.0", "foreground-child": "^3.1.0",
"jackspeak": "^2.0.3", "jackspeak": "^2.0.3",

View File

@ -25,7 +25,7 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@actions/core": "^1.10.0", "@actions/core": "^1.10.0",
"glob": "^10.3.3" "glob": "^10.3.4"
}, },
"devDependencies": { "devDependencies": {
"@types/jest": "^29.5.4", "@types/jest": "^29.5.4",