use ncc compile source file as a single file

This commit is contained in:
zcong1993 2019-08-18 21:51:50 +08:00
parent 1c24df3126
commit a0e4ebd604
118 changed files with 18548 additions and 3227 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
!node_modules/ !node_modules/
__tests__/runner/* __tests__/runner/*
node_modules

3
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,3 @@
{
"git.ignoreLimitWarning": true
}

View file

@ -14,4 +14,4 @@ inputs:
description: 'Deprecated. Use node-version instead. Will not be supported after October 1, 2019' description: 'Deprecated. Use node-version instead. Will not be supported after October 1, 2019'
runs: runs:
using: 'node12' using: 'node12'
main: 'lib/setup-node.js' main: 'lib/index.js'

View file

@ -1,52 +0,0 @@
"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const fs = __importStar(require("fs"));
const os = __importStar(require("os"));
const path = __importStar(require("path"));
const core = __importStar(require("@actions/core"));
const github = __importStar(require("@actions/github"));
function configAuthentication(registryUrl) {
const npmrc = path.resolve(process.env['RUNNER_TEMP'] || process.cwd(), '.npmrc');
if (!registryUrl.endsWith('/')) {
registryUrl += '/';
}
writeRegistryToFile(registryUrl, npmrc);
}
exports.configAuthentication = configAuthentication;
function writeRegistryToFile(registryUrl, fileLocation) {
let scope = core.getInput('scope');
if (!scope && registryUrl.indexOf('npm.pkg.github.com') > -1) {
scope = github.context.repo.owner;
}
if (scope && scope[0] != '@') {
scope = '@' + scope;
}
core.debug(`Setting auth in ${fileLocation}`);
let newContents = '';
if (fs.existsSync(fileLocation)) {
const curContents = fs.readFileSync(fileLocation, 'utf8');
curContents.split(os.EOL).forEach((line) => {
// Add current contents unless they are setting the registry
if (!line.toLowerCase().startsWith('registry')) {
newContents += line + os.EOL;
}
});
}
// Remove http: or https: from front of registry.
const authString = registryUrl.replace(/(^\w+:|^)/, '') + ':_authToken=${NODE_AUTH_TOKEN}';
const registryString = scope
? `${scope}:registry=${registryUrl}`
: `registry=${registryUrl}`;
newContents += `${authString}${os.EOL}${registryString}`;
fs.writeFileSync(fileLocation, newContents);
core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation);
// Export empty node_auth_token so npm doesn't complain about not being able to find it
core.exportVariable('NODE_AUTH_TOKEN', 'XXXXX-XXXXX-XXXXX-XXXXX');
}

15715
lib/index.js Normal file

File diff suppressed because one or more lines are too long

View file

@ -1,227 +0,0 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
// Load tempDirectory before it gets wiped by tool-cache
let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || '';
const core = __importStar(require("@actions/core"));
const io = __importStar(require("@actions/io"));
const tc = __importStar(require("@actions/tool-cache"));
const restm = __importStar(require("typed-rest-client/RestClient"));
const os = __importStar(require("os"));
const path = __importStar(require("path"));
const semver = __importStar(require("semver"));
let osPlat = os.platform();
let osArch = os.arch();
if (!tempDirectory) {
let baseLocation;
if (process.platform === 'win32') {
// On windows use the USERPROFILE env variable
baseLocation = process.env['USERPROFILE'] || 'C:\\';
}
else {
if (process.platform === 'darwin') {
baseLocation = '/Users';
}
else {
baseLocation = '/home';
}
}
tempDirectory = path.join(baseLocation, 'actions', 'temp');
}
function getNode(versionSpec) {
return __awaiter(this, void 0, void 0, function* () {
// check cache
let toolPath;
toolPath = tc.find('node', versionSpec);
// If not found in cache, download
if (!toolPath) {
let version;
const c = semver.clean(versionSpec) || '';
// If explicit version
if (semver.valid(c) != null) {
// version to download
version = versionSpec;
}
else {
// query nodejs.org for a matching version
version = yield queryLatestMatch(versionSpec);
if (!version) {
throw new Error(`Unable to find Node version '${versionSpec}' for platform ${osPlat} and architecture ${osArch}.`);
}
// check cache
toolPath = tc.find('node', version);
}
if (!toolPath) {
// download, extract, cache
toolPath = yield acquireNode(version);
}
}
//
// a tool installer initimately knows details about the layout of that tool
// for example, node binary is in the bin folder after the extract on Mac/Linux.
// layouts could change by version, by platform etc... but that's the tool installers job
//
if (osPlat != 'win32') {
toolPath = path.join(toolPath, 'bin');
}
//
// prepend the tools path. instructs the agent to prepend for future tasks
core.addPath(toolPath);
});
}
exports.getNode = getNode;
function queryLatestMatch(versionSpec) {
return __awaiter(this, void 0, void 0, function* () {
// node offers a json list of versions
let dataFileName;
switch (osPlat) {
case 'linux':
dataFileName = 'linux-' + osArch;
break;
case 'darwin':
dataFileName = 'osx-' + osArch + '-tar';
break;
case 'win32':
dataFileName = 'win-' + osArch + '-exe';
break;
default:
throw new Error(`Unexpected OS '${osPlat}'`);
}
let versions = [];
let dataUrl = 'https://nodejs.org/dist/index.json';
let rest = new restm.RestClient('setup-node');
let nodeVersions = (yield rest.get(dataUrl)).result || [];
nodeVersions.forEach((nodeVersion) => {
// ensure this version supports your os and platform
if (nodeVersion.files.indexOf(dataFileName) >= 0) {
versions.push(nodeVersion.version);
}
});
// get the latest version that matches the version spec
let version = evaluateVersions(versions, versionSpec);
return version;
});
}
// TODO - should we just export this from @actions/tool-cache? Lifted directly from there
function evaluateVersions(versions, versionSpec) {
let version = '';
core.debug(`evaluating ${versions.length} versions`);
versions = versions.sort((a, b) => {
if (semver.gt(a, b)) {
return 1;
}
return -1;
});
for (let i = versions.length - 1; i >= 0; i--) {
const potential = versions[i];
const satisfied = semver.satisfies(potential, versionSpec);
if (satisfied) {
version = potential;
break;
}
}
if (version) {
core.debug(`matched: ${version}`);
}
else {
core.debug('match not found');
}
return version;
}
function acquireNode(version) {
return __awaiter(this, void 0, void 0, function* () {
//
// Download - a tool installer intimately knows how to get the tool (and construct urls)
//
version = semver.clean(version) || '';
let fileName = osPlat == 'win32'
? 'node-v' + version + '-win-' + os.arch()
: 'node-v' + version + '-' + osPlat + '-' + os.arch();
let urlFileName = osPlat == 'win32' ? fileName + '.7z' : fileName + '.tar.gz';
let downloadUrl = 'https://nodejs.org/dist/v' + version + '/' + urlFileName;
let downloadPath;
try {
downloadPath = yield tc.downloadTool(downloadUrl);
}
catch (err) {
if (err instanceof tc.HTTPError && err.httpStatusCode == 404) {
return yield acquireNodeFromFallbackLocation(version);
}
throw err;
}
//
// Extract
//
let extPath;
if (osPlat == 'win32') {
let _7zPath = path.join(__dirname, '..', 'externals', '7zr.exe');
extPath = yield tc.extract7z(downloadPath, undefined, _7zPath);
}
else {
extPath = yield tc.extractTar(downloadPath);
}
//
// Install into the local tool cache - node extracts with a root folder that matches the fileName downloaded
//
let toolRoot = path.join(extPath, fileName);
return yield tc.cacheDir(toolRoot, 'node', version);
});
}
// For non LTS versions of Node, the files we need (for Windows) are sometimes located
// in a different folder than they normally are for other versions.
// Normally the format is similar to: https://nodejs.org/dist/v5.10.1/node-v5.10.1-win-x64.7z
// In this case, there will be two files located at:
// /dist/v5.10.1/win-x64/node.exe
// /dist/v5.10.1/win-x64/node.lib
// If this is not the structure, there may also be two files located at:
// /dist/v0.12.18/node.exe
// /dist/v0.12.18/node.lib
// This method attempts to download and cache the resources from these alternative locations.
// Note also that the files are normally zipped but in this case they are just an exe
// and lib file in a folder, not zipped.
function acquireNodeFromFallbackLocation(version) {
return __awaiter(this, void 0, void 0, function* () {
// Create temporary folder to download in to
let tempDownloadFolder = 'temp_' + Math.floor(Math.random() * 2000000000);
let tempDir = path.join(tempDirectory, tempDownloadFolder);
yield io.mkdirP(tempDir);
let exeUrl;
let libUrl;
try {
exeUrl = `https://nodejs.org/dist/v${version}/win-${os.arch()}/node.exe`;
libUrl = `https://nodejs.org/dist/v${version}/win-${os.arch()}/node.lib`;
const exePath = yield tc.downloadTool(exeUrl);
yield io.cp(exePath, path.join(tempDir, 'node.exe'));
const libPath = yield tc.downloadTool(libUrl);
yield io.cp(libPath, path.join(tempDir, 'node.lib'));
}
catch (err) {
if (err instanceof tc.HTTPError && err.httpStatusCode == 404) {
exeUrl = `https://nodejs.org/dist/v${version}/node.exe`;
libUrl = `https://nodejs.org/dist/v${version}/node.lib`;
const exePath = yield tc.downloadTool(exeUrl);
yield io.cp(exePath, path.join(tempDir, 'node.exe'));
const libPath = yield tc.downloadTool(libUrl);
yield io.cp(libPath, path.join(tempDir, 'node.lib'));
}
else {
throw err;
}
}
return yield tc.cacheDir(tempDir, 'node', version);
});
}

View file

@ -1,52 +0,0 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const core = __importStar(require("@actions/core"));
const installer = __importStar(require("./installer"));
const auth = __importStar(require("./authutil"));
const path = __importStar(require("path"));
function run() {
return __awaiter(this, void 0, void 0, function* () {
try {
//
// Version is optional. If supplied, install / use from the tool cache
// If not supplied then task is still used to setup proxy, auth, etc...
//
let version = core.getInput('version');
if (!version) {
version = core.getInput('node-version');
}
if (version) {
// TODO: installer doesn't support proxy
yield installer.getNode(version);
}
const registryUrl = core.getInput('registry-url');
if (registryUrl) {
auth.configAuthentication(registryUrl);
}
// TODO: setup proxy from runner proxy config
const matchersPath = path.join(__dirname, '..', '.github');
console.log(`##[add-matcher]${path.join(matchersPath, 'tsc.json')}`);
console.log(`##[add-matcher]${path.join(matchersPath, 'eslint-stylish.json')}`);
console.log(`##[add-matcher]${path.join(matchersPath, 'eslint-compact.json')}`);
}
catch (error) {
core.setFailed(error.message);
}
});
}
run();

BIN
lib/unzip Normal file

Binary file not shown.

15
node_modules/.bin/semver generated vendored
View file

@ -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

1
node_modules/.bin/semver generated vendored Symbolic link
View file

@ -0,0 +1 @@
../semver/bin/semver

7
node_modules/.bin/semver.cmd generated vendored
View file

@ -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" %*
)

15
node_modules/.bin/uuid generated vendored
View file

@ -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

1
node_modules/.bin/uuid generated vendored Symbolic link
View file

@ -0,0 +1 @@
../uuid/bin/uuid

7
node_modules/.bin/uuid.cmd generated vendored
View file

@ -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" %*
)

15
node_modules/.bin/which generated vendored
View file

@ -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/../which/bin/which" "$@"
ret=$?
else
node "$basedir/../which/bin/which" "$@"
ret=$?
fi
exit $ret

1
node_modules/.bin/which generated vendored Symbolic link
View file

@ -0,0 +1 @@
../which/bin/which

7
node_modules/.bin/which.cmd generated vendored
View file

@ -1,7 +0,0 @@
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\which\bin\which" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\which\bin\which" %*
)

76
node_modules/@actions/core/README.md generated vendored
View file

@ -4,4 +4,78 @@
## Usage ## Usage
See [src/core.ts](src/core.ts). #### Inputs/Outputs
You can use this library to get inputs or set outputs:
```
const core = require('@actions/core');
const myInput = core.getInput('inputName', { required: true });
// Do stuff
core.setOutput('outputKey', 'outputVal');
```
#### Exporting variables/secrets
You can also export variables and secrets for future steps. Variables get set in the environment automatically, while secrets must be scoped into the environment from a workflow using `{{ secret.FOO }}`. Secrets will also be masked from the logs:
```
const core = require('@actions/core');
// Do stuff
core.exportVariable('envVar', 'Val');
core.exportSecret('secretVar', variableWithSecretValue);
```
#### PATH Manipulation
You can explicitly add items to the path for all remaining steps in a workflow:
```
const core = require('@actions/core');
core.addPath('pathToTool');
```
#### Exit codes
You should use this library to set the failing exit code for your action:
```
const core = require('@actions/core');
try {
// Do stuff
}
catch (err) {
// setFailed logs the message and sets a failing exit code
core.setFailed(`Action failed with error ${err}`);
}
```
#### Logging
Finally, this library provides some utilities for logging:
```
const core = require('@actions/core');
const myInput = core.getInput('input');
try {
core.debug('Inside try block');
if (!myInput) {
core.warning('myInput wasnt set');
}
// Do stuff
}
catch (err) {
core.error('Error ${err}, action may still succeed though');
}
```

View file

@ -5,6 +5,19 @@ export interface InputOptions {
/** Optional. Whether the input is required. If required and not present, will throw. Defaults to false */ /** Optional. Whether the input is required. If required and not present, will throw. Defaults to false */
required?: boolean; required?: boolean;
} }
/**
* The code to exit an action
*/
export declare enum ExitCode {
/**
* A code indicating that the action was successful
*/
Success = 0,
/**
* A code indicating that the action was a failure
*/
Failure = 1
}
/** /**
* sets env variable for this action and future actions in the job * sets env variable for this action and future actions in the job
* @param name the name of the variable to set * @param name the name of the variable to set
@ -31,9 +44,12 @@ export declare function addPath(inputPath: string): void;
*/ */
export declare function getInput(name: string, options?: InputOptions): string; export declare function getInput(name: string, options?: InputOptions): string;
/** /**
* Sets the action status to neutral * Sets the value of an output.
*
* @param name name of the output to set
* @param value value to store
*/ */
export declare function setNeutral(): void; export declare function setOutput(name: string, value: string): void;
/** /**
* Sets the action status to failed. * Sets the action status to failed.
* When the action exits it will be with an exit code of 1 * When the action exits it will be with an exit code of 1

View file

@ -1,8 +1,21 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
const exit_1 = require("@actions/exit");
const command_1 = require("./command"); const command_1 = require("./command");
const path = require("path"); const path = require("path");
/**
* The code to exit an action
*/
var ExitCode;
(function (ExitCode) {
/**
* A code indicating that the action was successful
*/
ExitCode[ExitCode["Success"] = 0] = "Success";
/**
* A code indicating that the action was a failure
*/
ExitCode[ExitCode["Failure"] = 1] = "Failure";
})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));
//----------------------------------------------------------------------- //-----------------------------------------------------------------------
// Variables // Variables
//----------------------------------------------------------------------- //-----------------------------------------------------------------------
@ -50,23 +63,26 @@ function getInput(name, options) {
return val.trim(); return val.trim();
} }
exports.getInput = getInput; exports.getInput = getInput;
/**
* Sets the value of an output.
*
* @param name name of the output to set
* @param value value to store
*/
function setOutput(name, value) {
command_1.issueCommand('set-output', { name }, value);
}
exports.setOutput = setOutput;
//----------------------------------------------------------------------- //-----------------------------------------------------------------------
// Results // Results
//----------------------------------------------------------------------- //-----------------------------------------------------------------------
/**
* Sets the action status to neutral
*/
function setNeutral() {
process.exitCode = exit_1.ExitCode.Neutral;
}
exports.setNeutral = setNeutral;
/** /**
* Sets the action status to failed. * Sets the action status to failed.
* When the action exits it will be with an exit code of 1 * When the action exits it will be with an exit code of 1
* @param message add error issue message * @param message add error issue message
*/ */
function setFailed(message) { function setFailed(message) {
process.exitCode = exit_1.ExitCode.Failure; process.exitCode = ExitCode.Failure;
error(message); error(message);
} }
exports.setFailed = setFailed; exports.setFailed = setFailed;

