├── .github ├── CODEOWNERS └── workflows │ └── staleissues.yml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── action-modules ├── actions-core-0.0.0.tgz ├── actions-exec-0.0.0.tgz ├── actions-io-0.0.0.tgz └── actions-tool-cache-0.0.0.tgz ├── aks-set-context ├── README.md ├── action.yml ├── lib │ ├── client.js │ └── login.js ├── src │ ├── client.ts │ └── login.ts └── tsconfig.json ├── docker-login ├── README.md ├── action.yml ├── lib │ └── login.js ├── src │ └── login.ts └── tsconfig.json ├── docker-logout ├── README.md ├── action.yml ├── lib │ └── logout.js ├── src │ └── logout.ts └── tsconfig.json ├── k8s-create-secret ├── README.md ├── action.yml ├── lib │ └── run.js ├── src │ └── run.ts └── tsconfig.json ├── k8s-deploy ├── README.md ├── action.yml ├── lib │ ├── kubectl-util.js │ ├── kubernetes-utils.js │ ├── run.js │ └── utils.js ├── src │ ├── kubectl-util.ts │ ├── kubernetes-utils.ts │ ├── run.ts │ └── utils.ts └── tsconfig.json ├── k8s-set-context ├── README.md ├── action.yml ├── lib │ └── login.js ├── src │ └── login.ts └── tsconfig.json ├── node_modules ├── .bin │ ├── esparse │ ├── esparse.cmd │ ├── esvalidate │ ├── esvalidate.cmd │ ├── js-yaml │ ├── js-yaml.cmd │ ├── semver │ ├── semver.cmd │ ├── uuid │ └── uuid.cmd ├── @actions │ ├── core │ │ ├── README.md │ │ ├── lib │ │ │ ├── command.d.ts │ │ │ ├── command.js │ │ │ ├── command.js.map │ │ │ ├── core.d.ts │ │ │ ├── core.js │ │ │ └── core.js.map │ │ └── package.json │ ├── exec │ │ ├── README.md │ │ ├── lib │ │ │ ├── exec.d.ts │ │ │ ├── exec.js │ │ │ ├── exec.js.map │ │ │ ├── interfaces.d.ts │ │ │ ├── interfaces.js │ │ │ ├── interfaces.js.map │ │ │ ├── toolrunner.d.ts │ │ │ ├── toolrunner.js │ │ │ └── toolrunner.js.map │ │ └── package.json │ ├── io │ │ ├── README.md │ │ ├── lib │ │ │ ├── io-util.d.ts │ │ │ ├── io-util.js │ │ │ ├── io-util.js.map │ │ │ ├── io.d.ts │ │ │ ├── io.js │ │ │ └── io.js.map │ │ └── package.json │ └── tool-cache │ │ ├── README.md │ │ ├── lib │ │ ├── tool-cache.d.ts │ │ ├── tool-cache.js │ │ └── tool-cache.js.map │ │ ├── package.json │ │ └── scripts │ │ ├── Invoke-7zdec.ps1 │ │ └── externals │ │ ├── 7zdec.exe │ │ └── unzip ├── @types │ └── node │ │ ├── LICENSE │ │ ├── README.md │ │ ├── assert.d.ts │ │ ├── async_hooks.d.ts │ │ ├── base.d.ts │ │ ├── buffer.d.ts │ │ ├── child_process.d.ts │ │ ├── cluster.d.ts │ │ ├── console.d.ts │ │ ├── constants.d.ts │ │ ├── crypto.d.ts │ │ ├── dgram.d.ts │ │ ├── dns.d.ts │ │ ├── domain.d.ts │ │ ├── events.d.ts │ │ ├── fs.d.ts │ │ ├── globals.d.ts │ │ ├── http.d.ts │ │ ├── http2.d.ts │ │ ├── https.d.ts │ │ ├── index.d.ts │ │ ├── inspector.d.ts │ │ ├── module.d.ts │ │ ├── net.d.ts │ │ ├── os.d.ts │ │ ├── package.json │ │ ├── path.d.ts │ │ ├── perf_hooks.d.ts │ │ ├── process.d.ts │ │ ├── punycode.d.ts │ │ ├── querystring.d.ts │ │ ├── readline.d.ts │ │ ├── repl.d.ts │ │ ├── stream.d.ts │ │ ├── string_decoder.d.ts │ │ ├── timers.d.ts │ │ ├── tls.d.ts │ │ ├── trace_events.d.ts │ │ ├── ts3.2 │ │ ├── globals.d.ts │ │ ├── index.d.ts │ │ └── util.d.ts │ │ ├── tty.d.ts │ │ ├── url.d.ts │ │ ├── util.d.ts │ │ ├── v8.d.ts │ │ ├── vm.d.ts │ │ ├── worker_threads.d.ts │ │ └── zlib.d.ts ├── argparse │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── action.js │ │ ├── action │ │ │ ├── append.js │ │ │ ├── append │ │ │ │ └── constant.js │ │ │ ├── count.js │ │ │ ├── help.js │ │ │ ├── store.js │ │ │ ├── store │ │ │ │ ├── constant.js │ │ │ │ ├── false.js │ │ │ │ └── true.js │ │ │ ├── subparsers.js │ │ │ └── version.js │ │ ├── action_container.js │ │ ├── argparse.js │ │ ├── argument │ │ │ ├── error.js │ │ │ ├── exclusive.js │ │ │ └── group.js │ │ ├── argument_parser.js │ │ ├── const.js │ │ ├── help │ │ │ ├── added_formatters.js │ │ │ └── formatter.js │ │ ├── namespace.js │ │ └── utils.js │ └── package.json ├── esprima │ ├── ChangeLog │ ├── LICENSE.BSD │ ├── README.md │ ├── dist │ │ └── esprima.js │ └── package.json ├── js-yaml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── dist │ │ ├── js-yaml.js │ │ └── js-yaml.min.js │ ├── index.js │ ├── lib │ │ ├── js-yaml.js │ │ └── js-yaml │ │ │ ├── common.js │ │ │ ├── dumper.js │ │ │ ├── exception.js │ │ │ ├── loader.js │ │ │ ├── mark.js │ │ │ ├── schema.js │ │ │ ├── schema │ │ │ ├── core.js │ │ │ ├── default_full.js │ │ │ ├── default_safe.js │ │ │ ├── failsafe.js │ │ │ └── json.js │ │ │ ├── type.js │ │ │ └── type │ │ │ ├── binary.js │ │ │ ├── bool.js │ │ │ ├── float.js │ │ │ ├── int.js │ │ │ ├── js │ │ │ ├── function.js │ │ │ ├── regexp.js │ │ │ └── undefined.js │ │ │ ├── map.js │ │ │ ├── merge.js │ │ │ ├── null.js │ │ │ ├── omap.js │ │ │ ├── pairs.js │ │ │ ├── seq.js │ │ │ ├── set.js │ │ │ ├── str.js │ │ │ └── timestamp.js │ └── package.json ├── semver │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── range.bnf │ └── semver.js ├── sprintf-js │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── demo │ │ └── angular.html │ ├── dist │ │ ├── angular-sprintf.min.js │ │ ├── angular-sprintf.min.js.map │ │ ├── angular-sprintf.min.map │ │ ├── sprintf.min.js │ │ ├── sprintf.min.js.map │ │ └── sprintf.min.map │ ├── gruntfile.js │ ├── package.json │ ├── src │ │ ├── angular-sprintf.js │ │ └── sprintf.js │ └── test │ │ └── test.js ├── tunnel │ ├── .npmignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ └── tunnel.js │ ├── package.json │ └── test │ │ ├── http-over-http.js │ │ ├── http-over-https.js │ │ ├── https-over-http.js │ │ ├── https-over-https-error.js │ │ ├── https-over-https.js │ │ └── keys │ │ ├── Makefile │ │ ├── agent1-cert.pem │ │ ├── agent1-csr.pem │ │ ├── agent1-key.pem │ │ ├── agent1.cnf │ │ ├── agent2-cert.pem │ │ ├── agent2-csr.pem │ │ ├── agent2-key.pem │ │ ├── agent2.cnf │ │ ├── agent3-cert.pem │ │ ├── agent3-csr.pem │ │ ├── agent3-key.pem │ │ ├── agent3.cnf │ │ ├── agent4-cert.pem │ │ ├── agent4-csr.pem │ │ ├── agent4-key.pem │ │ ├── agent4.cnf │ │ ├── ca1-cert.pem │ │ ├── ca1-cert.srl │ │ ├── ca1-key.pem │ │ ├── ca1.cnf │ │ ├── ca2-cert.pem │ │ ├── ca2-cert.srl │ │ ├── ca2-crl.pem │ │ ├── ca2-database.txt │ │ ├── ca2-key.pem │ │ ├── ca2-serial │ │ ├── ca2.cnf │ │ ├── ca3-cert.pem │ │ ├── ca3-cert.srl │ │ ├── ca3-key.pem │ │ ├── ca3.cnf │ │ ├── ca4-cert.pem │ │ ├── ca4-cert.srl │ │ ├── ca4-key.pem │ │ ├── ca4.cnf │ │ ├── client.cnf │ │ ├── client1-cert.pem │ │ ├── client1-csr.pem │ │ ├── client1-key.pem │ │ ├── client1.cnf │ │ ├── client2-cert.pem │ │ ├── client2-csr.pem │ │ ├── client2-key.pem │ │ ├── client2.cnf │ │ ├── proxy1-cert.pem │ │ ├── proxy1-csr.pem │ │ ├── proxy1-key.pem │ │ ├── proxy1.cnf │ │ ├── proxy2-cert.pem │ │ ├── proxy2-csr.pem │ │ ├── proxy2-key.pem │ │ ├── proxy2.cnf │ │ ├── server1-cert.pem │ │ ├── server1-csr.pem │ │ ├── server1-key.pem │ │ ├── server1.cnf │ │ ├── server2-cert.pem │ │ ├── server2-csr.pem │ │ ├── server2-key.pem │ │ ├── server2.cnf │ │ └── test.js ├── typed-rest-client │ ├── Handlers.d.ts │ ├── Handlers.js │ ├── HttpClient.d.ts │ ├── HttpClient.js │ ├── Index.d.ts │ ├── Index.js │ ├── Interfaces.d.ts │ ├── Interfaces.js │ ├── LICENSE │ ├── README.md │ ├── RestClient.d.ts │ ├── RestClient.js │ ├── ThirdPartyNotice.txt │ ├── Util.d.ts │ ├── Util.js │ ├── handlers │ │ ├── basiccreds.d.ts │ │ ├── basiccreds.js │ │ ├── bearertoken.d.ts │ │ ├── bearertoken.js │ │ ├── ntlm.d.ts │ │ ├── ntlm.js │ │ ├── personalaccesstoken.d.ts │ │ └── personalaccesstoken.js │ ├── opensource │ │ └── node-http-ntlm │ │ │ ├── ntlm.js │ │ │ └── readme.txt │ └── package.json ├── underscore │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── underscore-min.js │ ├── underscore-min.map │ └── underscore.js └── uuid │ ├── .eslintrc.json │ ├── AUTHORS │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── README_js.md │ ├── index.js │ ├── lib │ ├── bytesToUuid.js │ ├── md5-browser.js │ ├── md5.js │ ├── rng-browser.js │ ├── rng.js │ ├── sha1-browser.js │ ├── sha1.js │ └── v35.js │ ├── package.json │ ├── v1.js │ ├── v3.js │ ├── v4.js │ └── v5.js ├── package-lock.json ├── package.json └── setup-kubectl ├── README.md ├── action.yml ├── lib └── run.js ├── src └── run.ts └── tsconfig.json /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | aks-set-context/* @ds-ms 2 | 3 | docker-login/* @ds-ms 4 | 5 | docker-logout/* @ds-ms 6 | 7 | k8s-create-secret/* @vithati 8 | 9 | k8s-deploy/* @ds-ms 10 | 11 | k8s-set-context/* @ds-ms 12 | 13 | setup-kubectl/* @ds-ms 14 | 15 | node_modules/* @ds-ms @vithati 16 | -------------------------------------------------------------------------------- /.github/workflows/staleissues.yml: -------------------------------------------------------------------------------- 1 | name: "Close stale issues" 2 | 3 | on: 4 | schedule: 5 | - cron: "0 */12 * * *" 6 | 7 | jobs: 8 | stale: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - uses: actions/stale@v1 12 | with: 13 | repo-token: ${{ secrets.GITHUB_TOKEN }} 14 | stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days' 15 | days-before-stale: 30 16 | days-before-close: 5 17 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Microsoft Open Source Code of Conduct 2 | 3 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). 4 | 5 | Resources: 6 | 7 | - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) 8 | - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) 9 | - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns 10 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Microsoft Corporation. All rights reserved. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ***IMPORTANT NOTICE:*** 2 | 3 | ***Actions hosted in this repo are now moved to new GitHub repositories. Please update your existing workflows with the new actions as these old actions will be ARCHIVED and will not receive any updates. Refer to https://github.com/Azure/actions for updated action repo details.*** 4 | ***For example, the action `azure/k8s-actions/k8s-deploy@master` should be replaced with `Azure/k8s-deploy@v1` in your workflows.*** 5 | 6 | | |Old Action |New Action | 7 | |---------|---------|---------| 8 | | [Kubernetes deploy](https://github.com/Azure/k8s-deploy) |`azure/k8s-actions/k8s-deploy@master` | **`Azure/k8s-deploy@v1`**| 9 | |[AKS set context](https://github.com/Azure/aks-set-context)|`azure/k8s-actions/aks-set-context@master` | **`azure/aks-set-context@v1`** | 10 | | [Kubernetes set context](https://github.com/Azure/k8s-set-context) |`azure/k8s-actions/k8s-set-context@master` | **`azure/k8s-set-context@v1`**| 11 | | [Kubernetes create secret](https://github.com/Azure/k8s-create-secret) |`azure/k8s-actions/k8s-create-secret@master` | **`azure/k8s-create-secret@v1`**| 12 | |[Kubectl tool installer](https://github.com/Azure/setup-kubectl)|`azure/k8s-actions/setup-kubectl@master` | **`azure/setup-kubectl@v1`** | 13 | 14 | # Contributing 15 | 16 | This project welcomes contributions and suggestions. Most contributions require you to agree to a 17 | Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us 18 | the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com. 19 | 20 | When you submit a pull request, a CLA bot will automatically determine whether you need to provide 21 | a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions 22 | provided by the bot. You will only need to do this once across all repos using our CLA. 23 | 24 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). 25 | For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or 26 | contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. 27 | -------------------------------------------------------------------------------- /action-modules/actions-core-0.0.0.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure/k8s-actions/7a93ceb73dcebce42afdbb13e5eca8548143a281/action-modules/actions-core-0.0.0.tgz -------------------------------------------------------------------------------- /action-modules/actions-exec-0.0.0.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure/k8s-actions/7a93ceb73dcebce42afdbb13e5eca8548143a281/action-modules/actions-exec-0.0.0.tgz -------------------------------------------------------------------------------- /action-modules/actions-io-0.0.0.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure/k8s-actions/7a93ceb73dcebce42afdbb13e5eca8548143a281/action-modules/actions-io-0.0.0.tgz -------------------------------------------------------------------------------- /action-modules/actions-tool-cache-0.0.0.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure/k8s-actions/7a93ceb73dcebce42afdbb13e5eca8548143a281/action-modules/actions-tool-cache-0.0.0.tgz -------------------------------------------------------------------------------- /aks-set-context/README.md: -------------------------------------------------------------------------------- 1 | # Azure Kubernetes Service set context 2 | 3 | Used for setting the target AKS cluster context which will be used by other actions like [`azure/k8s-actions/k8s-deploy`](https://github.com/Azure/k8s-actions/tree/master/k8s-deploy), [`azure/k8s-actions/k8s-create-secret`](https://github.com/Azure/k8s-actions/tree/master/k8s-create-secret) etc. or run any [kubectl] (https://kubernetes.io/docs/reference/kubectl/overview/) commands. 4 | 5 | ```yaml 6 | uses: azure/k8s-actions/aks-set-context@master 7 | with: 8 | creds: '${{ secrets.AZURE_CREDENTIALS }}' # Azure credentials 9 | resource-group-name: '' 10 | cluster-name: '' 11 | id: login 12 | ``` 13 | 14 | Refer to the action metadata file for details about all the inputs https://github.com/Azure/k8s-actions/blob/master/aks-set-context/action.yml 15 | 16 | ## Azure credentials 17 | Run `az ad sp create-for-rbac --sdk-auth` to generate an Azure Active Directory service principals. 18 | For more details refer to: [az ad sp create-for-rbac](https://docs.microsoft.com/en-us/cli/azure/ad/sp?view=azure-cli-latest#az-ad-sp-create-for-rbac) 19 | 20 | ```json 21 | { 22 | "clientId": "", 23 | "clientSecret": "", 24 | "subscriptionId": "", 25 | "tenantId": "", 26 | "activeDirectoryEndpointUrl": "https://login.microsoftonline.com", 27 | "resourceManagerEndpointUrl": "https://management.azure.com/", 28 | "activeDirectoryGraphResourceId": "https://graph.windows.net/", 29 | "sqlManagementEndpointUrl": "https://management.core.windows.net:8443/", 30 | "galleryEndpointUrl": "https://gallery.azure.com/", 31 | "managementEndpointUrl": "https://management.core.windows.net/" 32 | } 33 | ``` 34 | ## Using secret 35 | Now add the json output as [a secret](https://developer.github.com/actions/managing-workflows/storing-secrets/) in the GitHub repository. In the above example the secret name is `AZURE_CREDENTIALS` and it can be used in the workflow by using the following syntax: 36 | ```yaml 37 | creds: '${{ secrets.AZURE_CREDENTIALS }}' 38 | ``` 39 | -------------------------------------------------------------------------------- /aks-set-context/action.yml: -------------------------------------------------------------------------------- 1 | name: 'AKS set context' 2 | description: 'AKS set context. Used for setting the target AKS cluster context which will be used by other actions like azure/k8s-actions/k8s-deploy or azure/k8s-actions/k8s-create-secret ' 3 | inputs: 4 | creds: 5 | description: 'Azure credentials i.e. output of `az ad sp create-for-rbac --sdk-auth`' 6 | required: true 7 | default: '' 8 | deprecationMessage: 'This action is ARCHIVED and will not receive any updates, update your workflows to use the new action azure/aks-set-context@v1' 9 | resource-group: 10 | description: 'Resource Group Name' 11 | required: false 12 | default: '' 13 | cluster-name: 14 | description: 'AKS Cluster Name' 15 | required: false 16 | default: '' 17 | branding: 18 | color: 'green' # optional, decorates the entry in the GitHub Marketplace 19 | runs: 20 | using: 'node12' 21 | main: 'lib/login.js' 22 | -------------------------------------------------------------------------------- /aks-set-context/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES6", 4 | "module": "commonjs" 5 | }, 6 | "exclude": [ 7 | "node_modules" 8 | ] 9 | } -------------------------------------------------------------------------------- /docker-login/README.md: -------------------------------------------------------------------------------- 1 | # Log in to a container registry 2 | 3 | > The docker-login Actions in this repository will be deleted in the near future. Please use the Docker Actions from [container-actions](https://github.com/Azure/container-actions/edit/master/README.md). 4 | 5 | Use this GitHub Action to [log in to a private container registry](https://docs.docker.com/engine/reference/commandline/login/) such as [Azure Container registry](https://azure.microsoft.com/en-us/services/container-registry/). Once login is done, the next set of actions in the workflow can perform tasks such as building, tagging and pushing containers. 6 | 7 | ```yaml 8 | - uses: azure/container-actions/docker-login@master 9 | with: 10 | username: '' 11 | password: '' 12 | loginServer: '' # default: index.docker.io 13 | email: '' 14 | ``` 15 | Refer to the action metadata file for details about all the inputs https://github.com/Azure/k8s-actions/blob/master/docker-login/action.yml 16 | 17 | ## You can build and push container registry by using the following example 18 | ```yaml 19 | - uses: azure/container-actions/docker-login@master 20 | with: 21 | login-server: contoso.azurecr.io 22 | username: ${{ secrets.REGISTRY_USERNAME }} 23 | password: ${{ secrets.REGISTRY_PASSWORD }} 24 | 25 | - run: | 26 | docker build . -t contoso.azurecr.io/k8sdemo:${{ github.sha }} 27 | docker push contoso.azurecr.io/k8sdemo:${{ github.sha }} 28 | ``` 29 | 30 | ### Prerequisite 31 | Get the username and password of your container registry and create secrets for them. For Azure Container registry refer to **admin [account document](https://docs.microsoft.com/en-us/azure/container-registry/container-registry-authentication#admin-account)** for username and password. 32 | 33 | Now add the username and password as [a secret](https://developer.github.com/actions/managing-workflows/storing-secrets/) in the GitHub repository. 34 | -------------------------------------------------------------------------------- /docker-login/action.yml: -------------------------------------------------------------------------------- 1 | name: 'Docker Login' 2 | description: 'Log in to a container registry' 3 | inputs: 4 | username: 5 | description: 'Container registry username' 6 | required: true 7 | default: '' 8 | deprecationMessage: 'This action is ARCHIVED and will not receive any updates, update your workflows to use the new action azure/docker-login@v1' 9 | password: 10 | description: 'Container registry password' 11 | required: true 12 | default: '' 13 | login-server: 14 | description: 'Container registry server url' 15 | required: true 16 | default: 'https://index.docker.io/v1/' 17 | branding: 18 | color: 'green' 19 | runs: 20 | using: 'node12' 21 | main: 'lib/login.js' 22 | -------------------------------------------------------------------------------- /docker-login/src/login.ts: -------------------------------------------------------------------------------- 1 | import * as core from '@actions/core'; 2 | import * as io from '@actions/io'; 3 | import { issueCommand } from '@actions/core/lib/command'; 4 | import * as path from 'path'; 5 | import * as fs from 'fs'; 6 | 7 | async function run() { 8 | core.warning('This action is moved to azure/containers-actions repository, update your workflows to use those actions instead.'); 9 | let username = core.getInput('username', { required: true }); 10 | let password = core.getInput('password', { required: true }); 11 | let loginServer = core.getInput('login-server', { required: true }); 12 | let authenticationToken = new Buffer(`${username}:${password}`).toString('base64'); 13 | 14 | let config = { 15 | "auths": { 16 | [loginServer]: { 17 | auth: authenticationToken 18 | } 19 | } 20 | } 21 | 22 | const runnerTempDirectory = process.env['RUNNER_TEMP']; // Using process.env until the core libs are updated 23 | const dirPath = path.join(runnerTempDirectory, `docker_login_${Date.now()}`); 24 | await io.mkdirP(dirPath); 25 | const dockerConfigPath = path.join(dirPath, `config.json`); 26 | core.debug(`Writing docker config contents to ${dockerConfigPath}`); 27 | fs.writeFileSync(dockerConfigPath, JSON.stringify(config)); 28 | issueCommand('set-env', { name: 'DOCKER_CONFIG' }, dirPath); 29 | console.log('DOCKER_CONFIG environment variable is set'); 30 | } 31 | 32 | run().catch(core.setFailed); -------------------------------------------------------------------------------- /docker-login/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES6", 4 | "module": "commonjs" 5 | }, 6 | "exclude": [ 7 | "node_modules" 8 | ] 9 | } -------------------------------------------------------------------------------- /docker-logout/README.md: -------------------------------------------------------------------------------- 1 | # Log out from a container registry 2 | 3 | > The docker-login Actions in this repository will be deleted in the near future. Please use the Docker Actions from [container-actions](https://github.com/Azure/container-actions/edit/master/README.md). 4 | 5 | Use this GitHub Action to delete the container registry context from the runner. The context file is created when [docker-login](https://github.com/Azure/k8s-actions/tree/master/docker-login) action is used. 6 | 7 | ```yaml 8 | - uses: azure/container-actions/docker-logout@master 9 | id: logout 10 | ``` 11 | 12 | Refer to the action metadata file for details about all the inputs https://github.com/Azure/k8s-actions/blob/master/docker-logout/action.yml 13 | 14 | -------------------------------------------------------------------------------- /docker-logout/action.yml: -------------------------------------------------------------------------------- 1 | name: 'Docker Logout' 2 | description: 'Docker logout' 3 | branding: 4 | color: 'green' 5 | runs: 6 | using: 'node12' 7 | main: 'lib/logout.js' 8 | -------------------------------------------------------------------------------- /docker-logout/lib/logout.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const io = require("@actions/io"); 4 | const ioUtil = require("@actions/io/lib/io-util"); 5 | const core = require("@actions/core"); 6 | const command_1 = require("@actions/core/lib/command"); 7 | function run() { 8 | core.warning('This action is moved to azure/containers-actions repository, update your workflows to use those actions instead.'); 9 | let pathToDockerConfig = process.env['DOCKER_CONFIG']; 10 | if (pathToDockerConfig && ioUtil.exists(pathToDockerConfig)) { 11 | io.rmRF(pathToDockerConfig); // Deleting the docker config directory 12 | core.debug(`${pathToDockerConfig} has been successfully deleted`); 13 | } 14 | ; 15 | command_1.issueCommand('set-env', { name: 'DOCKER_CONFIG' }, ''); 16 | console.log('DOCKER_CONFIG environment variable unset'); 17 | } 18 | run(); 19 | -------------------------------------------------------------------------------- /docker-logout/src/logout.ts: -------------------------------------------------------------------------------- 1 | import * as io from '@actions/io'; 2 | import * as ioUtil from '@actions/io/lib/io-util'; 3 | import * as core from '@actions/core'; 4 | import { issueCommand } from '@actions/core/lib/command'; 5 | 6 | function run() { 7 | core.warning('This action is moved to azure/containers-actions repository, update your workflows to use those actions instead.'); 8 | let pathToDockerConfig = process.env['DOCKER_CONFIG']; 9 | if (pathToDockerConfig && ioUtil.exists(pathToDockerConfig)) { 10 | io.rmRF(pathToDockerConfig); // Deleting the docker config directory 11 | core.debug(`${pathToDockerConfig} has been successfully deleted`); 12 | }; 13 | issueCommand('set-env', { name: 'DOCKER_CONFIG' }, ''); 14 | console.log('DOCKER_CONFIG environment variable unset'); 15 | } 16 | 17 | run(); -------------------------------------------------------------------------------- /docker-logout/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES6", 4 | "module": "commonjs" 5 | }, 6 | "exclude": [ 7 | "node_modules" 8 | ] 9 | } -------------------------------------------------------------------------------- /k8s-create-secret/README.md: -------------------------------------------------------------------------------- 1 | # Kubernetes create secret 2 | Create a [generic secret or docker-registry secret](https://kubernetes.io/docs/concepts/configuration/secret/) in Kubernetes cluster. 3 | 4 | The secret will be created in the cluster context which was set earlier in the workflow by using either [`azure/k8s-actions/aks-set-context`](https://github.com/Azure/k8s-actions/tree/master/aks-set-context) or [`azure/k8s-actions/k8s-set-context`](https://github.com/Azure/k8s-actions/tree/master/k8s-set-context) 5 | 6 | Refer to the action metadata file for details about all the inputs https://github.com/Azure/k8s-actions/blob/master/k8s-create-secret/action.yml 7 | 8 | ## For docker-registry secret (imagepullsecret) 9 | ```yaml 10 | - name: Set imagePullSecret 11 | uses: azure/k8s-actions/k8s-create-secret@master 12 | with: 13 | namespace: 'myapp' 14 | container-registry-url: 'containerregistry.contoso.com' 15 | container-registry-username: ${{ secrets.REGISTRY_USERNAME }} 16 | container-registry-password: ${{ secrets.REGISTRY_PASSWORD }} 17 | secret-name: 'contoso-cr' 18 | id: set-secret 19 | ``` 20 | 21 | ## For generic secret 22 | ```yaml 23 | - uses: azure/k8s-actions/k8s-create-secret@master 24 | with: 25 | namespace: 'default' 26 | secret-type: 'generic' 27 | arguments: --from-literal=account-name=${{ secrets.AZURE_STORAGE_ACCOUNT }} --from-literal=access-key=${{ secrets.AZURE_STORAGE_ACCESS_KEY }} 28 | secret-name: azure-storage 29 | ``` 30 | 31 | ### Prerequisite 32 | Get the username and password of your container registry and create secrets for them. For Azure Container registry refer to **admin [account document](https://docs.microsoft.com/en-us/azure/container-registry/container-registry-authentication#admin-account)** for username and password. 33 | 34 | Now add the username and password as [a secret](https://developer.github.com/actions/managing-workflows/storing-secrets/) in the GitHub repository. 35 | 36 | In the above example the secret name is `REGISTRY_USERNAME` and `REGISTRY_PASSWORD` and it can be used in the workflow by using the following syntax: 37 | ```yaml 38 | container-registry-username: ${{ secrets.REGISTRY_USERNAME }} 39 | ``` 40 | -------------------------------------------------------------------------------- /k8s-create-secret/action.yml: -------------------------------------------------------------------------------- 1 | name: 'Create secret in Kubernetes cluster' 2 | description: 'Create a generic secret or docker-registry secret in Kubernetes cluster' 3 | inputs: 4 | # Please ensure you have used either azure/k8s-actions/aks-set-context or azure/k8s-actions/k8s-set-context in the workflow before this action 5 | namespace: 6 | description: 'Choose the target Kubernetes namespace. If the namespace is not provided, the commands will run in the default namespace.' 7 | required: false 8 | container-registry-url: 9 | description: 'Container registry url' 10 | required: false 11 | deprecationMessage: 'This action is ARCHIVED and will not receive any updates, update your workflows to use the new action azure/k8s-create-secret@v1' 12 | container-registry-username: 13 | description: 'Container registry username' 14 | required: false 15 | container-registry-password: 16 | description: 'Container registry password' 17 | required: false 18 | container-registry-email: 19 | description: 'Container registry email' 20 | required: false 21 | secret-type: 22 | description: 'Type of Kubernetes secret. For example, docker-registry or generic' 23 | required: true 24 | default: 'docker-registry' 25 | secret-name: 26 | description: 'Name of the secret. You can use this secret name in the Kubernetes YAML configuration file.' 27 | required: true 28 | arguments: 29 | description: 'Specify keys and literal values to insert in generic type secret.For example, --from-literal=key1=value1 --from-literal=key2="top secret".' 30 | required: false 31 | outputs: 32 | secret-name: 33 | description: 'Secret name' 34 | branding: 35 | icon: 'k8s.svg' # vector art to display in the GitHub Marketplace 36 | color: 'blue' # optional, decorates the entry in the GitHub Marketplace 37 | runs: 38 | using: 'node12' 39 | main: 'lib/run.js' 40 | -------------------------------------------------------------------------------- /k8s-create-secret/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES6", 4 | "module": "commonjs" 5 | }, 6 | "exclude": [ 7 | "node_modules" 8 | ] 9 | } -------------------------------------------------------------------------------- /k8s-deploy/action.yml: -------------------------------------------------------------------------------- 1 | name: 'Deploy to Kubernetes cluster' 2 | description: 'Deploy to Kubernetes cluster' 3 | inputs: 4 | # Please ensure you have used either azure/k8s-actions/aks-set-context or azure/k8s-actions/k8s-set-context in the workflow before this action 5 | namespace: 6 | description: 'Choose the target Kubernetes namespace. If the namespace is not provided, the commands will run in the default namespace.' 7 | required: false 8 | manifests: 9 | description: 'Path to the manifest files which will be used for deployment.' 10 | required: true 11 | default: '' 12 | deprecationMessage: 'This action is ARCHIVED and will not receive any updates, update your workflows to use the new action azure/k8s-deploy@v1' 13 | images: 14 | description: 'Fully qualified resource URL of the image(s) to be used for substitutions on the manifest files 15 | Example: contosodemo.azurecr.io/helloworld:test' 16 | required: false 17 | imagepullsecrets: 18 | description: 'Name of a docker-registry secret that has already been set up within the cluster. Each of these secret names are added under imagePullSecrets field for the workloads found in the input manifest files' 19 | required: false 20 | kubectl-version: 21 | description: 'Version of kubectl. Installs a specific version of kubectl binary' 22 | required: false 23 | branding: 24 | color: 'green' # optional, decorates the entry in the GitHub Marketplace 25 | runs: 26 | using: 'node12' 27 | main: 'lib/run.js' 28 | -------------------------------------------------------------------------------- /k8s-deploy/lib/utils.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const os = require("os"); 4 | function isEqual(str1, str2) { 5 | if (!str1) 6 | str1 = ""; 7 | if (!str2) 8 | str2 = ""; 9 | return str1.toLowerCase() === str2.toLowerCase(); 10 | } 11 | exports.isEqual = isEqual; 12 | function getRandomInt(max) { 13 | return Math.floor(Math.random() * Math.floor(max)); 14 | } 15 | exports.getRandomInt = getRandomInt; 16 | function getExecutableExtension() { 17 | if (os.type().match(/^Win/)) { 18 | return '.exe'; 19 | } 20 | return ''; 21 | } 22 | exports.getExecutableExtension = getExecutableExtension; 23 | function getCurrentTime() { 24 | return new Date().getTime(); 25 | } 26 | exports.getCurrentTime = getCurrentTime; 27 | -------------------------------------------------------------------------------- /k8s-deploy/src/utils.ts: -------------------------------------------------------------------------------- 1 | import * as os from 'os'; 2 | 3 | export function isEqual(str1: string, str2: string) { 4 | if (!str1) str1 = ""; 5 | if (!str2) str2 = ""; 6 | return str1.toLowerCase() === str2.toLowerCase(); 7 | } 8 | 9 | export function getRandomInt(max: number) { 10 | return Math.floor(Math.random() * Math.floor(max)); 11 | } 12 | 13 | export function getExecutableExtension(): string { 14 | if (os.type().match(/^Win/)) { 15 | return '.exe'; 16 | } 17 | return ''; 18 | } 19 | 20 | export function getCurrentTime(): number { 21 | return new Date().getTime(); 22 | } 23 | -------------------------------------------------------------------------------- /k8s-deploy/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES6", 4 | "module": "commonjs" 5 | }, 6 | "exclude": [ 7 | "node_modules" 8 | ] 9 | } -------------------------------------------------------------------------------- /k8s-set-context/action.yml: -------------------------------------------------------------------------------- 1 | name: 'Kubernetes set context' 2 | description: 'Kubernetes set context' 3 | inputs: 4 | # Used for setting the target K8s cluster context which will be used by other actions like azure/k8s-actions/k8s-deploy or azure/k8s-actions/k8s-create-secret 5 | kubeconfig: 6 | description: 'Kubernetes Config' 7 | required: false 8 | default: '' 9 | deprecationMessage: "This action is ARCHIVED and will not receive any updates, update your workflows to use the new action azure/k8s-set-context@v1" 10 | context: 11 | description: 'If your kubeconfig has multiple contexts, use this field to use a specific context, otherwise the default one would be chosen' 12 | required: false 13 | default: '' 14 | 15 | k8s-url: 16 | description: 'Cluster Url' 17 | required: false 18 | default: '' 19 | k8s-secret: 20 | description: 'Service account token' 21 | required: false 22 | default: '' 23 | 24 | branding: 25 | color: 'green' # optional, decorates the entry in the GitHub Marketplace 26 | runs: 27 | using: 'node12' 28 | main: 'lib/login.js' 29 | -------------------------------------------------------------------------------- /k8s-set-context/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES6", 4 | "module": "commonjs" 5 | }, 6 | "exclude": [ 7 | "node_modules" 8 | ] 9 | } -------------------------------------------------------------------------------- /node_modules/.bin/esparse: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../esprima/bin/esparse.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../esprima/bin/esparse.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/esparse.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\esprima\bin\esparse.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\esprima\bin\esparse.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/esvalidate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../esprima/bin/esvalidate.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../esprima/bin/esvalidate.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/esvalidate.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\esprima\bin\esvalidate.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\esprima\bin\esvalidate.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/js-yaml: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../js-yaml/bin/js-yaml.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../js-yaml/bin/js-yaml.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/js-yaml.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\js-yaml\bin\js-yaml.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\js-yaml\bin\js-yaml.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/semver: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../semver/bin/semver.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../semver/bin/semver.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/semver.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\semver\bin\semver.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\semver\bin\semver.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/uuid: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../uuid/bin/uuid" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../uuid/bin/uuid" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/uuid.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\uuid\bin\uuid" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\uuid\bin\uuid" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/@actions/core/README.md: -------------------------------------------------------------------------------- 1 | # `@actions/core` 2 | 3 | > Core functions for setting results, logging, registering secrets and exporting variables across actions 4 | 5 | ## Usage 6 | 7 | See [src/core.ts](src/core.ts). 8 | -------------------------------------------------------------------------------- /node_modules/@actions/core/lib/command.d.ts: -------------------------------------------------------------------------------- 1 | interface CommandProperties { 2 | [key: string]: string; 3 | } 4 | /** 5 | * Commands 6 | * 7 | * Command Format: 8 | * ##[name key=value;key=value]message 9 | * 10 | * Examples: 11 | * ##[warning]This is the user warning message 12 | * ##[set-secret name=mypassword]definatelyNotAPassword! 13 | */ 14 | export declare function issueCommand(command: string, properties: CommandProperties, message: string): void; 15 | export declare function issue(name: string, message: string): void; 16 | export {}; 17 | -------------------------------------------------------------------------------- /node_modules/@actions/core/lib/command.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"command.js","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":";;AAAA,yBAAwB;AAQxB;;;;;;;;;GASG;AACH,SAAgB,YAAY,CAC1B,OAAe,EACf,UAA6B,EAC7B,OAAe;IAEf,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA;IACrD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;AAC/C,CAAC;AAPD,oCAOC;AAED,SAAgB,KAAK,CAAC,IAAY,EAAE,OAAe;IACjD,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACjC,CAAC;AAFD,sBAEC;AAED,MAAM,UAAU,GAAG,KAAK,CAAA;AAExB,MAAM,OAAO;IAKX,YAAY,OAAe,EAAE,UAA6B,EAAE,OAAe;QACzE,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,iBAAiB,CAAA;SAC5B;QAED,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACxB,CAAC;IAED,QAAQ;QACN,IAAI,MAAM,GAAG,UAAU,GAAG,IAAI,CAAC,OAAO,CAAA;QAEtC,IAAI,IAAI,CAAC,UAAU,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;YAC9D,MAAM,IAAI,GAAG,CAAA;YACb,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,UAAU,EAAE;gBACjC,IAAI,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;oBACvC,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;oBAChC,IAAI,GAAG,EAAE;wBACP,8DAA8D;wBAC9D,6DAA6D;wBAC7D,MAAM,IAAI,GAAG,GAAG,IAAI,MAAM,CAAC,GAAG,GAAG,IAAI,EAAE,EAAE,CAAC,GAAG,CAAA;qBAC9C;iBACF;aACF;SACF;QAED,MAAM,IAAI,GAAG,CAAA;QAEb,kEAAkE;QAClE,6DAA6D;QAC7D,MAAM,OAAO,GAAG,GAAG,IAAI,CAAC,OAAO,IAAI,EAAE,EAAE,CAAA;QACvC,MAAM,IAAI,UAAU,CAAC,OAAO,CAAC,CAAA;QAE7B,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AAED,SAAS,UAAU,CAAC,CAAS;IAC3B,OAAO,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;AACtD,CAAC;AAED,SAAS,MAAM,CAAC,CAAS;IACvB,OAAO,CAAC;SACL,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;AACzB,CAAC"} -------------------------------------------------------------------------------- /node_modules/@actions/core/lib/core.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;AAAA,uCAA6C;AAE7C,6BAA4B;AAU5B;;GAEG;AACH,IAAY,QAeX;AAfD,WAAY,QAAQ;IAClB;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,8CAAY,CAAA;AACd,CAAC,EAfW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAenB;AAED,yEAAyE;AACzE,YAAY;AACZ,yEAAyE;AAEzE;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAY,EAAE,GAAW;IACtD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,CAAA;IACvB,sBAAY,CAAC,SAAS,EAAE,EAAC,IAAI,EAAC,EAAE,GAAG,CAAC,CAAA;AACtC,CAAC;AAHD,wCAGC;AAED;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAY,EAAE,GAAW;IACpD,cAAc,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;IACzB,sBAAY,CAAC,YAAY,EAAE,EAAE,EAAE,GAAG,CAAC,CAAA;AACrC,CAAC;AAHD,oCAGC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,SAAiB;IACvC,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;IACvC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAA;AAC7E,CAAC;AAHD,0BAGC;AAED;;;;;;GAMG;AACH,SAAgB,QAAQ,CAAC,IAAY,EAAE,OAAsB;IAC3D,MAAM,GAAG,GACP,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,IAAI,EAAE,CAAA;IACpE,IAAI,OAAO,IAAI,OAAO,CAAC,QAAQ,IAAI,CAAC,GAAG,EAAE;QACvC,MAAM,IAAI,KAAK,CAAC,oCAAoC,IAAI,EAAE,CAAC,CAAA;KAC5D;IAED,OAAO,GAAG,CAAC,IAAI,EAAE,CAAA;AACnB,CAAC;AARD,4BAQC;AAED;;;;;GAKG;AACH,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAa;IACnD,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAFD,8BAEC;AAED,yEAAyE;AACzE,UAAU;AACV,yEAAyE;AAEzE;;GAEG;AACH,SAAgB,UAAU;IACxB,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAA;AACrC,CAAC;AAFD,gCAEC;AAED;;;;GAIG;AACH,SAAgB,SAAS,CAAC,OAAe;IACvC,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAA;IACnC,KAAK,CAAC,OAAO,CAAC,CAAA;AAChB,CAAC;AAHD,8BAGC;AAED,yEAAyE;AACzE,mBAAmB;AACnB,yEAAyE;AAEzE;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,sBAAY,CAAC,OAAO,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACpC,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,eAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;AACzB,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,OAAe;IACrC,eAAK,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;AAC3B,CAAC;AAFD,0BAEC"} -------------------------------------------------------------------------------- /node_modules/@actions/core/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "_from": "file:action-modules\\actions-core-0.0.0.tgz", 3 | "_id": "@actions/core@0.0.0", 4 | "_inBundle": false, 5 | "_integrity": "sha512-aA3W5QTRIbaRxEDo/Pn/unVB+PB6Vbyx2QNjnV35QRDsdhbMd65e3Gige0NCkjoJ3P+P1Fv5B9jb7XV78yUBIQ==", 6 | "_location": "/@actions/core", 7 | "_phantomChildren": {}, 8 | "_requested": { 9 | "type": "file", 10 | "where": "E:\\actions\\azure\\actions", 11 | "raw": "@actions/core@file:./action-modules/actions-core-0.0.0.tgz", 12 | "name": "@actions/core", 13 | "escapedName": "@actions%2fcore", 14 | "scope": "@actions", 15 | "rawSpec": "file:./action-modules/actions-core-0.0.0.tgz", 16 | "saveSpec": "file:action-modules\\actions-core-0.0.0.tgz", 17 | "fetchSpec": "E:\\actions\\azure\\actions\\action-modules\\actions-core-0.0.0.tgz" 18 | }, 19 | "_requiredBy": [ 20 | "/", 21 | "/@actions/tool-cache" 22 | ], 23 | "_resolved": "E:\\actions\\azure\\actions\\action-modules\\actions-core-0.0.0.tgz", 24 | "_shasum": "5c7a8cdd3b464dedd87d453965943c15aad1dd9a", 25 | "_spec": "@actions/core@file:./action-modules/actions-core-0.0.0.tgz", 26 | "_where": "E:\\actions\\azure\\actions", 27 | "bugs": { 28 | "url": "https://github.com/actions/toolkit/issues" 29 | }, 30 | "bundleDependencies": false, 31 | "deprecated": false, 32 | "description": "Actions core lib", 33 | "devDependencies": { 34 | "@types/node": "^12.0.2" 35 | }, 36 | "directories": { 37 | "lib": "lib", 38 | "test": "__tests__" 39 | }, 40 | "files": [ 41 | "lib" 42 | ], 43 | "homepage": "https://github.com/actions/toolkit/tree/master/packages/core", 44 | "keywords": [ 45 | "core", 46 | "actions" 47 | ], 48 | "license": "MIT", 49 | "main": "lib/core.js", 50 | "name": "@actions/core", 51 | "publishConfig": { 52 | "access": "public" 53 | }, 54 | "repository": { 55 | "type": "git", 56 | "url": "git+https://github.com/actions/toolkit.git" 57 | }, 58 | "scripts": { 59 | "test": "echo \"Error: run tests from root\" && exit 1", 60 | "tsc": "tsc" 61 | }, 62 | "version": "0.0.0" 63 | } 64 | -------------------------------------------------------------------------------- /node_modules/@actions/exec/README.md: -------------------------------------------------------------------------------- 1 | # `@actions/exec` 2 | 3 | > Functions necessary for running tools on the command line 4 | 5 | ## Usage 6 | 7 | See [src/exec.ts](src/exec.ts). -------------------------------------------------------------------------------- /node_modules/@actions/exec/lib/exec.d.ts: -------------------------------------------------------------------------------- 1 | import * as im from './interfaces'; 2 | /** 3 | * Exec a command. 4 | * Output will be streamed to the live console. 5 | * Returns promise with return code 6 | * 7 | * @param commandLine command to execute (can include additional args). Must be correctly escaped. 8 | * @param args optional arguments for tool. Escaping is handled by the lib. 9 | * @param options optional exec options. See ExecOptions 10 | * @returns Promise exit code 11 | */ 12 | export declare function exec(commandLine: string, args?: string[], options?: im.ExecOptions): Promise; 13 | -------------------------------------------------------------------------------- /node_modules/@actions/exec/lib/exec.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { 3 | return new (P || (P = Promise))(function (resolve, reject) { 4 | function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } 5 | function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } 6 | function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } 7 | step((generator = generator.apply(thisArg, _arguments || [])).next()); 8 | }); 9 | }; 10 | Object.defineProperty(exports, "__esModule", { value: true }); 11 | const tr = require("./toolrunner"); 12 | /** 13 | * Exec a command. 14 | * Output will be streamed to the live console. 15 | * Returns promise with return code 16 | * 17 | * @param commandLine command to execute (can include additional args). Must be correctly escaped. 18 | * @param args optional arguments for tool. Escaping is handled by the lib. 19 | * @param options optional exec options. See ExecOptions 20 | * @returns Promise exit code 21 | */ 22 | function exec(commandLine, args, options) { 23 | return __awaiter(this, void 0, void 0, function* () { 24 | const commandArgs = tr.argStringToArray(commandLine); 25 | if (commandArgs.length === 0) { 26 | throw new Error(`Parameter 'commandLine' cannot be null or empty.`); 27 | } 28 | // Path to tool to execute should be first arg 29 | const toolPath = commandArgs[0]; 30 | args = commandArgs.slice(1).concat(args || []); 31 | const runner = new tr.ToolRunner(toolPath, args, options); 32 | return runner.exec(); 33 | }); 34 | } 35 | exports.exec = exec; 36 | //# sourceMappingURL=exec.js.map -------------------------------------------------------------------------------- /node_modules/@actions/exec/lib/exec.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"exec.js","sourceRoot":"","sources":["../src/exec.ts"],"names":[],"mappings":";;;;;;;;;;AACA,mCAAkC;AAElC;;;;;;;;;GASG;AACH,SAAsB,IAAI,CACxB,WAAmB,EACnB,IAAe,EACf,OAAwB;;QAExB,MAAM,WAAW,GAAG,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAA;QACpD,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAA;SACpE;QACD,8CAA8C;QAC9C,MAAM,QAAQ,GAAG,WAAW,CAAC,CAAC,CAAC,CAAA;QAC/B,IAAI,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC,CAAA;QAC9C,MAAM,MAAM,GAAkB,IAAI,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,IAAI,EAAE,OAAO,CAAC,CAAA;QACxE,OAAO,MAAM,CAAC,IAAI,EAAE,CAAA;IACtB,CAAC;CAAA;AAdD,oBAcC"} -------------------------------------------------------------------------------- /node_modules/@actions/exec/lib/interfaces.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import * as stream from 'stream'; 3 | /** 4 | * Interface for exec options 5 | */ 6 | export interface ExecOptions { 7 | /** optional working directory. defaults to current */ 8 | cwd?: string; 9 | /** optional envvar dictionary. defaults to current process's env */ 10 | env?: { 11 | [key: string]: string; 12 | }; 13 | /** optional. defaults to false */ 14 | silent?: boolean; 15 | /** optional out stream to use. Defaults to process.stdout */ 16 | outStream?: stream.Writable; 17 | /** optional err stream to use. Defaults to process.stderr */ 18 | errStream?: stream.Writable; 19 | /** optional. whether to skip quoting/escaping arguments if needed. defaults to false. */ 20 | windowsVerbatimArguments?: boolean; 21 | /** optional. whether to fail if output to stderr. defaults to false */ 22 | failOnStdErr?: boolean; 23 | /** optional. defaults to failing on non zero. ignore will not fail leaving it up to the caller */ 24 | ignoreReturnCode?: boolean; 25 | /** optional. How long in ms to wait for STDIO streams to close after the exit event of the process before terminating. defaults to 10000 */ 26 | delay?: number; 27 | /** optional. Listeners for output. Callback functions that will be called on these events */ 28 | listeners?: { 29 | stdout?: (data: Buffer) => void; 30 | stderr?: (data: Buffer) => void; 31 | stdline?: (data: string) => void; 32 | errline?: (data: string) => void; 33 | debug?: (data: string) => void; 34 | }; 35 | } 36 | -------------------------------------------------------------------------------- /node_modules/@actions/exec/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /node_modules/@actions/exec/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/@actions/exec/lib/toolrunner.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import * as events from 'events'; 3 | import * as im from './interfaces'; 4 | export declare class ToolRunner extends events.EventEmitter { 5 | constructor(toolPath: string, args?: string[], options?: im.ExecOptions); 6 | private toolPath; 7 | private args; 8 | private options; 9 | private _debug; 10 | private _getCommandString; 11 | private _processLineBuffer; 12 | private _getSpawnFileName; 13 | private _getSpawnArgs; 14 | private _endsWith; 15 | private _isCmdFile; 16 | private _windowsQuoteCmdArg; 17 | private _uvQuoteCmdArg; 18 | private _cloneExecOptions; 19 | private _getSpawnOptions; 20 | /** 21 | * Exec a tool. 22 | * Output will be streamed to the live console. 23 | * Returns promise with return code 24 | * 25 | * @param tool path to tool to exec 26 | * @param options optional exec options. See ExecOptions 27 | * @returns number 28 | */ 29 | exec(): Promise; 30 | } 31 | /** 32 | * Convert an arg string to an array of args. Handles escaping 33 | * 34 | * @param argString string of arguments 35 | * @returns string[] array of arguments 36 | */ 37 | export declare function argStringToArray(argString: string): string[]; 38 | -------------------------------------------------------------------------------- /node_modules/@actions/exec/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "_from": "file:action-modules\\actions-exec-0.0.0.tgz", 3 | "_id": "@actions/exec@0.0.0", 4 | "_inBundle": false, 5 | "_integrity": "sha512-Ha//34XKSv82P6QaaLwNK9cUJA2qzqPxRm1Cv0Wgj3k1ppS9MPjuCKQGvZI0CsbEs3UFq+NPorcbiAKM8smJWw==", 6 | "_location": "/@actions/exec", 7 | "_phantomChildren": {}, 8 | "_requested": { 9 | "type": "file", 10 | "where": "E:\\actions\\azure\\actions", 11 | "raw": "@actions/exec@file:./action-modules/actions-exec-0.0.0.tgz", 12 | "name": "@actions/exec", 13 | "escapedName": "@actions%2fexec", 14 | "scope": "@actions", 15 | "rawSpec": "file:./action-modules/actions-exec-0.0.0.tgz", 16 | "saveSpec": "file:action-modules\\actions-exec-0.0.0.tgz", 17 | "fetchSpec": "E:\\actions\\azure\\actions\\action-modules\\actions-exec-0.0.0.tgz" 18 | }, 19 | "_requiredBy": [ 20 | "/", 21 | "/@actions/tool-cache" 22 | ], 23 | "_resolved": "E:\\actions\\azure\\actions\\action-modules\\actions-exec-0.0.0.tgz", 24 | "_shasum": "85d7bb181b39e3d8861a91c4f07cb09842efc3e4", 25 | "_spec": "@actions/exec@file:./action-modules/actions-exec-0.0.0.tgz", 26 | "_where": "E:\\actions\\azure\\actions", 27 | "bugs": { 28 | "url": "https://github.com/actions/toolkit/issues" 29 | }, 30 | "bundleDependencies": false, 31 | "deprecated": false, 32 | "description": "Actions exec lib", 33 | "devDependencies": { 34 | "@actions/io": "^0.0.0" 35 | }, 36 | "directories": { 37 | "lib": "lib", 38 | "test": "__tests__" 39 | }, 40 | "files": [ 41 | "lib" 42 | ], 43 | "homepage": "https://github.com/actions/toolkit/tree/master/packages/exec", 44 | "keywords": [ 45 | "exec", 46 | "actions" 47 | ], 48 | "license": "MIT", 49 | "main": "lib/exec.js", 50 | "name": "@actions/exec", 51 | "publishConfig": { 52 | "access": "public" 53 | }, 54 | "repository": { 55 | "type": "git", 56 | "url": "git+https://github.com/actions/toolkit.git" 57 | }, 58 | "scripts": { 59 | "test": "echo \"Error: run tests from root\" && exit 1", 60 | "tsc": "tsc" 61 | }, 62 | "version": "0.0.0" 63 | } 64 | -------------------------------------------------------------------------------- /node_modules/@actions/io/README.md: -------------------------------------------------------------------------------- 1 | # `@actions/io` 2 | 3 | > Core functions for cli filesystem scenarios 4 | 5 | ## Usage 6 | 7 | ``` 8 | /** 9 | * Copies a file or folder. 10 | * 11 | * @param source source path 12 | * @param dest destination path 13 | * @param options optional. See CopyOptions. 14 | */ 15 | export function cp(source: string, dest: string, options?: CopyOptions): Promise 16 | 17 | /** 18 | * Remove a path recursively with force 19 | * 20 | * @param path path to remove 21 | */ 22 | export function rmRF(path: string): Promise 23 | 24 | /** 25 | * Make a directory. Creates the full path with folders in between 26 | * 27 | * @param p path to create 28 | * @returns Promise 29 | */ 30 | export function mkdirP(p: string): Promise 31 | 32 | /** 33 | * Moves a path. 34 | * 35 | * @param source source path 36 | * @param dest destination path 37 | * @param options optional. See CopyOptions. 38 | */ 39 | export function mv(source: string, dest: string, options?: CopyOptions): Promise 40 | 41 | /** 42 | * Returns path of a tool had the tool actually been invoked. Resolves via paths. 43 | * 44 | * @param tool name of the tool 45 | * @param options optional. See WhichOptions. 46 | * @returns Promise path to tool 47 | */ 48 | export function which(tool: string, options?: WhichOptions): Promise 49 | ``` -------------------------------------------------------------------------------- /node_modules/@actions/io/lib/io-util.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import * as fs from 'fs'; 3 | export declare const copyFile: typeof fs.promises.copyFile, lstat: typeof fs.promises.lstat, mkdir: typeof fs.promises.mkdir, readdir: typeof fs.promises.readdir, rmdir: typeof fs.promises.rmdir, stat: typeof fs.promises.stat, unlink: typeof fs.promises.unlink; 4 | export declare const IS_WINDOWS: boolean; 5 | export declare function exists(fsPath: string): Promise; 6 | export declare function isDirectory(fsPath: string, useStat?: boolean): Promise; 7 | /** 8 | * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like: 9 | * \, \hello, \\hello\share, C:, and C:\hello (and corresponding alternate separator cases). 10 | */ 11 | export declare function isRooted(p: string): boolean; 12 | /** 13 | * Recursively create a directory at `fsPath`. 14 | * 15 | * This implementation is optimistic, meaning it attempts to create the full 16 | * path first, and backs up the path stack from there. 17 | * 18 | * @param fsPath The path to create 19 | * @param maxDepth The maximum recursion depth 20 | * @param depth The current recursion depth 21 | */ 22 | export declare function mkdirP(fsPath: string, maxDepth?: number, depth?: number): Promise; 23 | /** 24 | * Best effort attempt to determine whether a file exists and is executable. 25 | * @param filePath file path to check 26 | * @param extensions additional file extensions to try 27 | * @return if file exists and is executable, returns the file path. otherwise empty string. 28 | */ 29 | export declare function tryGetExecutablePath(filePath: string, extensions: string[]): Promise; 30 | -------------------------------------------------------------------------------- /node_modules/@actions/io/lib/io.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Interface for cp/mv options 3 | */ 4 | export interface CopyOptions { 5 | /** Optional. Whether to recursively copy all subdirectories. Defaults to false */ 6 | recursive?: boolean; 7 | /** Optional. Whether to overwrite existing files in the destination. Defaults to true */ 8 | force?: boolean; 9 | } 10 | /** 11 | * Copies a file or folder. 12 | * 13 | * @param source source path 14 | * @param dest destination path 15 | * @param options optional. See CopyOptions. 16 | */ 17 | export declare function cp(source: string, dest: string, options?: CopyOptions): Promise; 18 | /** 19 | * Moves a path. 20 | * 21 | * @param source source path 22 | * @param dest destination path 23 | * @param options optional. See CopyOptions. 24 | */ 25 | export declare function mv(source: string, dest: string, options?: CopyOptions): Promise; 26 | /** 27 | * Remove a path recursively with force 28 | * 29 | * @param inputPath path to remove 30 | */ 31 | export declare function rmRF(inputPath: string): Promise; 32 | /** 33 | * Make a directory. Creates the full path with folders in between 34 | * Will throw if it fails 35 | * 36 | * @param fsPath path to create 37 | * @returns Promise 38 | */ 39 | export declare function mkdirP(fsPath: string): Promise; 40 | /** 41 | * Returns path of a tool had the tool actually been invoked. Resolves via paths. 42 | * If you check and the tool does not exist, it will throw. 43 | * 44 | * @param tool name of the tool 45 | * @param check whether to check if tool exists 46 | * @returns Promise path to tool 47 | */ 48 | export declare function which(tool: string, check?: boolean): Promise; 49 | -------------------------------------------------------------------------------- /node_modules/@actions/io/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "_from": "file:action-modules\\actions-io-0.0.0.tgz", 3 | "_id": "@actions/io@0.0.0", 4 | "_inBundle": false, 5 | "_integrity": "sha512-G6zj0R57DAZfFFnMxIKWXBi8rdFqHrkVn4DBYrhhmk2VxflIUztNmhd4Ezl/MdcqgM4YmC0enFvbMs6Oei0hyQ==", 6 | "_location": "/@actions/io", 7 | "_phantomChildren": {}, 8 | "_requested": { 9 | "type": "file", 10 | "where": "E:\\actions\\azure\\actions", 11 | "raw": "@actions/io@file:./action-modules/actions-io-0.0.0.tgz", 12 | "name": "@actions/io", 13 | "escapedName": "@actions%2fio", 14 | "scope": "@actions", 15 | "rawSpec": "file:./action-modules/actions-io-0.0.0.tgz", 16 | "saveSpec": "file:action-modules\\actions-io-0.0.0.tgz", 17 | "fetchSpec": "E:\\actions\\azure\\actions\\action-modules\\actions-io-0.0.0.tgz" 18 | }, 19 | "_requiredBy": [ 20 | "/", 21 | "/@actions/tool-cache" 22 | ], 23 | "_resolved": "E:\\actions\\azure\\actions\\action-modules\\actions-io-0.0.0.tgz", 24 | "_shasum": "013a9e85c07823c321a061d9a9f934f413a57b2c", 25 | "_spec": "@actions/io@file:./action-modules/actions-io-0.0.0.tgz", 26 | "_where": "E:\\actions\\azure\\actions", 27 | "bugs": { 28 | "url": "https://github.com/actions/toolkit/issues" 29 | }, 30 | "bundleDependencies": false, 31 | "deprecated": false, 32 | "description": "Actions io lib", 33 | "directories": { 34 | "lib": "lib", 35 | "test": "__tests__" 36 | }, 37 | "files": [ 38 | "lib" 39 | ], 40 | "homepage": "https://github.com/actions/toolkit/tree/master/packages/io", 41 | "keywords": [ 42 | "io", 43 | "actions" 44 | ], 45 | "license": "MIT", 46 | "main": "lib/io.js", 47 | "name": "@actions/io", 48 | "publishConfig": { 49 | "access": "public" 50 | }, 51 | "repository": { 52 | "type": "git", 53 | "url": "git+https://github.com/actions/toolkit.git" 54 | }, 55 | "scripts": { 56 | "test": "echo \"Error: run tests from root\" && exit 1", 57 | "tsc": "tsc" 58 | }, 59 | "version": "0.0.0" 60 | } 61 | -------------------------------------------------------------------------------- /node_modules/@actions/tool-cache/README.md: -------------------------------------------------------------------------------- 1 | # `@actions/tool-cache` 2 | 3 | > Functions necessary for downloading and caching tools. 4 | 5 | ## Usage 6 | 7 | See [src/tool-cache.ts](src/tool-cache.ts). -------------------------------------------------------------------------------- /node_modules/@actions/tool-cache/scripts/externals/7zdec.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure/k8s-actions/7a93ceb73dcebce42afdbb13e5eca8548143a281/node_modules/@actions/tool-cache/scripts/externals/7zdec.exe -------------------------------------------------------------------------------- /node_modules/@actions/tool-cache/scripts/externals/unzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure/k8s-actions/7a93ceb73dcebce42afdbb13e5eca8548143a281/node_modules/@actions/tool-cache/scripts/externals/unzip -------------------------------------------------------------------------------- /node_modules/@types/node/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Microsoft Corporation. All rights reserved. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE 22 | -------------------------------------------------------------------------------- /node_modules/@types/node/README.md: -------------------------------------------------------------------------------- 1 | # Installation 2 | > `npm install --save @types/node` 3 | 4 | # Summary 5 | This package contains type definitions for Node.js (http://nodejs.org/). 6 | 7 | # Details 8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node 9 | 10 | Additional Details 11 | * Last updated: Wed, 17 Jul 2019 19:14:44 GMT 12 | * Dependencies: none 13 | * Global values: Buffer, NodeJS, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, queueMicrotask, require, setImmediate, setInterval, setTimeout 14 | 15 | # Credits 16 | These definitions were written by Microsoft TypeScript , DefinitelyTyped , Alberto Schiabel , Alexander T. , Alvis HT Tang , Andrew Makarov , Benjamin Toueg , Bruno Scheufler , Chigozirim C. , Christian Vaagland Tellnes , David Junger , Deividas Bakanas , Eugene Y. Q. Shen , Flarna , Hannes Magnusson , Hoàng Văn Khải , Huw , Kelvin Jin , Klaus Meinhardt , Lishude , Mariusz Wiktorczyk , Matthieu Sieben , Mohsen Azimi , Nicolas Even , Nicolas Voigt , Parambir Singh , Sebastian Silbermann , Simon Schick , Thomas den Hollander , Wilco Bakker , wwwy3y3 , Zane Hannan AU , Samuel Ainsworth , Kyle Uehlein , Jordi Oliveras Rovira , and Thanik Bhongbhibhat . 17 | -------------------------------------------------------------------------------- /node_modules/@types/node/base.d.ts: -------------------------------------------------------------------------------- 1 | // base definnitions for all NodeJS modules that are not specific to any version of TypeScript 2 | /// 3 | /// 4 | /// 5 | /// 6 | /// 7 | /// 8 | /// 9 | /// 10 | /// 11 | /// 12 | /// 13 | /// 14 | /// 15 | /// 16 | /// 17 | /// 18 | /// 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | /// 26 | /// 27 | /// 28 | /// 29 | /// 30 | /// 31 | /// 32 | /// 33 | /// 34 | /// 35 | /// 36 | /// 37 | /// 38 | /// 39 | /// 40 | /// 41 | /// 42 | -------------------------------------------------------------------------------- /node_modules/@types/node/buffer.d.ts: -------------------------------------------------------------------------------- 1 | declare module "buffer" { 2 | export const INSPECT_MAX_BYTES: number; 3 | export const kMaxLength: number; 4 | export const kStringMaxLength: number; 5 | export const constants: { 6 | MAX_LENGTH: number; 7 | MAX_STRING_LENGTH: number; 8 | }; 9 | const BuffType: typeof Buffer; 10 | 11 | export type TranscodeEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary"; 12 | 13 | export function transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer; 14 | 15 | export const SlowBuffer: { 16 | /** @deprecated since v6.0.0, use Buffer.allocUnsafeSlow() */ 17 | new(size: number): Buffer; 18 | prototype: Buffer; 19 | }; 20 | 21 | export { BuffType as Buffer }; 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/@types/node/console.d.ts: -------------------------------------------------------------------------------- 1 | declare module "console" { 2 | export = console; 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@types/node/domain.d.ts: -------------------------------------------------------------------------------- 1 | declare module "domain" { 2 | import * as events from "events"; 3 | 4 | class Domain extends events.EventEmitter implements NodeJS.Domain { 5 | run(fn: (...args: any[]) => T, ...args: any[]): T; 6 | add(emitter: events.EventEmitter | NodeJS.Timer): void; 7 | remove(emitter: events.EventEmitter | NodeJS.Timer): void; 8 | bind(cb: T): T; 9 | intercept(cb: T): T; 10 | members: Array; 11 | enter(): void; 12 | exit(): void; 13 | } 14 | 15 | function create(): Domain; 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/@types/node/events.d.ts: -------------------------------------------------------------------------------- 1 | declare module "events" { 2 | class internal extends NodeJS.EventEmitter { } 3 | 4 | namespace internal { 5 | function once(emitter: EventEmitter, event: string | symbol): Promise; 6 | class EventEmitter extends internal { 7 | /** @deprecated since v4.0.0 */ 8 | static listenerCount(emitter: EventEmitter, event: string | symbol): number; 9 | static defaultMaxListeners: number; 10 | 11 | addListener(event: string | symbol, listener: (...args: any[]) => void): this; 12 | on(event: string | symbol, listener: (...args: any[]) => void): this; 13 | once(event: string | symbol, listener: (...args: any[]) => void): this; 14 | prependListener(event: string | symbol, listener: (...args: any[]) => void): this; 15 | prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; 16 | removeListener(event: string | symbol, listener: (...args: any[]) => void): this; 17 | off(event: string | symbol, listener: (...args: any[]) => void): this; 18 | removeAllListeners(event?: string | symbol): this; 19 | setMaxListeners(n: number): this; 20 | getMaxListeners(): number; 21 | listeners(event: string | symbol): Function[]; 22 | rawListeners(event: string | symbol): Function[]; 23 | emit(event: string | symbol, ...args: any[]): boolean; 24 | eventNames(): Array; 25 | listenerCount(type: string | symbol): number; 26 | } 27 | } 28 | 29 | export = internal; 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/@types/node/module.d.ts: -------------------------------------------------------------------------------- 1 | declare module "module" { 2 | export = NodeJS.Module; 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@types/node/process.d.ts: -------------------------------------------------------------------------------- 1 | declare module "process" { 2 | export = process; 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@types/node/punycode.d.ts: -------------------------------------------------------------------------------- 1 | declare module "punycode" { 2 | function decode(string: string): string; 3 | function encode(string: string): string; 4 | function toUnicode(domain: string): string; 5 | function toASCII(domain: string): string; 6 | const ucs2: ucs2; 7 | interface ucs2 { 8 | decode(string: string): number[]; 9 | encode(codePoints: number[]): string; 10 | } 11 | const version: string; 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/@types/node/querystring.d.ts: -------------------------------------------------------------------------------- 1 | declare module "querystring" { 2 | interface StringifyOptions { 3 | encodeURIComponent?: (str: string) => string; 4 | } 5 | 6 | interface ParseOptions { 7 | maxKeys?: number; 8 | decodeURIComponent?: (str: string) => string; 9 | } 10 | 11 | interface ParsedUrlQuery { [key: string]: string | string[]; } 12 | 13 | interface ParsedUrlQueryInput { 14 | [key: string]: 15 | // The value type here is a "poor man's `unknown`". When these types support TypeScript 16 | // 3.0+, we can replace this with `unknown`. 17 | {} | null | undefined; 18 | } 19 | 20 | function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string; 21 | function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery; 22 | /** 23 | * The querystring.encode() function is an alias for querystring.stringify(). 24 | */ 25 | const encode: typeof stringify; 26 | /** 27 | * The querystring.decode() function is an alias for querystring.parse(). 28 | */ 29 | const decode: typeof parse; 30 | function escape(str: string): string; 31 | function unescape(str: string): string; 32 | } 33 | -------------------------------------------------------------------------------- /node_modules/@types/node/string_decoder.d.ts: -------------------------------------------------------------------------------- 1 | declare module "string_decoder" { 2 | class StringDecoder { 3 | constructor(encoding?: string); 4 | write(buffer: Buffer): string; 5 | end(buffer?: Buffer): string; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@types/node/timers.d.ts: -------------------------------------------------------------------------------- 1 | declare module "timers" { 2 | function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; 3 | namespace setTimeout { 4 | function __promisify__(ms: number): Promise; 5 | function __promisify__(ms: number, value: T): Promise; 6 | } 7 | function clearTimeout(timeoutId: NodeJS.Timeout): void; 8 | function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; 9 | function clearInterval(intervalId: NodeJS.Timeout): void; 10 | function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate; 11 | namespace setImmediate { 12 | function __promisify__(): Promise; 13 | function __promisify__(value: T): Promise; 14 | } 15 | function clearImmediate(immediateId: NodeJS.Immediate): void; 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/@types/node/ts3.2/globals.d.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line:no-bad-reference 2 | /// 3 | 4 | declare namespace NodeJS { 5 | interface HRTime { 6 | bigint(): bigint; 7 | } 8 | } 9 | 10 | interface Buffer extends Uint8Array { 11 | readBigUInt64BE(offset?: number): bigint; 12 | readBigUInt64LE(offset?: number): bigint; 13 | readBigInt64BE(offset?: number): bigint; 14 | readBigInt64LE(offset?: number): bigint; 15 | writeBigInt64BE(value: bigint, offset?: number): number; 16 | writeBigInt64LE(value: bigint, offset?: number): number; 17 | writeBigUInt64BE(value: bigint, offset?: number): number; 18 | writeBigUInt64LE(value: bigint, offset?: number): number; 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/@types/node/ts3.2/index.d.ts: -------------------------------------------------------------------------------- 1 | // NOTE: These definitions support NodeJS and TypeScript 3.2. 2 | 3 | // NOTE: TypeScript version-specific augmentations can be found in the following paths: 4 | // - ~/base.d.ts - Shared definitions common to all TypeScript versions 5 | // - ~/index.d.ts - Definitions specific to TypeScript 2.1 6 | // - ~/ts3.2/index.d.ts - Definitions specific to TypeScript 3.2 7 | 8 | // Reference required types from the default lib: 9 | /// 10 | /// 11 | /// 12 | /// 13 | 14 | // Base definitions for all NodeJS modules that are not specific to any version of TypeScript: 15 | // tslint:disable-next-line:no-bad-reference 16 | /// 17 | 18 | // TypeScript 3.2-specific augmentations: 19 | /// 20 | /// 21 | -------------------------------------------------------------------------------- /node_modules/@types/node/ts3.2/util.d.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line:no-bad-reference 2 | /// 3 | 4 | declare module "util" { 5 | namespace inspect { 6 | const custom: unique symbol; 7 | } 8 | namespace promisify { 9 | const custom: unique symbol; 10 | } 11 | namespace types { 12 | function isBigInt64Array(value: any): value is BigInt64Array; 13 | function isBigUint64Array(value: any): value is BigUint64Array; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/@types/node/tty.d.ts: -------------------------------------------------------------------------------- 1 | declare module "tty" { 2 | import * as net from "net"; 3 | 4 | function isatty(fd: number): boolean; 5 | class ReadStream extends net.Socket { 6 | isRaw: boolean; 7 | setRawMode(mode: boolean): void; 8 | isTTY: boolean; 9 | } 10 | /** 11 | * -1 - to the left from cursor 12 | * 0 - the entire line 13 | * 1 - to the right from cursor 14 | */ 15 | type Direction = -1 | 0 | 1; 16 | class WriteStream extends net.Socket { 17 | addListener(event: string, listener: (...args: any[]) => void): this; 18 | addListener(event: "resize", listener: () => void): this; 19 | 20 | emit(event: string | symbol, ...args: any[]): boolean; 21 | emit(event: "resize"): boolean; 22 | 23 | on(event: string, listener: (...args: any[]) => void): this; 24 | on(event: "resize", listener: () => void): this; 25 | 26 | once(event: string, listener: (...args: any[]) => void): this; 27 | once(event: "resize", listener: () => void): this; 28 | 29 | prependListener(event: string, listener: (...args: any[]) => void): this; 30 | prependListener(event: "resize", listener: () => void): this; 31 | 32 | prependOnceListener(event: string, listener: (...args: any[]) => void): this; 33 | prependOnceListener(event: "resize", listener: () => void): this; 34 | 35 | clearLine(dir: Direction): void; 36 | clearScreenDown(): void; 37 | cursorTo(x: number, y: number): void; 38 | /** 39 | * @default `process.env` 40 | */ 41 | getColorDepth(env?: {}): number; 42 | hasColors(depth?: number): boolean; 43 | hasColors(env?: {}): boolean; 44 | hasColors(depth: number, env?: {}): boolean; 45 | getWindowSize(): [number, number]; 46 | columns: number; 47 | rows: number; 48 | isTTY: boolean; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /node_modules/@types/node/v8.d.ts: -------------------------------------------------------------------------------- 1 | declare module "v8" { 2 | import { Readable } from "stream"; 3 | 4 | interface HeapSpaceInfo { 5 | space_name: string; 6 | space_size: number; 7 | space_used_size: number; 8 | space_available_size: number; 9 | physical_space_size: number; 10 | } 11 | 12 | // ** Signifies if the --zap_code_space option is enabled or not. 1 == enabled, 0 == disabled. */ 13 | type DoesZapCodeSpaceFlag = 0 | 1; 14 | 15 | interface HeapInfo { 16 | total_heap_size: number; 17 | total_heap_size_executable: number; 18 | total_physical_size: number; 19 | total_available_size: number; 20 | used_heap_size: number; 21 | heap_size_limit: number; 22 | malloced_memory: number; 23 | peak_malloced_memory: number; 24 | does_zap_garbage: DoesZapCodeSpaceFlag; 25 | number_of_native_contexts: number; 26 | number_of_detached_contexts: number; 27 | } 28 | 29 | function getHeapStatistics(): HeapInfo; 30 | function getHeapSpaceStatistics(): HeapSpaceInfo[]; 31 | function setFlagsFromString(flags: string): void; 32 | /** 33 | * Generates a snapshot of the current V8 heap and returns a Readable 34 | * Stream that may be used to read the JSON serialized representation. 35 | * This conversation was marked as resolved by joyeecheung 36 | * This JSON stream format is intended to be used with tools such as 37 | * Chrome DevTools. The JSON schema is undocumented and specific to the 38 | * V8 engine, and may change from one version of V8 to the next. 39 | */ 40 | function getHeapSnapshot(): Readable; 41 | 42 | /** 43 | * 44 | * @param fileName The file path where the V8 heap snapshot is to be 45 | * saved. If not specified, a file name with the pattern 46 | * `'Heap-${yyyymmdd}-${hhmmss}-${pid}-${thread_id}.heapsnapshot'` will be 47 | * generated, where `{pid}` will be the PID of the Node.js process, 48 | * `{thread_id}` will be `0` when `writeHeapSnapshot()` is called from 49 | * the main Node.js thread or the id of a worker thread. 50 | */ 51 | function writeHeapSnapshot(fileName?: string): string; 52 | } 53 | -------------------------------------------------------------------------------- /node_modules/argparse/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (C) 2012 by Vitaly Puzrin 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /node_modules/argparse/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = require('./lib/argparse'); 4 | -------------------------------------------------------------------------------- /node_modules/argparse/lib/action/append.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionAppend 3 | * 4 | * This action stores a list, and appends each argument value to the list. 5 | * This is useful to allow an option to be specified multiple times. 6 | * This class inherided from [[Action]] 7 | * 8 | **/ 9 | 10 | 'use strict'; 11 | 12 | var util = require('util'); 13 | 14 | var Action = require('../action'); 15 | 16 | // Constants 17 | var c = require('../const'); 18 | 19 | /*:nodoc:* 20 | * new ActionAppend(options) 21 | * - options (object): options hash see [[Action.new]] 22 | * 23 | * Note: options.nargs should be optional for constants 24 | * and more then zero for other 25 | **/ 26 | var ActionAppend = module.exports = function ActionAppend(options) { 27 | options = options || {}; 28 | if (this.nargs <= 0) { 29 | throw new Error('nargs for append actions must be > 0; if arg ' + 30 | 'strings are not supplying the value to append, ' + 31 | 'the append const action may be more appropriate'); 32 | } 33 | if (!!this.constant && this.nargs !== c.OPTIONAL) { 34 | throw new Error('nargs must be OPTIONAL to supply const'); 35 | } 36 | Action.call(this, options); 37 | }; 38 | util.inherits(ActionAppend, Action); 39 | 40 | /*:nodoc:* 41 | * ActionAppend#call(parser, namespace, values, optionString) -> Void 42 | * - parser (ArgumentParser): current parser 43 | * - namespace (Namespace): namespace for output data 44 | * - values (Array): parsed values 45 | * - optionString (Array): input option string(not parsed) 46 | * 47 | * Call the action. Save result in namespace object 48 | **/ 49 | ActionAppend.prototype.call = function (parser, namespace, values) { 50 | var items = (namespace[this.dest] || []).slice(); 51 | items.push(values); 52 | namespace.set(this.dest, items); 53 | }; 54 | -------------------------------------------------------------------------------- /node_modules/argparse/lib/action/append/constant.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionAppendConstant 3 | * 4 | * This stores a list, and appends the value specified by 5 | * the const keyword argument to the list. 6 | * (Note that the const keyword argument defaults to null.) 7 | * The 'appendConst' action is typically useful when multiple 8 | * arguments need to store constants to the same list. 9 | * 10 | * This class inherited from [[Action]] 11 | **/ 12 | 13 | 'use strict'; 14 | 15 | var util = require('util'); 16 | 17 | var Action = require('../../action'); 18 | 19 | /*:nodoc:* 20 | * new ActionAppendConstant(options) 21 | * - options (object): options hash see [[Action.new]] 22 | * 23 | **/ 24 | var ActionAppendConstant = module.exports = function ActionAppendConstant(options) { 25 | options = options || {}; 26 | options.nargs = 0; 27 | if (typeof options.constant === 'undefined') { 28 | throw new Error('constant option is required for appendAction'); 29 | } 30 | Action.call(this, options); 31 | }; 32 | util.inherits(ActionAppendConstant, Action); 33 | 34 | /*:nodoc:* 35 | * ActionAppendConstant#call(parser, namespace, values, optionString) -> Void 36 | * - parser (ArgumentParser): current parser 37 | * - namespace (Namespace): namespace for output data 38 | * - values (Array): parsed values 39 | * - optionString (Array): input option string(not parsed) 40 | * 41 | * Call the action. Save result in namespace object 42 | **/ 43 | ActionAppendConstant.prototype.call = function (parser, namespace) { 44 | var items = [].concat(namespace[this.dest] || []); 45 | items.push(this.constant); 46 | namespace.set(this.dest, items); 47 | }; 48 | -------------------------------------------------------------------------------- /node_modules/argparse/lib/action/count.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionCount 3 | * 4 | * This counts the number of times a keyword argument occurs. 5 | * For example, this is useful for increasing verbosity levels 6 | * 7 | * This class inherided from [[Action]] 8 | * 9 | **/ 10 | 'use strict'; 11 | 12 | var util = require('util'); 13 | 14 | var Action = require('../action'); 15 | 16 | /*:nodoc:* 17 | * new ActionCount(options) 18 | * - options (object): options hash see [[Action.new]] 19 | * 20 | **/ 21 | var ActionCount = module.exports = function ActionCount(options) { 22 | options = options || {}; 23 | options.nargs = 0; 24 | 25 | Action.call(this, options); 26 | }; 27 | util.inherits(ActionCount, Action); 28 | 29 | /*:nodoc:* 30 | * ActionCount#call(parser, namespace, values, optionString) -> Void 31 | * - parser (ArgumentParser): current parser 32 | * - namespace (Namespace): namespace for output data 33 | * - values (Array): parsed values 34 | * - optionString (Array): input option string(not parsed) 35 | * 36 | * Call the action. Save result in namespace object 37 | **/ 38 | ActionCount.prototype.call = function (parser, namespace) { 39 | namespace.set(this.dest, (namespace[this.dest] || 0) + 1); 40 | }; 41 | -------------------------------------------------------------------------------- /node_modules/argparse/lib/action/help.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionHelp 3 | * 4 | * Support action for printing help 5 | * This class inherided from [[Action]] 6 | **/ 7 | 'use strict'; 8 | 9 | var util = require('util'); 10 | 11 | var Action = require('../action'); 12 | 13 | // Constants 14 | var c = require('../const'); 15 | 16 | /*:nodoc:* 17 | * new ActionHelp(options) 18 | * - options (object): options hash see [[Action.new]] 19 | * 20 | **/ 21 | var ActionHelp = module.exports = function ActionHelp(options) { 22 | options = options || {}; 23 | if (options.defaultValue !== null) { 24 | options.defaultValue = options.defaultValue; 25 | } else { 26 | options.defaultValue = c.SUPPRESS; 27 | } 28 | options.dest = (options.dest !== null ? options.dest : c.SUPPRESS); 29 | options.nargs = 0; 30 | Action.call(this, options); 31 | 32 | }; 33 | util.inherits(ActionHelp, Action); 34 | 35 | /*:nodoc:* 36 | * ActionHelp#call(parser, namespace, values, optionString) 37 | * - parser (ArgumentParser): current parser 38 | * - namespace (Namespace): namespace for output data 39 | * - values (Array): parsed values 40 | * - optionString (Array): input option string(not parsed) 41 | * 42 | * Print help and exit 43 | **/ 44 | ActionHelp.prototype.call = function (parser) { 45 | parser.printHelp(); 46 | parser.exit(); 47 | }; 48 | -------------------------------------------------------------------------------- /node_modules/argparse/lib/action/store.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionStore 3 | * 4 | * This action just stores the argument’s value. This is the default action. 5 | * 6 | * This class inherited from [[Action]] 7 | * 8 | **/ 9 | 'use strict'; 10 | 11 | var util = require('util'); 12 | 13 | var Action = require('../action'); 14 | 15 | // Constants 16 | var c = require('../const'); 17 | 18 | 19 | /*:nodoc:* 20 | * new ActionStore(options) 21 | * - options (object): options hash see [[Action.new]] 22 | * 23 | **/ 24 | var ActionStore = module.exports = function ActionStore(options) { 25 | options = options || {}; 26 | if (this.nargs <= 0) { 27 | throw new Error('nargs for store actions must be > 0; if you ' + 28 | 'have nothing to store, actions such as store ' + 29 | 'true or store const may be more appropriate'); 30 | 31 | } 32 | if (typeof this.constant !== 'undefined' && this.nargs !== c.OPTIONAL) { 33 | throw new Error('nargs must be OPTIONAL to supply const'); 34 | } 35 | Action.call(this, options); 36 | }; 37 | util.inherits(ActionStore, Action); 38 | 39 | /*:nodoc:* 40 | * ActionStore#call(parser, namespace, values, optionString) -> Void 41 | * - parser (ArgumentParser): current parser 42 | * - namespace (Namespace): namespace for output data 43 | * - values (Array): parsed values 44 | * - optionString (Array): input option string(not parsed) 45 | * 46 | * Call the action. Save result in namespace object 47 | **/ 48 | ActionStore.prototype.call = function (parser, namespace, values) { 49 | namespace.set(this.dest, values); 50 | }; 51 | -------------------------------------------------------------------------------- /node_modules/argparse/lib/action/store/constant.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionStoreConstant 3 | * 4 | * This action stores the value specified by the const keyword argument. 5 | * (Note that the const keyword argument defaults to the rather unhelpful null.) 6 | * The 'store_const' action is most commonly used with optional 7 | * arguments that specify some sort of flag. 8 | * 9 | * This class inherited from [[Action]] 10 | **/ 11 | 'use strict'; 12 | 13 | var util = require('util'); 14 | 15 | var Action = require('../../action'); 16 | 17 | /*:nodoc:* 18 | * new ActionStoreConstant(options) 19 | * - options (object): options hash see [[Action.new]] 20 | * 21 | **/ 22 | var ActionStoreConstant = module.exports = function ActionStoreConstant(options) { 23 | options = options || {}; 24 | options.nargs = 0; 25 | if (typeof options.constant === 'undefined') { 26 | throw new Error('constant option is required for storeAction'); 27 | } 28 | Action.call(this, options); 29 | }; 30 | util.inherits(ActionStoreConstant, Action); 31 | 32 | /*:nodoc:* 33 | * ActionStoreConstant#call(parser, namespace, values, optionString) -> Void 34 | * - parser (ArgumentParser): current parser 35 | * - namespace (Namespace): namespace for output data 36 | * - values (Array): parsed values 37 | * - optionString (Array): input option string(not parsed) 38 | * 39 | * Call the action. Save result in namespace object 40 | **/ 41 | ActionStoreConstant.prototype.call = function (parser, namespace) { 42 | namespace.set(this.dest, this.constant); 43 | }; 44 | -------------------------------------------------------------------------------- /node_modules/argparse/lib/action/store/false.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionStoreFalse 3 | * 4 | * This action store the values False respectively. 5 | * This is special cases of 'storeConst' 6 | * 7 | * This class inherited from [[Action]] 8 | **/ 9 | 10 | 'use strict'; 11 | 12 | var util = require('util'); 13 | 14 | var ActionStoreConstant = require('./constant'); 15 | 16 | /*:nodoc:* 17 | * new ActionStoreFalse(options) 18 | * - options (object): hash of options see [[Action.new]] 19 | * 20 | **/ 21 | var ActionStoreFalse = module.exports = function ActionStoreFalse(options) { 22 | options = options || {}; 23 | options.constant = false; 24 | options.defaultValue = options.defaultValue !== null ? options.defaultValue : true; 25 | ActionStoreConstant.call(this, options); 26 | }; 27 | util.inherits(ActionStoreFalse, ActionStoreConstant); 28 | -------------------------------------------------------------------------------- /node_modules/argparse/lib/action/store/true.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionStoreTrue 3 | * 4 | * This action store the values True respectively. 5 | * This isspecial cases of 'storeConst' 6 | * 7 | * This class inherited from [[Action]] 8 | **/ 9 | 'use strict'; 10 | 11 | var util = require('util'); 12 | 13 | var ActionStoreConstant = require('./constant'); 14 | 15 | /*:nodoc:* 16 | * new ActionStoreTrue(options) 17 | * - options (object): options hash see [[Action.new]] 18 | * 19 | **/ 20 | var ActionStoreTrue = module.exports = function ActionStoreTrue(options) { 21 | options = options || {}; 22 | options.constant = true; 23 | options.defaultValue = options.defaultValue !== null ? options.defaultValue : false; 24 | ActionStoreConstant.call(this, options); 25 | }; 26 | util.inherits(ActionStoreTrue, ActionStoreConstant); 27 | -------------------------------------------------------------------------------- /node_modules/argparse/lib/action/version.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionVersion 3 | * 4 | * Support action for printing program version 5 | * This class inherited from [[Action]] 6 | **/ 7 | 'use strict'; 8 | 9 | var util = require('util'); 10 | 11 | var Action = require('../action'); 12 | 13 | // 14 | // Constants 15 | // 16 | var c = require('../const'); 17 | 18 | /*:nodoc:* 19 | * new ActionVersion(options) 20 | * - options (object): options hash see [[Action.new]] 21 | * 22 | **/ 23 | var ActionVersion = module.exports = function ActionVersion(options) { 24 | options = options || {}; 25 | options.defaultValue = (options.defaultValue ? options.defaultValue : c.SUPPRESS); 26 | options.dest = (options.dest || c.SUPPRESS); 27 | options.nargs = 0; 28 | this.version = options.version; 29 | Action.call(this, options); 30 | }; 31 | util.inherits(ActionVersion, Action); 32 | 33 | /*:nodoc:* 34 | * ActionVersion#call(parser, namespace, values, optionString) -> Void 35 | * - parser (ArgumentParser): current parser 36 | * - namespace (Namespace): namespace for output data 37 | * - values (Array): parsed values 38 | * - optionString (Array): input option string(not parsed) 39 | * 40 | * Print version and exit 41 | **/ 42 | ActionVersion.prototype.call = function (parser) { 43 | var version = this.version || parser.version; 44 | var formatter = parser._getFormatter(); 45 | formatter.addText(version); 46 | parser.exit(0, formatter.formatHelp()); 47 | }; 48 | -------------------------------------------------------------------------------- /node_modules/argparse/lib/argparse.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports.ArgumentParser = require('./argument_parser.js'); 4 | module.exports.Namespace = require('./namespace'); 5 | module.exports.Action = require('./action'); 6 | module.exports.HelpFormatter = require('./help/formatter.js'); 7 | module.exports.Const = require('./const.js'); 8 | 9 | module.exports.ArgumentDefaultsHelpFormatter = 10 | require('./help/added_formatters.js').ArgumentDefaultsHelpFormatter; 11 | module.exports.RawDescriptionHelpFormatter = 12 | require('./help/added_formatters.js').RawDescriptionHelpFormatter; 13 | module.exports.RawTextHelpFormatter = 14 | require('./help/added_formatters.js').RawTextHelpFormatter; 15 | -------------------------------------------------------------------------------- /node_modules/argparse/lib/argument/error.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var format = require('util').format; 5 | 6 | 7 | var ERR_CODE = 'ARGError'; 8 | 9 | /*:nodoc:* 10 | * argumentError(argument, message) -> TypeError 11 | * - argument (Object): action with broken argument 12 | * - message (String): error message 13 | * 14 | * Error format helper. An error from creating or using an argument 15 | * (optional or positional). The string value of this exception 16 | * is the message, augmented with information 17 | * about the argument that caused it. 18 | * 19 | * #####Example 20 | * 21 | * var argumentErrorHelper = require('./argument/error'); 22 | * if (conflictOptionals.length > 0) { 23 | * throw argumentErrorHelper( 24 | * action, 25 | * format('Conflicting option string(s): %s', conflictOptionals.join(', ')) 26 | * ); 27 | * } 28 | * 29 | **/ 30 | module.exports = function (argument, message) { 31 | var argumentName = null; 32 | var errMessage; 33 | var err; 34 | 35 | if (argument.getName) { 36 | argumentName = argument.getName(); 37 | } else { 38 | argumentName = '' + argument; 39 | } 40 | 41 | if (!argumentName) { 42 | errMessage = message; 43 | } else { 44 | errMessage = format('argument "%s": %s', argumentName, message); 45 | } 46 | 47 | err = new TypeError(errMessage); 48 | err.code = ERR_CODE; 49 | return err; 50 | }; 51 | -------------------------------------------------------------------------------- /node_modules/argparse/lib/argument/exclusive.js: -------------------------------------------------------------------------------- 1 | /** internal 2 | * class MutuallyExclusiveGroup 3 | * 4 | * Group arguments. 5 | * By default, ArgumentParser groups command-line arguments 6 | * into “positional arguments” and “optional arguments” 7 | * when displaying help messages. When there is a better 8 | * conceptual grouping of arguments than this default one, 9 | * appropriate groups can be created using the addArgumentGroup() method 10 | * 11 | * This class inherited from [[ArgumentContainer]] 12 | **/ 13 | 'use strict'; 14 | 15 | var util = require('util'); 16 | 17 | var ArgumentGroup = require('./group'); 18 | 19 | /** 20 | * new MutuallyExclusiveGroup(container, options) 21 | * - container (object): main container 22 | * - options (object): options.required -> true/false 23 | * 24 | * `required` could be an argument itself, but making it a property of 25 | * the options argument is more consistent with the JS adaptation of the Python) 26 | **/ 27 | var MutuallyExclusiveGroup = module.exports = function MutuallyExclusiveGroup(container, options) { 28 | var required; 29 | options = options || {}; 30 | required = options.required || false; 31 | ArgumentGroup.call(this, container); 32 | this.required = required; 33 | 34 | }; 35 | util.inherits(MutuallyExclusiveGroup, ArgumentGroup); 36 | 37 | 38 | MutuallyExclusiveGroup.prototype._addAction = function (action) { 39 | var msg; 40 | if (action.required) { 41 | msg = 'mutually exclusive arguments must be optional'; 42 | throw new Error(msg); 43 | } 44 | action = this._container._addAction(action); 45 | this._groupActions.push(action); 46 | return action; 47 | }; 48 | 49 | 50 | MutuallyExclusiveGroup.prototype._removeAction = function (action) { 51 | this._container._removeAction(action); 52 | this._groupActions.remove(action); 53 | }; 54 | 55 | -------------------------------------------------------------------------------- /node_modules/argparse/lib/const.js: -------------------------------------------------------------------------------- 1 | // 2 | // Constants 3 | // 4 | 5 | 'use strict'; 6 | 7 | module.exports.EOL = '\n'; 8 | 9 | module.exports.SUPPRESS = '==SUPPRESS=='; 10 | 11 | module.exports.OPTIONAL = '?'; 12 | 13 | module.exports.ZERO_OR_MORE = '*'; 14 | 15 | module.exports.ONE_OR_MORE = '+'; 16 | 17 | module.exports.PARSER = 'A...'; 18 | 19 | module.exports.REMAINDER = '...'; 20 | 21 | module.exports._UNRECOGNIZED_ARGS_ATTR = '_unrecognized_args'; 22 | -------------------------------------------------------------------------------- /node_modules/argparse/lib/namespace.js: -------------------------------------------------------------------------------- 1 | /** 2 | * class Namespace 3 | * 4 | * Simple object for storing attributes. Implements equality by attribute names 5 | * and values, and provides a simple string representation. 6 | * 7 | * See also [original guide][1] 8 | * 9 | * [1]:http://docs.python.org/dev/library/argparse.html#the-namespace-object 10 | **/ 11 | 'use strict'; 12 | 13 | var $$ = require('./utils'); 14 | 15 | /** 16 | * new Namespace(options) 17 | * - options(object): predefined propertis for result object 18 | * 19 | **/ 20 | var Namespace = module.exports = function Namespace(options) { 21 | $$.extend(this, options); 22 | }; 23 | 24 | /** 25 | * Namespace#isset(key) -> Boolean 26 | * - key (string|number): property name 27 | * 28 | * Tells whenever `namespace` contains given `key` or not. 29 | **/ 30 | Namespace.prototype.isset = function (key) { 31 | return $$.has(this, key); 32 | }; 33 | 34 | /** 35 | * Namespace#set(key, value) -> self 36 | * -key (string|number|object): propery name 37 | * -value (mixed): new property value 38 | * 39 | * Set the property named key with value. 40 | * If key object then set all key properties to namespace object 41 | **/ 42 | Namespace.prototype.set = function (key, value) { 43 | if (typeof (key) === 'object') { 44 | $$.extend(this, key); 45 | } else { 46 | this[key] = value; 47 | } 48 | return this; 49 | }; 50 | 51 | /** 52 | * Namespace#get(key, defaultValue) -> mixed 53 | * - key (string|number): property name 54 | * - defaultValue (mixed): default value 55 | * 56 | * Return the property key or defaulValue if not set 57 | **/ 58 | Namespace.prototype.get = function (key, defaultValue) { 59 | return !this[key] ? defaultValue : this[key]; 60 | }; 61 | 62 | /** 63 | * Namespace#unset(key, defaultValue) -> mixed 64 | * - key (string|number): property name 65 | * - defaultValue (mixed): default value 66 | * 67 | * Return data[key](and delete it) or defaultValue 68 | **/ 69 | Namespace.prototype.unset = function (key, defaultValue) { 70 | var value = this[key]; 71 | if (value !== null) { 72 | delete this[key]; 73 | return value; 74 | } 75 | return defaultValue; 76 | }; 77 | -------------------------------------------------------------------------------- /node_modules/argparse/lib/utils.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.repeat = function (str, num) { 4 | var result = ''; 5 | for (var i = 0; i < num; i++) { result += str; } 6 | return result; 7 | }; 8 | 9 | exports.arrayEqual = function (a, b) { 10 | if (a.length !== b.length) { return false; } 11 | for (var i = 0; i < a.length; i++) { 12 | if (a[i] !== b[i]) { return false; } 13 | } 14 | return true; 15 | }; 16 | 17 | exports.trimChars = function (str, chars) { 18 | var start = 0; 19 | var end = str.length - 1; 20 | while (chars.indexOf(str.charAt(start)) >= 0) { start++; } 21 | while (chars.indexOf(str.charAt(end)) >= 0) { end--; } 22 | return str.slice(start, end + 1); 23 | }; 24 | 25 | exports.capitalize = function (str) { 26 | return str.charAt(0).toUpperCase() + str.slice(1); 27 | }; 28 | 29 | exports.arrayUnion = function () { 30 | var result = []; 31 | for (var i = 0, values = {}; i < arguments.length; i++) { 32 | var arr = arguments[i]; 33 | for (var j = 0; j < arr.length; j++) { 34 | if (!values[arr[j]]) { 35 | values[arr[j]] = true; 36 | result.push(arr[j]); 37 | } 38 | } 39 | } 40 | return result; 41 | }; 42 | 43 | function has(obj, key) { 44 | return Object.prototype.hasOwnProperty.call(obj, key); 45 | } 46 | 47 | exports.has = has; 48 | 49 | exports.extend = function (dest, src) { 50 | for (var i in src) { 51 | if (has(src, i)) { dest[i] = src[i]; } 52 | } 53 | }; 54 | 55 | exports.trimEnd = function (str) { 56 | return str.replace(/\s+$/g, ''); 57 | }; 58 | -------------------------------------------------------------------------------- /node_modules/argparse/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "_from": "argparse@^1.0.7", 3 | "_id": "argparse@1.0.10", 4 | "_inBundle": false, 5 | "_integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", 6 | "_location": "/argparse", 7 | "_phantomChildren": {}, 8 | "_requested": { 9 | "type": "range", 10 | "registry": true, 11 | "raw": "argparse@^1.0.7", 12 | "name": "argparse", 13 | "escapedName": "argparse", 14 | "rawSpec": "^1.0.7", 15 | "saveSpec": null, 16 | "fetchSpec": "^1.0.7" 17 | }, 18 | "_requiredBy": [ 19 | "/js-yaml" 20 | ], 21 | "_resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", 22 | "_shasum": "bcd6791ea5ae09725e17e5ad988134cd40b3d911", 23 | "_spec": "argparse@^1.0.7", 24 | "_where": "E:\\actions\\azure\\actions\\node_modules\\js-yaml", 25 | "bugs": { 26 | "url": "https://github.com/nodeca/argparse/issues" 27 | }, 28 | "bundleDependencies": false, 29 | "contributors": [ 30 | { 31 | "name": "Eugene Shkuropat" 32 | }, 33 | { 34 | "name": "Paul Jacobson" 35 | } 36 | ], 37 | "dependencies": { 38 | "sprintf-js": "~1.0.2" 39 | }, 40 | "deprecated": false, 41 | "description": "Very powerful CLI arguments parser. Native port of argparse - python's options parsing library", 42 | "devDependencies": { 43 | "eslint": "^2.13.1", 44 | "istanbul": "^0.4.5", 45 | "mocha": "^3.1.0", 46 | "ndoc": "^5.0.1" 47 | }, 48 | "files": [ 49 | "index.js", 50 | "lib/" 51 | ], 52 | "homepage": "https://github.com/nodeca/argparse#readme", 53 | "keywords": [ 54 | "cli", 55 | "parser", 56 | "argparse", 57 | "option", 58 | "args" 59 | ], 60 | "license": "MIT", 61 | "name": "argparse", 62 | "repository": { 63 | "type": "git", 64 | "url": "git+https://github.com/nodeca/argparse.git" 65 | }, 66 | "scripts": { 67 | "test": "make test" 68 | }, 69 | "version": "1.0.10" 70 | } 71 | -------------------------------------------------------------------------------- /node_modules/esprima/LICENSE.BSD: -------------------------------------------------------------------------------- 1 | Copyright JS Foundation and other contributors, https://js.foundation/ 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are met: 5 | 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in the 10 | documentation and/or other materials provided with the distribution. 11 | 12 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 16 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 17 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 18 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 19 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 20 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 21 | THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (C) 2011-2015 by Vitaly Puzrin 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var yaml = require('./lib/js-yaml.js'); 5 | 6 | 7 | module.exports = yaml; 8 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var loader = require('./js-yaml/loader'); 5 | var dumper = require('./js-yaml/dumper'); 6 | 7 | 8 | function deprecated(name) { 9 | return function () { 10 | throw new Error('Function ' + name + ' is deprecated and cannot be used.'); 11 | }; 12 | } 13 | 14 | 15 | module.exports.Type = require('./js-yaml/type'); 16 | module.exports.Schema = require('./js-yaml/schema'); 17 | module.exports.FAILSAFE_SCHEMA = require('./js-yaml/schema/failsafe'); 18 | module.exports.JSON_SCHEMA = require('./js-yaml/schema/json'); 19 | module.exports.CORE_SCHEMA = require('./js-yaml/schema/core'); 20 | module.exports.DEFAULT_SAFE_SCHEMA = require('./js-yaml/schema/default_safe'); 21 | module.exports.DEFAULT_FULL_SCHEMA = require('./js-yaml/schema/default_full'); 22 | module.exports.load = loader.load; 23 | module.exports.loadAll = loader.loadAll; 24 | module.exports.safeLoad = loader.safeLoad; 25 | module.exports.safeLoadAll = loader.safeLoadAll; 26 | module.exports.dump = dumper.dump; 27 | module.exports.safeDump = dumper.safeDump; 28 | module.exports.YAMLException = require('./js-yaml/exception'); 29 | 30 | // Deprecated schema names from JS-YAML 2.0.x 31 | module.exports.MINIMAL_SCHEMA = require('./js-yaml/schema/failsafe'); 32 | module.exports.SAFE_SCHEMA = require('./js-yaml/schema/default_safe'); 33 | module.exports.DEFAULT_SCHEMA = require('./js-yaml/schema/default_full'); 34 | 35 | // Deprecated functions from JS-YAML 1.x.x 36 | module.exports.scan = deprecated('scan'); 37 | module.exports.parse = deprecated('parse'); 38 | module.exports.compose = deprecated('compose'); 39 | module.exports.addConstructor = deprecated('addConstructor'); 40 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/common.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | function isNothing(subject) { 5 | return (typeof subject === 'undefined') || (subject === null); 6 | } 7 | 8 | 9 | function isObject(subject) { 10 | return (typeof subject === 'object') && (subject !== null); 11 | } 12 | 13 | 14 | function toArray(sequence) { 15 | if (Array.isArray(sequence)) return sequence; 16 | else if (isNothing(sequence)) return []; 17 | 18 | return [ sequence ]; 19 | } 20 | 21 | 22 | function extend(target, source) { 23 | var index, length, key, sourceKeys; 24 | 25 | if (source) { 26 | sourceKeys = Object.keys(source); 27 | 28 | for (index = 0, length = sourceKeys.length; index < length; index += 1) { 29 | key = sourceKeys[index]; 30 | target[key] = source[key]; 31 | } 32 | } 33 | 34 | return target; 35 | } 36 | 37 | 38 | function repeat(string, count) { 39 | var result = '', cycle; 40 | 41 | for (cycle = 0; cycle < count; cycle += 1) { 42 | result += string; 43 | } 44 | 45 | return result; 46 | } 47 | 48 | 49 | function isNegativeZero(number) { 50 | return (number === 0) && (Number.NEGATIVE_INFINITY === 1 / number); 51 | } 52 | 53 | 54 | module.exports.isNothing = isNothing; 55 | module.exports.isObject = isObject; 56 | module.exports.toArray = toArray; 57 | module.exports.repeat = repeat; 58 | module.exports.isNegativeZero = isNegativeZero; 59 | module.exports.extend = extend; 60 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/exception.js: -------------------------------------------------------------------------------- 1 | // YAML error class. http://stackoverflow.com/questions/8458984 2 | // 3 | 'use strict'; 4 | 5 | function YAMLException(reason, mark) { 6 | // Super constructor 7 | Error.call(this); 8 | 9 | this.name = 'YAMLException'; 10 | this.reason = reason; 11 | this.mark = mark; 12 | this.message = (this.reason || '(unknown reason)') + (this.mark ? ' ' + this.mark.toString() : ''); 13 | 14 | // Include stack trace in error object 15 | if (Error.captureStackTrace) { 16 | // Chrome and NodeJS 17 | Error.captureStackTrace(this, this.constructor); 18 | } else { 19 | // FF, IE 10+ and Safari 6+. Fallback for others 20 | this.stack = (new Error()).stack || ''; 21 | } 22 | } 23 | 24 | 25 | // Inherit from Error 26 | YAMLException.prototype = Object.create(Error.prototype); 27 | YAMLException.prototype.constructor = YAMLException; 28 | 29 | 30 | YAMLException.prototype.toString = function toString(compact) { 31 | var result = this.name + ': '; 32 | 33 | result += this.reason || '(unknown reason)'; 34 | 35 | if (!compact && this.mark) { 36 | result += ' ' + this.mark.toString(); 37 | } 38 | 39 | return result; 40 | }; 41 | 42 | 43 | module.exports = YAMLException; 44 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/mark.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var common = require('./common'); 5 | 6 | 7 | function Mark(name, buffer, position, line, column) { 8 | this.name = name; 9 | this.buffer = buffer; 10 | this.position = position; 11 | this.line = line; 12 | this.column = column; 13 | } 14 | 15 | 16 | Mark.prototype.getSnippet = function getSnippet(indent, maxLength) { 17 | var head, start, tail, end, snippet; 18 | 19 | if (!this.buffer) return null; 20 | 21 | indent = indent || 4; 22 | maxLength = maxLength || 75; 23 | 24 | head = ''; 25 | start = this.position; 26 | 27 | while (start > 0 && '\x00\r\n\x85\u2028\u2029'.indexOf(this.buffer.charAt(start - 1)) === -1) { 28 | start -= 1; 29 | if (this.position - start > (maxLength / 2 - 1)) { 30 | head = ' ... '; 31 | start += 5; 32 | break; 33 | } 34 | } 35 | 36 | tail = ''; 37 | end = this.position; 38 | 39 | while (end < this.buffer.length && '\x00\r\n\x85\u2028\u2029'.indexOf(this.buffer.charAt(end)) === -1) { 40 | end += 1; 41 | if (end - this.position > (maxLength / 2 - 1)) { 42 | tail = ' ... '; 43 | end -= 5; 44 | break; 45 | } 46 | } 47 | 48 | snippet = this.buffer.slice(start, end); 49 | 50 | return common.repeat(' ', indent) + head + snippet + tail + '\n' + 51 | common.repeat(' ', indent + this.position - start + head.length) + '^'; 52 | }; 53 | 54 | 55 | Mark.prototype.toString = function toString(compact) { 56 | var snippet, where = ''; 57 | 58 | if (this.name) { 59 | where += 'in "' + this.name + '" '; 60 | } 61 | 62 | where += 'at line ' + (this.line + 1) + ', column ' + (this.column + 1); 63 | 64 | if (!compact) { 65 | snippet = this.getSnippet(); 66 | 67 | if (snippet) { 68 | where += ':\n' + snippet; 69 | } 70 | } 71 | 72 | return where; 73 | }; 74 | 75 | 76 | module.exports = Mark; 77 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/schema/core.js: -------------------------------------------------------------------------------- 1 | // Standard YAML's Core schema. 2 | // http://www.yaml.org/spec/1.2/spec.html#id2804923 3 | // 4 | // NOTE: JS-YAML does not support schema-specific tag resolution restrictions. 5 | // So, Core schema has no distinctions from JSON schema is JS-YAML. 6 | 7 | 8 | 'use strict'; 9 | 10 | 11 | var Schema = require('../schema'); 12 | 13 | 14 | module.exports = new Schema({ 15 | include: [ 16 | require('./json') 17 | ] 18 | }); 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/schema/default_full.js: -------------------------------------------------------------------------------- 1 | // JS-YAML's default schema for `load` function. 2 | // It is not described in the YAML specification. 3 | // 4 | // This schema is based on JS-YAML's default safe schema and includes 5 | // JavaScript-specific types: !!js/undefined, !!js/regexp and !!js/function. 6 | // 7 | // Also this schema is used as default base schema at `Schema.create` function. 8 | 9 | 10 | 'use strict'; 11 | 12 | 13 | var Schema = require('../schema'); 14 | 15 | 16 | module.exports = Schema.DEFAULT = new Schema({ 17 | include: [ 18 | require('./default_safe') 19 | ], 20 | explicit: [ 21 | require('../type/js/undefined'), 22 | require('../type/js/regexp'), 23 | require('../type/js/function') 24 | ] 25 | }); 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/schema/default_safe.js: -------------------------------------------------------------------------------- 1 | // JS-YAML's default schema for `safeLoad` function. 2 | // It is not described in the YAML specification. 3 | // 4 | // This schema is based on standard YAML's Core schema and includes most of 5 | // extra types described at YAML tag repository. (http://yaml.org/type/) 6 | 7 | 8 | 'use strict'; 9 | 10 | 11 | var Schema = require('../schema'); 12 | 13 | 14 | module.exports = new Schema({ 15 | include: [ 16 | require('./core') 17 | ], 18 | implicit: [ 19 | require('../type/timestamp'), 20 | require('../type/merge') 21 | ], 22 | explicit: [ 23 | require('../type/binary'), 24 | require('../type/omap'), 25 | require('../type/pairs'), 26 | require('../type/set') 27 | ] 28 | }); 29 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/schema/failsafe.js: -------------------------------------------------------------------------------- 1 | // Standard YAML's Failsafe schema. 2 | // http://www.yaml.org/spec/1.2/spec.html#id2802346 3 | 4 | 5 | 'use strict'; 6 | 7 | 8 | var Schema = require('../schema'); 9 | 10 | 11 | module.exports = new Schema({ 12 | explicit: [ 13 | require('../type/str'), 14 | require('../type/seq'), 15 | require('../type/map') 16 | ] 17 | }); 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/schema/json.js: -------------------------------------------------------------------------------- 1 | // Standard YAML's JSON schema. 2 | // http://www.yaml.org/spec/1.2/spec.html#id2803231 3 | // 4 | // NOTE: JS-YAML does not support schema-specific tag resolution restrictions. 5 | // So, this schema is not such strict as defined in the YAML specification. 6 | // It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc. 7 | 8 | 9 | 'use strict'; 10 | 11 | 12 | var Schema = require('../schema'); 13 | 14 | 15 | module.exports = new Schema({ 16 | include: [ 17 | require('./failsafe') 18 | ], 19 | implicit: [ 20 | require('../type/null'), 21 | require('../type/bool'), 22 | require('../type/int'), 23 | require('../type/float') 24 | ] 25 | }); 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var YAMLException = require('./exception'); 4 | 5 | var TYPE_CONSTRUCTOR_OPTIONS = [ 6 | 'kind', 7 | 'resolve', 8 | 'construct', 9 | 'instanceOf', 10 | 'predicate', 11 | 'represent', 12 | 'defaultStyle', 13 | 'styleAliases' 14 | ]; 15 | 16 | var YAML_NODE_KINDS = [ 17 | 'scalar', 18 | 'sequence', 19 | 'mapping' 20 | ]; 21 | 22 | function compileStyleAliases(map) { 23 | var result = {}; 24 | 25 | if (map !== null) { 26 | Object.keys(map).forEach(function (style) { 27 | map[style].forEach(function (alias) { 28 | result[String(alias)] = style; 29 | }); 30 | }); 31 | } 32 | 33 | return result; 34 | } 35 | 36 | function Type(tag, options) { 37 | options = options || {}; 38 | 39 | Object.keys(options).forEach(function (name) { 40 | if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) { 41 | throw new YAMLException('Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.'); 42 | } 43 | }); 44 | 45 | // TODO: Add tag format check. 46 | this.tag = tag; 47 | this.kind = options['kind'] || null; 48 | this.resolve = options['resolve'] || function () { return true; }; 49 | this.construct = options['construct'] || function (data) { return data; }; 50 | this.instanceOf = options['instanceOf'] || null; 51 | this.predicate = options['predicate'] || null; 52 | this.represent = options['represent'] || null; 53 | this.defaultStyle = options['defaultStyle'] || null; 54 | this.styleAliases = compileStyleAliases(options['styleAliases'] || null); 55 | 56 | if (YAML_NODE_KINDS.indexOf(this.kind) === -1) { 57 | throw new YAMLException('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.'); 58 | } 59 | } 60 | 61 | module.exports = Type; 62 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/bool.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | function resolveYamlBoolean(data) { 6 | if (data === null) return false; 7 | 8 | var max = data.length; 9 | 10 | return (max === 4 && (data === 'true' || data === 'True' || data === 'TRUE')) || 11 | (max === 5 && (data === 'false' || data === 'False' || data === 'FALSE')); 12 | } 13 | 14 | function constructYamlBoolean(data) { 15 | return data === 'true' || 16 | data === 'True' || 17 | data === 'TRUE'; 18 | } 19 | 20 | function isBoolean(object) { 21 | return Object.prototype.toString.call(object) === '[object Boolean]'; 22 | } 23 | 24 | module.exports = new Type('tag:yaml.org,2002:bool', { 25 | kind: 'scalar', 26 | resolve: resolveYamlBoolean, 27 | construct: constructYamlBoolean, 28 | predicate: isBoolean, 29 | represent: { 30 | lowercase: function (object) { return object ? 'true' : 'false'; }, 31 | uppercase: function (object) { return object ? 'TRUE' : 'FALSE'; }, 32 | camelcase: function (object) { return object ? 'True' : 'False'; } 33 | }, 34 | defaultStyle: 'lowercase' 35 | }); 36 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/js/regexp.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../../type'); 4 | 5 | function resolveJavascriptRegExp(data) { 6 | if (data === null) return false; 7 | if (data.length === 0) return false; 8 | 9 | var regexp = data, 10 | tail = /\/([gim]*)$/.exec(data), 11 | modifiers = ''; 12 | 13 | // if regexp starts with '/' it can have modifiers and must be properly closed 14 | // `/foo/gim` - modifiers tail can be maximum 3 chars 15 | if (regexp[0] === '/') { 16 | if (tail) modifiers = tail[1]; 17 | 18 | if (modifiers.length > 3) return false; 19 | // if expression starts with /, is should be properly terminated 20 | if (regexp[regexp.length - modifiers.length - 1] !== '/') return false; 21 | } 22 | 23 | return true; 24 | } 25 | 26 | function constructJavascriptRegExp(data) { 27 | var regexp = data, 28 | tail = /\/([gim]*)$/.exec(data), 29 | modifiers = ''; 30 | 31 | // `/foo/gim` - tail can be maximum 4 chars 32 | if (regexp[0] === '/') { 33 | if (tail) modifiers = tail[1]; 34 | regexp = regexp.slice(1, regexp.length - modifiers.length - 1); 35 | } 36 | 37 | return new RegExp(regexp, modifiers); 38 | } 39 | 40 | function representJavascriptRegExp(object /*, style*/) { 41 | var result = '/' + object.source + '/'; 42 | 43 | if (object.global) result += 'g'; 44 | if (object.multiline) result += 'm'; 45 | if (object.ignoreCase) result += 'i'; 46 | 47 | return result; 48 | } 49 | 50 | function isRegExp(object) { 51 | return Object.prototype.toString.call(object) === '[object RegExp]'; 52 | } 53 | 54 | module.exports = new Type('tag:yaml.org,2002:js/regexp', { 55 | kind: 'scalar', 56 | resolve: resolveJavascriptRegExp, 57 | construct: constructJavascriptRegExp, 58 | predicate: isRegExp, 59 | represent: representJavascriptRegExp 60 | }); 61 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/js/undefined.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../../type'); 4 | 5 | function resolveJavascriptUndefined() { 6 | return true; 7 | } 8 | 9 | function constructJavascriptUndefined() { 10 | /*eslint-disable no-undefined*/ 11 | return undefined; 12 | } 13 | 14 | function representJavascriptUndefined() { 15 | return ''; 16 | } 17 | 18 | function isUndefined(object) { 19 | return typeof object === 'undefined'; 20 | } 21 | 22 | module.exports = new Type('tag:yaml.org,2002:js/undefined', { 23 | kind: 'scalar', 24 | resolve: resolveJavascriptUndefined, 25 | construct: constructJavascriptUndefined, 26 | predicate: isUndefined, 27 | represent: representJavascriptUndefined 28 | }); 29 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/map.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | module.exports = new Type('tag:yaml.org,2002:map', { 6 | kind: 'mapping', 7 | construct: function (data) { return data !== null ? data : {}; } 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/merge.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | function resolveYamlMerge(data) { 6 | return data === '<<' || data === null; 7 | } 8 | 9 | module.exports = new Type('tag:yaml.org,2002:merge', { 10 | kind: 'scalar', 11 | resolve: resolveYamlMerge 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/null.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | function resolveYamlNull(data) { 6 | if (data === null) return true; 7 | 8 | var max = data.length; 9 | 10 | return (max === 1 && data === '~') || 11 | (max === 4 && (data === 'null' || data === 'Null' || data === 'NULL')); 12 | } 13 | 14 | function constructYamlNull() { 15 | return null; 16 | } 17 | 18 | function isNull(object) { 19 | return object === null; 20 | } 21 | 22 | module.exports = new Type('tag:yaml.org,2002:null', { 23 | kind: 'scalar', 24 | resolve: resolveYamlNull, 25 | construct: constructYamlNull, 26 | predicate: isNull, 27 | represent: { 28 | canonical: function () { return '~'; }, 29 | lowercase: function () { return 'null'; }, 30 | uppercase: function () { return 'NULL'; }, 31 | camelcase: function () { return 'Null'; } 32 | }, 33 | defaultStyle: 'lowercase' 34 | }); 35 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/omap.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | var _hasOwnProperty = Object.prototype.hasOwnProperty; 6 | var _toString = Object.prototype.toString; 7 | 8 | function resolveYamlOmap(data) { 9 | if (data === null) return true; 10 | 11 | var objectKeys = [], index, length, pair, pairKey, pairHasKey, 12 | object = data; 13 | 14 | for (index = 0, length = object.length; index < length; index += 1) { 15 | pair = object[index]; 16 | pairHasKey = false; 17 | 18 | if (_toString.call(pair) !== '[object Object]') return false; 19 | 20 | for (pairKey in pair) { 21 | if (_hasOwnProperty.call(pair, pairKey)) { 22 | if (!pairHasKey) pairHasKey = true; 23 | else return false; 24 | } 25 | } 26 | 27 | if (!pairHasKey) return false; 28 | 29 | if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey); 30 | else return false; 31 | } 32 | 33 | return true; 34 | } 35 | 36 | function constructYamlOmap(data) { 37 | return data !== null ? data : []; 38 | } 39 | 40 | module.exports = new Type('tag:yaml.org,2002:omap', { 41 | kind: 'sequence', 42 | resolve: resolveYamlOmap, 43 | construct: constructYamlOmap 44 | }); 45 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/pairs.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | var _toString = Object.prototype.toString; 6 | 7 | function resolveYamlPairs(data) { 8 | if (data === null) return true; 9 | 10 | var index, length, pair, keys, result, 11 | object = data; 12 | 13 | result = new Array(object.length); 14 | 15 | for (index = 0, length = object.length; index < length; index += 1) { 16 | pair = object[index]; 17 | 18 | if (_toString.call(pair) !== '[object Object]') return false; 19 | 20 | keys = Object.keys(pair); 21 | 22 | if (keys.length !== 1) return false; 23 | 24 | result[index] = [ keys[0], pair[keys[0]] ]; 25 | } 26 | 27 | return true; 28 | } 29 | 30 | function constructYamlPairs(data) { 31 | if (data === null) return []; 32 | 33 | var index, length, pair, keys, result, 34 | object = data; 35 | 36 | result = new Array(object.length); 37 | 38 | for (index = 0, length = object.length; index < length; index += 1) { 39 | pair = object[index]; 40 | 41 | keys = Object.keys(pair); 42 | 43 | result[index] = [ keys[0], pair[keys[0]] ]; 44 | } 45 | 46 | return result; 47 | } 48 | 49 | module.exports = new Type('tag:yaml.org,2002:pairs', { 50 | kind: 'sequence', 51 | resolve: resolveYamlPairs, 52 | construct: constructYamlPairs 53 | }); 54 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/seq.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | module.exports = new Type('tag:yaml.org,2002:seq', { 6 | kind: 'sequence', 7 | construct: function (data) { return data !== null ? data : []; } 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/set.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | var _hasOwnProperty = Object.prototype.hasOwnProperty; 6 | 7 | function resolveYamlSet(data) { 8 | if (data === null) return true; 9 | 10 | var key, object = data; 11 | 12 | for (key in object) { 13 | if (_hasOwnProperty.call(object, key)) { 14 | if (object[key] !== null) return false; 15 | } 16 | } 17 | 18 | return true; 19 | } 20 | 21 | function constructYamlSet(data) { 22 | return data !== null ? data : {}; 23 | } 24 | 25 | module.exports = new Type('tag:yaml.org,2002:set', { 26 | kind: 'mapping', 27 | resolve: resolveYamlSet, 28 | construct: constructYamlSet 29 | }); 30 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/str.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | module.exports = new Type('tag:yaml.org,2002:str', { 6 | kind: 'scalar', 7 | construct: function (data) { return data !== null ? data : ''; } 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/semver/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # changes log 2 | 3 | ## 6.0 4 | 5 | * Fix `intersects` logic. 6 | 7 | This is technically a bug fix, but since it is also a change to behavior 8 | that may require users updating their code, it is marked as a major 9 | version increment. 10 | 11 | ## 5.7 12 | 13 | * Add `minVersion` method 14 | 15 | ## 5.6 16 | 17 | * Move boolean `loose` param to an options object, with 18 | backwards-compatibility protection. 19 | * Add ability to opt out of special prerelease version handling with 20 | the `includePrerelease` option flag. 21 | 22 | ## 5.5 23 | 24 | * Add version coercion capabilities 25 | 26 | ## 5.4 27 | 28 | * Add intersection checking 29 | 30 | ## 5.3 31 | 32 | * Add `minSatisfying` method 33 | 34 | ## 5.2 35 | 36 | * Add `prerelease(v)` that returns prerelease components 37 | 38 | ## 5.1 39 | 40 | * Add Backus-Naur for ranges 41 | * Remove excessively cute inspection methods 42 | 43 | ## 5.0 44 | 45 | * Remove AMD/Browserified build artifacts 46 | * Fix ltr and gtr when using the `*` range 47 | * Fix for range `*` with a prerelease identifier 48 | -------------------------------------------------------------------------------- /node_modules/semver/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/semver/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "_from": "semver@^6.1.0", 3 | "_id": "semver@6.2.0", 4 | "_inBundle": false, 5 | "_integrity": "sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A==", 6 | "_location": "/semver", 7 | "_phantomChildren": {}, 8 | "_requested": { 9 | "type": "range", 10 | "registry": true, 11 | "raw": "semver@^6.1.0", 12 | "name": "semver", 13 | "escapedName": "semver", 14 | "rawSpec": "^6.1.0", 15 | "saveSpec": null, 16 | "fetchSpec": "^6.1.0" 17 | }, 18 | "_requiredBy": [ 19 | "/@actions/tool-cache" 20 | ], 21 | "_resolved": "https://registry.npmjs.org/semver/-/semver-6.2.0.tgz", 22 | "_shasum": "4d813d9590aaf8a9192693d6c85b9344de5901db", 23 | "_spec": "semver@^6.1.0", 24 | "_where": "E:\\actions\\azure\\actions\\action-modules\\actions-tool-cache-0.0.0.tgz", 25 | "bin": { 26 | "semver": "./bin/semver.js" 27 | }, 28 | "bugs": { 29 | "url": "https://github.com/npm/node-semver/issues" 30 | }, 31 | "bundleDependencies": false, 32 | "deprecated": false, 33 | "description": "The semantic version parser used by npm.", 34 | "devDependencies": { 35 | "tap": "^14.3.1" 36 | }, 37 | "files": [ 38 | "bin", 39 | "range.bnf", 40 | "semver.js" 41 | ], 42 | "homepage": "https://github.com/npm/node-semver#readme", 43 | "license": "ISC", 44 | "main": "semver.js", 45 | "name": "semver", 46 | "repository": { 47 | "type": "git", 48 | "url": "git+https://github.com/npm/node-semver.git" 49 | }, 50 | "scripts": { 51 | "postpublish": "git push origin --follow-tags", 52 | "postversion": "npm publish", 53 | "preversion": "npm test", 54 | "test": "tap" 55 | }, 56 | "tap": { 57 | "check-coverage": true 58 | }, 59 | "version": "6.2.0" 60 | } 61 | -------------------------------------------------------------------------------- /node_modules/semver/range.bnf: -------------------------------------------------------------------------------- 1 | range-set ::= range ( logical-or range ) * 2 | logical-or ::= ( ' ' ) * '||' ( ' ' ) * 3 | range ::= hyphen | simple ( ' ' simple ) * | '' 4 | hyphen ::= partial ' - ' partial 5 | simple ::= primitive | partial | tilde | caret 6 | primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial 7 | partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? 8 | xr ::= 'x' | 'X' | '*' | nr 9 | nr ::= '0' | [1-9] ( [0-9] ) * 10 | tilde ::= '~' partial 11 | caret ::= '^' partial 12 | qualifier ::= ( '-' pre )? ( '+' build )? 13 | pre ::= parts 14 | build ::= parts 15 | parts ::= part ( '.' part ) * 16 | part ::= nr | [-0-9A-Za-z]+ 17 | -------------------------------------------------------------------------------- /node_modules/sprintf-js/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules/ -------------------------------------------------------------------------------- /node_modules/sprintf-js/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2007-2014, Alexandru Marasteanu 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in the 10 | documentation and/or other materials provided with the distribution. 11 | * Neither the name of this software nor the names of its contributors may be 12 | used to endorse or promote products derived from this software without 13 | specific prior written permission. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18 | DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR 19 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 | -------------------------------------------------------------------------------- /node_modules/sprintf-js/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sprintf", 3 | "description": "JavaScript sprintf implementation", 4 | "version": "1.0.3", 5 | "main": "src/sprintf.js", 6 | "license": "BSD-3-Clause-Clear", 7 | "keywords": ["sprintf", "string", "formatting"], 8 | "authors": ["Alexandru Marasteanu (http://alexei.ro/)"], 9 | "homepage": "https://github.com/alexei/sprintf.js", 10 | "repository": { 11 | "type": "git", 12 | "url": "git://github.com/alexei/sprintf.js.git" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/sprintf-js/demo/angular.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
{{ "%+010d"|sprintf:-123 }}
10 |
{{ "%+010d"|vsprintf:[-123] }}
11 |
{{ "%+010d"|fmt:-123 }}
12 |
{{ "%+010d"|vfmt:[-123] }}
13 |
{{ "I've got %2$d apples and %1$d oranges."|fmt:4:2 }}
14 |
{{ "I've got %(apples)d apples and %(oranges)d oranges."|fmt:{apples: 2, oranges: 4} }}
15 | 16 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /node_modules/sprintf-js/dist/angular-sprintf.min.js: -------------------------------------------------------------------------------- 1 | /*! sprintf-js | Alexandru Marasteanu (http://alexei.ro/) | BSD-3-Clause */ 2 | 3 | angular.module("sprintf",[]).filter("sprintf",function(){return function(){return sprintf.apply(null,arguments)}}).filter("fmt",["$filter",function(a){return a("sprintf")}]).filter("vsprintf",function(){return function(a,b){return vsprintf(a,b)}}).filter("vfmt",["$filter",function(a){return a("vsprintf")}]); 4 | //# sourceMappingURL=angular-sprintf.min.map -------------------------------------------------------------------------------- /node_modules/sprintf-js/dist/angular-sprintf.min.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"angular-sprintf.min.js","sources":["../src/angular-sprintf.js"],"names":["angular","module","filter","sprintf","apply","arguments","$filter","format","argv","vsprintf"],"mappings":";;AAAAA,QACIC,OAAO,cACPC,OAAO,UAAW,WACd,MAAO,YACH,MAAOC,SAAQC,MAAM,KAAMC,cAGnCH,OAAO,OAAQ,UAAW,SAASI,GAC/B,MAAOA,GAAQ,cAEnBJ,OAAO,WAAY,WACf,MAAO,UAASK,EAAQC,GACpB,MAAOC,UAASF,EAAQC,MAGhCN,OAAO,QAAS,UAAW,SAASI,GAChC,MAAOA,GAAQ"} -------------------------------------------------------------------------------- /node_modules/sprintf-js/dist/angular-sprintf.min.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"angular-sprintf.min.js","sources":["../src/angular-sprintf.js"],"names":["angular","module","filter","sprintf","apply","arguments","$filter","format","argv","vsprintf"],"mappings":";;AAAAA,QACIC,OAAO,cACPC,OAAO,UAAW,WACd,MAAO,YACH,MAAOC,SAAQC,MAAM,KAAMC,cAGnCH,OAAO,OAAQ,UAAW,SAASI,GAC/B,MAAOA,GAAQ,cAEnBJ,OAAO,WAAY,WACf,MAAO,UAASK,EAAQC,GACpB,MAAOC,UAASF,EAAQC,MAGhCN,OAAO,QAAS,UAAW,SAASI,GAChC,MAAOA,GAAQ"} -------------------------------------------------------------------------------- /node_modules/sprintf-js/gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | grunt.initConfig({ 3 | pkg: grunt.file.readJSON("package.json"), 4 | 5 | uglify: { 6 | options: { 7 | banner: "/*! <%= pkg.name %> | <%= pkg.author %> | <%= pkg.license %> */\n", 8 | sourceMap: true 9 | }, 10 | build: { 11 | files: [ 12 | { 13 | src: "src/sprintf.js", 14 | dest: "dist/sprintf.min.js" 15 | }, 16 | { 17 | src: "src/angular-sprintf.js", 18 | dest: "dist/angular-sprintf.min.js" 19 | } 20 | ] 21 | } 22 | }, 23 | 24 | watch: { 25 | js: { 26 | files: "src/*.js", 27 | tasks: ["uglify"] 28 | } 29 | } 30 | }) 31 | 32 | grunt.loadNpmTasks("grunt-contrib-uglify") 33 | grunt.loadNpmTasks("grunt-contrib-watch") 34 | 35 | grunt.registerTask("default", ["uglify", "watch"]) 36 | } 37 | -------------------------------------------------------------------------------- /node_modules/sprintf-js/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "_from": "sprintf-js@~1.0.2", 3 | "_id": "sprintf-js@1.0.3", 4 | "_inBundle": false, 5 | "_integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", 6 | "_location": "/sprintf-js", 7 | "_phantomChildren": {}, 8 | "_requested": { 9 | "type": "range", 10 | "registry": true, 11 | "raw": "sprintf-js@~1.0.2", 12 | "name": "sprintf-js", 13 | "escapedName": "sprintf-js", 14 | "rawSpec": "~1.0.2", 15 | "saveSpec": null, 16 | "fetchSpec": "~1.0.2" 17 | }, 18 | "_requiredBy": [ 19 | "/argparse" 20 | ], 21 | "_resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", 22 | "_shasum": "04e6926f662895354f3dd015203633b857297e2c", 23 | "_spec": "sprintf-js@~1.0.2", 24 | "_where": "E:\\actions\\azure\\actions\\node_modules\\argparse", 25 | "author": { 26 | "name": "Alexandru Marasteanu", 27 | "email": "hello@alexei.ro", 28 | "url": "http://alexei.ro/" 29 | }, 30 | "bugs": { 31 | "url": "https://github.com/alexei/sprintf.js/issues" 32 | }, 33 | "bundleDependencies": false, 34 | "deprecated": false, 35 | "description": "JavaScript sprintf implementation", 36 | "devDependencies": { 37 | "grunt": "*", 38 | "grunt-contrib-uglify": "*", 39 | "grunt-contrib-watch": "*", 40 | "mocha": "*" 41 | }, 42 | "homepage": "https://github.com/alexei/sprintf.js#readme", 43 | "license": "BSD-3-Clause", 44 | "main": "src/sprintf.js", 45 | "name": "sprintf-js", 46 | "repository": { 47 | "type": "git", 48 | "url": "git+https://github.com/alexei/sprintf.js.git" 49 | }, 50 | "scripts": { 51 | "test": "mocha test/test.js" 52 | }, 53 | "version": "1.0.3" 54 | } 55 | -------------------------------------------------------------------------------- /node_modules/sprintf-js/src/angular-sprintf.js: -------------------------------------------------------------------------------- 1 | angular. 2 | module("sprintf", []). 3 | filter("sprintf", function() { 4 | return function() { 5 | return sprintf.apply(null, arguments) 6 | } 7 | }). 8 | filter("fmt", ["$filter", function($filter) { 9 | return $filter("sprintf") 10 | }]). 11 | filter("vsprintf", function() { 12 | return function(format, argv) { 13 | return vsprintf(format, argv) 14 | } 15 | }). 16 | filter("vfmt", ["$filter", function($filter) { 17 | return $filter("vsprintf") 18 | }]) 19 | -------------------------------------------------------------------------------- /node_modules/tunnel/.npmignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | /node_modules 3 | -------------------------------------------------------------------------------- /node_modules/tunnel/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | - 0.0.4 (2016/01/23) 4 | - supported Node v0.12 or later. 5 | 6 | - 0.0.3 (2014/01/20) 7 | - fixed package.json 8 | 9 | - 0.0.1 (2012/02/18) 10 | - supported Node v0.6.x (0.6.11 or later). 11 | 12 | - 0.0.0 (2012/02/11) 13 | - first release. 14 | -------------------------------------------------------------------------------- /node_modules/tunnel/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2012 Koichi Kobayashi 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /node_modules/tunnel/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/tunnel'); 2 | -------------------------------------------------------------------------------- /node_modules/tunnel/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "_from": "tunnel@0.0.4", 3 | "_id": "tunnel@0.0.4", 4 | "_inBundle": false, 5 | "_integrity": "sha1-LTeFoVjBdMmhbcLARuxfxfF0IhM=", 6 | "_location": "/tunnel", 7 | "_phantomChildren": {}, 8 | "_requested": { 9 | "type": "version", 10 | "registry": true, 11 | "raw": "tunnel@0.0.4", 12 | "name": "tunnel", 13 | "escapedName": "tunnel", 14 | "rawSpec": "0.0.4", 15 | "saveSpec": null, 16 | "fetchSpec": "0.0.4" 17 | }, 18 | "_requiredBy": [ 19 | "/typed-rest-client" 20 | ], 21 | "_resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.4.tgz", 22 | "_shasum": "2d3785a158c174c9a16dc2c046ec5fc5f1742213", 23 | "_spec": "tunnel@0.0.4", 24 | "_where": "E:\\actions\\azure\\actions\\node_modules\\typed-rest-client", 25 | "author": { 26 | "name": "Koichi Kobayashi", 27 | "email": "koichik@improvement.jp" 28 | }, 29 | "bugs": { 30 | "url": "https://github.com/koichik/node-tunnel/issues" 31 | }, 32 | "bundleDependencies": false, 33 | "deprecated": false, 34 | "description": "Node HTTP/HTTPS Agents for tunneling proxies", 35 | "devDependencies": { 36 | "mocha": "*", 37 | "should": "*" 38 | }, 39 | "directories": { 40 | "lib": "./lib" 41 | }, 42 | "engines": { 43 | "node": ">=0.6.11 <=0.7.0 || >=0.7.3" 44 | }, 45 | "homepage": "https://github.com/koichik/node-tunnel/", 46 | "keywords": [ 47 | "http", 48 | "https", 49 | "agent", 50 | "proxy", 51 | "tunnel" 52 | ], 53 | "license": "MIT", 54 | "main": "./index.js", 55 | "name": "tunnel", 56 | "repository": { 57 | "type": "git", 58 | "url": "git+https://github.com/koichik/node-tunnel.git" 59 | }, 60 | "scripts": { 61 | "test": "./node_modules/mocha/bin/mocha" 62 | }, 63 | "version": "0.0.4" 64 | } 65 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent1-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICKjCCAZMCCQDQ8o4kHKdCPDANBgkqhkiG9w0BAQUFADB6MQswCQYDVQQGEwJV 3 | UzELMAkGA1UECBMCQ0ExCzAJBgNVBAcTAlNGMQ8wDQYDVQQKEwZKb3llbnQxEDAO 4 | BgNVBAsTB05vZGUuanMxDDAKBgNVBAMTA2NhMTEgMB4GCSqGSIb3DQEJARYRcnlA 5 | dGlueWNsb3Vkcy5vcmcwHhcNMTEwMzE0MTgyOTEyWhcNMzgwNzI5MTgyOTEyWjB9 6 | MQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExCzAJBgNVBAcTAlNGMQ8wDQYDVQQK 7 | EwZKb3llbnQxEDAOBgNVBAsTB05vZGUuanMxDzANBgNVBAMTBmFnZW50MTEgMB4G 8 | CSqGSIb3DQEJARYRcnlAdGlueWNsb3Vkcy5vcmcwXDANBgkqhkiG9w0BAQEFAANL 9 | ADBIAkEAnzpAqcoXZxWJz/WFK7BXwD23jlREyG11x7gkydteHvn6PrVBbB5yfu6c 10 | bk8w3/Ar608AcyMQ9vHjkLQKH7cjEQIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAKha 11 | HqjCfTIut+m/idKy3AoFh48tBHo3p9Nl5uBjQJmahKdZAaiksL24Pl+NzPQ8LIU+ 12 | FyDHFp6OeJKN6HzZ72Bh9wpBVu6Uj1hwhZhincyTXT80wtSI/BoUAW8Ls2kwPdus 13 | 64LsJhhxqj2m4vPKNRbHB2QxnNrGi30CUf3kt3Ia 14 | -----END CERTIFICATE----- 15 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent1-csr.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBXTCCAQcCAQAwfTELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMQswCQYDVQQH 3 | EwJTRjEPMA0GA1UEChMGSm95ZW50MRAwDgYDVQQLEwdOb2RlLmpzMQ8wDQYDVQQD 4 | EwZhZ2VudDExIDAeBgkqhkiG9w0BCQEWEXJ5QHRpbnljbG91ZHMub3JnMFwwDQYJ 5 | KoZIhvcNAQEBBQADSwAwSAJBAJ86QKnKF2cVic/1hSuwV8A9t45URMhtdce4JMnb 6 | Xh75+j61QWwecn7unG5PMN/wK+tPAHMjEPbx45C0Ch+3IxECAwEAAaAlMCMGCSqG 7 | SIb3DQEJBzEWExRBIGNoYWxsZW5nZSBwYXNzd29yZDANBgkqhkiG9w0BAQUFAANB 8 | AF+AfG64hNyYHum46m6i7RgnUBrJSOynGjs23TekV4he3QdMSAAPPqbll8W14+y3 9 | vOo7/yQ2v2uTqxCjakUNPPs= 10 | -----END CERTIFICATE REQUEST----- 11 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBOwIBAAJBAJ86QKnKF2cVic/1hSuwV8A9t45URMhtdce4JMnbXh75+j61QWwe 3 | cn7unG5PMN/wK+tPAHMjEPbx45C0Ch+3IxECAwEAAQJBAI2cU1IuR+4IO87WPyAB 4 | 76kruoo87AeNQkjjvuQ/00+b/6IS45mcEP5Kw0NukbqBhIw2di9uQ9J51DJ/ZfQr 5 | +YECIQDUHaN3ZjIdJ7/w8Yq9Zzz+3kY2F/xEz6e4ftOFW8bY2QIhAMAref+WYckC 6 | oECgOLAvAxB1lI4j7oCbAaawfxKdnPj5AiEAi95rXx09aGpAsBGmSdScrPdG1v6j 7 | 83/2ebrvoZ1uFqkCIB0AssnrRVjUB6GZTNTyU3ERfdkx/RX1zvr8WkFR/lXpAiB7 8 | cUZ1i8ZkZrPrdVgw2cb28UJM7qZHQnXcMHTXFFvxeQ== 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent1.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | 8 | [ req_distinguished_name ] 9 | C = US 10 | ST = CA 11 | L = SF 12 | O = Joyent 13 | OU = Node.js 14 | CN = agent1 15 | emailAddress = ry@tinyclouds.org 16 | 17 | [ req_attributes ] 18 | challengePassword = A challenge password 19 | 20 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent2-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIB7DCCAZYCCQC7gs0MDNn6MTANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJV 3 | UzELMAkGA1UECBMCQ0ExCzAJBgNVBAcTAlNGMQ8wDQYDVQQKEwZKb3llbnQxEDAO 4 | BgNVBAsTB05vZGUuanMxDzANBgNVBAMTBmFnZW50MjEgMB4GCSqGSIb3DQEJARYR 5 | cnlAdGlueWNsb3Vkcy5vcmcwHhcNMTEwMzE0MTgyOTEyWhcNMzgwNzI5MTgyOTEy 6 | WjB9MQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExCzAJBgNVBAcTAlNGMQ8wDQYD 7 | VQQKEwZKb3llbnQxEDAOBgNVBAsTB05vZGUuanMxDzANBgNVBAMTBmFnZW50MjEg 8 | MB4GCSqGSIb3DQEJARYRcnlAdGlueWNsb3Vkcy5vcmcwXDANBgkqhkiG9w0BAQEF 9 | AANLADBIAkEAyXb8FrRdKbhrKLgLSsn61i1C7w7fVVVd7OQsmV/7p9WB2lWFiDlC 10 | WKGU9SiIz/A6wNZDUAuc2E+VwtpCT561AQIDAQABMA0GCSqGSIb3DQEBBQUAA0EA 11 | C8HzpuNhFLCI3A5KkBS5zHAQax6TFUOhbpBCR0aTDbJ6F1liDTK1lmU/BjvPoj+9 12 | 1LHwrmh29rK8kBPEjmymCQ== 13 | -----END CERTIFICATE----- 14 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent2-csr.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBXTCCAQcCAQAwfTELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMQswCQYDVQQH 3 | EwJTRjEPMA0GA1UEChMGSm95ZW50MRAwDgYDVQQLEwdOb2RlLmpzMQ8wDQYDVQQD 4 | EwZhZ2VudDIxIDAeBgkqhkiG9w0BCQEWEXJ5QHRpbnljbG91ZHMub3JnMFwwDQYJ 5 | KoZIhvcNAQEBBQADSwAwSAJBAMl2/Ba0XSm4ayi4C0rJ+tYtQu8O31VVXezkLJlf 6 | +6fVgdpVhYg5QlihlPUoiM/wOsDWQ1ALnNhPlcLaQk+etQECAwEAAaAlMCMGCSqG 7 | SIb3DQEJBzEWExRBIGNoYWxsZW5nZSBwYXNzd29yZDANBgkqhkiG9w0BAQUFAANB 8 | AJnll2pt5l0pzskQSpjjLVTlFDFmJr/AZ3UK8v0WxBjYjCe5Jx4YehkChpxIyDUm 9 | U3J9q9MDUf0+Y2+EGkssFfk= 10 | -----END CERTIFICATE REQUEST----- 11 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBOgIBAAJBAMl2/Ba0XSm4ayi4C0rJ+tYtQu8O31VVXezkLJlf+6fVgdpVhYg5 3 | QlihlPUoiM/wOsDWQ1ALnNhPlcLaQk+etQECAwEAAQJBAMT6Bf34+UHKY1ObpsbH 4 | 9u2jsVblFq1rWvs8GPMY6oertzvwm3DpuSUp7PTgOB1nLTLYtCERbQ4ovtN8tn3p 5 | OHUCIQDzIEGsoCr5vlxXvy2zJwu+fxYuhTZWMVuo1397L0VyhwIhANQh+yzqUgaf 6 | WRtSB4T2W7ADtJI35ET61jKBty3CqJY3AiAIwju7dVW3A5WeD6Qc1SZGKZvp9yCb 7 | AFI2BfVwwaY11wIgXF3PeGcvACMyMWsuSv7aPXHfliswAbkWuzcwA4TW01ECIGWa 8 | cgsDvVFxmfM5NPSuT/UDTa6R5BFISB5ea0N0AR3I 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent2.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | 8 | [ req_distinguished_name ] 9 | C = US 10 | ST = CA 11 | L = SF 12 | O = Joyent 13 | OU = Node.js 14 | CN = agent2 15 | emailAddress = ry@tinyclouds.org 16 | 17 | [ req_attributes ] 18 | challengePassword = A challenge password 19 | 20 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent3-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICKjCCAZMCCQCDBr594bsJmTANBgkqhkiG9w0BAQUFADB6MQswCQYDVQQGEwJV 3 | UzELMAkGA1UECBMCQ0ExCzAJBgNVBAcTAlNGMQ8wDQYDVQQKEwZKb3llbnQxEDAO 4 | BgNVBAsTB05vZGUuanMxDDAKBgNVBAMTA2NhMjEgMB4GCSqGSIb3DQEJARYRcnlA 5 | dGlueWNsb3Vkcy5vcmcwHhcNMTEwMzE0MTgyOTEyWhcNMzgwNzI5MTgyOTEyWjB9 6 | MQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExCzAJBgNVBAcTAlNGMQ8wDQYDVQQK 7 | EwZKb3llbnQxEDAOBgNVBAsTB05vZGUuanMxDzANBgNVBAMTBmFnZW50MzEgMB4G 8 | CSqGSIb3DQEJARYRcnlAdGlueWNsb3Vkcy5vcmcwXDANBgkqhkiG9w0BAQEFAANL 9 | ADBIAkEAtlNDZ+bHeBI0B2gD/IWqA7Aq1hwsnS4+XpnLesjTQcL2JwFFpkR0oWrw 10 | yjrYhCogi7c5gjKrLZF1d2JD5JgHgQIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAJoK 11 | bXwsImk7vJz9649yrmsXwnuGbEKVYMvqcGyjaZNP9lYEG41y5CeRzxhWy2rlYdhE 12 | f2nqE2lg75oJP7LQqfQY7aCqwahM3q/GQbsfKVCGjF7TVyq9TQzd8iW+FEJIQzSE 13 | 3aN85hR67+3VAXeSzmkGSVBO2m1SJIug4qftIkc2 14 | -----END CERTIFICATE----- 15 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent3-csr.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBXTCCAQcCAQAwfTELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMQswCQYDVQQH 3 | EwJTRjEPMA0GA1UEChMGSm95ZW50MRAwDgYDVQQLEwdOb2RlLmpzMQ8wDQYDVQQD 4 | EwZhZ2VudDMxIDAeBgkqhkiG9w0BCQEWEXJ5QHRpbnljbG91ZHMub3JnMFwwDQYJ 5 | KoZIhvcNAQEBBQADSwAwSAJBALZTQ2fmx3gSNAdoA/yFqgOwKtYcLJ0uPl6Zy3rI 6 | 00HC9icBRaZEdKFq8Mo62IQqIIu3OYIyqy2RdXdiQ+SYB4ECAwEAAaAlMCMGCSqG 7 | SIb3DQEJBzEWExRBIGNoYWxsZW5nZSBwYXNzd29yZDANBgkqhkiG9w0BAQUFAANB 8 | AEGo76iH+a8pnE+RWQT+wg9/BL+iIuqrcFXLs0rbGonqderrwXAe15ODwql/Bfu3 9 | zgMt8ooTsgMPcMX9EgmubEM= 10 | -----END CERTIFICATE REQUEST----- 11 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent3-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBOwIBAAJBALZTQ2fmx3gSNAdoA/yFqgOwKtYcLJ0uPl6Zy3rI00HC9icBRaZE 3 | dKFq8Mo62IQqIIu3OYIyqy2RdXdiQ+SYB4ECAwEAAQJAIk+G9s2SKgFa8y3a2jGZ 4 | LfqABSzmJGooaIsOpLuYLd6eCC31XUDlT4rPVGRhysKQCQ4+NMjgdnj9ZqNnvXY/ 5 | RQIhAOgbdltr3Ey2hy7RuDW5rmOeJTuVqCrZ7QI8ifyCEbYTAiEAyRfvWSvvASeP 6 | kZTMUhATRUpuyDQW+058NE0oJSinTpsCIQCR/FPhBGI3TcaQyA9Ym0T4GwvIAkUX 7 | TqInefRAAX8qSQIgZVJPAdIWGbHSL9sWW97HpukLCorcbYEtKbkamiZyrjMCIQCX 8 | lX76ttkeId5OsJGQcF67eFMMr2UGZ1WMf6M39lCYHQ== 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent3.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | 8 | [ req_distinguished_name ] 9 | C = US 10 | ST = CA 11 | L = SF 12 | O = Joyent 13 | OU = Node.js 14 | CN = agent3 15 | emailAddress = ry@tinyclouds.org 16 | 17 | [ req_attributes ] 18 | challengePassword = A challenge password 19 | 20 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent4-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICSDCCAbGgAwIBAgIJAIMGvn3huwmaMA0GCSqGSIb3DQEBBQUAMHoxCzAJBgNV 3 | BAYTAlVTMQswCQYDVQQIEwJDQTELMAkGA1UEBxMCU0YxDzANBgNVBAoTBkpveWVu 4 | dDEQMA4GA1UECxMHTm9kZS5qczEMMAoGA1UEAxMDY2EyMSAwHgYJKoZIhvcNAQkB 5 | FhFyeUB0aW55Y2xvdWRzLm9yZzAeFw0xMTAzMTQxODI5MTJaFw0zODA3MjkxODI5 6 | MTJaMH0xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTELMAkGA1UEBxMCU0YxDzAN 7 | BgNVBAoTBkpveWVudDEQMA4GA1UECxMHTm9kZS5qczEPMA0GA1UEAxMGYWdlbnQ0 8 | MSAwHgYJKoZIhvcNAQkBFhFyeUB0aW55Y2xvdWRzLm9yZzBcMA0GCSqGSIb3DQEB 9 | AQUAA0sAMEgCQQDN/yMfmQ8zdvmjlGk7b3Mn6wY2FjaMb4c5ENJX15vyYhKS1zhx 10 | 6n0kQIn2vf6yqG7tO5Okz2IJiD9Sa06mK6GrAgMBAAGjFzAVMBMGA1UdJQQMMAoG 11 | CCsGAQUFBwMCMA0GCSqGSIb3DQEBBQUAA4GBAA8FXpRmdrHBdlofNvxa14zLvv0N 12 | WnUGUmxVklFLKXvpVWTanOhVgI2TDCMrT5WvCRTD25iT1EUKWxjDhFJrklQJ+IfC 13 | KC6fsgO7AynuxWSfSkc8/acGiAH+20vW9QxR53HYiIDMXEV/wnE0KVcr3t/d70lr 14 | ImanTrunagV+3O4O 15 | -----END CERTIFICATE----- 16 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent4-csr.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBXTCCAQcCAQAwfTELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMQswCQYDVQQH 3 | EwJTRjEPMA0GA1UEChMGSm95ZW50MRAwDgYDVQQLEwdOb2RlLmpzMQ8wDQYDVQQD 4 | EwZhZ2VudDQxIDAeBgkqhkiG9w0BCQEWEXJ5QHRpbnljbG91ZHMub3JnMFwwDQYJ 5 | KoZIhvcNAQEBBQADSwAwSAJBAM3/Ix+ZDzN2+aOUaTtvcyfrBjYWNoxvhzkQ0lfX 6 | m/JiEpLXOHHqfSRAifa9/rKobu07k6TPYgmIP1JrTqYroasCAwEAAaAlMCMGCSqG 7 | SIb3DQEJBzEWExRBIGNoYWxsZW5nZSBwYXNzd29yZDANBgkqhkiG9w0BAQUFAANB 8 | AMzo7GUOBtGm5MSck1rrEE2C1bU3qoVvXVuiN3A/57zXeNeq24FZMLnkDeL9U+/b 9 | Kj646XFou04gla982Xp74p0= 10 | -----END CERTIFICATE REQUEST----- 11 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent4-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBOQIBAAJBAM3/Ix+ZDzN2+aOUaTtvcyfrBjYWNoxvhzkQ0lfXm/JiEpLXOHHq 3 | fSRAifa9/rKobu07k6TPYgmIP1JrTqYroasCAwEAAQJAN8RQb+dx1A7rejtdWbfM 4 | Rww7PD07Oz2eL/a72wgFsdIabRuVypIoHunqV0sAegYtNJt9yu+VhREw0R5tx/qz 5 | EQIhAPY+nmzp0b4iFRk7mtGUmCTr9iwwzoqzITwphE7FpQnFAiEA1ihUHFT9YPHO 6 | f85skM6qZv77NEgXHO8NJmQZ5GX1ZK8CICzle+Mluo0tD6W7HV4q9pZ8wzSJbY8S 7 | W/PpKetm09F1AiAWTw8sAGKAtc/IGo3Oq+iuYAN1F8lolzJsfGMCGujsOwIgAJKP 8 | t3eXilwX3ZlsDWSklWNZ7iYcfYrvAc3JqU6gFCE= 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/agent4.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | 8 | [ req_distinguished_name ] 9 | C = US 10 | ST = CA 11 | L = SF 12 | O = Joyent 13 | OU = Node.js 14 | CN = agent4 15 | emailAddress = ry@tinyclouds.org 16 | 17 | [ req_attributes ] 18 | challengePassword = A challenge password 19 | 20 | [ ext_key_usage ] 21 | extendedKeyUsage = clientAuth 22 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca1-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICIzCCAYwCCQC4ONZJx5BOwjANBgkqhkiG9w0BAQUFADBWMQswCQYDVQQGEwJK 3 | UDESMBAGA1UECxQJbm9kZWpzX2pwMQwwCgYDVQQDEwNjYTExJTAjBgkqhkiG9w0B 4 | CQEWFmtvaWNoaWtAaW1wcm92ZW1lbnQuanAwHhcNMTMxMjI0MTEyMzIxWhcNNDEw 5 | NTEwMTEyMzIxWjBWMQswCQYDVQQGEwJKUDESMBAGA1UECxQJbm9kZWpzX2pwMQww 6 | CgYDVQQDEwNjYTExJTAjBgkqhkiG9w0BCQEWFmtvaWNoaWtAaW1wcm92ZW1lbnQu 7 | anAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOJMS1ug8jUu0wwEfD4h9/Mg 8 | w0fvs7JbpMxtwpdcFpg/6ECd8YzGUvljLzeHPe2AhF26MiWIUN3YTxZRiQQ2tv93 9 | afRVWchdPypytmuxv2aYGjhZ66Tv4vNRizM71OE+66+KS30gEQW2k4MTr0ZVlRPR 10 | OVey+zRSLdVaKciB/XaBAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEApfbly4b+Ry1q 11 | bGIgGrlTvNFvF+j2RuHqSpuTB4nKyw1tbNreKmEEb6SBEfkjcTONx5rKECZ5RRPX 12 | z4R/o1G6Dn21ouf1pWQO0BC/HnLN30KvvsoZRoxBn/fqBlJA+j/Kpj3RQgFj6l2I 13 | AKI5fD+ucPqRGhjmmTsNyc+Ln4UfAq8= 14 | -----END CERTIFICATE----- 15 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca1-cert.srl: -------------------------------------------------------------------------------- 1 | B111C9CEF0257692 2 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN ENCRYPTED PRIVATE KEY----- 2 | MIICxjBABgkqhkiG9w0BBQ0wMzAbBgkqhkiG9w0BBQwwDgQIbo5wvG42IY0CAggA 3 | MBQGCCqGSIb3DQMHBAgf8SPuz4biYASCAoAR4r8MVikusOAEt4Xp6nB7whrMX4iG 4 | G792Qpf21nHZPMV73w3cdkfimbAfUn8F50tSJwdrAa8U9BjjpL9Kt0loIyXt/r8c 5 | 6PWAQ4WZuLPgTFUTJUNAXrunBHI0iFWYEN4YzJYmT1qN3J4u0diy0MkKz6eJPfZ3 6 | 3v97+nF7dR2H86ZgLKsuE4pO5IRb60XW85d7CYaY6rU6l6mXMF0g9sIccHTlFoet 7 | Xm6cA7NAm1XSI1ciYcoc8oaVE9dXoOALaTnBEZ2MJGpsYQ0Hr7kB4VKAO9wsOta5 8 | L9nXPv79Nzo1MZMChkrORFnwOzH4ffsUwVQ70jUzkt5DEyzCM1oSxFNRQESxnFrr 9 | 7c1jLg2gxAVwnqYo8njsKJ23BZqZUxHsBgB2Mg1L/iPT6zhclD0u3RZx9MR4ezB2 10 | IqoCF19Z5bblkReAeVRAE9Ol4hKVaCEIIPUspcw7eGVGONalHDCSXpIFnJoZLeXJ 11 | OZjLmYlA6KkJw52eNE5IwIb8l/tha2fwNpRvlMoXp65yH9wKyJk8zPSM6WAk4dKD 12 | nLrTCK4KtM6aIbG14Mff6WEf3uaLPM0cLwxmuypfieCZfkIzgytNdFZoBgaYUpon 13 | zazvUMoy3gqDBorcU08SaosdRoL+s+QVkRhA29shf42lqOM4zbh0dTul4QDlLG0U 14 | VBNeMJ3HnrqATfBU28j3bUqtuF2RffgcN/3ivlBjcyzF/iPt0TWmm6Zz5v4K8+b6 15 | lOm6gofIz+ffg2cXfPzrqZ2/xhFkcerRuN0Xp5eAhlI2vGJVGuEc4X+tT7VtQgLV 16 | iovqzlLhp+ph/gsfCcsYZ9iso3ozw+Cx1HfJ8XT7yWUgXxblkt4uszEo 17 | -----END ENCRYPTED PRIVATE KEY----- 18 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca1.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 9999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | output_password = password 8 | 9 | [ req_distinguished_name ] 10 | C = JP 11 | OU = nodejs_jp 12 | CN = ca1 13 | emailAddress = koichik@improvement.jp 14 | 15 | [ req_attributes ] 16 | challengePassword = A challenge password 17 | 18 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca2-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICIzCCAYwCCQCxIhZSDET+8DANBgkqhkiG9w0BAQUFADBWMQswCQYDVQQGEwJK 3 | UDESMBAGA1UECxQJbm9kZWpzX2pwMQwwCgYDVQQDEwNjYTIxJTAjBgkqhkiG9w0B 4 | CQEWFmtvaWNoaWtAaW1wcm92ZW1lbnQuanAwHhcNMTMxMjI0MTEyMzIxWhcNNDEw 5 | NTEwMTEyMzIxWjBWMQswCQYDVQQGEwJKUDESMBAGA1UECxQJbm9kZWpzX2pwMQww 6 | CgYDVQQDEwNjYTIxJTAjBgkqhkiG9w0BCQEWFmtvaWNoaWtAaW1wcm92ZW1lbnQu 7 | anAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMaaLMMe7K5eYABH3NnJoimG 8 | LvY4S5tdGF6YRwfkn1bgGa+kEw1zNqa/Y0jSzs4h7bApt3+bKTalR4+Zk+0UmWgZ 9 | Gvlq8+mdqDXtBKoWE3vYDPBmeNyKsgxf9UIhFOpsxVUeYP8t66qJyUk/FlFJcDqc 10 | WPawikl1bUFSZXBKu4PxAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAwh3sXPIkA5kn 11 | fpg7fV5haS4EpFr9ia61dzWbhXDZtasAx+nWdWqgG4T+HIYSLlMNZbGJ998uhFZf 12 | DEHlbY/WuSBukZ0w+xqKBtPyjLIQKVvNiaTx5YMzQes62R1iklOXzBzyHbYIxFOG 13 | dqLfIjEe/mVVoR23LN2tr8Wa6+rmd+w= 14 | -----END CERTIFICATE----- 15 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca2-cert.srl: -------------------------------------------------------------------------------- 1 | 9BF2D4B2E00EDF16 2 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca2-crl.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN X509 CRL----- 2 | MIIBXTCBxzANBgkqhkiG9w0BAQQFADB6MQswCQYDVQQGEwJVUzELMAkGA1UECBMC 3 | Q0ExCzAJBgNVBAcTAlNGMQ8wDQYDVQQKEwZKb3llbnQxEDAOBgNVBAsTB05vZGUu 4 | anMxDDAKBgNVBAMTA2NhMjEgMB4GCSqGSIb3DQEJARYRcnlAdGlueWNsb3Vkcy5v 5 | cmcXDTExMDMxNDE4MjkxNloXDTEzMTIwNzE4MjkxNlowHDAaAgkAgwa+feG7CZoX 6 | DTExMDMxNDE4MjkxNFowDQYJKoZIhvcNAQEEBQADgYEArRKuEkOla61fm4zlZtHe 7 | LTXFV0Hgo21PScHAp6JqPol4rN5R9+EmUkv7gPCVVBJ9VjIgxSosHiLsDiz3zR+u 8 | txHemhzbdIVANAIiChnFct8sEqH2eL4N6XNUIlMIR06NjNl7NbN8w8haqiearnuT 9 | wmnaL4TThPmpbpKAF7N7JqQ= 10 | -----END X509 CRL----- 11 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca2-database.txt: -------------------------------------------------------------------------------- 1 | R 380729182912Z 110314182914Z 8306BE7DE1BB099A unknown /C=US/ST=CA/L=SF/O=Joyent/OU=Node.js/CN=agent4/emailAddress=ry@tinyclouds.org 2 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN ENCRYPTED PRIVATE KEY----- 2 | MIICxjBABgkqhkiG9w0BBQ0wMzAbBgkqhkiG9w0BBQwwDgQI3aq9fKZIOF0CAggA 3 | MBQGCCqGSIb3DQMHBAjyunMfVve0OwSCAoAdMsrRFlQUSILw+bq3cSVIIbFjwcs0 4 | B1Uz2rc9SB+1qjsazjv4zvPQSXTrsx2EOSJf9PSPz7r+c0NzO9vfWLorpXof/lwL 5 | C1tRN7/1OqEW/mTK+1wlv0M5C4cmf44BBXmI+y+RWrQ/qc+CWEMvfHwv9zWr2K+i 6 | cLlZv55727GvZYCMMVLiqYd/Ejj98loBsE5dhN4JJ5MPaN3UHhFTCpD453GIIzCi 7 | FRuYhOOtX4qYoEuP2db4S2qu26723ZJnYBEHkK2YZiRrgvoZHugyGIr4f/RRoSUI 8 | fPgycgQfL3Ow+Y1G533PiZ+CYgh9cViUzhZImEPiZpSuUntAD1loOYkJuV9Ai9XZ 9 | +t6+7tfkM3aAo1bkaU8KcfINxxNWfAhCbUQw+tGJl2A+73OM5AGjGSfzjQQL/FOa 10 | 5omfEvdfEX2XyRRlqnQ2VucvSTL9ZdzbIJGg/euJTpM44Fwc7yAZv2aprbPoPixu 11 | yyf0LoTjlGGSBZvHkunpWx82lYEXvHhcnCxV5MDFw8wehvDrvcSuzb8//HzLOiOB 12 | gzUr3DOQk4U1UD6xixZjAKC+NUwTVZoHg68KtmQfkq+eGUWf5oJP4xUigi3ui/Wy 13 | OCBDdlRBkFtgLGL51KJqtq1ixx3Q9HMl0y6edr5Ls0unDIo0LtUWUUcAtr6wl+kK 14 | zSztxFMi2zTtbhbkwoVpucNstFQNfV1k22vtnlcux2FV2DdZiJQwYpIbr8Gj6gpK 15 | gtV5l9RFe21oZBcKPt/chrF8ayiClfGMpF3D2p2GqGCe0HuH5uM/JAFf60rbnriA 16 | Nu1bWiXsXLRUXcLIQ/uEPR3Mvvo9k1h4Q6it1Rp67eQiXCX6h2uFq+sB 17 | -----END ENCRYPTED PRIVATE KEY----- 18 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca2-serial: -------------------------------------------------------------------------------- 1 | 01 2 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca2.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 9999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | output_password = password 8 | 9 | [ req_distinguished_name ] 10 | C = JP 11 | OU = nodejs_jp 12 | CN = ca2 13 | emailAddress = koichik@improvement.jp 14 | 15 | [ req_attributes ] 16 | challengePassword = A challenge password 17 | 18 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca3-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICIzCCAYwCCQCudHFhEWiUHDANBgkqhkiG9w0BAQUFADBWMQswCQYDVQQGEwJK 3 | UDESMBAGA1UECxQJbm9kZWpzX2pwMQwwCgYDVQQDEwNjYTMxJTAjBgkqhkiG9w0B 4 | CQEWFmtvaWNoaWtAaW1wcm92ZW1lbnQuanAwHhcNMTMxMjI0MTEyMzIxWhcNNDEw 5 | NTEwMTEyMzIxWjBWMQswCQYDVQQGEwJKUDESMBAGA1UECxQJbm9kZWpzX2pwMQww 6 | CgYDVQQDEwNjYTMxJTAjBgkqhkiG9w0BCQEWFmtvaWNoaWtAaW1wcm92ZW1lbnQu 7 | anAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAJPRJMhCNtxX6dQ3rLdrzVCl 8 | XJMSRIICpbsc7arOzSJcrsIYeYC4d29dGwxYNLnAkKSmHujFT9SmFgh88CoYETLp 9 | gE9zCk9hVCwUlWelM/UaIrzeLT4SC3VBptnLmMtk2mqFniLcaFdMycAcX8OIhAgG 10 | fbqyT5Wxwz7UMegip2ZjAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEADpu8a/W+NPnS 11 | mhyIOxXn8O//2oH9ELlBYFLIgTid0xmS05x/MgkXtWqiBEEZFoOfoJBJxM3vTFs0 12 | PiZvcVjv0IIjDF4s54yRVH+4WI2p7cil1fgzAVRTuOIuR+VyN7ct8s26a/7GFDq6 13 | NJMByyjsJHyxwwri5hVv+jbLCxmnDjI= 14 | -----END CERTIFICATE----- 15 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca3-cert.srl: -------------------------------------------------------------------------------- 1 | EF7B2CF0FA61DF41 2 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca3-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN ENCRYPTED PRIVATE KEY----- 2 | MIICxjBABgkqhkiG9w0BBQ0wMzAbBgkqhkiG9w0BBQwwDgQIwAta+L4c9soCAggA 3 | MBQGCCqGSIb3DQMHBAgqRud2p3SvogSCAoDXoDJOJDkvgFpQ6rxeV5r0fLX4SrGJ 4 | quv4yt02QxSDUPN2ZLtBt6bLzg4Zv2pIggufYJcZ2IOUnX82T7FlvBP8hbW1q3Bs 5 | jAso7z8kJlFrZjNudjuP2l/X8tjrVyr3I0PoRoomtcHnCcSDdyne8Dqqj1enuikF 6 | 8b7FZUqocNLfu8LmNGxMmMwjw3UqhtpP5DjqV60B8ytQFPoz/gFh6aNGvsrD/avU 7 | Dj8EJkQZP6Q32vmCzAvSiLjk7FA7RFmBtaurE9hJYNlc5v1eo69EUwPkeVlTpglJ 8 | 5sZAHxlhQCgc72ST6uFQKiMO3ng/JJA5N9EvacYSHQvI1TQIo43V2A//zUh/5hGL 9 | sDv4pRuFq9miX8iiQpwo1LDfRzdwg7+tiLm8/mDyeLUSzDNc6GIX/tC9R4Ukq4ge 10 | 1Cfq0gtKSRxZhM8HqpGBC9rDs5mpdUqTRsoHLFn5T6/gMiAtrLCJxgD8JsZBa8rM 11 | KZ09QEdZXTvpyvZ8bSakP5PF6Yz3QYO32CakL7LDPpCng0QDNHG10YaZbTOgJIzQ 12 | NJ5o87DkgDx0Bb3L8FoREIBkjpYFbQi2fvPthoepZ3D5VamVsOwOiZ2sR1WF2J8l 13 | X9c8GdG38byO+SQIPNZ8eT5JvUcNeSlIZiVSwvaEk496d2KzhmMMfoBLFVeHXG90 14 | CIZPleVfkTmgNQgXPWcFngqTZdDEGsHjEDDhbEAijB3EeOxyiiEDJPMy5zqkdy5D 15 | cZ/Y77EDbln7omcyL+cGvCgBhhYpTbtbuBtzW4CiCvcfEB5N4EtJKOTRJXIpL/d3 16 | oVnZruqRRKidKwFMEZU2NZJX5FneAWFSeCv0IrY2vAUIc3El+n84CFFK 17 | -----END ENCRYPTED PRIVATE KEY----- 18 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca3.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 9999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | output_password = password 8 | 9 | [ req_distinguished_name ] 10 | C = JP 11 | OU = nodejs_jp 12 | CN = ca3 13 | emailAddress = koichik@improvement.jp 14 | 15 | [ req_attributes ] 16 | challengePassword = A challenge password 17 | 18 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca4-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICIzCCAYwCCQDUGh2r7lOpITANBgkqhkiG9w0BAQUFADBWMQswCQYDVQQGEwJK 3 | UDESMBAGA1UECxQJbm9kZWpzX2pwMQwwCgYDVQQDEwNjYTQxJTAjBgkqhkiG9w0B 4 | CQEWFmtvaWNoaWtAaW1wcm92ZW1lbnQuanAwHhcNMTMxMjI0MTEyMzIxWhcNNDEw 5 | NTEwMTEyMzIxWjBWMQswCQYDVQQGEwJKUDESMBAGA1UECxQJbm9kZWpzX2pwMQww 6 | CgYDVQQDEwNjYTQxJTAjBgkqhkiG9w0BCQEWFmtvaWNoaWtAaW1wcm92ZW1lbnQu 7 | anAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOOC+SPC8XzkjIHfKPMzzNV6 8 | O/LpqQWdzJtEvFNW0oQ9g8gSV4iKqwUFrLNnSlwSGigvqKqGmYtG8S17ANWInoxI 9 | c3sQlrS2cGbgLUBNKu4hZ7s+11EPOjbnn0QUE5w9GN8fy8CDx7ID/8URYKoxcoRv 10 | 0w7EJ2agfd68KS1ayxUXAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAumPFeR63Dyki 11 | SWQtRAe2QWkIFlSRAR2PvSDdsDMLwMeXF5wD3Hv51yfTu9Gkg0QJB86deYfQ5vfV 12 | 4QsOQ35icesa12boyYpTE0/OoEX1f/s1sLlszpRvtAki3J4bkcGWAzM5yO1fKqpQ 13 | MbtPzLn+DA7ymxuJa6EQAEb+kaJEBuU= 14 | -----END CERTIFICATE----- 15 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca4-cert.srl: -------------------------------------------------------------------------------- 1 | B01FE0416A2EDCF5 2 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca4-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN ENCRYPTED PRIVATE KEY----- 2 | MIICxjBABgkqhkiG9w0BBQ0wMzAbBgkqhkiG9w0BBQwwDgQIWE/ri/feeikCAggA 3 | MBQGCCqGSIb3DQMHBAiu6hUzoFnsVASCAoC53ZQ4gxLcFnb5yAcdCl4DdKOJ5m4G 4 | CHosR87pJpZlO68DsCKwORUp9tTmb1/Q4Wm9n2kRf6VQNyVVm6REwzEPAgIJEgy2 5 | FqLmfqpTElbRsQako8UDXjDjaMO30e+Qhy8HOTrHMJZ6LgrU90xnOCPPeN9fYmIu 6 | YBkX4qewUfu+wFzk/unUbFLChvJsEN4fdrlDwTJMHRzKwbdvg3mHlCnspWwjA2Mc 7 | q27QPeb3mwRUajmqL0dT9y7wVYeAN2zV59VoWm6zV+dWFgyMlVrVCRYkqQC3xOsy 8 | ZlKrGldrY8nNdv5s6+Sc7YavTJiJxHgIB7sm6QFIsdqjxTBEGD4/YhEI52SUw/xO 9 | VJmOTWdWUz4FdWNi7286nfhZ0+mdv6fUoG54Qv6ahnUMJvEsp60LkR1gHXLzQu/m 10 | +yDZFqY/IIg2QA7M3gL0Md5GrWydDlD2uBPoXcC4A5gfOHswzHWDKurDCpoMqdpn 11 | CUQ/ZVl2rwF8Pnty61MjY1xCN1r8xQjFBCgcfBWw5v6sNRbr/vef3TfQIBzVm+hx 12 | akDb1nckBsIjMT9EfeT6hXub2n0oehEHewF1COifbcOjnxToLSswPLrtb0behB+o 13 | zTgftn+4XrkY0sFY69TzYtQVMLAsiWTpZFvAi+D++2pXlQ/bnxKJiBBc6kZuAGpN 14 | z+cJ4kUuFE4S9v5C5vK89nIgcuJT06u8wYTy0N0j/DnIjSaVgGr0Y0841mXtU1VV 15 | wUZjuyYrVwVT/g5r6uzEFldTcjmYkbMaxo+MYnEZZgqYJvu2QlK87YxJOwo+D1NX 16 | 4gl1s/bmlPlGw/t9TxutI3S9PEr3JM3013e9UPE+evlTG9IIrZaUPzyj 17 | -----END ENCRYPTED PRIVATE KEY----- 18 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/ca4.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 9999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | output_password = password 8 | 9 | [ req_distinguished_name ] 10 | C = JP 11 | OU = nodejs_jp 12 | CN = ca4 13 | emailAddress = koichik@improvement.jp 14 | 15 | [ req_attributes ] 16 | challengePassword = A challenge password 17 | 18 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/client.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 9999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | 8 | [ req_distinguished_name ] 9 | C = JP 10 | OU = nodejs_jp 11 | CN = localhost 12 | emailAddress = koichik@improvement.jp 13 | 14 | [ req_attributes ] 15 | challengePassword = A challenge password 16 | 17 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/client1-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICKTCCAZICCQDveyzw+mHfQTANBgkqhkiG9w0BAQUFADBWMQswCQYDVQQGEwJK 3 | UDESMBAGA1UECxQJbm9kZWpzX2pwMQwwCgYDVQQDEwNjYTMxJTAjBgkqhkiG9w0B 4 | CQEWFmtvaWNoaWtAaW1wcm92ZW1lbnQuanAwHhcNMTMxMjI0MTEyMzIxWhcNNDEw 5 | NTEwMTEyMzIxWjBcMQswCQYDVQQGEwJKUDESMBAGA1UECxQJbm9kZWpzX2pwMRIw 6 | EAYDVQQDEwlsb2NhbGhvc3QxJTAjBgkqhkiG9w0BCQEWFmtvaWNoaWtAaW1wcm92 7 | ZW1lbnQuanAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMYUuKyuxT93zvrS 8 | mL8IMI8xu8dP3iRZDUYu6dmq6Dntgb7intfzxtEFVmfNCDGwJwg7UKx/FzftGxFb 9 | 9LksuvAQuW2FLhCrOmXUVU938OZkQRSflISD80kd4i9JEoKKYPX1imjaMugIQ0ta 10 | Bq2orY6sna8JAUVDW6WO3wVEJ4mBAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAAbaH 11 | bc/6dIFC9TPIDrgsLtsOtycdBJqKbFT1wThhyKncXF/iyaI+8N4UA+hXMjk8ODUl 12 | BVmmgaN6ufMLwnx/Gdl9FLmmDq4FQ4zspClTJo42QPzg5zKoPSw5liy73LM7z+nG 13 | g6IeM8RFlEbs109YxqvQnbHfTgeLdIsdvtNXU80= 14 | -----END CERTIFICATE----- 15 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/client1-csr.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBwTCCASoCAQAwXDELMAkGA1UEBhMCSlAxEjAQBgNVBAsUCW5vZGVqc19qcDES 3 | MBAGA1UEAxMJbG9jYWxob3N0MSUwIwYJKoZIhvcNAQkBFhZrb2ljaGlrQGltcHJv 4 | dmVtZW50LmpwMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDGFLisrsU/d876 5 | 0pi/CDCPMbvHT94kWQ1GLunZqug57YG+4p7X88bRBVZnzQgxsCcIO1Csfxc37RsR 6 | W/S5LLrwELlthS4Qqzpl1FVPd/DmZEEUn5SEg/NJHeIvSRKCimD19Ypo2jLoCENL 7 | WgatqK2OrJ2vCQFFQ1uljt8FRCeJgQIDAQABoCUwIwYJKoZIhvcNAQkHMRYTFEEg 8 | Y2hhbGxlbmdlIHBhc3N3b3JkMA0GCSqGSIb3DQEBBQUAA4GBAB5NvNSHX+WDlF5R 9 | LNr7SI2NzIy5OWEAgTxLkvS0NS75zlDLScaqwgs1uNfB2AnH0Fpw9+pePEijlb+L 10 | 3VRLNpV8hRn5TKztlS3O0Z4PPb7hlDHitXukTOQYrq0juQacodVSgWqNbac+O2yK 11 | qf4Y3A7kQO1qmDOfN6QJFYVIpPiP 12 | -----END CERTIFICATE REQUEST----- 13 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/client1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXAIBAAKBgQDGFLisrsU/d8760pi/CDCPMbvHT94kWQ1GLunZqug57YG+4p7X 3 | 88bRBVZnzQgxsCcIO1Csfxc37RsRW/S5LLrwELlthS4Qqzpl1FVPd/DmZEEUn5SE 4 | g/NJHeIvSRKCimD19Ypo2jLoCENLWgatqK2OrJ2vCQFFQ1uljt8FRCeJgQIDAQAB 5 | AoGAbfcM+xjfejeqGYcWs175jlVe2OyW93jUrLTYsDV4TMh08iLfaiX0pw+eg2vI 6 | 88TGNoSvacP4gNzJ3R4+wxp5AFlRKZ876yL7D0VKavMFwbyRk21+D/tLGvW6gqOC 7 | 4qi4IWSkfgBh5RK+o4jZcl5tzRPQyuxR3pJGBS33q5K2dEECQQDhV4NuKZcGDnKt 8 | 1AhmtzqsJ4wrp2a3ysZYDTWyA692NGXi2Vnpnc6Aw9JchJhT3cueFLcOTFrb/ttu 9 | ZC/iA67pAkEA4Qe7LvcPvHlwNAmzqzOg2lYAqq+aJY2ghfJMqr3dPCJqbHJnLN6p 10 | GXsqGngwVlnvso0O/n5g30UmzvkRMFZW2QJAbOMQy0alh3OrzntKo/eeDln9zYpS 11 | hDUjqqCXdbF6M7AWG4vTeqOaiXYWTEZ2JPBj17tCyVH0BaIc/jbDPH9zIQJBALei 12 | YH0l/oB2tTqyBB2cpxIlhqvDW05z8d/859WZ1PVivGg9P7cdCO+TU7uAAyokgHe7 13 | ptXFefYZb18NX5qLipkCQHjIo4BknrO1oisfsusWcCC700aRIYIDk0QyEEIAY3+9 14 | 7ar/Oo1EbqWA/qN7zByPuTKrjrb91/D+IMFUFgb4RWc= 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/client1.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 9999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | 8 | [ req_distinguished_name ] 9 | C = JP 10 | OU = nodejs_jp 11 | CN = localhost 12 | emailAddress = koichik@improvement.jp 13 | 14 | [ req_attributes ] 15 | challengePassword = A challenge password 16 | 17 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/client2-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICKTCCAZICCQCwH+BBai7c9TANBgkqhkiG9w0BAQUFADBWMQswCQYDVQQGEwJK 3 | UDESMBAGA1UECxQJbm9kZWpzX2pwMQwwCgYDVQQDEwNjYTQxJTAjBgkqhkiG9w0B 4 | CQEWFmtvaWNoaWtAaW1wcm92ZW1lbnQuanAwHhcNMTMxMjI0MTEyMzIxWhcNNDEw 5 | NTEwMTEyMzIxWjBcMQswCQYDVQQGEwJKUDESMBAGA1UECxQJbm9kZWpzX2pwMRIw 6 | EAYDVQQDEwlsb2NhbGhvc3QxJTAjBgkqhkiG9w0BCQEWFmtvaWNoaWtAaW1wcm92 7 | ZW1lbnQuanAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMJQGt34PZX5pQmi 8 | 3bNp3dryr7qPO3oGhTeShLCeZ6PPCdnmVl0PnT0n8/DFBlaijbvXGU9AjcFZ7gg7 9 | hcSAFLGmPEb2pug021yzl7u0qUD2fnVaEzfJ04ZU4lUCFqGKsfFVQuIkDHFwadbE 10 | AO+8EqOmDynUMkKfHPWQK6O9jt5ZAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEA143M 11 | QIygJGDv2GFKlVgV05/CYZo6ouX9I6vPRekJnGeL98lmVH83Ogb7Xmc2SbJ18qFq 12 | naBYnUEmHPUAZ2Ms2KuV3OOvscUSCsEJ4utJYznOT8PsemxVWrgG1Ba+zpnPkdII 13 | p+PanKCsclNUKwBlSkJ8XfGi9CAZJBykwws3O1c= 14 | -----END CERTIFICATE----- 15 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/client2-csr.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBwTCCASoCAQAwXDELMAkGA1UEBhMCSlAxEjAQBgNVBAsUCW5vZGVqc19qcDES 3 | MBAGA1UEAxMJbG9jYWxob3N0MSUwIwYJKoZIhvcNAQkBFhZrb2ljaGlrQGltcHJv 4 | dmVtZW50LmpwMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDCUBrd+D2V+aUJ 5 | ot2zad3a8q+6jzt6BoU3koSwnmejzwnZ5lZdD509J/PwxQZWoo271xlPQI3BWe4I 6 | O4XEgBSxpjxG9qboNNtcs5e7tKlA9n51WhM3ydOGVOJVAhahirHxVULiJAxxcGnW 7 | xADvvBKjpg8p1DJCnxz1kCujvY7eWQIDAQABoCUwIwYJKoZIhvcNAQkHMRYTFEEg 8 | Y2hhbGxlbmdlIHBhc3N3b3JkMA0GCSqGSIb3DQEBBQUAA4GBAA//UPKPpVEpflDj 9 | DBboWewa6yw8FEOnMvh6eeg/a8KbXfIYnkZRtxbmH06ygywBy/RUBCbM5EzyElkJ 10 | bTVKorzCHnxuTfSnKQ68ZD+vI2SNjiWqQFXW6oOCPzLbtaTJVKw5D6ylBp8Zsu6n 11 | BzQ/4Y42aX/HW4nfJeDydxNFYVJJ 12 | -----END CERTIFICATE REQUEST----- 13 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/client2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICWwIBAAKBgQDCUBrd+D2V+aUJot2zad3a8q+6jzt6BoU3koSwnmejzwnZ5lZd 3 | D509J/PwxQZWoo271xlPQI3BWe4IO4XEgBSxpjxG9qboNNtcs5e7tKlA9n51WhM3 4 | ydOGVOJVAhahirHxVULiJAxxcGnWxADvvBKjpg8p1DJCnxz1kCujvY7eWQIDAQAB 5 | AoGAbiT0JdCaMFIzb/PnEdU30e1xGSIpx7C8gNTH7EnOW7d3URHU8KlyKwFjsJ4u 6 | SpuYFdsG2Lqx3+D3IamD2O/1SgODmtdFas1C/hQ2zx42SgyBQolVJU1MHJxHqmCb 7 | nm2Wo8aHmvFXpQ8OF4YJLPxLOSdvmq0PC17evDyjz5PciWUCQQD5yzaBpJ7yzGwd 8 | b6nreWj6pt+jfi11YsA3gAdvTJcFzMGyNNC+U9OExjQqHsyaHyxGhHKQ6y+ybZkR 9 | BggkudPfAkEAxyQC/hmcvWegdGI4xOJNbm0kv8UyxyeqhtgzEW2hWgEQs4k3fflZ 10 | iNpvxyIBIp/7zZo02YqeQfZlDYuxKypUxwJAa6jQBzRCZXcBqfY0kA611kIR5U8+ 11 | nHdBTSpbCfdCp/dGDF6DEWTjpzgdx4GawVpqJMJ09kzHM+nUrOeinuGQlQJAMAsV 12 | Gb6OHPfaMxnbPkymh6SXQBjQNlHwhxWzxFmhmrg1EkthcufsXOLuIqmmgnb8Zc71 13 | PyJ9KcbK/GieNp7A0wJAIz3Mm3Up9Rlk25TH9k5e3ELjC6fkd93u94Uo145oTgDm 14 | HSbCbjifP5eVl66PztxZppG2GBXiXT0hA/RMruTQMg== 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/client2.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 9999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | 8 | [ req_distinguished_name ] 9 | C = JP 10 | OU = nodejs_jp 11 | CN = localhost 12 | emailAddress = koichik@improvement.jp 13 | 14 | [ req_attributes ] 15 | challengePassword = A challenge password 16 | 17 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/proxy1-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICKTCCAZICCQCb8tSy4A7fFTANBgkqhkiG9w0BAQUFADBWMQswCQYDVQQGEwJK 3 | UDESMBAGA1UECxQJbm9kZWpzX2pwMQwwCgYDVQQDEwNjYTIxJTAjBgkqhkiG9w0B 4 | CQEWFmtvaWNoaWtAaW1wcm92ZW1lbnQuanAwHhcNMTMxMjI0MTEyMzIxWhcNNDEw 5 | NTEwMTEyMzIxWjBcMQswCQYDVQQGEwJKUDESMBAGA1UECxQJbm9kZWpzX2pwMRIw 6 | EAYDVQQDEwlsb2NhbGhvc3QxJTAjBgkqhkiG9w0BCQEWFmtvaWNoaWtAaW1wcm92 7 | ZW1lbnQuanAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALiUyeosVxtJK8G4 8 | sAqU2DBLx5sMuZpV/YcW/YxUuJv3t/9TpVxcWAs6VRPzi5fqKe8TER8qxi1/I8zV 9 | Qks1gWyZ01reU6Wpdt1MZguF036W2qKOxlJXvnqnRDWu9IFf6KMjSJjFZb6nqhQv 10 | aiL/80hqc2qXVfuJbSYlGrKWFFINAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEABPIn 11 | +vQoDpJx7lVNJNOe7DE+ShCXCK6jkQY8+GQXB1sz5K0OWdZxUWOOp/fcjNJua0NM 12 | hgnylWu/pmjPh7c9xHdZhuh6LPD3F0k4QqK+I2rg45gdBPZT2IxEvxNYpGIfayvY 13 | ofOgbienn69tMzGCMF/lUmEJu7Bn08EbL+OyNBg= 14 | -----END CERTIFICATE----- 15 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/proxy1-csr.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBwTCCASoCAQAwXDELMAkGA1UEBhMCSlAxEjAQBgNVBAsUCW5vZGVqc19qcDES 3 | MBAGA1UEAxMJbG9jYWxob3N0MSUwIwYJKoZIhvcNAQkBFhZrb2ljaGlrQGltcHJv 4 | dmVtZW50LmpwMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4lMnqLFcbSSvB 5 | uLAKlNgwS8ebDLmaVf2HFv2MVLib97f/U6VcXFgLOlUT84uX6invExEfKsYtfyPM 6 | 1UJLNYFsmdNa3lOlqXbdTGYLhdN+ltqijsZSV756p0Q1rvSBX+ijI0iYxWW+p6oU 7 | L2oi//NIanNql1X7iW0mJRqylhRSDQIDAQABoCUwIwYJKoZIhvcNAQkHMRYTFEEg 8 | Y2hhbGxlbmdlIHBhc3N3b3JkMA0GCSqGSIb3DQEBBQUAA4GBAFhZc2cvYGf8mCg/ 9 | 5nPWmnjNIqgy7uJnOGfE3AP4rW48yiVHCJK9ZmPogbH7gBMOBrrX8fLX3ThK9Sbj 10 | uJlBlZD/19zjM+kvJ14DcievJ15S3KehVQ6Ipmgbz/vnAaL1D+ZiOnjQad2/Fzg4 11 | 0MFXQaZFEUcI8fKnv/zmYi1aivej 12 | -----END CERTIFICATE REQUEST----- 13 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/proxy1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXQIBAAKBgQC4lMnqLFcbSSvBuLAKlNgwS8ebDLmaVf2HFv2MVLib97f/U6Vc 3 | XFgLOlUT84uX6invExEfKsYtfyPM1UJLNYFsmdNa3lOlqXbdTGYLhdN+ltqijsZS 4 | V756p0Q1rvSBX+ijI0iYxWW+p6oUL2oi//NIanNql1X7iW0mJRqylhRSDQIDAQAB 5 | AoGADPSkl4M1Of0QzTAhaxy3b+xhvkhOXr7aZLkAYvEvZAMnLwy39puksmUNw7C8 6 | g5U0DEvST9W4w0jBQodVd+Hxi4dUS4BLDVVStaLMa1Fjai/4uBPxbsrvdHzDu7if 7 | BI6t12vWNNRtTxbfCJ1Fs3nHvDG0ueBZX3fYWBIPPM4bRQECQQDjmCrxbkfFrN5z 8 | JXHfmzoNovV7KzgwRLKOLF17dYnhaG3G77JYjhEjIg5VXmQ8XJrwS45C/io5feFA 9 | qrsy/0v1AkEAz55QK8CLue+sn0J8Yw//yLjJT6BK4pCFFKDxyAvP/3r4t7+1TgDj 10 | KAfUMWb5Hcn9iT3sEykUeOe0ghU0h5X2uQJBAKES2qGPuP/vvmejwpnMVCO+hxmq 11 | ltOiavQv9eEgaHq826SFk6UUtpA01AwbB7momIckEgTbuKqDql2H94C6KdkCQQC7 12 | PfrtyoP5V8dmBk8qBEbZ3pVn45dFx7LNzOzhTo3yyhO/m/zGcZRsCMt9FnI7RG0M 13 | tjTPfvAArm8kFj2+vie5AkASvVx478N8so+02QWKme4T3ZDX+HDBXgFH1+SMD91m 14 | 9tS6x2dtTNvvwBA2KFI1fUg3B/wDoKJQRrqwdl8jpoGP 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/proxy1.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 9999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | 8 | [ req_distinguished_name ] 9 | C = JP 10 | OU = nodejs_jp 11 | CN = localhost 12 | emailAddress = koichik@improvement.jp 13 | 14 | [ req_attributes ] 15 | challengePassword = A challenge password 16 | 17 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/proxy2-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICJjCCAY8CCQCb8tSy4A7fFjANBgkqhkiG9w0BAQUFADBWMQswCQYDVQQGEwJK 3 | UDESMBAGA1UECxQJbm9kZWpzX2pwMQwwCgYDVQQDEwNjYTIxJTAjBgkqhkiG9w0B 4 | CQEWFmtvaWNoaWtAaW1wcm92ZW1lbnQuanAwHhcNMTMxMjI0MTEyMzIxWhcNNDEw 5 | NTEwMTEyMzIxWjBZMQswCQYDVQQGEwJKUDESMBAGA1UECxQJbm9kZWpzX2pwMQ8w 6 | DQYDVQQDEwZwcm94eTIxJTAjBgkqhkiG9w0BCQEWFmtvaWNoaWtAaW1wcm92ZW1l 7 | bnQuanAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALZ3oNCmB2P4Q9DoUVFq 8 | Z1ByASLm63jTPEumv2kX81GF5QMLRl59HBM6Te1rRR7wFHL0iBQUYuEzNPmedXpU 9 | cds0uWl5teoO63ZSKFL1QLU3PMFo56AeWeznxOhy6vwWv3M8C391X6lYsiBow3K9 10 | d37p//GLIR+jl6Q4xYD41zaxAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEADUQgtmot 11 | 8zqsRQInjWAypcntkxX8hdUOEudN2/zjX/YtMZbr8rRvsZzBsUDdgK+E2EmEb/N3 12 | 9ARZ0T2zWFFphJapkZOM1o1+LawN5ON5HfTPqr6d9qlHuRdGCBpXMUERO2V43Z+S 13 | Zwm+iw1yZEs4buTmiw6zu6Nq0fhBlTiAweE= 14 | -----END CERTIFICATE----- 15 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/proxy2-csr.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBvjCCAScCAQAwWTELMAkGA1UEBhMCSlAxEjAQBgNVBAsUCW5vZGVqc19qcDEP 3 | MA0GA1UEAxMGcHJveHkyMSUwIwYJKoZIhvcNAQkBFhZrb2ljaGlrQGltcHJvdmVt 4 | ZW50LmpwMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC2d6DQpgdj+EPQ6FFR 5 | amdQcgEi5ut40zxLpr9pF/NRheUDC0ZefRwTOk3ta0Ue8BRy9IgUFGLhMzT5nnV6 6 | VHHbNLlpebXqDut2UihS9UC1NzzBaOegHlns58Tocur8Fr9zPAt/dV+pWLIgaMNy 7 | vXd+6f/xiyEfo5ekOMWA+Nc2sQIDAQABoCUwIwYJKoZIhvcNAQkHMRYTFEEgY2hh 8 | bGxlbmdlIHBhc3N3b3JkMA0GCSqGSIb3DQEBBQUAA4GBADC4dh/+gQnJcPMQ0riJ 9 | CBVLygcCWxkNvwM3ARboyihuNbzFX1f2g23Zr5iLphiuEFCPDOyd26hHieQ8Xo1y 10 | FPuDXpWMx9X9MLjCWg8kdtada7HsYffbUvpjjL9TxFh+rX0cmr6Ixc5kV7AV4I6V 11 | 3h8BYJebX+XfuYrI1UwEqjqI 12 | -----END CERTIFICATE REQUEST----- 13 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/proxy2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXQIBAAKBgQC2d6DQpgdj+EPQ6FFRamdQcgEi5ut40zxLpr9pF/NRheUDC0Ze 3 | fRwTOk3ta0Ue8BRy9IgUFGLhMzT5nnV6VHHbNLlpebXqDut2UihS9UC1NzzBaOeg 4 | Hlns58Tocur8Fr9zPAt/dV+pWLIgaMNyvXd+6f/xiyEfo5ekOMWA+Nc2sQIDAQAB 5 | AoGBALPH0o9Bxu5c4pSnEdgh+oFskmoNE90MY9A2D0pA6uBcCHSjW0YmBs97FuTi 6 | WExPSBarkJgYLgStK3j3A9Dv+uzRRT0gSr34vKFh5ozI+nJZOMNJyHDOCFiT9sm7 7 | urDW0gSq9OW/H8NbAkxkBZw0PaB9oW5nljuieVIFDYXNAeMBAkEA6NfBHjzp3GS0 8 | RbtaBkxn3CRlEoUUPVd3sJ6lW2XBu5AWrgNHRSlh0oBupXgd3cxWIB69xPOg6QjU 9 | XmvcLjBlCQJBAMidTIw4s89m4+14eY/KuXaEgxW/awLEbQP2JDCjY1wT3Ya3Ggac 10 | HIFuGdTbd2faJPxNJjoljZnatSdwY5aXFmkCQBQZM5FBnsooYys1vdKXW8uz1Imh 11 | tRqKZ0l2mD1obi2bhWml3MwKg2ghL+vWj3VqwvBo1uaeRQB4g6RW2R2fjckCQQCf 12 | FnZ0oCafa2WGlMo5qDbI8K6PGXv/9srIoHH0jC0oAKzkvuEJqtTEIw6jCOM43PoF 13 | hhyxccRH5PNRckPXULs5AkACxKEL1dN+Bx72zE8jSU4DB5arpQdGOvuVsqXgVM/5 14 | QLneJEHGPCqNFS1OkWUYLtX0S28X5GmHMEpLRLpgE9JY 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/proxy2.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 9999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | 8 | [ req_distinguished_name ] 9 | C = JP 10 | OU = nodejs_jp 11 | CN = proxy2 12 | emailAddress = koichik@improvement.jp 13 | 14 | [ req_attributes ] 15 | challengePassword = A challenge password 16 | 17 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/server1-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICKTCCAZICCQCxEcnO8CV2kTANBgkqhkiG9w0BAQUFADBWMQswCQYDVQQGEwJK 3 | UDESMBAGA1UECxQJbm9kZWpzX2pwMQwwCgYDVQQDEwNjYTExJTAjBgkqhkiG9w0B 4 | CQEWFmtvaWNoaWtAaW1wcm92ZW1lbnQuanAwHhcNMTMxMjI0MTEyMzIxWhcNNDEw 5 | NTEwMTEyMzIxWjBcMQswCQYDVQQGEwJKUDESMBAGA1UECxQJbm9kZWpzX2pwMRIw 6 | EAYDVQQDEwlsb2NhbGhvc3QxJTAjBgkqhkiG9w0BCQEWFmtvaWNoaWtAaW1wcm92 7 | ZW1lbnQuanAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALYb3z6TVgD8VmV2 8 | i0IHoes/HNVz+/UgXxRoA7gTUXp4Q69HBymWwm4fG61YMn7XAjy0gyC2CX/C0S74 9 | ZzHkhq1DCXCtlXCDx5oZhSRPpa902MVdDSRR+naLA4PPFkV2pI53hsFW37M5Dhge 10 | +taFbih/dbjpOnhLD+SbkSKNTw/dAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAjDNi 11 | mdmMM8Of/8iCYISqkqCG+7fz747Ntkg5fVMPufkwrBfkD9UjYVbfIpEOkZ3L0If9 12 | 0/wNi0uZobIJnd/9B/e0cHKYnx0gkhUpMylaRvIV4odKe2vq3+mjwMb9syYXYDx3 13 | hw2qDMIIPr0S5ICeoIKXhbsYtODVxKSdJq+FjAI= 14 | -----END CERTIFICATE----- 15 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/server1-csr.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBwTCCASoCAQAwXDELMAkGA1UEBhMCSlAxEjAQBgNVBAsUCW5vZGVqc19qcDES 3 | MBAGA1UEAxMJbG9jYWxob3N0MSUwIwYJKoZIhvcNAQkBFhZrb2ljaGlrQGltcHJv 4 | dmVtZW50LmpwMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC2G98+k1YA/FZl 5 | dotCB6HrPxzVc/v1IF8UaAO4E1F6eEOvRwcplsJuHxutWDJ+1wI8tIMgtgl/wtEu 6 | +Gcx5IatQwlwrZVwg8eaGYUkT6WvdNjFXQ0kUfp2iwODzxZFdqSOd4bBVt+zOQ4Y 7 | HvrWhW4of3W46Tp4Sw/km5EijU8P3QIDAQABoCUwIwYJKoZIhvcNAQkHMRYTFEEg 8 | Y2hhbGxlbmdlIHBhc3N3b3JkMA0GCSqGSIb3DQEBBQUAA4GBAJLLYClTc1BZbQi4 9 | 2GrGEimzJoheXXD1vepECS6TaeYJFSQldMGdkn5D8TMXWW115V4hw7a1pCwvRBPH 10 | dVEeh3u3ktI1e4pS5ozvpbpYanILrHCNOQ4PvKi9rzG9Km8CprPcrJCZlWf2QUBK 11 | gVNgqZJeqyEcBu80/ajjc6xrZsSP 12 | -----END CERTIFICATE REQUEST----- 13 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXQIBAAKBgQC2G98+k1YA/FZldotCB6HrPxzVc/v1IF8UaAO4E1F6eEOvRwcp 3 | lsJuHxutWDJ+1wI8tIMgtgl/wtEu+Gcx5IatQwlwrZVwg8eaGYUkT6WvdNjFXQ0k 4 | Ufp2iwODzxZFdqSOd4bBVt+zOQ4YHvrWhW4of3W46Tp4Sw/km5EijU8P3QIDAQAB 5 | AoGAcDioz+T3gM//ZbMxidUuQMu5twgsYhg6v1aBxDOTaEcoXqEElupikn31DlNl 6 | eqiApmwOyl+jZunlAm7tGN/c5WjmZtW6watv1D7HjDIFJQBdiOv2jLeV5gsoArMP 7 | f8Y13MS68nJ7/ZkqisovjBlD7ZInbyUiJj0FH/cazauflIECQQDwHgQ0J46eL5EG 8 | 3smQQG9/8b/Wsnf8s9Vz6X/KptsbL3c7mCBY9/+cGw0xVxoUOyO7KGPzpRhtz4Y0 9 | oP+JwISxAkEAwieUtl+SuUAn6er1tZzPPiAM2w6XGOAod+HuPjTAKVhLKHYIEJbU 10 | jhPdjOGtZr10ED9g0m7M4n3JKMMM00W47QJBAOVkp7tztwpkgva/TG0lQeBHgnCI 11 | G50t6NRN1Koz8crs88nZMb4NXwMxzM7AWcfOH/qjQan4pXfy9FG/JaHibGECQH8i 12 | L+zj1E3dxsUTh+VuUv5ZOlHO0f4F+jnWBY1SOWpZWI2cDFfgjDqko3R26nbWI8Pn 13 | 3FyvFRZSS4CXiDRn+VkCQQCKPBl60QAifkZITqL0dCs+wB2hhmlWwqlpq1ZgeCby 14 | zwmZY1auUK1BYBX1aPB85+Bm2Zhp5jnkwRcO7iSYy8+C 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/server1.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 9999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | 8 | [ req_distinguished_name ] 9 | C = JP 10 | OU = nodejs_jp 11 | CN = localhost 12 | emailAddress = koichik@improvement.jp 13 | 14 | [ req_attributes ] 15 | challengePassword = A challenge password 16 | 17 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/server2-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICJzCCAZACCQCxEcnO8CV2kjANBgkqhkiG9w0BAQUFADBWMQswCQYDVQQGEwJK 3 | UDESMBAGA1UECxQJbm9kZWpzX2pwMQwwCgYDVQQDEwNjYTExJTAjBgkqhkiG9w0B 4 | CQEWFmtvaWNoaWtAaW1wcm92ZW1lbnQuanAwHhcNMTMxMjI0MTEyMzIxWhcNNDEw 5 | NTEwMTEyMzIxWjBaMQswCQYDVQQGEwJKUDESMBAGA1UECxQJbm9kZWpzX2pwMRAw 6 | DgYDVQQDEwdzZXJ2ZXIyMSUwIwYJKoZIhvcNAQkBFhZrb2ljaGlrQGltcHJvdmVt 7 | ZW50LmpwMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEkKr9SHG6jtf5UNfL 8 | u66wNi8jrbAW5keYy7ECWRGRFDE7ay4N8LDMmOO3/1eH2WpY0QM5JFxq78hoVQED 9 | ogvoeVTw+Ni33yqY6VL2WRv84FN2BmCrDGJQ83EYdsJqPUnxuXvbmq7Viw3l/BEu 10 | hvsp722KcToIrqt8mHKMc/nPRwIDAQABMA0GCSqGSIb3DQEBBQUAA4GBALbdQz32 11 | CN0hJfJ6BtGyqee3zRSpufPY1KFV8OHSDG4qL55OfpjB5e5wsldp3VChTWzm2KM+ 12 | xg9WSWurMINM5KLgUqCZ69ttg1gJ/SnZNolXhH0I3SG/DY4DGTHo9oJPoSrgrWbX 13 | 3ZmCoO6rrDoSuVRJ8dKMWJmt8O1pZ6ZRW2iM 14 | -----END CERTIFICATE----- 15 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/server2-csr.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBvzCCASgCAQAwWjELMAkGA1UEBhMCSlAxEjAQBgNVBAsUCW5vZGVqc19qcDEQ 3 | MA4GA1UEAxMHc2VydmVyMjElMCMGCSqGSIb3DQEJARYWa29pY2hpa0BpbXByb3Zl 4 | bWVudC5qcDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxJCq/Uhxuo7X+VDX 5 | y7uusDYvI62wFuZHmMuxAlkRkRQxO2suDfCwzJjjt/9Xh9lqWNEDOSRcau/IaFUB 6 | A6IL6HlU8PjYt98qmOlS9lkb/OBTdgZgqwxiUPNxGHbCaj1J8bl725qu1YsN5fwR 7 | Lob7Ke9tinE6CK6rfJhyjHP5z0cCAwEAAaAlMCMGCSqGSIb3DQEJBzEWExRBIGNo 8 | YWxsZW5nZSBwYXNzd29yZDANBgkqhkiG9w0BAQUFAAOBgQB3rCGCErgshGKEI5j9 9 | togUBwD3ul91yRFSBoV2hVGXsTOalWa0XCI+9+5QQEOBlj1pUT8eDU8ve55mX1UX 10 | AZEx+cbUQa9DNeiDAMX83GqHMD8fF2zqsY1mkg5zFKG3nhoIYSG15qXcpqAhxRpX 11 | NUQnZ4yzt2pE0aiFfkXa3PM42Q== 12 | -----END CERTIFICATE REQUEST----- 13 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/server2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXQIBAAKBgQDEkKr9SHG6jtf5UNfLu66wNi8jrbAW5keYy7ECWRGRFDE7ay4N 3 | 8LDMmOO3/1eH2WpY0QM5JFxq78hoVQEDogvoeVTw+Ni33yqY6VL2WRv84FN2BmCr 4 | DGJQ83EYdsJqPUnxuXvbmq7Viw3l/BEuhvsp722KcToIrqt8mHKMc/nPRwIDAQAB 5 | AoGAQ/bRaGoYCK1DN80gEC2ApSTW/7saW5CbyNUFCw7I6CTXMPhKID/MobFraz86 6 | gJpIDxWVy7gqzD7ESG67vwnUm52ITojQiY3JH7NCNhq/39/aYZOz2d7rBv2mvhk3 7 | w7gxUsmtPVUz3s2/h1KYaGpM3b68TwMS9nIiwwHDJS1aR8ECQQDu/kOy+Z/0EVKC 8 | APgiEzbxewAiy7BVzNppd8CR/5m1KxlsIoMr8OdLqVwiJ/13m3eZGkPNx5pLJ9Xv 9 | sXER0ZcPAkEA0o19xA1AJ/v5qsRaWJaA+ftgQ8ZanqsWXhM9abAvkPdFLPKYWTfO 10 | r9f8eUDH0+O9mA2eZ2mlsEcsmIHDTY6ESQJAO2lyIvfzT5VO0Yq0JKRqMDXHnt7M 11 | A0hds4JVmPXVnDgOpdcejLniheigQs12MVmwrZrd6DYKoUxR3rhZx3g2+QJBAK/2 12 | 5fuaI1sHP+HSlbrhlUrWJd6egA+I5nma1MFmKGqb7Kki2eX+OPNGq87eL+LKuyG/ 13 | h/nfFkTbRs7x67n+eFkCQQCPgy381Vpa7lmoNUfEVeMSNe74FNL05IlPDs/BHcci 14 | 1GX9XzsFEqHLtJ5t1aWbGv39gb2WmPP3LJBsRPzLa2iQ 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/server2.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 9999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | 8 | [ req_distinguished_name ] 9 | C = JP 10 | OU = nodejs_jp 11 | CN = server2 12 | emailAddress = koichik@improvement.jp 13 | 14 | [ req_attributes ] 15 | challengePassword = A challenge password 16 | 17 | -------------------------------------------------------------------------------- /node_modules/tunnel/test/keys/test.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'); 2 | var tls = require('tls'); 3 | 4 | var server1Key = fs.readFileSync(__dirname + '/server1-key.pem'); 5 | var server1Cert = fs.readFileSync(__dirname + '/server1-cert.pem'); 6 | var clientKey = fs.readFileSync(__dirname + '/client-key.pem'); 7 | var clientCert = fs.readFileSync(__dirname + '/client-cert.pem'); 8 | var ca1Cert = fs.readFileSync(__dirname + '/ca1-cert.pem'); 9 | var ca3Cert = fs.readFileSync(__dirname + '/ca3-cert.pem'); 10 | 11 | var server = tls.createServer({ 12 | key: server1Key, 13 | cert: server1Cert, 14 | ca: [ca3Cert], 15 | requestCert: true, 16 | rejectUnauthorized: true, 17 | }, function(s) { 18 | console.log('connected on server'); 19 | s.on('data', function(chunk) { 20 | console.log('S:' + chunk); 21 | s.write(chunk); 22 | }); 23 | s.setEncoding('utf8'); 24 | }).listen(3000, function() { 25 | var c = tls.connect({ 26 | host: 'localhost', 27 | port: 3000, 28 | key: clientKey, 29 | cert: clientCert, 30 | ca: [ca1Cert], 31 | rejectUnauthorized: true 32 | }, function() { 33 | console.log('connected on client'); 34 | c.on('data', function(chunk) { 35 | console.log('C:' + chunk); 36 | }); 37 | c.setEncoding('utf8'); 38 | c.write('Hello'); 39 | }); 40 | c.on('error', function(err) { 41 | console.log(err); 42 | }); 43 | }); 44 | -------------------------------------------------------------------------------- /node_modules/typed-rest-client/Handlers.d.ts: -------------------------------------------------------------------------------- 1 | export { BasicCredentialHandler } from "./handlers/basiccreds"; 2 | export { BearerCredentialHandler } from "./handlers/bearertoken"; 3 | export { NtlmCredentialHandler } from "./handlers/ntlm"; 4 | export { PersonalAccessTokenCredentialHandler } from "./handlers/personalaccesstoken"; 5 | -------------------------------------------------------------------------------- /node_modules/typed-rest-client/Handlers.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var basiccreds_1 = require("./handlers/basiccreds"); 4 | exports.BasicCredentialHandler = basiccreds_1.BasicCredentialHandler; 5 | var bearertoken_1 = require("./handlers/bearertoken"); 6 | exports.BearerCredentialHandler = bearertoken_1.BearerCredentialHandler; 7 | var ntlm_1 = require("./handlers/ntlm"); 8 | exports.NtlmCredentialHandler = ntlm_1.NtlmCredentialHandler; 9 | var personalaccesstoken_1 = require("./handlers/personalaccesstoken"); 10 | exports.PersonalAccessTokenCredentialHandler = personalaccesstoken_1.PersonalAccessTokenCredentialHandler; 11 | -------------------------------------------------------------------------------- /node_modules/typed-rest-client/Index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure/k8s-actions/7a93ceb73dcebce42afdbb13e5eca8548143a281/node_modules/typed-rest-client/Index.d.ts -------------------------------------------------------------------------------- /node_modules/typed-rest-client/Index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /node_modules/typed-rest-client/Interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 4 | Object.defineProperty(exports, "__esModule", { value: true }); 5 | ; 6 | -------------------------------------------------------------------------------- /node_modules/typed-rest-client/LICENSE: -------------------------------------------------------------------------------- 1 | Typed Rest Client for Node.js 2 | 3 | Copyright (c) Microsoft Corporation 4 | 5 | All rights reserved. 6 | 7 | MIT License 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and 10 | associated documentation files (the "Software"), to deal in the Software without restriction, 11 | including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 12 | and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, 13 | subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT 18 | LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN 19 | NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 21 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /node_modules/typed-rest-client/Util.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * creates an url from a request url and optional base url (http://server:8080) 3 | * @param {string} resource - a fully qualified url or relative path 4 | * @param {string} baseUrl - an optional baseUrl (http://server:8080) 5 | * @return {string} - resultant url 6 | */ 7 | export declare function getUrl(resource: string, baseUrl?: string): string; 8 | -------------------------------------------------------------------------------- /node_modules/typed-rest-client/Util.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 4 | Object.defineProperty(exports, "__esModule", { value: true }); 5 | const url = require("url"); 6 | const path = require("path"); 7 | /** 8 | * creates an url from a request url and optional base url (http://server:8080) 9 | * @param {string} resource - a fully qualified url or relative path 10 | * @param {string} baseUrl - an optional baseUrl (http://server:8080) 11 | * @return {string} - resultant url 12 | */ 13 | function getUrl(resource, baseUrl) { 14 | const pathApi = path.posix || path; 15 | if (!baseUrl) { 16 | return resource; 17 | } 18 | else if (!resource) { 19 | return baseUrl; 20 | } 21 | else { 22 | const base = url.parse(baseUrl); 23 | const resultantUrl = url.parse(resource); 24 | // resource (specific per request) elements take priority 25 | resultantUrl.protocol = resultantUrl.protocol || base.protocol; 26 | resultantUrl.auth = resultantUrl.auth || base.auth; 27 | resultantUrl.host = resultantUrl.host || base.host; 28 | resultantUrl.pathname = pathApi.resolve(base.pathname, resultantUrl.pathname); 29 | if (!resultantUrl.pathname.endsWith('/') && resource.endsWith('/')) { 30 | resultantUrl.pathname += '/'; 31 | } 32 | return url.format(resultantUrl); 33 | } 34 | } 35 | exports.getUrl = getUrl; 36 | -------------------------------------------------------------------------------- /node_modules/typed-rest-client/handlers/basiccreds.d.ts: -------------------------------------------------------------------------------- 1 | import ifm = require('../Interfaces'); 2 | export declare class BasicCredentialHandler implements ifm.IRequestHandler { 3 | username: string; 4 | password: string; 5 | constructor(username: string, password: string); 6 | prepareRequest(options: any): void; 7 | canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; 8 | handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/typed-rest-client/handlers/basiccreds.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 4 | Object.defineProperty(exports, "__esModule", { value: true }); 5 | class BasicCredentialHandler { 6 | constructor(username, password) { 7 | this.username = username; 8 | this.password = password; 9 | } 10 | // currently implements pre-authorization 11 | // TODO: support preAuth = false where it hooks on 401 12 | prepareRequest(options) { 13 | options.headers['Authorization'] = 'Basic ' + new Buffer(this.username + ':' + this.password).toString('base64'); 14 | options.headers['X-TFS-FedAuthRedirect'] = 'Suppress'; 15 | } 16 | // This handler cannot handle 401 17 | canHandleAuthentication(response) { 18 | return false; 19 | } 20 | handleAuthentication(httpClient, requestInfo, objs) { 21 | return null; 22 | } 23 | } 24 | exports.BasicCredentialHandler = BasicCredentialHandler; 25 | -------------------------------------------------------------------------------- /node_modules/typed-rest-client/handlers/bearertoken.d.ts: -------------------------------------------------------------------------------- 1 | import ifm = require('../Interfaces'); 2 | export declare class BearerCredentialHandler implements ifm.IRequestHandler { 3 | token: string; 4 | constructor(token: string); 5 | prepareRequest(options: any): void; 6 | canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; 7 | handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/typed-rest-client/handlers/bearertoken.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 4 | Object.defineProperty(exports, "__esModule", { value: true }); 5 | class BearerCredentialHandler { 6 | constructor(token) { 7 | this.token = token; 8 | } 9 | // currently implements pre-authorization 10 | // TODO: support preAuth = false where it hooks on 401 11 | prepareRequest(options) { 12 | options.headers['Authorization'] = 'Bearer ' + this.token; 13 | options.headers['X-TFS-FedAuthRedirect'] = 'Suppress'; 14 | } 15 | // This handler cannot handle 401 16 | canHandleAuthentication(response) { 17 | return false; 18 | } 19 | handleAuthentication(httpClient, requestInfo, objs) { 20 | return null; 21 | } 22 | } 23 | exports.BearerCredentialHandler = BearerCredentialHandler; 24 | -------------------------------------------------------------------------------- /node_modules/typed-rest-client/handlers/ntlm.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import ifm = require('../Interfaces'); 3 | import http = require("http"); 4 | export declare class NtlmCredentialHandler implements ifm.IRequestHandler { 5 | private _ntlmOptions; 6 | constructor(username: string, password: string, workstation?: string, domain?: string); 7 | prepareRequest(options: http.RequestOptions): void; 8 | canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; 9 | handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; 10 | private handleAuthenticationPrivate(httpClient, requestInfo, objs, finalCallback); 11 | private sendType1Message(httpClient, requestInfo, objs, finalCallback); 12 | private sendType3Message(httpClient, requestInfo, objs, res, callback); 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/typed-rest-client/handlers/personalaccesstoken.d.ts: -------------------------------------------------------------------------------- 1 | import ifm = require('../Interfaces'); 2 | export declare class PersonalAccessTokenCredentialHandler implements ifm.IRequestHandler { 3 | token: string; 4 | constructor(token: string); 5 | prepareRequest(options: any): void; 6 | canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; 7 | handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/typed-rest-client/handlers/personalaccesstoken.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 4 | Object.defineProperty(exports, "__esModule", { value: true }); 5 | class PersonalAccessTokenCredentialHandler { 6 | constructor(token) { 7 | this.token = token; 8 | } 9 | // currently implements pre-authorization 10 | // TODO: support preAuth = false where it hooks on 401 11 | prepareRequest(options) { 12 | options.headers['Authorization'] = 'Basic ' + new Buffer('PAT:' + this.token).toString('base64'); 13 | options.headers['X-TFS-FedAuthRedirect'] = 'Suppress'; 14 | } 15 | // This handler cannot handle 401 16 | canHandleAuthentication(response) { 17 | return false; 18 | } 19 | handleAuthentication(httpClient, requestInfo, objs) { 20 | return null; 21 | } 22 | } 23 | exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler; 24 | -------------------------------------------------------------------------------- /node_modules/typed-rest-client/opensource/node-http-ntlm/readme.txt: -------------------------------------------------------------------------------- 1 | // This software (ntlm.js) was copied from a file of the same name at https://github.com/SamDecrock/node-http-ntlm/blob/master/ntlm.js. 2 | // 3 | // As of this writing, it is a part of the node-http-ntlm module produced by SamDecrock. 4 | // 5 | // It is used as a part of the NTLM support provided by the vso-node-api library. 6 | // 7 | -------------------------------------------------------------------------------- /node_modules/underscore/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative 2 | Reporters & Editors 3 | 4 | Permission is hereby granted, free of charge, to any person 5 | obtaining a copy of this software and associated documentation 6 | files (the "Software"), to deal in the Software without 7 | restriction, including without limitation the rights to use, 8 | copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the 10 | Software is furnished to do so, subject to the following 11 | conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 23 | OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /node_modules/underscore/README.md: -------------------------------------------------------------------------------- 1 | __ 2 | /\ \ __ 3 | __ __ ___ \_\ \ __ _ __ ____ ___ ___ _ __ __ /\_\ ____ 4 | /\ \/\ \ /' _ `\ /'_ \ /'__`\/\ __\/ ,__\ / ___\ / __`\/\ __\/'__`\ \/\ \ /',__\ 5 | \ \ \_\ \/\ \/\ \/\ \ \ \/\ __/\ \ \//\__, `\/\ \__//\ \ \ \ \ \//\ __/ __ \ \ \/\__, `\ 6 | \ \____/\ \_\ \_\ \___,_\ \____\\ \_\\/\____/\ \____\ \____/\ \_\\ \____\/\_\ _\ \ \/\____/ 7 | \/___/ \/_/\/_/\/__,_ /\/____/ \/_/ \/___/ \/____/\/___/ \/_/ \/____/\/_//\ \_\ \/___/ 8 | \ \____/ 9 | \/___/ 10 | 11 | Underscore.js is a utility-belt library for JavaScript that provides 12 | support for the usual functional suspects (each, map, reduce, filter...) 13 | without extending any core JavaScript objects. 14 | 15 | For Docs, License, Tests, and pre-packed downloads, see: 16 | http://underscorejs.org 17 | 18 | Underscore is an open-sourced component of DocumentCloud: 19 | https://github.com/documentcloud 20 | 21 | Many thanks to our contributors: 22 | https://github.com/jashkenas/underscore/contributors 23 | -------------------------------------------------------------------------------- /node_modules/uuid/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | "env": { 4 | "browser": true, 5 | "commonjs": true, 6 | "node": true, 7 | "mocha": true 8 | }, 9 | "extends": ["eslint:recommended"], 10 | "rules": { 11 | "array-bracket-spacing": ["warn", "never"], 12 | "arrow-body-style": ["warn", "as-needed"], 13 | "arrow-parens": ["warn", "as-needed"], 14 | "arrow-spacing": "warn", 15 | "brace-style": ["warn", "1tbs"], 16 | "camelcase": "warn", 17 | "comma-spacing": ["warn", {"after": true}], 18 | "dot-notation": "warn", 19 | "eqeqeq": ["warn", "smart"], 20 | "indent": ["warn", 2, { 21 | "SwitchCase": 1, 22 | "FunctionDeclaration": {"parameters": 1}, 23 | "MemberExpression": 1, 24 | "CallExpression": {"arguments": 1} 25 | }], 26 | "key-spacing": ["warn", {"beforeColon": false, "afterColon": true, "mode": "minimum"}], 27 | "keyword-spacing": "warn", 28 | "no-console": "off", 29 | "no-empty": "off", 30 | "no-multi-spaces": "warn", 31 | "no-redeclare": "off", 32 | "no-restricted-globals": ["warn", "Promise"], 33 | "no-trailing-spaces": "warn", 34 | "no-undef": "error", 35 | "no-unused-vars": ["warn", {"args": "none"}], 36 | "one-var": ["warn", "never"], 37 | "padded-blocks": ["warn", "never"], 38 | "object-curly-spacing": ["warn", "never"], 39 | "quotes": ["warn", "single"], 40 | "react/prop-types": "off", 41 | "react/jsx-no-bind": "off", 42 | "semi": ["warn", "always"], 43 | "space-before-blocks": ["warn", "always"], 44 | "space-before-function-paren": ["warn", "never"], 45 | "space-in-parens": ["warn", "never"] 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /node_modules/uuid/AUTHORS: -------------------------------------------------------------------------------- 1 | Robert Kieffer 2 | Christoph Tavan 3 | AJ ONeal 4 | Vincent Voyer 5 | Roman Shtylman 6 | -------------------------------------------------------------------------------- /node_modules/uuid/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2010-2016 Robert Kieffer and other contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /node_modules/uuid/index.js: -------------------------------------------------------------------------------- 1 | var v1 = require('./v1'); 2 | var v4 = require('./v4'); 3 | 4 | var uuid = v4; 5 | uuid.v1 = v1; 6 | uuid.v4 = v4; 7 | 8 | module.exports = uuid; 9 | -------------------------------------------------------------------------------- /node_modules/uuid/lib/bytesToUuid.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Convert array of 16 byte values to UUID string format of the form: 3 | * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX 4 | */ 5 | var byteToHex = []; 6 | for (var i = 0; i < 256; ++i) { 7 | byteToHex[i] = (i + 0x100).toString(16).substr(1); 8 | } 9 | 10 | function bytesToUuid(buf, offset) { 11 | var i = offset || 0; 12 | var bth = byteToHex; 13 | // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 14 | return ([bth[buf[i++]], bth[buf[i++]], 15 | bth[buf[i++]], bth[buf[i++]], '-', 16 | bth[buf[i++]], bth[buf[i++]], '-', 17 | bth[buf[i++]], bth[buf[i++]], '-', 18 | bth[buf[i++]], bth[buf[i++]], '-', 19 | bth[buf[i++]], bth[buf[i++]], 20 | bth[buf[i++]], bth[buf[i++]], 21 | bth[buf[i++]], bth[buf[i++]]]).join(''); 22 | } 23 | 24 | module.exports = bytesToUuid; 25 | -------------------------------------------------------------------------------- /node_modules/uuid/lib/md5.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var crypto = require('crypto'); 4 | 5 | function md5(bytes) { 6 | if (typeof Buffer.from === 'function') { 7 | // Modern Buffer API 8 | if (Array.isArray(bytes)) { 9 | bytes = Buffer.from(bytes); 10 | } else if (typeof bytes === 'string') { 11 | bytes = Buffer.from(bytes, 'utf8'); 12 | } 13 | } else { 14 | // Pre-v4 Buffer API 15 | if (Array.isArray(bytes)) { 16 | bytes = new Buffer(bytes); 17 | } else if (typeof bytes === 'string') { 18 | bytes = new Buffer(bytes, 'utf8'); 19 | } 20 | } 21 | 22 | return crypto.createHash('md5').update(bytes).digest(); 23 | } 24 | 25 | module.exports = md5; 26 | -------------------------------------------------------------------------------- /node_modules/uuid/lib/rng-browser.js: -------------------------------------------------------------------------------- 1 | // Unique ID creation requires a high quality random # generator. In the 2 | // browser this is a little complicated due to unknown quality of Math.random() 3 | // and inconsistent support for the `crypto` API. We do the best we can via 4 | // feature-detection 5 | 6 | // getRandomValues needs to be invoked in a context where "this" is a Crypto 7 | // implementation. Also, find the complete implementation of crypto on IE11. 8 | var getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) || 9 | (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto)); 10 | 11 | if (getRandomValues) { 12 | // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto 13 | var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef 14 | 15 | module.exports = function whatwgRNG() { 16 | getRandomValues(rnds8); 17 | return rnds8; 18 | }; 19 | } else { 20 | // Math.random()-based (RNG) 21 | // 22 | // If all else fails, use Math.random(). It's fast, but is of unspecified 23 | // quality. 24 | var rnds = new Array(16); 25 | 26 | module.exports = function mathRNG() { 27 | for (var i = 0, r; i < 16; i++) { 28 | if ((i & 0x03) === 0) r = Math.random() * 0x100000000; 29 | rnds[i] = r >>> ((i & 0x03) << 3) & 0xff; 30 | } 31 | 32 | return rnds; 33 | }; 34 | } 35 | -------------------------------------------------------------------------------- /node_modules/uuid/lib/rng.js: -------------------------------------------------------------------------------- 1 | // Unique ID creation requires a high quality random # generator. In node.js 2 | // this is pretty straight-forward - we use the crypto API. 3 | 4 | var crypto = require('crypto'); 5 | 6 | module.exports = function nodeRNG() { 7 | return crypto.randomBytes(16); 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/uuid/lib/sha1.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var crypto = require('crypto'); 4 | 5 | function sha1(bytes) { 6 | if (typeof Buffer.from === 'function') { 7 | // Modern Buffer API 8 | if (Array.isArray(bytes)) { 9 | bytes = Buffer.from(bytes); 10 | } else if (typeof bytes === 'string') { 11 | bytes = Buffer.from(bytes, 'utf8'); 12 | } 13 | } else { 14 | // Pre-v4 Buffer API 15 | if (Array.isArray(bytes)) { 16 | bytes = new Buffer(bytes); 17 | } else if (typeof bytes === 'string') { 18 | bytes = new Buffer(bytes, 'utf8'); 19 | } 20 | } 21 | 22 | return crypto.createHash('sha1').update(bytes).digest(); 23 | } 24 | 25 | module.exports = sha1; 26 | -------------------------------------------------------------------------------- /node_modules/uuid/lib/v35.js: -------------------------------------------------------------------------------- 1 | var bytesToUuid = require('./bytesToUuid'); 2 | 3 | function uuidToBytes(uuid) { 4 | // Note: We assume we're being passed a valid uuid string 5 | var bytes = []; 6 | uuid.replace(/[a-fA-F0-9]{2}/g, function(hex) { 7 | bytes.push(parseInt(hex, 16)); 8 | }); 9 | 10 | return bytes; 11 | } 12 | 13 | function stringToBytes(str) { 14 | str = unescape(encodeURIComponent(str)); // UTF8 escape 15 | var bytes = new Array(str.length); 16 | for (var i = 0; i < str.length; i++) { 17 | bytes[i] = str.charCodeAt(i); 18 | } 19 | return bytes; 20 | } 21 | 22 | module.exports = function(name, version, hashfunc) { 23 | var generateUUID = function(value, namespace, buf, offset) { 24 | var off = buf && offset || 0; 25 | 26 | if (typeof(value) == 'string') value = stringToBytes(value); 27 | if (typeof(namespace) == 'string') namespace = uuidToBytes(namespace); 28 | 29 | if (!Array.isArray(value)) throw TypeError('value must be an array of bytes'); 30 | if (!Array.isArray(namespace) || namespace.length !== 16) throw TypeError('namespace must be uuid string or an Array of 16 byte values'); 31 | 32 | // Per 4.3 33 | var bytes = hashfunc(namespace.concat(value)); 34 | bytes[6] = (bytes[6] & 0x0f) | version; 35 | bytes[8] = (bytes[8] & 0x3f) | 0x80; 36 | 37 | if (buf) { 38 | for (var idx = 0; idx < 16; ++idx) { 39 | buf[off+idx] = bytes[idx]; 40 | } 41 | } 42 | 43 | return buf || bytesToUuid(bytes); 44 | }; 45 | 46 | // Function#name is not settable on some platforms (#270) 47 | try { 48 | generateUUID.name = name; 49 | } catch (err) { 50 | } 51 | 52 | // Pre-defined namespaces, per Appendix C 53 | generateUUID.DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8'; 54 | generateUUID.URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8'; 55 | 56 | return generateUUID; 57 | }; 58 | -------------------------------------------------------------------------------- /node_modules/uuid/v3.js: -------------------------------------------------------------------------------- 1 | var v35 = require('./lib/v35.js'); 2 | var md5 = require('./lib/md5'); 3 | 4 | module.exports = v35('v3', 0x30, md5); -------------------------------------------------------------------------------- /node_modules/uuid/v4.js: -------------------------------------------------------------------------------- 1 | var rng = require('./lib/rng'); 2 | var bytesToUuid = require('./lib/bytesToUuid'); 3 | 4 | function v4(options, buf, offset) { 5 | var i = buf && offset || 0; 6 | 7 | if (typeof(options) == 'string') { 8 | buf = options === 'binary' ? new Array(16) : null; 9 | options = null; 10 | } 11 | options = options || {}; 12 | 13 | var rnds = options.random || (options.rng || rng)(); 14 | 15 | // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` 16 | rnds[6] = (rnds[6] & 0x0f) | 0x40; 17 | rnds[8] = (rnds[8] & 0x3f) | 0x80; 18 | 19 | // Copy bytes to buffer, if provided 20 | if (buf) { 21 | for (var ii = 0; ii < 16; ++ii) { 22 | buf[i + ii] = rnds[ii]; 23 | } 24 | } 25 | 26 | return buf || bytesToUuid(rnds); 27 | } 28 | 29 | module.exports = v4; 30 | -------------------------------------------------------------------------------- /node_modules/uuid/v5.js: -------------------------------------------------------------------------------- 1 | var v35 = require('./lib/v35.js'); 2 | var sha1 = require('./lib/sha1'); 3 | module.exports = v35('v5', 0x50, sha1); 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "actions", 3 | "version": "0.0.0", 4 | "description": "Node modules for azure actions", 5 | "author": "Deepak Sattiraju", 6 | "license": "MIT", 7 | "dependencies": { 8 | "@actions/tool-cache": "file:./action-modules/actions-tool-cache-0.0.0.tgz", 9 | "@actions/io": "file:./action-modules/actions-io-0.0.0.tgz", 10 | "@actions/core": "file:./action-modules/actions-core-0.0.0.tgz", 11 | "@actions/exec": "file:./action-modules/actions-exec-0.0.0.tgz", 12 | "js-yaml": "3.13.1" 13 | }, 14 | "devDependencies": { 15 | "@types/node": "^12.0.10" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /setup-kubectl/README.md: -------------------------------------------------------------------------------- 1 | # Setup Kubectl 2 | #### Install a specific version of kubectl binary on the runner. 3 | 4 | Acceptable values are latest or any semantic version string like 1.15.0. Use this action in workflow to define which version of kubectl will be used. 5 | 6 | ```yaml 7 | - uses: azure/k8s-actions/setup-kubectl@master 8 | with: 9 | version: '' # default is latest stable 10 | id: install 11 | ``` 12 | Refer to the action metadata file for details about all the inputs https://github.com/Azure/k8s-actions/blob/master/setup-kubectl/action.yml 13 | -------------------------------------------------------------------------------- /setup-kubectl/action.yml: -------------------------------------------------------------------------------- 1 | name: 'Kubectl tool installer' 2 | description: 'Install a specific version of kubectl binary. Acceptable values are latest or any semantic version string like 1.15.0' 3 | inputs: 4 | version: 5 | description: 'Version of kubectl' 6 | required: true 7 | default: 'latest' 8 | deprecationMessage: 'This action is ARCHIVED and will not receive any updates, update your workflows to use the new action azure/setup-kubectl@v1' 9 | outputs: 10 | kubectl-path: 11 | description: 'Path to the cached kubectl binary' 12 | branding: 13 | color: 'blue' 14 | runs: 15 | using: 'node12' 16 | main: 'lib/run.js' 17 | -------------------------------------------------------------------------------- /setup-kubectl/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES6", 4 | "module": "commonjs" 5 | }, 6 | "exclude": [ 7 | "node_modules" 8 | ] 9 | } --------------------------------------------------------------------------------