From cb8c8186f11ad9e1139b1830b6ea830f4fa72251 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Mon, 8 Feb 2021 13:40:28 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- packages/core/api/src/index.js | 9 +- .../core/api/src/plugin/abstract-plugin.js | 6 +- packages/core/api/src/registry/registry.js | 13 +- packages/core/certd/package-lock.json | 17 + packages/core/certd/package.json | 2 +- packages/core/certd/src/index.js | 4 - packages/core/certd/test/index.test.js | 2 +- packages/core/executor/package.json | 7 +- packages/core/executor/src/index.js | 9 - .../plugins/plugin-aliyun/package-lock.json | 1052 ++++------------- packages/plugins/plugin-aliyun/package.json | 3 +- packages/plugins/plugin-aliyun/src/index.js | 32 +- .../test/dns-providers/aliyun.cert.test.js} | 6 +- .../test/dns-providers/aliyun.test.js | 20 +- .../plugins/plugin-aliyun/test/options.js | 2 +- .../test/plugins/deploy-to-cdn.test.js | 7 +- .../test/plugins/upload-to-aliyun.test.js | 5 +- .../plugins/plugin-host/package-lock.json | 1030 ++++------------ packages/plugins/plugin-host/package.json | 5 +- .../src/plugins/host-shell-execute/index.js | 14 +- .../plugins/plugin-host/src/plugins/ssh.js | 57 +- .../test/plugins/host-shell-execute.test.js | 7 +- .../plugins/plugin-tencent/package-lock.json | 120 +- packages/plugins/plugin-tencent/package.json | 5 +- packages/plugins/plugin-tencent/src/index.js | 14 +- .../src/plugins/deploy-to-cdn/index.js | 5 +- .../src/utils/util.k8s.client.js | 2 +- .../test/dns-providers/dnspod.cert.test.js} | 11 +- .../test/dns-providers/dnspod.test.js | 24 +- .../plugins/plugin-tencent/test/options.js | 42 - .../test/plugins/deploy-to-cdn.test.js | 20 +- .../test/plugins/deploy-to-clb.test.js | 24 +- .../plugins/deploy-to-tke-ingress.test.js | 63 +- .../test/plugins/upload-to-tencent.test.js | 2 +- .../certd-server/templates/certd-run/index.js | 8 + packages/ui/certd-ui/package-lock.json | 42 +- test/options.js | 9 +- 38 files changed, 807 insertions(+), 1895 deletions(-) rename packages/{core/certd/test/cert-apply/aliyun.test.js => plugins/plugin-aliyun/test/dns-providers/aliyun.cert.test.js} (78%) rename packages/{core/certd/test/cert-apply/dnspod.test.js => plugins/plugin-tencent/test/dns-providers/dnspod.cert.test.js} (71%) delete mode 100644 packages/plugins/plugin-tencent/test/options.js diff --git a/package.json b/package.json index 133de94c..83589aed 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ }, "scripts": { "start": "lerna bootstrap --hoist", - "i-all": "lerna exec npm install && lerna link " + "i-all": "lerna link && lerna exec npm install " }, "license": "MIT", "dependencies": { diff --git a/packages/core/api/src/index.js b/packages/core/api/src/index.js index 12f0b273..19d50fff 100644 --- a/packages/core/api/src/index.js +++ b/packages/core/api/src/index.js @@ -1,5 +1,6 @@ -export * from './dns-provider' -export * from './plugin' -export * from './access-provider' +export * from './dns-provider/index.js' +export * from './plugin/index.js' +export * from './access-provider/index.js' export { Store } from './store/store.js' -export { util } from './utils' +export { util } from './utils/index.js' +// module.createRequireFromPath() diff --git a/packages/core/api/src/plugin/abstract-plugin.js b/packages/core/api/src/plugin/abstract-plugin.js index fc3853ae..55c71cab 100644 --- a/packages/core/api/src/plugin/abstract-plugin.js +++ b/packages/core/api/src/plugin/abstract-plugin.js @@ -4,7 +4,11 @@ import dayjs from 'dayjs' import Sleep from '../utils/util.sleep.js' export class AbstractPlugin { - constructor ({ accessProviders }) { + constructor (options) { + if (options == null) { + throw new Error('插件安装失败:参数不允许为空') + } + const { accessProviders } = options this.logger = logger this.accessProviders = accessProviders } diff --git a/packages/core/api/src/registry/registry.js b/packages/core/api/src/registry/registry.js index 7795e6b1..eb1c1454 100644 --- a/packages/core/api/src/registry/registry.js +++ b/packages/core/api/src/registry/registry.js @@ -26,11 +26,18 @@ export class Registry { } get (name) { - if (name) { - return this.collection[name] + if (!name) { + throw new Error('插件名称不能为空') } - throw new Error(`${name} cant blank`) + if (!this.collection) { + this.collection = {} + } + const plugin = this.collection[name] + if (!plugin) { + throw new Error(`插件${name}还未注册`) + } + return plugin } getCollection () { diff --git a/packages/core/certd/package-lock.json b/packages/core/certd/package-lock.json index 6254eb36..1b420d2f 100644 --- a/packages/core/certd/package-lock.json +++ b/packages/core/certd/package-lock.json @@ -43,6 +43,18 @@ "node-forge": "^0.10.0" } }, + "@certd/api": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/@certd/api/-/api-0.1.13.tgz", + "integrity": "sha512-klb4B5D+lu1SAtopCyU4sfe12Q9U4k5x+GTaSLLk1Dr3cX0Mpq7/fySQIW5yPH2ZJGQQAbKm/vciBnUGYWFy/A==", + "requires": { + "axios": "^0.21.1", + "dayjs": "^1.9.7", + "lodash-es": "^4.17.20", + "log4js": "^6.3.0", + "qs": "^6.9.4" + } + }, "@eslint/eslintrc": { "version": "0.2.2", "resolved": "https://registry.npm.taobao.org/@eslint/eslintrc/download/@eslint/eslintrc-0.2.2.tgz?cache=0&sync_timestamp=1607145629875&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40eslint%2Feslintrc%2Fdownload%2F%40eslint%2Feslintrc-0.2.2.tgz", @@ -1790,6 +1802,11 @@ "integrity": "sha1-tYsBCsQMIsVldhbI0sLALHv0eew=", "dev": true }, + "qs": { + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==" + }, "randombytes": { "version": "2.1.0", "resolved": "https://registry.npm.taobao.org/randombytes/download/randombytes-2.1.0.tgz", diff --git a/packages/core/certd/package.json b/packages/core/certd/package.json index 44183165..a7701429 100644 --- a/packages/core/certd/package.json +++ b/packages/core/certd/package.json @@ -1,7 +1,7 @@ { "name": "@certd/certd", "version": "0.1.13", - "description": "", + "description": "a ssl cert keeper", "main": "src/index.js", "scripts": { "test": "echo \\\"Error: no test specified\\\" && exit 1" diff --git a/packages/core/certd/src/index.js b/packages/core/certd/src/index.js index 7c3c81eb..41dbdcb3 100644 --- a/packages/core/certd/src/index.js +++ b/packages/core/certd/src/index.js @@ -4,12 +4,8 @@ import { FileStore } from './store/file-store.js' import { CertStore } from './store/cert-store.js' import dayjs from 'dayjs' import forge from 'node-forge' -import DefaultDnsProviders from '@certd/dns-providers' const logger = util.logger - -DefaultDnsProviders.install() - export class Certd { constructor (options) { this.options = options diff --git a/packages/core/certd/test/index.test.js b/packages/core/certd/test/index.test.js index 51ee33cd..b4519ad5 100644 --- a/packages/core/certd/test/index.test.js +++ b/packages/core/certd/test/index.test.js @@ -1,5 +1,5 @@ import chai from 'chai' -import { Certd } from '../src' +import { Certd } from '../src/index.js' import { createOptions } from '../../../../test/options.js' const { expect } = chai const fakeCrt = `-----BEGIN CERTIFICATE----- diff --git a/packages/core/executor/package.json b/packages/core/executor/package.json index d14d7c50..08d0cc01 100644 --- a/packages/core/executor/package.json +++ b/packages/core/executor/package.json @@ -12,8 +12,6 @@ "dependencies": { "@certd/api": "^0.1.13", "@certd/certd": "^0.1.13", - "@certd/dns-providers": "^0.1.13", - "@certd/plugins": "^0.1.13", "dayjs": "^1.9.7", "lodash-es": "^4.17.20" }, @@ -29,7 +27,10 @@ "eslint-plugin-promise": "^4.2.1", "mocha": "^8.2.1", "rollup": "^2.35.1", - "rollup-plugin-terser": "^7.0.2" + "rollup-plugin-terser": "^7.0.2", + "@certd/plugin-aliyun": "^0.1.13", + "@certd/plugin-tencent": "^0.1.13", + "@certd/plugin-host": "^0.1.13" }, "author": "Greper", "license": "MIT", diff --git a/packages/core/executor/src/index.js b/packages/core/executor/src/index.js index 6fe433c3..5bf953bb 100644 --- a/packages/core/executor/src/index.js +++ b/packages/core/executor/src/index.js @@ -3,15 +3,6 @@ import { pluginRegistry, util } from '@certd/api' import _ from 'lodash-es' import dayjs from 'dayjs' import { Trace } from './trace.js' -import PluginAliyun from '@certd/plugin-aliyun' -import PluginTencent from '@certd/plugin-tencent' -import PluginHost from '@certd/plugin-host' - -// 安装默认插件和授权提供者 -PluginAliyun.install() -PluginTencent.install() -PluginHost.install() - const logger = util.logger function createDefaultOptions () { diff --git a/packages/plugins/plugin-aliyun/package-lock.json b/packages/plugins/plugin-aliyun/package-lock.json index 658862ed..95df23a3 100644 --- a/packages/plugins/plugin-aliyun/package-lock.json +++ b/packages/plugins/plugin-aliyun/package-lock.json @@ -1,5 +1,5 @@ { - "name": "@certd/plugins", + "name": "@certd/plugin-aliyun", "version": "0.1.13", "lockfileVersion": 1, "requires": true, @@ -20,6 +20,7 @@ "version": "7.12.11", "resolved": "https://registry.npm.taobao.org/@babel/code-frame/download/@babel/code-frame-7.12.11.tgz?cache=0&sync_timestamp=1608076996164&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcode-frame%2Fdownload%2F%40babel%2Fcode-frame-7.12.11.tgz", "integrity": "sha1-9K1DWqJj25NbjxDyxVLSP7cWpj8=", + "dev": true, "requires": { "@babel/highlight": "^7.10.4" } @@ -28,6 +29,7 @@ "version": "7.12.11", "resolved": "https://registry.npm.taobao.org/@babel/generator/download/@babel/generator-7.12.11.tgz?cache=0&sync_timestamp=1608076904393&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fgenerator%2Fdownload%2F%40babel%2Fgenerator-7.12.11.tgz", "integrity": "sha1-mKffe4w1jJo3qweiQFaFMBaro68=", + "dev": true, "requires": { "@babel/types": "^7.12.11", "jsesc": "^2.5.1", @@ -38,6 +40,7 @@ "version": "7.12.11", "resolved": "https://registry.npm.taobao.org/@babel/helper-function-name/download/@babel/helper-function-name-7.12.11.tgz?cache=0&sync_timestamp=1608076995996&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-function-name%2Fdownload%2F%40babel%2Fhelper-function-name-7.12.11.tgz", "integrity": "sha1-H9dziu5dz1PD7P8k8dqcUR7Ee0I=", + "dev": true, "requires": { "@babel/helper-get-function-arity": "^7.12.10", "@babel/template": "^7.12.7", @@ -48,6 +51,7 @@ "version": "7.12.10", "resolved": "https://registry.npm.taobao.org/@babel/helper-get-function-arity/download/@babel/helper-get-function-arity-7.12.10.tgz?cache=0&sync_timestamp=1607584580801&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-get-function-arity%2Fdownload%2F%40babel%2Fhelper-get-function-arity-7.12.10.tgz", "integrity": "sha1-sViBejFltfqiBHgl36YZcN3MFs8=", + "dev": true, "requires": { "@babel/types": "^7.12.10" } @@ -56,6 +60,7 @@ "version": "7.12.11", "resolved": "https://registry.npm.taobao.org/@babel/helper-split-export-declaration/download/@babel/helper-split-export-declaration-7.12.11.tgz", "integrity": "sha1-G0zEJEWGQ8R9NwIiI9oz126kYDo=", + "dev": true, "requires": { "@babel/types": "^7.12.11" } @@ -63,12 +68,14 @@ "@babel/helper-validator-identifier": { "version": "7.12.11", "resolved": "https://registry.npm.taobao.org/@babel/helper-validator-identifier/download/@babel/helper-validator-identifier-7.12.11.tgz?cache=0&sync_timestamp=1608076995361&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-validator-identifier%2Fdownload%2F%40babel%2Fhelper-validator-identifier-7.12.11.tgz", - "integrity": "sha1-yaHwIZF9y1zPDU5FPjmQIpgfye0=" + "integrity": "sha1-yaHwIZF9y1zPDU5FPjmQIpgfye0=", + "dev": true }, "@babel/highlight": { "version": "7.10.4", "resolved": "https://registry.npm.taobao.org/@babel/highlight/download/@babel/highlight-7.10.4.tgz", "integrity": "sha1-fRvf1ldTU4+r5sOFls23bZrGAUM=", + "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.10.4", "chalk": "^2.0.0", @@ -78,12 +85,14 @@ "@babel/parser": { "version": "7.12.11", "resolved": "https://registry.npm.taobao.org/@babel/parser/download/@babel/parser-7.12.11.tgz?cache=0&sync_timestamp=1608076996366&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fparser%2Fdownload%2F%40babel%2Fparser-7.12.11.tgz", - "integrity": "sha1-nONZW810vFxGaQXobFNbiyUBHnk=" + "integrity": "sha1-nONZW810vFxGaQXobFNbiyUBHnk=", + "dev": true }, "@babel/template": { "version": "7.12.7", "resolved": "https://registry.npm.taobao.org/@babel/template/download/@babel/template-7.12.7.tgz?cache=0&sync_timestamp=1605904556456&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftemplate%2Fdownload%2F%40babel%2Ftemplate-7.12.7.tgz", "integrity": "sha1-yBcjNpYBjjn7tsSR0vtoTgXtQ7w=", + "dev": true, "requires": { "@babel/code-frame": "^7.10.4", "@babel/parser": "^7.12.7", @@ -94,6 +103,7 @@ "version": "7.12.12", "resolved": "https://registry.npm.taobao.org/@babel/traverse/download/@babel/traverse-7.12.12.tgz?cache=0&sync_timestamp=1608730525021&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftraverse%2Fdownload%2F%40babel%2Ftraverse-7.12.12.tgz", "integrity": "sha1-0M2HiScE7djaAC1nS8gRzmR0M3Y=", + "dev": true, "requires": { "@babel/code-frame": "^7.12.11", "@babel/generator": "^7.12.11", @@ -110,6 +120,7 @@ "version": "4.3.1", "resolved": "https://registry.npm.taobao.org/debug/download/debug-4.3.1.tgz?cache=0&sync_timestamp=1607566533140&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdebug%2Fdownload%2Fdebug-4.3.1.tgz", "integrity": "sha1-8NIpxQXgxtjEmsVT0bE9wYP2su4=", + "dev": true, "requires": { "ms": "2.1.2" } @@ -117,7 +128,8 @@ "ms": { "version": "2.1.2", "resolved": "https://registry.npm.taobao.org/ms/download/ms-2.1.2.tgz?cache=0&sync_timestamp=1607433842694&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fms%2Fdownload%2Fms-2.1.2.tgz", - "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=" + "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=", + "dev": true } } }, @@ -125,12 +137,44 @@ "version": "7.12.12", "resolved": "https://registry.npm.taobao.org/@babel/types/download/@babel/types-7.12.12.tgz?cache=0&sync_timestamp=1608730470163&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftypes%2Fdownload%2F%40babel%2Ftypes-7.12.12.tgz", "integrity": "sha1-Rgim7DE6u9h6+lUATTc60EqWwpk=", + "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.12.11", "lodash": "^4.17.19", "to-fast-properties": "^2.0.0" } }, + "@certd/acme-client": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@certd/acme-client/-/acme-client-0.1.6.tgz", + "integrity": "sha512-XffzB/QHRj61gUHXor1B8R2TVt7HnklJpjAbwQi8vHjBGloU8I3occJxIunoh1AShhc4wsxnc+h/D5yRIUp17A==", + "dev": true, + "requires": { + "axios": "0.21.1", + "backo2": "^1.0.0", + "bluebird": "^3.5.0", + "debug": "^4.1.1", + "log4js": "^6.3.0", + "node-forge": "^0.10.0" + }, + "dependencies": { + "debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + } + } + }, "@certd/api": { "version": "0.1.13", "resolved": "https://registry.npm.taobao.org/@certd/api/download/@certd/api-0.1.13.tgz", @@ -143,6 +187,32 @@ "qs": "^6.9.4" } }, + "@certd/certd": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/@certd/certd/-/certd-0.1.13.tgz", + "integrity": "sha512-ng4iFJY23AhTM2VY/tX/3ywoIF96pUF6VP6iXRlhdap8o4xOEywfjeHefFMxdi85Aw3sklBm4U38QZjqA++tnA==", + "dev": true, + "requires": { + "@certd/acme-client": "^0.1.6", + "@certd/api": "^0.1.13", + "@certd/dns-providers": "^0.1.13", + "dayjs": "^1.9.7", + "lodash-es": "^4.17.20", + "node-forge": "^0.10.0" + } + }, + "@certd/dns-providers": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/@certd/dns-providers/-/dns-providers-0.1.13.tgz", + "integrity": "sha512-a9eD61t6dnacTLJqEUWijhVf1OUmZmPyrm8asTxMAPt7zw60xNxFSJFGHGJYM0bMGPsqUP4WBsSZ5JU4SHy5bg==", + "dev": true, + "requires": { + "@alicloud/pop-core": "^1.7.10", + "@certd/api": "^0.1.13", + "lodash-es": "^4.17.20", + "tencentcloud-sdk-nodejs": "^4.0.44" + } + }, "@eslint/eslintrc": { "version": "0.2.2", "resolved": "https://registry.npm.taobao.org/@eslint/eslintrc/download/@eslint/eslintrc-0.2.2.tgz?cache=0&sync_timestamp=1607145629875&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40eslint%2Feslintrc%2Fdownload%2F%40eslint%2Feslintrc-0.2.2.tgz", @@ -187,92 +257,6 @@ } } }, - "@kubernetes/client-node": { - "version": "0.10.2", - "resolved": "https://registry.npm.taobao.org/@kubernetes/client-node/download/@kubernetes/client-node-0.10.2.tgz", - "integrity": "sha1-nKnWBRSHdMf9dzRtc3Q+WGn5IFs=", - "requires": { - "@types/js-yaml": "^3.12.1", - "@types/node": "^10.12.0", - "@types/request": "^2.47.1", - "@types/underscore": "^1.8.9", - "@types/ws": "^6.0.1", - "isomorphic-ws": "^4.0.1", - "js-yaml": "^3.13.1", - "json-stream": "^1.0.0", - "jsonpath-plus": "^0.19.0", - "request": "^2.88.0", - "shelljs": "^0.8.2", - "tslib": "^1.9.3", - "underscore": "^1.9.1", - "ws": "^6.1.0" - }, - "dependencies": { - "@types/node": { - "version": "10.17.50", - "resolved": "https://registry.npm.taobao.org/@types/node/download/@types/node-10.17.50.tgz", - "integrity": "sha1-eiCQKvWRKCqpF2uu/DfUNyExwy0=" - }, - "ws": { - "version": "6.2.1", - "resolved": "https://registry.npm.taobao.org/ws/download/ws-6.2.1.tgz?cache=0&sync_timestamp=1609271323957&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fws%2Fdownload%2Fws-6.2.1.tgz", - "integrity": "sha1-RC/fCkftZPWbal2P8TD0dI7VJPs=", - "requires": { - "async-limiter": "~1.0.0" - } - } - } - }, - "@panva/asn1.js": { - "version": "1.0.0", - "resolved": "https://registry.npm.taobao.org/@panva/asn1.js/download/@panva/asn1.js-1.0.0.tgz", - "integrity": "sha1-3VWue4Ep4CBJ8AlAi5fGHM+QMvY=" - }, - "@sindresorhus/is": { - "version": "0.14.0", - "resolved": "https://registry.npm.taobao.org/@sindresorhus/is/download/@sindresorhus/is-0.14.0.tgz", - "integrity": "sha1-n7OjzzEyMoFR81PeRjLgHlIQK+o=" - }, - "@szmarczak/http-timer": { - "version": "1.1.2", - "resolved": "https://registry.npm.taobao.org/@szmarczak/http-timer/download/@szmarczak/http-timer-1.1.2.tgz", - "integrity": "sha1-sWZeLEYaLNkvTBu/UNVFTeDUtCE=", - "requires": { - "defer-to-connect": "^1.0.1" - } - }, - "@types/caseless": { - "version": "0.12.2", - "resolved": "https://registry.npm.taobao.org/@types/caseless/download/@types/caseless-0.12.2.tgz", - "integrity": "sha1-9l09Y4ngHutFi9VNyPUrlalGO8g=" - }, - "@types/got": { - "version": "9.6.11", - "resolved": "https://registry.npm.taobao.org/@types/got/download/@types/got-9.6.11.tgz?cache=0&sync_timestamp=1605054640434&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fgot%2Fdownload%2F%40types%2Fgot-9.6.11.tgz", - "integrity": "sha1-SCtALMXuRZSBrurbCBQuuxqa+yY=", - "requires": { - "@types/node": "*", - "@types/tough-cookie": "*", - "form-data": "^2.5.0" - }, - "dependencies": { - "form-data": { - "version": "2.5.1", - "resolved": "https://registry.npm.taobao.org/form-data/download/form-data-2.5.1.tgz", - "integrity": "sha1-8svsV7XlniNxbhKP5E1OXdI4lfQ=", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - } - } - }, - "@types/js-yaml": { - "version": "3.12.6", - "resolved": "https://registry.npm.taobao.org/@types/js-yaml/download/@types/js-yaml-3.12.6.tgz?cache=0&sync_timestamp=1609890034298&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fjs-yaml%2Fdownload%2F%40types%2Fjs-yaml-3.12.6.tgz", - "integrity": "sha1-fxDJJqpB4YmidVxMf8+ORXO9esE=" - }, "@types/json5": { "version": "0.0.29", "resolved": "https://registry.npm.taobao.org/@types/json5/download/@types/json5-0.0.29.tgz", @@ -284,47 +268,6 @@ "resolved": "https://registry.npm.taobao.org/@types/node/download/@types/node-14.14.20.tgz", "integrity": "sha1-95dIY+3SHR+KSUpz6OKzZYYVw0A=" }, - "@types/request": { - "version": "2.48.5", - "resolved": "https://registry.npm.taobao.org/@types/request/download/@types/request-2.48.5.tgz?cache=0&sync_timestamp=1605057211613&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Frequest%2Fdownload%2F%40types%2Frequest-2.48.5.tgz", - "integrity": "sha1-AZuFNrQCBp9tEb7hssA+fyMpN6A=", - "requires": { - "@types/caseless": "*", - "@types/node": "*", - "@types/tough-cookie": "*", - "form-data": "^2.5.0" - }, - "dependencies": { - "form-data": { - "version": "2.5.1", - "resolved": "https://registry.npm.taobao.org/form-data/download/form-data-2.5.1.tgz", - "integrity": "sha1-8svsV7XlniNxbhKP5E1OXdI4lfQ=", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - } - } - }, - "@types/tough-cookie": { - "version": "4.0.0", - "resolved": "https://registry.npm.taobao.org/@types/tough-cookie/download/@types/tough-cookie-4.0.0.tgz?cache=0&sync_timestamp=1605057450377&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Ftough-cookie%2Fdownload%2F%40types%2Ftough-cookie-4.0.0.tgz", - "integrity": "sha1-/vGQTkZotuXs7mDFLMageP+maX0=" - }, - "@types/underscore": { - "version": "1.10.24", - "resolved": "https://registry.npm.taobao.org/@types/underscore/download/@types/underscore-1.10.24.tgz?cache=0&sync_timestamp=1605057617380&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Funderscore%2Fdownload%2F%40types%2Funderscore-1.10.24.tgz", - "integrity": "sha1-3t4ATe7Ts/mcTbC9ue4hyuJb790=" - }, - "@types/ws": { - "version": "6.0.4", - "resolved": "https://registry.npm.taobao.org/@types/ws/download/@types/ws-6.0.4.tgz", - "integrity": "sha1-d5dwfIrM6PdtjDSzcNRkW3BCH/E=", - "requires": { - "@types/node": "*" - } - }, "@ungap/promise-all-settled": { "version": "1.1.2", "resolved": "https://registry.npm.taobao.org/@ungap/promise-all-settled/download/@ungap/promise-all-settled-1.1.2.tgz", @@ -347,23 +290,16 @@ "version": "4.3.0", "resolved": "https://registry.npm.taobao.org/agent-base/download/agent-base-4.3.0.tgz?cache=0&sync_timestamp=1603480100923&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fagent-base%2Fdownload%2Fagent-base-4.3.0.tgz", "integrity": "sha1-gWXwHENgCbzK0LHRIvBe13Dvxu4=", + "dev": true, "requires": { "es6-promisify": "^5.0.0" } }, - "aggregate-error": { - "version": "3.1.0", - "resolved": "https://registry.npm.taobao.org/aggregate-error/download/aggregate-error-3.1.0.tgz", - "integrity": "sha1-kmcP9Q9TWb23o+DUDQ7DDFc3aHo=", - "requires": { - "clean-stack": "^2.0.0", - "indent-string": "^4.0.0" - } - }, "ajv": { "version": "6.12.6", "resolved": "https://registry.npm.taobao.org/ajv/download/ajv-6.12.6.tgz?cache=0&sync_timestamp=1609583919173&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fajv%2Fdownload%2Fajv-6.12.6.tgz", "integrity": "sha1-uvWmLoArB9l3A0WG+MO69a3ybfQ=", + "dev": true, "requires": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -387,6 +323,7 @@ "version": "3.2.1", "resolved": "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-3.2.1.tgz?cache=0&sync_timestamp=1606792369066&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fansi-styles%2Fdownload%2Fansi-styles-3.2.1.tgz", "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + "dev": true, "requires": { "color-convert": "^1.9.0" } @@ -405,6 +342,7 @@ "version": "1.0.10", "resolved": "https://registry.npm.taobao.org/argparse/download/argparse-1.0.10.tgz", "integrity": "sha1-vNZ5HqWuCXJeF+WtmIE0zUCz2RE=", + "dev": true, "requires": { "sprintf-js": "~1.0.2" } @@ -413,6 +351,7 @@ "version": "3.1.2", "resolved": "https://registry.npm.taobao.org/array-includes/download/array-includes-3.1.2.tgz", "integrity": "sha1-qNsD4LiMjGrt3EnLEy+byrTr+cg=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3", @@ -436,6 +375,7 @@ "version": "1.2.4", "resolved": "https://registry.npm.taobao.org/array.prototype.flatmap/download/array.prototype.flatmap-1.2.4.tgz?cache=0&sync_timestamp=1605694699588&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Farray.prototype.flatmap%2Fdownload%2Farray.prototype.flatmap-1.2.4.tgz", "integrity": "sha1-lM/UfMFVbsB0fZf3x3OMWBIgBMk=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3", @@ -443,19 +383,6 @@ "function-bind": "^1.1.1" } }, - "asn1": { - "version": "0.2.4", - "resolved": "https://registry.npm.taobao.org/asn1/download/asn1-0.2.4.tgz", - "integrity": "sha1-jSR136tVO7M+d7VOWeiAu4ziMTY=", - "requires": { - "safer-buffer": "~2.1.0" - } - }, - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npm.taobao.org/assert-plus/download/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - }, "assertion-error": { "version": "1.1.0", "resolved": "https://registry.npm.taobao.org/assertion-error/download/assertion-error-1.1.0.tgz", @@ -468,25 +395,11 @@ "integrity": "sha1-SDFDxWeu7UeFdZwIZXhtx319LjE=", "dev": true }, - "async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npm.taobao.org/async-limiter/download/async-limiter-1.0.1.tgz", - "integrity": "sha1-3TeelPDbgxCwgpH51kwyCXZmF/0=" - }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npm.taobao.org/asynckit/download/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" - }, - "aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npm.taobao.org/aws-sign2/download/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" - }, - "aws4": { - "version": "1.11.0", - "resolved": "https://registry.npm.taobao.org/aws4/download/aws4-1.11.0.tgz?cache=0&sync_timestamp=1604101166484&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Faws4%2Fdownload%2Faws4-1.11.0.tgz", - "integrity": "sha1-1h9G2DslGSUOJ4Ta9bCUeai0HFk=" + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true }, "axios": { "version": "0.21.1", @@ -500,6 +413,7 @@ "version": "10.1.0", "resolved": "https://registry.npm.taobao.org/babel-eslint/download/babel-eslint-10.1.0.tgz?cache=0&sync_timestamp=1599054223324&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-eslint%2Fdownload%2Fbabel-eslint-10.1.0.tgz", "integrity": "sha1-aWjlaKkQt4+zd5zdi2rC9HmUMjI=", + "dev": true, "requires": { "@babel/code-frame": "^7.0.0", "@babel/parser": "^7.7.0", @@ -509,23 +423,17 @@ "resolve": "^1.12.0" } }, + "backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=", + "dev": true + }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/balanced-match/download/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" - }, - "base64url": { - "version": "3.0.1", - "resolved": "https://registry.npm.taobao.org/base64url/download/base64url-3.0.1.tgz", - "integrity": "sha1-Y5nVcuK8P5CpqLItXbsKMtM/eI0=" - }, - "bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npm.taobao.org/bcrypt-pbkdf/download/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "requires": { - "tweetnacl": "^0.14.3" - } + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true }, "bignumber.js": { "version": "9.0.1", @@ -538,10 +446,17 @@ "integrity": "sha1-MPpAyef+B9vIlWeM0ocCTeokHdk=", "dev": true }, + "bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "dev": true + }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npm.taobao.org/brace-expansion/download/brace-expansion-1.1.11.tgz?cache=0&sync_timestamp=1601898189928&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbrace-expansion%2Fdownload%2Fbrace-expansion-1.1.11.tgz", "integrity": "sha1-PH/L9SnYcibz0vUrlm/1Jx60Qd0=", + "dev": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -562,39 +477,11 @@ "integrity": "sha1-uqVZ7hTO1zRSIputcyZGfGH6vWA=", "dev": true }, - "cacheable-request": { - "version": "6.1.0", - "resolved": "https://registry.npm.taobao.org/cacheable-request/download/cacheable-request-6.1.0.tgz", - "integrity": "sha1-IP+4vRYrpL4R6VZ9gj22UQUsqRI=", - "requires": { - "clone-response": "^1.0.2", - "get-stream": "^5.1.0", - "http-cache-semantics": "^4.0.0", - "keyv": "^3.0.0", - "lowercase-keys": "^2.0.0", - "normalize-url": "^4.1.0", - "responselike": "^1.0.2" - }, - "dependencies": { - "get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npm.taobao.org/get-stream/download/get-stream-5.2.0.tgz", - "integrity": "sha1-SWaheV7lrOZecGxLe+txJX1uItM=", - "requires": { - "pump": "^3.0.0" - } - }, - "lowercase-keys": { - "version": "2.0.0", - "resolved": "https://registry.npm.taobao.org/lowercase-keys/download/lowercase-keys-2.0.0.tgz", - "integrity": "sha1-JgPni3tLAAbLyi+8yKMgJVislHk=" - } - } - }, "call-bind": { "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/call-bind/download/call-bind-1.0.0.tgz?cache=0&sync_timestamp=1604117008862&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcall-bind%2Fdownload%2Fcall-bind-1.0.0.tgz", "integrity": "sha1-JBJwVLs/m9y0sfuCQYGGBy93uM4=", + "dev": true, "requires": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.0" @@ -609,12 +496,8 @@ "camelcase": { "version": "6.2.0", "resolved": "https://registry.npm.taobao.org/camelcase/download/camelcase-6.2.0.tgz?cache=0&sync_timestamp=1603923709404&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcamelcase%2Fdownload%2Fcamelcase-6.2.0.tgz", - "integrity": "sha1-kkr4gcnVJaydh/QNlk5c6pgqGAk=" - }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npm.taobao.org/caseless/download/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + "integrity": "sha1-kkr4gcnVJaydh/QNlk5c6pgqGAk=", + "dev": true }, "chai": { "version": "4.2.0", @@ -634,6 +517,7 @@ "version": "2.4.2", "resolved": "https://registry.npm.taobao.org/chalk/download/chalk-2.4.2.tgz", "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "dev": true, "requires": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -662,11 +546,6 @@ "readdirp": "~3.5.0" } }, - "clean-stack": { - "version": "2.2.0", - "resolved": "https://registry.npm.taobao.org/clean-stack/download/clean-stack-2.2.0.tgz?cache=0&sync_timestamp=1605702401116&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fclean-stack%2Fdownload%2Fclean-stack-2.2.0.tgz", - "integrity": "sha1-7oRy27Ep5yezHooQpCfe6d/kAIs=" - }, "cliui": { "version": "5.0.0", "resolved": "https://registry.npm.taobao.org/cliui/download/cliui-5.0.0.tgz?cache=0&sync_timestamp=1604880033053&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcliui%2Fdownload%2Fcliui-5.0.0.tgz", @@ -718,18 +597,11 @@ } } }, - "clone-response": { - "version": "1.0.2", - "resolved": "https://registry.npm.taobao.org/clone-response/download/clone-response-1.0.2.tgz", - "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", - "requires": { - "mimic-response": "^1.0.0" - } - }, "color-convert": { "version": "1.9.3", "resolved": "https://registry.npm.taobao.org/color-convert/download/color-convert-1.9.3.tgz", "integrity": "sha1-u3GFBpDh8TZWfeYp0tVHHe2kweg=", + "dev": true, "requires": { "color-name": "1.1.3" } @@ -737,12 +609,14 @@ "color-name": { "version": "1.1.3", "resolved": "https://registry.npm.taobao.org/color-name/download/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true }, "combined-stream": { "version": "1.0.8", "resolved": "https://registry.npm.taobao.org/combined-stream/download/combined-stream-1.0.8.tgz", "integrity": "sha1-w9RaizT9cwYxoRCoolIGgrMdWn8=", + "dev": true, "requires": { "delayed-stream": "~1.0.0" } @@ -750,7 +624,8 @@ "concat-map": { "version": "0.0.1", "resolved": "https://registry.npm.taobao.org/concat-map/download/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true }, "contains-path": { "version": "0.1.0", @@ -758,11 +633,6 @@ "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", "dev": true }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npm.taobao.org/core-util-is/download/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, "cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npm.taobao.org/cross-spawn/download/cross-spawn-7.0.3.tgz", @@ -774,14 +644,6 @@ "which": "^2.0.1" } }, - "dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npm.taobao.org/dashdash/download/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "requires": { - "assert-plus": "^1.0.0" - } - }, "date-format": { "version": "3.0.0", "resolved": "https://registry.npm.taobao.org/date-format/download/date-format-3.0.0.tgz", @@ -806,14 +668,6 @@ "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "dev": true }, - "decompress-response": { - "version": "3.3.0", - "resolved": "https://registry.npm.taobao.org/decompress-response/download/decompress-response-3.3.0.tgz", - "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", - "requires": { - "mimic-response": "^1.0.0" - } - }, "deep-eql": { "version": "3.0.1", "resolved": "https://registry.npm.taobao.org/deep-eql/download/deep-eql-3.0.1.tgz", @@ -829,20 +683,11 @@ "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", "dev": true }, - "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npm.taobao.org/deepmerge/download/deepmerge-4.2.2.tgz", - "integrity": "sha1-RNLqNnm49NT/ujPwPYZfwee/SVU=" - }, - "defer-to-connect": { - "version": "1.1.3", - "resolved": "https://registry.npm.taobao.org/defer-to-connect/download/defer-to-connect-1.1.3.tgz", - "integrity": "sha1-MxrgUMCNz3ifjIOnuB8O2U9KxZE=" - }, "define-properties": { "version": "1.1.3", "resolved": "https://registry.npm.taobao.org/define-properties/download/define-properties-1.1.3.tgz", "integrity": "sha1-z4jabL7ib+bbcJT2HYcMvYTO6fE=", + "dev": true, "requires": { "object-keys": "^1.0.12" } @@ -850,12 +695,8 @@ "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/delayed-stream/download/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" - }, - "depd": { - "version": "2.0.0", - "resolved": "https://registry.npm.taobao.org/depd/download/depd-2.0.0.tgz", - "integrity": "sha1-tpYWPMdXVg0JzyLMj60Vcbeedt8=" + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true }, "diff": { "version": "4.0.2", @@ -867,38 +708,17 @@ "version": "2.1.0", "resolved": "https://registry.npm.taobao.org/doctrine/download/doctrine-2.1.0.tgz", "integrity": "sha1-XNAfwQFiG0LEzX9dGmYkNxbT850=", + "dev": true, "requires": { "esutils": "^2.0.2" } }, - "duplexer3": { - "version": "0.1.4", - "resolved": "https://registry.npm.taobao.org/duplexer3/download/duplexer3-0.1.4.tgz", - "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" - }, - "ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npm.taobao.org/ecc-jsbn/download/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", - "requires": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npm.taobao.org/emoji-regex/download/emoji-regex-8.0.0.tgz?cache=0&sync_timestamp=1603212180491&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Femoji-regex%2Fdownload%2Femoji-regex-8.0.0.tgz", "integrity": "sha1-6Bj9ac5cz8tARZT4QpY79TFkzDc=", "dev": true }, - "end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npm.taobao.org/end-of-stream/download/end-of-stream-1.4.4.tgz", - "integrity": "sha1-WuZKX0UFe682JuwU2gyl5LJDHrA=", - "requires": { - "once": "^1.4.0" - } - }, "enquirer": { "version": "2.3.6", "resolved": "https://registry.npm.taobao.org/enquirer/download/enquirer-2.3.6.tgz", @@ -921,6 +741,7 @@ "version": "1.18.0-next.1", "resolved": "https://registry.npm.taobao.org/es-abstract/download/es-abstract-1.18.0-next.1.tgz?cache=0&sync_timestamp=1601502719982&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fes-abstract%2Fdownload%2Fes-abstract-1.18.0-next.1.tgz", "integrity": "sha1-bjoKS9pxflAjqzuOkL7DYQjSLGg=", + "dev": true, "requires": { "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", @@ -940,6 +761,7 @@ "version": "1.2.1", "resolved": "https://registry.npm.taobao.org/es-to-primitive/download/es-to-primitive-1.2.1.tgz", "integrity": "sha1-5VzUyc3BiLzvsDs2bHNjI/xciYo=", + "dev": true, "requires": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", @@ -949,12 +771,14 @@ "es6-promise": { "version": "4.2.8", "resolved": "https://registry.npm.taobao.org/es6-promise/download/es6-promise-4.2.8.tgz", - "integrity": "sha1-TrIVlMlyvEBVPSduUQU5FD21Pgo=" + "integrity": "sha1-TrIVlMlyvEBVPSduUQU5FD21Pgo=", + "dev": true }, "es6-promisify": { "version": "5.0.0", "resolved": "https://registry.npm.taobao.org/es6-promisify/download/es6-promisify-5.0.0.tgz", "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=", + "dev": true, "requires": { "es6-promise": "^4.0.3" } @@ -962,7 +786,8 @@ "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npm.taobao.org/escape-string-regexp/download/escape-string-regexp-1.0.5.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fescape-string-regexp%2Fdownload%2Fescape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true }, "eslint": { "version": "7.17.0", @@ -1255,6 +1080,7 @@ "version": "7.22.0", "resolved": "https://registry.npm.taobao.org/eslint-plugin-react/download/eslint-plugin-react-7.22.0.tgz?cache=0&sync_timestamp=1609302315237&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Feslint-plugin-react%2Fdownload%2Feslint-plugin-react-7.22.0.tgz", "integrity": "sha1-PRxULR0xacRUIcEhXZRw40Fwcmk=", + "dev": true, "requires": { "array-includes": "^3.1.1", "array.prototype.flatmap": "^1.2.3", @@ -1291,7 +1117,8 @@ "eslint-visitor-keys": { "version": "1.3.0", "resolved": "https://registry.npm.taobao.org/eslint-visitor-keys/download/eslint-visitor-keys-1.3.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Feslint-visitor-keys%2Fdownload%2Feslint-visitor-keys-1.3.0.tgz", - "integrity": "sha1-MOvR73wv3/AcOk8VEESvJfqwUj4=" + "integrity": "sha1-MOvR73wv3/AcOk8VEESvJfqwUj4=", + "dev": true }, "espree": { "version": "7.3.1", @@ -1307,7 +1134,8 @@ "esprima": { "version": "4.0.1", "resolved": "https://registry.npm.taobao.org/esprima/download/esprima-4.0.1.tgz", - "integrity": "sha1-E7BM2z5sXRnfkatph6hpVhmwqnE=" + "integrity": "sha1-E7BM2z5sXRnfkatph6hpVhmwqnE=", + "dev": true }, "esquery": { "version": "1.3.1", @@ -1352,27 +1180,20 @@ "esutils": { "version": "2.0.3", "resolved": "https://registry.npm.taobao.org/esutils/download/esutils-2.0.3.tgz", - "integrity": "sha1-dNLrTeC42hKTcRkQ1Qd1ubcQ72Q=" - }, - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npm.taobao.org/extend/download/extend-3.0.2.tgz", - "integrity": "sha1-+LETa0Bx+9jrFAr/hYsQGewpFfo=" - }, - "extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npm.taobao.org/extsprintf/download/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" + "integrity": "sha1-dNLrTeC42hKTcRkQ1Qd1ubcQ72Q=", + "dev": true }, "fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npm.taobao.org/fast-deep-equal/download/fast-deep-equal-3.1.3.tgz", - "integrity": "sha1-On1WtVnWy8PrUSMlJE5hmmXGxSU=" + "integrity": "sha1-On1WtVnWy8PrUSMlJE5hmmXGxSU=", + "dev": true }, "fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npm.taobao.org/fast-json-stable-stringify/download/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha1-h0v2nG9ATCtdmcSBNBOZ/VWJJjM=" + "integrity": "sha1-h0v2nG9ATCtdmcSBNBOZ/VWJJjM=", + "dev": true }, "fast-levenshtein": { "version": "2.0.6", @@ -1441,15 +1262,11 @@ "resolved": "https://registry.npm.taobao.org/follow-redirects/download/follow-redirects-1.13.2.tgz?cache=0&sync_timestamp=1611606737937&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffollow-redirects%2Fdownload%2Ffollow-redirects-1.13.2.tgz", "integrity": "sha1-3XPI7/wScoulz0JZ12DqX7g+MUc=" }, - "forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npm.taobao.org/forever-agent/download/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" - }, "form-data": { "version": "3.0.0", "resolved": "https://registry.npm.taobao.org/form-data/download/form-data-3.0.0.tgz", "integrity": "sha1-MbfjnIXxNVtxOe4MZHzw3n+DxoI=", + "dev": true, "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -1469,7 +1286,8 @@ "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/fs.realpath/download/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true }, "fsevents": { "version": "2.1.3", @@ -1481,7 +1299,8 @@ "function-bind": { "version": "1.1.1", "resolved": "https://registry.npm.taobao.org/function-bind/download/function-bind-1.1.1.tgz", - "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=" + "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=", + "dev": true }, "functional-red-black-tree": { "version": "1.0.1", @@ -1505,6 +1324,7 @@ "version": "1.0.2", "resolved": "https://registry.npm.taobao.org/get-intrinsic/download/get-intrinsic-1.0.2.tgz?cache=0&sync_timestamp=1608274321235&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fget-intrinsic%2Fdownload%2Fget-intrinsic-1.0.2.tgz", "integrity": "sha1-aCDaIm5QskiU4IhZRp3Gg2FUXUk=", + "dev": true, "requires": { "function-bind": "^1.1.1", "has": "^1.0.3", @@ -1514,20 +1334,14 @@ "get-stream": { "version": "6.0.0", "resolved": "https://registry.npm.taobao.org/get-stream/download/get-stream-6.0.0.tgz", - "integrity": "sha1-PgASy2gnMZ2icG5gGhWD6GKaZxg=" - }, - "getpass": { - "version": "0.1.7", - "resolved": "https://registry.npm.taobao.org/getpass/download/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", - "requires": { - "assert-plus": "^1.0.0" - } + "integrity": "sha1-PgASy2gnMZ2icG5gGhWD6GKaZxg=", + "dev": true }, "glob": { "version": "7.1.6", "resolved": "https://registry.npm.taobao.org/glob/download/glob-7.1.6.tgz?cache=0&sync_timestamp=1599054256752&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fglob%2Fdownload%2Fglob-7.1.6.tgz", "integrity": "sha1-FB8zuBp8JJLhJVlDB0gMRmeSeKY=", + "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -1549,35 +1363,8 @@ "globals": { "version": "11.12.0", "resolved": "https://registry.npm.taobao.org/globals/download/globals-11.12.0.tgz?cache=0&sync_timestamp=1608438490211&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fglobals%2Fdownload%2Fglobals-11.12.0.tgz", - "integrity": "sha1-q4eVM4hooLq9hSV1gBjCp+uVxC4=" - }, - "got": { - "version": "9.6.0", - "resolved": "https://registry.npm.taobao.org/got/download/got-9.6.0.tgz?cache=0&sync_timestamp=1607656090858&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fgot%2Fdownload%2Fgot-9.6.0.tgz", - "integrity": "sha1-7fRefWf5lUVwXeH3u+7rEhdl7YU=", - "requires": { - "@sindresorhus/is": "^0.14.0", - "@szmarczak/http-timer": "^1.1.2", - "cacheable-request": "^6.0.0", - "decompress-response": "^3.3.0", - "duplexer3": "^0.1.4", - "get-stream": "^4.1.0", - "lowercase-keys": "^1.0.1", - "mimic-response": "^1.0.1", - "p-cancelable": "^1.0.0", - "to-readable-stream": "^1.0.0", - "url-parse-lax": "^3.0.0" - }, - "dependencies": { - "get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npm.taobao.org/get-stream/download/get-stream-4.1.0.tgz", - "integrity": "sha1-wbJVV189wh1Zv8ec09K0axw6VLU=", - "requires": { - "pump": "^3.0.0" - } - } - } + "integrity": "sha1-q4eVM4hooLq9hSV1gBjCp+uVxC4=", + "dev": true }, "graceful-fs": { "version": "4.2.4", @@ -1590,24 +1377,11 @@ "integrity": "sha1-8nNdwig2dPpnR4sQGBBZNVw2nl4=", "dev": true }, - "har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npm.taobao.org/har-schema/download/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" - }, - "har-validator": { - "version": "5.1.5", - "resolved": "https://registry.npm.taobao.org/har-validator/download/har-validator-5.1.5.tgz", - "integrity": "sha1-HwgDufjLIMD6E4It8ezds2veHv0=", - "requires": { - "ajv": "^6.12.3", - "har-schema": "^2.0.0" - } - }, "has": { "version": "1.0.3", "resolved": "https://registry.npm.taobao.org/has/download/has-1.0.3.tgz", "integrity": "sha1-ci18v8H2qoJB8W3YFOAR4fQeh5Y=", + "dev": true, "requires": { "function-bind": "^1.1.1" } @@ -1615,12 +1389,14 @@ "has-flag": { "version": "3.0.0", "resolved": "https://registry.npm.taobao.org/has-flag/download/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true }, "has-symbols": { "version": "1.0.1", "resolved": "https://registry.npm.taobao.org/has-symbols/download/has-symbols-1.0.1.tgz", - "integrity": "sha1-n1IUdYpEGWxAbZvXbOv4HsLdMeg=" + "integrity": "sha1-n1IUdYpEGWxAbZvXbOv4HsLdMeg=", + "dev": true }, "he": { "version": "1.2.0", @@ -1634,25 +1410,11 @@ "integrity": "sha1-dTm9S8Hg4KiVgVouAmJCCxKFhIg=", "dev": true }, - "http-cache-semantics": { - "version": "4.1.0", - "resolved": "https://registry.npm.taobao.org/http-cache-semantics/download/http-cache-semantics-4.1.0.tgz", - "integrity": "sha1-SekcXL82yblLz81xwj1SSex045A=" - }, - "http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npm.taobao.org/http-signature/download/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", - "requires": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - } - }, "https-proxy-agent": { "version": "2.2.4", "resolved": "https://registry.npm.taobao.org/https-proxy-agent/download/https-proxy-agent-2.2.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhttps-proxy-agent%2Fdownload%2Fhttps-proxy-agent-2.2.4.tgz", "integrity": "sha1-TuenN6vZJniik9mzShr00NCMeHs=", + "dev": true, "requires": { "agent-base": "^4.3.0", "debug": "^3.1.0" @@ -1704,15 +1466,11 @@ "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", "dev": true }, - "indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npm.taobao.org/indent-string/download/indent-string-4.0.0.tgz", - "integrity": "sha1-Yk+PRJfWGbLZdoUx1Y9BIoVNclE=" - }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npm.taobao.org/inflight/download/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, "requires": { "once": "^1.3.0", "wrappy": "1" @@ -1721,12 +1479,14 @@ "inherits": { "version": "2.0.4", "resolved": "https://registry.npm.taobao.org/inherits/download/inherits-2.0.4.tgz", - "integrity": "sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w=" + "integrity": "sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w=", + "dev": true }, "internal-slot": { "version": "1.0.2", "resolved": "https://registry.npm.taobao.org/internal-slot/download/internal-slot-1.0.2.tgz", "integrity": "sha1-nC6fs82OXkJWxvRf4xAGf8+jeKM=", + "dev": true, "requires": { "es-abstract": "^1.17.0-next.1", "has": "^1.0.3", @@ -1737,6 +1497,7 @@ "version": "1.17.7", "resolved": "https://registry.npm.taobao.org/es-abstract/download/es-abstract-1.17.7.tgz?cache=0&sync_timestamp=1601502719982&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fes-abstract%2Fdownload%2Fes-abstract-1.17.7.tgz", "integrity": "sha1-pN5hsvZpifx0IWdsHLl4dXOs5Uw=", + "dev": true, "requires": { "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", @@ -1753,11 +1514,6 @@ } } }, - "interpret": { - "version": "1.4.0", - "resolved": "https://registry.npm.taobao.org/interpret/download/interpret-1.4.0.tgz", - "integrity": "sha1-Zlq4vE2iendKQFhOgS4+D6RbGh4=" - }, "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npm.taobao.org/is-arrayish/download/is-arrayish-0.2.1.tgz", @@ -1776,12 +1532,14 @@ "is-callable": { "version": "1.2.2", "resolved": "https://registry.npm.taobao.org/is-callable/download/is-callable-1.2.2.tgz?cache=0&sync_timestamp=1600719276620&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-callable%2Fdownload%2Fis-callable-1.2.2.tgz", - "integrity": "sha1-x8ZxXNItTdtI0+GZcCI6zquwgNk=" + "integrity": "sha1-x8ZxXNItTdtI0+GZcCI6zquwgNk=", + "dev": true }, "is-core-module": { "version": "2.2.0", "resolved": "https://registry.npm.taobao.org/is-core-module/download/is-core-module-2.2.0.tgz?cache=0&sync_timestamp=1606411622542&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-core-module%2Fdownload%2Fis-core-module-2.2.0.tgz", "integrity": "sha1-lwN+89UiJNhRY/VZeytj2a/tmBo=", + "dev": true, "requires": { "has": "^1.0.3" } @@ -1789,7 +1547,8 @@ "is-date-object": { "version": "1.0.2", "resolved": "https://registry.npm.taobao.org/is-date-object/download/is-date-object-1.0.2.tgz", - "integrity": "sha1-vac28s2P0G0yhE53Q7+nSUw7/X4=" + "integrity": "sha1-vac28s2P0G0yhE53Q7+nSUw7/X4=", + "dev": true }, "is-extglob": { "version": "2.1.1", @@ -1815,7 +1574,8 @@ "is-negative-zero": { "version": "2.0.1", "resolved": "https://registry.npm.taobao.org/is-negative-zero/download/is-negative-zero-2.0.1.tgz?cache=0&sync_timestamp=1607123080624&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-negative-zero%2Fdownload%2Fis-negative-zero-2.0.1.tgz", - "integrity": "sha1-PedGwY3aIxkkGlNnWQjY92bxHCQ=" + "integrity": "sha1-PedGwY3aIxkkGlNnWQjY92bxHCQ=", + "dev": true }, "is-number": { "version": "7.0.0", @@ -1829,15 +1589,11 @@ "integrity": "sha1-ReQuN/zPH0Dajl927iFRWEDAkoc=", "dev": true }, - "is-plain-object": { - "version": "3.0.1", - "resolved": "https://registry.npm.taobao.org/is-plain-object/download/is-plain-object-3.0.1.tgz", - "integrity": "sha1-Zi2S0kwKpDAkB7DUXSHyJRyF+Fs=" - }, "is-regex": { "version": "1.1.1", "resolved": "https://registry.npm.taobao.org/is-regex/download/is-regex-1.1.1.tgz", "integrity": "sha1-xvmKrMVG9s7FRooHt7FTq1ZKV7k=", + "dev": true, "requires": { "has-symbols": "^1.0.1" } @@ -1845,26 +1601,24 @@ "is-stream": { "version": "2.0.0", "resolved": "https://registry.npm.taobao.org/is-stream/download/is-stream-2.0.0.tgz", - "integrity": "sha1-venDJoDW+uBBKdasnZIc54FfeOM=" + "integrity": "sha1-venDJoDW+uBBKdasnZIc54FfeOM=", + "dev": true }, "is-string": { "version": "1.0.5", "resolved": "https://registry.npm.taobao.org/is-string/download/is-string-1.0.5.tgz", - "integrity": "sha1-QEk+0ZjvP/R3uMf5L2ROyCpc06Y=" + "integrity": "sha1-QEk+0ZjvP/R3uMf5L2ROyCpc06Y=", + "dev": true }, "is-symbol": { "version": "1.0.3", "resolved": "https://registry.npm.taobao.org/is-symbol/download/is-symbol-1.0.3.tgz", "integrity": "sha1-OOEBS55jKb4N6dJKQU/XRB7GGTc=", + "dev": true, "requires": { "has-symbols": "^1.0.1" } }, - "is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npm.taobao.org/is-typedarray/download/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" - }, "isarray": { "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/isarray/download/isarray-1.0.0.tgz", @@ -1877,47 +1631,27 @@ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, - "isomorphic-ws": { - "version": "4.0.1", - "resolved": "https://registry.npm.taobao.org/isomorphic-ws/download/isomorphic-ws-4.0.1.tgz", - "integrity": "sha1-Vf1M1sXmSR523BJZON2GP1zU8tw=" - }, - "isstream": { - "version": "0.1.2", - "resolved": "https://registry.npm.taobao.org/isstream/download/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" - }, - "jose": { - "version": "1.28.0", - "resolved": "https://registry.npm.taobao.org/jose/download/jose-1.28.0.tgz", - "integrity": "sha1-CAP4xx9DzSk6nZMcVVwwUx9cpdw=", - "requires": { - "@panva/asn1.js": "^1.0.0" - } - }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npm.taobao.org/js-tokens/download/js-tokens-4.0.0.tgz", - "integrity": "sha1-GSA/tZmR35jjoocFDUZHzerzJJk=" + "integrity": "sha1-GSA/tZmR35jjoocFDUZHzerzJJk=", + "dev": true }, "js-yaml": { "version": "3.14.1", "resolved": "https://registry.npm.taobao.org/js-yaml/download/js-yaml-3.14.1.tgz?cache=0&sync_timestamp=1609680108107&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjs-yaml%2Fdownload%2Fjs-yaml-3.14.1.tgz", "integrity": "sha1-2ugS/bOCX6MGYJqHFzg8UMNqBTc=", + "dev": true, "requires": { "argparse": "^1.0.7", "esprima": "^4.0.0" } }, - "jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npm.taobao.org/jsbn/download/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" - }, "jsesc": { "version": "2.5.2", "resolved": "https://registry.npm.taobao.org/jsesc/download/jsesc-2.5.2.tgz?cache=0&sync_timestamp=1603900010788&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjsesc%2Fdownload%2Fjsesc-2.5.2.tgz", - "integrity": "sha1-gFZNLkg9rPbo7yCWUKZ98/DCg6Q=" + "integrity": "sha1-gFZNLkg9rPbo7yCWUKZ98/DCg6Q=", + "dev": true }, "json-bigint": { "version": "1.0.0", @@ -1927,20 +1661,11 @@ "bignumber.js": "^9.0.0" } }, - "json-buffer": { - "version": "3.0.0", - "resolved": "https://registry.npm.taobao.org/json-buffer/download/json-buffer-3.0.0.tgz", - "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=" - }, - "json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npm.taobao.org/json-schema/download/json-schema-0.2.3.tgz?cache=0&sync_timestamp=1609553637722&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjson-schema%2Fdownload%2Fjson-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" - }, "json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npm.taobao.org/json-schema-traverse/download/json-schema-traverse-0.4.1.tgz?cache=0&sync_timestamp=1607999852153&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjson-schema-traverse%2Fdownload%2Fjson-schema-traverse-0.4.1.tgz", - "integrity": "sha1-afaofZUTq4u4/mO9sJecRI5oRmA=" + "integrity": "sha1-afaofZUTq4u4/mO9sJecRI5oRmA=", + "dev": true }, "json-stable-stringify-without-jsonify": { "version": "1.0.1", @@ -1948,16 +1673,6 @@ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, - "json-stream": { - "version": "1.0.0", - "resolved": "https://registry.npm.taobao.org/json-stream/download/json-stream-1.0.0.tgz", - "integrity": "sha1-GjhU4o0rvuqzHMfd9oPS3cVlJwg=" - }, - "json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npm.taobao.org/json-stringify-safe/download/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" - }, "json5": { "version": "1.0.1", "resolved": "https://registry.npm.taobao.org/json5/download/json5-1.0.1.tgz?cache=0&sync_timestamp=1599054166959&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjson5%2Fdownload%2Fjson5-1.0.1.tgz", @@ -1975,64 +1690,21 @@ "graceful-fs": "^4.1.6" } }, - "jsonpath-plus": { - "version": "0.19.0", - "resolved": "https://registry.npm.taobao.org/jsonpath-plus/download/jsonpath-plus-0.19.0.tgz", - "integrity": "sha1-uQHldgcFWTPcmovvDMJRYO6d1kw=" - }, - "jsprim": { - "version": "1.4.1", - "resolved": "https://registry.npm.taobao.org/jsprim/download/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", - "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.2.3", - "verror": "1.10.0" - } - }, "jsx-ast-utils": { "version": "3.2.0", "resolved": "https://registry.npm.taobao.org/jsx-ast-utils/download/jsx-ast-utils-3.2.0.tgz", "integrity": "sha1-QRCNLOxAjDRTwbvopKrp4eK9j4I=", + "dev": true, "requires": { "array-includes": "^3.1.2", "object.assign": "^4.1.2" } }, - "keyv": { - "version": "3.1.0", - "resolved": "https://registry.npm.taobao.org/keyv/download/keyv-3.1.0.tgz?cache=0&sync_timestamp=1600337463601&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fkeyv%2Fdownload%2Fkeyv-3.1.0.tgz", - "integrity": "sha1-7MIoSG9pmR5J6UdkhaW+Ho/FxNk=", - "requires": { - "json-buffer": "3.0.0" - } - }, "kitx": { "version": "1.3.0", "resolved": "https://registry.npm.taobao.org/kitx/download/kitx-1.3.0.tgz", "integrity": "sha1-qz7nxZjSsdYp/VVWj4aMREDCAOo=" }, - "kubernetes-client": { - "version": "9.0.0", - "resolved": "https://registry.npm.taobao.org/kubernetes-client/download/kubernetes-client-9.0.0.tgz", - "integrity": "sha1-9y5scaqiBUiz1kZvHciN+mH7O6Q=", - "requires": { - "@kubernetes/client-node": "0.10.2", - "camelcase": "^6.0.0", - "deepmerge": "^4.2.2", - "depd": "^2.0.0", - "js-yaml": "^3.13.1", - "json-stream": "^1.0.0", - "openid-client": "^3.14.0", - "pump": "^3.0.0", - "qs": "^6.9.0", - "request": "^2.88.2", - "swagger-fluent": "^5.0.3", - "url-join": "^4.0.1", - "ws": "^7.2.3" - } - }, "levn": { "version": "0.4.1", "resolved": "https://registry.npm.taobao.org/levn/download/levn-0.4.1.tgz", @@ -2068,7 +1740,8 @@ "lodash": { "version": "4.17.20", "resolved": "https://registry.npm.taobao.org/lodash/download/lodash-4.17.20.tgz", - "integrity": "sha1-tEqbYpe8tpjxxRo1RaKzs2jVnFI=" + "integrity": "sha1-tEqbYpe8tpjxxRo1RaKzs2jVnFI=", + "dev": true }, "lodash-es": { "version": "4.17.20", @@ -2166,50 +1839,40 @@ "version": "1.4.0", "resolved": "https://registry.npm.taobao.org/loose-envify/download/loose-envify-1.4.0.tgz", "integrity": "sha1-ce5R+nvkyuwaY4OffmgtgTLTDK8=", + "dev": true, "requires": { "js-tokens": "^3.0.0 || ^4.0.0" } }, - "lowercase-keys": { - "version": "1.0.1", - "resolved": "https://registry.npm.taobao.org/lowercase-keys/download/lowercase-keys-1.0.1.tgz", - "integrity": "sha1-b54wtHCE2XGnyCD/FabFFnt0wm8=" - }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npm.taobao.org/lru-cache/download/lru-cache-6.0.0.tgz?cache=0&sync_timestamp=1599054167787&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flru-cache%2Fdownload%2Flru-cache-6.0.0.tgz", "integrity": "sha1-bW/mVw69lqr5D8rR2vo7JWbbOpQ=", + "dev": true, "requires": { "yallist": "^4.0.0" } }, - "make-error": { - "version": "1.3.6", - "resolved": "https://registry.npm.taobao.org/make-error/download/make-error-1.3.6.tgz", - "integrity": "sha1-LrLjfqm2fEiR9oShOUeZr0hM96I=" - }, "mime-db": { "version": "1.45.0", "resolved": "https://registry.npm.taobao.org/mime-db/download/mime-db-1.45.0.tgz?cache=0&sync_timestamp=1600831210195&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmime-db%2Fdownload%2Fmime-db-1.45.0.tgz", - "integrity": "sha1-zO7aIczXw6dF66LezVXUtz54eeo=" + "integrity": "sha1-zO7aIczXw6dF66LezVXUtz54eeo=", + "dev": true }, "mime-types": { "version": "2.1.28", "resolved": "https://registry.npm.taobao.org/mime-types/download/mime-types-2.1.28.tgz?cache=0&sync_timestamp=1609559840102&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmime-types%2Fdownload%2Fmime-types-2.1.28.tgz", "integrity": "sha1-EWDEdX6rLFNjiI4AUnPs950qDs0=", + "dev": true, "requires": { "mime-db": "1.45.0" } }, - "mimic-response": { - "version": "1.0.1", - "resolved": "https://registry.npm.taobao.org/mimic-response/download/mimic-response-1.0.1.tgz", - "integrity": "sha1-SSNTiHju9CBjy4o+OweYeBSHqxs=" - }, "minimatch": { "version": "3.0.4", "resolved": "https://registry.npm.taobao.org/minimatch/download/minimatch-3.0.4.tgz", "integrity": "sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=", + "dev": true, "requires": { "brace-expansion": "^1.1.7" } @@ -2364,7 +2027,14 @@ "node-fetch": { "version": "2.6.1", "resolved": "https://registry.npm.taobao.org/node-fetch/download/node-fetch-2.6.1.tgz?cache=0&sync_timestamp=1599309179354&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnode-fetch%2Fdownload%2Fnode-fetch-2.6.1.tgz", - "integrity": "sha1-BFvTI2Mfdu0uK1VXM5RBa2OaAFI=" + "integrity": "sha1-BFvTI2Mfdu0uK1VXM5RBa2OaAFI=", + "dev": true + }, + "node-forge": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", + "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", + "dev": true }, "normalize-package-data": { "version": "2.5.0", @@ -2392,40 +2062,29 @@ "integrity": "sha1-Dc1p/yOhybEf0JeDFmRKA4ghamU=", "dev": true }, - "normalize-url": { - "version": "4.5.0", - "resolved": "https://registry.npm.taobao.org/normalize-url/download/normalize-url-4.5.0.tgz?cache=0&sync_timestamp=1602432435724&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnormalize-url%2Fdownload%2Fnormalize-url-4.5.0.tgz", - "integrity": "sha1-RTNUCH5sqWlXvY9br3U/WYIUISk=" - }, - "oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npm.taobao.org/oauth-sign/download/oauth-sign-0.9.0.tgz", - "integrity": "sha1-R6ewFrqmi1+g7PPe4IqFxnmsZFU=" - }, "object-assign": { "version": "4.1.1", "resolved": "https://registry.npm.taobao.org/object-assign/download/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" - }, - "object-hash": { - "version": "2.1.1", - "resolved": "https://registry.npm.taobao.org/object-hash/download/object-hash-2.1.1.tgz?cache=0&sync_timestamp=1608920995865&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject-hash%2Fdownload%2Fobject-hash-2.1.1.tgz", - "integrity": "sha1-lEfQJ5tPz4DP8yWb9modxzr6vgk=" + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true }, "object-inspect": { "version": "1.9.0", "resolved": "https://registry.npm.taobao.org/object-inspect/download/object-inspect-1.9.0.tgz?cache=0&sync_timestamp=1606804209430&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject-inspect%2Fdownload%2Fobject-inspect-1.9.0.tgz", - "integrity": "sha1-yQUh104RJ7ZyZt7TOUrWEWmGUzo=" + "integrity": "sha1-yQUh104RJ7ZyZt7TOUrWEWmGUzo=", + "dev": true }, "object-keys": { "version": "1.1.1", "resolved": "https://registry.npm.taobao.org/object-keys/download/object-keys-1.1.1.tgz", - "integrity": "sha1-HEfyct8nfzsdrwYWd9nILiMixg4=" + "integrity": "sha1-HEfyct8nfzsdrwYWd9nILiMixg4=", + "dev": true }, "object.assign": { "version": "4.1.2", "resolved": "https://registry.npm.taobao.org/object.assign/download/object.assign-4.1.2.tgz?cache=0&sync_timestamp=1604115158081&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject.assign%2Fdownload%2Fobject.assign-4.1.2.tgz", "integrity": "sha1-DtVKNC7Os3s4/3brgxoOeIy2OUA=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3", @@ -2437,6 +2096,7 @@ "version": "1.1.3", "resolved": "https://registry.npm.taobao.org/object.entries/download/object.entries-1.1.3.tgz?cache=0&sync_timestamp=1606430709225&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject.entries%2Fdownload%2Fobject.entries-1.1.3.tgz", "integrity": "sha1-xgHH8Wi2I3RUGgfdvT4tXk93EaY=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3", @@ -2448,6 +2108,7 @@ "version": "2.0.3", "resolved": "https://registry.npm.taobao.org/object.fromentries/download/object.fromentries-2.0.3.tgz?cache=0&sync_timestamp=1606458393459&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject.fromentries%2Fdownload%2Fobject.fromentries-2.0.3.tgz", "integrity": "sha1-E878/6cC3Gd1AxSjMF6Ms/rR0HI=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3", @@ -2459,6 +2120,7 @@ "version": "1.1.2", "resolved": "https://registry.npm.taobao.org/object.values/download/object.values-1.1.2.tgz?cache=0&sync_timestamp=1606430068369&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject.values%2Fdownload%2Fobject.values-1.1.2.tgz", "integrity": "sha1-eiAV4G/LD1Rr1lJIbOhYOkcxxzE=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3", @@ -2466,35 +2128,15 @@ "has": "^1.0.3" } }, - "oidc-token-hash": { - "version": "5.0.0", - "resolved": "https://registry.npm.taobao.org/oidc-token-hash/download/oidc-token-hash-5.0.0.tgz", - "integrity": "sha1-rN+x9DEPWOZNXXSk6GcaQmmG6Ig=" - }, "once": { "version": "1.4.0", "resolved": "https://registry.npm.taobao.org/once/download/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, "requires": { "wrappy": "1" } }, - "openid-client": { - "version": "3.15.10", - "resolved": "https://registry.npm.taobao.org/openid-client/download/openid-client-3.15.10.tgz", - "integrity": "sha1-NZePYpu5X97rCrc2WqSADKC2VY4=", - "requires": { - "@types/got": "^9.6.9", - "base64url": "^3.0.1", - "got": "^9.6.0", - "jose": "^1.27.1", - "lru-cache": "^6.0.0", - "make-error": "^1.3.6", - "object-hash": "^2.0.1", - "oidc-token-hash": "^5.0.0", - "p-any": "^3.0.0" - } - }, "optionator": { "version": "0.9.1", "resolved": "https://registry.npm.taobao.org/optionator/download/optionator-0.9.1.tgz", @@ -2509,27 +2151,6 @@ "word-wrap": "^1.2.3" } }, - "p-any": { - "version": "3.0.0", - "resolved": "https://registry.npm.taobao.org/p-any/download/p-any-3.0.0.tgz", - "integrity": "sha1-eYR67tcLXToQ6mJSlsDD0ukKh7k=", - "requires": { - "p-cancelable": "^2.0.0", - "p-some": "^5.0.0" - }, - "dependencies": { - "p-cancelable": { - "version": "2.0.0", - "resolved": "https://registry.npm.taobao.org/p-cancelable/download/p-cancelable-2.0.0.tgz", - "integrity": "sha1-SjdA9b2vXtXXw+NIgsb7XWsmam4=" - } - } - }, - "p-cancelable": { - "version": "1.1.0", - "resolved": "https://registry.npm.taobao.org/p-cancelable/download/p-cancelable-1.1.0.tgz", - "integrity": "sha1-0HjRWjr0CSIMiG8dmgyi5EGrJsw=" - }, "p-limit": { "version": "1.3.0", "resolved": "https://registry.npm.taobao.org/p-limit/download/p-limit-1.3.0.tgz?cache=0&sync_timestamp=1606288395505&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fp-limit%2Fdownload%2Fp-limit-1.3.0.tgz", @@ -2548,22 +2169,6 @@ "p-limit": "^1.1.0" } }, - "p-some": { - "version": "5.0.0", - "resolved": "https://registry.npm.taobao.org/p-some/download/p-some-5.0.0.tgz", - "integrity": "sha1-i3MMdLT+UWnXJkokCtAQtuvGhqQ=", - "requires": { - "aggregate-error": "^3.0.0", - "p-cancelable": "^2.0.0" - }, - "dependencies": { - "p-cancelable": { - "version": "2.0.0", - "resolved": "https://registry.npm.taobao.org/p-cancelable/download/p-cancelable-2.0.0.tgz", - "integrity": "sha1-SjdA9b2vXtXXw+NIgsb7XWsmam4=" - } - } - }, "p-try": { "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/p-try/download/p-try-1.0.0.tgz", @@ -2597,7 +2202,8 @@ "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npm.taobao.org/path-is-absolute/download/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true }, "path-key": { "version": "3.1.1", @@ -2608,7 +2214,8 @@ "path-parse": { "version": "1.0.6", "resolved": "https://registry.npm.taobao.org/path-parse/download/path-parse-1.0.6.tgz", - "integrity": "sha1-1i27VnlAXXLEc37FhgDp3c8G0kw=" + "integrity": "sha1-1i27VnlAXXLEc37FhgDp3c8G0kw=", + "dev": true }, "path-type": { "version": "2.0.0", @@ -2625,11 +2232,6 @@ "integrity": "sha1-uULm1L3mUwBe9rcTYd74cn0GReA=", "dev": true }, - "performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npm.taobao.org/performance-now/download/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" - }, "picomatch": { "version": "2.2.2", "resolved": "https://registry.npm.taobao.org/picomatch/download/picomatch-2.2.2.tgz", @@ -2657,11 +2259,6 @@ "integrity": "sha1-3rxkidem5rDnYRiIzsiAM30xY5Y=", "dev": true }, - "prepend-http": { - "version": "2.0.0", - "resolved": "https://registry.npm.taobao.org/prepend-http/download/prepend-http-2.0.0.tgz", - "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=" - }, "progress": { "version": "2.0.3", "resolved": "https://registry.npm.taobao.org/progress/download/progress-2.0.3.tgz?cache=0&sync_timestamp=1599054255267&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fprogress%2Fdownload%2Fprogress-2.0.3.tgz", @@ -2672,30 +2269,18 @@ "version": "15.7.2", "resolved": "https://registry.npm.taobao.org/prop-types/download/prop-types-15.7.2.tgz?cache=0&sync_timestamp=1599054283476&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fprop-types%2Fdownload%2Fprop-types-15.7.2.tgz", "integrity": "sha1-UsQedbjIfnK52TYOAga5ncv/psU=", + "dev": true, "requires": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", "react-is": "^16.8.1" } }, - "psl": { - "version": "1.8.0", - "resolved": "https://registry.npm.taobao.org/psl/download/psl-1.8.0.tgz", - "integrity": "sha1-kyb4vPsBOtzABf3/BWrM4CDlHCQ=" - }, - "pump": { - "version": "3.0.0", - "resolved": "https://registry.npm.taobao.org/pump/download/pump-3.0.0.tgz", - "integrity": "sha1-tKIRaBW94vTh6mAjVOjHVWUQemQ=", - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, "punycode": { "version": "2.1.1", "resolved": "https://registry.npm.taobao.org/punycode/download/punycode-2.1.1.tgz", - "integrity": "sha1-tYsBCsQMIsVldhbI0sLALHv0eew=" + "integrity": "sha1-tYsBCsQMIsVldhbI0sLALHv0eew=", + "dev": true }, "qs": { "version": "6.9.4", @@ -2714,7 +2299,8 @@ "react-is": { "version": "16.13.1", "resolved": "https://registry.npm.taobao.org/react-is/download/react-is-16.13.1.tgz?cache=0&sync_timestamp=1608330338071&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Freact-is%2Fdownload%2Freact-is-16.13.1.tgz", - "integrity": "sha1-eJcppNw23imZ3BVt1sHZwYzqVqQ=" + "integrity": "sha1-eJcppNw23imZ3BVt1sHZwYzqVqQ=", + "dev": true }, "read-pkg": { "version": "2.0.0", @@ -2746,18 +2332,11 @@ "picomatch": "^2.2.1" } }, - "rechoir": { - "version": "0.6.2", - "resolved": "https://registry.npm.taobao.org/rechoir/download/rechoir-0.6.2.tgz", - "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", - "requires": { - "resolve": "^1.1.6" - } - }, "regexp.prototype.flags": { "version": "1.3.0", "resolved": "https://registry.npm.taobao.org/regexp.prototype.flags/download/regexp.prototype.flags-1.3.0.tgz", "integrity": "sha1-erqJs8E6ZFCdq888qNn7ub31y3U=", + "dev": true, "requires": { "define-properties": "^1.1.3", "es-abstract": "^1.17.0-next.1" @@ -2767,6 +2346,7 @@ "version": "1.17.7", "resolved": "https://registry.npm.taobao.org/es-abstract/download/es-abstract-1.17.7.tgz?cache=0&sync_timestamp=1601502719982&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fes-abstract%2Fdownload%2Fes-abstract-1.17.7.tgz", "integrity": "sha1-pN5hsvZpifx0IWdsHLl4dXOs5Uw=", + "dev": true, "requires": { "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", @@ -2789,50 +2369,6 @@ "integrity": "sha1-IG0K0KVkjP+9uK5GQ489xRyfeOI=", "dev": true }, - "request": { - "version": "2.88.2", - "resolved": "https://registry.npm.taobao.org/request/download/request-2.88.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frequest%2Fdownload%2Frequest-2.88.2.tgz", - "integrity": "sha1-1zyRhzHLWofaBH4gcjQUb2ZNErM=", - "requires": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.3", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.5.0", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - }, - "dependencies": { - "form-data": { - "version": "2.3.3", - "resolved": "https://registry.npm.taobao.org/form-data/download/form-data-2.3.3.tgz", - "integrity": "sha1-3M5SwF9kTymManq5Nr1yTO/786Y=", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - }, - "qs": { - "version": "6.5.2", - "resolved": "https://registry.npm.taobao.org/qs/download/qs-6.5.2.tgz", - "integrity": "sha1-yzroBuh0BERYTvFUzo7pjUA/PjY=" - } - } - }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npm.taobao.org/require-directory/download/require-directory-2.1.1.tgz", @@ -2855,6 +2391,7 @@ "version": "1.19.0", "resolved": "https://registry.npm.taobao.org/resolve/download/resolve-1.19.0.tgz?cache=0&sync_timestamp=1605052120709&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fresolve%2Fdownload%2Fresolve-1.19.0.tgz", "integrity": "sha1-GvW/YwQJc0oGfK4pMYqsf6KaJnw=", + "dev": true, "requires": { "is-core-module": "^2.1.0", "path-parse": "^1.0.6" @@ -2866,14 +2403,6 @@ "integrity": "sha1-SrzYUq0y3Xuqv+m0DgCjbbXzkuY=", "dev": true }, - "responselike": { - "version": "1.0.2", - "resolved": "https://registry.npm.taobao.org/responselike/download/responselike-1.0.2.tgz", - "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", - "requires": { - "lowercase-keys": "^1.0.0" - } - }, "rfdc": { "version": "1.2.0", "resolved": "https://registry.npm.taobao.org/rfdc/download/rfdc-1.2.0.tgz?cache=0&sync_timestamp=1610744108114&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frfdc%2Fdownload%2Frfdc-1.2.0.tgz", @@ -2891,12 +2420,8 @@ "safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.2.1.tgz?cache=0&sync_timestamp=1599054209520&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsafe-buffer%2Fdownload%2Fsafe-buffer-5.2.1.tgz", - "integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=" - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npm.taobao.org/safer-buffer/download/safer-buffer-2.1.2.tgz", - "integrity": "sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo=" + "integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=", + "dev": true }, "sax": { "version": "1.2.4", @@ -2942,20 +2467,11 @@ "integrity": "sha1-rhbxZE2HPsrYQ7AwexQzYtTEIXI=", "dev": true }, - "shelljs": { - "version": "0.8.4", - "resolved": "https://registry.npm.taobao.org/shelljs/download/shelljs-0.8.4.tgz?cache=0&sync_timestamp=1607396725654&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fshelljs%2Fdownload%2Fshelljs-0.8.4.tgz", - "integrity": "sha1-3naE/ut2f4cWsyYHiooAh1iQ48I=", - "requires": { - "glob": "^7.0.0", - "interpret": "^1.0.0", - "rechoir": "^0.6.2" - } - }, "side-channel": { "version": "1.0.4", "resolved": "https://registry.npm.taobao.org/side-channel/download/side-channel-1.0.4.tgz?cache=0&sync_timestamp=1609270210432&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fside-channel%2Fdownload%2Fside-channel-1.0.4.tgz", "integrity": "sha1-785cj9wQTudRslxY1CkAEfpeos8=", + "dev": true, "requires": { "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", @@ -3002,7 +2518,8 @@ "source-map": { "version": "0.5.7", "resolved": "https://registry.npm.taobao.org/source-map/download/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true }, "spdx-correct": { "version": "3.1.1", @@ -3039,41 +2556,8 @@ "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npm.taobao.org/sprintf-js/download/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" - }, - "ssh2": { - "version": "0.8.9", - "resolved": "https://registry.npm.taobao.org/ssh2/download/ssh2-0.8.9.tgz", - "integrity": "sha1-VNo6bEuj2vDYR3pTikgTJgkYFfM=", - "requires": { - "ssh2-streams": "~0.4.10" - } - }, - "ssh2-streams": { - "version": "0.4.10", - "resolved": "https://registry.npm.taobao.org/ssh2-streams/download/ssh2-streams-0.4.10.tgz", - "integrity": "sha1-SO9+ig452PKSHDBSHVbayzHSOjQ=", - "requires": { - "asn1": "~0.2.0", - "bcrypt-pbkdf": "^1.0.2", - "streamsearch": "~0.1.2" - } - }, - "sshpk": { - "version": "1.16.1", - "resolved": "https://registry.npm.taobao.org/sshpk/download/sshpk-1.16.1.tgz", - "integrity": "sha1-+2YcC+8ps520B2nuOfpwCT1vaHc=", - "requires": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - } + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true }, "streamroller": { "version": "2.2.4", @@ -3105,11 +2589,6 @@ } } }, - "streamsearch": { - "version": "0.1.2", - "resolved": "https://registry.npm.taobao.org/streamsearch/download/streamsearch-0.1.2.tgz", - "integrity": "sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo=" - }, "string-width": { "version": "4.2.0", "resolved": "https://registry.npm.taobao.org/string-width/download/string-width-4.2.0.tgz", @@ -3125,6 +2604,7 @@ "version": "4.0.3", "resolved": "https://registry.npm.taobao.org/string.prototype.matchall/download/string.prototype.matchall-4.0.3.tgz", "integrity": "sha1-JCQzmbwxsKSdGeK3QXGhVlPsmWo=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3", @@ -3139,6 +2619,7 @@ "version": "1.0.3", "resolved": "https://registry.npm.taobao.org/string.prototype.trimend/download/string.prototype.trimend-1.0.3.tgz?cache=0&sync_timestamp=1606008037895&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstring.prototype.trimend%2Fdownload%2Fstring.prototype.trimend-1.0.3.tgz", "integrity": "sha1-oivVPMpcfPRNfJ1ccyEYhz1s0Ys=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3" @@ -3148,6 +2629,7 @@ "version": "1.0.3", "resolved": "https://registry.npm.taobao.org/string.prototype.trimstart/download/string.prototype.trimstart-1.0.3.tgz?cache=0&sync_timestamp=1606008038634&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstring.prototype.trimstart%2Fdownload%2Fstring.prototype.trimstart-1.0.3.tgz", "integrity": "sha1-m0y1kOEjuzZWRAHVmCQpjeUP1ao=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3" @@ -3178,20 +2660,11 @@ "version": "5.5.0", "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-5.5.0.tgz?cache=0&sync_timestamp=1608033330722&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-5.5.0.tgz", "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "dev": true, "requires": { "has-flag": "^3.0.0" } }, - "swagger-fluent": { - "version": "5.0.3", - "resolved": "https://registry.npm.taobao.org/swagger-fluent/download/swagger-fluent-5.0.3.tgz", - "integrity": "sha1-SFZOGuTzQwSIsAvkD/6rJXpvFMA=", - "requires": { - "deepmerge": "^4.2.2", - "is-plain-object": "^3.0.0", - "request": "^2.88.0" - } - }, "table": { "version": "6.0.7", "resolved": "https://registry.npm.taobao.org/table/download/table-6.0.7.tgz?cache=0&sync_timestamp=1609732685428&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftable%2Fdownload%2Ftable-6.0.7.tgz", @@ -3228,6 +2701,7 @@ "version": "4.0.44", "resolved": "https://registry.npm.taobao.org/tencentcloud-sdk-nodejs/download/tencentcloud-sdk-nodejs-4.0.44.tgz", "integrity": "sha1-3xWcP8NLkOhbc8DH5nCh+aA2bSQ=", + "dev": true, "requires": { "babel-eslint": "^10.0.2", "eslint-plugin-react": "^7.17.0", @@ -3248,12 +2722,8 @@ "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npm.taobao.org/to-fast-properties/download/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" - }, - "to-readable-stream": { - "version": "1.0.0", - "resolved": "https://registry.npm.taobao.org/to-readable-stream/download/to-readable-stream-1.0.0.tgz", - "integrity": "sha1-zgqgwvPfat+FLvtASng+d8BHV3E=" + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true }, "to-regex-range": { "version": "5.0.1", @@ -3264,15 +2734,6 @@ "is-number": "^7.0.0" } }, - "tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npm.taobao.org/tough-cookie/download/tough-cookie-2.5.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftough-cookie%2Fdownload%2Ftough-cookie-2.5.0.tgz", - "integrity": "sha1-zZ+yoKodWhK0c72fuW+j3P9lreI=", - "requires": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - } - }, "tsconfig-paths": { "version": "3.9.0", "resolved": "https://registry.npm.taobao.org/tsconfig-paths/download/tsconfig-paths-3.9.0.tgz", @@ -3288,20 +2749,8 @@ "tslib": { "version": "1.13.0", "resolved": "https://registry.npm.taobao.org/tslib/download/tslib-1.13.0.tgz?cache=0&sync_timestamp=1609887539329&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftslib%2Fdownload%2Ftslib-1.13.0.tgz", - "integrity": "sha1-yIHhPMcBWJTtkUhi0nZDb6mkcEM=" - }, - "tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npm.taobao.org/tunnel-agent/download/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npm.taobao.org/tweetnacl/download/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + "integrity": "sha1-yIHhPMcBWJTtkUhi0nZDb6mkcEM=", + "dev": true }, "type-check": { "version": "0.4.0", @@ -3324,11 +2773,6 @@ "integrity": "sha1-CeJJ696FHTseSNJ8EFREZn8XuD0=", "dev": true }, - "underscore": { - "version": "1.12.0", - "resolved": "https://registry.npm.taobao.org/underscore/download/underscore-1.12.0.tgz?cache=0&sync_timestamp=1606179462980&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Funderscore%2Fdownload%2Funderscore-1.12.0.tgz", - "integrity": "sha1-SBSUBVH8gFh873hA0euw8WRTvpc=" - }, "universalify": { "version": "0.1.2", "resolved": "https://registry.npm.taobao.org/universalify/download/universalify-0.1.2.tgz?cache=0&sync_timestamp=1603179967633&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Funiversalify%2Fdownload%2Funiversalify-0.1.2.tgz", @@ -3338,28 +2782,11 @@ "version": "4.4.0", "resolved": "https://registry.npm.taobao.org/uri-js/download/uri-js-4.4.0.tgz", "integrity": "sha1-qnFCYd55PoqCNHp7zJznTobyhgI=", + "dev": true, "requires": { "punycode": "^2.1.0" } }, - "url-join": { - "version": "4.0.1", - "resolved": "https://registry.npm.taobao.org/url-join/download/url-join-4.0.1.tgz", - "integrity": "sha1-tkLiGiZGgI/6F4xMX9o5hE4Szec=" - }, - "url-parse-lax": { - "version": "3.0.0", - "resolved": "https://registry.npm.taobao.org/url-parse-lax/download/url-parse-lax-3.0.0.tgz", - "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", - "requires": { - "prepend-http": "^2.0.0" - } - }, - "uuid": { - "version": "3.4.0", - "resolved": "https://registry.npm.taobao.org/uuid/download/uuid-3.4.0.tgz?cache=0&sync_timestamp=1607460081656&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fuuid%2Fdownload%2Fuuid-3.4.0.tgz", - "integrity": "sha1-sj5DWK+oogL+ehAK8fX4g/AgB+4=" - }, "v8-compile-cache": { "version": "2.2.0", "resolved": "https://registry.npm.taobao.org/v8-compile-cache/download/v8-compile-cache-2.2.0.tgz?cache=0&sync_timestamp=1603909620959&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fv8-compile-cache%2Fdownload%2Fv8-compile-cache-2.2.0.tgz", @@ -3376,16 +2803,6 @@ "spdx-expression-parse": "^3.0.0" } }, - "verror": { - "version": "1.10.0", - "resolved": "https://registry.npm.taobao.org/verror/download/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", - "requires": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, "which": { "version": "2.0.2", "resolved": "https://registry.npm.taobao.org/which/download/which-2.0.2.tgz", @@ -3509,12 +2926,8 @@ "wrappy": { "version": "1.0.2", "resolved": "https://registry.npm.taobao.org/wrappy/download/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "ws": { - "version": "7.4.2", - "resolved": "https://registry.npm.taobao.org/ws/download/ws-7.4.2.tgz?cache=0&sync_timestamp=1609271323957&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fws%2Fdownload%2Fws-7.4.2.tgz", - "integrity": "sha1-eCEABI5U6zb+mEM2OrHGhnKyYd0=" + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true }, "xml2js": { "version": "0.4.23", @@ -3539,7 +2952,8 @@ "yallist": { "version": "4.0.0", "resolved": "https://registry.npm.taobao.org/yallist/download/yallist-4.0.0.tgz", - "integrity": "sha1-m7knkNnA7/7GO+c1GeEaNQGaOnI=" + "integrity": "sha1-m7knkNnA7/7GO+c1GeEaNQGaOnI=", + "dev": true }, "yargs": { "version": "13.3.2", diff --git a/packages/plugins/plugin-aliyun/package.json b/packages/plugins/plugin-aliyun/package.json index 665c26f8..48d6c43d 100644 --- a/packages/plugins/plugin-aliyun/package.json +++ b/packages/plugins/plugin-aliyun/package.json @@ -17,7 +17,8 @@ "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", - "mocha": "^8.2.1" + "mocha": "^8.2.1", + "@certd/certd": "^0.1.13" }, "author": "Greper", "license": "MIT", diff --git a/packages/plugins/plugin-aliyun/src/index.js b/packages/plugins/plugin-aliyun/src/index.js index fc3fe24b..facee508 100644 --- a/packages/plugins/plugin-aliyun/src/index.js +++ b/packages/plugins/plugin-aliyun/src/index.js @@ -1,33 +1,16 @@ import _ from 'lodash-es' -import { AliyunDnsProvider, AliyunAccessProvider } from './access-providers/aliyun' +import { AliyunDnsProvider } from './dns-providers/aliyun.js' +import { AliyunAccessProvider } from './access-providers/aliyun.js' +import { UploadCertToAliyun } from './plugins/upload-to-aliyun/index.js' +import { DeployCertToAliyunCDN } from './plugins/deploy-to-cdn/index.js' -import { UploadCertToAliyun } from './plugins/upload-to-aliyun' -import { DeployCertToAliyunCDN } from './plugins/deploy-to-cdn' - -import { UploadCertToTencent } from './tencent/upload-to-tencent/index.js' - -import { DeployCertToTencentCDN } from './tencent/deploy-to-cdn/index.js' - -import { DeployCertToTencentCLB } from './tencent/deploy-to-clb/index.js' - -import { DeployCertToTencentTKEIngress } from './tencent/deploy-to-tke-ingress/index.js' - -import { UploadCertToHost } from './host/upload-to-host/index.js' -import { HostShellExecute } from './host/host-shell-execute/index.js' - -import { pluginRegistry, accessProviderRegister, dnsProviderRegistry } from '@certd/api' +import { pluginRegistry, accessProviderRegistry, dnsProviderRegistry } from '@certd/api' export const Plugins = { UploadCertToAliyun, - DeployCertToAliyunCDN, - UploadCertToTencent, - DeployCertToTencentTKEIngress, - DeployCertToTencentCDN, - DeployCertToTencentCLB, - UploadCertToHost, - HostShellExecute + DeployCertToAliyunCDN } export default { install () { @@ -35,8 +18,7 @@ export default { pluginRegistry.install(item) }) - accessProviderRegister.install(AliyunAccessProvider) - + accessProviderRegistry.install(AliyunAccessProvider) dnsProviderRegistry.install(AliyunDnsProvider) } } diff --git a/packages/core/certd/test/cert-apply/aliyun.test.js b/packages/plugins/plugin-aliyun/test/dns-providers/aliyun.cert.test.js similarity index 78% rename from packages/core/certd/test/cert-apply/aliyun.test.js rename to packages/plugins/plugin-aliyun/test/dns-providers/aliyun.cert.test.js index 9e417960..cb67cef4 100644 --- a/packages/core/certd/test/cert-apply/aliyun.test.js +++ b/packages/plugins/plugin-aliyun/test/dns-providers/aliyun.cert.test.js @@ -1,6 +1,10 @@ import pkg from 'chai' import { createOptions } from '../../../../../test/options.js' -import { Certd } from '../../src' +import { Certd } from '@certd/certd' +import PluginAliyun from '../../src/index.js' + +// 安装默认插件和授权提供者 +PluginAliyun.install() const { expect } = pkg describe('AliyunDnsProvider', function () { it('#申请证书-aliyun', async function () { diff --git a/packages/plugins/plugin-aliyun/test/dns-providers/aliyun.test.js b/packages/plugins/plugin-aliyun/test/dns-providers/aliyun.test.js index fb5dc13a..559ec960 100644 --- a/packages/plugins/plugin-aliyun/test/dns-providers/aliyun.test.js +++ b/packages/plugins/plugin-aliyun/test/dns-providers/aliyun.test.js @@ -1,27 +1,33 @@ import pkg from 'chai' -import AliyunDnsProvider from '../../src/dns-providers/aliyun.js' +import { AliyunDnsProvider } from '../../src/dns-providers/aliyun.js' import { createOptions } from '../../../../../test/options.js' const { expect } = pkg + +export function getPluginOptions () { + const options = createOptions() + return { accessProviders: options.accessProviders, props: options.cert.dnsProvider } +} + describe('AliyunDnsProvider', function () { it('#getDomainList', async function () { - const options = createOptions() - const aliyunDnsProvider = new AliyunDnsProvider(options.accessProviders.aliyun) + const options = getPluginOptions() + const aliyunDnsProvider = new AliyunDnsProvider(options) const domainList = await aliyunDnsProvider.getDomainList() console.log('domainList', domainList) expect(domainList.length).gt(0) }) it('#getRecords', async function () { - const options = createOptions() - const aliyunDnsProvider = new AliyunDnsProvider(options.accessProviders.aliyun) + const options = getPluginOptions() + const aliyunDnsProvider = new AliyunDnsProvider(options) const recordList = await aliyunDnsProvider.getRecords('docmirror.cn', '*') console.log('recordList', recordList) expect(recordList.length).gt(0) }) it('#createAndRemoveRecord', async function () { - const options = createOptions() - const aliyunDnsProvider = new AliyunDnsProvider(options.accessProviders.aliyun) + const options = getPluginOptions() + const aliyunDnsProvider = new AliyunDnsProvider(options) const record = await aliyunDnsProvider.createRecord({ fullRecord: '___certd___.__test__.docmirror.cn', type: 'TXT', value: 'aaaa' }) console.log('recordId', record) expect(record != null).ok diff --git a/packages/plugins/plugin-aliyun/test/options.js b/packages/plugins/plugin-aliyun/test/options.js index 3391e99f..ae03e286 100644 --- a/packages/plugins/plugin-aliyun/test/options.js +++ b/packages/plugins/plugin-aliyun/test/options.js @@ -24,7 +24,7 @@ const defaultOptions = { cert: { domains: ['*.docmirror.club', 'docmirror.club'], email: 'xiaojunnuo@qq.com', - dnsProvider: 'aliyun', + dnsProvider: { type: 'aliyun', accessProvider: 'aliyun' }, certProvider: 'letsencrypt', csrInfo: { country: 'CN', diff --git a/packages/plugins/plugin-aliyun/test/plugins/deploy-to-cdn.test.js b/packages/plugins/plugin-aliyun/test/plugins/deploy-to-cdn.test.js index a9df1fd4..ab11e4fb 100644 --- a/packages/plugins/plugin-aliyun/test/plugins/deploy-to-cdn.test.js +++ b/packages/plugins/plugin-aliyun/test/plugins/deploy-to-cdn.test.js @@ -1,21 +1,20 @@ import pkg from 'chai' import { DeployCertToAliyunCDN } from '../../src/plugins/deploy-to-cdn/index.js' import { Certd } from '@certd/certd' -import createOptions from '../../../../../test/options.js' +import { createOptions } from '../../../../../test/options.js' const { expect } = pkg describe('DeployToAliyunCDN', function () { it('#execute', async function () { this.timeout(5000) const options = createOptions() - const plugin = new DeployCertToAliyunCDN() + const plugin = new DeployCertToAliyunCDN(options) options.cert.domains = ['*.docmirror.cn', 'docmirror.cn'] const certd = new Certd(options) const cert = await certd.readCurrentCert() const ret = await plugin.doExecute({ - accessProviders: options.accessProviders, cert, - props: { domainName: 'certd-cdn-upload.docmirror.cn', certName: 'certd部署测试', certType: 'cas', accessProvider: 'aliyun' } + props: { domainName: 'certd-cdn-upload.docmirror.cn', certName: 'certd部署测试', from: 'cas', accessProvider: 'aliyun' } }) console.log('context:', context, ret) }) diff --git a/packages/plugins/plugin-aliyun/test/plugins/upload-to-aliyun.test.js b/packages/plugins/plugin-aliyun/test/plugins/upload-to-aliyun.test.js index 9599129d..9fb59f3a 100644 --- a/packages/plugins/plugin-aliyun/test/plugins/upload-to-aliyun.test.js +++ b/packages/plugins/plugin-aliyun/test/plugins/upload-to-aliyun.test.js @@ -9,12 +9,11 @@ describe('PluginUploadToAliyun', function () { const options = createOptions() options.cert.email = 'xiaojunnuo@qq.com' options.cert.domains = ['_.docmirror.cn'] - const plugin = new UploadCertToAliyun() + const plugin = new UploadCertToAliyun(options) const certd = new Certd(options) const cert = await certd.readCurrentCert() const context = {} const deployOpts = { - accessProviders: options.accessProviders, cert, props: { accessProvider: 'aliyun' }, context @@ -22,7 +21,7 @@ describe('PluginUploadToAliyun', function () { await plugin.doExecute(deployOpts) console.log('context:', context) - // await plugin.sleep(1000) + // await plugin.sleep(1000) // await plugin.rollback(deployOpts) }) }) diff --git a/packages/plugins/plugin-host/package-lock.json b/packages/plugins/plugin-host/package-lock.json index 658862ed..e0611d75 100644 --- a/packages/plugins/plugin-host/package-lock.json +++ b/packages/plugins/plugin-host/package-lock.json @@ -1,5 +1,5 @@ { - "name": "@certd/plugins", + "name": "@certd/plugin-host", "version": "0.1.13", "lockfileVersion": 1, "requires": true, @@ -8,6 +8,7 @@ "version": "1.7.10", "resolved": "https://registry.npm.taobao.org/@alicloud/pop-core/download/@alicloud/pop-core-1.7.10.tgz", "integrity": "sha1-0OIhA227DM3kU90Jsc+r2DQbemk=", + "dev": true, "requires": { "debug": "^3.1.0", "httpx": "^2.1.2", @@ -20,6 +21,7 @@ "version": "7.12.11", "resolved": "https://registry.npm.taobao.org/@babel/code-frame/download/@babel/code-frame-7.12.11.tgz?cache=0&sync_timestamp=1608076996164&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcode-frame%2Fdownload%2F%40babel%2Fcode-frame-7.12.11.tgz", "integrity": "sha1-9K1DWqJj25NbjxDyxVLSP7cWpj8=", + "dev": true, "requires": { "@babel/highlight": "^7.10.4" } @@ -28,6 +30,7 @@ "version": "7.12.11", "resolved": "https://registry.npm.taobao.org/@babel/generator/download/@babel/generator-7.12.11.tgz?cache=0&sync_timestamp=1608076904393&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fgenerator%2Fdownload%2F%40babel%2Fgenerator-7.12.11.tgz", "integrity": "sha1-mKffe4w1jJo3qweiQFaFMBaro68=", + "dev": true, "requires": { "@babel/types": "^7.12.11", "jsesc": "^2.5.1", @@ -38,6 +41,7 @@ "version": "7.12.11", "resolved": "https://registry.npm.taobao.org/@babel/helper-function-name/download/@babel/helper-function-name-7.12.11.tgz?cache=0&sync_timestamp=1608076995996&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-function-name%2Fdownload%2F%40babel%2Fhelper-function-name-7.12.11.tgz", "integrity": "sha1-H9dziu5dz1PD7P8k8dqcUR7Ee0I=", + "dev": true, "requires": { "@babel/helper-get-function-arity": "^7.12.10", "@babel/template": "^7.12.7", @@ -48,6 +52,7 @@ "version": "7.12.10", "resolved": "https://registry.npm.taobao.org/@babel/helper-get-function-arity/download/@babel/helper-get-function-arity-7.12.10.tgz?cache=0&sync_timestamp=1607584580801&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-get-function-arity%2Fdownload%2F%40babel%2Fhelper-get-function-arity-7.12.10.tgz", "integrity": "sha1-sViBejFltfqiBHgl36YZcN3MFs8=", + "dev": true, "requires": { "@babel/types": "^7.12.10" } @@ -56,6 +61,7 @@ "version": "7.12.11", "resolved": "https://registry.npm.taobao.org/@babel/helper-split-export-declaration/download/@babel/helper-split-export-declaration-7.12.11.tgz", "integrity": "sha1-G0zEJEWGQ8R9NwIiI9oz126kYDo=", + "dev": true, "requires": { "@babel/types": "^7.12.11" } @@ -63,12 +69,14 @@ "@babel/helper-validator-identifier": { "version": "7.12.11", "resolved": "https://registry.npm.taobao.org/@babel/helper-validator-identifier/download/@babel/helper-validator-identifier-7.12.11.tgz?cache=0&sync_timestamp=1608076995361&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-validator-identifier%2Fdownload%2F%40babel%2Fhelper-validator-identifier-7.12.11.tgz", - "integrity": "sha1-yaHwIZF9y1zPDU5FPjmQIpgfye0=" + "integrity": "sha1-yaHwIZF9y1zPDU5FPjmQIpgfye0=", + "dev": true }, "@babel/highlight": { "version": "7.10.4", "resolved": "https://registry.npm.taobao.org/@babel/highlight/download/@babel/highlight-7.10.4.tgz", "integrity": "sha1-fRvf1ldTU4+r5sOFls23bZrGAUM=", + "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.10.4", "chalk": "^2.0.0", @@ -78,12 +86,14 @@ "@babel/parser": { "version": "7.12.11", "resolved": "https://registry.npm.taobao.org/@babel/parser/download/@babel/parser-7.12.11.tgz?cache=0&sync_timestamp=1608076996366&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fparser%2Fdownload%2F%40babel%2Fparser-7.12.11.tgz", - "integrity": "sha1-nONZW810vFxGaQXobFNbiyUBHnk=" + "integrity": "sha1-nONZW810vFxGaQXobFNbiyUBHnk=", + "dev": true }, "@babel/template": { "version": "7.12.7", "resolved": "https://registry.npm.taobao.org/@babel/template/download/@babel/template-7.12.7.tgz?cache=0&sync_timestamp=1605904556456&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftemplate%2Fdownload%2F%40babel%2Ftemplate-7.12.7.tgz", "integrity": "sha1-yBcjNpYBjjn7tsSR0vtoTgXtQ7w=", + "dev": true, "requires": { "@babel/code-frame": "^7.10.4", "@babel/parser": "^7.12.7", @@ -94,6 +104,7 @@ "version": "7.12.12", "resolved": "https://registry.npm.taobao.org/@babel/traverse/download/@babel/traverse-7.12.12.tgz?cache=0&sync_timestamp=1608730525021&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftraverse%2Fdownload%2F%40babel%2Ftraverse-7.12.12.tgz", "integrity": "sha1-0M2HiScE7djaAC1nS8gRzmR0M3Y=", + "dev": true, "requires": { "@babel/code-frame": "^7.12.11", "@babel/generator": "^7.12.11", @@ -110,6 +121,7 @@ "version": "4.3.1", "resolved": "https://registry.npm.taobao.org/debug/download/debug-4.3.1.tgz?cache=0&sync_timestamp=1607566533140&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdebug%2Fdownload%2Fdebug-4.3.1.tgz", "integrity": "sha1-8NIpxQXgxtjEmsVT0bE9wYP2su4=", + "dev": true, "requires": { "ms": "2.1.2" } @@ -117,7 +129,8 @@ "ms": { "version": "2.1.2", "resolved": "https://registry.npm.taobao.org/ms/download/ms-2.1.2.tgz?cache=0&sync_timestamp=1607433842694&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fms%2Fdownload%2Fms-2.1.2.tgz", - "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=" + "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=", + "dev": true } } }, @@ -125,12 +138,44 @@ "version": "7.12.12", "resolved": "https://registry.npm.taobao.org/@babel/types/download/@babel/types-7.12.12.tgz?cache=0&sync_timestamp=1608730470163&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftypes%2Fdownload%2F%40babel%2Ftypes-7.12.12.tgz", "integrity": "sha1-Rgim7DE6u9h6+lUATTc60EqWwpk=", + "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.12.11", "lodash": "^4.17.19", "to-fast-properties": "^2.0.0" } }, + "@certd/acme-client": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@certd/acme-client/-/acme-client-0.1.6.tgz", + "integrity": "sha512-XffzB/QHRj61gUHXor1B8R2TVt7HnklJpjAbwQi8vHjBGloU8I3occJxIunoh1AShhc4wsxnc+h/D5yRIUp17A==", + "dev": true, + "requires": { + "axios": "0.21.1", + "backo2": "^1.0.0", + "bluebird": "^3.5.0", + "debug": "^4.1.1", + "log4js": "^6.3.0", + "node-forge": "^0.10.0" + }, + "dependencies": { + "debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + } + } + }, "@certd/api": { "version": "0.1.13", "resolved": "https://registry.npm.taobao.org/@certd/api/download/@certd/api-0.1.13.tgz", @@ -143,6 +188,32 @@ "qs": "^6.9.4" } }, + "@certd/certd": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/@certd/certd/-/certd-0.1.13.tgz", + "integrity": "sha512-ng4iFJY23AhTM2VY/tX/3ywoIF96pUF6VP6iXRlhdap8o4xOEywfjeHefFMxdi85Aw3sklBm4U38QZjqA++tnA==", + "dev": true, + "requires": { + "@certd/acme-client": "^0.1.6", + "@certd/api": "^0.1.13", + "@certd/dns-providers": "^0.1.13", + "dayjs": "^1.9.7", + "lodash-es": "^4.17.20", + "node-forge": "^0.10.0" + } + }, + "@certd/dns-providers": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/@certd/dns-providers/-/dns-providers-0.1.13.tgz", + "integrity": "sha512-a9eD61t6dnacTLJqEUWijhVf1OUmZmPyrm8asTxMAPt7zw60xNxFSJFGHGJYM0bMGPsqUP4WBsSZ5JU4SHy5bg==", + "dev": true, + "requires": { + "@alicloud/pop-core": "^1.7.10", + "@certd/api": "^0.1.13", + "lodash-es": "^4.17.20", + "tencentcloud-sdk-nodejs": "^4.0.44" + } + }, "@eslint/eslintrc": { "version": "0.2.2", "resolved": "https://registry.npm.taobao.org/@eslint/eslintrc/download/@eslint/eslintrc-0.2.2.tgz?cache=0&sync_timestamp=1607145629875&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40eslint%2Feslintrc%2Fdownload%2F%40eslint%2Feslintrc-0.2.2.tgz", @@ -187,92 +258,6 @@ } } }, - "@kubernetes/client-node": { - "version": "0.10.2", - "resolved": "https://registry.npm.taobao.org/@kubernetes/client-node/download/@kubernetes/client-node-0.10.2.tgz", - "integrity": "sha1-nKnWBRSHdMf9dzRtc3Q+WGn5IFs=", - "requires": { - "@types/js-yaml": "^3.12.1", - "@types/node": "^10.12.0", - "@types/request": "^2.47.1", - "@types/underscore": "^1.8.9", - "@types/ws": "^6.0.1", - "isomorphic-ws": "^4.0.1", - "js-yaml": "^3.13.1", - "json-stream": "^1.0.0", - "jsonpath-plus": "^0.19.0", - "request": "^2.88.0", - "shelljs": "^0.8.2", - "tslib": "^1.9.3", - "underscore": "^1.9.1", - "ws": "^6.1.0" - }, - "dependencies": { - "@types/node": { - "version": "10.17.50", - "resolved": "https://registry.npm.taobao.org/@types/node/download/@types/node-10.17.50.tgz", - "integrity": "sha1-eiCQKvWRKCqpF2uu/DfUNyExwy0=" - }, - "ws": { - "version": "6.2.1", - "resolved": "https://registry.npm.taobao.org/ws/download/ws-6.2.1.tgz?cache=0&sync_timestamp=1609271323957&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fws%2Fdownload%2Fws-6.2.1.tgz", - "integrity": "sha1-RC/fCkftZPWbal2P8TD0dI7VJPs=", - "requires": { - "async-limiter": "~1.0.0" - } - } - } - }, - "@panva/asn1.js": { - "version": "1.0.0", - "resolved": "https://registry.npm.taobao.org/@panva/asn1.js/download/@panva/asn1.js-1.0.0.tgz", - "integrity": "sha1-3VWue4Ep4CBJ8AlAi5fGHM+QMvY=" - }, - "@sindresorhus/is": { - "version": "0.14.0", - "resolved": "https://registry.npm.taobao.org/@sindresorhus/is/download/@sindresorhus/is-0.14.0.tgz", - "integrity": "sha1-n7OjzzEyMoFR81PeRjLgHlIQK+o=" - }, - "@szmarczak/http-timer": { - "version": "1.1.2", - "resolved": "https://registry.npm.taobao.org/@szmarczak/http-timer/download/@szmarczak/http-timer-1.1.2.tgz", - "integrity": "sha1-sWZeLEYaLNkvTBu/UNVFTeDUtCE=", - "requires": { - "defer-to-connect": "^1.0.1" - } - }, - "@types/caseless": { - "version": "0.12.2", - "resolved": "https://registry.npm.taobao.org/@types/caseless/download/@types/caseless-0.12.2.tgz", - "integrity": "sha1-9l09Y4ngHutFi9VNyPUrlalGO8g=" - }, - "@types/got": { - "version": "9.6.11", - "resolved": "https://registry.npm.taobao.org/@types/got/download/@types/got-9.6.11.tgz?cache=0&sync_timestamp=1605054640434&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fgot%2Fdownload%2F%40types%2Fgot-9.6.11.tgz", - "integrity": "sha1-SCtALMXuRZSBrurbCBQuuxqa+yY=", - "requires": { - "@types/node": "*", - "@types/tough-cookie": "*", - "form-data": "^2.5.0" - }, - "dependencies": { - "form-data": { - "version": "2.5.1", - "resolved": "https://registry.npm.taobao.org/form-data/download/form-data-2.5.1.tgz", - "integrity": "sha1-8svsV7XlniNxbhKP5E1OXdI4lfQ=", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - } - } - }, - "@types/js-yaml": { - "version": "3.12.6", - "resolved": "https://registry.npm.taobao.org/@types/js-yaml/download/@types/js-yaml-3.12.6.tgz?cache=0&sync_timestamp=1609890034298&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fjs-yaml%2Fdownload%2F%40types%2Fjs-yaml-3.12.6.tgz", - "integrity": "sha1-fxDJJqpB4YmidVxMf8+ORXO9esE=" - }, "@types/json5": { "version": "0.0.29", "resolved": "https://registry.npm.taobao.org/@types/json5/download/@types/json5-0.0.29.tgz", @@ -282,48 +267,8 @@ "@types/node": { "version": "14.14.20", "resolved": "https://registry.npm.taobao.org/@types/node/download/@types/node-14.14.20.tgz", - "integrity": "sha1-95dIY+3SHR+KSUpz6OKzZYYVw0A=" - }, - "@types/request": { - "version": "2.48.5", - "resolved": "https://registry.npm.taobao.org/@types/request/download/@types/request-2.48.5.tgz?cache=0&sync_timestamp=1605057211613&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Frequest%2Fdownload%2F%40types%2Frequest-2.48.5.tgz", - "integrity": "sha1-AZuFNrQCBp9tEb7hssA+fyMpN6A=", - "requires": { - "@types/caseless": "*", - "@types/node": "*", - "@types/tough-cookie": "*", - "form-data": "^2.5.0" - }, - "dependencies": { - "form-data": { - "version": "2.5.1", - "resolved": "https://registry.npm.taobao.org/form-data/download/form-data-2.5.1.tgz", - "integrity": "sha1-8svsV7XlniNxbhKP5E1OXdI4lfQ=", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - } - } - }, - "@types/tough-cookie": { - "version": "4.0.0", - "resolved": "https://registry.npm.taobao.org/@types/tough-cookie/download/@types/tough-cookie-4.0.0.tgz?cache=0&sync_timestamp=1605057450377&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Ftough-cookie%2Fdownload%2F%40types%2Ftough-cookie-4.0.0.tgz", - "integrity": "sha1-/vGQTkZotuXs7mDFLMageP+maX0=" - }, - "@types/underscore": { - "version": "1.10.24", - "resolved": "https://registry.npm.taobao.org/@types/underscore/download/@types/underscore-1.10.24.tgz?cache=0&sync_timestamp=1605057617380&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Funderscore%2Fdownload%2F%40types%2Funderscore-1.10.24.tgz", - "integrity": "sha1-3t4ATe7Ts/mcTbC9ue4hyuJb790=" - }, - "@types/ws": { - "version": "6.0.4", - "resolved": "https://registry.npm.taobao.org/@types/ws/download/@types/ws-6.0.4.tgz", - "integrity": "sha1-d5dwfIrM6PdtjDSzcNRkW3BCH/E=", - "requires": { - "@types/node": "*" - } + "integrity": "sha1-95dIY+3SHR+KSUpz6OKzZYYVw0A=", + "dev": true }, "@ungap/promise-all-settled": { "version": "1.1.2", @@ -347,23 +292,16 @@ "version": "4.3.0", "resolved": "https://registry.npm.taobao.org/agent-base/download/agent-base-4.3.0.tgz?cache=0&sync_timestamp=1603480100923&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fagent-base%2Fdownload%2Fagent-base-4.3.0.tgz", "integrity": "sha1-gWXwHENgCbzK0LHRIvBe13Dvxu4=", + "dev": true, "requires": { "es6-promisify": "^5.0.0" } }, - "aggregate-error": { - "version": "3.1.0", - "resolved": "https://registry.npm.taobao.org/aggregate-error/download/aggregate-error-3.1.0.tgz", - "integrity": "sha1-kmcP9Q9TWb23o+DUDQ7DDFc3aHo=", - "requires": { - "clean-stack": "^2.0.0", - "indent-string": "^4.0.0" - } - }, "ajv": { "version": "6.12.6", "resolved": "https://registry.npm.taobao.org/ajv/download/ajv-6.12.6.tgz?cache=0&sync_timestamp=1609583919173&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fajv%2Fdownload%2Fajv-6.12.6.tgz", "integrity": "sha1-uvWmLoArB9l3A0WG+MO69a3ybfQ=", + "dev": true, "requires": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -387,6 +325,7 @@ "version": "3.2.1", "resolved": "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-3.2.1.tgz?cache=0&sync_timestamp=1606792369066&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fansi-styles%2Fdownload%2Fansi-styles-3.2.1.tgz", "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + "dev": true, "requires": { "color-convert": "^1.9.0" } @@ -405,6 +344,7 @@ "version": "1.0.10", "resolved": "https://registry.npm.taobao.org/argparse/download/argparse-1.0.10.tgz", "integrity": "sha1-vNZ5HqWuCXJeF+WtmIE0zUCz2RE=", + "dev": true, "requires": { "sprintf-js": "~1.0.2" } @@ -413,6 +353,7 @@ "version": "3.1.2", "resolved": "https://registry.npm.taobao.org/array-includes/download/array-includes-3.1.2.tgz", "integrity": "sha1-qNsD4LiMjGrt3EnLEy+byrTr+cg=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3", @@ -436,6 +377,7 @@ "version": "1.2.4", "resolved": "https://registry.npm.taobao.org/array.prototype.flatmap/download/array.prototype.flatmap-1.2.4.tgz?cache=0&sync_timestamp=1605694699588&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Farray.prototype.flatmap%2Fdownload%2Farray.prototype.flatmap-1.2.4.tgz", "integrity": "sha1-lM/UfMFVbsB0fZf3x3OMWBIgBMk=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3", @@ -451,11 +393,6 @@ "safer-buffer": "~2.1.0" } }, - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npm.taobao.org/assert-plus/download/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - }, "assertion-error": { "version": "1.1.0", "resolved": "https://registry.npm.taobao.org/assertion-error/download/assertion-error-1.1.0.tgz", @@ -468,25 +405,11 @@ "integrity": "sha1-SDFDxWeu7UeFdZwIZXhtx319LjE=", "dev": true }, - "async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npm.taobao.org/async-limiter/download/async-limiter-1.0.1.tgz", - "integrity": "sha1-3TeelPDbgxCwgpH51kwyCXZmF/0=" - }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npm.taobao.org/asynckit/download/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" - }, - "aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npm.taobao.org/aws-sign2/download/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" - }, - "aws4": { - "version": "1.11.0", - "resolved": "https://registry.npm.taobao.org/aws4/download/aws4-1.11.0.tgz?cache=0&sync_timestamp=1604101166484&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Faws4%2Fdownload%2Faws4-1.11.0.tgz", - "integrity": "sha1-1h9G2DslGSUOJ4Ta9bCUeai0HFk=" + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true }, "axios": { "version": "0.21.1", @@ -500,6 +423,7 @@ "version": "10.1.0", "resolved": "https://registry.npm.taobao.org/babel-eslint/download/babel-eslint-10.1.0.tgz?cache=0&sync_timestamp=1599054223324&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-eslint%2Fdownload%2Fbabel-eslint-10.1.0.tgz", "integrity": "sha1-aWjlaKkQt4+zd5zdi2rC9HmUMjI=", + "dev": true, "requires": { "@babel/code-frame": "^7.0.0", "@babel/parser": "^7.7.0", @@ -509,15 +433,17 @@ "resolve": "^1.12.0" } }, + "backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=", + "dev": true + }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/balanced-match/download/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" - }, - "base64url": { - "version": "3.0.1", - "resolved": "https://registry.npm.taobao.org/base64url/download/base64url-3.0.1.tgz", - "integrity": "sha1-Y5nVcuK8P5CpqLItXbsKMtM/eI0=" + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true }, "bcrypt-pbkdf": { "version": "1.0.2", @@ -530,7 +456,8 @@ "bignumber.js": { "version": "9.0.1", "resolved": "https://registry.npm.taobao.org/bignumber.js/download/bignumber.js-9.0.1.tgz", - "integrity": "sha1-jXuhJMiCv9jkMmDGdHVRjQaJ5OU=" + "integrity": "sha1-jXuhJMiCv9jkMmDGdHVRjQaJ5OU=", + "dev": true }, "binary-extensions": { "version": "2.1.0", @@ -538,10 +465,17 @@ "integrity": "sha1-MPpAyef+B9vIlWeM0ocCTeokHdk=", "dev": true }, + "bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "dev": true + }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npm.taobao.org/brace-expansion/download/brace-expansion-1.1.11.tgz?cache=0&sync_timestamp=1601898189928&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbrace-expansion%2Fdownload%2Fbrace-expansion-1.1.11.tgz", "integrity": "sha1-PH/L9SnYcibz0vUrlm/1Jx60Qd0=", + "dev": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -562,39 +496,11 @@ "integrity": "sha1-uqVZ7hTO1zRSIputcyZGfGH6vWA=", "dev": true }, - "cacheable-request": { - "version": "6.1.0", - "resolved": "https://registry.npm.taobao.org/cacheable-request/download/cacheable-request-6.1.0.tgz", - "integrity": "sha1-IP+4vRYrpL4R6VZ9gj22UQUsqRI=", - "requires": { - "clone-response": "^1.0.2", - "get-stream": "^5.1.0", - "http-cache-semantics": "^4.0.0", - "keyv": "^3.0.0", - "lowercase-keys": "^2.0.0", - "normalize-url": "^4.1.0", - "responselike": "^1.0.2" - }, - "dependencies": { - "get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npm.taobao.org/get-stream/download/get-stream-5.2.0.tgz", - "integrity": "sha1-SWaheV7lrOZecGxLe+txJX1uItM=", - "requires": { - "pump": "^3.0.0" - } - }, - "lowercase-keys": { - "version": "2.0.0", - "resolved": "https://registry.npm.taobao.org/lowercase-keys/download/lowercase-keys-2.0.0.tgz", - "integrity": "sha1-JgPni3tLAAbLyi+8yKMgJVislHk=" - } - } - }, "call-bind": { "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/call-bind/download/call-bind-1.0.0.tgz?cache=0&sync_timestamp=1604117008862&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcall-bind%2Fdownload%2Fcall-bind-1.0.0.tgz", "integrity": "sha1-JBJwVLs/m9y0sfuCQYGGBy93uM4=", + "dev": true, "requires": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.0" @@ -609,12 +515,8 @@ "camelcase": { "version": "6.2.0", "resolved": "https://registry.npm.taobao.org/camelcase/download/camelcase-6.2.0.tgz?cache=0&sync_timestamp=1603923709404&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcamelcase%2Fdownload%2Fcamelcase-6.2.0.tgz", - "integrity": "sha1-kkr4gcnVJaydh/QNlk5c6pgqGAk=" - }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npm.taobao.org/caseless/download/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + "integrity": "sha1-kkr4gcnVJaydh/QNlk5c6pgqGAk=", + "dev": true }, "chai": { "version": "4.2.0", @@ -634,6 +536,7 @@ "version": "2.4.2", "resolved": "https://registry.npm.taobao.org/chalk/download/chalk-2.4.2.tgz", "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "dev": true, "requires": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -662,11 +565,6 @@ "readdirp": "~3.5.0" } }, - "clean-stack": { - "version": "2.2.0", - "resolved": "https://registry.npm.taobao.org/clean-stack/download/clean-stack-2.2.0.tgz?cache=0&sync_timestamp=1605702401116&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fclean-stack%2Fdownload%2Fclean-stack-2.2.0.tgz", - "integrity": "sha1-7oRy27Ep5yezHooQpCfe6d/kAIs=" - }, "cliui": { "version": "5.0.0", "resolved": "https://registry.npm.taobao.org/cliui/download/cliui-5.0.0.tgz?cache=0&sync_timestamp=1604880033053&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcliui%2Fdownload%2Fcliui-5.0.0.tgz", @@ -718,18 +616,11 @@ } } }, - "clone-response": { - "version": "1.0.2", - "resolved": "https://registry.npm.taobao.org/clone-response/download/clone-response-1.0.2.tgz", - "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", - "requires": { - "mimic-response": "^1.0.0" - } - }, "color-convert": { "version": "1.9.3", "resolved": "https://registry.npm.taobao.org/color-convert/download/color-convert-1.9.3.tgz", "integrity": "sha1-u3GFBpDh8TZWfeYp0tVHHe2kweg=", + "dev": true, "requires": { "color-name": "1.1.3" } @@ -737,12 +628,14 @@ "color-name": { "version": "1.1.3", "resolved": "https://registry.npm.taobao.org/color-name/download/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true }, "combined-stream": { "version": "1.0.8", "resolved": "https://registry.npm.taobao.org/combined-stream/download/combined-stream-1.0.8.tgz", "integrity": "sha1-w9RaizT9cwYxoRCoolIGgrMdWn8=", + "dev": true, "requires": { "delayed-stream": "~1.0.0" } @@ -750,7 +643,8 @@ "concat-map": { "version": "0.0.1", "resolved": "https://registry.npm.taobao.org/concat-map/download/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true }, "contains-path": { "version": "0.1.0", @@ -758,11 +652,6 @@ "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", "dev": true }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npm.taobao.org/core-util-is/download/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, "cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npm.taobao.org/cross-spawn/download/cross-spawn-7.0.3.tgz", @@ -774,14 +663,6 @@ "which": "^2.0.1" } }, - "dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npm.taobao.org/dashdash/download/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "requires": { - "assert-plus": "^1.0.0" - } - }, "date-format": { "version": "3.0.0", "resolved": "https://registry.npm.taobao.org/date-format/download/date-format-3.0.0.tgz", @@ -796,6 +677,7 @@ "version": "3.2.7", "resolved": "https://registry.npm.taobao.org/debug/download/debug-3.2.7.tgz?cache=0&sync_timestamp=1607566533140&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdebug%2Fdownload%2Fdebug-3.2.7.tgz", "integrity": "sha1-clgLfpFF+zm2Z2+cXl+xALk0F5o=", + "dev": true, "requires": { "ms": "^2.1.1" } @@ -806,14 +688,6 @@ "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "dev": true }, - "decompress-response": { - "version": "3.3.0", - "resolved": "https://registry.npm.taobao.org/decompress-response/download/decompress-response-3.3.0.tgz", - "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", - "requires": { - "mimic-response": "^1.0.0" - } - }, "deep-eql": { "version": "3.0.1", "resolved": "https://registry.npm.taobao.org/deep-eql/download/deep-eql-3.0.1.tgz", @@ -829,20 +703,11 @@ "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", "dev": true }, - "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npm.taobao.org/deepmerge/download/deepmerge-4.2.2.tgz", - "integrity": "sha1-RNLqNnm49NT/ujPwPYZfwee/SVU=" - }, - "defer-to-connect": { - "version": "1.1.3", - "resolved": "https://registry.npm.taobao.org/defer-to-connect/download/defer-to-connect-1.1.3.tgz", - "integrity": "sha1-MxrgUMCNz3ifjIOnuB8O2U9KxZE=" - }, "define-properties": { "version": "1.1.3", "resolved": "https://registry.npm.taobao.org/define-properties/download/define-properties-1.1.3.tgz", "integrity": "sha1-z4jabL7ib+bbcJT2HYcMvYTO6fE=", + "dev": true, "requires": { "object-keys": "^1.0.12" } @@ -850,12 +715,8 @@ "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/delayed-stream/download/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" - }, - "depd": { - "version": "2.0.0", - "resolved": "https://registry.npm.taobao.org/depd/download/depd-2.0.0.tgz", - "integrity": "sha1-tpYWPMdXVg0JzyLMj60Vcbeedt8=" + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true }, "diff": { "version": "4.0.2", @@ -867,38 +728,17 @@ "version": "2.1.0", "resolved": "https://registry.npm.taobao.org/doctrine/download/doctrine-2.1.0.tgz", "integrity": "sha1-XNAfwQFiG0LEzX9dGmYkNxbT850=", + "dev": true, "requires": { "esutils": "^2.0.2" } }, - "duplexer3": { - "version": "0.1.4", - "resolved": "https://registry.npm.taobao.org/duplexer3/download/duplexer3-0.1.4.tgz", - "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" - }, - "ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npm.taobao.org/ecc-jsbn/download/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", - "requires": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npm.taobao.org/emoji-regex/download/emoji-regex-8.0.0.tgz?cache=0&sync_timestamp=1603212180491&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Femoji-regex%2Fdownload%2Femoji-regex-8.0.0.tgz", "integrity": "sha1-6Bj9ac5cz8tARZT4QpY79TFkzDc=", "dev": true }, - "end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npm.taobao.org/end-of-stream/download/end-of-stream-1.4.4.tgz", - "integrity": "sha1-WuZKX0UFe682JuwU2gyl5LJDHrA=", - "requires": { - "once": "^1.4.0" - } - }, "enquirer": { "version": "2.3.6", "resolved": "https://registry.npm.taobao.org/enquirer/download/enquirer-2.3.6.tgz", @@ -921,6 +761,7 @@ "version": "1.18.0-next.1", "resolved": "https://registry.npm.taobao.org/es-abstract/download/es-abstract-1.18.0-next.1.tgz?cache=0&sync_timestamp=1601502719982&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fes-abstract%2Fdownload%2Fes-abstract-1.18.0-next.1.tgz", "integrity": "sha1-bjoKS9pxflAjqzuOkL7DYQjSLGg=", + "dev": true, "requires": { "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", @@ -940,6 +781,7 @@ "version": "1.2.1", "resolved": "https://registry.npm.taobao.org/es-to-primitive/download/es-to-primitive-1.2.1.tgz", "integrity": "sha1-5VzUyc3BiLzvsDs2bHNjI/xciYo=", + "dev": true, "requires": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", @@ -949,12 +791,14 @@ "es6-promise": { "version": "4.2.8", "resolved": "https://registry.npm.taobao.org/es6-promise/download/es6-promise-4.2.8.tgz", - "integrity": "sha1-TrIVlMlyvEBVPSduUQU5FD21Pgo=" + "integrity": "sha1-TrIVlMlyvEBVPSduUQU5FD21Pgo=", + "dev": true }, "es6-promisify": { "version": "5.0.0", "resolved": "https://registry.npm.taobao.org/es6-promisify/download/es6-promisify-5.0.0.tgz", "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=", + "dev": true, "requires": { "es6-promise": "^4.0.3" } @@ -962,7 +806,8 @@ "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npm.taobao.org/escape-string-regexp/download/escape-string-regexp-1.0.5.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fescape-string-regexp%2Fdownload%2Fescape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true }, "eslint": { "version": "7.17.0", @@ -1255,6 +1100,7 @@ "version": "7.22.0", "resolved": "https://registry.npm.taobao.org/eslint-plugin-react/download/eslint-plugin-react-7.22.0.tgz?cache=0&sync_timestamp=1609302315237&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Feslint-plugin-react%2Fdownload%2Feslint-plugin-react-7.22.0.tgz", "integrity": "sha1-PRxULR0xacRUIcEhXZRw40Fwcmk=", + "dev": true, "requires": { "array-includes": "^3.1.1", "array.prototype.flatmap": "^1.2.3", @@ -1291,7 +1137,8 @@ "eslint-visitor-keys": { "version": "1.3.0", "resolved": "https://registry.npm.taobao.org/eslint-visitor-keys/download/eslint-visitor-keys-1.3.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Feslint-visitor-keys%2Fdownload%2Feslint-visitor-keys-1.3.0.tgz", - "integrity": "sha1-MOvR73wv3/AcOk8VEESvJfqwUj4=" + "integrity": "sha1-MOvR73wv3/AcOk8VEESvJfqwUj4=", + "dev": true }, "espree": { "version": "7.3.1", @@ -1307,7 +1154,8 @@ "esprima": { "version": "4.0.1", "resolved": "https://registry.npm.taobao.org/esprima/download/esprima-4.0.1.tgz", - "integrity": "sha1-E7BM2z5sXRnfkatph6hpVhmwqnE=" + "integrity": "sha1-E7BM2z5sXRnfkatph6hpVhmwqnE=", + "dev": true }, "esquery": { "version": "1.3.1", @@ -1352,27 +1200,20 @@ "esutils": { "version": "2.0.3", "resolved": "https://registry.npm.taobao.org/esutils/download/esutils-2.0.3.tgz", - "integrity": "sha1-dNLrTeC42hKTcRkQ1Qd1ubcQ72Q=" - }, - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npm.taobao.org/extend/download/extend-3.0.2.tgz", - "integrity": "sha1-+LETa0Bx+9jrFAr/hYsQGewpFfo=" - }, - "extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npm.taobao.org/extsprintf/download/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" + "integrity": "sha1-dNLrTeC42hKTcRkQ1Qd1ubcQ72Q=", + "dev": true }, "fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npm.taobao.org/fast-deep-equal/download/fast-deep-equal-3.1.3.tgz", - "integrity": "sha1-On1WtVnWy8PrUSMlJE5hmmXGxSU=" + "integrity": "sha1-On1WtVnWy8PrUSMlJE5hmmXGxSU=", + "dev": true }, "fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npm.taobao.org/fast-json-stable-stringify/download/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha1-h0v2nG9ATCtdmcSBNBOZ/VWJJjM=" + "integrity": "sha1-h0v2nG9ATCtdmcSBNBOZ/VWJJjM=", + "dev": true }, "fast-levenshtein": { "version": "2.0.6", @@ -1441,15 +1282,11 @@ "resolved": "https://registry.npm.taobao.org/follow-redirects/download/follow-redirects-1.13.2.tgz?cache=0&sync_timestamp=1611606737937&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffollow-redirects%2Fdownload%2Ffollow-redirects-1.13.2.tgz", "integrity": "sha1-3XPI7/wScoulz0JZ12DqX7g+MUc=" }, - "forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npm.taobao.org/forever-agent/download/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" - }, "form-data": { "version": "3.0.0", "resolved": "https://registry.npm.taobao.org/form-data/download/form-data-3.0.0.tgz", "integrity": "sha1-MbfjnIXxNVtxOe4MZHzw3n+DxoI=", + "dev": true, "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -1469,7 +1306,8 @@ "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/fs.realpath/download/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true }, "fsevents": { "version": "2.1.3", @@ -1481,7 +1319,8 @@ "function-bind": { "version": "1.1.1", "resolved": "https://registry.npm.taobao.org/function-bind/download/function-bind-1.1.1.tgz", - "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=" + "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=", + "dev": true }, "functional-red-black-tree": { "version": "1.0.1", @@ -1505,6 +1344,7 @@ "version": "1.0.2", "resolved": "https://registry.npm.taobao.org/get-intrinsic/download/get-intrinsic-1.0.2.tgz?cache=0&sync_timestamp=1608274321235&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fget-intrinsic%2Fdownload%2Fget-intrinsic-1.0.2.tgz", "integrity": "sha1-aCDaIm5QskiU4IhZRp3Gg2FUXUk=", + "dev": true, "requires": { "function-bind": "^1.1.1", "has": "^1.0.3", @@ -1514,20 +1354,14 @@ "get-stream": { "version": "6.0.0", "resolved": "https://registry.npm.taobao.org/get-stream/download/get-stream-6.0.0.tgz", - "integrity": "sha1-PgASy2gnMZ2icG5gGhWD6GKaZxg=" - }, - "getpass": { - "version": "0.1.7", - "resolved": "https://registry.npm.taobao.org/getpass/download/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", - "requires": { - "assert-plus": "^1.0.0" - } + "integrity": "sha1-PgASy2gnMZ2icG5gGhWD6GKaZxg=", + "dev": true }, "glob": { "version": "7.1.6", "resolved": "https://registry.npm.taobao.org/glob/download/glob-7.1.6.tgz?cache=0&sync_timestamp=1599054256752&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fglob%2Fdownload%2Fglob-7.1.6.tgz", "integrity": "sha1-FB8zuBp8JJLhJVlDB0gMRmeSeKY=", + "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -1549,35 +1383,8 @@ "globals": { "version": "11.12.0", "resolved": "https://registry.npm.taobao.org/globals/download/globals-11.12.0.tgz?cache=0&sync_timestamp=1608438490211&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fglobals%2Fdownload%2Fglobals-11.12.0.tgz", - "integrity": "sha1-q4eVM4hooLq9hSV1gBjCp+uVxC4=" - }, - "got": { - "version": "9.6.0", - "resolved": "https://registry.npm.taobao.org/got/download/got-9.6.0.tgz?cache=0&sync_timestamp=1607656090858&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fgot%2Fdownload%2Fgot-9.6.0.tgz", - "integrity": "sha1-7fRefWf5lUVwXeH3u+7rEhdl7YU=", - "requires": { - "@sindresorhus/is": "^0.14.0", - "@szmarczak/http-timer": "^1.1.2", - "cacheable-request": "^6.0.0", - "decompress-response": "^3.3.0", - "duplexer3": "^0.1.4", - "get-stream": "^4.1.0", - "lowercase-keys": "^1.0.1", - "mimic-response": "^1.0.1", - "p-cancelable": "^1.0.0", - "to-readable-stream": "^1.0.0", - "url-parse-lax": "^3.0.0" - }, - "dependencies": { - "get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npm.taobao.org/get-stream/download/get-stream-4.1.0.tgz", - "integrity": "sha1-wbJVV189wh1Zv8ec09K0axw6VLU=", - "requires": { - "pump": "^3.0.0" - } - } - } + "integrity": "sha1-q4eVM4hooLq9hSV1gBjCp+uVxC4=", + "dev": true }, "graceful-fs": { "version": "4.2.4", @@ -1590,24 +1397,11 @@ "integrity": "sha1-8nNdwig2dPpnR4sQGBBZNVw2nl4=", "dev": true }, - "har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npm.taobao.org/har-schema/download/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" - }, - "har-validator": { - "version": "5.1.5", - "resolved": "https://registry.npm.taobao.org/har-validator/download/har-validator-5.1.5.tgz", - "integrity": "sha1-HwgDufjLIMD6E4It8ezds2veHv0=", - "requires": { - "ajv": "^6.12.3", - "har-schema": "^2.0.0" - } - }, "has": { "version": "1.0.3", "resolved": "https://registry.npm.taobao.org/has/download/has-1.0.3.tgz", "integrity": "sha1-ci18v8H2qoJB8W3YFOAR4fQeh5Y=", + "dev": true, "requires": { "function-bind": "^1.1.1" } @@ -1615,12 +1409,14 @@ "has-flag": { "version": "3.0.0", "resolved": "https://registry.npm.taobao.org/has-flag/download/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true }, "has-symbols": { "version": "1.0.1", "resolved": "https://registry.npm.taobao.org/has-symbols/download/has-symbols-1.0.1.tgz", - "integrity": "sha1-n1IUdYpEGWxAbZvXbOv4HsLdMeg=" + "integrity": "sha1-n1IUdYpEGWxAbZvXbOv4HsLdMeg=", + "dev": true }, "he": { "version": "1.2.0", @@ -1634,25 +1430,11 @@ "integrity": "sha1-dTm9S8Hg4KiVgVouAmJCCxKFhIg=", "dev": true }, - "http-cache-semantics": { - "version": "4.1.0", - "resolved": "https://registry.npm.taobao.org/http-cache-semantics/download/http-cache-semantics-4.1.0.tgz", - "integrity": "sha1-SekcXL82yblLz81xwj1SSex045A=" - }, - "http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npm.taobao.org/http-signature/download/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", - "requires": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - } - }, "https-proxy-agent": { "version": "2.2.4", "resolved": "https://registry.npm.taobao.org/https-proxy-agent/download/https-proxy-agent-2.2.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhttps-proxy-agent%2Fdownload%2Fhttps-proxy-agent-2.2.4.tgz", "integrity": "sha1-TuenN6vZJniik9mzShr00NCMeHs=", + "dev": true, "requires": { "agent-base": "^4.3.0", "debug": "^3.1.0" @@ -1662,6 +1444,7 @@ "version": "2.2.7", "resolved": "https://registry.npm.taobao.org/httpx/download/httpx-2.2.7.tgz?cache=0&sync_timestamp=1604908999113&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhttpx%2Fdownload%2Fhttpx-2.2.7.tgz", "integrity": "sha1-HjQZgUbjLKMwWmbBEglVnhy+ugk=", + "dev": true, "requires": { "@types/node": "^14", "debug": "^4.1.1" @@ -1671,6 +1454,7 @@ "version": "4.3.1", "resolved": "https://registry.npm.taobao.org/debug/download/debug-4.3.1.tgz?cache=0&sync_timestamp=1607566533140&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdebug%2Fdownload%2Fdebug-4.3.1.tgz", "integrity": "sha1-8NIpxQXgxtjEmsVT0bE9wYP2su4=", + "dev": true, "requires": { "ms": "2.1.2" } @@ -1678,7 +1462,8 @@ "ms": { "version": "2.1.2", "resolved": "https://registry.npm.taobao.org/ms/download/ms-2.1.2.tgz?cache=0&sync_timestamp=1607433842694&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fms%2Fdownload%2Fms-2.1.2.tgz", - "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=" + "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=", + "dev": true } } }, @@ -1704,15 +1489,11 @@ "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", "dev": true }, - "indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npm.taobao.org/indent-string/download/indent-string-4.0.0.tgz", - "integrity": "sha1-Yk+PRJfWGbLZdoUx1Y9BIoVNclE=" - }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npm.taobao.org/inflight/download/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, "requires": { "once": "^1.3.0", "wrappy": "1" @@ -1721,12 +1502,14 @@ "inherits": { "version": "2.0.4", "resolved": "https://registry.npm.taobao.org/inherits/download/inherits-2.0.4.tgz", - "integrity": "sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w=" + "integrity": "sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w=", + "dev": true }, "internal-slot": { "version": "1.0.2", "resolved": "https://registry.npm.taobao.org/internal-slot/download/internal-slot-1.0.2.tgz", "integrity": "sha1-nC6fs82OXkJWxvRf4xAGf8+jeKM=", + "dev": true, "requires": { "es-abstract": "^1.17.0-next.1", "has": "^1.0.3", @@ -1737,6 +1520,7 @@ "version": "1.17.7", "resolved": "https://registry.npm.taobao.org/es-abstract/download/es-abstract-1.17.7.tgz?cache=0&sync_timestamp=1601502719982&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fes-abstract%2Fdownload%2Fes-abstract-1.17.7.tgz", "integrity": "sha1-pN5hsvZpifx0IWdsHLl4dXOs5Uw=", + "dev": true, "requires": { "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", @@ -1753,11 +1537,6 @@ } } }, - "interpret": { - "version": "1.4.0", - "resolved": "https://registry.npm.taobao.org/interpret/download/interpret-1.4.0.tgz", - "integrity": "sha1-Zlq4vE2iendKQFhOgS4+D6RbGh4=" - }, "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npm.taobao.org/is-arrayish/download/is-arrayish-0.2.1.tgz", @@ -1776,12 +1555,14 @@ "is-callable": { "version": "1.2.2", "resolved": "https://registry.npm.taobao.org/is-callable/download/is-callable-1.2.2.tgz?cache=0&sync_timestamp=1600719276620&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-callable%2Fdownload%2Fis-callable-1.2.2.tgz", - "integrity": "sha1-x8ZxXNItTdtI0+GZcCI6zquwgNk=" + "integrity": "sha1-x8ZxXNItTdtI0+GZcCI6zquwgNk=", + "dev": true }, "is-core-module": { "version": "2.2.0", "resolved": "https://registry.npm.taobao.org/is-core-module/download/is-core-module-2.2.0.tgz?cache=0&sync_timestamp=1606411622542&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-core-module%2Fdownload%2Fis-core-module-2.2.0.tgz", "integrity": "sha1-lwN+89UiJNhRY/VZeytj2a/tmBo=", + "dev": true, "requires": { "has": "^1.0.3" } @@ -1789,7 +1570,8 @@ "is-date-object": { "version": "1.0.2", "resolved": "https://registry.npm.taobao.org/is-date-object/download/is-date-object-1.0.2.tgz", - "integrity": "sha1-vac28s2P0G0yhE53Q7+nSUw7/X4=" + "integrity": "sha1-vac28s2P0G0yhE53Q7+nSUw7/X4=", + "dev": true }, "is-extglob": { "version": "2.1.1", @@ -1815,7 +1597,8 @@ "is-negative-zero": { "version": "2.0.1", "resolved": "https://registry.npm.taobao.org/is-negative-zero/download/is-negative-zero-2.0.1.tgz?cache=0&sync_timestamp=1607123080624&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-negative-zero%2Fdownload%2Fis-negative-zero-2.0.1.tgz", - "integrity": "sha1-PedGwY3aIxkkGlNnWQjY92bxHCQ=" + "integrity": "sha1-PedGwY3aIxkkGlNnWQjY92bxHCQ=", + "dev": true }, "is-number": { "version": "7.0.0", @@ -1829,15 +1612,11 @@ "integrity": "sha1-ReQuN/zPH0Dajl927iFRWEDAkoc=", "dev": true }, - "is-plain-object": { - "version": "3.0.1", - "resolved": "https://registry.npm.taobao.org/is-plain-object/download/is-plain-object-3.0.1.tgz", - "integrity": "sha1-Zi2S0kwKpDAkB7DUXSHyJRyF+Fs=" - }, "is-regex": { "version": "1.1.1", "resolved": "https://registry.npm.taobao.org/is-regex/download/is-regex-1.1.1.tgz", "integrity": "sha1-xvmKrMVG9s7FRooHt7FTq1ZKV7k=", + "dev": true, "requires": { "has-symbols": "^1.0.1" } @@ -1845,26 +1624,24 @@ "is-stream": { "version": "2.0.0", "resolved": "https://registry.npm.taobao.org/is-stream/download/is-stream-2.0.0.tgz", - "integrity": "sha1-venDJoDW+uBBKdasnZIc54FfeOM=" + "integrity": "sha1-venDJoDW+uBBKdasnZIc54FfeOM=", + "dev": true }, "is-string": { "version": "1.0.5", "resolved": "https://registry.npm.taobao.org/is-string/download/is-string-1.0.5.tgz", - "integrity": "sha1-QEk+0ZjvP/R3uMf5L2ROyCpc06Y=" + "integrity": "sha1-QEk+0ZjvP/R3uMf5L2ROyCpc06Y=", + "dev": true }, "is-symbol": { "version": "1.0.3", "resolved": "https://registry.npm.taobao.org/is-symbol/download/is-symbol-1.0.3.tgz", "integrity": "sha1-OOEBS55jKb4N6dJKQU/XRB7GGTc=", + "dev": true, "requires": { "has-symbols": "^1.0.1" } }, - "is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npm.taobao.org/is-typedarray/download/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" - }, "isarray": { "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/isarray/download/isarray-1.0.0.tgz", @@ -1877,70 +1654,42 @@ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, - "isomorphic-ws": { - "version": "4.0.1", - "resolved": "https://registry.npm.taobao.org/isomorphic-ws/download/isomorphic-ws-4.0.1.tgz", - "integrity": "sha1-Vf1M1sXmSR523BJZON2GP1zU8tw=" - }, - "isstream": { - "version": "0.1.2", - "resolved": "https://registry.npm.taobao.org/isstream/download/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" - }, - "jose": { - "version": "1.28.0", - "resolved": "https://registry.npm.taobao.org/jose/download/jose-1.28.0.tgz", - "integrity": "sha1-CAP4xx9DzSk6nZMcVVwwUx9cpdw=", - "requires": { - "@panva/asn1.js": "^1.0.0" - } - }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npm.taobao.org/js-tokens/download/js-tokens-4.0.0.tgz", - "integrity": "sha1-GSA/tZmR35jjoocFDUZHzerzJJk=" + "integrity": "sha1-GSA/tZmR35jjoocFDUZHzerzJJk=", + "dev": true }, "js-yaml": { "version": "3.14.1", "resolved": "https://registry.npm.taobao.org/js-yaml/download/js-yaml-3.14.1.tgz?cache=0&sync_timestamp=1609680108107&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjs-yaml%2Fdownload%2Fjs-yaml-3.14.1.tgz", "integrity": "sha1-2ugS/bOCX6MGYJqHFzg8UMNqBTc=", + "dev": true, "requires": { "argparse": "^1.0.7", "esprima": "^4.0.0" } }, - "jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npm.taobao.org/jsbn/download/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" - }, "jsesc": { "version": "2.5.2", "resolved": "https://registry.npm.taobao.org/jsesc/download/jsesc-2.5.2.tgz?cache=0&sync_timestamp=1603900010788&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjsesc%2Fdownload%2Fjsesc-2.5.2.tgz", - "integrity": "sha1-gFZNLkg9rPbo7yCWUKZ98/DCg6Q=" + "integrity": "sha1-gFZNLkg9rPbo7yCWUKZ98/DCg6Q=", + "dev": true }, "json-bigint": { "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/json-bigint/download/json-bigint-1.0.0.tgz", "integrity": "sha1-rlR4I6wMrYOYZn+M2e9HMPWwH/E=", + "dev": true, "requires": { "bignumber.js": "^9.0.0" } }, - "json-buffer": { - "version": "3.0.0", - "resolved": "https://registry.npm.taobao.org/json-buffer/download/json-buffer-3.0.0.tgz", - "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=" - }, - "json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npm.taobao.org/json-schema/download/json-schema-0.2.3.tgz?cache=0&sync_timestamp=1609553637722&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjson-schema%2Fdownload%2Fjson-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" - }, "json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npm.taobao.org/json-schema-traverse/download/json-schema-traverse-0.4.1.tgz?cache=0&sync_timestamp=1607999852153&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjson-schema-traverse%2Fdownload%2Fjson-schema-traverse-0.4.1.tgz", - "integrity": "sha1-afaofZUTq4u4/mO9sJecRI5oRmA=" + "integrity": "sha1-afaofZUTq4u4/mO9sJecRI5oRmA=", + "dev": true }, "json-stable-stringify-without-jsonify": { "version": "1.0.1", @@ -1948,16 +1697,6 @@ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, - "json-stream": { - "version": "1.0.0", - "resolved": "https://registry.npm.taobao.org/json-stream/download/json-stream-1.0.0.tgz", - "integrity": "sha1-GjhU4o0rvuqzHMfd9oPS3cVlJwg=" - }, - "json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npm.taobao.org/json-stringify-safe/download/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" - }, "json5": { "version": "1.0.1", "resolved": "https://registry.npm.taobao.org/json5/download/json5-1.0.1.tgz?cache=0&sync_timestamp=1599054166959&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjson5%2Fdownload%2Fjson5-1.0.1.tgz", @@ -1975,63 +1714,21 @@ "graceful-fs": "^4.1.6" } }, - "jsonpath-plus": { - "version": "0.19.0", - "resolved": "https://registry.npm.taobao.org/jsonpath-plus/download/jsonpath-plus-0.19.0.tgz", - "integrity": "sha1-uQHldgcFWTPcmovvDMJRYO6d1kw=" - }, - "jsprim": { - "version": "1.4.1", - "resolved": "https://registry.npm.taobao.org/jsprim/download/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", - "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.2.3", - "verror": "1.10.0" - } - }, "jsx-ast-utils": { "version": "3.2.0", "resolved": "https://registry.npm.taobao.org/jsx-ast-utils/download/jsx-ast-utils-3.2.0.tgz", "integrity": "sha1-QRCNLOxAjDRTwbvopKrp4eK9j4I=", + "dev": true, "requires": { "array-includes": "^3.1.2", "object.assign": "^4.1.2" } }, - "keyv": { - "version": "3.1.0", - "resolved": "https://registry.npm.taobao.org/keyv/download/keyv-3.1.0.tgz?cache=0&sync_timestamp=1600337463601&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fkeyv%2Fdownload%2Fkeyv-3.1.0.tgz", - "integrity": "sha1-7MIoSG9pmR5J6UdkhaW+Ho/FxNk=", - "requires": { - "json-buffer": "3.0.0" - } - }, "kitx": { "version": "1.3.0", "resolved": "https://registry.npm.taobao.org/kitx/download/kitx-1.3.0.tgz", - "integrity": "sha1-qz7nxZjSsdYp/VVWj4aMREDCAOo=" - }, - "kubernetes-client": { - "version": "9.0.0", - "resolved": "https://registry.npm.taobao.org/kubernetes-client/download/kubernetes-client-9.0.0.tgz", - "integrity": "sha1-9y5scaqiBUiz1kZvHciN+mH7O6Q=", - "requires": { - "@kubernetes/client-node": "0.10.2", - "camelcase": "^6.0.0", - "deepmerge": "^4.2.2", - "depd": "^2.0.0", - "js-yaml": "^3.13.1", - "json-stream": "^1.0.0", - "openid-client": "^3.14.0", - "pump": "^3.0.0", - "qs": "^6.9.0", - "request": "^2.88.2", - "swagger-fluent": "^5.0.3", - "url-join": "^4.0.1", - "ws": "^7.2.3" - } + "integrity": "sha1-qz7nxZjSsdYp/VVWj4aMREDCAOo=", + "dev": true }, "levn": { "version": "0.4.1", @@ -2068,7 +1765,8 @@ "lodash": { "version": "4.17.20", "resolved": "https://registry.npm.taobao.org/lodash/download/lodash-4.17.20.tgz", - "integrity": "sha1-tEqbYpe8tpjxxRo1RaKzs2jVnFI=" + "integrity": "sha1-tEqbYpe8tpjxxRo1RaKzs2jVnFI=", + "dev": true }, "lodash-es": { "version": "4.17.20", @@ -2166,50 +1864,40 @@ "version": "1.4.0", "resolved": "https://registry.npm.taobao.org/loose-envify/download/loose-envify-1.4.0.tgz", "integrity": "sha1-ce5R+nvkyuwaY4OffmgtgTLTDK8=", + "dev": true, "requires": { "js-tokens": "^3.0.0 || ^4.0.0" } }, - "lowercase-keys": { - "version": "1.0.1", - "resolved": "https://registry.npm.taobao.org/lowercase-keys/download/lowercase-keys-1.0.1.tgz", - "integrity": "sha1-b54wtHCE2XGnyCD/FabFFnt0wm8=" - }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npm.taobao.org/lru-cache/download/lru-cache-6.0.0.tgz?cache=0&sync_timestamp=1599054167787&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flru-cache%2Fdownload%2Flru-cache-6.0.0.tgz", "integrity": "sha1-bW/mVw69lqr5D8rR2vo7JWbbOpQ=", + "dev": true, "requires": { "yallist": "^4.0.0" } }, - "make-error": { - "version": "1.3.6", - "resolved": "https://registry.npm.taobao.org/make-error/download/make-error-1.3.6.tgz", - "integrity": "sha1-LrLjfqm2fEiR9oShOUeZr0hM96I=" - }, "mime-db": { "version": "1.45.0", "resolved": "https://registry.npm.taobao.org/mime-db/download/mime-db-1.45.0.tgz?cache=0&sync_timestamp=1600831210195&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmime-db%2Fdownload%2Fmime-db-1.45.0.tgz", - "integrity": "sha1-zO7aIczXw6dF66LezVXUtz54eeo=" + "integrity": "sha1-zO7aIczXw6dF66LezVXUtz54eeo=", + "dev": true }, "mime-types": { "version": "2.1.28", "resolved": "https://registry.npm.taobao.org/mime-types/download/mime-types-2.1.28.tgz?cache=0&sync_timestamp=1609559840102&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmime-types%2Fdownload%2Fmime-types-2.1.28.tgz", "integrity": "sha1-EWDEdX6rLFNjiI4AUnPs950qDs0=", + "dev": true, "requires": { "mime-db": "1.45.0" } }, - "mimic-response": { - "version": "1.0.1", - "resolved": "https://registry.npm.taobao.org/mimic-response/download/mimic-response-1.0.1.tgz", - "integrity": "sha1-SSNTiHju9CBjy4o+OweYeBSHqxs=" - }, "minimatch": { "version": "3.0.4", "resolved": "https://registry.npm.taobao.org/minimatch/download/minimatch-3.0.4.tgz", "integrity": "sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=", + "dev": true, "requires": { "brace-expansion": "^1.1.7" } @@ -2347,7 +2035,8 @@ "ms": { "version": "2.1.3", "resolved": "https://registry.npm.taobao.org/ms/download/ms-2.1.3.tgz?cache=0&sync_timestamp=1607433842694&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fms%2Fdownload%2Fms-2.1.3.tgz", - "integrity": "sha1-V0yBOM4dK1hh8LRFedut1gxmFbI=" + "integrity": "sha1-V0yBOM4dK1hh8LRFedut1gxmFbI=", + "dev": true }, "nanoid": { "version": "3.1.12", @@ -2364,7 +2053,14 @@ "node-fetch": { "version": "2.6.1", "resolved": "https://registry.npm.taobao.org/node-fetch/download/node-fetch-2.6.1.tgz?cache=0&sync_timestamp=1599309179354&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnode-fetch%2Fdownload%2Fnode-fetch-2.6.1.tgz", - "integrity": "sha1-BFvTI2Mfdu0uK1VXM5RBa2OaAFI=" + "integrity": "sha1-BFvTI2Mfdu0uK1VXM5RBa2OaAFI=", + "dev": true + }, + "node-forge": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", + "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", + "dev": true }, "normalize-package-data": { "version": "2.5.0", @@ -2392,40 +2088,29 @@ "integrity": "sha1-Dc1p/yOhybEf0JeDFmRKA4ghamU=", "dev": true }, - "normalize-url": { - "version": "4.5.0", - "resolved": "https://registry.npm.taobao.org/normalize-url/download/normalize-url-4.5.0.tgz?cache=0&sync_timestamp=1602432435724&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnormalize-url%2Fdownload%2Fnormalize-url-4.5.0.tgz", - "integrity": "sha1-RTNUCH5sqWlXvY9br3U/WYIUISk=" - }, - "oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npm.taobao.org/oauth-sign/download/oauth-sign-0.9.0.tgz", - "integrity": "sha1-R6ewFrqmi1+g7PPe4IqFxnmsZFU=" - }, "object-assign": { "version": "4.1.1", "resolved": "https://registry.npm.taobao.org/object-assign/download/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" - }, - "object-hash": { - "version": "2.1.1", - "resolved": "https://registry.npm.taobao.org/object-hash/download/object-hash-2.1.1.tgz?cache=0&sync_timestamp=1608920995865&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject-hash%2Fdownload%2Fobject-hash-2.1.1.tgz", - "integrity": "sha1-lEfQJ5tPz4DP8yWb9modxzr6vgk=" + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true }, "object-inspect": { "version": "1.9.0", "resolved": "https://registry.npm.taobao.org/object-inspect/download/object-inspect-1.9.0.tgz?cache=0&sync_timestamp=1606804209430&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject-inspect%2Fdownload%2Fobject-inspect-1.9.0.tgz", - "integrity": "sha1-yQUh104RJ7ZyZt7TOUrWEWmGUzo=" + "integrity": "sha1-yQUh104RJ7ZyZt7TOUrWEWmGUzo=", + "dev": true }, "object-keys": { "version": "1.1.1", "resolved": "https://registry.npm.taobao.org/object-keys/download/object-keys-1.1.1.tgz", - "integrity": "sha1-HEfyct8nfzsdrwYWd9nILiMixg4=" + "integrity": "sha1-HEfyct8nfzsdrwYWd9nILiMixg4=", + "dev": true }, "object.assign": { "version": "4.1.2", "resolved": "https://registry.npm.taobao.org/object.assign/download/object.assign-4.1.2.tgz?cache=0&sync_timestamp=1604115158081&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject.assign%2Fdownload%2Fobject.assign-4.1.2.tgz", "integrity": "sha1-DtVKNC7Os3s4/3brgxoOeIy2OUA=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3", @@ -2437,6 +2122,7 @@ "version": "1.1.3", "resolved": "https://registry.npm.taobao.org/object.entries/download/object.entries-1.1.3.tgz?cache=0&sync_timestamp=1606430709225&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject.entries%2Fdownload%2Fobject.entries-1.1.3.tgz", "integrity": "sha1-xgHH8Wi2I3RUGgfdvT4tXk93EaY=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3", @@ -2448,6 +2134,7 @@ "version": "2.0.3", "resolved": "https://registry.npm.taobao.org/object.fromentries/download/object.fromentries-2.0.3.tgz?cache=0&sync_timestamp=1606458393459&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject.fromentries%2Fdownload%2Fobject.fromentries-2.0.3.tgz", "integrity": "sha1-E878/6cC3Gd1AxSjMF6Ms/rR0HI=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3", @@ -2459,6 +2146,7 @@ "version": "1.1.2", "resolved": "https://registry.npm.taobao.org/object.values/download/object.values-1.1.2.tgz?cache=0&sync_timestamp=1606430068369&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject.values%2Fdownload%2Fobject.values-1.1.2.tgz", "integrity": "sha1-eiAV4G/LD1Rr1lJIbOhYOkcxxzE=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3", @@ -2466,35 +2154,15 @@ "has": "^1.0.3" } }, - "oidc-token-hash": { - "version": "5.0.0", - "resolved": "https://registry.npm.taobao.org/oidc-token-hash/download/oidc-token-hash-5.0.0.tgz", - "integrity": "sha1-rN+x9DEPWOZNXXSk6GcaQmmG6Ig=" - }, "once": { "version": "1.4.0", "resolved": "https://registry.npm.taobao.org/once/download/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, "requires": { "wrappy": "1" } }, - "openid-client": { - "version": "3.15.10", - "resolved": "https://registry.npm.taobao.org/openid-client/download/openid-client-3.15.10.tgz", - "integrity": "sha1-NZePYpu5X97rCrc2WqSADKC2VY4=", - "requires": { - "@types/got": "^9.6.9", - "base64url": "^3.0.1", - "got": "^9.6.0", - "jose": "^1.27.1", - "lru-cache": "^6.0.0", - "make-error": "^1.3.6", - "object-hash": "^2.0.1", - "oidc-token-hash": "^5.0.0", - "p-any": "^3.0.0" - } - }, "optionator": { "version": "0.9.1", "resolved": "https://registry.npm.taobao.org/optionator/download/optionator-0.9.1.tgz", @@ -2509,27 +2177,6 @@ "word-wrap": "^1.2.3" } }, - "p-any": { - "version": "3.0.0", - "resolved": "https://registry.npm.taobao.org/p-any/download/p-any-3.0.0.tgz", - "integrity": "sha1-eYR67tcLXToQ6mJSlsDD0ukKh7k=", - "requires": { - "p-cancelable": "^2.0.0", - "p-some": "^5.0.0" - }, - "dependencies": { - "p-cancelable": { - "version": "2.0.0", - "resolved": "https://registry.npm.taobao.org/p-cancelable/download/p-cancelable-2.0.0.tgz", - "integrity": "sha1-SjdA9b2vXtXXw+NIgsb7XWsmam4=" - } - } - }, - "p-cancelable": { - "version": "1.1.0", - "resolved": "https://registry.npm.taobao.org/p-cancelable/download/p-cancelable-1.1.0.tgz", - "integrity": "sha1-0HjRWjr0CSIMiG8dmgyi5EGrJsw=" - }, "p-limit": { "version": "1.3.0", "resolved": "https://registry.npm.taobao.org/p-limit/download/p-limit-1.3.0.tgz?cache=0&sync_timestamp=1606288395505&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fp-limit%2Fdownload%2Fp-limit-1.3.0.tgz", @@ -2548,22 +2195,6 @@ "p-limit": "^1.1.0" } }, - "p-some": { - "version": "5.0.0", - "resolved": "https://registry.npm.taobao.org/p-some/download/p-some-5.0.0.tgz", - "integrity": "sha1-i3MMdLT+UWnXJkokCtAQtuvGhqQ=", - "requires": { - "aggregate-error": "^3.0.0", - "p-cancelable": "^2.0.0" - }, - "dependencies": { - "p-cancelable": { - "version": "2.0.0", - "resolved": "https://registry.npm.taobao.org/p-cancelable/download/p-cancelable-2.0.0.tgz", - "integrity": "sha1-SjdA9b2vXtXXw+NIgsb7XWsmam4=" - } - } - }, "p-try": { "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/p-try/download/p-try-1.0.0.tgz", @@ -2597,7 +2228,8 @@ "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npm.taobao.org/path-is-absolute/download/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true }, "path-key": { "version": "3.1.1", @@ -2608,7 +2240,8 @@ "path-parse": { "version": "1.0.6", "resolved": "https://registry.npm.taobao.org/path-parse/download/path-parse-1.0.6.tgz", - "integrity": "sha1-1i27VnlAXXLEc37FhgDp3c8G0kw=" + "integrity": "sha1-1i27VnlAXXLEc37FhgDp3c8G0kw=", + "dev": true }, "path-type": { "version": "2.0.0", @@ -2625,11 +2258,6 @@ "integrity": "sha1-uULm1L3mUwBe9rcTYd74cn0GReA=", "dev": true }, - "performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npm.taobao.org/performance-now/download/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" - }, "picomatch": { "version": "2.2.2", "resolved": "https://registry.npm.taobao.org/picomatch/download/picomatch-2.2.2.tgz", @@ -2657,11 +2285,6 @@ "integrity": "sha1-3rxkidem5rDnYRiIzsiAM30xY5Y=", "dev": true }, - "prepend-http": { - "version": "2.0.0", - "resolved": "https://registry.npm.taobao.org/prepend-http/download/prepend-http-2.0.0.tgz", - "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=" - }, "progress": { "version": "2.0.3", "resolved": "https://registry.npm.taobao.org/progress/download/progress-2.0.3.tgz?cache=0&sync_timestamp=1599054255267&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fprogress%2Fdownload%2Fprogress-2.0.3.tgz", @@ -2672,30 +2295,18 @@ "version": "15.7.2", "resolved": "https://registry.npm.taobao.org/prop-types/download/prop-types-15.7.2.tgz?cache=0&sync_timestamp=1599054283476&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fprop-types%2Fdownload%2Fprop-types-15.7.2.tgz", "integrity": "sha1-UsQedbjIfnK52TYOAga5ncv/psU=", + "dev": true, "requires": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", "react-is": "^16.8.1" } }, - "psl": { - "version": "1.8.0", - "resolved": "https://registry.npm.taobao.org/psl/download/psl-1.8.0.tgz", - "integrity": "sha1-kyb4vPsBOtzABf3/BWrM4CDlHCQ=" - }, - "pump": { - "version": "3.0.0", - "resolved": "https://registry.npm.taobao.org/pump/download/pump-3.0.0.tgz", - "integrity": "sha1-tKIRaBW94vTh6mAjVOjHVWUQemQ=", - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, "punycode": { "version": "2.1.1", "resolved": "https://registry.npm.taobao.org/punycode/download/punycode-2.1.1.tgz", - "integrity": "sha1-tYsBCsQMIsVldhbI0sLALHv0eew=" + "integrity": "sha1-tYsBCsQMIsVldhbI0sLALHv0eew=", + "dev": true }, "qs": { "version": "6.9.4", @@ -2714,7 +2325,8 @@ "react-is": { "version": "16.13.1", "resolved": "https://registry.npm.taobao.org/react-is/download/react-is-16.13.1.tgz?cache=0&sync_timestamp=1608330338071&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Freact-is%2Fdownload%2Freact-is-16.13.1.tgz", - "integrity": "sha1-eJcppNw23imZ3BVt1sHZwYzqVqQ=" + "integrity": "sha1-eJcppNw23imZ3BVt1sHZwYzqVqQ=", + "dev": true }, "read-pkg": { "version": "2.0.0", @@ -2746,18 +2358,11 @@ "picomatch": "^2.2.1" } }, - "rechoir": { - "version": "0.6.2", - "resolved": "https://registry.npm.taobao.org/rechoir/download/rechoir-0.6.2.tgz", - "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", - "requires": { - "resolve": "^1.1.6" - } - }, "regexp.prototype.flags": { "version": "1.3.0", "resolved": "https://registry.npm.taobao.org/regexp.prototype.flags/download/regexp.prototype.flags-1.3.0.tgz", "integrity": "sha1-erqJs8E6ZFCdq888qNn7ub31y3U=", + "dev": true, "requires": { "define-properties": "^1.1.3", "es-abstract": "^1.17.0-next.1" @@ -2767,6 +2372,7 @@ "version": "1.17.7", "resolved": "https://registry.npm.taobao.org/es-abstract/download/es-abstract-1.17.7.tgz?cache=0&sync_timestamp=1601502719982&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fes-abstract%2Fdownload%2Fes-abstract-1.17.7.tgz", "integrity": "sha1-pN5hsvZpifx0IWdsHLl4dXOs5Uw=", + "dev": true, "requires": { "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", @@ -2789,50 +2395,6 @@ "integrity": "sha1-IG0K0KVkjP+9uK5GQ489xRyfeOI=", "dev": true }, - "request": { - "version": "2.88.2", - "resolved": "https://registry.npm.taobao.org/request/download/request-2.88.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frequest%2Fdownload%2Frequest-2.88.2.tgz", - "integrity": "sha1-1zyRhzHLWofaBH4gcjQUb2ZNErM=", - "requires": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.3", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.5.0", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - }, - "dependencies": { - "form-data": { - "version": "2.3.3", - "resolved": "https://registry.npm.taobao.org/form-data/download/form-data-2.3.3.tgz", - "integrity": "sha1-3M5SwF9kTymManq5Nr1yTO/786Y=", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - }, - "qs": { - "version": "6.5.2", - "resolved": "https://registry.npm.taobao.org/qs/download/qs-6.5.2.tgz", - "integrity": "sha1-yzroBuh0BERYTvFUzo7pjUA/PjY=" - } - } - }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npm.taobao.org/require-directory/download/require-directory-2.1.1.tgz", @@ -2855,6 +2417,7 @@ "version": "1.19.0", "resolved": "https://registry.npm.taobao.org/resolve/download/resolve-1.19.0.tgz?cache=0&sync_timestamp=1605052120709&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fresolve%2Fdownload%2Fresolve-1.19.0.tgz", "integrity": "sha1-GvW/YwQJc0oGfK4pMYqsf6KaJnw=", + "dev": true, "requires": { "is-core-module": "^2.1.0", "path-parse": "^1.0.6" @@ -2866,14 +2429,6 @@ "integrity": "sha1-SrzYUq0y3Xuqv+m0DgCjbbXzkuY=", "dev": true }, - "responselike": { - "version": "1.0.2", - "resolved": "https://registry.npm.taobao.org/responselike/download/responselike-1.0.2.tgz", - "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", - "requires": { - "lowercase-keys": "^1.0.0" - } - }, "rfdc": { "version": "1.2.0", "resolved": "https://registry.npm.taobao.org/rfdc/download/rfdc-1.2.0.tgz?cache=0&sync_timestamp=1610744108114&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frfdc%2Fdownload%2Frfdc-1.2.0.tgz", @@ -2891,7 +2446,8 @@ "safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.2.1.tgz?cache=0&sync_timestamp=1599054209520&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsafe-buffer%2Fdownload%2Fsafe-buffer-5.2.1.tgz", - "integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=" + "integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=", + "dev": true }, "safer-buffer": { "version": "2.1.2", @@ -2901,7 +2457,8 @@ "sax": { "version": "1.2.4", "resolved": "https://registry.npm.taobao.org/sax/download/sax-1.2.4.tgz", - "integrity": "sha1-KBYjTiN4vdxOU1T6tcqold9xANk=" + "integrity": "sha1-KBYjTiN4vdxOU1T6tcqold9xANk=", + "dev": true }, "semver": { "version": "7.3.4", @@ -2942,20 +2499,11 @@ "integrity": "sha1-rhbxZE2HPsrYQ7AwexQzYtTEIXI=", "dev": true }, - "shelljs": { - "version": "0.8.4", - "resolved": "https://registry.npm.taobao.org/shelljs/download/shelljs-0.8.4.tgz?cache=0&sync_timestamp=1607396725654&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fshelljs%2Fdownload%2Fshelljs-0.8.4.tgz", - "integrity": "sha1-3naE/ut2f4cWsyYHiooAh1iQ48I=", - "requires": { - "glob": "^7.0.0", - "interpret": "^1.0.0", - "rechoir": "^0.6.2" - } - }, "side-channel": { "version": "1.0.4", "resolved": "https://registry.npm.taobao.org/side-channel/download/side-channel-1.0.4.tgz?cache=0&sync_timestamp=1609270210432&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fside-channel%2Fdownload%2Fside-channel-1.0.4.tgz", "integrity": "sha1-785cj9wQTudRslxY1CkAEfpeos8=", + "dev": true, "requires": { "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", @@ -3002,7 +2550,8 @@ "source-map": { "version": "0.5.7", "resolved": "https://registry.npm.taobao.org/source-map/download/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true }, "spdx-correct": { "version": "3.1.1", @@ -3039,7 +2588,8 @@ "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npm.taobao.org/sprintf-js/download/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true }, "ssh2": { "version": "0.8.9", @@ -3059,22 +2609,6 @@ "streamsearch": "~0.1.2" } }, - "sshpk": { - "version": "1.16.1", - "resolved": "https://registry.npm.taobao.org/sshpk/download/sshpk-1.16.1.tgz", - "integrity": "sha1-+2YcC+8ps520B2nuOfpwCT1vaHc=", - "requires": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - } - }, "streamroller": { "version": "2.2.4", "resolved": "https://registry.npm.taobao.org/streamroller/download/streamroller-2.2.4.tgz", @@ -3125,6 +2659,7 @@ "version": "4.0.3", "resolved": "https://registry.npm.taobao.org/string.prototype.matchall/download/string.prototype.matchall-4.0.3.tgz", "integrity": "sha1-JCQzmbwxsKSdGeK3QXGhVlPsmWo=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3", @@ -3139,6 +2674,7 @@ "version": "1.0.3", "resolved": "https://registry.npm.taobao.org/string.prototype.trimend/download/string.prototype.trimend-1.0.3.tgz?cache=0&sync_timestamp=1606008037895&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstring.prototype.trimend%2Fdownload%2Fstring.prototype.trimend-1.0.3.tgz", "integrity": "sha1-oivVPMpcfPRNfJ1ccyEYhz1s0Ys=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3" @@ -3148,6 +2684,7 @@ "version": "1.0.3", "resolved": "https://registry.npm.taobao.org/string.prototype.trimstart/download/string.prototype.trimstart-1.0.3.tgz?cache=0&sync_timestamp=1606008038634&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstring.prototype.trimstart%2Fdownload%2Fstring.prototype.trimstart-1.0.3.tgz", "integrity": "sha1-m0y1kOEjuzZWRAHVmCQpjeUP1ao=", + "dev": true, "requires": { "call-bind": "^1.0.0", "define-properties": "^1.1.3" @@ -3178,20 +2715,11 @@ "version": "5.5.0", "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-5.5.0.tgz?cache=0&sync_timestamp=1608033330722&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-5.5.0.tgz", "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "dev": true, "requires": { "has-flag": "^3.0.0" } }, - "swagger-fluent": { - "version": "5.0.3", - "resolved": "https://registry.npm.taobao.org/swagger-fluent/download/swagger-fluent-5.0.3.tgz", - "integrity": "sha1-SFZOGuTzQwSIsAvkD/6rJXpvFMA=", - "requires": { - "deepmerge": "^4.2.2", - "is-plain-object": "^3.0.0", - "request": "^2.88.0" - } - }, "table": { "version": "6.0.7", "resolved": "https://registry.npm.taobao.org/table/download/table-6.0.7.tgz?cache=0&sync_timestamp=1609732685428&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftable%2Fdownload%2Ftable-6.0.7.tgz", @@ -3228,6 +2756,7 @@ "version": "4.0.44", "resolved": "https://registry.npm.taobao.org/tencentcloud-sdk-nodejs/download/tencentcloud-sdk-nodejs-4.0.44.tgz", "integrity": "sha1-3xWcP8NLkOhbc8DH5nCh+aA2bSQ=", + "dev": true, "requires": { "babel-eslint": "^10.0.2", "eslint-plugin-react": "^7.17.0", @@ -3248,12 +2777,8 @@ "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npm.taobao.org/to-fast-properties/download/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" - }, - "to-readable-stream": { - "version": "1.0.0", - "resolved": "https://registry.npm.taobao.org/to-readable-stream/download/to-readable-stream-1.0.0.tgz", - "integrity": "sha1-zgqgwvPfat+FLvtASng+d8BHV3E=" + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true }, "to-regex-range": { "version": "5.0.1", @@ -3264,15 +2789,6 @@ "is-number": "^7.0.0" } }, - "tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npm.taobao.org/tough-cookie/download/tough-cookie-2.5.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftough-cookie%2Fdownload%2Ftough-cookie-2.5.0.tgz", - "integrity": "sha1-zZ+yoKodWhK0c72fuW+j3P9lreI=", - "requires": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - } - }, "tsconfig-paths": { "version": "3.9.0", "resolved": "https://registry.npm.taobao.org/tsconfig-paths/download/tsconfig-paths-3.9.0.tgz", @@ -3288,15 +2804,8 @@ "tslib": { "version": "1.13.0", "resolved": "https://registry.npm.taobao.org/tslib/download/tslib-1.13.0.tgz?cache=0&sync_timestamp=1609887539329&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftslib%2Fdownload%2Ftslib-1.13.0.tgz", - "integrity": "sha1-yIHhPMcBWJTtkUhi0nZDb6mkcEM=" - }, - "tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npm.taobao.org/tunnel-agent/download/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", - "requires": { - "safe-buffer": "^5.0.1" - } + "integrity": "sha1-yIHhPMcBWJTtkUhi0nZDb6mkcEM=", + "dev": true }, "tweetnacl": { "version": "0.14.5", @@ -3324,11 +2833,6 @@ "integrity": "sha1-CeJJ696FHTseSNJ8EFREZn8XuD0=", "dev": true }, - "underscore": { - "version": "1.12.0", - "resolved": "https://registry.npm.taobao.org/underscore/download/underscore-1.12.0.tgz?cache=0&sync_timestamp=1606179462980&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Funderscore%2Fdownload%2Funderscore-1.12.0.tgz", - "integrity": "sha1-SBSUBVH8gFh873hA0euw8WRTvpc=" - }, "universalify": { "version": "0.1.2", "resolved": "https://registry.npm.taobao.org/universalify/download/universalify-0.1.2.tgz?cache=0&sync_timestamp=1603179967633&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Funiversalify%2Fdownload%2Funiversalify-0.1.2.tgz", @@ -3338,28 +2842,11 @@ "version": "4.4.0", "resolved": "https://registry.npm.taobao.org/uri-js/download/uri-js-4.4.0.tgz", "integrity": "sha1-qnFCYd55PoqCNHp7zJznTobyhgI=", + "dev": true, "requires": { "punycode": "^2.1.0" } }, - "url-join": { - "version": "4.0.1", - "resolved": "https://registry.npm.taobao.org/url-join/download/url-join-4.0.1.tgz", - "integrity": "sha1-tkLiGiZGgI/6F4xMX9o5hE4Szec=" - }, - "url-parse-lax": { - "version": "3.0.0", - "resolved": "https://registry.npm.taobao.org/url-parse-lax/download/url-parse-lax-3.0.0.tgz", - "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", - "requires": { - "prepend-http": "^2.0.0" - } - }, - "uuid": { - "version": "3.4.0", - "resolved": "https://registry.npm.taobao.org/uuid/download/uuid-3.4.0.tgz?cache=0&sync_timestamp=1607460081656&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fuuid%2Fdownload%2Fuuid-3.4.0.tgz", - "integrity": "sha1-sj5DWK+oogL+ehAK8fX4g/AgB+4=" - }, "v8-compile-cache": { "version": "2.2.0", "resolved": "https://registry.npm.taobao.org/v8-compile-cache/download/v8-compile-cache-2.2.0.tgz?cache=0&sync_timestamp=1603909620959&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fv8-compile-cache%2Fdownload%2Fv8-compile-cache-2.2.0.tgz", @@ -3376,16 +2863,6 @@ "spdx-expression-parse": "^3.0.0" } }, - "verror": { - "version": "1.10.0", - "resolved": "https://registry.npm.taobao.org/verror/download/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", - "requires": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, "which": { "version": "2.0.2", "resolved": "https://registry.npm.taobao.org/which/download/which-2.0.2.tgz", @@ -3509,17 +2986,14 @@ "wrappy": { "version": "1.0.2", "resolved": "https://registry.npm.taobao.org/wrappy/download/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "ws": { - "version": "7.4.2", - "resolved": "https://registry.npm.taobao.org/ws/download/ws-7.4.2.tgz?cache=0&sync_timestamp=1609271323957&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fws%2Fdownload%2Fws-7.4.2.tgz", - "integrity": "sha1-eCEABI5U6zb+mEM2OrHGhnKyYd0=" + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true }, "xml2js": { "version": "0.4.23", "resolved": "https://registry.npm.taobao.org/xml2js/download/xml2js-0.4.23.tgz?cache=0&sync_timestamp=1599054229598&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fxml2js%2Fdownload%2Fxml2js-0.4.23.tgz", "integrity": "sha1-oMaVFnUkIesqx1juTUzPWIQ+rGY=", + "dev": true, "requires": { "sax": ">=0.6.0", "xmlbuilder": "~11.0.0" @@ -3528,7 +3002,8 @@ "xmlbuilder": { "version": "11.0.1", "resolved": "https://registry.npm.taobao.org/xmlbuilder/download/xmlbuilder-11.0.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fxmlbuilder%2Fdownload%2Fxmlbuilder-11.0.1.tgz", - "integrity": "sha1-vpuuHIoEbnazESdyY0fQrXACvrM=" + "integrity": "sha1-vpuuHIoEbnazESdyY0fQrXACvrM=", + "dev": true }, "y18n": { "version": "4.0.1", @@ -3539,7 +3014,8 @@ "yallist": { "version": "4.0.0", "resolved": "https://registry.npm.taobao.org/yallist/download/yallist-4.0.0.tgz", - "integrity": "sha1-m7knkNnA7/7GO+c1GeEaNQGaOnI=" + "integrity": "sha1-m7knkNnA7/7GO+c1GeEaNQGaOnI=", + "dev": true }, "yargs": { "version": "13.3.2", diff --git a/packages/plugins/plugin-host/package.json b/packages/plugins/plugin-host/package.json index c1afbb5f..91d4c679 100644 --- a/packages/plugins/plugin-host/package.json +++ b/packages/plugins/plugin-host/package.json @@ -1,5 +1,5 @@ { - "name": "@certd/plugins", + "name": "@certd/plugin-host", "version": "0.1.13", "description": "", "main": "src/index.js", @@ -17,7 +17,8 @@ "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", - "mocha": "^8.2.1" + "mocha": "^8.2.1", + "@certd/certd": "^0.1.13" }, "author": "Greper", "license": "MIT", diff --git a/packages/plugins/plugin-host/src/plugins/host-shell-execute/index.js b/packages/plugins/plugin-host/src/plugins/host-shell-execute/index.js index 1ee240f5..ad05f792 100644 --- a/packages/plugins/plugin-host/src/plugins/host-shell-execute/index.js +++ b/packages/plugins/plugin-host/src/plugins/host-shell-execute/index.js @@ -12,12 +12,6 @@ export class HostShellExecute extends AbstractHostPlugin { name: 'hostShellExecute', label: '执行远程主机脚本命令', input: { - script: { - label: 'shell脚本命令', - component: { - name: 'a-textarea' - } - }, accessProvider: { label: '主机登录配置', type: [String, Object], @@ -27,6 +21,12 @@ export class HostShellExecute extends AbstractHostPlugin { filter: 'ssh' }, required: true + }, + script: { + label: 'shell脚本命令', + component: { + name: 'a-textarea' + } } }, output: { @@ -39,7 +39,7 @@ export class HostShellExecute extends AbstractHostPlugin { const { script, accessProvider } = props const connectConf = this.getAccessProvider(accessProvider) const sshClient = new SshClient() - const ret = await sshClient.shell({ + const ret = await sshClient.exec({ connectConf, script }) diff --git a/packages/plugins/plugin-host/src/plugins/ssh.js b/packages/plugins/plugin-host/src/plugins/ssh.js index 8ed8996c..4d4f17c6 100644 --- a/packages/plugins/plugin-host/src/plugins/ssh.js +++ b/packages/plugins/plugin-host/src/plugins/ssh.js @@ -1,6 +1,7 @@ import ssh2 from 'ssh2' import path from 'path' import { util } from '@certd/api' +import _ from 'lodash-es' const logger = util.logger export class SshClient { /** @@ -42,6 +43,42 @@ export class SshClient { }) } + exec ({ connectConf, script }) { + if (_.isArray(script)) { + script = script.join('\n') + } + return new Promise((resolve, reject) => { + this.connect({ + connectConf, + onReady: (conn) => { + conn.exec(script, (err, stream) => { + if (err) { + reject(err) + return + } + let data = null + stream.on('close', (code, signal) => { + console.log(`[${connectConf.host}][close]:code:${code}, signal:${signal} `) + if (code === 0) { + resolve(data.toString()) + } else { + reject(data.toString()) + } + conn.end() + }).on('data', (ret) => { + console.log(`[${connectConf.host}][info]: ` + ret) + data = ret + }).stderr.on('data', (err) => { + console.log(`[${connectConf.host}][error]: ` + err) + data = err + stream.close() + }) + }) + } + }) + }) + } + shell ({ connectConf, script }) { return new Promise((resolve, reject) => { this.connect({ @@ -88,24 +125,4 @@ export class SshClient { }) }) } - - exec ({ conn, cmd }) { - return new Promise((resolve, reject) => { - conn.exec(cmd, (err, stream) => { - if (err) { - logger.error('执行命令出错', err) - reject(err) - // return conn.end() - } - - stream.on('close', (code, signal) => { - // logger.info('Stream :: close :: code: ' + code + ', signal: ' + signal) - // conn.end() - resolve() - }).on('data', (data) => { - logger.info('data', data.toString()) - }) - }) - }) - } } diff --git a/packages/plugins/plugin-host/test/plugins/host-shell-execute.test.js b/packages/plugins/plugin-host/test/plugins/host-shell-execute.test.js index 74648bc8..15609e6b 100644 --- a/packages/plugins/plugin-host/test/plugins/host-shell-execute.test.js +++ b/packages/plugins/plugin-host/test/plugins/host-shell-execute.test.js @@ -16,13 +16,12 @@ describe('HostShellExecute', function () { const context = {} const uploadOpts = { cert, - props: { script: 'ls ', accessProvider: 'aliyun-ssh' }, + props: { script: ['ls ', 'ls '], accessProvider: 'aliyun-ssh' }, context } const ret = await plugin.doExecute(uploadOpts) - for (const retElement of ret) { - console.log('-----' + retElement) - } + expect(ret).ok + console.log('-----' + JSON.stringify(ret)) await plugin.doRollback(uploadOpts) }) diff --git a/packages/plugins/plugin-tencent/package-lock.json b/packages/plugins/plugin-tencent/package-lock.json index 658862ed..2bcfc4f8 100644 --- a/packages/plugins/plugin-tencent/package-lock.json +++ b/packages/plugins/plugin-tencent/package-lock.json @@ -1,5 +1,5 @@ { - "name": "@certd/plugins", + "name": "@certd/plugin-tencent", "version": "0.1.13", "lockfileVersion": 1, "requires": true, @@ -8,6 +8,7 @@ "version": "1.7.10", "resolved": "https://registry.npm.taobao.org/@alicloud/pop-core/download/@alicloud/pop-core-1.7.10.tgz", "integrity": "sha1-0OIhA227DM3kU90Jsc+r2DQbemk=", + "dev": true, "requires": { "debug": "^3.1.0", "httpx": "^2.1.2", @@ -131,6 +132,37 @@ "to-fast-properties": "^2.0.0" } }, + "@certd/acme-client": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@certd/acme-client/-/acme-client-0.1.6.tgz", + "integrity": "sha512-XffzB/QHRj61gUHXor1B8R2TVt7HnklJpjAbwQi8vHjBGloU8I3occJxIunoh1AShhc4wsxnc+h/D5yRIUp17A==", + "dev": true, + "requires": { + "axios": "0.21.1", + "backo2": "^1.0.0", + "bluebird": "^3.5.0", + "debug": "^4.1.1", + "log4js": "^6.3.0", + "node-forge": "^0.10.0" + }, + "dependencies": { + "debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + } + } + }, "@certd/api": { "version": "0.1.13", "resolved": "https://registry.npm.taobao.org/@certd/api/download/@certd/api-0.1.13.tgz", @@ -143,6 +175,32 @@ "qs": "^6.9.4" } }, + "@certd/certd": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/@certd/certd/-/certd-0.1.13.tgz", + "integrity": "sha512-ng4iFJY23AhTM2VY/tX/3ywoIF96pUF6VP6iXRlhdap8o4xOEywfjeHefFMxdi85Aw3sklBm4U38QZjqA++tnA==", + "dev": true, + "requires": { + "@certd/acme-client": "^0.1.6", + "@certd/api": "^0.1.13", + "@certd/dns-providers": "^0.1.13", + "dayjs": "^1.9.7", + "lodash-es": "^4.17.20", + "node-forge": "^0.10.0" + } + }, + "@certd/dns-providers": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/@certd/dns-providers/-/dns-providers-0.1.13.tgz", + "integrity": "sha512-a9eD61t6dnacTLJqEUWijhVf1OUmZmPyrm8asTxMAPt7zw60xNxFSJFGHGJYM0bMGPsqUP4WBsSZ5JU4SHy5bg==", + "dev": true, + "requires": { + "@alicloud/pop-core": "^1.7.10", + "@certd/api": "^0.1.13", + "lodash-es": "^4.17.20", + "tencentcloud-sdk-nodejs": "^4.0.44" + } + }, "@eslint/eslintrc": { "version": "0.2.2", "resolved": "https://registry.npm.taobao.org/@eslint/eslintrc/download/@eslint/eslintrc-0.2.2.tgz?cache=0&sync_timestamp=1607145629875&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40eslint%2Feslintrc%2Fdownload%2F%40eslint%2Feslintrc-0.2.2.tgz", @@ -509,6 +567,12 @@ "resolve": "^1.12.0" } }, + "backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=", + "dev": true + }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/balanced-match/download/balanced-match-1.0.0.tgz", @@ -530,7 +594,8 @@ "bignumber.js": { "version": "9.0.1", "resolved": "https://registry.npm.taobao.org/bignumber.js/download/bignumber.js-9.0.1.tgz", - "integrity": "sha1-jXuhJMiCv9jkMmDGdHVRjQaJ5OU=" + "integrity": "sha1-jXuhJMiCv9jkMmDGdHVRjQaJ5OU=", + "dev": true }, "binary-extensions": { "version": "2.1.0", @@ -538,6 +603,12 @@ "integrity": "sha1-MPpAyef+B9vIlWeM0ocCTeokHdk=", "dev": true }, + "bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "dev": true + }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npm.taobao.org/brace-expansion/download/brace-expansion-1.1.11.tgz?cache=0&sync_timestamp=1601898189928&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbrace-expansion%2Fdownload%2Fbrace-expansion-1.1.11.tgz", @@ -1662,6 +1733,7 @@ "version": "2.2.7", "resolved": "https://registry.npm.taobao.org/httpx/download/httpx-2.2.7.tgz?cache=0&sync_timestamp=1604908999113&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhttpx%2Fdownload%2Fhttpx-2.2.7.tgz", "integrity": "sha1-HjQZgUbjLKMwWmbBEglVnhy+ugk=", + "dev": true, "requires": { "@types/node": "^14", "debug": "^4.1.1" @@ -1671,6 +1743,7 @@ "version": "4.3.1", "resolved": "https://registry.npm.taobao.org/debug/download/debug-4.3.1.tgz?cache=0&sync_timestamp=1607566533140&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdebug%2Fdownload%2Fdebug-4.3.1.tgz", "integrity": "sha1-8NIpxQXgxtjEmsVT0bE9wYP2su4=", + "dev": true, "requires": { "ms": "2.1.2" } @@ -1678,7 +1751,8 @@ "ms": { "version": "2.1.2", "resolved": "https://registry.npm.taobao.org/ms/download/ms-2.1.2.tgz?cache=0&sync_timestamp=1607433842694&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fms%2Fdownload%2Fms-2.1.2.tgz", - "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=" + "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=", + "dev": true } } }, @@ -1923,6 +1997,7 @@ "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/json-bigint/download/json-bigint-1.0.0.tgz", "integrity": "sha1-rlR4I6wMrYOYZn+M2e9HMPWwH/E=", + "dev": true, "requires": { "bignumber.js": "^9.0.0" } @@ -2011,7 +2086,8 @@ "kitx": { "version": "1.3.0", "resolved": "https://registry.npm.taobao.org/kitx/download/kitx-1.3.0.tgz", - "integrity": "sha1-qz7nxZjSsdYp/VVWj4aMREDCAOo=" + "integrity": "sha1-qz7nxZjSsdYp/VVWj4aMREDCAOo=", + "dev": true }, "kubernetes-client": { "version": "9.0.0", @@ -2366,6 +2442,12 @@ "resolved": "https://registry.npm.taobao.org/node-fetch/download/node-fetch-2.6.1.tgz?cache=0&sync_timestamp=1599309179354&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnode-fetch%2Fdownload%2Fnode-fetch-2.6.1.tgz", "integrity": "sha1-BFvTI2Mfdu0uK1VXM5RBa2OaAFI=" }, + "node-forge": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", + "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", + "dev": true + }, "normalize-package-data": { "version": "2.5.0", "resolved": "https://registry.npm.taobao.org/normalize-package-data/download/normalize-package-data-2.5.0.tgz?cache=0&sync_timestamp=1602547447569&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnormalize-package-data%2Fdownload%2Fnormalize-package-data-2.5.0.tgz", @@ -2901,7 +2983,8 @@ "sax": { "version": "1.2.4", "resolved": "https://registry.npm.taobao.org/sax/download/sax-1.2.4.tgz", - "integrity": "sha1-KBYjTiN4vdxOU1T6tcqold9xANk=" + "integrity": "sha1-KBYjTiN4vdxOU1T6tcqold9xANk=", + "dev": true }, "semver": { "version": "7.3.4", @@ -3041,24 +3124,6 @@ "resolved": "https://registry.npm.taobao.org/sprintf-js/download/sprintf-js-1.0.3.tgz", "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" }, - "ssh2": { - "version": "0.8.9", - "resolved": "https://registry.npm.taobao.org/ssh2/download/ssh2-0.8.9.tgz", - "integrity": "sha1-VNo6bEuj2vDYR3pTikgTJgkYFfM=", - "requires": { - "ssh2-streams": "~0.4.10" - } - }, - "ssh2-streams": { - "version": "0.4.10", - "resolved": "https://registry.npm.taobao.org/ssh2-streams/download/ssh2-streams-0.4.10.tgz", - "integrity": "sha1-SO9+ig452PKSHDBSHVbayzHSOjQ=", - "requires": { - "asn1": "~0.2.0", - "bcrypt-pbkdf": "^1.0.2", - "streamsearch": "~0.1.2" - } - }, "sshpk": { "version": "1.16.1", "resolved": "https://registry.npm.taobao.org/sshpk/download/sshpk-1.16.1.tgz", @@ -3105,11 +3170,6 @@ } } }, - "streamsearch": { - "version": "0.1.2", - "resolved": "https://registry.npm.taobao.org/streamsearch/download/streamsearch-0.1.2.tgz", - "integrity": "sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo=" - }, "string-width": { "version": "4.2.0", "resolved": "https://registry.npm.taobao.org/string-width/download/string-width-4.2.0.tgz", @@ -3520,6 +3580,7 @@ "version": "0.4.23", "resolved": "https://registry.npm.taobao.org/xml2js/download/xml2js-0.4.23.tgz?cache=0&sync_timestamp=1599054229598&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fxml2js%2Fdownload%2Fxml2js-0.4.23.tgz", "integrity": "sha1-oMaVFnUkIesqx1juTUzPWIQ+rGY=", + "dev": true, "requires": { "sax": ">=0.6.0", "xmlbuilder": "~11.0.0" @@ -3528,7 +3589,8 @@ "xmlbuilder": { "version": "11.0.1", "resolved": "https://registry.npm.taobao.org/xmlbuilder/download/xmlbuilder-11.0.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fxmlbuilder%2Fdownload%2Fxmlbuilder-11.0.1.tgz", - "integrity": "sha1-vpuuHIoEbnazESdyY0fQrXACvrM=" + "integrity": "sha1-vpuuHIoEbnazESdyY0fQrXACvrM=", + "dev": true }, "y18n": { "version": "4.0.1", diff --git a/packages/plugins/plugin-tencent/package.json b/packages/plugins/plugin-tencent/package.json index c7edc78b..c83eac46 100644 --- a/packages/plugins/plugin-tencent/package.json +++ b/packages/plugins/plugin-tencent/package.json @@ -1,5 +1,5 @@ { - "name": "@certd/plugins", + "name": "@certd/plugin-tencent", "version": "0.1.13", "description": "", "main": "src/index.js", @@ -18,7 +18,8 @@ "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", - "mocha": "^8.2.1" + "mocha": "^8.2.1", + "@certd/certd": "^0.1.13" }, "author": "Greper", "license": "MIT", diff --git a/packages/plugins/plugin-tencent/src/index.js b/packages/plugins/plugin-tencent/src/index.js index 78964e73..ecb22ef8 100644 --- a/packages/plugins/plugin-tencent/src/index.js +++ b/packages/plugins/plugin-tencent/src/index.js @@ -1,16 +1,16 @@ import _ from 'lodash-es' -import { TencentAccessProvider } from './access-providers/tencent' -import { DnspodAccessProvider } from './access-providers/dnspod' +import { TencentAccessProvider } from './access-providers/tencent.js' +import { DnspodAccessProvider } from './access-providers/dnspod.js' import { DnspodDnsProvider } from './dns-providers/dnspod.js' -import { UploadCertToTencent } from './plugins/upload-to-tencent' +import { UploadCertToTencent } from './plugins/upload-to-tencent/index.js' -import { DeployCertToTencentCDN } from './plugins/deploy-to-cdn' +import { DeployCertToTencentCDN } from './plugins/deploy-to-cdn/index.js' -import { DeployCertToTencentCLB } from './plugins/deploy-to-clb' +import { DeployCertToTencentCLB } from './plugins/deploy-to-clb/index.js' -import { DeployCertToTencentTKEIngress } from './plugins/deploy-to-tke-ingress' +import { DeployCertToTencentTKEIngress } from './plugins/deploy-to-tke-ingress/index.js' import { pluginRegistry, accessProviderRegistry, dnsProviderRegistry } from '@certd/api' @@ -27,7 +27,7 @@ export default { }) accessProviderRegistry.install(TencentAccessProvider) - accessProviderRegistry.install(DnspodDnsProvider) + accessProviderRegistry.install(DnspodAccessProvider) dnsProviderRegistry.install(DnspodDnsProvider) } diff --git a/packages/plugins/plugin-tencent/src/plugins/deploy-to-cdn/index.js b/packages/plugins/plugin-tencent/src/plugins/deploy-to-cdn/index.js index 18d4e025..53af88af 100644 --- a/packages/plugins/plugin-tencent/src/plugins/deploy-to-cdn/index.js +++ b/packages/plugins/plugin-tencent/src/plugins/deploy-to-cdn/index.js @@ -44,7 +44,10 @@ export class DeployCertToTencentCDN extends AbstractTencentPlugin { } }, output: { - + tencentCertId: { + type: String, + desc: '证书来源选择上传时,将返回此id' + } } } } diff --git a/packages/plugins/plugin-tencent/src/utils/util.k8s.client.js b/packages/plugins/plugin-tencent/src/utils/util.k8s.client.js index e52bed4f..dbbcbbcd 100644 --- a/packages/plugins/plugin-tencent/src/utils/util.k8s.client.js +++ b/packages/plugins/plugin-tencent/src/utils/util.k8s.client.js @@ -45,7 +45,7 @@ export class K8sClient { * @param opts = {namespace:default} * @returns secretsList */ - async getSecret (opts) { + async getSecret (opts = {}) { const namespace = opts.namespace || 'default' const secrets = await this.client.api.v1.namespaces(namespace).secrets.get() return secrets diff --git a/packages/core/certd/test/cert-apply/dnspod.test.js b/packages/plugins/plugin-tencent/test/dns-providers/dnspod.cert.test.js similarity index 71% rename from packages/core/certd/test/cert-apply/dnspod.test.js rename to packages/plugins/plugin-tencent/test/dns-providers/dnspod.cert.test.js index b773b68a..675276e2 100644 --- a/packages/core/certd/test/cert-apply/dnspod.test.js +++ b/packages/plugins/plugin-tencent/test/dns-providers/dnspod.cert.test.js @@ -1,13 +1,20 @@ import pkg from 'chai' -import { Certd } from '../../src' +import PluginTencent from '../../src/index.js' import { createOptions } from '../../../../../test/options.js' +import { Certd } from '@certd/certd' const { expect } = pkg + +// 安装默认插件和授权提供者 +PluginTencent.install() describe('DnspodDnsProvider', function () { it('#申请证书', async function () { this.timeout(300000) const options = createOptions() options.cert.domains = ['*.certd.xyz', '*.test.certd.xyz', '*.base.certd.xyz', 'certd.xyz'] - options.cert.dnsProvider = 'dnspod' + options.cert.dnsProvider = { + type: 'dnspod', + accessProvider: 'dnspod' + } options.args = { forceCert: true } const certd = new Certd(options) const cert = await certd.certApply() diff --git a/packages/plugins/plugin-tencent/test/dns-providers/dnspod.test.js b/packages/plugins/plugin-tencent/test/dns-providers/dnspod.test.js index 55aeb310..750a550a 100644 --- a/packages/plugins/plugin-tencent/test/dns-providers/dnspod.test.js +++ b/packages/plugins/plugin-tencent/test/dns-providers/dnspod.test.js @@ -1,19 +1,31 @@ import pkg from 'chai' -import DnspodDnsProvider from '../../src/dns-providers/dnspod.js' -import { createOptions } from '../../../../../test/options.js' +import { DnspodDnsProvider } from '../../src/dns-providers/dnspod.js' +import { createOptions, getDnsProviderOptions } from '../../../../../test/options.js' const { expect } = pkg describe('DnspodDnsProvider', function () { it('#getDomainList', async function () { - const options = createOptions() - const dnsProvider = new DnspodDnsProvider(options.accessProviders.dnspod) + let options = createOptions() + options.cert.dnsProvider = { + type: 'dnspod', + accessProvider: 'dnspod' + } + options = getDnsProviderOptions(options) + + const dnsProvider = new DnspodDnsProvider(options) const domainList = await dnsProvider.getDomainList() console.log('domainList', domainList) expect(domainList.length).gt(0) }) it('#createRecord&removeRecord', async function () { - const options = createOptions() - const dnsProvider = new DnspodDnsProvider(options.accessProviders.dnspod) + let options = createOptions() + options.cert.dnsProvider = { + type: 'dnspod', + accessProvider: 'dnspod' + } + options = getDnsProviderOptions(options) + + const dnsProvider = new DnspodDnsProvider(options) const record = await dnsProvider.createRecord({ fullRecord: '___certd___.__test__.certd.xyz', type: 'TXT', value: 'aaaa' }) console.log('recordId', record.id) expect(record.id != null).ok diff --git a/packages/plugins/plugin-tencent/test/options.js b/packages/plugins/plugin-tencent/test/options.js deleted file mode 100644 index 2aa722e7..00000000 --- a/packages/plugins/plugin-tencent/test/options.js +++ /dev/null @@ -1,42 +0,0 @@ -import _ from 'lodash-es' -import optionsPrivate from '../../../../test/options.private.js' -const defaultOptions = { - version: '1.0.0', - args: { - directory: 'test', - dry: false - }, - accessProviders: { - aliyun: { - providerType: 'aliyun', - accessKeyId: '', - accessKeySecret: '' - }, - myLinux: { - providerType: 'SSH', - username: 'xxx', - password: 'xxx', - host: '1111.com', - port: 22, - publicKey: '' - } - }, - cert: { - domains: ['*.docmirror.club', 'docmirror.club'], - email: 'xiaojunnuo@qq.com', - dnsProvider: 'aliyun', - certProvider: 'letsencrypt', - csrInfo: { - country: 'CN', - state: 'GuangDong', - locality: 'ShengZhen', - organization: 'CertD Org.', - organizationUnit: 'IT Department', - emailAddress: 'xiaojunnuo@qq.com' - } - } -} - -_.merge(defaultOptions, optionsPrivate) - -export default defaultOptions diff --git a/packages/plugins/plugin-tencent/test/plugins/deploy-to-cdn.test.js b/packages/plugins/plugin-tencent/test/plugins/deploy-to-cdn.test.js index 96879912..410d72fe 100644 --- a/packages/plugins/plugin-tencent/test/plugins/deploy-to-cdn.test.js +++ b/packages/plugins/plugin-tencent/test/plugins/deploy-to-cdn.test.js @@ -1,7 +1,7 @@ import pkg from 'chai' -import { DeployCertToTencentCDN } from '../../src/plugins/deploy-to-cdn' +import { DeployCertToTencentCDN } from '../../src/plugins/deploy-to-cdn/index.js' import { Certd } from '@certd/certd' -import { UploadCertToTencent } from '../../src/plugins/upload-to-tencent' +import { UploadCertToTencent } from '../../src/plugins/upload-to-tencent/index.js' import { createOptions } from '../../../../../test/options.js' const { expect } = pkg describe('DeployToTencentCDN', function () { @@ -9,27 +9,25 @@ describe('DeployToTencentCDN', function () { const options = createOptions() options.args.test = false const certd = new Certd(options) - const cert = certd.readCurrentCert('xiaojunnuo@qq.com', ['*.docmirror.cn']) + const cert = await certd.readCurrentCert('xiaojunnuo@qq.com', ['*.docmirror.cn']) const context = {} - const uploadPlugin = new UploadCertToTencent() + const uploadPlugin = new UploadCertToTencent(options) const uploadOptions = { - accessProviders: options.accessProviders, cert, props: { name: 'certd部署测试', accessProvider: 'tencent' }, context } await uploadPlugin.doExecute(uploadOptions) - const deployPlugin = new DeployCertToTencentCDN() + const deployPlugin = new DeployCertToTencentCDN(options) const deployOpts = { - accessProviders: options.accessProviders, cert, props: { domainName: 'tentcent-certd.docmirror.cn', certName: 'certd部署测试', accessProvider: 'tencent' }, context } - const ret = await deployPlugin.doExecute(deployOpts) - expect(ret).ok + await deployPlugin.doExecute(deployOpts) console.log('context:', context) + expect(context.tencentCertId).ok await uploadPlugin.doRollback(uploadOptions) }) @@ -38,17 +36,17 @@ describe('DeployToTencentCDN', function () { options.args.test = false options.cert.email = 'xiaojunnuo@qq.com' options.cert.domains = ['*.docmirror.cn'] - const plugin = new DeployCertToTencentCDN() + const plugin = new DeployCertToTencentCDN(options) const certd = new Certd(options) const cert = await certd.readCurrentCert() const context = {} const deployOpts = { - accessProviders: options.accessProviders, cert, props: { domainName: 'tentcent-certd.docmirror.cn', accessProvider: 'tencent' }, context } const ret = await plugin.doExecute(deployOpts) console.log('context:', context, ret) + expect(context).be.empty }) }) diff --git a/packages/plugins/plugin-tencent/test/plugins/deploy-to-clb.test.js b/packages/plugins/plugin-tencent/test/plugins/deploy-to-clb.test.js index 4a33ea04..ac3dbd68 100644 --- a/packages/plugins/plugin-tencent/test/plugins/deploy-to-clb.test.js +++ b/packages/plugins/plugin-tencent/test/plugins/deploy-to-clb.test.js @@ -3,21 +3,20 @@ import { DeployCertToTencentCLB } from '../../src/plugins/deploy-to-clb/index.js import { Certd } from '@certd/certd' // eslint-disable-next-line no-unused-vars import { createOptions } from '../../../../../test/options.js' -import { UploadCertToTencent } from '../../src/plugins/upload-to-tencent' +import { UploadCertToTencent } from '../../src/plugins/upload-to-tencent/index.js' const { expect } = pkg describe('DeployToTencentCLB', function () { it('#execute-getClbList', async function () { const options = createOptions() options.args.test = false options.cert.dnsProvider = 'tencent-yonsz' - const deployPlugin = new DeployCertToTencentCLB() + const deployPlugin = new DeployCertToTencentCLB(options) const props = { region: 'ap-guangzhou', domain: 'certd-test-no-sni.base.yonsz.net', accessProvider: 'tencent-yonsz' } - const accessProviders = options.accessProviders - const accessProvider = deployPlugin.getAccessProvider(props.accessProvider, accessProviders) + const accessProvider = deployPlugin.getAccessProvider(props.accessProvider) const { region } = props const client = deployPlugin.getClient(accessProvider, region) @@ -34,13 +33,14 @@ describe('DeployToTencentCLB', function () { region: 'ap-guangzhou', domain: 'certd-test-no-sni.base.yonsz.net', accessProvider: 'tencent-yonsz', - loadBalancerId: 'lb-59yhe5xo' + loadBalancerId: 'lb-59yhe5xo', + listenerId: 'lbl-1vfwx8dq' } const accessProvider = deployPlugin.getAccessProvider(props.accessProvider) const { region } = props const client = deployPlugin.getClient(accessProvider, region) - const ret = await deployPlugin.getListenerList(client, props.loadBalancerId, props) + const ret = await deployPlugin.getListenerList(client, props.loadBalancerId, [props.listenerId]) expect(ret.length > 0).ok console.log('clb count:', ret.length, ret) }) @@ -54,10 +54,9 @@ describe('DeployToTencentCLB', function () { options.cert.domains = ['*.docmirror.cn'] const certd = new Certd(options) const cert = await certd.readCurrentCert() - const deployPlugin = new DeployCertToTencentCLB() + const deployPlugin = new DeployCertToTencentCLB(options) const context = {} const deployOpts = { - accessProviders: options.accessProviders, cert, props: { region: 'ap-guangzhou', @@ -72,7 +71,7 @@ describe('DeployToTencentCLB', function () { console.log('ret:', ret) // 删除测试证书 - const uploadPlugin = new UploadCertToTencent() + const uploadPlugin = new UploadCertToTencent(options) await uploadPlugin.doRollback(deployOpts) }) @@ -83,10 +82,9 @@ describe('DeployToTencentCLB', function () { options.cert.dnsProvider = 'tencent-yonsz' const certd = new Certd(options) const cert = certd.readCurrentCert('xiaojunnuo@qq.com', ['*.docmirror.cn']) - const deployPlugin = new DeployCertToTencentCLB() + const deployPlugin = new DeployCertToTencentCLB(options) const context = {} const deployOpts = { - accessProviders: options.accessProviders, cert, props: { region: 'ap-guangzhou', @@ -98,10 +96,10 @@ describe('DeployToTencentCLB', function () { context } const ret = await deployPlugin.doExecute(deployOpts) - expect(ret).ok console.log('ret:', ret) + expect(ret).ok // 删除测试证书 - const uploadPlugin = new UploadCertToTencent() + const uploadPlugin = new UploadCertToTencent(options) await uploadPlugin.doRollback(deployOpts) }) }) diff --git a/packages/plugins/plugin-tencent/test/plugins/deploy-to-tke-ingress.test.js b/packages/plugins/plugin-tencent/test/plugins/deploy-to-tke-ingress.test.js index 33113406..7cb795e0 100644 --- a/packages/plugins/plugin-tencent/test/plugins/deploy-to-tke-ingress.test.js +++ b/packages/plugins/plugin-tencent/test/plugins/deploy-to-tke-ingress.test.js @@ -28,14 +28,6 @@ async function getOptions () { } describe('DeployCertToTencentTKEIngress', function () { - // it('#getTkeKubeConfig', async function () { - // const { options, deployOpts } = await getOptions() - // const plugin = new DeployCertToTencentTKEIngress() - // const tkeClient = plugin.getTkeClient(options.accessProviders[deployOpts.props.accessProvider], deployOpts.props.region) - // const kubeConfig = await plugin.getTkeKubeConfig(tkeClient, deployOpts.props) - // console.log('kubeConfig:', kubeConfig) - // }) - // it('#getTKESecrets', async function () { this.timeout(50000) const { options, deployOpts } = await getOptions() @@ -47,66 +39,17 @@ describe('DeployCertToTencentTKEIngress', function () { k8sClient.setLookup({ 'cls-6lbj1vee.ccs.tencent-cloud.com': { ip: '13.123.123.123' } }) - const secrets = await k8sClient.getSecret() + const secrets = await k8sClient.getSecret({ namespace: 'default' }) console.log('secrets:', secrets) }) - // - // it('#patchTKECertSecrets', async function () { - // this.timeout(5000) - // - // const { options, deployOpts } = await getOptions() - // const plugin = new DeployCertToTencentTKEIngress() - // const tkeClient = plugin.getTkeClient(options.accessProviders[deployOpts.props.accessProvider], deployOpts.props.region) - // const kubeConfig = await plugin.getTkeKubeConfig(tkeClient, deployOpts.props) - // const k8sClient = new K8sClient(kubeConfig) - // - // deployOpts.k8sClient = k8sClient - // deployOpts.context.tencentCertId = 'hNVD3Z45' - // const newCecret = await plugin.patchCertSecret(deployOpts) - // console.log('newCecret', newCecret) - // }) - // it('#GetTkeIngress', async function () { - // this.timeout(5000) - // - // const { options, deployOpts } = await getOptions() - // deployOpts.props.ingressName = 'ingress-base' - // deployOpts.props.secretName = 'cert---docmirror-cn' - // const plugin = new DeployCertToTencentTKEIngress() - // const tkeClient = plugin.getTkeClient(options.accessProviders[deployOpts.props.accessProvider], deployOpts.props.region) - // const kubeConfig = await plugin.getTkeKubeConfig(tkeClient, deployOpts.props) - // - // const k8sClient = new K8sClient(kubeConfig) - // const ingress = await k8sClient.getIngress({ - // ingressName: 'ingress-base' - // }) - // console.log('ingress:', ingress) - // }) - // it('#RestartTKEIngress', async function () { - // this.timeout(5000) - // - // const { options, deployOpts } = await getOptions() - // deployOpts.props.ingressName = 'ingress-base' - // deployOpts.props.secretName = 'cert---docmirror-cn' - // const plugin = new DeployCertToTencentTKEIngress() - // const tkeClient = plugin.getTkeClient(options.accessProviders[deployOpts.props.accessProvider], deployOpts.props.region) - // const kubeConfig = await plugin.getTkeKubeConfig(tkeClient, deployOpts.props) - // - // const k8sClient = new K8sClient(kubeConfig) - // - // deployOpts.k8sClient = k8sClient - // deployOpts.context.tencentCertId = 'hNVD3Z45' - // const newCecret = await plugin.restartIngress(deployOpts) - // console.log('newCecret', newCecret) - // }) - it('#execute', async function () { this.timeout(5000) - const { deployOpts } = await getOptions() + const { options, deployOpts } = await getOptions() deployOpts.props.ingressName = 'ingress-base' deployOpts.props.secretName = 'cert---docmirror-cn' deployOpts.context.tencentCertId = 'hNUZJrZf' - const plugin = new DeployCertToTencentTKEIngress() + const plugin = new DeployCertToTencentTKEIngress(options) const ret = await plugin.doExecute(deployOpts) console.log('sucess', ret) diff --git a/packages/plugins/plugin-tencent/test/plugins/upload-to-tencent.test.js b/packages/plugins/plugin-tencent/test/plugins/upload-to-tencent.test.js index 6b836cfe..b79f8203 100644 --- a/packages/plugins/plugin-tencent/test/plugins/upload-to-tencent.test.js +++ b/packages/plugins/plugin-tencent/test/plugins/upload-to-tencent.test.js @@ -6,7 +6,7 @@ const { expect } = pkg describe('PluginUploadToTencent', function () { it('#execute', async function () { const options = createOptions() - const plugin = new UploadCertToTencent() + const plugin = new UploadCertToTencent(options) options.args = { test: false } options.cert.email = 'xiaojunnuo@qq.com' options.cert.domains = ['*.docmirror.cn'] diff --git a/packages/ui/certd-server/templates/certd-run/index.js b/packages/ui/certd-server/templates/certd-run/index.js index 3d9dcb09..ea11b0a6 100644 --- a/packages/ui/certd-server/templates/certd-run/index.js +++ b/packages/ui/certd-server/templates/certd-run/index.js @@ -1,4 +1,12 @@ import { Executor } from '@certd/executor' +import PluginAliyun from '@certd/plugin-aliyun' +import PluginTencent from '@certd/plugin-tencent' +import PluginHost from '@certd/plugin-host' import options from './options.json' + +// 安装默认插件和授权提供者 +PluginAliyun.install() +PluginTencent.install() +PluginHost.install() const executor = new Executor() executor.run(options) diff --git a/packages/ui/certd-ui/package-lock.json b/packages/ui/certd-ui/package-lock.json index 744ce520..850513b1 100644 --- a/packages/ui/certd-ui/package-lock.json +++ b/packages/ui/certd-ui/package-lock.json @@ -3115,27 +3115,6 @@ "webpack-sources": "^1.4.3" } }, - "vue-loader-v15": { - "version": "npm:vue-loader@15.9.6", - "resolved": "https://registry.npm.taobao.org/vue-loader/download/vue-loader-15.9.6.tgz?cache=0&sync_timestamp=1608188009078&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-loader%2Fdownload%2Fvue-loader-15.9.6.tgz", - "integrity": "sha1-9Lua4gw6g3CvPs8JuBJtOP/ba4s=", - "dev": true, - "requires": { - "@vue/component-compiler-utils": "^3.1.0", - "hash-sum": "^1.0.2", - "loader-utils": "^1.1.0", - "vue-hot-reload-api": "^2.3.0", - "vue-style-loader": "^4.1.0" - }, - "dependencies": { - "hash-sum": { - "version": "1.0.2", - "resolved": "https://registry.npm.taobao.org/hash-sum/download/hash-sum-1.0.2.tgz", - "integrity": "sha1-M7QHd3VMZDJXPBIMw4CLvRDUfwQ=", - "dev": true - } - } - }, "webpack": { "version": "5.19.0", "resolved": "https://registry.npm.taobao.org/webpack/download/webpack-5.19.0.tgz", @@ -17332,6 +17311,27 @@ } } }, + "vue-loader-v15": { + "version": "npm:vue-loader@15.9.6", + "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-15.9.6.tgz", + "integrity": "sha512-j0cqiLzwbeImIC6nVIby2o/ABAWhlppyL/m5oJ67R5MloP0hj/DtFgb0Zmq3J9CG7AJ+AXIvHVnJAPBvrLyuDg==", + "dev": true, + "requires": { + "@vue/component-compiler-utils": "^3.1.0", + "hash-sum": "^1.0.2", + "loader-utils": "^1.1.0", + "vue-hot-reload-api": "^2.3.0", + "vue-style-loader": "^4.1.0" + }, + "dependencies": { + "hash-sum": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-1.0.2.tgz", + "integrity": "sha1-M7QHd3VMZDJXPBIMw4CLvRDUfwQ=", + "dev": true + } + } + }, "vue-router": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.0.3.tgz", diff --git a/test/options.js b/test/options.js index 2d0fb947..4d14b021 100644 --- a/test/options.js +++ b/test/options.js @@ -138,5 +138,12 @@ const defaultOptions = { _.merge(defaultOptions, optionsPrivate) export function createOptions(){ - return _.cloneDeep(defaultOptions) + return _.cloneDeep(defaultOptions) } + +export function getDnsProviderOptions (options) { + if(!options){ + options = createOptions() + } + return { accessProviders: options.accessProviders, props: options.cert.dnsProvider } +} \ No newline at end of file