View file

@ -1 +1 @@
{"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;AAAA,wCAAsC;AACtC,uCAA6C;AAE7C,6BAA4B;AAU5B,yEAAyE;AACzE,YAAY;AACZ,yEAAyE;AAEzE;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAY,EAAE,GAAW;IACtD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,CAAA;IACvB,sBAAY,CAAC,SAAS,EAAE,EAAC,IAAI,EAAC,EAAE,GAAG,CAAC,CAAA;AACtC,CAAC;AAHD,wCAGC;AAED;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAY,EAAE,GAAW;IACpD,cAAc,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;IACzB,sBAAY,CAAC,YAAY,EAAE,EAAE,EAAE,GAAG,CAAC,CAAA;AACrC,CAAC;AAHD,oCAGC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,SAAiB;IACvC,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;IACvC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAA;AAC7E,CAAC;AAHD,0BAGC;AAED;;;;;;GAMG;AACH,SAAgB,QAAQ,CAAC,IAAY,EAAE,OAAsB;IAC3D,MAAM,GAAG,GACP,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,IAAI,EAAE,CAAA;IACpE,IAAI,OAAO,IAAI,OAAO,CAAC,QAAQ,IAAI,CAAC,GAAG,EAAE;QACvC,MAAM,IAAI,KAAK,CAAC,oCAAoC,IAAI,EAAE,CAAC,CAAA;KAC5D;IAED,OAAO,GAAG,CAAC,IAAI,EAAE,CAAA;AACnB,CAAC;AARD,4BAQC;AAED,yEAAyE;AACzE,UAAU;AACV,yEAAyE;AAEzE;;GAEG;AACH,SAAgB,UAAU;IACxB,OAAO,CAAC,QAAQ,GAAG,eAAQ,CAAC,OAAO,CAAA;AACrC,CAAC;AAFD,gCAEC;AAED;;;;GAIG;AACH,SAAgB,SAAS,CAAC,OAAe;IACvC,OAAO,CAAC,QAAQ,GAAG,eAAQ,CAAC,OAAO,CAAA;IACnC,KAAK,CAAC,OAAO,CAAC,CAAA;AAChB,CAAC;AAHD,8BAGC;AAED,yEAAyE;AACzE,mBAAmB;AACnB,yEAAyE;AAEzE;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,sBAAY,CAAC,OAAO,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACpC,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,eAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;AACzB,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,OAAe;IACrC,eAAK,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;AAC3B,CAAC;AAFD,0BAEC"} {"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;AAAA,uCAA6C;AAE7C,6BAA4B;AAU5B;;GAEG;AACH,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,6CAAW,CAAA;AACb,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AAED,yEAAyE;AACzE,YAAY;AACZ,yEAAyE;AAEzE;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAY,EAAE,GAAW;IACtD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,CAAA;IACvB,sBAAY,CAAC,SAAS,EAAE,EAAC,IAAI,EAAC,EAAE,GAAG,CAAC,CAAA;AACtC,CAAC;AAHD,wCAGC;AAED;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAY,EAAE,GAAW;IACpD,cAAc,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;IACzB,sBAAY,CAAC,YAAY,EAAE,EAAE,EAAE,GAAG,CAAC,CAAA;AACrC,CAAC;AAHD,oCAGC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,SAAiB;IACvC,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;IACvC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAA;AAC7E,CAAC;AAHD,0BAGC;AAED;;;;;;GAMG;AACH,SAAgB,QAAQ,CAAC,IAAY,EAAE,OAAsB;IAC3D,MAAM,GAAG,GACP,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,IAAI,EAAE,CAAA;IACpE,IAAI,OAAO,IAAI,OAAO,CAAC,QAAQ,IAAI,CAAC,GAAG,EAAE;QACvC,MAAM,IAAI,KAAK,CAAC,oCAAoC,IAAI,EAAE,CAAC,CAAA;KAC5D;IAED,OAAO,GAAG,CAAC,IAAI,EAAE,CAAA;AACnB,CAAC;AARD,4BAQC;AAED;;;;;GAKG;AACH,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAa;IACnD,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAFD,8BAEC;AAED,yEAAyE;AACzE,UAAU;AACV,yEAAyE;AAEzE;;;;GAIG;AACH,SAAgB,SAAS,CAAC,OAAe;IACvC,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAA;IACnC,KAAK,CAAC,OAAO,CAAC,CAAA;AAChB,CAAC;AAHD,8BAGC;AAED,yEAAyE;AACzE,mBAAmB;AACnB,yEAAyE;AAEzE;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,sBAAY,CAAC,OAAO,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACpC,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,eAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;AACzB,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,OAAe;IACrC,eAAK,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;AAC3B,CAAC;AAFD,0BAEC"}

