diff --git a/dist/index.js b/dist/index.js index e66f6c0ff..8f75738dc 100644 --- a/dist/index.js +++ b/dist/index.js @@ -48689,6 +48689,8 @@ function useColors() { return false; } + let m; + // Is webkit? http://stackoverflow.com/a/16459606/376773 // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || @@ -48696,7 +48698,7 @@ function useColors() { (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || // Is firefox >= v31? // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || + (typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31) || // Double check webkit in userAgent just in case we are in a worker (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); } @@ -49325,11 +49327,11 @@ function getDate() { } /** - * Invokes `util.format()` with the specified arguments and writes to stderr. + * Invokes `util.formatWithOptions()` with the specified arguments and writes to stderr. */ function log(...args) { - return process.stderr.write(util.format(...args) + '\n'); + return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + '\n'); } /** diff --git a/examples/install-command/package.json b/examples/install-command/package.json index be2836fce..daecff3dd 100644 --- a/examples/install-command/package.json +++ b/examples/install-command/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "arg": "5.0.0", - "debug": "4.3.4" + "debug": "4.3.6" } } diff --git a/examples/install-command/yarn.lock b/examples/install-command/yarn.lock index 5cc92a90e..56a0b7485 100644 --- a/examples/install-command/yarn.lock +++ b/examples/install-command/yarn.lock @@ -353,10 +353,10 @@ dayjs@^1.10.4: resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.9.tgz#9ca491933fadd0a60a2c19f6c237c03517d71d1a" integrity sha512-QvzAURSbQ0pKdIye2txOzNaHmxtUBXerpY0FJsFXUMKbIZeFm5ht1LS/jFsrncjnmtv8HsG0W2g6c0zUjZWmpA== -debug@4.3.4, debug@^4.1.1, debug@^4.3.4: - version "4.3.4" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" - integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== +debug@4.3.6: + version "4.3.6" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.6.tgz#2ab2c38fbaffebf8aa95fdfe6d88438c7a13c52b" + integrity sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg== dependencies: ms "2.1.2" @@ -367,6 +367,13 @@ debug@^3.1.0: dependencies: ms "^2.1.1" +debug@^4.1.1, debug@^4.3.4: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" diff --git a/examples/install-only/package-lock.json b/examples/install-only/package-lock.json index d3aa17f29..e840b69f1 100644 --- a/examples/install-only/package-lock.json +++ b/examples/install-only/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "dependencies": { "arg": "5.0.0", - "debug": "4.3.4" + "debug": "4.3.6" }, "devDependencies": { "cypress": "13.13.1" @@ -607,9 +607,10 @@ "dev": true }, "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", + "license": "MIT", "dependencies": { "ms": "2.1.2" }, diff --git a/examples/install-only/package.json b/examples/install-only/package.json index c9c6b213e..33374cda9 100644 --- a/examples/install-only/package.json +++ b/examples/install-only/package.json @@ -8,7 +8,7 @@ "private": true, "dependencies": { "arg": "5.0.0", - "debug": "4.3.4" + "debug": "4.3.6" }, "devDependencies": { "cypress": "13.13.1" diff --git a/examples/wait-on/package-lock.json b/examples/wait-on/package-lock.json index 82337b45e..cfd7ef485 100644 --- a/examples/wait-on/package-lock.json +++ b/examples/wait-on/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "dependencies": { "arg": "5.0.0", - "debug": "4.3.4" + "debug": "4.3.6" }, "devDependencies": { "cypress": "13.13.1" @@ -607,9 +607,10 @@ "dev": true }, "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", + "license": "MIT", "dependencies": { "ms": "2.1.2" }, diff --git a/examples/wait-on/package.json b/examples/wait-on/package.json index 7f2dd5b39..4c4279995 100644 --- a/examples/wait-on/package.json +++ b/examples/wait-on/package.json @@ -17,7 +17,7 @@ "private": true, "dependencies": { "arg": "5.0.0", - "debug": "4.3.4" + "debug": "4.3.6" }, "devDependencies": { "cypress": "13.13.1" diff --git a/package-lock.json b/package-lock.json index 365d87ca6..f8f9a01be 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@actions/io": "1.1.3", "@octokit/core": "4.2.0", "argument-vector": "1.0.2", - "debug": "4.3.4", + "debug": "4.3.6", "find-yarn-workspace-root": "2.0.0", "got": "11.8.6", "hasha": "5.2.2", @@ -775,9 +775,10 @@ } }, "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", + "license": "MIT", "dependencies": { "ms": "2.1.2" }, diff --git a/package.json b/package.json index 54eaa9b34..600c2a00d 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "@actions/io": "1.1.3", "@octokit/core": "4.2.0", "argument-vector": "1.0.2", - "debug": "4.3.4", + "debug": "4.3.6", "find-yarn-workspace-root": "2.0.0", "got": "11.8.6", "hasha": "5.2.2",