From 0d7d2ca66539aca4af6c5102e29a33757e2c2d2c Mon Sep 17 00:00:00 2001 From: Chris Patterson Date: Sun, 4 Aug 2019 16:20:50 -0400 Subject: [PATCH] publishing v1 of action --- node_modules/.bin/semver | 16 +- node_modules/.bin/semver.cmd | 7 - node_modules/.bin/shjs | 16 +- node_modules/.bin/shjs.cmd | 7 - node_modules/.bin/uuid | 16 +- node_modules/.bin/uuid.cmd | 7 - node_modules/@actions/core/README.md | 14 +- node_modules/@actions/core/lib/command.d.ts | 32 +-- node_modules/@actions/core/lib/command.js | 130 ++++++------ node_modules/@actions/core/lib/core.d.ts | 114 +++++----- node_modules/@actions/core/lib/core.js | 198 +++++++++--------- node_modules/@actions/core/package.json | 12 +- node_modules/@actions/exec/package.json | 12 +- node_modules/@actions/exit/package.json | 12 +- node_modules/@actions/io/package.json | 12 +- .../@actions/tool-cache/lib/tool-cache.js | 8 +- node_modules/@actions/tool-cache/package.json | 12 +- node_modules/semver/package.json | 23 +- node_modules/shelljs/bin/shjs | 0 node_modules/shelljs/package.json | 2 +- node_modules/shelljs/scripts/generate-docs.js | 0 node_modules/shelljs/scripts/run-tests.js | 0 node_modules/tunnel/package.json | 2 +- node_modules/typed-rest-client/package.json | 2 +- node_modules/underscore/package.json | 2 +- node_modules/uuid/package.json | 23 +- package-lock.json | 41 +++- 27 files changed, 341 insertions(+), 379 deletions(-) mode change 100644 => 120000 node_modules/.bin/semver delete mode 100644 node_modules/.bin/semver.cmd mode change 100644 => 120000 node_modules/.bin/shjs delete mode 100644 node_modules/.bin/shjs.cmd mode change 100644 => 120000 node_modules/.bin/uuid delete mode 100644 node_modules/.bin/uuid.cmd mode change 100644 => 100755 node_modules/shelljs/bin/shjs mode change 100644 => 100755 node_modules/shelljs/scripts/generate-docs.js mode change 100644 => 100755 node_modules/shelljs/scripts/run-tests.js diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver deleted file mode 100644 index d592e69..0000000 --- a/node_modules/.bin/semver +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") - -case `uname` in - *CYGWIN*) basedir=`cygpath -w "$basedir"`;; -esac - -if [ -x "$basedir/node" ]; then - "$basedir/node" "$basedir/../semver/bin/semver" "$@" - ret=$? -else - node "$basedir/../semver/bin/semver" "$@" - ret=$? -fi -exit $ret diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver new file mode 120000 index 0000000..317eb29 --- /dev/null +++ b/node_modules/.bin/semver @@ -0,0 +1 @@ +../semver/bin/semver \ No newline at end of file diff --git a/node_modules/.bin/semver.cmd b/node_modules/.bin/semver.cmd deleted file mode 100644 index 37c00a4..0000000 --- a/node_modules/.bin/semver.cmd +++ /dev/null @@ -1,7 +0,0 @@ -@IF EXIST "%~dp0\node.exe" ( - "%~dp0\node.exe" "%~dp0\..\semver\bin\semver" %* -) ELSE ( - @SETLOCAL - @SET PATHEXT=%PATHEXT:;.JS;=;% - node "%~dp0\..\semver\bin\semver" %* -) \ No newline at end of file diff --git a/node_modules/.bin/shjs b/node_modules/.bin/shjs deleted file mode 100644 index 1d45691..0000000 --- a/node_modules/.bin/shjs +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") - -case `uname` in - *CYGWIN*) basedir=`cygpath -w "$basedir"`;; -esac - -if [ -x "$basedir/node" ]; then - "$basedir/node" "$basedir/../shelljs/bin/shjs" "$@" - ret=$? -else - node "$basedir/../shelljs/bin/shjs" "$@" - ret=$? -fi -exit $ret diff --git a/node_modules/.bin/shjs b/node_modules/.bin/shjs new file mode 120000 index 0000000..a044997 --- /dev/null +++ b/node_modules/.bin/shjs @@ -0,0 +1 @@ +../shelljs/bin/shjs \ No newline at end of file diff --git a/node_modules/.bin/shjs.cmd b/node_modules/.bin/shjs.cmd deleted file mode 100644 index 3d98b0b..0000000 --- a/node_modules/.bin/shjs.cmd +++ /dev/null @@ -1,7 +0,0 @@ -@IF EXIST "%~dp0\node.exe" ( - "%~dp0\node.exe" "%~dp0\..\shelljs\bin\shjs" %* -) ELSE ( - @SETLOCAL - @SET PATHEXT=%PATHEXT:;.JS;=;% - node "%~dp0\..\shelljs\bin\shjs" %* -) \ No newline at end of file diff --git a/node_modules/.bin/uuid b/node_modules/.bin/uuid deleted file mode 100644 index f3bfcf4..0000000 --- a/node_modules/.bin/uuid +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") - -case `uname` in - *CYGWIN*) basedir=`cygpath -w "$basedir"`;; -esac - -if [ -x "$basedir/node" ]; then - "$basedir/node" "$basedir/../uuid/bin/uuid" "$@" - ret=$? -else - node "$basedir/../uuid/bin/uuid" "$@" - ret=$? -fi -exit $ret diff --git a/node_modules/.bin/uuid b/node_modules/.bin/uuid new file mode 120000 index 0000000..b3e45bc --- /dev/null +++ b/node_modules/.bin/uuid @@ -0,0 +1 @@ +../uuid/bin/uuid \ No newline at end of file diff --git a/node_modules/.bin/uuid.cmd b/node_modules/.bin/uuid.cmd deleted file mode 100644 index da52d68..0000000 --- a/node_modules/.bin/uuid.cmd +++ /dev/null @@ -1,7 +0,0 @@ -@IF EXIST "%~dp0\node.exe" ( - "%~dp0\node.exe" "%~dp0\..\uuid\bin\uuid" %* -) ELSE ( - @SETLOCAL - @SET PATHEXT=%PATHEXT:;.JS;=;% - node "%~dp0\..\uuid\bin\uuid" %* -) \ No newline at end of file diff --git a/node_modules/@actions/core/README.md b/node_modules/@actions/core/README.md index d5bf5ba..597525c 100644 --- a/node_modules/@actions/core/README.md +++ b/node_modules/@actions/core/README.md @@ -1,7 +1,7 @@ -# `@actions/core` - -> Core functions for setting results, logging, registering secrets and exporting variables across actions - -## Usage - -See [src/core.ts](src/core.ts). +# `@actions/core` + +> Core functions for setting results, logging, registering secrets and exporting variables across actions + +## Usage + +See [src/core.ts](src/core.ts). diff --git a/node_modules/@actions/core/lib/command.d.ts b/node_modules/@actions/core/lib/command.d.ts index 9ad8647..c06fcff 100644 --- a/node_modules/@actions/core/lib/command.d.ts +++ b/node_modules/@actions/core/lib/command.d.ts @@ -1,16 +1,16 @@ -interface CommandProperties { - [key: string]: string; -} -/** - * Commands - * - * Command Format: - * ##[name key=value;key=value]message - * - * Examples: - * ##[warning]This is the user warning message - * ##[set-secret name=mypassword]definatelyNotAPassword! - */ -export declare function issueCommand(command: string, properties: CommandProperties, message: string): void; -export declare function issue(name: string, message: string): void; -export {}; +interface CommandProperties { + [key: string]: string; +} +/** + * Commands + * + * Command Format: + * ##[name key=value;key=value]message + * + * Examples: + * ##[warning]This is the user warning message + * ##[set-secret name=mypassword]definatelyNotAPassword! + */ +export declare function issueCommand(command: string, properties: CommandProperties, message: string): void; +export declare function issue(name: string, message: string): void; +export {}; diff --git a/node_modules/@actions/core/lib/command.js b/node_modules/@actions/core/lib/command.js index 911698e..707660c 100644 --- a/node_modules/@actions/core/lib/command.js +++ b/node_modules/@actions/core/lib/command.js @@ -1,66 +1,66 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const os = require("os"); -/** - * Commands - * - * Command Format: - * ##[name key=value;key=value]message - * - * Examples: - * ##[warning]This is the user warning message - * ##[set-secret name=mypassword]definatelyNotAPassword! - */ -function issueCommand(command, properties, message) { - const cmd = new Command(command, properties, message); - process.stdout.write(cmd.toString() + os.EOL); -} -exports.issueCommand = issueCommand; -function issue(name, message) { - issueCommand(name, {}, message); -} -exports.issue = issue; -const CMD_PREFIX = '##['; -class Command { - constructor(command, properties, message) { - if (!command) { - command = 'missing.command'; - } - this.command = command; - this.properties = properties; - this.message = message; - } - toString() { - let cmdStr = CMD_PREFIX + this.command; - if (this.properties && Object.keys(this.properties).length > 0) { - cmdStr += ' '; - for (const key in this.properties) { - if (this.properties.hasOwnProperty(key)) { - const val = this.properties[key]; - if (val) { - // safely append the val - avoid blowing up when attempting to - // call .replace() if message is not a string for some reason - cmdStr += `${key}=${escape(`${val || ''}`)};`; - } - } - } - } - cmdStr += ']'; - // safely append the message - avoid blowing up when attempting to - // call .replace() if message is not a string for some reason - const message = `${this.message || ''}`; - cmdStr += escapeData(message); - return cmdStr; - } -} -function escapeData(s) { - return s.replace(/\r/g, '%0D').replace(/\n/g, '%0A'); -} -function escape(s) { - return s - .replace(/\r/g, '%0D') - .replace(/\n/g, '%0A') - .replace(/]/g, '%5D') - .replace(/;/g, '%3B'); -} +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const os = require("os"); +/** + * Commands + * + * Command Format: + * ##[name key=value;key=value]message + * + * Examples: + * ##[warning]This is the user warning message + * ##[set-secret name=mypassword]definatelyNotAPassword! + */ +function issueCommand(command, properties, message) { + const cmd = new Command(command, properties, message); + process.stdout.write(cmd.toString() + os.EOL); +} +exports.issueCommand = issueCommand; +function issue(name, message) { + issueCommand(name, {}, message); +} +exports.issue = issue; +const CMD_PREFIX = '##['; +class Command { + constructor(command, properties, message) { + if (!command) { + command = 'missing.command'; + } + this.command = command; + this.properties = properties; + this.message = message; + } + toString() { + let cmdStr = CMD_PREFIX + this.command; + if (this.properties && Object.keys(this.properties).length > 0) { + cmdStr += ' '; + for (const key in this.properties) { + if (this.properties.hasOwnProperty(key)) { + const val = this.properties[key]; + if (val) { + // safely append the val - avoid blowing up when attempting to + // call .replace() if message is not a string for some reason + cmdStr += `${key}=${escape(`${val || ''}`)};`; + } + } + } + } + cmdStr += ']'; + // safely append the message - avoid blowing up when attempting to + // call .replace() if message is not a string for some reason + const message = `${this.message || ''}`; + cmdStr += escapeData(message); + return cmdStr; + } +} +function escapeData(s) { + return s.replace(/\r/g, '%0D').replace(/\n/g, '%0A'); +} +function escape(s) { + return s + .replace(/\r/g, '%0D') + .replace(/\n/g, '%0A') + .replace(/]/g, '%5D') + .replace(/;/g, '%3B'); +} //# sourceMappingURL=command.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/core.d.ts b/node_modules/@actions/core/lib/core.d.ts index da2572f..1b37ca8 100644 --- a/node_modules/@actions/core/lib/core.d.ts +++ b/node_modules/@actions/core/lib/core.d.ts @@ -1,57 +1,57 @@ -/** - * Interface for getInput options - */ -export interface InputOptions { - /** Optional. Whether the input is required. If required and not present, will throw. Defaults to false */ - required?: boolean; -} -/** - * sets env variable for this action and future actions in the job - * @param name the name of the variable to set - * @param val the value of the variable - */ -export declare function exportVariable(name: string, val: string): void; -/** - * exports the variable and registers a secret which will get masked from logs - * @param name the name of the variable to set - * @param val value of the secret - */ -export declare function exportSecret(name: string, val: string): void; -/** - * Prepends inputPath to the PATH (for this action and future actions) - * @param inputPath - */ -export declare function addPath(inputPath: string): void; -/** - * Gets the value of an input. The value is also trimmed. - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns string - */ -export declare function getInput(name: string, options?: InputOptions): string; -/** - * Sets the action status to neutral - */ -export declare function setNeutral(): void; -/** - * Sets the action status to failed. - * When the action exits it will be with an exit code of 1 - * @param message add error issue message - */ -export declare function setFailed(message: string): void; -/** - * Writes debug message to user log - * @param message debug message - */ -export declare function debug(message: string): void; -/** - * Adds an error issue - * @param message error issue message - */ -export declare function error(message: string): void; -/** - * Adds an warning issue - * @param message warning issue message - */ -export declare function warning(message: string): void; +/** + * Interface for getInput options + */ +export interface InputOptions { + /** Optional. Whether the input is required. If required and not present, will throw. Defaults to false */ + required?: boolean; +} +/** + * sets env variable for this action and future actions in the job + * @param name the name of the variable to set + * @param val the value of the variable + */ +export declare function exportVariable(name: string, val: string): void; +/** + * exports the variable and registers a secret which will get masked from logs + * @param name the name of the variable to set + * @param val value of the secret + */ +export declare function exportSecret(name: string, val: string): void; +/** + * Prepends inputPath to the PATH (for this action and future actions) + * @param inputPath + */ +export declare function addPath(inputPath: string): void; +/** + * Gets the value of an input. The value is also trimmed. + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns string + */ +export declare function getInput(name: string, options?: InputOptions): string; +/** + * Sets the action status to neutral + */ +export declare function setNeutral(): void; +/** + * Sets the action status to failed. + * When the action exits it will be with an exit code of 1 + * @param message add error issue message + */ +export declare function setFailed(message: string): void; +/** + * Writes debug message to user log + * @param message debug message + */ +export declare function debug(message: string): void; +/** + * Adds an error issue + * @param message error issue message + */ +export declare function error(message: string): void; +/** + * Adds an warning issue + * @param message warning issue message + */ +export declare function warning(message: string): void; diff --git a/node_modules/@actions/core/lib/core.js b/node_modules/@actions/core/lib/core.js index 092b75b..c3b6e0d 100644 --- a/node_modules/@actions/core/lib/core.js +++ b/node_modules/@actions/core/lib/core.js @@ -1,100 +1,100 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const exit_1 = require("@actions/exit"); -const command_1 = require("./command"); -const path = require("path"); -//----------------------------------------------------------------------- -// Variables -//----------------------------------------------------------------------- -/** - * sets env variable for this action and future actions in the job - * @param name the name of the variable to set - * @param val the value of the variable - */ -function exportVariable(name, val) { - process.env[name] = val; - command_1.issueCommand('set-env', { name }, val); -} -exports.exportVariable = exportVariable; -/** - * exports the variable and registers a secret which will get masked from logs - * @param name the name of the variable to set - * @param val value of the secret - */ -function exportSecret(name, val) { - exportVariable(name, val); - command_1.issueCommand('set-secret', {}, val); -} -exports.exportSecret = exportSecret; -/** - * Prepends inputPath to the PATH (for this action and future actions) - * @param inputPath - */ -function addPath(inputPath) { - command_1.issueCommand('add-path', {}, inputPath); - process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`; -} -exports.addPath = addPath; -/** - * Gets the value of an input. The value is also trimmed. - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns string - */ -function getInput(name, options) { - const val = process.env[`INPUT_${name.replace(' ', '_').toUpperCase()}`] || ''; - if (options && options.required && !val) { - throw new Error(`Input required and not supplied: ${name}`); - } - return val.trim(); -} -exports.getInput = getInput; -//----------------------------------------------------------------------- -// Results -//----------------------------------------------------------------------- -/** - * Sets the action status to neutral - */ -function setNeutral() { - process.exitCode = exit_1.ExitCode.Neutral; -} -exports.setNeutral = setNeutral; -/** - * Sets the action status to failed. - * When the action exits it will be with an exit code of 1 - * @param message add error issue message - */ -function setFailed(message) { - process.exitCode = exit_1.ExitCode.Failure; - error(message); -} -exports.setFailed = setFailed; -//----------------------------------------------------------------------- -// Logging Commands -//----------------------------------------------------------------------- -/** - * Writes debug message to user log - * @param message debug message - */ -function debug(message) { - command_1.issueCommand('debug', {}, message); -} -exports.debug = debug; -/** - * Adds an error issue - * @param message error issue message - */ -function error(message) { - command_1.issue('error', message); -} -exports.error = error; -/** - * Adds an warning issue - * @param message warning issue message - */ -function warning(message) { - command_1.issue('warning', message); -} -exports.warning = warning; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const exit_1 = require("@actions/exit"); +const command_1 = require("./command"); +const path = require("path"); +//----------------------------------------------------------------------- +// Variables +//----------------------------------------------------------------------- +/** + * sets env variable for this action and future actions in the job + * @param name the name of the variable to set + * @param val the value of the variable + */ +function exportVariable(name, val) { + process.env[name] = val; + command_1.issueCommand('set-env', { name }, val); +} +exports.exportVariable = exportVariable; +/** + * exports the variable and registers a secret which will get masked from logs + * @param name the name of the variable to set + * @param val value of the secret + */ +function exportSecret(name, val) { + exportVariable(name, val); + command_1.issueCommand('set-secret', {}, val); +} +exports.exportSecret = exportSecret; +/** + * Prepends inputPath to the PATH (for this action and future actions) + * @param inputPath + */ +function addPath(inputPath) { + command_1.issueCommand('add-path', {}, inputPath); + process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`; +} +exports.addPath = addPath; +/** + * Gets the value of an input. The value is also trimmed. + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns string + */ +function getInput(name, options) { + const val = process.env[`INPUT_${name.replace(' ', '_').toUpperCase()}`] || ''; + if (options && options.required && !val) { + throw new Error(`Input required and not supplied: ${name}`); + } + return val.trim(); +} +exports.getInput = getInput; +//----------------------------------------------------------------------- +// Results +//----------------------------------------------------------------------- +/** + * Sets the action status to neutral + */ +function setNeutral() { + process.exitCode = exit_1.ExitCode.Neutral; +} +exports.setNeutral = setNeutral; +/** + * Sets the action status to failed. + * When the action exits it will be with an exit code of 1 + * @param message add error issue message + */ +function setFailed(message) { + process.exitCode = exit_1.ExitCode.Failure; + error(message); +} +exports.setFailed = setFailed; +//----------------------------------------------------------------------- +// Logging Commands +//----------------------------------------------------------------------- +/** + * Writes debug message to user log + * @param message debug message + */ +function debug(message) { + command_1.issueCommand('debug', {}, message); +} +exports.debug = debug; +/** + * Adds an error issue + * @param message error issue message + */ +function error(message) { + command_1.issue('error', message); +} +exports.error = error; +/** + * Adds an warning issue + * @param message warning issue message + */ +function warning(message) { + command_1.issue('warning', message); +} +exports.warning = warning; //# sourceMappingURL=core.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/package.json b/node_modules/@actions/core/package.json index 1b51eee..5b131d9 100644 --- a/node_modules/@actions/core/package.json +++ b/node_modules/@actions/core/package.json @@ -1,5 +1,5 @@ { - "_from": "file:toolkit\\actions-core-0.0.0.tgz", + "_from": "file:toolkit/actions-core-0.0.0.tgz", "_id": "@actions/core@0.0.0", "_inBundle": false, "_integrity": "sha512-58ituSV1rzBMmmsWoFDnrnsT+Wm4kD/u9NgAGbPvZ7rQHWluYtD5bDbIsjDC6rKFuhqytkxDJPsF/TWBdgc/nA==", @@ -7,23 +7,23 @@ "_phantomChildren": {}, "_requested": { "type": "file", - "where": "C:\\Users\\Administrator\\Documents\\setup-node", + "where": "/Users/chrispat/Source/work/actions/setup-node", "raw": "@actions/core@file:toolkit/actions-core-0.0.0.tgz", "name": "@actions/core", "escapedName": "@actions%2fcore", "scope": "@actions", "rawSpec": "file:toolkit/actions-core-0.0.0.tgz", - "saveSpec": "file:toolkit\\actions-core-0.0.0.tgz", - "fetchSpec": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-core-0.0.0.tgz" + "saveSpec": "file:toolkit/actions-core-0.0.0.tgz", + "fetchSpec": "/Users/chrispat/Source/work/actions/setup-node/toolkit/actions-core-0.0.0.tgz" }, "_requiredBy": [ "/", "/@actions/tool-cache" ], - "_resolved": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-core-0.0.0.tgz", + "_resolved": "/Users/chrispat/Source/work/actions/setup-node/toolkit/actions-core-0.0.0.tgz", "_shasum": "346d90a534fa6c5021bc2e1b732574fd2c66fc35", "_spec": "@actions/core@file:toolkit/actions-core-0.0.0.tgz", - "_where": "C:\\Users\\Administrator\\Documents\\setup-node", + "_where": "/Users/chrispat/Source/work/actions/setup-node", "bugs": { "url": "https://github.com/actions/toolkit/issues" }, diff --git a/node_modules/@actions/exec/package.json b/node_modules/@actions/exec/package.json index df0651b..2fe227e 100644 --- a/node_modules/@actions/exec/package.json +++ b/node_modules/@actions/exec/package.json @@ -1,5 +1,5 @@ { - "_from": "file:toolkit\\actions-exec-0.0.0.tgz", + "_from": "file:toolkit/actions-exec-0.0.0.tgz", "_id": "@actions/exec@0.0.0", "_inBundle": false, "_integrity": "sha512-HHObusC4p1RElxIlrrN0sY/cweBYl+jKm3J/XWHPQZMipgJXB/dkVhUfl4KqH3Vim7oM2KjCGSfn+vTYrqVH3A==", @@ -7,23 +7,23 @@ "_phantomChildren": {}, "_requested": { "type": "file", - "where": "C:\\Users\\Administrator\\Documents\\setup-node", + "where": "/Users/chrispat/Source/work/actions/setup-node", "raw": "@actions/exec@file:toolkit/actions-exec-0.0.0.tgz", "name": "@actions/exec", "escapedName": "@actions%2fexec", "scope": "@actions", "rawSpec": "file:toolkit/actions-exec-0.0.0.tgz", - "saveSpec": "file:toolkit\\actions-exec-0.0.0.tgz", - "fetchSpec": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-exec-0.0.0.tgz" + "saveSpec": "file:toolkit/actions-exec-0.0.0.tgz", + "fetchSpec": "/Users/chrispat/Source/work/actions/setup-node/toolkit/actions-exec-0.0.0.tgz" }, "_requiredBy": [ "/", "/@actions/tool-cache" ], - "_resolved": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-exec-0.0.0.tgz", + "_resolved": "/Users/chrispat/Source/work/actions/setup-node/toolkit/actions-exec-0.0.0.tgz", "_shasum": "341d868fe6c4123ded20db9c2106b7b8c16e1d73", "_spec": "@actions/exec@file:toolkit/actions-exec-0.0.0.tgz", - "_where": "C:\\Users\\Administrator\\Documents\\setup-node", + "_where": "/Users/chrispat/Source/work/actions/setup-node", "bugs": { "url": "https://github.com/actions/toolkit/issues" }, diff --git a/node_modules/@actions/exit/package.json b/node_modules/@actions/exit/package.json index 9658eea..78be8c1 100644 --- a/node_modules/@actions/exit/package.json +++ b/node_modules/@actions/exit/package.json @@ -1,5 +1,5 @@ { - "_from": "file:toolkit\\actions-exit-0.0.0.tgz", + "_from": "file:toolkit/actions-exit-0.0.0.tgz", "_id": "@actions/exit@0.0.0", "_inBundle": false, "_integrity": "sha512-vQdxFWM0/AERkC79mQ886SqPmV4joWhrSF7hiSTiJoKkE9eTjrKV5WQtp7SXv6OntrQkKX+ZjgdGpv+0rvJRCw==", @@ -7,23 +7,23 @@ "_phantomChildren": {}, "_requested": { "type": "file", - "where": "C:\\Users\\Administrator\\Documents\\setup-node", + "where": "/Users/chrispat/Source/work/actions/setup-node", "raw": "@actions/exit@file:toolkit/actions-exit-0.0.0.tgz", "name": "@actions/exit", "escapedName": "@actions%2fexit", "scope": "@actions", "rawSpec": "file:toolkit/actions-exit-0.0.0.tgz", - "saveSpec": "file:toolkit\\actions-exit-0.0.0.tgz", - "fetchSpec": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-exit-0.0.0.tgz" + "saveSpec": "file:toolkit/actions-exit-0.0.0.tgz", + "fetchSpec": "/Users/chrispat/Source/work/actions/setup-node/toolkit/actions-exit-0.0.0.tgz" }, "_requiredBy": [ "/", "/@actions/core" ], - "_resolved": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-exit-0.0.0.tgz", + "_resolved": "/Users/chrispat/Source/work/actions/setup-node/toolkit/actions-exit-0.0.0.tgz", "_shasum": "d47c8c61b45750ae49fea3061e3419a547b2a48f", "_spec": "@actions/exit@file:toolkit/actions-exit-0.0.0.tgz", - "_where": "C:\\Users\\Administrator\\Documents\\setup-node", + "_where": "/Users/chrispat/Source/work/actions/setup-node", "bugs": { "url": "https://github.com/actions/toolkit/issues" }, diff --git a/node_modules/@actions/io/package.json b/node_modules/@actions/io/package.json index ce4ed2d..976a988 100644 --- a/node_modules/@actions/io/package.json +++ b/node_modules/@actions/io/package.json @@ -1,5 +1,5 @@ { - "_from": "file:toolkit\\actions-io-0.0.0.tgz", + "_from": "file:toolkit/actions-io-0.0.0.tgz", "_id": "@actions/io@0.0.0", "_inBundle": false, "_integrity": "sha512-BArfobXB/b6RjR4i/+P4UcdaqR2tPjEb2WzZf9GdKiSARQn7d301pKOZAqxA+0N11X07Lk46t/txeUBcrCNbeg==", @@ -7,23 +7,23 @@ "_phantomChildren": {}, "_requested": { "type": "file", - "where": "C:\\Users\\Administrator\\Documents\\setup-node", + "where": "/Users/chrispat/Source/work/actions/setup-node", "raw": "@actions/io@file:toolkit/actions-io-0.0.0.tgz", "name": "@actions/io", "escapedName": "@actions%2fio", "scope": "@actions", "rawSpec": "file:toolkit/actions-io-0.0.0.tgz", - "saveSpec": "file:toolkit\\actions-io-0.0.0.tgz", - "fetchSpec": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-io-0.0.0.tgz" + "saveSpec": "file:toolkit/actions-io-0.0.0.tgz", + "fetchSpec": "/Users/chrispat/Source/work/actions/setup-node/toolkit/actions-io-0.0.0.tgz" }, "_requiredBy": [ "/", "/@actions/tool-cache" ], - "_resolved": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-io-0.0.0.tgz", + "_resolved": "/Users/chrispat/Source/work/actions/setup-node/toolkit/actions-io-0.0.0.tgz", "_shasum": "1e8f0faca6b39215bebacedf473e5bb0716e39bf", "_spec": "@actions/io@file:toolkit/actions-io-0.0.0.tgz", - "_where": "C:\\Users\\Administrator\\Documents\\setup-node", + "_where": "/Users/chrispat/Source/work/actions/setup-node", "bugs": { "url": "https://github.com/actions/toolkit/issues" }, diff --git a/node_modules/@actions/tool-cache/lib/tool-cache.js b/node_modules/@actions/tool-cache/lib/tool-cache.js index b2dc2e4..3e16f53 100644 --- a/node_modules/@actions/tool-cache/lib/tool-cache.js +++ b/node_modules/@actions/tool-cache/lib/tool-cache.js @@ -30,8 +30,8 @@ exports.HTTPError = HTTPError; const IS_WINDOWS = process.platform === 'win32'; const userAgent = 'actions/tool-cache'; // On load grab temp directory and cache directory and remove them from env (currently don't want to expose this) -let tempDirectory = process.env['RUNNER_TEMP'] || ''; -let cacheRoot = process.env['RUNNER_TOOL_CACHE'] || ''; +let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || ''; +let cacheRoot = process.env['RUNNER_TOOLSDIRECTORY'] || ''; // If directories not found, place them in common temp locations if (!tempDirectory || !cacheRoot) { let baseLocation; @@ -273,7 +273,7 @@ function cacheDir(sourceDir, tool, version, arch) { // due to anti-virus software having an open handle on a file. for (const itemName of fs.readdirSync(sourceDir)) { const s = path.join(sourceDir, itemName); - shell.cp('-R', s, destPath); + shell.cp(s, destPath, '-r'); } // write .complete _completeToolPath(tool, version, arch); @@ -434,4 +434,4 @@ function _evaluateVersions(versions, versionSpec) { } return version; } -//# sourceMappingURL=tool-cache.js.map +//# sourceMappingURL=tool-cache.js.map \ No newline at end of file diff --git a/node_modules/@actions/tool-cache/package.json b/node_modules/@actions/tool-cache/package.json index aee6aea..c638ab6 100644 --- a/node_modules/@actions/tool-cache/package.json +++ b/node_modules/@actions/tool-cache/package.json @@ -1,5 +1,5 @@ { - "_from": "file:toolkit\\actions-tool-cache-0.0.0.tgz", + "_from": "file:toolkit/actions-tool-cache-0.0.0.tgz", "_id": "@actions/tool-cache@0.0.0", "_inBundle": false, "_integrity": "sha512-R08MGFekNLkf1ofh5wi8QVgmFyPgkKC+Cp8FRE1n6zOpHbUWv3QGa6eR6z+2ESuGCstOPtbq/tRgZsSusItm9Q==", @@ -7,22 +7,22 @@ "_phantomChildren": {}, "_requested": { "type": "file", - "where": "C:\\Users\\Administrator\\Documents\\setup-node", + "where": "/Users/chrispat/Source/work/actions/setup-node", "raw": "@actions/tool-cache@file:toolkit/actions-tool-cache-0.0.0.tgz", "name": "@actions/tool-cache", "escapedName": "@actions%2ftool-cache", "scope": "@actions", "rawSpec": "file:toolkit/actions-tool-cache-0.0.0.tgz", - "saveSpec": "file:toolkit\\actions-tool-cache-0.0.0.tgz", - "fetchSpec": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-tool-cache-0.0.0.tgz" + "saveSpec": "file:toolkit/actions-tool-cache-0.0.0.tgz", + "fetchSpec": "/Users/chrispat/Source/work/actions/setup-node/toolkit/actions-tool-cache-0.0.0.tgz" }, "_requiredBy": [ "/" ], - "_resolved": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-tool-cache-0.0.0.tgz", + "_resolved": "/Users/chrispat/Source/work/actions/setup-node/toolkit/actions-tool-cache-0.0.0.tgz", "_shasum": "e4ffe745db46f47e512db20e80f8ad25910e41d1", "_spec": "@actions/tool-cache@file:toolkit/actions-tool-cache-0.0.0.tgz", - "_where": "C:\\Users\\Administrator\\Documents\\setup-node", + "_where": "/Users/chrispat/Source/work/actions/setup-node", "bugs": { "url": "https://github.com/actions/toolkit/issues" }, diff --git a/node_modules/semver/package.json b/node_modules/semver/package.json index 6c68916..6cb8252 100644 --- a/node_modules/semver/package.json +++ b/node_modules/semver/package.json @@ -1,19 +1,25 @@ { - "_from": "semver@^6.1.1", + "_args": [ + [ + "semver@6.1.2", + "/Users/chrispat/Source/work/actions/setup-node" + ] + ], + "_from": "semver@6.1.2", "_id": "semver@6.1.2", "_inBundle": false, "_integrity": "sha512-z4PqiCpomGtWj8633oeAdXm1Kn1W++3T8epkZYnwiVgIYIJ0QHszhInYSJTYxebByQH7KVCEAn8R9duzZW2PhQ==", "_location": "/semver", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "semver@^6.1.1", + "raw": "semver@6.1.2", "name": "semver", "escapedName": "semver", - "rawSpec": "^6.1.1", + "rawSpec": "6.1.2", "saveSpec": null, - "fetchSpec": "^6.1.1" + "fetchSpec": "6.1.2" }, "_requiredBy": [ "/", @@ -21,17 +27,14 @@ "/istanbul-lib-instrument" ], "_resolved": "https://registry.npmjs.org/semver/-/semver-6.1.2.tgz", - "_shasum": "079960381376a3db62eb2edc8a3bfb10c7cfe318", - "_spec": "semver@^6.1.1", - "_where": "C:\\Users\\Administrator\\Documents\\setup-node", + "_spec": "6.1.2", + "_where": "/Users/chrispat/Source/work/actions/setup-node", "bin": { "semver": "./bin/semver" }, "bugs": { "url": "https://github.com/npm/node-semver/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "The semantic version parser used by npm.", "devDependencies": { "tap": "^14.1.6" diff --git a/node_modules/shelljs/bin/shjs b/node_modules/shelljs/bin/shjs old mode 100644 new mode 100755 diff --git a/node_modules/shelljs/package.json b/node_modules/shelljs/package.json index 0e9c35d..1c80b6e 100644 --- a/node_modules/shelljs/package.json +++ b/node_modules/shelljs/package.json @@ -21,7 +21,7 @@ "_resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.3.0.tgz", "_shasum": "3596e6307a781544f591f37da618360f31db57b1", "_spec": "shelljs@^0.3.0", - "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-tool-cache-0.0.0.tgz", + "_where": "/Users/chrispat/Source/work/actions/setup-node/toolkit/actions-tool-cache-0.0.0.tgz", "author": { "name": "Artur Adib", "email": "aadib@mozilla.com" diff --git a/node_modules/shelljs/scripts/generate-docs.js b/node_modules/shelljs/scripts/generate-docs.js old mode 100644 new mode 100755 diff --git a/node_modules/shelljs/scripts/run-tests.js b/node_modules/shelljs/scripts/run-tests.js old mode 100644 new mode 100755 diff --git a/node_modules/tunnel/package.json b/node_modules/tunnel/package.json index 0db39c9..7787a5d 100644 --- a/node_modules/tunnel/package.json +++ b/node_modules/tunnel/package.json @@ -21,7 +21,7 @@ "_resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.4.tgz", "_shasum": "2d3785a158c174c9a16dc2c046ec5fc5f1742213", "_spec": "tunnel@0.0.4", - "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\typed-rest-client", + "_where": "/Users/chrispat/Source/work/actions/setup-node/node_modules/typed-rest-client", "author": { "name": "Koichi Kobayashi", "email": "koichik@improvement.jp" diff --git a/node_modules/typed-rest-client/package.json b/node_modules/typed-rest-client/package.json index 27068e8..6054bf1 100644 --- a/node_modules/typed-rest-client/package.json +++ b/node_modules/typed-rest-client/package.json @@ -21,7 +21,7 @@ "_resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.5.0.tgz", "_shasum": "c0dda6e775b942fd46a2d99f2160a94953206fc2", "_spec": "typed-rest-client@^1.4.0", - "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-tool-cache-0.0.0.tgz", + "_where": "/Users/chrispat/Source/work/actions/setup-node/toolkit/actions-tool-cache-0.0.0.tgz", "author": { "name": "Microsoft Corporation" }, diff --git a/node_modules/underscore/package.json b/node_modules/underscore/package.json index 162795a..d276a0b 100644 --- a/node_modules/underscore/package.json +++ b/node_modules/underscore/package.json @@ -21,7 +21,7 @@ "_resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", "_shasum": "4f3fb53b106e6097fcf9cb4109f2a5e9bdfa5022", "_spec": "underscore@1.8.3", - "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\typed-rest-client", + "_where": "/Users/chrispat/Source/work/actions/setup-node/node_modules/typed-rest-client", "author": { "name": "Jeremy Ashkenas", "email": "jeremy@documentcloud.org" diff --git a/node_modules/uuid/package.json b/node_modules/uuid/package.json index 9063477..7d81708 100644 --- a/node_modules/uuid/package.json +++ b/node_modules/uuid/package.json @@ -1,28 +1,33 @@ { - "_from": "uuid@^3.3.2", + "_args": [ + [ + "uuid@3.3.2", + "/Users/chrispat/Source/work/actions/setup-node" + ] + ], + "_from": "uuid@3.3.2", "_id": "uuid@3.3.2", "_inBundle": false, "_integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", "_location": "/uuid", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "uuid@^3.3.2", + "raw": "uuid@3.3.2", "name": "uuid", "escapedName": "uuid", - "rawSpec": "^3.3.2", + "rawSpec": "3.3.2", "saveSpec": null, - "fetchSpec": "^3.3.2" + "fetchSpec": "3.3.2" }, "_requiredBy": [ "/@actions/tool-cache", "/request" ], "_resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", - "_shasum": "1b4af4955eb3077c501c23872fc6513811587131", - "_spec": "uuid@^3.3.2", - "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-tool-cache-0.0.0.tgz", + "_spec": "3.3.2", + "_where": "/Users/chrispat/Source/work/actions/setup-node", "bin": { "uuid": "./bin/uuid" }, @@ -34,7 +39,6 @@ "bugs": { "url": "https://github.com/kelektiv/node-uuid/issues" }, - "bundleDependencies": false, "commitlint": { "extends": [ "@commitlint/config-conventional" @@ -62,7 +66,6 @@ "email": "shtylman@gmail.com" } ], - "deprecated": false, "description": "RFC4122 (v1, v4, and v5) UUIDs", "devDependencies": { "@commitlint/cli": "7.0.0", diff --git a/package-lock.json b/package-lock.json index e091e54..1d92e9b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1738,7 +1738,8 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -1759,12 +1760,14 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -1779,17 +1782,20 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -1906,7 +1912,8 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -1918,6 +1925,7 @@ "version": "1.0.0", "bundled": true, "dev": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -1932,6 +1940,7 @@ "version": "3.0.4", "bundled": true, "dev": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -1939,12 +1948,14 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "minipass": { "version": "2.3.5", "bundled": true, "dev": true, + "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -1963,6 +1974,7 @@ "version": "0.5.1", "bundled": true, "dev": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -2043,7 +2055,8 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -2055,6 +2068,7 @@ "version": "1.4.0", "bundled": true, "dev": true, + "optional": true, "requires": { "wrappy": "1" } @@ -2140,7 +2154,8 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -2176,6 +2191,7 @@ "version": "1.0.2", "bundled": true, "dev": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -2195,6 +2211,7 @@ "version": "3.0.1", "bundled": true, "dev": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -2238,12 +2255,14 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "yallist": { "version": "3.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true } } },