From b0101fd1ad063e8fe5340fa4f2d209c709e432cf Mon Sep 17 00:00:00 2001 From: lxs364091 Date: Tue, 3 May 2022 15:11:31 +0800 Subject: [PATCH 1/7] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20support=20template?= =?UTF-8?q?=20from=20work?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AntComponent/component.template.js | 63 +++++++++++++ AntComponent/index.ts | 17 ++++ AntComponent/style.less | 12 +++ __tests__/component.test.js | 9 ++ .../AntComponentFunction.tsx | 31 +++++++ __tests__/files/AntComponentFunction/index.ts | 2 + .../files/AntComponentFunction/style.less | 3 + createAntComponent.js | 63 +++++++++++++ createComponent.js | 85 ++++++++++++++++++ index.js | 89 ++----------------- package.json | 2 +- 11 files changed, 294 insertions(+), 82 deletions(-) create mode 100644 AntComponent/component.template.js create mode 100755 AntComponent/index.ts create mode 100644 AntComponent/style.less create mode 100644 __tests__/files/AntComponentFunction/AntComponentFunction.tsx create mode 100644 __tests__/files/AntComponentFunction/index.ts create mode 100644 __tests__/files/AntComponentFunction/style.less create mode 100644 createAntComponent.js create mode 100644 createComponent.js diff --git a/AntComponent/component.template.js b/AntComponent/component.template.js new file mode 100644 index 0000000..90e47c7 --- /dev/null +++ b/AntComponent/component.template.js @@ -0,0 +1,63 @@ +'use strict'; + +const path = require('path'); +const common = require(path.resolve(__dirname, '../common')); + +const { + createComponentName, + createClassName, + createModuleName, +} = common; + +const createComponent = (opts = {}) => { + const { + name = '', + className = '', + moduleName = '', + componentName = '', + } = opts; + + return ` +import type { FC } from '@alipay/bigfish/react'; + +import React from '@alipay/bigfish/react'; +import classnames from '@alipay/bigfish/util/classnames'; + +import style from './style.less'; + +interface ${componentName}Props { + className?: string; +} + +const ${componentName}: FC<${componentName}Props> = (props) => { + const { + className = '', + children, + ...others + } = props; + + const cls = classnames({ + [style.${moduleName}]: true, + [className]: !!className, + }); + + return ( +
+ { children } +
+ ); +}; + +export default ${ componentName }; +`; +}; + +module.exports = (opts) => { + const componentName = createComponentName(opts); + const className = createClassName(opts); + const moduleName = createModuleName(opts); + + const res = { componentName, className , moduleName, ...opts}; + + return createComponent(res); +}; diff --git a/AntComponent/index.ts b/AntComponent/index.ts new file mode 100755 index 0000000..7113a04 --- /dev/null +++ b/AntComponent/index.ts @@ -0,0 +1,17 @@ +'use strict'; + +const path = require('path'); +const common = require(path.resolve(__dirname, '../common')); + +const { createComponentName } = common; + +const create = ({ compName } = {}) => ` +export * from './${compName}'; +export { default } from './${compName}'; +`; + +module.exports = (opts) => { + const compName = createComponentName(opts); + + return create({ compName }); +}; diff --git a/AntComponent/style.less b/AntComponent/style.less new file mode 100644 index 0000000..2f30a1d --- /dev/null +++ b/AntComponent/style.less @@ -0,0 +1,12 @@ +'use strict'; + +const path = require('path'); +const common = require(path.resolve(__dirname, '../common')); + +const { createModuleName } = common; + +module.exports = opts => ` +.${createModuleName(opts)} { + :global {} +} +`; diff --git a/__tests__/component.test.js b/__tests__/component.test.js index 790b214..6e6c54b 100644 --- a/__tests__/component.test.js +++ b/__tests__/component.test.js @@ -159,3 +159,12 @@ test('create single page function', () => { expect(included).toBe(true); }); + +test('create ant typescript component function', () => { + child_process.execSync(`node ${INDEX_PATH} AntComponentFunction -a`,{ cwd: RUNTIME_PATH }); + + const list = getFiles(RUNTIME_PATH); + const included = icludes(list); + + expect(included).toBe(true); +}); diff --git a/__tests__/files/AntComponentFunction/AntComponentFunction.tsx b/__tests__/files/AntComponentFunction/AntComponentFunction.tsx new file mode 100644 index 0000000..aa4aa7d --- /dev/null +++ b/__tests__/files/AntComponentFunction/AntComponentFunction.tsx @@ -0,0 +1,31 @@ +import type { FC } from '@alipay/bigfish/react'; + +import React from '@alipay/bigfish/react'; +import classnames from '@alipay/bigfish/util/classnames'; + +import style from './style.less'; + +interface AntComponentFunctionProps { + className?: string; +} + +const AntComponentFunction: FC = (props) => { + const { + className = '', + children, + ...others + } = props; + + const cls = classnames({ + [style.antComponentFunction]: true, + [className]: !!className, + }); + + return ( +
+ { children } +
+ ); +}; + +export default AntComponentFunction; diff --git a/__tests__/files/AntComponentFunction/index.ts b/__tests__/files/AntComponentFunction/index.ts new file mode 100644 index 0000000..b16090b --- /dev/null +++ b/__tests__/files/AntComponentFunction/index.ts @@ -0,0 +1,2 @@ +export * from './AntComponentFunction'; +export { default } from './AntComponentFunction'; diff --git a/__tests__/files/AntComponentFunction/style.less b/__tests__/files/AntComponentFunction/style.less new file mode 100644 index 0000000..3106317 --- /dev/null +++ b/__tests__/files/AntComponentFunction/style.less @@ -0,0 +1,3 @@ +.antComponentFunction { + :global {} +} diff --git a/createAntComponent.js b/createAntComponent.js new file mode 100644 index 0000000..5b35a9c --- /dev/null +++ b/createAntComponent.js @@ -0,0 +1,63 @@ +#!/usr/bin/env node +'use strict'; + +const fs = require("fs"); +const path = require("path"); +const program = require("commander"); + +const BASR_PATH = path.resolve(__dirname, './AntComponent'); +const common = require(path.resolve(__dirname, './common')); + +const { + clearLine, + createClassName, + createModuleName, + createComponentName, +} = common; + +function wirte(path, code) { + fs.writeSync(fs.openSync(path, "w"), clearLine(code)); +}; + +function createAntComponent(opts = {}) { + const fileNames = fs.readdirSync(BASR_PATH); + const name = createComponentName(opts); + const { isSingle } = opts; + + const dir = isSingle ? path.resolve() : path.resolve(name); + + if (isSingle) { + const fn = require(path.resolve(BASR_PATH, 'component.template.js')); + const code = fn(opts); + const filePath = path.resolve(dir, `${name}.tsx`); + + wirte(filePath, code); + return; + } + + fs.mkdirSync(`./${name}`); + + fileNames.forEach((fileName) => { + const fn = require(path.resolve(BASR_PATH, fileName)); + + switch (fileName) { + case 'component.template.js': { + const code = fn(opts); + const filePath = path.resolve(dir, `${name}.tsx`); + + wirte(filePath, code); + + break; + } + default: { + const code = fn(opts); + const filePath = path.resolve(dir, fileName); + + wirte(filePath, code); + break; + } + } + }); +} + +module.exports = createAntComponent; diff --git a/createComponent.js b/createComponent.js new file mode 100644 index 0000000..7b0657f --- /dev/null +++ b/createComponent.js @@ -0,0 +1,85 @@ +#!/usr/bin/env node +'use strict'; + +const fs = require("fs"); +const path = require("path"); +const program = require("commander"); + +const BASR_PATH = path.resolve(__dirname, './Component'); +const common = require(path.resolve(__dirname, './common')); + +const { + clearLine, + createClassName, + createModuleName, + createComponentName, +} = common; + +function wirte(path, code) { + fs.writeSync(fs.openSync(path, "w"), clearLine(code)); +}; + +function createComponent(opts = {}) { + const fileNames = fs.readdirSync(BASR_PATH); + const name = createComponentName(opts); + const { + hooks: isHooks, + single: isSingle, + function: isFunction, + } = opts; + + const dir = isSingle ? path.resolve() : path.resolve(name); + + if (isSingle) { + const fn = require(path.resolve(BASR_PATH, 'component.template.js')); + const code = fn(opts); + const filePath = path.resolve(dir, `${name}.jsx`); + + wirte(filePath, code); + return; + } + + fs.mkdirSync(`./${name}`); + + fileNames.forEach((fileName) => { + const fn = require(path.resolve(BASR_PATH, fileName)); + + switch (fileName) { + case 'component.template.js': { + const code = fn(opts); + const filePath = path.resolve(dir, `${name}.jsx`); + + wirte(filePath, code); + + break; + } + case 'style.template.js': { + const code = fn(opts); + const filePath = path.resolve(dir, `${name}.scss`); + + wirte(filePath, code); + + break; + } + case 'hooks.js': { + if (isHooks && isFunction) { + const code = fn(opts); + const filePath = path.resolve(dir, fileName); + + wirte(filePath, code); + } + + break; + } + default: { + const code = fn(opts); + const filePath = path.resolve(dir, fileName); + + wirte(filePath, code); + break; + } + } + }); +} + +module.exports = createComponent; diff --git a/index.js b/index.js index 147f77f..e670ad0 100644 --- a/index.js +++ b/index.js @@ -1,24 +1,10 @@ #!/usr/bin/env node 'use strict'; -const fs = require("fs"); -const path = require("path"); -const changeCase = require("change-case"); -const program = require("commander"); +const program = require('commander'); -const BASR_PATH = path.resolve(__dirname, './Component'); -const common = require(path.resolve(__dirname, './common')); - -const { - clearLine, - createClassName, - createModuleName, - createComponentName, -} = common; - -function wirte(path, code) { - fs.writeSync(fs.openSync(path, "w"), clearLine(code)); -}; +const createComponent = require('./createComponent'); +const createAntComponent = require('./createAntComponent'); function getOpts(name = '', parentName = '', cmd = {}) { return Object.assign({ @@ -27,73 +13,13 @@ function getOpts(name = '', parentName = '', cmd = {}) { }, cmd); } -function createComponent(opts = {}) { - const fileNames = fs.readdirSync(BASR_PATH); - const name = createComponentName(opts); - const { - hooks: isHooks, - single: isSingle, - function: isFunction, - } = opts; - - const dir = isSingle ? path.resolve() : path.resolve(name); - - if (isSingle) { - const fn = require(path.resolve(BASR_PATH, 'component.template.js')); - const code = fn(opts); - const filePath = path.resolve(dir, `${name}.jsx`); - - wirte(filePath, code); - return; - } - - fs.mkdirSync(`./${name}`); - - fileNames.forEach((fileName) => { - const fn = require(path.resolve(BASR_PATH, fileName)); - - switch (fileName) { - case 'component.template.js': { - const code = fn(opts); - const filePath = path.resolve(dir, `${name}.jsx`); - - wirte(filePath, code); - - break; - } - case 'style.template.js': { - const code = fn(opts); - const filePath = path.resolve(dir, `${name}.scss`); - - wirte(filePath, code); - - break; - } - case 'hooks.js': { - if (isHooks && isFunction) { - const code = fn(opts); - const filePath = path.resolve(dir, fileName); - - wirte(filePath, code); - } - - break; - } - default: { - const code = fn(opts); - const filePath = path.resolve(dir, fileName); - - wirte(filePath, code); - break; - } - } - }); -} - function run(name = '', parentName = '', cmd = {}) { const opts = getOpts(name, parentName, cmd); + const { ant } = opts; - createComponent(opts); + ant + ? createAntComponent(opts) + : createComponent(opts); }; program @@ -103,5 +29,6 @@ program .option('-p, --page', 'create component as page') .option('-s, --single', 'create single file Component.jsx') .option('-h, --hooks', 'create file hooks.js') + .option('-a, --ant', 'create ant typescript function component') .action(run) .parse(process.argv); diff --git a/package.json b/package.json index 0642766..f9483e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "create-react-file", - "version": "2.0.2", + "version": "2.0.2-alpha.2", "description": "Use command line to create component or something else", "main": "index.js", "bin": "index.js", From e7a9bd156ebfeddb1596c6253d96637cdf6b89a5 Mon Sep 17 00:00:00 2001 From: lxs364091 Date: Wed, 4 May 2022 14:59:32 +0800 Subject: [PATCH 2/7] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20support=20template?= =?UTF-8?q?=20from=20work=203.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AntComponent/component.template.js | 3 +-- __tests__/files/AntComponentFunction/AntComponentFunction.tsx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/AntComponent/component.template.js b/AntComponent/component.template.js index 90e47c7..ebfb0aa 100644 --- a/AntComponent/component.template.js +++ b/AntComponent/component.template.js @@ -36,8 +36,7 @@ const ${componentName}: FC<${componentName}Props> = (props) => { ...others } = props; - const cls = classnames({ - [style.${moduleName}]: true, + const cls = classnames(style.${moduleName}, { [className]: !!className, }); diff --git a/__tests__/files/AntComponentFunction/AntComponentFunction.tsx b/__tests__/files/AntComponentFunction/AntComponentFunction.tsx index aa4aa7d..f5ba010 100644 --- a/__tests__/files/AntComponentFunction/AntComponentFunction.tsx +++ b/__tests__/files/AntComponentFunction/AntComponentFunction.tsx @@ -16,8 +16,7 @@ const AntComponentFunction: FC = (props) => { ...others } = props; - const cls = classnames({ - [style.antComponentFunction]: true, + const cls = classnames(style.antComponentFunction, { [className]: !!className, }); From 534a54d2dc15c95ee7a5e189fc9592c2148aa9b2 Mon Sep 17 00:00:00 2001 From: lxs364091 Date: Thu, 5 May 2022 10:42:00 +0800 Subject: [PATCH 3/7] =?UTF-8?q?Revert=20"feat:=20=F0=9F=8E=B8=20support=20?= =?UTF-8?q?template=20from=20work=203.0"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit e7a9bd156ebfeddb1596c6253d96637cdf6b89a5. --- AntComponent/component.template.js | 3 ++- __tests__/files/AntComponentFunction/AntComponentFunction.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/AntComponent/component.template.js b/AntComponent/component.template.js index ebfb0aa..90e47c7 100644 --- a/AntComponent/component.template.js +++ b/AntComponent/component.template.js @@ -36,7 +36,8 @@ const ${componentName}: FC<${componentName}Props> = (props) => { ...others } = props; - const cls = classnames(style.${moduleName}, { + const cls = classnames({ + [style.${moduleName}]: true, [className]: !!className, }); diff --git a/__tests__/files/AntComponentFunction/AntComponentFunction.tsx b/__tests__/files/AntComponentFunction/AntComponentFunction.tsx index f5ba010..aa4aa7d 100644 --- a/__tests__/files/AntComponentFunction/AntComponentFunction.tsx +++ b/__tests__/files/AntComponentFunction/AntComponentFunction.tsx @@ -16,7 +16,8 @@ const AntComponentFunction: FC = (props) => { ...others } = props; - const cls = classnames(style.antComponentFunction, { + const cls = classnames({ + [style.antComponentFunction]: true, [className]: !!className, }); From 54e10f5de933542a67f6e2851bdb6852cf909fc1 Mon Sep 17 00:00:00 2001 From: lxs364091 Date: Thu, 5 May 2022 10:42:28 +0800 Subject: [PATCH 4/7] =?UTF-8?q?chore:=20=F0=9F=A4=96=20upgrade=20=3D=3D>?= =?UTF-8?q?=202.0.2-alpha.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f9483e0..f40ff29 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "create-react-file", - "version": "2.0.2-alpha.2", + "version": "2.0.2-alpha.4", "description": "Use command line to create component or something else", "main": "index.js", "bin": "index.js", From 4ece21cbd61398121f5221614d81135663829fe2 Mon Sep 17 00:00:00 2001 From: lxs364091 Date: Thu, 5 May 2022 10:46:38 +0800 Subject: [PATCH 5/7] =?UTF-8?q?chore:=20=F0=9F=A4=96=20upgrade=20=3D=3D>?= =?UTF-8?q?=202.0.2-alpha.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f40ff29..1e864ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "create-react-file", - "version": "2.0.2-alpha.4", + "version": "2.0.2-alpha.5", "description": "Use command line to create component or something else", "main": "index.js", "bin": "index.js", From 34ba7689a25b82cc3712cf0b2b36ad759bcebebb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 24 Jun 2022 16:41:11 +0000 Subject: [PATCH 6/7] Bump jsdom from 16.3.0 to 16.7.0 Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.3.0 to 16.7.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md) - [Commits](https://github.com/jsdom/jsdom/compare/16.3.0...16.7.0) --- updated-dependencies: - dependency-name: jsdom dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 554 ++++++++++++---------------------------------- 1 file changed, 145 insertions(+), 409 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7eead0f..3e78dff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "create-react-file", - "version": "2.0.1", + "version": "2.0.2-alpha.5", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -627,6 +627,12 @@ "@sinonjs/commons": "^1.7.0" } }, + "@tootallnate/once": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", + "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "dev": true + }, "@types/babel__core": { "version": "7.1.9", "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.9.tgz", @@ -775,16 +781,13 @@ "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", "dev": true }, - "ajv": { - "version": "6.12.3", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.3.tgz", - "integrity": "sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==", + "agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "dev": true, "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" + "debug": "4" } }, "ansi-escapes": { @@ -863,21 +866,6 @@ "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", "dev": true }, - "asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", - "dev": true, - "requires": { - "safer-buffer": "~2.1.0" - } - }, - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", - "dev": true - }, "assign-symbols": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", @@ -896,18 +884,6 @@ "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", "dev": true }, - "aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", - "dev": true - }, - "aws4": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.10.0.tgz", - "integrity": "sha512-3YDiu347mtVtjpyV3u5kVqQLP242c06zwDOgpeRnybmXlYYsLbtTrUBUm8i8srONt+FWobl5aibnU1030PeeuA==", - "dev": true - }, "babel-jest": { "version": "26.1.0", "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-26.1.0.tgz", @@ -1039,15 +1015,6 @@ } } }, - "bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "dev": true, - "requires": { - "tweetnacl": "^0.14.3" - } - }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -1145,12 +1112,6 @@ "rsvp": "^4.8.4" } }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", - "dev": true - }, "chalk": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", @@ -1314,12 +1275,6 @@ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", "dev": true }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", - "dev": true - }, "cross-spawn": { "version": "6.0.5", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", @@ -1367,15 +1322,6 @@ } } }, - "dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "dev": true, - "requires": { - "assert-plus": "^1.0.0" - } - }, "data-urls": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", @@ -1402,12 +1348,6 @@ "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "dev": true }, - "decimal.js": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.2.0.tgz", - "integrity": "sha512-vDPw+rDgn3bZe1+F/pyEwb1oMG2XTlRVgAa6B4KccTEpYgF8w6eQllVbQcfIJnZyvzFtFpxnpGtx8dd7DJp/Rw==", - "dev": true - }, "decode-uri-component": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", @@ -1511,16 +1451,6 @@ "tslib": "^1.10.0" } }, - "ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", - "dev": true, - "requires": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -1551,31 +1481,12 @@ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", "dev": true }, - "escodegen": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", - "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", - "dev": true, - "requires": { - "esprima": "^4.0.1", - "estraverse": "^4.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1", - "source-map": "~0.6.1" - } - }, "esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true }, - "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true - }, "esutils": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", @@ -1673,12 +1584,6 @@ "jest-regex-util": "^26.0.0" } }, - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", - "dev": true - }, "extend-shallow": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", @@ -1765,18 +1670,6 @@ } } }, - "extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", - "dev": true - }, - "fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true - }, "fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", @@ -1823,23 +1716,6 @@ "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", "dev": true }, - "forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", - "dev": true - }, - "form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", - "dev": true, - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - }, "fragment-cache": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", @@ -1895,15 +1771,6 @@ "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", "dev": true }, - "getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", - "dev": true, - "requires": { - "assert-plus": "^1.0.0" - } - }, "glob": { "version": "7.1.6", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", @@ -1937,22 +1804,6 @@ "dev": true, "optional": true }, - "har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", - "dev": true - }, - "har-validator": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", - "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", - "dev": true, - "requires": { - "ajv": "^6.5.5", - "har-schema": "^2.0.0" - } - }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -2041,15 +1892,25 @@ "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", "dev": true }, - "http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "http-proxy-agent": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", + "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", "dev": true, "requires": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + } + }, + "https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "dev": true, + "requires": { + "agent-base": "6", + "debug": "4" } }, "human-signals": { @@ -2099,12 +1960,6 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, - "ip-regex": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz", - "integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=", - "dev": true - }, "is-accessor-descriptor": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", @@ -2225,12 +2080,6 @@ "isobject": "^3.0.1" } }, - "is-potential-custom-element-name": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.0.tgz", - "integrity": "sha1-DFLlS8yjkbssSUsh6GJtczbG45c=", - "dev": true - }, "is-stream": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", @@ -2277,12 +2126,6 @@ "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", "dev": true }, - "isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", - "dev": true - }, "istanbul-lib-coverage": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", @@ -2862,44 +2705,132 @@ "esprima": "^4.0.0" } }, - "jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", - "dev": true - }, "jsdom": { - "version": "16.3.0", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.3.0.tgz", - "integrity": "sha512-zggeX5UuEknpdZzv15+MS1dPYG0J/TftiiNunOeNxSl3qr8Z6cIlQpN0IdJa44z9aFxZRIVqRncvEhQ7X5DtZg==", + "version": "16.7.0", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz", + "integrity": "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==", "dev": true, "requires": { - "abab": "^2.0.3", - "acorn": "^7.1.1", + "abab": "^2.0.5", + "acorn": "^8.2.4", "acorn-globals": "^6.0.0", "cssom": "^0.4.4", - "cssstyle": "^2.2.0", + "cssstyle": "^2.3.0", "data-urls": "^2.0.0", - "decimal.js": "^10.2.0", + "decimal.js": "^10.2.1", "domexception": "^2.0.1", - "escodegen": "^1.14.1", + "escodegen": "^2.0.0", + "form-data": "^3.0.0", "html-encoding-sniffer": "^2.0.1", - "is-potential-custom-element-name": "^1.0.0", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-potential-custom-element-name": "^1.0.1", "nwsapi": "^2.2.0", - "parse5": "5.1.1", - "request": "^2.88.2", - "request-promise-native": "^1.0.8", - "saxes": "^5.0.0", + "parse5": "6.0.1", + "saxes": "^5.0.1", "symbol-tree": "^3.2.4", - "tough-cookie": "^3.0.1", + "tough-cookie": "^4.0.0", "w3c-hr-time": "^1.0.2", "w3c-xmlserializer": "^2.0.0", "webidl-conversions": "^6.1.0", "whatwg-encoding": "^1.0.5", "whatwg-mimetype": "^2.3.0", - "whatwg-url": "^8.0.0", - "ws": "^7.2.3", + "whatwg-url": "^8.5.0", + "ws": "^7.4.6", "xml-name-validator": "^3.0.0" + }, + "dependencies": { + "abab": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", + "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", + "dev": true + }, + "acorn": { + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", + "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "dev": true + }, + "decimal.js": { + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", + "integrity": "sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==", + "dev": true + }, + "escodegen": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz", + "integrity": "sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==", + "dev": true, + "requires": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" + } + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + }, + "form-data": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, + "is-potential-custom-element-name": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", + "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", + "dev": true + }, + "parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "dev": true + }, + "tough-cookie": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz", + "integrity": "sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==", + "dev": true, + "requires": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.1.2" + } + }, + "tr46": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", + "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", + "dev": true, + "requires": { + "punycode": "^2.1.1" + } + }, + "whatwg-url": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz", + "integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==", + "dev": true, + "requires": { + "lodash": "^4.7.0", + "tr46": "^2.1.0", + "webidl-conversions": "^6.1.0" + } + } } }, "jsesc": { @@ -2914,24 +2845,6 @@ "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", "dev": true }, - "json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", - "dev": true - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", - "dev": true - }, "json5": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.3.tgz", @@ -2941,18 +2854,6 @@ "minimist": "^1.2.5" } }, - "jsprim": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", - "dev": true, - "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.2.3", - "verror": "1.10.0" - } - }, "kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -3245,12 +3146,6 @@ "integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==", "dev": true }, - "oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", - "dev": true - }, "object-copy": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", @@ -3389,12 +3284,6 @@ "lines-and-columns": "^1.1.6" } }, - "parse5": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", - "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", - "dev": true - }, "pascal-case": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.1.tgz", @@ -3443,12 +3332,6 @@ "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", "dev": true }, - "performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", - "dev": true - }, "picomatch": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", @@ -3529,12 +3412,6 @@ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true }, - "qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", - "dev": true - }, "react-is": { "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", @@ -3600,84 +3477,6 @@ "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", "dev": true }, - "request": { - "version": "2.88.2", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", - "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", - "dev": true, - "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": { - "tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", - "dev": true, - "requires": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - } - }, - "uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "dev": true - } - } - }, - "request-promise-core": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.4.tgz", - "integrity": "sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw==", - "dev": true, - "requires": { - "lodash": "^4.17.19" - } - }, - "request-promise-native": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.9.tgz", - "integrity": "sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g==", - "dev": true, - "requires": { - "request-promise-core": "1.1.4", - "stealthy-require": "^1.1.1", - "tough-cookie": "^2.3.3" - }, - "dependencies": { - "tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", - "dev": true, - "requires": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - } - } - } - }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -4216,23 +4015,6 @@ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, - "sshpk": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", - "dev": true, - "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" - } - }, "stack-utils": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.2.tgz", @@ -4271,12 +4053,6 @@ } } }, - "stealthy-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", - "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=", - "dev": true - }, "string-length": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.1.tgz", @@ -4430,17 +4206,6 @@ "is-number": "^7.0.0" } }, - "tough-cookie": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-3.0.1.tgz", - "integrity": "sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==", - "dev": true, - "requires": { - "ip-regex": "^2.1.0", - "psl": "^1.1.28", - "punycode": "^2.1.1" - } - }, "tr46": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.0.2.tgz", @@ -4455,21 +4220,6 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz", "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==" }, - "tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", - "dev": true, - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", - "dev": true - }, "type-check": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", @@ -4512,6 +4262,12 @@ "set-value": "^2.0.1" } }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true + }, "unset-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", @@ -4568,15 +4324,6 @@ "tslib": "^1.10.0" } }, - "uri-js": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", - "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", - "dev": true, - "requires": { - "punycode": "^2.1.0" - } - }, "urix": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", @@ -4625,17 +4372,6 @@ "spdx-expression-parse": "^3.0.0" } }, - "verror": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", - "dev": true, - "requires": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, "w3c-hr-time": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", From 8c2be5978bd2ffeec544294ace4cb52a7ad18a60 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 6 Jan 2023 12:44:44 +0000 Subject: [PATCH 7/7] Bump json5 from 2.1.3 to 2.2.3 Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.3) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3e78dff..d5af062 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2846,13 +2846,10 @@ "dev": true }, "json5": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.3.tgz", - "integrity": "sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA==", - "dev": true, - "requires": { - "minimist": "^1.2.5" - } + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true }, "kind-of": { "version": "6.0.3",