View file

@ -1,36 +1,33 @@
{ {
"_from": "file:toolkit\\actions-core-0.0.0.tgz", "_from": "@actions/core@^1.0.0",
"_id": "@actions/core@0.0.0", "_id": "@actions/core@1.0.0",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-58ituSV1rzBMmmsWoFDnrnsT+Wm4kD/u9NgAGbPvZ7rQHWluYtD5bDbIsjDC6rKFuhqytkxDJPsF/TWBdgc/nA==", "_integrity": "sha512-aMIlkx96XH4E/2YZtEOeyrYQfhlas9jIRkfGPqMwXD095Rdkzo4lB6ZmbxPQSzD+e1M+Xsm98ZhuSMYGv/AlqA==",
"_location": "/@actions/core", "_location": "/@actions/core",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "file", "type": "range",
"where": "C:\\Users\\Administrator\\Documents\\setup-node", "registry": true,
"raw": "@actions/core@file:toolkit/actions-core-0.0.0.tgz", "raw": "@actions/core@^1.0.0",
"name": "@actions/core", "name": "@actions/core",
"escapedName": "@actions%2fcore", "escapedName": "@actions%2fcore",
"scope": "@actions", "scope": "@actions",
"rawSpec": "file:toolkit/actions-core-0.0.0.tgz", "rawSpec": "^1.0.0",
"saveSpec": "file:toolkit\\actions-core-0.0.0.tgz", "saveSpec": null,
"fetchSpec": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-core-0.0.0.tgz" "fetchSpec": "^1.0.0"
}, },
"_requiredBy": [ "_requiredBy": [
"/", "/",
"/@actions/tool-cache" "/@actions/tool-cache"
], ],
"_resolved": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-core-0.0.0.tgz", "_resolved": "https://registry.npmjs.org/@actions/core/-/core-1.0.0.tgz",
"_shasum": "346d90a534fa6c5021bc2e1b732574fd2c66fc35", "_shasum": "4a090a2e958cc300b9ea802331034d5faf42d239",
"_spec": "@actions/core@file:toolkit/actions-core-0.0.0.tgz", "_spec": "@actions/core@^1.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"bugs": { "bugs": {
"url": "https://github.com/actions/toolkit/issues" "url": "https://github.com/actions/toolkit/issues"
}, },
"bundleDependencies": false, "bundleDependencies": false,
"dependencies": {
"@actions/exit": "^0.0.0"
},
"deprecated": false, "deprecated": false,
"description": "Actions core lib", "description": "Actions core lib",
"devDependencies": { "devDependencies": {
@ -43,6 +40,7 @@
"files": [ "files": [
"lib" "lib"
], ],
"gitHead": "a40bce7c8d382aa3dbadaa327acbc696e9390e55",
"homepage": "https://github.com/actions/toolkit/tree/master/packages/core", "homepage": "https://github.com/actions/toolkit/tree/master/packages/core",
"keywords": [ "keywords": [
"core", "core",
@ -62,5 +60,5 @@
"test": "echo \"Error: run tests from root\" && exit 1", "test": "echo \"Error: run tests from root\" && exit 1",
"tsc": "tsc" "tsc": "tsc"
}, },
"version": "0.0.0" "version": "1.0.0"
} }

59
node_modules/@actions/exec/README.md generated vendored
View file

@ -1,7 +1,60 @@
# `@actions/exec` # `@actions/exec`
> Functions necessary for running tools on the command line
## Usage ## Usage
See [src/exec.ts](src/exec.ts). #### Basic
You can use this package to execute your tools on the command line in a cross platform way:
```
const exec = require('@actions/exec');
await exec.exec('node index.js');
```
#### Args
You can also pass in arg arrays:
```
const exec = require('@actions/exec');
await exec.exec('node', ['index.js', 'foo=bar']);
```
#### Output/options
Capture output or specify [other options](https://github.com/actions/toolkit/blob/d9347d4ab99fd507c0b9104b2cf79fb44fcc827d/packages/exec/src/interfaces.ts#L5):
```
const exec = require('@actions/exec');
const myOutput = '';
const myError = '';
const options = {};
options.listeners = {
stdout: (data: Buffer) => {
myOutput += data.toString();
},
stderr: (data: Buffer) => {
myError += data.toString();
}
};
options.cwd = './lib';
await exec.exec('node', ['index.js', 'foo=bar'], options);
```
#### Exec tools not in the PATH
You can use it in conjunction with the `which` function from `@actions/io` to execute tools that are not in the PATH:
```
const exec = require('@actions/exec');
const io = require('@actions/io');
const pythonPath: string = await io.which('python', true)
await exec.exec(`"${pythonPath}"`, ['main.py']);
```

View file

@ -1,29 +1,29 @@
{ {
"_from": "file:toolkit\\actions-exec-0.0.0.tgz", "_from": "@actions/exec@^1.0.0",
"_id": "@actions/exec@0.0.0", "_id": "@actions/exec@1.0.0",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-HHObusC4p1RElxIlrrN0sY/cweBYl+jKm3J/XWHPQZMipgJXB/dkVhUfl4KqH3Vim7oM2KjCGSfn+vTYrqVH3A==", "_integrity": "sha512-nquH0+XKng+Ll7rZfCojN7NWSbnGh+ltwUJhzfbLkmOJgxocGX2/yXcZLMyT9fa7+tByEow/NSTrBExNlEj9fw==",
"_location": "/@actions/exec", "_location": "/@actions/exec",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "file", "type": "range",
"where": "C:\\Users\\Administrator\\Documents\\setup-node", "registry": true,
"raw": "@actions/exec@file:toolkit/actions-exec-0.0.0.tgz", "raw": "@actions/exec@^1.0.0",
"name": "@actions/exec", "name": "@actions/exec",
"escapedName": "@actions%2fexec", "escapedName": "@actions%2fexec",
"scope": "@actions", "scope": "@actions",
"rawSpec": "file:toolkit/actions-exec-0.0.0.tgz", "rawSpec": "^1.0.0",
"saveSpec": "file:toolkit\\actions-exec-0.0.0.tgz", "saveSpec": null,
"fetchSpec": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-exec-0.0.0.tgz" "fetchSpec": "^1.0.0"
}, },
"_requiredBy": [ "_requiredBy": [
"/", "/",
"/@actions/tool-cache" "/@actions/tool-cache"
], ],
"_resolved": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-exec-0.0.0.tgz", "_resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.0.0.tgz",
"_shasum": "341d868fe6c4123ded20db9c2106b7b8c16e1d73", "_shasum": "70c8b698c9baa02965c07da5f0b185ca56f0a955",
"_spec": "@actions/exec@file:toolkit/actions-exec-0.0.0.tgz", "_spec": "@actions/exec@^1.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"bugs": { "bugs": {
"url": "https://github.com/actions/toolkit/issues" "url": "https://github.com/actions/toolkit/issues"
}, },
@ -31,7 +31,7 @@
"deprecated": false, "deprecated": false,
"description": "Actions exec lib", "description": "Actions exec lib",
"devDependencies": { "devDependencies": {
"@actions/io": "^0.0.0" "@actions/io": "^1.0.0"
}, },
"directories": { "directories": {
"lib": "lib", "lib": "lib",
@ -40,6 +40,7 @@
"files": [ "files": [
"lib" "lib"
], ],
"gitHead": "a40bce7c8d382aa3dbadaa327acbc696e9390e55",
"homepage": "https://github.com/actions/toolkit/tree/master/packages/exec", "homepage": "https://github.com/actions/toolkit/tree/master/packages/exec",
"keywords": [ "keywords": [
"exec", "exec",
@ -59,5 +60,5 @@
"test": "echo \"Error: run tests from root\" && exit 1", "test": "echo \"Error: run tests from root\" && exit 1",
"tsc": "tsc" "tsc": "tsc"
}, },
"version": "0.0.0" "version": "1.0.0"
} }

View file

@ -1,7 +0,0 @@
Copyright 2019 GitHub
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View file

@ -1,7 +0,0 @@
# `@actions/exit`
> TODO: description
## Usage
See [src/exit.ts](src/exit.ts).

View file

@ -1,29 +0,0 @@
/**
* The code to exit an action
*/
export declare enum ExitCode {
/**
* A code indicating that the action was successful
*/
Success = 0,
/**
* A code indicating that the action was a failure
*/
Failure = 1,
/**
* A code indicating that the action is complete, but neither succeeded nor failed
*/
Neutral = 78
}
/**
* Exit the action as a success.
*/
export declare function success(): void;
/**
* Exit the action as a failure.
*/
export declare function failure(): void;
/**
* Exit the action neither a success or a failure
*/
export declare function neutral(): void;

View file

@ -1,44 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* The code to exit an action
*/
var ExitCode;
(function (ExitCode) {
/**
* A code indicating that the action was successful
*/
ExitCode[ExitCode["Success"] = 0] = "Success";
/**
* A code indicating that the action was a failure
*/
ExitCode[ExitCode["Failure"] = 1] = "Failure";
/**
* A code indicating that the action is complete, but neither succeeded nor failed
*/
ExitCode[ExitCode["Neutral"] = 78] = "Neutral";
})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));
// TODO: These exit codes may not behave as expected on the new runtime, due to
// complexities of async logging and sync exiting.
/**
* Exit the action as a success.
*/
function success() {
process.exit(ExitCode.Success);
}
exports.success = success;
/**
* Exit the action as a failure.
*/
function failure() {
process.exit(ExitCode.Failure);
}
exports.failure = failure;
/**
* Exit the action neither a success or a failure
*/
function neutral() {
process.exit(ExitCode.Neutral);
}
exports.neutral = neutral;
//# sourceMappingURL=exit.js.map

View file

