Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
Fixes #105 by updating @actions/core to v1.10.0
  • Loading branch information
andstor committed Oct 24, 2022
1 parent ef72eba commit e6b07c7
Show file tree
Hide file tree
Showing 3 changed files with 1,368 additions and 839 deletions.
22 changes: 17 additions & 5 deletions dist/index.js
Expand Up @@ -8,7 +8,11 @@

var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
Expand Down Expand Up @@ -2660,6 +2664,8 @@ function setopts (self, pattern, options) {
// Note that they are not supported in Glob itself anyway.
options.nonegate = true
options.nocomment = true
// always treat \ in patterns as escapes, not path separators
options.allowWindowsEscape = false

self.minimatch = new Minimatch(pattern, options)
self.options = self.minimatch.options
Expand Down Expand Up @@ -3135,7 +3141,10 @@ Glob.prototype._process = function (pattern, index, inGlobStar, cb) {
var read
if (prefix === null)
read = '.'
else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
else if (isAbsolute(prefix) ||
isAbsolute(pattern.map(function (p) {
return typeof p === 'string' ? p : '[*]'
}).join('/'))) {
if (!prefix || !isAbsolute(prefix))
prefix = '/' + prefix
read = prefix
Expand Down Expand Up @@ -3635,7 +3644,7 @@ function GlobSync (pattern, options) {
}

GlobSync.prototype._finish = function () {
assert(this instanceof GlobSync)
assert.ok(this instanceof GlobSync)
if (this.realpath) {
var self = this
this.matches.forEach(function (matchset, index) {
Expand All @@ -3659,7 +3668,7 @@ GlobSync.prototype._finish = function () {


GlobSync.prototype._process = function (pattern, index, inGlobStar) {
assert(this instanceof GlobSync)
assert.ok(this instanceof GlobSync)

// Get the first [n] parts of pattern that are all strings.
var n = 0
Expand Down Expand Up @@ -3696,7 +3705,10 @@ GlobSync.prototype._process = function (pattern, index, inGlobStar) {
var read
if (prefix === null)
read = '.'
else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
else if (isAbsolute(prefix) ||
isAbsolute(pattern.map(function (p) {
return typeof p === 'string' ? p : '[*]'
}).join('/'))) {
if (!prefix || !isAbsolute(prefix))
prefix = '/' + prefix
read = prefix
Expand Down

0 comments on commit e6b07c7

Please sign in to comment.