From 0fbf2cf5c02678a0a27292587c9634004bf4765d Mon Sep 17 00:00:00 2001 From: Alexis Ksigzkiewicz <115569470+AlexisKGZ@users.noreply.github.com> Date: Mon, 11 Sep 2023 16:32:11 +0200 Subject: [PATCH 1/2] Update install-dependencies.js --- src/utils/install-dependencies.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/utils/install-dependencies.js b/src/utils/install-dependencies.js index c630ab8..8fd0d55 100644 --- a/src/utils/install-dependencies.js +++ b/src/utils/install-dependencies.js @@ -3,11 +3,9 @@ const execCommand = require('./exec-command.js'); var fnInstallSFDX = function(){ core.info('=== Downloading and installing SFDX cli ==='); - //execCommand.run('wget', ['https://developer.salesforce.com/media/salesforce-cli/sfdx-cli/channels/stable/sfdx-cli-v7.72.0-697e9faee2-linux-x64.tar.xz']); - execCommand.run('wget', ['https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz']); + execCommand.run('wget', ['https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-linux-x64.tar.xz']); execCommand.run('mkdir', ['-p', 'sfdx-cli']); - //execCommand.run('tar', ['xJf', 'sfdx-cli-v7.72.0-697e9faee2-linux-x64.tar.xz', '-C', 'sfdx-cli', '--strip-components', '1']); - execCommand.run('tar', ['xJf', 'sfdx-linux-amd64.tar.xz', '-C', 'sfdx-cli', '--strip-components', '1']); + execCommand.run('tar', ['xJf', 'sf-linux-x64.tar.xz', '-C', 'sfdx-cli', '--strip-components', '1']); execCommand.run('./sfdx-cli/install', []); core.info('=== SFDX cli installed ==='); }; From 8133d7a656bb0214dc353b24e2612086a885b903 Mon Sep 17 00:00:00 2001 From: Houssame Yahiaoui Date: Mon, 11 Sep 2023 16:58:58 +0200 Subject: [PATCH 2/2] Document the bulding process of the Github action dist file and apply it for this update. --- README.md | 58 ++- dist/index.js | 896 +++++++++++++++++++++++----------------------- dist/licenses.txt | 735 +++++++++++++++++++++++++++++++++++++ 3 files changed, 1237 insertions(+), 452 deletions(-) create mode 100644 dist/licenses.txt diff --git a/README.md b/README.md index 468051e..a48e2c9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,17 @@ # SFDX Org Development Model Github Action - Build & Deploy + + + +- [Getting Started](#getting-started) +- [Usage Sample](#usage-sample) + - [Inputs:](#inputs) + - [Note for destructives changes.](#note-for-destructives-changes) +- [Contributing to the Repository](#contributing-to-the-repository) +- [Reporting Issues](#reporting-issues) + + + This repository implements a Github Action that's is a variation of the [Bitbucket Pipelines examples with org development](https://github.com/forcedotcom/sfdx-bitbucket-org/). This action is usefull to deploy to non-scratch orgs (sandbox or production) with [Github Workflow](https://guides.github.com/introduction/flow/). @@ -12,6 +24,9 @@ It's a Javascript [Github Action](https://github.com/features/actions), that wil - Deploy/Check destructive changes (optional) - Execute Data Factory Apex +> [!WARNING] +> This repository was cloned and updated from https://github.com/tiagonnascimento/sfdx-orgdev-build-deploy as this repository was not updated for two years, at the time of this writing. Some URLs, configuration and dependencies are deprecated or do not exist anymore. + ## Getting Started 1) If you intent to use it, please go through the Readme of the referred repo, make sure you understand the concept and execute the *Getting Started* (of the referred repo) steps #4, 5, 6 and 10 @@ -65,6 +80,7 @@ jobs: ``` ### Inputs: + | Name | Requirement | Description | | --------------------- | ----------- | ----------- | | `type` | _required_ | Whether to deploy on `production` or on `sandbox` (default value) | @@ -83,7 +99,7 @@ jobs: | `default_source_path` | _optional_ | Path on the repo where your source files are stored, for SFDX project this is normally `force-app/main/default` -# Note for destructives changes. +### Note for destructives changes. The `destructive_path` input is a path folder, with two files inside. For example if we have the following folder structure @@ -102,7 +118,7 @@ The `destructive_path` input is a path folder, with two files inside. For exampl |-- .gitignore ... |-- sfdx-project.json -``` +``` The `destructive_path` will be `releases/01_releases/destructive`. @@ -111,6 +127,44 @@ The `destructive_path` will be `releases/01_releases/destructive`. If you find any issues or opportunities for improving this repository, fix them! Feel free to contribute to this project by [forking](http://help.github.com/fork-a-repo/) this repository and making changes to the content. Once you've made your changes, share them back with the community by sending a pull request. See [How to send pull requests](http://help.github.com/send-pull-requests/) for more information about contributing to GitHub projects. +Update to the Github action code should be compiled and the distribution artifact (`dist/index.js`) should be added to the repository (according to the [Documentation of Github](https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action#commit-tag-and-push-your-action-to-github)) + +To do so, follow the following steps: + +1. Install `vercel/ncc by` running this command in your terminal. + +```bash +npm i -g @vercel/ncc +``` + +2. Install dependencies + + ```bash + npm ci + ``` + +3. Compile your `index.js` file, after entering the `src` directory + + ```bash + cd src + ncc build index.js --license licenses.txt --out ../dist + ``` + + You'll see a new `dist/index.js` file, at the root of the repository folder, with your code and the compiled modules. You will also see an accompanying `dist/licenses.txt` file containing all the licenses of the `node_modules` you are using. + + Change the `main` keyword in your `action.yml` file to use the new `dist/index.js` file. + + ```yml + main: 'dist/index.js' + ``` + +3. Commit `dist/index.js` alongside your updated files. + + ```bash + git add dist/index.js action.yml ... + git commit -m "..." + ``` + ## Reporting Issues If you find any issues with this demo that you can't fix, feel free to report them in the [issues](https://github.com/forcedotcom/sfdx-bitbucket-org/issues) section of this repository. diff --git a/dist/index.js b/dist/index.js index 268cccc..3c9acfc 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,9 +1,8 @@ -module.exports = /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ 7351: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 9749: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -15,8 +14,8 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", ({ value: true })); -const os = __importStar(__webpack_require__(2087)); -const utils_1 = __webpack_require__(5278); +const os = __importStar(__nccwpck_require__(2037)); +const utils_1 = __nccwpck_require__(4312); /** * Commands * @@ -88,8 +87,8 @@ function escapeProperty(s) { /***/ }), -/***/ 2186: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 6761: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -110,11 +109,11 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", ({ value: true })); -const command_1 = __webpack_require__(7351); -const file_command_1 = __webpack_require__(717); -const utils_1 = __webpack_require__(5278); -const os = __importStar(__webpack_require__(2087)); -const path = __importStar(__webpack_require__(5622)); +const command_1 = __nccwpck_require__(9749); +const file_command_1 = __nccwpck_require__(867); +const utils_1 = __nccwpck_require__(4312); +const os = __importStar(__nccwpck_require__(2037)); +const path = __importStar(__nccwpck_require__(1017)); /** * The code to exit an action */ @@ -333,8 +332,8 @@ exports.getState = getState; /***/ }), -/***/ 717: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 867: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -349,9 +348,9 @@ var __importStar = (this && this.__importStar) || function (mod) { Object.defineProperty(exports, "__esModule", ({ value: true })); // We use any as a valid input type /* eslint-disable @typescript-eslint/no-explicit-any */ -const fs = __importStar(__webpack_require__(5747)); -const os = __importStar(__webpack_require__(2087)); -const utils_1 = __webpack_require__(5278); +const fs = __importStar(__nccwpck_require__(7147)); +const os = __importStar(__nccwpck_require__(2037)); +const utils_1 = __nccwpck_require__(4312); function issueCommand(command, message) { const filePath = process.env[`GITHUB_${command}`]; if (!filePath) { @@ -369,7 +368,7 @@ exports.issueCommand = issueCommand; /***/ }), -/***/ 5278: +/***/ 4312: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -395,15 +394,15 @@ exports.toCommandValue = toCommandValue; /***/ }), -/***/ 4087: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ 4388: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.Context = void 0; -const fs_1 = __webpack_require__(5747); -const os_1 = __webpack_require__(2087); +const fs_1 = __nccwpck_require__(7147); +const os_1 = __nccwpck_require__(2037); class Context { /** * Hydrate the context from the environment @@ -452,8 +451,8 @@ exports.Context = Context; /***/ }), -/***/ 5438: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 9326: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -478,8 +477,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getOctokit = exports.context = void 0; -const Context = __importStar(__webpack_require__(4087)); -const utils_1 = __webpack_require__(3030); +const Context = __importStar(__nccwpck_require__(4388)); +const utils_1 = __nccwpck_require__(6270); exports.context = new Context.Context(); /** * Returns a hydrated octokit ready to use for GitHub Actions @@ -495,8 +494,8 @@ exports.getOctokit = getOctokit; /***/ }), -/***/ 7914: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 1563: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -521,7 +520,7 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getApiBaseUrl = exports.getProxyAgent = exports.getAuthString = void 0; -const httpClient = __importStar(__webpack_require__(9925)); +const httpClient = __importStar(__nccwpck_require__(5897)); function getAuthString(token, options) { if (!token && !options.auth) { throw new Error('Parameter token or opts.auth is required'); @@ -545,8 +544,8 @@ exports.getApiBaseUrl = getApiBaseUrl; /***/ }), -/***/ 3030: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 6270: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -571,12 +570,12 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getOctokitOptions = exports.GitHub = exports.context = void 0; -const Context = __importStar(__webpack_require__(4087)); -const Utils = __importStar(__webpack_require__(7914)); +const Context = __importStar(__nccwpck_require__(4388)); +const Utils = __importStar(__nccwpck_require__(1563)); // octokit + plugins -const core_1 = __webpack_require__(6762); -const plugin_rest_endpoint_methods_1 = __webpack_require__(3044); -const plugin_paginate_rest_1 = __webpack_require__(4193); +const core_1 = __nccwpck_require__(5177); +const plugin_rest_endpoint_methods_1 = __nccwpck_require__(9179); +const plugin_paginate_rest_1 = __nccwpck_require__(6354); exports.context = new Context.Context(); const baseUrl = Utils.getApiBaseUrl(); const defaults = { @@ -606,15 +605,15 @@ exports.getOctokitOptions = getOctokitOptions; /***/ }), -/***/ 9925: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ 5897: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const http = __webpack_require__(8605); -const https = __webpack_require__(7211); -const pm = __webpack_require__(6443); +const http = __nccwpck_require__(3685); +const https = __nccwpck_require__(5687); +const pm = __nccwpck_require__(152); let tunnel; var HttpCodes; (function (HttpCodes) { @@ -1033,7 +1032,7 @@ class HttpClient { if (useProxy) { // If using proxy, need tunnel if (!tunnel) { - tunnel = __webpack_require__(4294); + tunnel = __nccwpck_require__(4826); } const agentOptions = { maxSockets: maxSockets, @@ -1149,7 +1148,7 @@ exports.HttpClient = HttpClient; /***/ }), -/***/ 6443: +/***/ 152: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -1214,7 +1213,7 @@ exports.checkBypass = checkBypass; /***/ }), -/***/ 334: +/***/ 8596: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -1271,19 +1270,19 @@ exports.createTokenAuth = createTokenAuth; /***/ }), -/***/ 6762: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ 5177: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -var universalUserAgent = __webpack_require__(5030); -var beforeAfterHook = __webpack_require__(3682); -var request = __webpack_require__(6234); -var graphql = __webpack_require__(8467); -var authToken = __webpack_require__(334); +var universalUserAgent = __nccwpck_require__(965); +var beforeAfterHook = __nccwpck_require__(8269); +var request = __nccwpck_require__(4284); +var graphql = __nccwpck_require__(1047); +var authToken = __nccwpck_require__(8596); function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; @@ -1453,16 +1452,16 @@ exports.Octokit = Octokit; /***/ }), -/***/ 9440: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ 2427: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -var isPlainObject = __webpack_require__(3287); -var universalUserAgent = __webpack_require__(5030); +var isPlainObject = __nccwpck_require__(9387); +var universalUserAgent = __nccwpck_require__(965); function lowercaseKeys(object) { if (!object) { @@ -1851,16 +1850,16 @@ exports.endpoint = endpoint; /***/ }), -/***/ 8467: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ 1047: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -var request = __webpack_require__(6234); -var universalUserAgent = __webpack_require__(5030); +var request = __nccwpck_require__(4284); +var universalUserAgent = __nccwpck_require__(965); const VERSION = "4.6.0"; @@ -1967,7 +1966,7 @@ exports.withCustomRequest = withCustomRequest; /***/ }), -/***/ 4193: +/***/ 6354: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -2107,7 +2106,7 @@ exports.paginateRest = paginateRest; /***/ }), -/***/ 3044: +/***/ 9179: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -3261,8 +3260,8 @@ exports.restEndpointMethods = restEndpointMethods; /***/ }), -/***/ 537: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ 2629: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -3271,8 +3270,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } -var deprecation = __webpack_require__(8932); -var once = _interopDefault(__webpack_require__(1223)); +var deprecation = __nccwpck_require__(9826); +var once = _interopDefault(__nccwpck_require__(717)); const logOnce = once(deprecation => console.warn(deprecation)); /** @@ -3324,8 +3323,8 @@ exports.RequestError = RequestError; /***/ }), -/***/ 6234: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ 4284: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -3334,11 +3333,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } -var endpoint = __webpack_require__(9440); -var universalUserAgent = __webpack_require__(5030); -var isPlainObject = __webpack_require__(3287); -var nodeFetch = _interopDefault(__webpack_require__(467)); -var requestError = __webpack_require__(537); +var endpoint = __nccwpck_require__(2427); +var universalUserAgent = __nccwpck_require__(965); +var isPlainObject = __nccwpck_require__(9387); +var nodeFetch = _interopDefault(__nccwpck_require__(8004)); +var requestError = __nccwpck_require__(2629); const VERSION = "5.4.14"; @@ -3480,12 +3479,12 @@ exports.request = request; /***/ }), -/***/ 3682: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ 8269: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var register = __webpack_require__(4670) -var addHook = __webpack_require__(5549) -var removeHook = __webpack_require__(6819) +var register = __nccwpck_require__(945) +var addHook = __nccwpck_require__(4407) +var removeHook = __nccwpck_require__(8493) // bind with array of arguments: https://stackoverflow.com/a/21792913 var bind = Function.bind @@ -3544,7 +3543,7 @@ module.exports.Collection = Hook.Collection /***/ }), -/***/ 5549: +/***/ 4407: /***/ ((module) => { module.exports = addHook; @@ -3597,7 +3596,7 @@ function addHook(state, kind, name, hook) { /***/ }), -/***/ 4670: +/***/ 945: /***/ ((module) => { module.exports = register; @@ -3631,7 +3630,7 @@ function register(state, name, method, options) { /***/ }), -/***/ 6819: +/***/ 8493: /***/ ((module) => { module.exports = removeHook; @@ -3657,7 +3656,7 @@ function removeHook(state, name, method) { /***/ }), -/***/ 8932: +/***/ 9826: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -3685,7 +3684,7 @@ exports.Deprecation = Deprecation; /***/ }), -/***/ 3287: +/***/ 9387: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -3731,8 +3730,8 @@ exports.isPlainObject = isPlainObject; /***/ }), -/***/ 467: -/***/ ((module, exports, __webpack_require__) => { +/***/ 8004: +/***/ ((module, exports, __nccwpck_require__) => { "use strict"; @@ -3741,11 +3740,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } -var Stream = _interopDefault(__webpack_require__(2413)); -var http = _interopDefault(__webpack_require__(8605)); -var Url = _interopDefault(__webpack_require__(8835)); -var https = _interopDefault(__webpack_require__(7211)); -var zlib = _interopDefault(__webpack_require__(8761)); +var Stream = _interopDefault(__nccwpck_require__(2781)); +var http = _interopDefault(__nccwpck_require__(3685)); +var Url = _interopDefault(__nccwpck_require__(7310)); +var https = _interopDefault(__nccwpck_require__(5687)); +var zlib = _interopDefault(__nccwpck_require__(9796)); // Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js @@ -3896,7 +3895,7 @@ FetchError.prototype.name = 'FetchError'; let convert; try { - convert = __webpack_require__(2877).convert; + convert = (__nccwpck_require__(3446).convert); } catch (e) {} const INTERNALS = Symbol('Body internals'); @@ -5379,7 +5378,7 @@ fetch.Promise = global.Promise; module.exports = exports = fetch; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.default = exports; +exports["default"] = exports; exports.Headers = Headers; exports.Request = Request; exports.Response = Response; @@ -5388,10 +5387,10 @@ exports.FetchError = FetchError; /***/ }), -/***/ 1223: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ 717: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var wrappy = __webpack_require__(2940) +var wrappy = __nccwpck_require__(9235) module.exports = wrappy(once) module.exports.strict = wrappy(onceStrict) @@ -5437,15 +5436,15 @@ function onceStrict (fn) { /***/ }), -/***/ 4700: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ 3241: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const optsArg = __webpack_require__(5944) -const pathArg = __webpack_require__(7969) +const optsArg = __nccwpck_require__(887) +const pathArg = __nccwpck_require__(6568) -const {mkdirpNative, mkdirpNativeSync} = __webpack_require__(9747) -const {mkdirpManual, mkdirpManualSync} = __webpack_require__(3220) -const {useNative, useNativeSync} = __webpack_require__(556) +const {mkdirpNative, mkdirpNativeSync} = __nccwpck_require__(9632) +const {mkdirpManual, mkdirpManualSync} = __nccwpck_require__(4169) +const {useNative, useNativeSync} = __nccwpck_require__(5142) const mkdirp = (path, opts) => { @@ -5475,10 +5474,10 @@ module.exports = mkdirp /***/ }), -/***/ 9101: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ 3152: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const {dirname} = __webpack_require__(5622) +const {dirname} = __nccwpck_require__(1017) const findMade = (opts, parent, path = undefined) => { // we never want the 'made' return value to be a root directory @@ -5511,10 +5510,10 @@ module.exports = {findMade, findMadeSync} /***/ }), -/***/ 3220: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ 4169: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const {dirname} = __webpack_require__(5622) +const {dirname} = __nccwpck_require__(1017) const mkdirpManual = (path, opts, made) => { opts.recursive = false @@ -5582,12 +5581,12 @@ module.exports = {mkdirpManual, mkdirpManualSync} /***/ }), -/***/ 9747: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ 9632: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const {dirname} = __webpack_require__(5622) -const {findMade, findMadeSync} = __webpack_require__(9101) -const {mkdirpManual, mkdirpManualSync} = __webpack_require__(3220) +const {dirname} = __nccwpck_require__(1017) +const {findMade, findMadeSync} = __nccwpck_require__(3152) +const {mkdirpManual, mkdirpManualSync} = __nccwpck_require__(4169) const mkdirpNative = (path, opts) => { opts.recursive = true @@ -5628,11 +5627,11 @@ module.exports = {mkdirpNative, mkdirpNativeSync} /***/ }), -/***/ 5944: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ 887: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const { promisify } = __webpack_require__(1669) -const fs = __webpack_require__(5747) +const { promisify } = __nccwpck_require__(3837) +const fs = __nccwpck_require__(7147) const optsArg = opts => { if (!opts) opts = { mode: 0o777, fs } @@ -5658,11 +5657,11 @@ module.exports = optsArg /***/ }), -/***/ 7969: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ 6568: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { const platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform -const { resolve, parse } = __webpack_require__(5622) +const { resolve, parse } = __nccwpck_require__(1017) const pathArg = path => { if (/\0/.test(path)) { // simulate same failure that node raises @@ -5694,10 +5693,10 @@ module.exports = pathArg /***/ }), -/***/ 556: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ 5142: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const fs = __webpack_require__(5747) +const fs = __nccwpck_require__(7147) const version = process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version const versArr = version.replace(/^v/, '').split('.') @@ -5711,11 +5710,11 @@ module.exports = {useNative, useNativeSync} /***/ }), -/***/ 6764: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ 6161: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const PropertiesReader = __webpack_require__(486); +const PropertiesReader = __nccwpck_require__(6183); module.exports = function propertiesReaderFactory (sourceFile, encoding, options) { @@ -5727,12 +5726,12 @@ module.exports = function propertiesReaderFactory (sourceFile, encoding, options /***/ }), -/***/ 486: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ 6183: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const {readFileSync, statSync} = __webpack_require__(5747); -const propertyAppender = __webpack_require__(703).propertyAppender; -const propertyWriter = __webpack_require__(540)/* .propertyWriter */ .L; +const {readFileSync, statSync} = __nccwpck_require__(7147); +const propertyAppender = (__nccwpck_require__(3927).propertyAppender); +const propertyWriter = (__nccwpck_require__(4336)/* .propertyWriter */ .L); const has = Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty); @@ -6028,7 +6027,7 @@ PropertiesReader.prototype.getByRoot = function (root) { * @param {Boolean} [makePaths=false] When true will attempt to create the directory structure to any path property */ PropertiesReader.prototype.bindToExpress = function (app, basePath, makePaths) { - var Path = __webpack_require__(5622); + var Path = __nccwpck_require__(1017); if (!/\/$/.test(basePath = basePath || process.cwd())) { basePath += '/'; @@ -6042,7 +6041,7 @@ PropertiesReader.prototype.bindToExpress = function (app, basePath, makePaths) { try { var directoryPath = /dir$/.test(key) ? value : Path.dirname(value); if (makePaths) { - __webpack_require__(4700).sync(directoryPath); + (__nccwpck_require__(3241).sync)(directoryPath); } else if (!statSync(directoryPath).isDirectory()) { throw new Error("Path is not a directory that already exists"); @@ -6087,7 +6086,7 @@ module.exports = PropertiesReader; /***/ }), -/***/ 703: +/***/ 3927: /***/ ((module) => { var defaultOptions = { @@ -6183,10 +6182,10 @@ module.exports = { /***/ }), -/***/ 540: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ 4336: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const fs = __webpack_require__(5747); +const fs = __nccwpck_require__(7147); const defaultOptions = { saveSections: true, @@ -6250,8 +6249,8 @@ module.exports.L = function propertyWriter (userOptions) { /***/ }), -/***/ 2043: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ 1023: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { ;(function (sax) { // wrapper for non-node envs sax.parser = function (strict, opt) { return new SAXParser(strict, opt) } @@ -6415,7 +6414,7 @@ module.exports.L = function propertyWriter (userOptions) { var Stream try { - Stream = __webpack_require__(2413).Stream + Stream = (__nccwpck_require__(2781).Stream) } catch (ex) { Stream = function () {} } @@ -6485,7 +6484,7 @@ module.exports.L = function propertyWriter (userOptions) { typeof Buffer.isBuffer === 'function' && Buffer.isBuffer(data)) { if (!this._decoder) { - var SD = __webpack_require__(4304).StringDecoder + var SD = (__nccwpck_require__(1576).StringDecoder) this._decoder = new SD('utf8') } data = this._decoder.write(data) @@ -7822,27 +7821,27 @@ module.exports.L = function propertyWriter (userOptions) { /***/ }), -/***/ 4294: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ 4826: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -module.exports = __webpack_require__(4219); +module.exports = __nccwpck_require__(9478); /***/ }), -/***/ 4219: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ 9478: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; -var net = __webpack_require__(1631); -var tls = __webpack_require__(4016); -var http = __webpack_require__(8605); -var https = __webpack_require__(7211); -var events = __webpack_require__(8614); -var assert = __webpack_require__(2357); -var util = __webpack_require__(1669); +var net = __nccwpck_require__(1808); +var tls = __nccwpck_require__(4404); +var http = __nccwpck_require__(3685); +var https = __nccwpck_require__(5687); +var events = __nccwpck_require__(2361); +var assert = __nccwpck_require__(9491); +var util = __nccwpck_require__(3837); exports.httpOverHttp = httpOverHttp; @@ -8102,7 +8101,7 @@ exports.debug = debug; // for test /***/ }), -/***/ 5030: +/***/ 965: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -8128,7 +8127,7 @@ exports.getUserAgent = getUserAgent; /***/ }), -/***/ 2940: +/***/ 9235: /***/ ((module) => { // Returns a wrapper function that returns a wrapped callback @@ -8168,7 +8167,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 2624: +/***/ 8611: /***/ (function(__unused_webpack_module, exports) { // Generated by CoffeeScript 1.12.7 @@ -8187,8 +8186,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 3337: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 6237: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -8196,9 +8195,9 @@ function wrappy (fn, cb) { var builder, defaults, escapeCDATA, requiresCDATA, wrapCDATA, hasProp = {}.hasOwnProperty; - builder = __webpack_require__(2958); + builder = __nccwpck_require__(1770); - defaults = __webpack_require__(7251).defaults; + defaults = (__nccwpck_require__(5098).defaults); requiresCDATA = function(entry) { return typeof entry === "string" && (entry.indexOf('&') >= 0 || entry.indexOf('>') >= 0 || entry.indexOf('<') >= 0); @@ -8321,7 +8320,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 7251: +/***/ 5098: /***/ (function(__unused_webpack_module, exports) { // Generated by CoffeeScript 1.12.7 @@ -8400,8 +8399,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 3314: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 3742: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -8411,17 +8410,17 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - sax = __webpack_require__(2043); + sax = __nccwpck_require__(1023); - events = __webpack_require__(8614); + events = __nccwpck_require__(2361); - bom = __webpack_require__(2624); + bom = __nccwpck_require__(8611); - processors = __webpack_require__(9236); + processors = __nccwpck_require__(8666); - setImmediate = __webpack_require__(8213).setImmediate; + setImmediate = (__nccwpck_require__(9512).setImmediate); - defaults = __webpack_require__(7251).defaults; + defaults = (__nccwpck_require__(5098).defaults); isEmpty = function(thing) { return typeof thing === "object" && (thing != null) && Object.keys(thing).length === 0; @@ -8788,7 +8787,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 9236: +/***/ 8666: /***/ (function(__unused_webpack_module, exports) { // Generated by CoffeeScript 1.12.7 @@ -8829,8 +8828,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 6189: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 5935: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -8839,13 +8838,13 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - defaults = __webpack_require__(7251); + defaults = __nccwpck_require__(5098); - builder = __webpack_require__(3337); + builder = __nccwpck_require__(6237); - parser = __webpack_require__(3314); + parser = __nccwpck_require__(3742); - processors = __webpack_require__(9236); + processors = __nccwpck_require__(8666); exports.defaults = defaults.defaults; @@ -8875,7 +8874,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 2839: +/***/ 1618: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -8894,7 +8893,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 9267: +/***/ 5758: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -8924,7 +8923,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 8229: +/***/ 8697: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -9014,7 +9013,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 9766: +/***/ 6021: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -9031,16 +9030,16 @@ function wrappy (fn, cb) { /***/ }), -/***/ 8376: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 6961: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLAttribute, XMLNode; - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); - XMLNode = __webpack_require__(7608); + XMLNode = __nccwpck_require__(4473); module.exports = XMLAttribute = (function() { function XMLAttribute(parent, name, value) { @@ -9146,8 +9145,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 333: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 8795: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -9155,9 +9154,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); - XMLCharacterData = __webpack_require__(7709); + XMLCharacterData = __nccwpck_require__(9337); module.exports = XMLCData = (function(superClass) { extend(XMLCData, superClass); @@ -9189,8 +9188,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 7709: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 9337: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -9198,7 +9197,7 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - XMLNode = __webpack_require__(7608); + XMLNode = __nccwpck_require__(4473); module.exports = XMLCharacterData = (function(superClass) { extend(XMLCharacterData, superClass); @@ -9275,8 +9274,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 4407: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 5809: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -9284,9 +9283,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); - XMLCharacterData = __webpack_require__(7709); + XMLCharacterData = __nccwpck_require__(9337); module.exports = XMLComment = (function(superClass) { extend(XMLComment, superClass); @@ -9318,16 +9317,16 @@ function wrappy (fn, cb) { /***/ }), -/***/ 7465: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 560: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { var XMLDOMConfiguration, XMLDOMErrorHandler, XMLDOMStringList; - XMLDOMErrorHandler = __webpack_require__(6744); + XMLDOMErrorHandler = __nccwpck_require__(2429); - XMLDOMStringList = __webpack_require__(7028); + XMLDOMStringList = __nccwpck_require__(6614); module.exports = XMLDOMConfiguration = (function() { function XMLDOMConfiguration() { @@ -9389,7 +9388,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 6744: +/***/ 2429: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -9412,7 +9411,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 8310: +/***/ 9816: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -9451,7 +9450,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 7028: +/***/ 6614: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -9486,8 +9485,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 1015: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 6798: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -9495,9 +9494,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - XMLNode = __webpack_require__(7608); + XMLNode = __nccwpck_require__(4473); - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); module.exports = XMLDTDAttList = (function(superClass) { extend(XMLDTDAttList, superClass); @@ -9548,8 +9547,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 2421: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 250: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -9557,9 +9556,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - XMLNode = __webpack_require__(7608); + XMLNode = __nccwpck_require__(4473); - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); module.exports = XMLDTDElement = (function(superClass) { extend(XMLDTDElement, superClass); @@ -9593,8 +9592,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 53: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 3781: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -9602,11 +9601,11 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - isObject = __webpack_require__(8229).isObject; + isObject = (__nccwpck_require__(8697).isObject); - XMLNode = __webpack_require__(7608); + XMLNode = __nccwpck_require__(4473); - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); module.exports = XMLDTDEntity = (function(superClass) { extend(XMLDTDEntity, superClass); @@ -9697,8 +9696,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 2837: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 6386: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -9706,9 +9705,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - XMLNode = __webpack_require__(7608); + XMLNode = __nccwpck_require__(4473); - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); module.exports = XMLDTDNotation = (function(superClass) { extend(XMLDTDNotation, superClass); @@ -9756,8 +9755,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 6364: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 9081: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -9765,11 +9764,11 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - isObject = __webpack_require__(8229).isObject; + isObject = (__nccwpck_require__(8697).isObject); - XMLNode = __webpack_require__(7608); + XMLNode = __nccwpck_require__(4473); - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); module.exports = XMLDeclaration = (function(superClass) { extend(XMLDeclaration, superClass); @@ -9806,8 +9805,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 1801: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 5811: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -9815,21 +9814,21 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - isObject = __webpack_require__(8229).isObject; + isObject = (__nccwpck_require__(8697).isObject); - XMLNode = __webpack_require__(7608); + XMLNode = __nccwpck_require__(4473); - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); - XMLDTDAttList = __webpack_require__(1015); + XMLDTDAttList = __nccwpck_require__(6798); - XMLDTDEntity = __webpack_require__(53); + XMLDTDEntity = __nccwpck_require__(3781); - XMLDTDElement = __webpack_require__(2421); + XMLDTDElement = __nccwpck_require__(250); - XMLDTDNotation = __webpack_require__(2837); + XMLDTDNotation = __nccwpck_require__(6386); - XMLNamedNodeMap = __webpack_require__(4361); + XMLNamedNodeMap = __nccwpck_require__(4669); module.exports = XMLDocType = (function(superClass) { extend(XMLDocType, superClass); @@ -9999,8 +9998,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 3730: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 2179: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -10008,19 +10007,19 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - isPlainObject = __webpack_require__(8229).isPlainObject; + isPlainObject = (__nccwpck_require__(8697).isPlainObject); - XMLDOMImplementation = __webpack_require__(8310); + XMLDOMImplementation = __nccwpck_require__(9816); - XMLDOMConfiguration = __webpack_require__(7465); + XMLDOMConfiguration = __nccwpck_require__(560); - XMLNode = __webpack_require__(7608); + XMLNode = __nccwpck_require__(4473); - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); - XMLStringifier = __webpack_require__(8594); + XMLStringifier = __nccwpck_require__(7707); - XMLStringWriter = __webpack_require__(5913); + XMLStringWriter = __nccwpck_require__(4417); module.exports = XMLDocument = (function(superClass) { extend(XMLDocument, superClass); @@ -10248,51 +10247,51 @@ function wrappy (fn, cb) { /***/ }), -/***/ 7356: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 6245: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { var NodeType, WriterState, XMLAttribute, XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDeclaration, XMLDocType, XMLDocument, XMLDocumentCB, XMLElement, XMLProcessingInstruction, XMLRaw, XMLStringWriter, XMLStringifier, XMLText, getValue, isFunction, isObject, isPlainObject, ref, hasProp = {}.hasOwnProperty; - ref = __webpack_require__(8229), isObject = ref.isObject, isFunction = ref.isFunction, isPlainObject = ref.isPlainObject, getValue = ref.getValue; + ref = __nccwpck_require__(8697), isObject = ref.isObject, isFunction = ref.isFunction, isPlainObject = ref.isPlainObject, getValue = ref.getValue; - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); - XMLDocument = __webpack_require__(3730); + XMLDocument = __nccwpck_require__(2179); - XMLElement = __webpack_require__(9437); + XMLElement = __nccwpck_require__(6607); - XMLCData = __webpack_require__(333); + XMLCData = __nccwpck_require__(8795); - XMLComment = __webpack_require__(4407); + XMLComment = __nccwpck_require__(5809); - XMLRaw = __webpack_require__(6329); + XMLRaw = __nccwpck_require__(5101); - XMLText = __webpack_require__(1318); + XMLText = __nccwpck_require__(7042); - XMLProcessingInstruction = __webpack_require__(6939); + XMLProcessingInstruction = __nccwpck_require__(1890); - XMLDeclaration = __webpack_require__(6364); + XMLDeclaration = __nccwpck_require__(9081); - XMLDocType = __webpack_require__(1801); + XMLDocType = __nccwpck_require__(5811); - XMLDTDAttList = __webpack_require__(1015); + XMLDTDAttList = __nccwpck_require__(6798); - XMLDTDEntity = __webpack_require__(53); + XMLDTDEntity = __nccwpck_require__(3781); - XMLDTDElement = __webpack_require__(2421); + XMLDTDElement = __nccwpck_require__(250); - XMLDTDNotation = __webpack_require__(2837); + XMLDTDNotation = __nccwpck_require__(6386); - XMLAttribute = __webpack_require__(8376); + XMLAttribute = __nccwpck_require__(6961); - XMLStringifier = __webpack_require__(8594); + XMLStringifier = __nccwpck_require__(7707); - XMLStringWriter = __webpack_require__(5913); + XMLStringWriter = __nccwpck_require__(4417); - WriterState = __webpack_require__(9766); + WriterState = __nccwpck_require__(6021); module.exports = XMLDocumentCB = (function() { function XMLDocumentCB(options, onData, onEnd) { @@ -10783,8 +10782,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 3590: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 2314: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -10792,9 +10791,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - XMLNode = __webpack_require__(7608); + XMLNode = __nccwpck_require__(4473); - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); module.exports = XMLDummy = (function(superClass) { extend(XMLDummy, superClass); @@ -10821,8 +10820,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 9437: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 6607: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -10830,15 +10829,15 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - ref = __webpack_require__(8229), isObject = ref.isObject, isFunction = ref.isFunction, getValue = ref.getValue; + ref = __nccwpck_require__(8697), isObject = ref.isObject, isFunction = ref.isFunction, getValue = ref.getValue; - XMLNode = __webpack_require__(7608); + XMLNode = __nccwpck_require__(4473); - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); - XMLAttribute = __webpack_require__(8376); + XMLAttribute = __nccwpck_require__(6961); - XMLNamedNodeMap = __webpack_require__(4361); + XMLNamedNodeMap = __nccwpck_require__(4669); module.exports = XMLElement = (function(superClass) { extend(XMLElement, superClass); @@ -11126,7 +11125,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 4361: +/***/ 4669: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -11191,15 +11190,15 @@ function wrappy (fn, cb) { /***/ }), -/***/ 7608: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 4473: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { var DocumentPosition, NodeType, XMLCData, XMLComment, XMLDeclaration, XMLDocType, XMLDummy, XMLElement, XMLNamedNodeMap, XMLNode, XMLNodeList, XMLProcessingInstruction, XMLRaw, XMLText, getValue, isEmpty, isFunction, isObject, ref1, hasProp = {}.hasOwnProperty; - ref1 = __webpack_require__(8229), isObject = ref1.isObject, isFunction = ref1.isFunction, isEmpty = ref1.isEmpty, getValue = ref1.getValue; + ref1 = __nccwpck_require__(8697), isObject = ref1.isObject, isFunction = ref1.isFunction, isEmpty = ref1.isEmpty, getValue = ref1.getValue; XMLElement = null; @@ -11238,19 +11237,19 @@ function wrappy (fn, cb) { this.children = []; this.baseURI = null; if (!XMLElement) { - XMLElement = __webpack_require__(9437); - XMLCData = __webpack_require__(333); - XMLComment = __webpack_require__(4407); - XMLDeclaration = __webpack_require__(6364); - XMLDocType = __webpack_require__(1801); - XMLRaw = __webpack_require__(6329); - XMLText = __webpack_require__(1318); - XMLProcessingInstruction = __webpack_require__(6939); - XMLDummy = __webpack_require__(3590); - NodeType = __webpack_require__(9267); - XMLNodeList = __webpack_require__(6768); - XMLNamedNodeMap = __webpack_require__(4361); - DocumentPosition = __webpack_require__(2839); + XMLElement = __nccwpck_require__(6607); + XMLCData = __nccwpck_require__(8795); + XMLComment = __nccwpck_require__(5809); + XMLDeclaration = __nccwpck_require__(9081); + XMLDocType = __nccwpck_require__(5811); + XMLRaw = __nccwpck_require__(5101); + XMLText = __nccwpck_require__(7042); + XMLProcessingInstruction = __nccwpck_require__(1890); + XMLDummy = __nccwpck_require__(2314); + NodeType = __nccwpck_require__(5758); + XMLNodeList = __nccwpck_require__(7944); + XMLNamedNodeMap = __nccwpck_require__(4669); + DocumentPosition = __nccwpck_require__(1618); } } @@ -11983,7 +11982,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 6768: +/***/ 7944: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -12018,8 +12017,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 6939: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 1890: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -12027,9 +12026,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); - XMLCharacterData = __webpack_require__(7709); + XMLCharacterData = __nccwpck_require__(9337); module.exports = XMLProcessingInstruction = (function(superClass) { extend(XMLProcessingInstruction, superClass); @@ -12074,8 +12073,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 6329: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 5101: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -12083,9 +12082,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); - XMLNode = __webpack_require__(7608); + XMLNode = __nccwpck_require__(4473); module.exports = XMLRaw = (function(superClass) { extend(XMLRaw, superClass); @@ -12116,8 +12115,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 8601: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 9214: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -12125,11 +12124,11 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); - XMLWriterBase = __webpack_require__(6752); + XMLWriterBase = __nccwpck_require__(9241); - WriterState = __webpack_require__(9766); + WriterState = __nccwpck_require__(6021); module.exports = XMLStreamWriter = (function(superClass) { extend(XMLStreamWriter, superClass); @@ -12299,8 +12298,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 5913: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 4417: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -12308,7 +12307,7 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - XMLWriterBase = __webpack_require__(6752); + XMLWriterBase = __nccwpck_require__(9241); module.exports = XMLStringWriter = (function(superClass) { extend(XMLStringWriter, superClass); @@ -12341,7 +12340,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 8594: +/***/ 7707: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -12588,8 +12587,8 @@ function wrappy (fn, cb) { /***/ }), -/***/ 1318: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 7042: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { @@ -12597,9 +12596,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); - XMLCharacterData = __webpack_require__(7709); + XMLCharacterData = __nccwpck_require__(9337); module.exports = XMLText = (function(superClass) { extend(XMLText, superClass); @@ -12664,45 +12663,45 @@ function wrappy (fn, cb) { /***/ }), -/***/ 6752: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 9241: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { var NodeType, WriterState, XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDeclaration, XMLDocType, XMLDummy, XMLElement, XMLProcessingInstruction, XMLRaw, XMLText, XMLWriterBase, assign, hasProp = {}.hasOwnProperty; - assign = __webpack_require__(8229).assign; + assign = (__nccwpck_require__(8697).assign); - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); - XMLDeclaration = __webpack_require__(6364); + XMLDeclaration = __nccwpck_require__(9081); - XMLDocType = __webpack_require__(1801); + XMLDocType = __nccwpck_require__(5811); - XMLCData = __webpack_require__(333); + XMLCData = __nccwpck_require__(8795); - XMLComment = __webpack_require__(4407); + XMLComment = __nccwpck_require__(5809); - XMLElement = __webpack_require__(9437); + XMLElement = __nccwpck_require__(6607); - XMLRaw = __webpack_require__(6329); + XMLRaw = __nccwpck_require__(5101); - XMLText = __webpack_require__(1318); + XMLText = __nccwpck_require__(7042); - XMLProcessingInstruction = __webpack_require__(6939); + XMLProcessingInstruction = __nccwpck_require__(1890); - XMLDummy = __webpack_require__(3590); + XMLDummy = __nccwpck_require__(2314); - XMLDTDAttList = __webpack_require__(1015); + XMLDTDAttList = __nccwpck_require__(6798); - XMLDTDElement = __webpack_require__(2421); + XMLDTDElement = __nccwpck_require__(250); - XMLDTDEntity = __webpack_require__(53); + XMLDTDEntity = __nccwpck_require__(3781); - XMLDTDNotation = __webpack_require__(2837); + XMLDTDNotation = __nccwpck_require__(6386); - WriterState = __webpack_require__(9766); + WriterState = __nccwpck_require__(6021); module.exports = XMLWriterBase = (function() { function XMLWriterBase(options) { @@ -13099,28 +13098,28 @@ function wrappy (fn, cb) { /***/ }), -/***/ 2958: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ 1770: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { var NodeType, WriterState, XMLDOMImplementation, XMLDocument, XMLDocumentCB, XMLStreamWriter, XMLStringWriter, assign, isFunction, ref; - ref = __webpack_require__(8229), assign = ref.assign, isFunction = ref.isFunction; + ref = __nccwpck_require__(8697), assign = ref.assign, isFunction = ref.isFunction; - XMLDOMImplementation = __webpack_require__(8310); + XMLDOMImplementation = __nccwpck_require__(9816); - XMLDocument = __webpack_require__(3730); + XMLDocument = __nccwpck_require__(2179); - XMLDocumentCB = __webpack_require__(7356); + XMLDocumentCB = __nccwpck_require__(6245); - XMLStringWriter = __webpack_require__(5913); + XMLStringWriter = __nccwpck_require__(4417); - XMLStreamWriter = __webpack_require__(8601); + XMLStreamWriter = __nccwpck_require__(9214); - NodeType = __webpack_require__(9267); + NodeType = __nccwpck_require__(5758); - WriterState = __webpack_require__(9766); + WriterState = __nccwpck_require__(6021); module.exports.create = function(name, xmldec, doctype, options) { var doc, root; @@ -13171,75 +13170,11 @@ function wrappy (fn, cb) { /***/ }), -/***/ 4351: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -const core = __webpack_require__(2186); -const github = __webpack_require__(5438); -var propertiesReader = __webpack_require__(6764); -const dependencies = __webpack_require__(3912); -const sfdx = __webpack_require__(2440); - -try { - - core.debug("=== index.js ==="); - const payload = JSON.stringify(github.context.payload, undefined, 2) - core.debug(`The event payload: ${payload}`); - - //Variables declaration - var cert = {}; - var login = {}; - var deploy = {}; - - //Install dependecies - dependencies.install(); - - //Load cert params - cert.certificatePath = core.getInput('certificate_path'); - cert.decryptionKey = core.getInput('decryption_key'); - cert.decryptionIV = core.getInput('decryption_iv'); - - //Load login params - login.clientId = core.getInput('client_id'); - login.orgType = core.getInput('type'); - login.username = core.getInput('username'); - - //Load deploy params - deploy.defaultSourcePath = core.getInput('default_source_path'); - deploy.defaultTestClass = core.getInput('default_test_class'); - deploy.manifestToDeploy = core.getInput('manifest_path'); - deploy.sfdxRootFolder = core.getInput('sfdx_root_folder'); - deploy.destructivePath = core.getInput('destructive_path'); - deploy.dataFactory = core.getInput('data_factory'); - deploy.checkonly = (core.getInput('checkonly') === 'true' )? true : false; - deploy.testlevel = core.getInput('deploy_testlevel'); - deploy.deployWaitTime = core.getInput('deploy_wait_time') || '60'; // Default wait time is 60 minutes - - //Login to Org - sfdx.login(cert,login); - - //Deply/Checkonly to Org - sfdx.deploy(deploy); - - //Destructive deploy - sfdx.destructiveDeploy(deploy); +/***/ 7236: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - //Executes data factory script - sfdx.dataFactory(deploy); - -} catch (error) { - core.setFailed(error.message); -} - - - -/***/ }), - -/***/ 5505: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const core = __webpack_require__(2186) -const { spawnSync } = __webpack_require__(3129); +const core = __nccwpck_require__(6761) +const { spawnSync } = __nccwpck_require__(2081); module.exports.run = function(command, args, workingFolder = null) { var extraParams = {}; @@ -13278,19 +13213,17 @@ module.exports.run = function(command, args, workingFolder = null) { /***/ }), -/***/ 3912: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ 4437: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const core = __webpack_require__(2186) -const execCommand = __webpack_require__(5505); +const core = __nccwpck_require__(6761) +const execCommand = __nccwpck_require__(7236); var fnInstallSFDX = function(){ core.info('=== Downloading and installing SFDX cli ==='); - //execCommand.run('wget', ['https://developer.salesforce.com/media/salesforce-cli/sfdx-cli/channels/stable/sfdx-cli-v7.72.0-697e9faee2-linux-x64.tar.xz']); - execCommand.run('wget', ['https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz']); + execCommand.run('wget', ['https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-linux-x64.tar.xz']); execCommand.run('mkdir', ['-p', 'sfdx-cli']); - //execCommand.run('tar', ['xJf', 'sfdx-cli-v7.72.0-697e9faee2-linux-x64.tar.xz', '-C', 'sfdx-cli', '--strip-components', '1']); - execCommand.run('tar', ['xJf', 'sfdx-linux-amd64.tar.xz', '-C', 'sfdx-cli', '--strip-components', '1']); + execCommand.run('tar', ['xJf', 'sf-linux-x64.tar.xz', '-C', 'sfdx-cli', '--strip-components', '1']); execCommand.run('./sfdx-cli/install', []); core.info('=== SFDX cli installed ==='); }; @@ -13304,14 +13237,14 @@ module.exports.install = function(command, args) { /***/ }), -/***/ 2440: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ 6764: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const core = __webpack_require__(2186) -const path = __webpack_require__(5622); -const execCommand = __webpack_require__(5505); -const fs = __webpack_require__(5747); -const xml2js = __webpack_require__(6189); +const core = __nccwpck_require__(6761) +const path = __nccwpck_require__(1017); +const execCommand = __nccwpck_require__(7236); +const fs = __nccwpck_require__(7147); +const xml2js = __nccwpck_require__(5935); let getApexTestClass = function(manifestpath, classesPath, defaultTestClass){ core.info("=== getApexTestClass ==="); @@ -13435,7 +13368,7 @@ module.exports.dataFactory = dataFactory; /***/ }), -/***/ 2877: +/***/ 3446: /***/ ((module) => { module.exports = eval("require")("encoding"); @@ -13443,7 +13376,7 @@ module.exports = eval("require")("encoding"); /***/ }), -/***/ 2357: +/***/ 9491: /***/ ((module) => { "use strict"; @@ -13451,7 +13384,7 @@ module.exports = require("assert"); /***/ }), -/***/ 3129: +/***/ 2081: /***/ ((module) => { "use strict"; @@ -13459,7 +13392,7 @@ module.exports = require("child_process"); /***/ }), -/***/ 8614: +/***/ 2361: /***/ ((module) => { "use strict"; @@ -13467,7 +13400,7 @@ module.exports = require("events"); /***/ }), -/***/ 5747: +/***/ 7147: /***/ ((module) => { "use strict"; @@ -13475,7 +13408,7 @@ module.exports = require("fs"); /***/ }), -/***/ 8605: +/***/ 3685: /***/ ((module) => { "use strict"; @@ -13483,7 +13416,7 @@ module.exports = require("http"); /***/ }), -/***/ 7211: +/***/ 5687: /***/ ((module) => { "use strict"; @@ -13491,7 +13424,7 @@ module.exports = require("https"); /***/ }), -/***/ 1631: +/***/ 1808: /***/ ((module) => { "use strict"; @@ -13499,7 +13432,7 @@ module.exports = require("net"); /***/ }), -/***/ 2087: +/***/ 2037: /***/ ((module) => { "use strict"; @@ -13507,7 +13440,7 @@ module.exports = require("os"); /***/ }), -/***/ 5622: +/***/ 1017: /***/ ((module) => { "use strict"; @@ -13515,7 +13448,7 @@ module.exports = require("path"); /***/ }), -/***/ 2413: +/***/ 2781: /***/ ((module) => { "use strict"; @@ -13523,7 +13456,7 @@ module.exports = require("stream"); /***/ }), -/***/ 4304: +/***/ 1576: /***/ ((module) => { "use strict"; @@ -13531,7 +13464,7 @@ module.exports = require("string_decoder"); /***/ }), -/***/ 8213: +/***/ 9512: /***/ ((module) => { "use strict"; @@ -13539,7 +13472,7 @@ module.exports = require("timers"); /***/ }), -/***/ 4016: +/***/ 4404: /***/ ((module) => { "use strict"; @@ -13547,7 +13480,7 @@ module.exports = require("tls"); /***/ }), -/***/ 8835: +/***/ 7310: /***/ ((module) => { "use strict"; @@ -13555,7 +13488,7 @@ module.exports = require("url"); /***/ }), -/***/ 1669: +/***/ 3837: /***/ ((module) => { "use strict"; @@ -13563,7 +13496,7 @@ module.exports = require("util"); /***/ }), -/***/ 8761: +/***/ 9796: /***/ ((module) => { "use strict"; @@ -13577,10 +13510,11 @@ module.exports = require("zlib"); /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function -/******/ function __webpack_require__(moduleId) { +/******/ function __nccwpck_require__(moduleId) { /******/ // Check if module is in cache -/******/ if(__webpack_module_cache__[moduleId]) { -/******/ return __webpack_module_cache__[moduleId].exports; +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { @@ -13592,7 +13526,7 @@ module.exports = require("zlib"); /******/ // Execute the module function /******/ var threw = true; /******/ try { -/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nccwpck_require__); /******/ threw = false; /******/ } finally { /******/ if(threw) delete __webpack_module_cache__[moduleId]; @@ -13605,10 +13539,72 @@ module.exports = require("zlib"); /************************************************************************/ /******/ /* webpack/runtime/compat */ /******/ -/******/ __webpack_require__.ab = __dirname + "/";/************************************************************************/ -/******/ // module exports must be returned from runtime so entry inlining is disabled -/******/ // startup -/******/ // Load entry module and return exports -/******/ return __webpack_require__(4351); +/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; +/******/ +/************************************************************************/ +var __webpack_exports__ = {}; +// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. +(() => { +const core = __nccwpck_require__(6761); +const github = __nccwpck_require__(9326); +var propertiesReader = __nccwpck_require__(6161); +const dependencies = __nccwpck_require__(4437); +const sfdx = __nccwpck_require__(6764); + +try { + + core.debug("=== index.js ==="); + const payload = JSON.stringify(github.context.payload, undefined, 2) + core.debug(`The event payload: ${payload}`); + + //Variables declaration + var cert = {}; + var login = {}; + var deploy = {}; + + //Install dependecies + dependencies.install(); + + //Load cert params + cert.certificatePath = core.getInput('certificate_path'); + cert.decryptionKey = core.getInput('decryption_key'); + cert.decryptionIV = core.getInput('decryption_iv'); + + //Load login params + login.clientId = core.getInput('client_id'); + login.orgType = core.getInput('type'); + login.username = core.getInput('username'); + + //Load deploy params + deploy.defaultSourcePath = core.getInput('default_source_path'); + deploy.defaultTestClass = core.getInput('default_test_class'); + deploy.manifestToDeploy = core.getInput('manifest_path'); + deploy.sfdxRootFolder = core.getInput('sfdx_root_folder'); + deploy.destructivePath = core.getInput('destructive_path'); + deploy.dataFactory = core.getInput('data_factory'); + deploy.checkonly = (core.getInput('checkonly') === 'true' )? true : false; + deploy.testlevel = core.getInput('deploy_testlevel'); + deploy.deployWaitTime = core.getInput('deploy_wait_time') || '60'; // Default wait time is 60 minutes + + //Login to Org + sfdx.login(cert,login); + + //Deply/Checkonly to Org + sfdx.deploy(deploy); + + //Destructive deploy + sfdx.destructiveDeploy(deploy); + + //Executes data factory script + sfdx.dataFactory(deploy); + +} catch (error) { + core.setFailed(error.message); +} + + +})(); + +module.exports = __webpack_exports__; /******/ })() ; \ No newline at end of file diff --git a/dist/licenses.txt b/dist/licenses.txt new file mode 100644 index 0000000..3bce7d3 --- /dev/null +++ b/dist/licenses.txt @@ -0,0 +1,735 @@ +@actions/core +MIT +The MIT License (MIT) + +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. + +@actions/github +MIT + +@actions/http-client +MIT +Actions Http Client for Node.js + +Copyright (c) GitHub, Inc. + +All rights reserved. + +MIT License + +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. + + +@octokit/auth-token +MIT +The MIT License + +Copyright (c) 2019 Octokit contributors + +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. + + +@octokit/core +MIT +The MIT License + +Copyright (c) 2019 Octokit contributors + +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. + + +@octokit/endpoint +MIT +The MIT License + +Copyright (c) 2018 Octokit contributors + +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. + + +@octokit/graphql +MIT +The MIT License + +Copyright (c) 2018 Octokit contributors + +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. + + +@octokit/plugin-paginate-rest +MIT +MIT License Copyright (c) 2019 Octokit contributors + +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 (including the next paragraph) 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. + + +@octokit/plugin-rest-endpoint-methods +MIT +MIT License Copyright (c) 2019 Octokit contributors + +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 (including the next paragraph) 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. + + +@octokit/request +MIT +The MIT License + +Copyright (c) 2018 Octokit contributors + +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. + + +@octokit/request-error +MIT +The MIT License + +Copyright (c) 2019 Octokit contributors + +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. + + +@vercel/ncc +MIT +Copyright 2018 ZEIT, Inc. + +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. + +before-after-hook +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018 Gregor Martynus and other contributors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +deprecation +ISC +The ISC License + +Copyright (c) Gregor Martynus and contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +is-plain-object +MIT +The MIT License (MIT) + +Copyright (c) 2014-2017, Jon Schlinkert. + +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. + + +mkdirp +MIT +Copyright James Halliday (mail@substack.net) and Isaac Z. Schlueter (i@izs.me) + +This project is free software released under the MIT license: + +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. + + +node-fetch +MIT +The MIT License (MIT) + +Copyright (c) 2016 David Frank + +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. + + + +once +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +properties-reader +MIT +The MIT License (MIT) + +Copyright (c) 2013 Steve King + +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. + + +sax +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +==== + +`String.fromCodePoint` by Mathias Bynens used according to terms of MIT +License, as follows: + + Copyright Mathias Bynens + + 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. + + +sfdx-orgdev-build-deploy +MIT +MIT License + +Copyright (c) 2020 Tiago Nascimento + +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. + +tunnel +MIT +The MIT License (MIT) + +Copyright (c) 2012 Koichi Kobayashi + +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. + + +universal-user-agent +ISC +# [ISC License](https://spdx.org/licenses/ISC) + +Copyright (c) 2018, Gregor Martynus (https://github.com/gr2m) + +Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +wrappy +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +xml2js +MIT +Copyright 2010, 2011, 2012, 2013. All rights reserved. + +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. + + +xmlbuilder +MIT +The MIT License (MIT) + +Copyright (c) 2013 Ozgur Ozcitak + +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.