@ -1 +0,0 @@
{"version":3,"file":"exit.js","sourceRoot":"","sources":["../src/exit.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,IAAY,QAeX;AAfD,WAAY,QAAQ;IAClB;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,8CAAY,CAAA;AACd,CAAC,EAfW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAenB;AAED,+EAA+E;AAC/E,kDAAkD;AAElD;;GAEG;AACH,SAAgB,OAAO;IACrB,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;AAChC,CAAC;AAFD,0BAEC;AAED;;GAEG;AACH,SAAgB,OAAO;IACrB,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;AAChC,CAAC;AAFD,0BAEC;AAED;;GAEG;AACH,SAAgB,OAAO;IACrB,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;AAChC,CAAC;AAFD,0BAEC"}

View file

@ -1,61 +0,0 @@
{
"_from": "file:toolkit\\actions-exit-0.0.0.tgz",
"_id": "@actions/exit@0.0.0",
"_inBundle": false,
"_integrity": "sha512-vQdxFWM0/AERkC79mQ886SqPmV4joWhrSF7hiSTiJoKkE9eTjrKV5WQtp7SXv6OntrQkKX+ZjgdGpv+0rvJRCw==",
"_location": "/@actions/exit",
"_phantomChildren": {},
"_requested": {
"type": "file",
"where": "C:\\Users\\Administrator\\Documents\\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"
},
"_requiredBy": [
"/",
"/@actions/core"
],
"_resolved": "C:\\Users\\Administrator\\Documents\\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",
"bugs": {
"url": "https://github.com/actions/toolkit/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Functions for safely exiting from GitHub Actions",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"homepage": "https://github.com/actions/toolkit/tree/master/packages/exit",
"keywords": [
"github",
"actions",
"toolkit"
],
"license": "MIT",
"main": "lib/exit.js",
"name": "@actions/exit",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/actions/toolkit.git"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1",
"tsc": "tsc"
},
"version": "0.0.0"
}

View file

@ -1,29 +1,28 @@
{ {
"_from": "file:toolkit\\actions-github-0.0.0.tgz", "_from": "@actions/github@^1.0.0",
"_id": "@actions/github@0.0.0", "_id": "@actions/github@1.0.0",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-CByX5VIagC5BqGwsHD9Qt5MfN+H6GDC9qQl+MIUipaHTc89sUG/vAY/xQDS9vxuuRwrxbdERwKO3dR6U1BSziw==", "_integrity": "sha512-PPbWZ5wFAD/Vr+RCECfR3KNHjTwYln4liJBihs9tQUL0/PCFqB2lSkIh9V94AcZFHxgKk8snImjuLaBE8bKR7A==",
"_location": "/@actions/github", "_location": "/@actions/github",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "file", "type": "range",
"where": "C:\\Users\\Administrator\\Documents\\setup-node", "registry": true,
"raw": "@actions/github@file:toolkit/actions-github-0.0.0.tgz", "raw": "@actions/github@^1.0.0",
"name": "@actions/github", "name": "@actions/github",
"escapedName": "@actions%2fgithub", "escapedName": "@actions%2fgithub",
"scope": "@actions", "scope": "@actions",
"rawSpec": "file:toolkit/actions-github-0.0.0.tgz", "rawSpec": "^1.0.0",
"saveSpec": "file:toolkit\\actions-github-0.0.0.tgz", "saveSpec": null,
"fetchSpec": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-github-0.0.0.tgz" "fetchSpec": "^1.0.0"
}, },
"_requiredBy": [ "_requiredBy": [
"#USER",
"/" "/"
], ],
"_resolved": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-github-0.0.0.tgz", "_resolved": "https://registry.npmjs.org/@actions/github/-/github-1.0.0.tgz",
"_shasum": "d9a87b3682d66d032fffcaff1adcdb2decd92b81", "_shasum": "5154cadd93c4b17217f56304ee27056730b8ae88",
"_spec": "@actions/github@file:toolkit/actions-github-0.0.0.tgz", "_spec": "@actions/github@^1.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"bugs": { "bugs": {
"url": "https://github.com/actions/toolkit/issues" "url": "https://github.com/actions/toolkit/issues"
}, },
@ -44,6 +43,7 @@
"files": [ "files": [
"lib" "lib"
], ],
"gitHead": "a40bce7c8d382aa3dbadaa327acbc696e9390e55",
"homepage": "https://github.com/actions/toolkit/tree/master/packages/github", "homepage": "https://github.com/actions/toolkit/tree/master/packages/github",
"keywords": [ "keywords": [
"github", "github",
@ -64,5 +64,5 @@
"test": "jest", "test": "jest",
"tsc": "tsc" "tsc": "tsc"
}, },
"version": "0.0.0" "version": "1.0.0"
} }

View file

@ -1,30 +1,29 @@
{ {
"_from": "file:toolkit\\actions-io-0.0.0.tgz", "_from": "@actions/io@^1.0.0",
"_id": "@actions/io@0.0.0", "_id": "@actions/io@1.0.0",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-MZUGyOe6m26Ns6ZQnr2JvxXzlwZ33XWYG392b5YuPMim1CE8DbuiBHtqOZeHVm5PenS4fRUG3qMTiMymve1DUA==", "_integrity": "sha512-ezrJSRdqtXtdx1WXlfYL85+40F7gB39jCK9P0jZVODW3W6xUYmu6ZOEc/UmmElUwhRyDRm1R4yNZu1Joq2kuQg==",
"_location": "/@actions/io", "_location": "/@actions/io",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "file", "type": "range",
"where": "C:\\Users\\Administrator\\Documents\\setup-node", "registry": true,
"raw": "@actions/io@file:toolkit/actions-io-0.0.0.tgz", "raw": "@actions/io@^1.0.0",
"name": "@actions/io", "name": "@actions/io",
"escapedName": "@actions%2fio", "escapedName": "@actions%2fio",
"scope": "@actions", "scope": "@actions",
"rawSpec": "file:toolkit/actions-io-0.0.0.tgz", "rawSpec": "^1.0.0",
"saveSpec": "file:toolkit\\actions-io-0.0.0.tgz", "saveSpec": null,
"fetchSpec": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-io-0.0.0.tgz" "fetchSpec": "^1.0.0"
}, },
"_requiredBy": [ "_requiredBy": [
"#USER",
"/", "/",
"/@actions/tool-cache" "/@actions/tool-cache"
], ],
"_resolved": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-io-0.0.0.tgz", "_resolved": "https://registry.npmjs.org/@actions/io/-/io-1.0.0.tgz",
"_shasum": "b9fd92bae7bfb507c75e3e35a107750901a51d00", "_shasum": "379454174660623bb5b3bce0be8b9e2285a62bcb",
"_spec": "@actions/io@file:toolkit/actions-io-0.0.0.tgz", "_spec": "@actions/io@^1.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"bugs": { "bugs": {
"url": "https://github.com/actions/toolkit/issues" "url": "https://github.com/actions/toolkit/issues"
}, },
@ -38,6 +37,7 @@
"files": [ "files": [
"lib" "lib"
], ],
"gitHead": "a40bce7c8d382aa3dbadaa327acbc696e9390e55",
"homepage": "https://github.com/actions/toolkit/tree/master/packages/io", "homepage": "https://github.com/actions/toolkit/tree/master/packages/io",
"keywords": [ "keywords": [
"io", "io",
@ -57,5 +57,5 @@
"test": "echo \"Error: run tests from root\" && exit 1", "test": "echo \"Error: run tests from root\" && exit 1",
"tsc": "tsc" "tsc": "tsc"
}, },
"version": "0.0.0" "version": "1.0.0"
} }

View file

