Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: lock file maintenance #388

Merged
merged 2 commits into from
Feb 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion github-actions/commit-message-based-labels/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -34856,6 +34856,8 @@ var require_signal_exit = __commonJS({
};
if (!processOk(process2)) {
module2.exports = function() {
return function() {
};
};
} else {
assert = require("assert");
Expand All @@ -34878,7 +34880,8 @@ var require_signal_exit = __commonJS({
}
module2.exports = function(cb, opts) {
if (!processOk(global.process)) {
return;
return function() {
};
}
assert.equal(typeof cb, "function", "a callback must be provided for exit handler");
if (loaded === false) {
Expand Down
5 changes: 4 additions & 1 deletion github-actions/slash-commands/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -40417,6 +40417,8 @@ var require_signal_exit = __commonJS({
};
if (!processOk(process2)) {
module2.exports = function() {
return function() {
};
};
} else {
assert = require("assert");
Expand All @@ -40439,7 +40441,8 @@ var require_signal_exit = __commonJS({
}
module2.exports = function(cb, opts) {
if (!processOk(global.process)) {
return;
return function() {
};
}
assert.equal(typeof cb, "function", "a callback must be provided for exit handler");
if (loaded === false) {
Expand Down
93 changes: 59 additions & 34 deletions tools/local-actions/changelog/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -28965,6 +28965,8 @@ var require_signal_exit = __commonJS({
};
if (!processOk(process2)) {
module2.exports = function() {
return function() {
};
};
} else {
assert = require("assert");
Expand All @@ -28987,7 +28989,8 @@ var require_signal_exit = __commonJS({
}
module2.exports = function(cb, opts) {
if (!processOk(global.process)) {
return;
return function() {
};
}
assert.equal(typeof cb, "function", "a callback must be provided for exit handler");
if (loaded === false) {
Expand Down Expand Up @@ -47597,11 +47600,15 @@ var require_minimatch = __commonJS({
""(exports2, module2) {
module2.exports = minimatch;
minimatch.Minimatch = Minimatch;
var path = { sep: "/" };
try {
path = require("path");
} catch (er) {
}
var path = (() => {
try {
return require("path");
} catch (e) {
}
})() || {
sep: "/"
};
minimatch.sep = path.sep;
var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {};
var expand = require_brace_expansion();
var plTypes = {
Expand Down Expand Up @@ -47633,36 +47640,51 @@ var require_minimatch = __commonJS({
function ext(a, b) {
a = a || {};
b = b || {};
var t = {};
Object.keys(b).forEach(function(k) {
t[k] = b[k];
});
const t = {};
Object.keys(a).forEach(function(k) {
t[k] = a[k];
});
Object.keys(b).forEach(function(k) {
t[k] = b[k];
});
return t;
}
minimatch.defaults = function(def) {
if (!def || !Object.keys(def).length)
if (!def || typeof def !== "object" || !Object.keys(def).length) {
return minimatch;
var orig = minimatch;
var m = function minimatch2(p, pattern, options) {
return orig.minimatch(p, pattern, ext(def, options));
}
const orig = minimatch;
const m = function minimatch2(p, pattern, options) {
return orig(p, pattern, ext(def, options));
};
m.Minimatch = function Minimatch2(pattern, options) {
return new orig.Minimatch(pattern, ext(def, options));
};
m.Minimatch.defaults = (options) => {
return orig.defaults(ext(def, options)).Minimatch;
};
m.filter = function filter2(pattern, options) {
return orig.filter(pattern, ext(def, options));
};
m.defaults = function defaults(options) {
return orig.defaults(ext(def, options));
};
m.makeRe = function makeRe2(pattern, options) {
return orig.makeRe(pattern, ext(def, options));
};
m.braceExpand = function braceExpand2(pattern, options) {
return orig.braceExpand(pattern, ext(def, options));
};
m.match = function(list, pattern, options) {
return orig.match(list, pattern, ext(def, options));
};
return m;
};
Minimatch.defaults = function(def) {
if (!def || !Object.keys(def).length)
return Minimatch;
return minimatch.defaults(def).Minimatch;
};
function minimatch(p, pattern, options) {
if (typeof pattern !== "string") {
throw new TypeError("glob pattern string required");
}
assertValidPattern(pattern);
if (!options)
options = {};
if (!options.nocomment && pattern.charAt(0) === "#") {
Expand All @@ -47676,9 +47698,7 @@ var require_minimatch = __commonJS({
if (!(this instanceof Minimatch)) {
return new Minimatch(pattern, options);
}
if (typeof pattern !== "string") {
throw new TypeError("glob pattern string required");
}
assertValidPattern(pattern);
if (!options)
options = {};
pattern = pattern.trim();
Expand Down Expand Up @@ -47758,27 +47778,32 @@ var require_minimatch = __commonJS({
}
}
pattern = typeof pattern === "undefined" ? this.pattern : pattern;
if (typeof pattern === "undefined") {
throw new TypeError("undefined pattern");
}
if (options.nobrace || !pattern.match(/\{.*\}/)) {
assertValidPattern(pattern);
if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
return [pattern];
}
return expand(pattern);
}
var MAX_PATTERN_LENGTH = 1024 * 64;
var assertValidPattern = (pattern) => {
if (typeof pattern !== "string") {
throw new TypeError("invalid pattern");
}
if (pattern.length > MAX_PATTERN_LENGTH) {
throw new TypeError("pattern is too long");
}
};
Minimatch.prototype.parse = parse;
var SUBPARSE = {};
function parse(pattern, isSub) {
if (pattern.length > 1024 * 64) {
throw new TypeError("pattern is too long");
}
assertValidPattern(pattern);
var options = this.options;
if (!options.noglobstar && pattern === "**")
return GLOBSTAR;
if (pattern === "")
return "";
var re = "";
var hasMagic = !!options.nocase;
var hasMagic = false;
var escaping = false;
var patternListStack = [];
var negativeLists = [];
Expand Down Expand Up @@ -47815,8 +47840,9 @@ var require_minimatch = __commonJS({
continue;
}
switch (c) {
case "/":
case "/": {
return false;
}
case "\\":
clearStateChar();
escaping = true;
Expand Down Expand Up @@ -48031,7 +48057,7 @@ var require_minimatch = __commonJS({
}
minimatch.match = function(list, pattern, options) {
options = options || {};
var mm = new Minimatch(pattern, options);
const mm = new Minimatch(pattern, options);
list = list.filter(function(f) {
return mm.match(f);
});
Expand Down Expand Up @@ -48146,8 +48172,7 @@ var require_minimatch = __commonJS({
} else if (fi === fl) {
return partial;
} else if (pi === pl) {
var emptyFileEnd = fi === fl - 1 && file[fi] === "";
return emptyFileEnd;
return fi === fl - 1 && file[fi] === "";
}
throw new Error("wtf?");
};
Expand Down
Loading