@ -1,37 +1,36 @@
{ {
"_from": "file:toolkit\\actions-tool-cache-0.0.0.tgz", "_from": "@actions/tool-cache@^1.0.0",
"_id": "@actions/tool-cache@0.0.0", "_id": "@actions/tool-cache@1.0.0",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-33oYAVRdp6MWNT7Yca0//SmOsvpE7FpFfNA/LzwjIZdLucHaO6V67dqZ5p81CTBncrZal+O5kE9B8qSk0rhipg==", "_integrity": "sha512-l3zT0IfDfi5Ik5aMpnXqGHGATxN8xa9ls4ue+X/CBXpPhRMRZS4vcuh5Q9T98WAGbkysRCfhpbksTPHIcKnNwQ==",
"_location": "/@actions/tool-cache", "_location": "/@actions/tool-cache",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "file", "type": "range",
"where": "C:\\Users\\Administrator\\Documents\\setup-node", "registry": true,
"raw": "@actions/tool-cache@file:toolkit/actions-tool-cache-0.0.0.tgz", "raw": "@actions/tool-cache@^1.0.0",
"name": "@actions/tool-cache", "name": "@actions/tool-cache",
"escapedName": "@actions%2ftool-cache", "escapedName": "@actions%2ftool-cache",
"scope": "@actions", "scope": "@actions",
"rawSpec": "file:toolkit/actions-tool-cache-0.0.0.tgz", "rawSpec": "^1.0.0",
"saveSpec": "file:toolkit\\actions-tool-cache-0.0.0.tgz", "saveSpec": null,
"fetchSpec": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-tool-cache-0.0.0.tgz" "fetchSpec": "^1.0.0"
}, },
"_requiredBy": [ "_requiredBy": [
"#USER",
"/" "/"
], ],
"_resolved": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-tool-cache-0.0.0.tgz", "_resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-1.0.0.tgz",
"_shasum": "ce9e7d81ebb138911d20b9f74c8aa6120caac9b1", "_shasum": "a9ac414bd2e0bf1f5f0302f029193c418d344c09",
"_spec": "@actions/tool-cache@file:toolkit/actions-tool-cache-0.0.0.tgz", "_spec": "@actions/tool-cache@^1.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"bugs": { "bugs": {
"url": "https://github.com/actions/toolkit/issues" "url": "https://github.com/actions/toolkit/issues"
}, },
"bundleDependencies": false, "bundleDependencies": false,
"dependencies": { "dependencies": {
"@actions/core": "^0.0.0", "@actions/core": "^1.0.0",
"@actions/exec": "^0.0.0", "@actions/exec": "^1.0.0",
"@actions/io": "^0.0.0", "@actions/io": "^1.0.0",
"semver": "^6.1.0", "semver": "^6.1.0",
"typed-rest-client": "^1.4.0", "typed-rest-client": "^1.4.0",
"uuid": "^3.3.2" "uuid": "^3.3.2"
@ -52,6 +51,7 @@
"lib", "lib",
"scripts" "scripts"
], ],
"gitHead": "a40bce7c8d382aa3dbadaa327acbc696e9390e55",
"homepage": "https://github.com/actions/toolkit/tree/master/packages/exec", "homepage": "https://github.com/actions/toolkit/tree/master/packages/exec",
"keywords": [ "keywords": [
"exec", "exec",
@ -71,5 +71,5 @@
"test": "echo \"Error: run tests from root\" && exit 1", "test": "echo \"Error: run tests from root\" && exit 1",
"tsc": "tsc" "tsc": "tsc"
}, },
"version": "0.0.0" "version": "1.0.0"
} }

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.0.tgz", "_resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.0.tgz",
"_shasum": "47bfc5da1b5d50d64110806c199359482e75a928", "_shasum": "47bfc5da1b5d50d64110806c199359482e75a928",
"_spec": "is-plain-object@^3.0.0", "_spec": "is-plain-object@^3.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\endpoint", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/endpoint",
"author": { "author": {
"name": "Jon Schlinkert", "name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert" "url": "https://github.com/jonschlinkert"

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz", "_resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz",
"_shasum": "3f1c9155e73b192022a80819bacd0343711697b0", "_shasum": "3f1c9155e73b192022a80819bacd0343711697b0",
"_spec": "isobject@^4.0.0", "_spec": "isobject@^4.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\endpoint\\node_modules\\is-plain-object", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/endpoint/node_modules/is-plain-object",
"author": { "author": {
"name": "Jon Schlinkert", "name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert" "url": "https://github.com/jonschlinkert"

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-3.0.0.tgz", "_resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-3.0.0.tgz",
"_shasum": "4cc88d68097bffd7ac42e3b7c903e7481424b4b9", "_shasum": "4cc88d68097bffd7ac42e3b7c903e7481424b4b9",
"_spec": "universal-user-agent@^3.0.0", "_spec": "universal-user-agent@^3.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\endpoint", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/endpoint",
"author": { "author": {
"name": "Gregor Martynus", "name": "Gregor Martynus",
"url": "https://github.com/gr2m" "url": "https://github.com/gr2m"

View file

@ -24,7 +24,7 @@
"_resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-5.3.2.tgz", "_resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-5.3.2.tgz",
"_shasum": "2deda2d869cac9ba7f370287d55667be2a808d4b", "_shasum": "2deda2d869cac9ba7f370287d55667be2a808d4b",
"_spec": "@octokit/endpoint@^5.1.0", "_spec": "@octokit/endpoint@^5.1.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\request", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/request",
"bugs": { "bugs": {
"url": "https://github.com/octokit/endpoint.js/issues" "url": "https://github.com/octokit/endpoint.js/issues"
}, },

View file

@ -22,7 +22,7 @@
"_resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-2.1.3.tgz", "_resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-2.1.3.tgz",
"_shasum": "60c058a0ed5fa242eca6f938908d95fd1a2f4b92", "_shasum": "60c058a0ed5fa242eca6f938908d95fd1a2f4b92",
"_spec": "@octokit/graphql@^2.0.1", "_spec": "@octokit/graphql@^2.0.1",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-github-0.0.0.tgz", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@actions/github",
"author": { "author": {
"name": "Gregor Martynus", "name": "Gregor Martynus",
"url": "https://github.com/gr2m" "url": "https://github.com/gr2m"

View file

@ -23,7 +23,7 @@
"_resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-1.0.4.tgz", "_resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-1.0.4.tgz",
"_shasum": "15e1dc22123ba4a9a4391914d80ec1e5303a23be", "_shasum": "15e1dc22123ba4a9a4391914d80ec1e5303a23be",
"_spec": "@octokit/request-error@^1.0.1", "_spec": "@octokit/request-error@^1.0.1",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\request", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/request",
"bugs": { "bugs": {
"url": "https://github.com/octokit/request-error.js/issues" "url": "https://github.com/octokit/request-error.js/issues"
}, },

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.0.tgz", "_resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.0.tgz",
"_shasum": "47bfc5da1b5d50d64110806c199359482e75a928", "_shasum": "47bfc5da1b5d50d64110806c199359482e75a928",
"_spec": "is-plain-object@^3.0.0", "_spec": "is-plain-object@^3.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\request", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/request",
"author": { "author": {
"name": "Jon Schlinkert", "name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert" "url": "https://github.com/jonschlinkert"

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz", "_resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz",
"_shasum": "3f1c9155e73b192022a80819bacd0343711697b0", "_shasum": "3f1c9155e73b192022a80819bacd0343711697b0",
"_spec": "isobject@^4.0.0", "_spec": "isobject@^4.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\request\\node_modules\\is-plain-object", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/request/node_modules/is-plain-object",
"author": { "author": {
"name": "Jon Schlinkert", "name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert" "url": "https://github.com/jonschlinkert"

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-3.0.0.tgz", "_resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-3.0.0.tgz",
"_shasum": "4cc88d68097bffd7ac42e3b7c903e7481424b4b9", "_shasum": "4cc88d68097bffd7ac42e3b7c903e7481424b4b9",
"_spec": "universal-user-agent@^3.0.0", "_spec": "universal-user-agent@^3.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\request", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/request",
"author": { "author": {
"name": "Gregor Martynus", "name": "Gregor Martynus",
"url": "https://github.com/gr2m" "url": "https://github.com/gr2m"

View file

@ -25,7 +25,7 @@
"_resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.0.2.tgz", "_resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.0.2.tgz",
"_shasum": "59a920451f24811c016ddc507adcc41aafb2dca5", "_shasum": "59a920451f24811c016ddc507adcc41aafb2dca5",
"_spec": "@octokit/request@^5.0.0", "_spec": "@octokit/request@^5.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\graphql", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/graphql",
"bugs": { "bugs": {
"url": "https://github.com/octokit/request.js/issues" "url": "https://github.com/octokit/request.js/issues"
}, },

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-3.0.0.tgz", "_resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-3.0.0.tgz",
"_shasum": "4cc88d68097bffd7ac42e3b7c903e7481424b4b9", "_shasum": "4cc88d68097bffd7ac42e3b7c903e7481424b4b9",
"_spec": "universal-user-agent@^3.0.0", "_spec": "universal-user-agent@^3.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\rest", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/rest",
"author": { "author": {
"name": "Gregor Martynus", "name": "Gregor Martynus",
"url": "https://github.com/gr2m" "url": "https://github.com/gr2m"

View file

@ -24,7 +24,7 @@
"_resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-16.28.7.tgz", "_resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-16.28.7.tgz",
"_shasum": "a2c2db5b318da84144beba82d19c1a9dbdb1a1fa", "_shasum": "a2c2db5b318da84144beba82d19c1a9dbdb1a1fa",
"_spec": "@octokit/rest@^16.15.0", "_spec": "@octokit/rest@^16.15.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-github-0.0.0.tgz", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@actions/github",
"author": { "author": {
"name": "Gregor Martynus", "name": "Gregor Martynus",
"url": "https://github.com/gr2m" "url": "https://github.com/gr2m"

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/atob-lite/-/atob-lite-2.0.0.tgz", "_resolved": "https://registry.npmjs.org/atob-lite/-/atob-lite-2.0.0.tgz",
"_shasum": "0fef5ad46f1bd7a8502c65727f0367d5ee43d696", "_shasum": "0fef5ad46f1bd7a8502c65727f0367d5ee43d696",
"_spec": "atob-lite@^2.0.0", "_spec": "atob-lite@^2.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\rest", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/rest",
"author": { "author": {
"name": "Hugh Kennedy", "name": "Hugh Kennedy",
"email": "hughskennedy@gmail.com", "email": "hughskennedy@gmail.com",

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.1.0.tgz", "_resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.1.0.tgz",
"_shasum": "b6c03487f44e24200dd30ca5e6a1979c5d2fb635", "_shasum": "b6c03487f44e24200dd30ca5e6a1979c5d2fb635",
"_spec": "before-after-hook@^2.0.0", "_spec": "before-after-hook@^2.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\rest", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/rest",
"author": { "author": {
"name": "Gregor Martynus" "name": "Gregor Martynus"
}, },

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/btoa-lite/-/btoa-lite-1.0.0.tgz", "_resolved": "https://registry.npmjs.org/btoa-lite/-/btoa-lite-1.0.0.tgz",
"_shasum": "337766da15801210fdd956c22e9c6891ab9d0337", "_shasum": "337766da15801210fdd956c22e9c6891ab9d0337",
"_spec": "btoa-lite@^1.0.0", "_spec": "btoa-lite@^1.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\rest", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/rest",
"author": { "author": {
"name": "Hugh Kennedy", "name": "Hugh Kennedy",
"email": "hughskennedy@gmail.com", "email": "hughskennedy@gmail.com",

View file

@ -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

1
node_modules/cross-spawn/node_modules/.bin/semver generated vendored Symbolic link
View file

@ -0,0 +1 @@
../semver/bin/semver

View file

@ -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" %*
)

0
node_modules/cross-spawn/node_modules/semver/bin/semver generated vendored Normal file → Executable file
View file

View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"semver@5.7.0", "semver@5.7.0",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "semver@5.7.0", "_from": "semver@5.7.0",
"_id": "semver@5.7.0", "_id": "semver@5.7.0",
"_inBundle": false, "_inBundle": false,
@ -27,7 +26,7 @@
], ],
"_resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", "_resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz",
"_spec": "5.7.0", "_spec": "5.7.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"bin": { "bin": {
"semver": "./bin/semver" "semver": "./bin/semver"
}, },

View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"cross-spawn@6.0.5", "cross-spawn@6.0.5",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "cross-spawn@6.0.5", "_from": "cross-spawn@6.0.5",
"_id": "cross-spawn@6.0.5", "_id": "cross-spawn@6.0.5",
"_inBundle": false, "_inBundle": false,
@ -27,7 +26,7 @@
], ],
"_resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", "_resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
"_spec": "6.0.5", "_spec": "6.0.5",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "André Cruz", "name": "André Cruz",
"email": "andre@moxy.studio" "email": "andre@moxy.studio"

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.0.0.tgz", "_resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.0.0.tgz",
"_shasum": "3e3110ca29205f120d7cb064960a39c3d2087c09", "_shasum": "3e3110ca29205f120d7cb064960a39c3d2087c09",
"_spec": "deepmerge@4.0.0", "_spec": "deepmerge@4.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\endpoint", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/endpoint",
"bugs": { "bugs": {
"url": "https://github.com/TehShrike/deepmerge/issues" "url": "https://github.com/TehShrike/deepmerge/issues"
}, },

View file

@ -23,7 +23,7 @@
"_resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", "_resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz",
"_shasum": "6368cbdb40abf3373b525ac87e4a260c3a700919", "_shasum": "6368cbdb40abf3373b525ac87e4a260c3a700919",
"_spec": "deprecation@^2.0.0", "_spec": "deprecation@^2.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\request", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/request",
"bugs": { "bugs": {
"url": "https://github.com/gr2m/deprecation/issues" "url": "https://github.com/gr2m/deprecation/issues"
}, },

View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"end-of-stream@1.4.1", "end-of-stream@1.4.1",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "end-of-stream@1.4.1", "_from": "end-of-stream@1.4.1",
"_id": "end-of-stream@1.4.1", "_id": "end-of-stream@1.4.1",
"_inBundle": false, "_inBundle": false,
@ -27,7 +26,7 @@
], ],
"_resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", "_resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz",
"_spec": "1.4.1", "_spec": "1.4.1",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Mathias Buus", "name": "Mathias Buus",
"email": "mathiasbuus@gmail.com" "email": "mathiasbuus@gmail.com"

5
node_modules/execa/package.json generated vendored
View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"execa@1.0.0", "execa@1.0.0",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "execa@1.0.0", "_from": "execa@1.0.0",
"_id": "execa@1.0.0", "_id": "execa@1.0.0",
"_inBundle": false, "_inBundle": false,
@ -31,7 +30,7 @@
], ],
"_resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", "_resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
"_spec": "1.0.0", "_spec": "1.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Sindre Sorhus", "name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com", "email": "sindresorhus@gmail.com",

View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"get-stream@4.1.0", "get-stream@4.1.0",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "get-stream@4.1.0", "_from": "get-stream@4.1.0",
"_id": "get-stream@4.1.0", "_id": "get-stream@4.1.0",
"_inBundle": false, "_inBundle": false,
@ -27,7 +26,7 @@
], ],
"_resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", "_resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
"_spec": "4.1.0", "_spec": "4.1.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Sindre Sorhus", "name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com", "email": "sindresorhus@gmail.com",

View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"is-stream@1.1.0", "is-stream@1.1.0",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "is-stream@1.1.0", "_from": "is-stream@1.1.0",
"_id": "is-stream@1.1.0", "_id": "is-stream@1.1.0",
"_inBundle": false, "_inBundle": false,
@ -27,7 +26,7 @@
], ],
"_resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", "_resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
"_spec": "1.1.0", "_spec": "1.1.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Sindre Sorhus", "name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com", "email": "sindresorhus@gmail.com",

5
node_modules/isexe/package.json generated vendored
View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"isexe@2.0.0", "isexe@2.0.0",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "isexe@2.0.0", "_from": "isexe@2.0.0",
"_id": "isexe@2.0.0", "_id": "isexe@2.0.0",
"_inBundle": false, "_inBundle": false,
@ -27,7 +26,7 @@
], ],
"_resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "_resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
"_spec": "2.0.0", "_spec": "2.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Isaac Z. Schlueter", "name": "Isaac Z. Schlueter",
"email": "i@izs.me", "email": "i@izs.me",

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", "_resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz",
"_shasum": "2d177f652fa31e939b4438d5341499dfa3825e99", "_shasum": "2d177f652fa31e939b4438d5341499dfa3825e99",
"_spec": "lodash.get@^4.4.2", "_spec": "lodash.get@^4.4.2",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\rest", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/rest",
"author": { "author": {
"name": "John-David Dalton", "name": "John-David Dalton",
"email": "john.david.dalton@gmail.com", "email": "john.david.dalton@gmail.com",

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz", "_resolved": "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz",
"_shasum": "d8757b1da807dde24816b0d6a84bea1a76230b23", "_shasum": "d8757b1da807dde24816b0d6a84bea1a76230b23",
"_spec": "lodash.set@^4.3.2", "_spec": "lodash.set@^4.3.2",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\rest", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/rest",
"author": { "author": {
"name": "John-David Dalton", "name": "John-David Dalton",
"email": "john.david.dalton@gmail.com", "email": "john.david.dalton@gmail.com",

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", "_resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz",
"_shasum": "d0225373aeb652adc1bc82e4945339a842754773", "_shasum": "d0225373aeb652adc1bc82e4945339a842754773",
"_spec": "lodash.uniq@^4.5.0", "_spec": "lodash.uniq@^4.5.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\rest", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/rest",
"author": { "author": {
"name": "John-David Dalton", "name": "John-David Dalton",
"email": "john.david.dalton@gmail.com", "email": "john.david.dalton@gmail.com",

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/macos-release/-/macos-release-2.3.0.tgz", "_resolved": "https://registry.npmjs.org/macos-release/-/macos-release-2.3.0.tgz",
"_shasum": "eb1930b036c0800adebccd5f17bc4c12de8bb71f", "_shasum": "eb1930b036c0800adebccd5f17bc4c12de8bb71f",
"_spec": "macos-release@^2.2.0", "_spec": "macos-release@^2.2.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\os-name", "_where": "/Users/cong/zcong/github/setup-node/node_modules/os-name",
"author": { "author": {
"name": "Sindre Sorhus", "name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com", "email": "sindresorhus@gmail.com",

5
node_modules/nice-try/package.json generated vendored
View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"nice-try@1.0.5", "nice-try@1.0.5",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "nice-try@1.0.5", "_from": "nice-try@1.0.5",
"_id": "nice-try@1.0.5", "_id": "nice-try@1.0.5",
"_inBundle": false, "_inBundle": false,
@ -27,7 +26,7 @@
], ],
"_resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", "_resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
"_spec": "1.0.5", "_spec": "1.0.5",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"authors": [ "authors": [
"Tobias Reich <tobias@electerious.com>" "Tobias Reich <tobias@electerious.com>"
], ],

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", "_resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
"_shasum": "e633456386d4aa55863f676a7ab0daa8fdecb0fd", "_shasum": "e633456386d4aa55863f676a7ab0daa8fdecb0fd",
"_spec": "node-fetch@^2.3.0", "_spec": "node-fetch@^2.3.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\request", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/request",
"author": { "author": {
"name": "David Frank" "name": "David Frank"
}, },

View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"npm-run-path@2.0.2", "npm-run-path@2.0.2",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "npm-run-path@2.0.2", "_from": "npm-run-path@2.0.2",
"_id": "npm-run-path@2.0.2", "_id": "npm-run-path@2.0.2",
"_inBundle": false, "_inBundle": false,
@ -27,7 +26,7 @@
], ],
"_resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", "_resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
"_spec": "2.0.2", "_spec": "2.0.2",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Sindre Sorhus", "name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com", "email": "sindresorhus@gmail.com",

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz", "_resolved": "https://registry.npmjs.org/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz",
"_shasum": "cf472edc9d551055f9ef73f6e42b4dbb4c80bea4", "_shasum": "cf472edc9d551055f9ef73f6e42b4dbb4c80bea4",
"_spec": "octokit-pagination-methods@^1.1.0", "_spec": "octokit-pagination-methods@^1.1.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\rest", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/rest",
"author": { "author": {
"name": "Gregor Martynus", "name": "Gregor Martynus",
"url": "https://github.com/gr2m" "url": "https://github.com/gr2m"

5
node_modules/once/package.json generated vendored
View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"once@1.4.0", "once@1.4.0",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "once@1.4.0", "_from": "once@1.4.0",
"_id": "once@1.4.0", "_id": "once@1.4.0",
"_inBundle": false, "_inBundle": false,
@ -33,7 +32,7 @@
], ],
"_resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "_resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"_spec": "1.4.0", "_spec": "1.4.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Isaac Z. Schlueter", "name": "Isaac Z. Schlueter",
"email": "i@izs.me", "email": "i@izs.me",

2
node_modules/os-name/package.json generated vendored
View file

@ -24,7 +24,7 @@
"_resolved": "https://registry.npmjs.org/os-name/-/os-name-3.1.0.tgz", "_resolved": "https://registry.npmjs.org/os-name/-/os-name-3.1.0.tgz",
"_shasum": "dec19d966296e1cd62d701a5a66ee1ddeae70801", "_shasum": "dec19d966296e1cd62d701a5a66ee1ddeae70801",
"_spec": "os-name@^3.0.0", "_spec": "os-name@^3.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\endpoint\\node_modules\\universal-user-agent", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/endpoint/node_modules/universal-user-agent",
"author": { "author": {
"name": "Sindre Sorhus", "name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com", "email": "sindresorhus@gmail.com",

View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"p-finally@1.0.0", "p-finally@1.0.0",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "p-finally@1.0.0", "_from": "p-finally@1.0.0",
"_id": "p-finally@1.0.0", "_id": "p-finally@1.0.0",
"_inBundle": false, "_inBundle": false,
@ -27,7 +26,7 @@
], ],
"_resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", "_resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
"_spec": "1.0.0", "_spec": "1.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Sindre Sorhus", "name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com", "email": "sindresorhus@gmail.com",

5
node_modules/path-key/package.json generated vendored
View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"path-key@2.0.1", "path-key@2.0.1",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "path-key@2.0.1", "_from": "path-key@2.0.1",
"_id": "path-key@2.0.1", "_id": "path-key@2.0.1",
"_inBundle": false, "_inBundle": false,
@ -28,7 +27,7 @@
], ],
"_resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", "_resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
"_spec": "2.0.1", "_spec": "2.0.1",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Sindre Sorhus", "name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com", "email": "sindresorhus@gmail.com",

5
node_modules/pump/package.json generated vendored
View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"pump@3.0.0", "pump@3.0.0",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "pump@3.0.0", "_from": "pump@3.0.0",
"_id": "pump@3.0.0", "_id": "pump@3.0.0",
"_inBundle": false, "_inBundle": false,
@ -27,7 +26,7 @@
], ],
"_resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", "_resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
"_spec": "3.0.0", "_spec": "3.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Mathias Buus Madsen", "name": "Mathias Buus Madsen",
"email": "mathiasbuus@gmail.com" "email": "mathiasbuus@gmail.com"

23
node_modules/semver/package.json generated vendored
View file

@ -1,19 +1,25 @@
{ {
"_from": "semver@^6.1.1", "_args": [
[
"semver@6.1.2",
"/Users/cong/zcong/github/setup-node"
]
],
"_from": "semver@6.1.2",
"_id": "semver@6.1.2", "_id": "semver@6.1.2",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-z4PqiCpomGtWj8633oeAdXm1Kn1W++3T8epkZYnwiVgIYIJ0QHszhInYSJTYxebByQH7KVCEAn8R9duzZW2PhQ==", "_integrity": "sha512-z4PqiCpomGtWj8633oeAdXm1Kn1W++3T8epkZYnwiVgIYIJ0QHszhInYSJTYxebByQH7KVCEAn8R9duzZW2PhQ==",
"_location": "/semver", "_location": "/semver",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "range", "type": "version",
"registry": true, "registry": true,
"raw": "semver@^6.1.1", "raw": "semver@6.1.2",
"name": "semver", "name": "semver",
"escapedName": "semver", "escapedName": "semver",
"rawSpec": "^6.1.1", "rawSpec": "6.1.2",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "^6.1.1" "fetchSpec": "6.1.2"
}, },
"_requiredBy": [ "_requiredBy": [
"/", "/",
@ -21,17 +27,14 @@
"/istanbul-lib-instrument" "/istanbul-lib-instrument"
], ],
"_resolved": "https://registry.npmjs.org/semver/-/semver-6.1.2.tgz", "_resolved": "https://registry.npmjs.org/semver/-/semver-6.1.2.tgz",
"_shasum": "079960381376a3db62eb2edc8a3bfb10c7cfe318", "_spec": "6.1.2",
"_spec": "semver@^6.1.1", "_where": "/Users/cong/zcong/github/setup-node",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node",
"bin": { "bin": {
"semver": "./bin/semver" "semver": "./bin/semver"
}, },
"bugs": { "bugs": {
"url": "https://github.com/npm/node-semver/issues" "url": "https://github.com/npm/node-semver/issues"
}, },
"bundleDependencies": false,
"deprecated": false,
"description": "The semantic version parser used by npm.", "description": "The semantic version parser used by npm.",
"devDependencies": { "devDependencies": {
"tap": "^14.1.6" "tap": "^14.1.6"

View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"shebang-command@1.2.0", "shebang-command@1.2.0",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "shebang-command@1.2.0", "_from": "shebang-command@1.2.0",
"_id": "shebang-command@1.2.0", "_id": "shebang-command@1.2.0",
"_inBundle": false, "_inBundle": false,
@ -27,7 +26,7 @@
], ],
"_resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", "_resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
"_spec": "1.2.0", "_spec": "1.2.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Kevin Martensson", "name": "Kevin Martensson",
"email": "kevinmartensson@gmail.com", "email": "kevinmartensson@gmail.com",

View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"shebang-regex@1.0.0", "shebang-regex@1.0.0",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "shebang-regex@1.0.0", "_from": "shebang-regex@1.0.0",
"_id": "shebang-regex@1.0.0", "_id": "shebang-regex@1.0.0",
"_inBundle": false, "_inBundle": false,
@ -27,7 +26,7 @@
], ],
"_resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", "_resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
"_spec": "1.0.0", "_spec": "1.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Sindre Sorhus", "name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com", "email": "sindresorhus@gmail.com",

View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"signal-exit@3.0.2", "signal-exit@3.0.2",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "signal-exit@3.0.2", "_from": "signal-exit@3.0.2",
"_id": "signal-exit@3.0.2", "_id": "signal-exit@3.0.2",
"_inBundle": false, "_inBundle": false,
@ -28,7 +27,7 @@
], ],
"_resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "_resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
"_spec": "3.0.2", "_spec": "3.0.2",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Ben Coe", "name": "Ben Coe",
"email": "ben@npmjs.com" "email": "ben@npmjs.com"

View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"strip-eof@1.0.0", "strip-eof@1.0.0",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "strip-eof@1.0.0", "_from": "strip-eof@1.0.0",
"_id": "strip-eof@1.0.0", "_id": "strip-eof@1.0.0",
"_inBundle": false, "_inBundle": false,
@ -27,7 +26,7 @@
], ],
"_resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", "_resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
"_spec": "1.0.0", "_spec": "1.0.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Sindre Sorhus", "name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com", "email": "sindresorhus@gmail.com",

2
node_modules/tunnel/package.json generated vendored
View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.4.tgz", "_resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.4.tgz",
"_shasum": "2d3785a158c174c9a16dc2c046ec5fc5f1742213", "_shasum": "2d3785a158c174c9a16dc2c046ec5fc5f1742213",
"_spec": "tunnel@0.0.4", "_spec": "tunnel@0.0.4",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\typed-rest-client", "_where": "/Users/cong/zcong/github/setup-node/node_modules/typed-rest-client",
"author": { "author": {
"name": "Koichi Kobayashi", "name": "Koichi Kobayashi",
"email": "koichik@improvement.jp" "email": "koichik@improvement.jp"

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.5.0.tgz", "_resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.5.0.tgz",
"_shasum": "c0dda6e775b942fd46a2d99f2160a94953206fc2", "_shasum": "c0dda6e775b942fd46a2d99f2160a94953206fc2",
"_spec": "typed-rest-client@^1.4.0", "_spec": "typed-rest-client@^1.4.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-tool-cache-0.0.0.tgz", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@actions/tool-cache",
"author": { "author": {
"name": "Microsoft Corporation" "name": "Microsoft Corporation"
}, },

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", "_resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz",
"_shasum": "4f3fb53b106e6097fcf9cb4109f2a5e9bdfa5022", "_shasum": "4f3fb53b106e6097fcf9cb4109f2a5e9bdfa5022",
"_spec": "underscore@1.8.3", "_spec": "underscore@1.8.3",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\typed-rest-client", "_where": "/Users/cong/zcong/github/setup-node/node_modules/typed-rest-client",
"author": { "author": {
"name": "Jeremy Ashkenas", "name": "Jeremy Ashkenas",
"email": "jeremy@documentcloud.org" "email": "jeremy@documentcloud.org"

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-2.1.0.tgz", "_resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-2.1.0.tgz",
"_shasum": "5abfbcc036a1ba490cb941f8fd68c46d3669e8e4", "_shasum": "5abfbcc036a1ba490cb941f8fd68c46d3669e8e4",
"_spec": "universal-user-agent@^2.0.3", "_spec": "universal-user-agent@^2.0.3",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\graphql", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/graphql",
"author": { "author": {
"name": "Gregor Martynus", "name": "Gregor Martynus",
"url": "https://github.com/gr2m" "url": "https://github.com/gr2m"

View file

@ -22,7 +22,7 @@
"_resolved": "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz", "_resolved": "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz",
"_shasum": "fc565a3cccbff7730c775f5641f9555791439f21", "_shasum": "fc565a3cccbff7730c775f5641f9555791439f21",
"_spec": "url-template@^2.0.8", "_spec": "url-template@^2.0.8",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\endpoint", "_where": "/Users/cong/zcong/github/setup-node/node_modules/@octokit/endpoint",
"author": { "author": {
"name": "Bram Stein", "name": "Bram Stein",
"email": "b.l.stein@gmail.com", "email": "b.l.stein@gmail.com",

23
node_modules/uuid/package.json generated vendored
View file

@ -1,28 +1,33 @@
{ {
"_from": "uuid@^3.3.2", "_args": [
[
"uuid@3.3.2",
"/Users/cong/zcong/github/setup-node"
]
],
"_from": "uuid@3.3.2",
"_id": "uuid@3.3.2", "_id": "uuid@3.3.2",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", "_integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==",
"_location": "/uuid", "_location": "/uuid",
"_phantomChildren": {}, "_phantomChildren": {},
"_requested": { "_requested": {
"type": "range", "type": "version",
"registry": true, "registry": true,
"raw": "uuid@^3.3.2", "raw": "uuid@3.3.2",
"name": "uuid", "name": "uuid",
"escapedName": "uuid", "escapedName": "uuid",
"rawSpec": "^3.3.2", "rawSpec": "3.3.2",
"saveSpec": null, "saveSpec": null,
"fetchSpec": "^3.3.2" "fetchSpec": "3.3.2"
}, },
"_requiredBy": [ "_requiredBy": [
"/@actions/tool-cache", "/@actions/tool-cache",
"/request" "/request"
], ],
"_resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", "_resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
"_shasum": "1b4af4955eb3077c501c23872fc6513811587131", "_spec": "3.3.2",
"_spec": "uuid@^3.3.2", "_where": "/Users/cong/zcong/github/setup-node",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-tool-cache-0.0.0.tgz",
"bin": { "bin": {
"uuid": "./bin/uuid" "uuid": "./bin/uuid"
}, },
@ -34,7 +39,6 @@
"bugs": { "bugs": {
"url": "https://github.com/kelektiv/node-uuid/issues" "url": "https://github.com/kelektiv/node-uuid/issues"
}, },
"bundleDependencies": false,
"commitlint": { "commitlint": {
"extends": [ "extends": [
"@commitlint/config-conventional" "@commitlint/config-conventional"
@ -62,7 +66,6 @@
"email": "shtylman@gmail.com" "email": "shtylman@gmail.com"
} }
], ],
"deprecated": false,
"description": "RFC4122 (v1, v4, and v5) UUIDs", "description": "RFC4122 (v1, v4, and v5) UUIDs",
"devDependencies": { "devDependencies": {
"@commitlint/cli": "7.0.0", "@commitlint/cli": "7.0.0",

0
node_modules/which/bin/which generated vendored Normal file → Executable file
View file

5
node_modules/which/package.json generated vendored
View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"which@1.3.1", "which@1.3.1",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "which@1.3.1", "_from": "which@1.3.1",
"_id": "which@1.3.1", "_id": "which@1.3.1",
"_inBundle": false, "_inBundle": false,
@ -28,7 +27,7 @@
], ],
"_resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", "_resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
"_spec": "1.3.1", "_spec": "1.3.1",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Isaac Z. Schlueter", "name": "Isaac Z. Schlueter",
"email": "i@izs.me", "email": "i@izs.me",

View file

@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/windows-release/-/windows-release-3.2.0.tgz", "_resolved": "https://registry.npmjs.org/windows-release/-/windows-release-3.2.0.tgz",
"_shasum": "8122dad5afc303d833422380680a79cdfa91785f", "_shasum": "8122dad5afc303d833422380680a79cdfa91785f",
"_spec": "windows-release@^3.1.0", "_spec": "windows-release@^3.1.0",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\os-name", "_where": "/Users/cong/zcong/github/setup-node/node_modules/os-name",
"author": { "author": {
"name": "Sindre Sorhus", "name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com", "email": "sindresorhus@gmail.com",

5
node_modules/wrappy/package.json generated vendored
View file

@ -2,10 +2,9 @@
"_args": [ "_args": [
[ [
"wrappy@1.0.2", "wrappy@1.0.2",
"C:\\Users\\Administrator\\Documents\\setup-node" "/Users/cong/zcong/github/setup-node"
] ]
], ],
"_development": true,
"_from": "wrappy@1.0.2", "_from": "wrappy@1.0.2",
"_id": "wrappy@1.0.2", "_id": "wrappy@1.0.2",
"_inBundle": false, "_inBundle": false,
@ -28,7 +27,7 @@
], ],
"_resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "_resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"_spec": "1.0.2", "_spec": "1.0.2",
"_where": "C:\\Users\\Administrator\\Documents\\setup-node", "_where": "/Users/cong/zcong/github/setup-node",
"author": { "author": {
"name": "Isaac Z. Schlueter", "name": "Isaac Z. Schlueter",
"email": "i@izs.me", "email": "i@izs.me",

84
package-lock.json generated
View file

@ -5,39 +5,37 @@
"requires": true, "requires": true,
"dependencies": { "dependencies": {
"@actions/core": { "@actions/core": {
"version": "file:toolkit/actions-core-0.0.0.tgz", "version": "1.0.0",
"integrity": "sha512-58ituSV1rzBMmmsWoFDnrnsT+Wm4kD/u9NgAGbPvZ7rQHWluYtD5bDbIsjDC6rKFuhqytkxDJPsF/TWBdgc/nA==", "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.0.0.tgz",
"requires": { "integrity": "sha512-aMIlkx96XH4E/2YZtEOeyrYQfhlas9jIRkfGPqMwXD095Rdkzo4lB6ZmbxPQSzD+e1M+Xsm98ZhuSMYGv/AlqA=="
"@actions/exit": "^0.0.0"
}
}, },
"@actions/exec": { "@actions/exec": {
"version": "file:toolkit/actions-exec-0.0.0.tgz", "version": "1.0.0",
"integrity": "sha512-HHObusC4p1RElxIlrrN0sY/cweBYl+jKm3J/XWHPQZMipgJXB/dkVhUfl4KqH3Vim7oM2KjCGSfn+vTYrqVH3A==" "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.0.0.tgz",
}, "integrity": "sha512-nquH0+XKng+Ll7rZfCojN7NWSbnGh+ltwUJhzfbLkmOJgxocGX2/yXcZLMyT9fa7+tByEow/NSTrBExNlEj9fw=="
"@actions/exit": {
"version": "file:toolkit/actions-exit-0.0.0.tgz",
"integrity": "sha512-vQdxFWM0/AERkC79mQ886SqPmV4joWhrSF7hiSTiJoKkE9eTjrKV5WQtp7SXv6OntrQkKX+ZjgdGpv+0rvJRCw=="
}, },
"@actions/github": { "@actions/github": {
"version": "file:toolkit/actions-github-0.0.0.tgz", "version": "1.0.0",
"integrity": "sha512-CByX5VIagC5BqGwsHD9Qt5MfN+H6GDC9qQl+MIUipaHTc89sUG/vAY/xQDS9vxuuRwrxbdERwKO3dR6U1BSziw==", "resolved": "https://registry.npmjs.org/@actions/github/-/github-1.0.0.tgz",
"integrity": "sha512-PPbWZ5wFAD/Vr+RCECfR3KNHjTwYln4liJBihs9tQUL0/PCFqB2lSkIh9V94AcZFHxgKk8snImjuLaBE8bKR7A==",
"requires": { "requires": {
"@octokit/graphql": "^2.0.1", "@octokit/graphql": "^2.0.1",
"@octokit/rest": "^16.15.0" "@octokit/rest": "^16.15.0"
} }
}, },
"@actions/io": { "@actions/io": {
"version": "file:toolkit/actions-io-0.0.0.tgz", "version": "1.0.0",
"integrity": "sha512-MZUGyOe6m26Ns6ZQnr2JvxXzlwZ33XWYG392b5YuPMim1CE8DbuiBHtqOZeHVm5PenS4fRUG3qMTiMymve1DUA==" "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.0.0.tgz",
"integrity": "sha512-ezrJSRdqtXtdx1WXlfYL85+40F7gB39jCK9P0jZVODW3W6xUYmu6ZOEc/UmmElUwhRyDRm1R4yNZu1Joq2kuQg=="
}, },
"@actions/tool-cache": { "@actions/tool-cache": {
"version": "file:toolkit/actions-tool-cache-0.0.0.tgz", "version": "1.0.0",
"integrity": "sha512-33oYAVRdp6MWNT7Yca0//SmOsvpE7FpFfNA/LzwjIZdLucHaO6V67dqZ5p81CTBncrZal+O5kE9B8qSk0rhipg==", "resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-1.0.0.tgz",
"integrity": "sha512-l3zT0IfDfi5Ik5aMpnXqGHGATxN8xa9ls4ue+X/CBXpPhRMRZS4vcuh5Q9T98WAGbkysRCfhpbksTPHIcKnNwQ==",
"requires": { "requires": {
"@actions/core": "^0.0.0", "@actions/core": "^1.0.0",
"@actions/exec": "^0.0.0", "@actions/exec": "^1.0.0",
"@actions/io": "^0.0.0", "@actions/io": "^1.0.0",
"semver": "^6.1.0", "semver": "^6.1.0",
"typed-rest-client": "^1.4.0", "typed-rest-client": "^1.4.0",
"uuid": "^3.3.2" "uuid": "^3.3.2"
@ -690,6 +688,11 @@
"integrity": "sha512-SOhuU4wNBxhhTHxYaiG5NY4HBhDIDnJF60GU+2LqHAdKKer86//e4yg69aENCtQ04n0ovz+tq2YPME5t5yp4pw==", "integrity": "sha512-SOhuU4wNBxhhTHxYaiG5NY4HBhDIDnJF60GU+2LqHAdKKer86//e4yg69aENCtQ04n0ovz+tq2YPME5t5yp4pw==",
"dev": true "dev": true
}, },
"@zeit/ncc": {
"version": "0.20.4",
"resolved": "https://registry.npmjs.org/@zeit/ncc/-/ncc-0.20.4.tgz",
"integrity": "sha512-fmq+F/QxPec+k/zvT7HiVpk7oiGFseS6brfT/AYqmCUp6QFRK7vZf2Ref46MImsg/g2W3g5X6SRvGRmOAvEfdA=="
},
"abab": { "abab": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/abab/-/abab-2.0.0.tgz", "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.0.tgz",
@ -1885,7 +1888,8 @@
"ansi-regex": { "ansi-regex": {
"version": "2.1.1", "version": "2.1.1",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"aproba": { "aproba": {
"version": "1.2.0", "version": "1.2.0",
@ -1906,12 +1910,14 @@
"balanced-match": { "balanced-match": {
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"brace-expansion": { "brace-expansion": {
"version": "1.1.11", "version": "1.1.11",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"balanced-match": "^1.0.0", "balanced-match": "^1.0.0",
"concat-map": "0.0.1" "concat-map": "0.0.1"
@ -1926,17 +1932,20 @@
"code-point-at": { "code-point-at": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"concat-map": { "concat-map": {
"version": "0.0.1", "version": "0.0.1",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"console-control-strings": { "console-control-strings": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"core-util-is": { "core-util-is": {
"version": "1.0.2", "version": "1.0.2",
@ -2053,7 +2062,8 @@
"inherits": { "inherits": {
"version": "2.0.3", "version": "2.0.3",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"ini": { "ini": {
"version": "1.3.5", "version": "1.3.5",
@ -2065,6 +2075,7 @@
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"number-is-nan": "^1.0.0" "number-is-nan": "^1.0.0"
} }
@ -2079,6 +2090,7 @@
"version": "3.0.4", "version": "3.0.4",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"brace-expansion": "^1.1.7" "brace-expansion": "^1.1.7"
} }
@ -2086,12 +2098,14 @@
"minimist": { "minimist": {
"version": "0.0.8", "version": "0.0.8",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"minipass": { "minipass": {
"version": "2.3.5", "version": "2.3.5",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"safe-buffer": "^5.1.2", "safe-buffer": "^5.1.2",
"yallist": "^3.0.0" "yallist": "^3.0.0"
@ -2110,6 +2124,7 @@
"version": "0.5.1", "version": "0.5.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"minimist": "0.0.8" "minimist": "0.0.8"
} }
@ -2190,7 +2205,8 @@
"number-is-nan": { "number-is-nan": {
"version": "1.0.1", "version": "1.0.1",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"object-assign": { "object-assign": {
"version": "4.1.1", "version": "4.1.1",
@ -2202,6 +2218,7 @@
"version": "1.4.0", "version": "1.4.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"wrappy": "1" "wrappy": "1"
} }
@ -2287,7 +2304,8 @@
"safe-buffer": { "safe-buffer": {
"version": "5.1.2", "version": "5.1.2",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"safer-buffer": { "safer-buffer": {
"version": "2.1.2", "version": "2.1.2",
@ -2323,6 +2341,7 @@
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"code-point-at": "^1.0.0", "code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0", "is-fullwidth-code-point": "^1.0.0",
@ -2342,6 +2361,7 @@
"version": "3.0.1", "version": "3.0.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"ansi-regex": "^2.0.0" "ansi-regex": "^2.0.0"
} }
@ -2385,12 +2405,14 @@
"wrappy": { "wrappy": {
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"yallist": { "yallist": {
"version": "3.0.3", "version": "3.0.3",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
} }
} }
}, },

View file

@ -3,9 +3,9 @@
"version": "1.0.0", "version": "1.0.0",
"private": true, "private": true,
"description": "setup node action", "description": "setup node action",
"main": "lib/setup-node.js", "main": "lib/index.js",
"scripts": { "scripts": {
"build": "tsc", "build": "ncc build src/setup-node.ts -o lib",
"format": "prettier --write **/*.ts", "format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts", "format-check": "prettier --check **/*.ts",
"test": "jest" "test": "jest"
@ -22,12 +22,12 @@
"author": "GitHub", "author": "GitHub",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@actions/core": "file:toolkit/actions-core-0.0.0.tgz", "@actions/core": "^1.0.0",
"@actions/exec": "file:toolkit/actions-exec-0.0.0.tgz", "@actions/io": "^1.0.0",
"@actions/exit": "file:toolkit/actions-exit-0.0.0.tgz", "@actions/exec": "^1.0.0",
"@actions/github": "file:toolkit/actions-github-0.0.0.tgz", "@actions/github": "^1.0.0",
"@actions/io": "file:toolkit/actions-io-0.0.0.tgz", "@actions/tool-cache": "^1.0.0",
"@actions/tool-cache": "file:toolkit/actions-tool-cache-0.0.0.tgz", "@zeit/ncc": "^0.20.4",
"semver": "^6.1.1" "semver": "^6.1.1"
}, },
"devDependencies": { "devDependencies": {
@ -44,8 +44,7 @@
"husky": { "husky": {
"skipCI": true, "skipCI": true,
"hooks": { "hooks": {
"pre-commit": "npm run build && npm run format", "pre-commit": "npm run build && npm run format"
"post-commit": "npm prune --production && git add node_modules/* && git commit -m \"Husky commit correct node modules\""
} }
} }
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.