From 08c5383bee2f51ac0718cbdb992e15f581749326 Mon Sep 17 00:00:00 2001 From: jack zhang <1098626505@qq.com> Date: Sun, 3 Sep 2023 10:59:33 +0800 Subject: [PATCH] refactor: build tools (#2374) * refactor: core/build and cli/build.js * fix: build * fix: bug * fix: replaceAll to replace * fix: node version check * fix: add require check * fix: esbuild other ext * fix: process json * fix: exlude jsx-runtime * feat: split chunk * fix: minify plugin client bundle * fix: compatibility * fix: support import() * feat: update docs * fix: server deps * feat: demo * fix: remove cjs treeshake * fix: local error * fix: bug * fix: lazy load * fix: rewrites * fix: remove dynamic import function * feat: doc demo * fix: codesanbox vite template * fix: codesanbox demo * fix: hide stackblitz * fix: revert rspack * fix: test bug * fix: delete console * fix: import dayjs locale --------- Co-authored-by: chenos --- .buildrc.ts | 11 - .dumi/theme/slots/PreviewerActions.tsx | 221 + package.json | 3 + packages/app/client/src/plugins/api-doc.ts | 1 - packages/core/acl/src/snippet-manager.ts | 6 +- packages/core/app/client/.umirc.ts | 7 +- packages/core/build/.local | 1 - packages/core/build/bin/nocobase-build.js | 46 +- packages/core/build/package.json | 65 +- packages/core/build/src/babel.ts | 272 - packages/core/build/src/build.test.ts | 52 - packages/core/build/src/build.ts | 348 +- packages/core/build/src/buildCjs.ts | 36 + packages/core/build/src/buildClient.ts | 71 + packages/core/build/src/buildDeclaration.ts | 33 + packages/core/build/src/buildPlugin.ts | 156 +- packages/core/build/src/constant.ts | 46 + .../core/build/src/es5ImcompatibleVersions.ts | 33 - .../build/babel-browser-files/.fatherrc.js | 8 - .../expected/es/browser.js | 1 - .../babel-browser-files/expected/es/node.js | 1 - .../build/babel-browser-files/src/browser.js | 2 - .../build/babel-browser-files/src/node.js | 2 - .../build/babel-cjs-lazy/.fatherrc.js | 8 - .../fixtures/build/babel-cjs-lazy/src/foo.js | 3 - .../build/babel-cjs-lazy/src/index.js | 3 - .../.fatherrc.js | 10 - .../expected/es/index.js | 2 - .../p1.js | 20 - .../p2.js | 20 - .../preset.js | 8 - .../src/index.js | 3 - .../build/babel-importLibToEs/.fatherrc.js | 5 - .../babel-importLibToEs/expected/es/index.js | 2 - .../build/babel-importLibToEs/src/index.js | 3 - .../babel-less-to-css-forbid/.fatherrc.js | 6 - .../expected/es/foo.js | 6 - .../expected/es/foo.module.less | 3 - .../expected/es/index.less | 6 - .../build/babel-less-to-css-forbid/src/foo.js | 6 - .../src/foo.module.less | 3 - .../babel-less-to-css-forbid/src/index.less | 6 - .../build/babel-less-to-css/.fatherrc.js | 6 - .../babel-less-to-css/expected/es/foo.js | 6 - .../expected/es/foo.module.css | 3 - .../babel-less-to-css/expected/es/index.css | 3 - .../build/babel-less-to-css/src/foo.js | 6 - .../babel-less-to-css/src/foo.module.less | 3 - .../build/babel-less-to-css/src/index.less | 6 - .../build/babel-node-files/.fatherrc.js | 8 - .../babel-node-files/expected/es/browser.js | 1 - .../babel-node-files/expected/es/node.js | 1 - .../build/babel-node-files/src/browser.js | 2 - .../build/babel-node-files/src/node.js | 2 - .../build/babel-node-tsx-jsx/.fatherrc.js | 5 - .../babel-node-tsx-jsx/expected/es/B.d.ts | 1 - .../build/babel-node-tsx-jsx/expected/es/B.js | 1 - .../build/babel-node-tsx-jsx/expected/es/C.js | 1 - .../babel-node-tsx-jsx/expected/es/node.js | 1 - .../build/babel-node-tsx-jsx/src/B.tsx | 2 - .../build/babel-node-tsx-jsx/src/C.jsx | 2 - .../build/babel-node-tsx-jsx/src/node.js | 2 - .../build/babel-node-tsx-jsx/tsconfig.json | 9 - .../fixtures/build/babel-normal/.fatherrc.js | 5 - .../build/babel-normal/expected/es/foo.js | 3 - .../build/babel-normal/expected/es/index.js | 3 - .../build/babel-normal/expected/es/types.d.ts | 0 .../__test__/__snapshots__/index.test.js.snap | 1 - .../babel-normal/src/__test__/index.test.js | 1 - .../fixtures/build/babel-normal/src/bar.md | 1 - .../fixtures/build/babel-normal/src/bar.mdx | 1 - .../build/babel-normal/src/demos/foo.js | 3 - .../src/fixtures/example/package.json | 1 - .../build/babel-normal/src/foo.e2e.ts | 0 .../fixtures/build/babel-normal/src/foo.js | 4 - .../build/babel-normal/src/foo.spec.ts | 0 .../build/babel-normal/src/foo.test.js | 0 .../build/babel-normal/src/foo.test.jsx | 0 .../build/babel-normal/src/foo.test.ts | 0 .../build/babel-normal/src/foo.test.tsx | 0 .../fixtures/build/babel-normal/src/index.js | 4 - .../build/babel-normal/src/types.d.ts | 0 .../build/babel-runtimeHelpers/.fatherrc.js | 6 - .../babel-runtimeHelpers/expected/es/index.js | 21 - .../build/babel-runtimeHelpers/package.json | 5 - .../build/babel-runtimeHelpers/src/index.js | 9 - .../fixtures/build/babel-syntax/.fatherrc.js | 4 - .../build/babel-syntax/expected/index.esm.js | 84 - .../fixtures/build/babel-syntax/package.json | 5 - .../src/fixtures/build/babel-syntax/src/a.js | 4 - .../src/fixtures/build/babel-syntax/src/b.js | 8 - .../fixtures/build/babel-syntax/src/index.js | 32 - .../build/babel-ts-3.7-features/.fatherrc.js | 4 - .../expected/es/index.d.ts | 2 - .../expected/es/index.js | 6 - .../build/babel-ts-3.7-features/src/index.ts | 11 - .../.fatherrc.js | 6 - .../expected/es/index.js | 3 - .../src/index.ts | 7 - .../tsconfig.json | 8 - .../babel-typescript-template/.fatherrc.js | 5 - .../expected/es/index.d.ts | 5 - .../expected/es/index.js | 3 - .../babel-typescript-template/src/index.ts | 7 - .../build/babel-typescript/.fatherrc.js | 5 - .../babel-typescript/expected/es/index.d.ts | 5 - .../babel-typescript/expected/es/index.js | 3 - .../build/babel-typescript/src/index.ts | 7 - .../build/babel-typescript/tsconfig.json | 10 - .../fixtures/build/config-array/.fatherrc.js | 13 - .../build/config-array/expected/index.umd.js | 13 - .../fixtures/build/config-array/src/index.js | 2 - .../fixtures/build/config-array/ui/index.js | 1 - .../fixtures/build/lerna-pkgs/.fatherrc.js | 8 - .../build/lerna-pkgs/core/bar/package.json | 3 - .../build/lerna-pkgs/core/bar/src/index.js | 2 - .../build/lerna-pkgs/core/foo/package.json | 3 - .../build/lerna-pkgs/core/foo/src/index.js | 2 - .../lerna-pkgs/expected/bar/index.esm.js | 1 - .../lerna-pkgs/expected/foo/index.esm.js | 1 - .../src/fixtures/build/lerna-pkgs/lerna.json | 5 - .../lerna-root-config-override/.fatherrc.js | 4 - .../expected/bar/index.js | 3 - .../expected/foo/index.js | 3 - .../lerna-root-config-override/lerna.json | 1 - .../packages/bar/package.json | 3 - .../packages/bar/src/index.js | 2 - .../packages/foo/package.json | 3 - .../packages/foo/src/index.js | 2 - .../build/lerna-root-config/.fatherrc.js | 4 - .../expected/bar/index.esm.js | 1 - .../expected/foo/index.esm.js | 1 - .../build/lerna-root-config/lerna.json | 1 - .../packages/bar/package.json | 3 - .../packages/bar/src/index.js | 2 - .../packages/foo/package.json | 3 - .../packages/foo/src/index.js | 2 - .../build/lerna-root-scope/.fatherrc.js | 3 - .../expected/bar/index.esm.js | 1 - .../expected/foo/index.esm.js | 1 - .../build/lerna-root-scope/lerna.json | 1 - .../packages/bar/.fatherrc.js | 3 - .../packages/bar/package.json | 3 - .../packages/bar/src/index.js | 2 - .../packages/foo/.fatherrc.js | 3 - .../packages/foo/package.json | 3 - .../packages/foo/src/index.js | 2 - .../build/lerna-root-tsconfig/.fatherrc.js | 4 - .../expected/bar/es/index.js | 3 - .../expected/foo/es/index.js | 3 - .../build/lerna-root-tsconfig/lerna.json | 1 - .../packages/bar/package.json | 3 - .../packages/bar/src/index.ts | 4 - .../packages/foo/package.json | 3 - .../packages/foo/src/index.ts | 4 - .../build/lerna-root-tsconfig/tsconfig.json | 12 - .../expected/bar/index.esm.js | 1 - .../expected/foo/index.esm.js | 1 - .../build/lerna-scope-packages/lerna.json | 1 - .../packages/@hoo/bar/.fatherrc.js | 4 - .../packages/@hoo/bar/package.json | 3 - .../packages/@hoo/bar/src/index.js | 2 - .../packages/foo/.fatherrc.js | 4 - .../packages/foo/package.json | 3 - .../packages/foo/src/index.js | 2 - .../build/lerna/expected/bar/index.esm.js | 1 - .../build/lerna/expected/foo/index.esm.js | 1 - .../build/src/fixtures/build/lerna/lerna.json | 1 - .../build/lerna/packages/bar/.fatherrc.js | 4 - .../build/lerna/packages/bar/package.json | 3 - .../build/lerna/packages/bar/src/index.js | 2 - .../build/lerna/packages/foo/.fatherrc.js | 4 - .../build/lerna/packages/foo/package.json | 3 - .../build/lerna/packages/foo/src/index.js | 2 - .../.fatherrc.js | 6 - .../expected/index.umd.js | 43 - .../package.json | 3 - .../packages/fooo/package.json | 9 - .../packages/fooo/src/index.js | 5 - .../src/index.js | 1 - .../.fatherrc.js | 6 - .../expected/index.umd.js | 34 - .../package.json | 5 - .../src/index.js | 4 - .../build/rollup-commonjs-deps/.fatherrc.js | 6 - .../expected/index.umd.js | 18 - .../build/rollup-commonjs-deps/package.json | 5 - .../build/rollup-commonjs-deps/src/index.js | 4 - .../build/rollup-config-alias/.fatherrc.js | 4 - .../rollup-config-alias/expected/index.esm.js | 6 - .../build/rollup-config-alias/src/index.js | 6 - .../rollup-css-autoprefixer/.fatherrc.js | 10 - .../expected/index.esm.js | 31 - .../build/rollup-css-autoprefixer/src/foo.css | 4 - .../rollup-css-autoprefixer/src/index.js | 3 - .../build/rollup-css-extract/.fatherrc.js | 5 - .../rollup-css-extract/expected/index.esm.css | 2 - .../rollup-css-extract/expected/index.esm.js | 1 - .../build/rollup-css-extract/src/foo.css | 2 - .../build/rollup-css-extract/src/index.js | 3 - .../build/rollup-css-inject/.fatherrc.js | 5 - .../rollup-css-inject/expected/index.esm.js | 3 - .../build/rollup-css-inject/src/foo.css | 2 - .../build/rollup-css-inject/src/index.js | 3 - .../build/rollup-css-modules/.fatherrc.js | 5 - .../rollup-css-modules/expected/index.esm.js | 32 - .../build/rollup-css-modules/src/foo.css | 2 - .../build/rollup-css-modules/src/index.js | 3 - .../fixtures/build/rollup-css/.fatherrc.js | 4 - .../build/rollup-css/expected/index.esm.js | 31 - .../src/fixtures/build/rollup-css/src/foo.css | 7 - .../fixtures/build/rollup-css/src/index.js | 3 - .../build/rollup-dynamic-import/.fatherrc.js | 4 - .../expected/bar-fc754098.js | 5 - .../expected/index.esm.js | 2 - .../build/rollup-dynamic-import/src/bar.js | 1 - .../build/rollup-dynamic-import/src/index.js | 3 - .../build/rollup-esm-file/.fatherrc.js | 7 - .../rollup-esm-file/expected/demo.esm.js | 1 - .../build/rollup-esm-file/package.json | 1 - .../build/rollup-esm-file/src/index.js | 1 - .../build/rollup-esm-minify/.fatherrc.js | 4 - .../rollup-esm-minify/expected/index.esm.js | 1 - .../build/rollup-esm-minify/package.json | 5 - .../build/rollup-esm-minify/src/foo.js | 4 - .../build/rollup-esm-minify/src/index.js | 5 - .../build/rollup-esm-mjs/.fatherrc.js | 4 - .../rollup-esm-mjs/expected/index.esm.js | 6 - .../build/rollup-esm-mjs/expected/index.mjs | 1 - .../build/rollup-esm-mjs/package.json | 5 - .../fixtures/build/rollup-esm-mjs/src/foo.js | 4 - .../build/rollup-esm-mjs/src/index.js | 6 - .../rollup-externalsExclude/.fatherrc.js | 11 - .../expected/index.esm.js | 5 - .../rollup-externalsExclude/expected/index.js | 7 - .../rollup-externalsExclude/package.json | 3 - .../rollup-externalsExclude/src/index.js | 2 - .../.fatherrc.js | 10 - .../expected/index.esm.js | 2 - .../p1.js | 20 - .../p2.js | 20 - .../preset.js | 8 - .../src/index.js | 3 - .../build/rollup-extraExternals/.fatherrc.js | 9 - .../expected/index.esm.js | 5 - .../build/rollup-extraExternals/package.json | 3 - .../build/rollup-extraExternals/src/index.js | 6 - .../rollup-extraRollupPlugins/.fatherrc.js | 10 - .../expected/index.esm.js | 1 - .../rollup-extraRollupPlugins/package.json | 3 - .../rollup-extraRollupPlugins/src/index.js | 2 - .../rollup-import-directory/.fatherrc.js | 4 - .../expected/index.esm.js | 1 - .../rollup-import-directory/src/foo/index.js | 2 - .../rollup-import-directory/src/index.js | 1 - .../build/rollup-importLibToEs/.fatherrc.js | 5 - .../expected/index.esm.js | 5 - .../rollup-importLibToEs/expected/index.js | 7 - .../build/rollup-importLibToEs/src/index.js | 3 - .../fixtures/build/rollup-inject/.fatherrc.js | 7 - .../build/rollup-inject/expected/index.esm.js | 3 - .../fixtures/build/rollup-inject/package.json | 5 - .../fixtures/build/rollup-inject/src/index.js | 1 - .../fixtures/build/rollup-json/.fatherrc.js | 4 - .../build/rollup-json/expected/index.esm.js | 6 - .../fixtures/build/rollup-json/src/index.js | 3 - .../fixtures/build/rollup-json/src/pkg.json | 3 - .../build/rollup-less-modules/.fatherrc.js | 5 - .../rollup-less-modules/expected/index.esm.js | 32 - .../build/rollup-less-modules/src/foo.less | 2 - .../build/rollup-less-modules/src/index.js | 3 - .../rollup-less-node-modules/.fatherrc.js | 4 - .../expected/index.esm.js | 31 - .../rollup-less-node-modules/src/foo.less | 3 - .../rollup-less-node-modules/src/index.js | 3 - .../fixtures/build/rollup-less/.fatherrc.js | 4 - .../build/rollup-less/expected/index.esm.js | 31 - .../fixtures/build/rollup-less/src/foo.less | 2 - .../fixtures/build/rollup-less/src/index.js | 3 - .../build/rollup-multiple-entry/.fatherrc.js | 8 - .../rollup-multiple-entry/expected/bar.esm.js | 1 - .../rollup-multiple-entry/expected/foo.esm.js | 1 - .../build/rollup-multiple-entry/src/bar.js | 2 - .../build/rollup-multiple-entry/src/foo.js | 2 - .../build/rollup-node-resolve/.fatherrc.js | 9 - .../rollup-node-resolve/expected/index.umd.js | 10 - .../build/rollup-node-resolve/package.json | 5 - .../build/rollup-node-resolve/src/index.js | 3 - .../fixtures/build/rollup-normal/.fatherrc.js | 6 - .../build/rollup-normal/expected/index.esm.js | 7 - .../build/rollup-normal/expected/index.js | 9 - .../build/rollup-normal/expected/index.umd.js | 12 - .../rollup-normal/expected/index.umd.min.js | 1 - .../fixtures/build/rollup-normal/package.json | 5 - .../fixtures/build/rollup-normal/src/foo.js | 4 - .../fixtures/build/rollup-normal/src/index.js | 4 - .../build/rollup-output-dir/.fatherrc.js | 5 - .../rollup-output-dir/expected/out/a.esm.js | 1 - .../rollup-output-dir/expected/out/b.esm.js | 1 - .../fixtures/build/rollup-output-dir/src/a.js | 1 - .../fixtures/build/rollup-output-dir/src/b.js | 1 - .../.fatherrc.js | 29 - .../expected/dva.bar.js | 8 - .../expected/dva.bar.min.js | 1 - .../expected/dva.esm.js | 1 - .../expected/dva.foo.cjs.js | 3 - .../expected/dva.foo.esm.js | 1 - .../expected/dva.foo.umd.js | 8 - .../expected/dva.foo.umd.min.js | 1 - .../expected/dva.js | 3 - .../expected/dva.umd.js | 8 - .../expected/dva.umd.min.js | 1 - .../src/bar.js | 2 - .../src/foo.js | 2 - .../src/index.js | 2 - .../build/rollup-replace/.fatherrc.js | 7 - .../rollup-replace/expected/index.esm.js | 1 - .../build/rollup-replace/package.json | 3 - .../build/rollup-replace/src/index.js | 2 - .../build/rollup-resolve-jsx/.fatherrc.js | 4 - .../rollup-resolve-jsx/expected/index.esm.js | 11 - .../build/rollup-resolve-jsx/package.json | 5 - .../build/rollup-resolve-jsx/src/Foo.jsx | 2 - .../build/rollup-resolve-jsx/src/index.js | 3 - .../build/rollup-runtimeHelpers/.fatherrc.js | 6 - .../expected/index.esm.js | 17 - .../rollup-runtimeHelpers/expected/index.js | 38 - .../build/rollup-runtimeHelpers/package.json | 5 - .../build/rollup-runtimeHelpers/src/index.js | 6 - .../fixtures/build/rollup-sass/.fatherrc.js | 4 - .../build/rollup-sass/expected/index.esm.js | 31 - .../fixtures/build/rollup-sass/src/foo.scss | 2 - .../fixtures/build/rollup-sass/src/index.js | 3 - .../build/rollup-svgr/.umirc.library.js | 3 - .../build/rollup-svgr/expected/index.esm.js | 21 - .../fixtures/build/rollup-svgr/package.json | 5 - .../fixtures/build/rollup-svgr/src/index.jsx | 3 - .../fixtures/build/rollup-svgr/src/menu.svg | 12 - .../.fatherrc.ts | 7 - .../expected/index.esm.js | 5 - .../expected/index.js | 7 - .../expected/type/index.d.ts | 5 - .../src/index.ts | 7 - .../tsconfig.json | 9 - .../typings.d.ts | 7 - .../build/rollup-typescript/.fatherrc.ts | 4 - .../rollup-typescript/expected/index.d.ts | 5 - .../rollup-typescript/expected/index.esm.js | 5 - .../build/rollup-typescript/expected/index.js | 7 - .../build/rollup-typescript/src/index.ts | 7 - .../build/rollup-typescript/tsconfig.json | 8 - .../build/rollup-typescript/typings.d.ts | 7 - .../build/rollup-umd-auto-name/.fatherrc.js | 6 - .../expected/index.umd.js | 13 - .../build/rollup-umd-auto-name/package.json | 3 - .../build/rollup-umd-auto-name/src/index.js | 4 - .../build/rollup-umd-commonjs/.fatherrc.js | 6 - .../rollup-umd-commonjs/expected/index.umd.js | 17 - .../build/rollup-umd-commonjs/package.json | 3 - .../build/rollup-umd-commonjs/src/index.js | 2 - .../.fatherrc.js | 5 - .../expected/index.umd.css | 2 - .../expected/index.umd.js | 8 - .../expected/index.umd.min.css | 1 - .../expected/index.umd.min.js | 1 - .../src/foo.css | 2 - .../src/index.js | 3 - .../.fatherrc.js | 6 - .../expected/index.umd.js | 20 - .../package.json | 3 - .../src/a.js | 3 - .../src/index.js | 7 - .../build/rollup-umd-globals/.fatherrc.js | 9 - .../rollup-umd-globals/expected/index.umd.js | 13 - .../build/rollup-umd-globals/package.json | 5 - .../build/rollup-umd-globals/src/index.js | 3 - .../build/rollup-umd-name/.fatherrc.js | 7 - .../rollup-umd-name/expected/index.umd.js | 13 - .../build/rollup-umd-name/src/index.js | 4 - .../build/rollup-umd-overrides/.fatherrc.js | 18 - .../expected/fetch.umd.js | 13 - .../expected/index.umd.js | 13 - .../build/rollup-umd-overrides/src/fetch.js | 4 - .../build/rollup-umd-overrides/src/index.js | 4 - .../build/rollup-umd-sourcemap/.fatherrc.js | 8 - .../expected/index.umd.js | 14 - .../expected/index.umd.js.map | 1 - .../build/rollup-umd-sourcemap/src/index.js | 4 - .../build/target-node-version/.fatherrc.js | 7 - .../target-node-version/expected/es/index.js | 4 - .../build/target-node-version/src/index.js | 6 - .../fixtures/build/target-node/.fatherrc.js | 6 - .../build/target-node/expected/index.esm.js | 6 - .../build/target-node/expected/index.js | 8 - .../fixtures/build/target-node/src/index.js | 6 - packages/core/build/src/getBabelConfig.ts | 95 - packages/core/build/src/getRollupConfig.ts | 343 -- packages/core/build/src/getUserConfig.ts | 87 - packages/core/build/src/importLibToEs.js | 26 - packages/core/build/src/index.ts | 4 +- .../build/src/normalizeBundleOpts.test.ts | 53 - .../core/build/src/normalizeBundleOpts.ts | 24 - packages/core/build/src/randomColor.ts | 34 - packages/core/build/src/registerBabel.ts | 23 - packages/core/build/src/rollup.ts | 77 - packages/core/build/src/schema.test.ts | 39 - packages/core/build/src/schema.ts | 175 - packages/core/build/src/types.d.ts | 118 - .../build/src/utils/buildPluginUtils.test.ts | 265 - .../core/build/src/utils/buildPluginUtils.ts | 73 +- .../checkRequirePackageJson/file1 | 3 - .../checkRequirePackageJson/file2 | 3 - .../checkRequirePackageJson/file3 | 3 - .../fixtures/buildPluginUtils/getFileSize | 9 - .../buildPluginUtils/getSourcePackages/file1 | 10 - .../buildPluginUtils/getSourcePackages/file2 | 7 - .../fixtures/buildPluginUtils/package.json | 19 - .../customize/core/core1/package.json | 7 - .../customize/core/core1/src/index.js | 2 - .../customize/core/core2/package.json | 5 - .../customize/core/core2/src/index.js | 2 - .../fixtures/customize/lerna.json | 6 - .../fixtures/customize/package.json | 4 - .../customize/packages/bar/package.json | 4 - .../customize/packages/bar/src/index.js | 2 - .../customize/packages/foo/package.json | 7 - .../customize/packages/foo/src/index.js | 2 - .../fixtures/default/lerna.json | 1 - .../fixtures/default/package.json | 4 - .../default/packages/bar/package.json | 4 - .../default/packages/bar/src/index.js | 2 - .../default/packages/foo/package.json | 7 - .../default/packages/foo/src/index.js | 2 - .../src/utils/getLernaPackages/index.test.ts | 83 - .../build/src/utils/getLernaPackages/index.ts | 67 - packages/core/build/src/utils/getPackages.ts | 45 + packages/core/build/src/utils/index.ts | 18 +- packages/core/build/src/utils/utils.ts | 46 + packages/core/build/template/tsconfig.json | 23 - packages/core/build/tsup.config.ts | 16 + packages/core/cli/bin/index.js | 6 + packages/core/cli/src/commands/build.js | 39 +- packages/core/client/.buildrc.ts | 5 - .../.dumi/theme/slots/PreviewerActions.tsx | 221 + packages/core/client/package.json | 1 + .../loadConstrueLocale.ts | 6 +- .../client/src/api-client/hooks/useRequest.ts | 3 +- .../src/application/utils/remotePlugins.ts | 16 +- .../antd/upload/ReadPretty.tsx | 3 +- .../antd/variable/TextArea.tsx | 2 +- .../schema-component/common/utils/logic.js | 16 +- .../schema-component/common/utils/uitls.tsx | 4 +- .../templates/app/.buildrc.ts | 5 - packages/core/database/src/database.ts | 2 +- packages/core/database/src/operators/index.ts | 31 +- .../core/resourcer/src/__tests__/koa.test.ts | 2 +- .../resourcer/src/__tests__/resourcer.test.ts | 2 +- packages/core/resourcer/src/index.ts | 4 - packages/core/resourcer/src/resource.ts | 2 +- packages/core/sdk/.buildrc.ts | 5 - packages/core/sdk/package.json | 5 +- packages/core/sdk/src/APIClient.ts | 13 +- .../core/server/src/__tests__/config.test.ts | 1 - packages/core/server/src/application.ts | 2 +- packages/core/server/src/commands/index.ts | 36 +- packages/core/server/src/gateway/index.ts | 8 +- packages/core/server/src/helper.ts | 2 +- packages/plugins/api-doc/src/client/index.tsx | 7 +- .../src/server/__tests__/actions.test.ts | 2 +- .../src/server/__tests__/signin.test.ts | 5 +- yarn.lock | 4603 +++++------------ 471 files changed, 2333 insertions(+), 8138 deletions(-) delete mode 100644 .buildrc.ts create mode 100644 .dumi/theme/slots/PreviewerActions.tsx delete mode 100644 packages/app/client/src/plugins/api-doc.ts delete mode 100755 packages/core/build/.local delete mode 100755 packages/core/build/src/babel.ts delete mode 100755 packages/core/build/src/build.test.ts create mode 100644 packages/core/build/src/buildCjs.ts create mode 100644 packages/core/build/src/buildClient.ts create mode 100644 packages/core/build/src/buildDeclaration.ts create mode 100644 packages/core/build/src/constant.ts delete mode 100755 packages/core/build/src/es5ImcompatibleVersions.ts delete mode 100755 packages/core/build/src/fixtures/build/babel-browser-files/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/babel-browser-files/expected/es/browser.js delete mode 100755 packages/core/build/src/fixtures/build/babel-browser-files/expected/es/node.js delete mode 100755 packages/core/build/src/fixtures/build/babel-browser-files/src/browser.js delete mode 100755 packages/core/build/src/fixtures/build/babel-browser-files/src/node.js delete mode 100755 packages/core/build/src/fixtures/build/babel-cjs-lazy/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/babel-cjs-lazy/src/foo.js delete mode 100755 packages/core/build/src/fixtures/build/babel-cjs-lazy/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/expected/es/index.js delete mode 100755 packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/p1.js delete mode 100755 packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/p2.js delete mode 100755 packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/preset.js delete mode 100755 packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/babel-importLibToEs/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/babel-importLibToEs/expected/es/index.js delete mode 100755 packages/core/build/src/fixtures/build/babel-importLibToEs/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/babel-less-to-css-forbid/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/babel-less-to-css-forbid/expected/es/foo.js delete mode 100755 packages/core/build/src/fixtures/build/babel-less-to-css-forbid/expected/es/foo.module.less delete mode 100755 packages/core/build/src/fixtures/build/babel-less-to-css-forbid/expected/es/index.less delete mode 100755 packages/core/build/src/fixtures/build/babel-less-to-css-forbid/src/foo.js delete mode 100755 packages/core/build/src/fixtures/build/babel-less-to-css-forbid/src/foo.module.less delete mode 100755 packages/core/build/src/fixtures/build/babel-less-to-css-forbid/src/index.less delete mode 100755 packages/core/build/src/fixtures/build/babel-less-to-css/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/babel-less-to-css/expected/es/foo.js delete mode 100755 packages/core/build/src/fixtures/build/babel-less-to-css/expected/es/foo.module.css delete mode 100755 packages/core/build/src/fixtures/build/babel-less-to-css/expected/es/index.css delete mode 100755 packages/core/build/src/fixtures/build/babel-less-to-css/src/foo.js delete mode 100755 packages/core/build/src/fixtures/build/babel-less-to-css/src/foo.module.less delete mode 100755 packages/core/build/src/fixtures/build/babel-less-to-css/src/index.less delete mode 100755 packages/core/build/src/fixtures/build/babel-node-files/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/babel-node-files/expected/es/browser.js delete mode 100755 packages/core/build/src/fixtures/build/babel-node-files/expected/es/node.js delete mode 100755 packages/core/build/src/fixtures/build/babel-node-files/src/browser.js delete mode 100755 packages/core/build/src/fixtures/build/babel-node-files/src/node.js delete mode 100755 packages/core/build/src/fixtures/build/babel-node-tsx-jsx/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/B.d.ts delete mode 100755 packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/B.js delete mode 100755 packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/C.js delete mode 100755 packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/node.js delete mode 100755 packages/core/build/src/fixtures/build/babel-node-tsx-jsx/src/B.tsx delete mode 100755 packages/core/build/src/fixtures/build/babel-node-tsx-jsx/src/C.jsx delete mode 100755 packages/core/build/src/fixtures/build/babel-node-tsx-jsx/src/node.js delete mode 100755 packages/core/build/src/fixtures/build/babel-node-tsx-jsx/tsconfig.json delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/expected/es/foo.js delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/expected/es/index.js delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/expected/es/types.d.ts delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/src/__test__/__snapshots__/index.test.js.snap delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/src/__test__/index.test.js delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/src/bar.md delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/src/bar.mdx delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/src/demos/foo.js delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/src/fixtures/example/package.json delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/src/foo.e2e.ts delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/src/foo.js delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/src/foo.spec.ts delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/src/foo.test.js delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/src/foo.test.jsx delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/src/foo.test.ts delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/src/foo.test.tsx delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/babel-normal/src/types.d.ts delete mode 100755 packages/core/build/src/fixtures/build/babel-runtimeHelpers/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/babel-runtimeHelpers/expected/es/index.js delete mode 100755 packages/core/build/src/fixtures/build/babel-runtimeHelpers/package.json delete mode 100755 packages/core/build/src/fixtures/build/babel-runtimeHelpers/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/babel-syntax/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/babel-syntax/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/babel-syntax/package.json delete mode 100755 packages/core/build/src/fixtures/build/babel-syntax/src/a.js delete mode 100755 packages/core/build/src/fixtures/build/babel-syntax/src/b.js delete mode 100755 packages/core/build/src/fixtures/build/babel-syntax/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/babel-ts-3.7-features/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/babel-ts-3.7-features/expected/es/index.d.ts delete mode 100755 packages/core/build/src/fixtures/build/babel-ts-3.7-features/expected/es/index.js delete mode 100755 packages/core/build/src/fixtures/build/babel-ts-3.7-features/src/index.ts delete mode 100755 packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/expected/es/index.js delete mode 100755 packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/src/index.ts delete mode 100755 packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/tsconfig.json delete mode 100755 packages/core/build/src/fixtures/build/babel-typescript-template/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/babel-typescript-template/expected/es/index.d.ts delete mode 100755 packages/core/build/src/fixtures/build/babel-typescript-template/expected/es/index.js delete mode 100755 packages/core/build/src/fixtures/build/babel-typescript-template/src/index.ts delete mode 100755 packages/core/build/src/fixtures/build/babel-typescript/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/babel-typescript/expected/es/index.d.ts delete mode 100755 packages/core/build/src/fixtures/build/babel-typescript/expected/es/index.js delete mode 100755 packages/core/build/src/fixtures/build/babel-typescript/src/index.ts delete mode 100755 packages/core/build/src/fixtures/build/babel-typescript/tsconfig.json delete mode 100755 packages/core/build/src/fixtures/build/config-array/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/config-array/expected/index.umd.js delete mode 100755 packages/core/build/src/fixtures/build/config-array/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/config-array/ui/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-pkgs/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-pkgs/core/bar/package.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-pkgs/core/bar/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-pkgs/core/foo/package.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-pkgs/core/foo/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-pkgs/expected/bar/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-pkgs/expected/foo/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-pkgs/lerna.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config-override/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config-override/expected/bar/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config-override/expected/foo/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config-override/lerna.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config-override/packages/bar/package.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config-override/packages/bar/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config-override/packages/foo/package.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config-override/packages/foo/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config/expected/bar/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config/expected/foo/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config/lerna.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config/packages/bar/package.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config/packages/bar/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config/packages/foo/package.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-config/packages/foo/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-scope/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-scope/expected/bar/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-scope/expected/foo/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-scope/lerna.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-scope/packages/bar/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-scope/packages/bar/package.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-scope/packages/bar/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-scope/packages/foo/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-scope/packages/foo/package.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-scope/packages/foo/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-tsconfig/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-tsconfig/expected/bar/es/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-tsconfig/expected/foo/es/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-tsconfig/lerna.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/bar/package.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/bar/src/index.ts delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/foo/package.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/foo/src/index.ts delete mode 100755 packages/core/build/src/fixtures/build/lerna-root-tsconfig/tsconfig.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-scope-packages/expected/bar/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-scope-packages/expected/foo/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-scope-packages/lerna.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-scope-packages/packages/@hoo/bar/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-scope-packages/packages/@hoo/bar/package.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-scope-packages/packages/@hoo/bar/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-scope-packages/packages/foo/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/lerna-scope-packages/packages/foo/package.json delete mode 100755 packages/core/build/src/fixtures/build/lerna-scope-packages/packages/foo/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna/expected/bar/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/lerna/expected/foo/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/lerna/lerna.json delete mode 100755 packages/core/build/src/fixtures/build/lerna/packages/bar/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/lerna/packages/bar/package.json delete mode 100755 packages/core/build/src/fixtures/build/lerna/packages/bar/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/lerna/packages/foo/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/lerna/packages/foo/package.json delete mode 100755 packages/core/build/src/fixtures/build/lerna/packages/foo/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/expected/index.umd.js delete mode 100755 packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/package.json delete mode 100755 packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/packages/fooo/package.json delete mode 100755 packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/packages/fooo/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/expected/index.umd.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-commonjs-deps/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-commonjs-deps/expected/index.umd.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-commonjs-deps/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-commonjs-deps/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-config-alias/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-config-alias/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-config-alias/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-autoprefixer/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-autoprefixer/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-autoprefixer/src/foo.css delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-autoprefixer/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-extract/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-extract/expected/index.esm.css delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-extract/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-extract/src/foo.css delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-extract/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-inject/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-inject/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-inject/src/foo.css delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-inject/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-modules/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-modules/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-modules/src/foo.css delete mode 100755 packages/core/build/src/fixtures/build/rollup-css-modules/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-css/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-css/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-css/src/foo.css delete mode 100755 packages/core/build/src/fixtures/build/rollup-css/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-dynamic-import/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-dynamic-import/expected/bar-fc754098.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-dynamic-import/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-dynamic-import/src/bar.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-dynamic-import/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-esm-file/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-esm-file/expected/demo.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-esm-file/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-esm-file/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-esm-minify/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-esm-minify/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-esm-minify/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-esm-minify/src/foo.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-esm-minify/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-esm-mjs/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-esm-mjs/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-esm-mjs/expected/index.mjs delete mode 100755 packages/core/build/src/fixtures/build/rollup-esm-mjs/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-esm-mjs/src/foo.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-esm-mjs/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-externalsExclude/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-externalsExclude/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-externalsExclude/expected/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-externalsExclude/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-externalsExclude/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/p1.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/p2.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/preset.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-extraExternals/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-extraExternals/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-extraExternals/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-extraExternals/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-import-directory/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-import-directory/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-import-directory/src/foo/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-import-directory/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-importLibToEs/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-importLibToEs/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-importLibToEs/expected/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-importLibToEs/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-inject/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-inject/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-inject/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-inject/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-json/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-json/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-json/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-json/src/pkg.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-less-modules/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-less-modules/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-less-modules/src/foo.less delete mode 100755 packages/core/build/src/fixtures/build/rollup-less-modules/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-less-node-modules/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-less-node-modules/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-less-node-modules/src/foo.less delete mode 100755 packages/core/build/src/fixtures/build/rollup-less-node-modules/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-less/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-less/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-less/src/foo.less delete mode 100755 packages/core/build/src/fixtures/build/rollup-less/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-multiple-entry/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-multiple-entry/expected/bar.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-multiple-entry/expected/foo.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-multiple-entry/src/bar.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-multiple-entry/src/foo.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-node-resolve/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-node-resolve/expected/index.umd.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-node-resolve/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-node-resolve/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-normal/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-normal/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-normal/expected/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-normal/expected/index.umd.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-normal/expected/index.umd.min.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-normal/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-normal/src/foo.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-normal/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-output-dir/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-output-dir/expected/out/a.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-output-dir/expected/out/b.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-output-dir/src/a.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-output-dir/src/b.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.bar.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.bar.min.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.cjs.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.umd.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.umd.min.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.umd.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.umd.min.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/src/bar.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/src/foo.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-replace/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-replace/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-replace/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-replace/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-resolve-jsx/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-resolve-jsx/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-resolve-jsx/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-resolve-jsx/src/Foo.jsx delete mode 100755 packages/core/build/src/fixtures/build/rollup-resolve-jsx/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-runtimeHelpers/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-runtimeHelpers/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-runtimeHelpers/expected/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-runtimeHelpers/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-runtimeHelpers/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-sass/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-sass/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-sass/src/foo.scss delete mode 100755 packages/core/build/src/fixtures/build/rollup-sass/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-svgr/.umirc.library.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-svgr/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-svgr/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-svgr/src/index.jsx delete mode 100755 packages/core/build/src/fixtures/build/rollup-svgr/src/menu.svg delete mode 100755 packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/.fatherrc.ts delete mode 100755 packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/expected/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/expected/type/index.d.ts delete mode 100755 packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/src/index.ts delete mode 100755 packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/tsconfig.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/typings.d.ts delete mode 100755 packages/core/build/src/fixtures/build/rollup-typescript/.fatherrc.ts delete mode 100755 packages/core/build/src/fixtures/build/rollup-typescript/expected/index.d.ts delete mode 100755 packages/core/build/src/fixtures/build/rollup-typescript/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-typescript/expected/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-typescript/src/index.ts delete mode 100755 packages/core/build/src/fixtures/build/rollup-typescript/tsconfig.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-typescript/typings.d.ts delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-auto-name/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-auto-name/expected/index.umd.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-auto-name/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-auto-name/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-commonjs/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-commonjs/expected/index.umd.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-commonjs/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-commonjs/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.css delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.min.css delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.min.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/src/foo.css delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/expected/index.umd.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/src/a.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-globals/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-globals/expected/index.umd.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-globals/package.json delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-globals/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-name/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-name/expected/index.umd.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-name/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-overrides/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-overrides/expected/fetch.umd.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-overrides/expected/index.umd.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-overrides/src/fetch.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-overrides/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-sourcemap/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-sourcemap/expected/index.umd.js delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-sourcemap/expected/index.umd.js.map delete mode 100755 packages/core/build/src/fixtures/build/rollup-umd-sourcemap/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/target-node-version/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/target-node-version/expected/es/index.js delete mode 100755 packages/core/build/src/fixtures/build/target-node-version/src/index.js delete mode 100755 packages/core/build/src/fixtures/build/target-node/.fatherrc.js delete mode 100755 packages/core/build/src/fixtures/build/target-node/expected/index.esm.js delete mode 100755 packages/core/build/src/fixtures/build/target-node/expected/index.js delete mode 100755 packages/core/build/src/fixtures/build/target-node/src/index.js delete mode 100755 packages/core/build/src/getBabelConfig.ts delete mode 100755 packages/core/build/src/getRollupConfig.ts delete mode 100755 packages/core/build/src/getUserConfig.ts delete mode 100755 packages/core/build/src/importLibToEs.js delete mode 100755 packages/core/build/src/normalizeBundleOpts.test.ts delete mode 100755 packages/core/build/src/normalizeBundleOpts.ts delete mode 100755 packages/core/build/src/randomColor.ts delete mode 100755 packages/core/build/src/registerBabel.ts delete mode 100755 packages/core/build/src/rollup.ts delete mode 100755 packages/core/build/src/schema.test.ts delete mode 100755 packages/core/build/src/schema.ts delete mode 100755 packages/core/build/src/types.d.ts delete mode 100644 packages/core/build/src/utils/buildPluginUtils.test.ts delete mode 100644 packages/core/build/src/utils/fixtures/buildPluginUtils/checkRequirePackageJson/file1 delete mode 100644 packages/core/build/src/utils/fixtures/buildPluginUtils/checkRequirePackageJson/file2 delete mode 100644 packages/core/build/src/utils/fixtures/buildPluginUtils/checkRequirePackageJson/file3 delete mode 100644 packages/core/build/src/utils/fixtures/buildPluginUtils/getFileSize delete mode 100644 packages/core/build/src/utils/fixtures/buildPluginUtils/getSourcePackages/file1 delete mode 100644 packages/core/build/src/utils/fixtures/buildPluginUtils/getSourcePackages/file2 delete mode 100644 packages/core/build/src/utils/fixtures/buildPluginUtils/package.json delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core1/package.json delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core1/src/index.js delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core2/package.json delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core2/src/index.js delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/customize/lerna.json delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/customize/package.json delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/bar/package.json delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/bar/src/index.js delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/foo/package.json delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/foo/src/index.js delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/default/lerna.json delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/default/package.json delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/bar/package.json delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/bar/src/index.js delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/foo/package.json delete mode 100755 packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/foo/src/index.js delete mode 100755 packages/core/build/src/utils/getLernaPackages/index.test.ts delete mode 100755 packages/core/build/src/utils/getLernaPackages/index.ts create mode 100644 packages/core/build/src/utils/getPackages.ts create mode 100644 packages/core/build/src/utils/utils.ts delete mode 100755 packages/core/build/template/tsconfig.json create mode 100644 packages/core/build/tsup.config.ts delete mode 100644 packages/core/client/.buildrc.ts create mode 100644 packages/core/client/.dumi/theme/slots/PreviewerActions.tsx delete mode 100644 packages/core/create-nocobase-app/templates/app/.buildrc.ts delete mode 100644 packages/core/sdk/.buildrc.ts diff --git a/.buildrc.ts b/.buildrc.ts deleted file mode 100644 index ee5652a743ec2..0000000000000 --- a/.buildrc.ts +++ /dev/null @@ -1,11 +0,0 @@ -export default { - target: 'node', - cjs: { type: 'babel', lazy: true }, - excludePkgs: [ - 'core/build', - 'core/cli', - 'core/create-nocobase-app', - 'core/devtools', - 'app/client', - ], -}; diff --git a/.dumi/theme/slots/PreviewerActions.tsx b/.dumi/theme/slots/PreviewerActions.tsx new file mode 100644 index 0000000000000..ddf4a68cebaaf --- /dev/null +++ b/.dumi/theme/slots/PreviewerActions.tsx @@ -0,0 +1,221 @@ +import DumiPreviewerActions from 'dumi/theme-default/slots/PreviewerActions'; +import React, { useRef, useEffect, useState } from 'react'; +import { Spin } from 'antd' + +import { IPreviewerProps } from 'dumi'; + +const indexHtml = ` +
+ + +` + +const mainTsx = ` +import React from 'react' +import ReactDOM from 'react-dom/client' +import App from './App' + +ReactDOM.createRoot(document.getElementById('root')!).render( + + + , +) +` + +const packageJson = ` +{ + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "tsc && vite build", + "preview": "vite preview" + }, + "dependencies": { + }, + "devDependencies": { + "flat": "^5.0.2", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "@types/react": "^18.2.15", + "@types/react-dom": "^18.2.7", + "@vitejs/plugin-react": "^4.0.3", + "less": "^4.2.0", + "typescript": "^5.0.2", + "vite": "^4.4.5" + } +} +` + +const tsConfigJson = ` +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "lib": [ + "ES2020", + "DOM", + "DOM.Iterable" + ], + "module": "ESNext", + "skipLibCheck": true, + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + "composite": true, + "strict": false, + "noUnusedLocals": true, + "noUnusedParameters": true, + "allowSyntheticDefaultImports": true, + "noFallthroughCasesInSwitch": true + }, + "include": [ + "src", + "vite.config.ts" + ] +} +` + +const viteConfigTs = ` +import { defineConfig } from 'vite' +import react from '@vitejs/plugin-react' + +export default defineConfig({ + plugins: [react()], +}) +` + +const sandboxTask = ` +{ + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + "tasks": { + "dev": { + "name": "dev", + "command": "yarn dev", + "runAtStart": true, + "preview": { + "port": 5173 + } + }, + "build": { + "name": "build", + "command": "yarn build", + "runAtStart": false + }, + "preview": { + "name": "preview", + "command": "yarn preview", + "runAtStart": false + } + } +} +` + +function getCSBData(opts: IPreviewerProps, ext: string) { + + const files: Record< + string, + { + content: string; + isBinary: boolean; + } + > = {}; + const deps: Record = {}; + const entryFileName = `index${ext}`; + + Object.entries(opts.asset.dependencies).forEach(([name, { type, value }]) => { + if (type === 'NPM') { + // generate dependencies + deps[name] = value; + } else { + // append other imported local files + files[name === entryFileName ? `src/App${ext}` : name] = { + content: value, + isBinary: false, + }; + } + }); + + // append package.json + let pkg = JSON.parse(packageJson) + try { + for (let key in deps) { + if (!pkg['devDependencies'][key]) { + pkg.dependencies[key] = deps[key] + } + } + } catch (e) { + console.log(e) + } + files['package.json'] = { + content: JSON.stringify( + { + name: opts.title, + ...pkg, + }, + null, + 2, + ), + isBinary: false, + }; + + files['index.html'] = { content: indexHtml, isBinary: false }; + files['src/main.tsx'] = { content: mainTsx, isBinary: false }; + files['package.json'] = { content: JSON.stringify(pkg, null, 2), isBinary: false }; + files['.codesandbox/task.json'] = { content: sandboxTask, isBinary: false }; + files['tsconfig.json'] = { content: tsConfigJson, isBinary: false }; + files['vite.config.ts'] = { content: viteConfigTs, isBinary: false }; + + return { files }; +} + + +export function openCodeSandbox(opts: IPreviewerProps) { + const isTSX = Boolean(opts.asset.dependencies?.['index.tsx']); + const ext = isTSX ? '.tsx' : '.jsx'; + return fetch("https://codesandbox.io/api/v1/sandboxes/define?json=1", { + method: "POST", + headers: { + "Content-Type": "application/json", + Accept: "application/json" + }, + body: JSON.stringify(getCSBData(opts, ext)) + }) + .then(x => x.json()) + .then(data => { + window.open(`https://codesandbox.io/p/sandbox/${data.sandbox_id}?file=/src/App${ext}`); + }); +} + + +const PreviewerActions: typeof DumiPreviewerActions = (props) => { + const div = useRef(null); + const [loading, setLoading] = useState(false); + + useEffect(() => { + if (div.current) { + const elements = div.current.querySelectorAll('.dumi-default-previewer-actions'); + elements.forEach((element) => { + element.addEventListener('click', (e) => { + e.stopImmediatePropagation(); + setLoading(true); + openCodeSandbox(props).finally(() => { + setLoading(false); + }); + }) + }) + } + }, [div]) + + return
+}; + +export default PreviewerActions; diff --git a/package.json b/package.json index 484c21cea0efa..7ca10425b103e 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,9 @@ "packages/*/*" ], "license": "Apache-2.0", + "engines": { + "node": ">=16.0.0" + }, "licenses": [ { "type": "Apache-2.0", diff --git a/packages/app/client/src/plugins/api-doc.ts b/packages/app/client/src/plugins/api-doc.ts deleted file mode 100644 index 1f5f77ef706f7..0000000000000 --- a/packages/app/client/src/plugins/api-doc.ts +++ /dev/null @@ -1 +0,0 @@ -export { default } from '@nocobase/plugin-api-doc/client'; diff --git a/packages/core/acl/src/snippet-manager.ts b/packages/core/acl/src/snippet-manager.ts index d69168773b179..2a66915fa6b69 100644 --- a/packages/core/acl/src/snippet-manager.ts +++ b/packages/core/acl/src/snippet-manager.ts @@ -1,4 +1,3 @@ -import { ACL } from './acl'; import minimatch from 'minimatch'; export type SnippetOptions = { @@ -7,7 +6,10 @@ export type SnippetOptions = { }; class Snippet { - constructor(public name: string, public actions: Array) {} + constructor( + public name: string, + public actions: Array, + ) {} } export type SnippetGroup = { diff --git a/packages/core/app/client/.umirc.ts b/packages/core/app/client/.umirc.ts index 013345e532cca..23eb6b38cc5fb 100644 --- a/packages/core/app/client/.umirc.ts +++ b/packages/core/app/client/.umirc.ts @@ -8,7 +8,9 @@ process.env.MFSU_AD = 'none'; process.env.DID_YOU_KNOW = 'none'; const pluginPrefix = (process.env.PLUGIN_PACKAGE_PREFIX || '').split(',').filter((item) => !item.includes('preset')); // 因为现在 preset 是直接引入的,所以不能忽略,如果以后 preset 也是动态插件的形式引入,那么这里可以去掉 -const pluginDirs = 'packages/plugins/,packages/samples/'.split(',').map((item) => path.join(process.cwd(), item)); + +const pluginDirs = (process.env.PLUGIN_PATH || 'packages/plugins/,packages/samples/') + .split(',').map(item => path.join(__dirname, '..', '..', '..', '..', item)); const outputPluginPath = path.join(__dirname, 'src', '.plugins'); const indexGenerator = new IndexGenerator(outputPluginPath, pluginDirs); @@ -51,6 +53,9 @@ export default defineConfig({ edge: 79, safari: 12, }, + codeSplitting: { + jsStrategy: 'depPerChunk' + }, chainWebpack(config, { env }) { if (env === 'production') { config.plugin('ignore nocobase plugins').use(require('webpack').IgnorePlugin, [ diff --git a/packages/core/build/.local b/packages/core/build/.local deleted file mode 100755 index 9cbae257c3795..0000000000000 --- a/packages/core/build/.local +++ /dev/null @@ -1 +0,0 @@ -Used in bin/father.js to determine if it is in the local debug state. diff --git a/packages/core/build/bin/nocobase-build.js b/packages/core/build/bin/nocobase-build.js index 1f45a01885bb4..3d40a1ecd4377 100755 --- a/packages/core/build/bin/nocobase-build.js +++ b/packages/core/build/bin/nocobase-build.js @@ -4,7 +4,7 @@ const { existsSync } = require('fs'); const { join } = require('path'); const yParser = require('yargs-parser'); const chalk = require('chalk'); -const signale = require('signale'); +const { build } = require('../lib'); // print version and @local const args = yParser(process.argv.slice(2), { @@ -26,46 +26,4 @@ const updater = require('update-notifier'); const pkg = require('../package.json'); updater({ pkg }).notify({ defer: true }); -function stripEmptyKeys(obj) { - Object.keys(obj).forEach((key) => { - if (!obj[key] || (Array.isArray(obj[key]) && !obj[key].length)) { - delete obj[key]; - } - }); - return obj; -} - -function build() { - // Parse buildArgs from cli - const buildArgs = stripEmptyKeys({ - esm: args.esm && { type: args.esm === true ? 'rollup' : args.esm }, - cjs: args.cjs && { type: args.cjs === true ? 'rollup' : args.cjs }, - umd: args.umd && { name: args.umd === true ? undefined : args.umd }, - file: args.file, - target: args.target, - entry: args._, - config: args.config, - }); - - if (buildArgs.file && buildArgs.entry && buildArgs.entry.length > 1) { - signale.error( - new Error(`Cannot specify file when have multiple entries (${buildArgs.entry.join(', ')})`) - ); - process.exit(1); - } - - require('../lib/build') - .default({ - cwd: args.root || process.cwd(), - watch: args.w || args.watch, - clean: args.clean, - buildArgs, - packages: args._ || [], - }) - .catch((e) => { - signale.error(e); - process.exit(1); - }); -} - -build(); +build(args._); diff --git a/packages/core/build/package.json b/packages/core/build/package.json index 9251001210ce9..06d06528fb241 100755 --- a/packages/core/build/package.json +++ b/packages/core/build/package.json @@ -8,76 +8,33 @@ }, "typings": "./index.d.ts", "dependencies": { - "@babel/core": "7.22.5", - "@babel/plugin-proposal-class-properties": "7.18.6", - "@babel/plugin-proposal-decorators": "7.22.5", - "@babel/plugin-proposal-do-expressions": "7.22.5", - "@babel/plugin-proposal-export-default-from": "7.22.5", - "@babel/plugin-proposal-export-namespace-from": "7.18.9", - "@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6", - "@babel/plugin-proposal-optional-chaining": "7.21.0", - "@babel/plugin-syntax-dynamic-import": "7.8.3", - "@babel/plugin-transform-modules-commonjs": "7.22.5", - "@babel/plugin-transform-runtime": "7.22.5", - "@babel/preset-env": "7.12.1", - "@babel/preset-react": "7.22.5", - "@babel/preset-typescript": "7.22.5", - "@babel/register": "7.22.5", "@hapi/topo": "^6.0.0", - "@lerna/filter-packages": "4.0.0", "@lerna/project": "4.0.0", - "@lerna/query-graph": "4.0.0", - "@rollup/plugin-babel": "6.0.3", - "@rollup/plugin-commonjs": "25.0.1", - "@rollup/plugin-inject": "5.0.3", - "@rollup/plugin-json": "6.0.0", - "@rollup/plugin-node-resolve": "15.1.0", - "@rollup/plugin-replace": "5.0.2", - "@rollup/plugin-url": "8.0.1", - "@svgr/rollup": "5.5.0", "@vercel/ncc": "0.36.1", - "ajv": "6.12.6", - "autoprefixer": "9.6.0", - "babel-plugin-istanbul": "^5.2.0", - "babel-plugin-react-require": "3.1.1", "chalk": "2.4.2", - "chokidar": "^3.0.2", - "es5-imcompatible-versions": "^0.1.37", "fast-glob": "3.3.0", "glob": "^7.1.4", - "gulp-if": "2.0.2", - "gulp-less": "^5.0.0", - "gulp-plumber": "^1.2.1", + "gulp": "4.0.2", + "@types/gulp": "^4.0.13", "gulp-typescript": "6.0.0-alpha.1", - "less": "4.1.3", - "less-plugin-npm-import": "2.1.0", - "lodash": "4.17.21", "pkg-up": "3.1.0", - "rimraf": "2.6.3", - "rollup": "3.25.1", - "rollup-plugin-postcss": "4.0.2", - "rollup-plugin-terser": "7.0.2", - "rollup-plugin-typescript2": "0.34.1", - "semver": "6.1.1", - "signale": "1.4.0", - "slash2": "2.0.0", - "temp-dir": "2.0.0", - "through2": "3.0.1", - "ts-loader": "^9.4.3", - "tsup": "7.1.0", + "tsup": "7.2.0", "typescript": "5.1.3", "update-notifier": "3.0.0", - "vinyl-fs": "3.0.3", + "vite-plugin-lib-inject-css": "1.2.0", "vite-plugin-css-injected-by-js": "^3.2.1", - "yargs-parser": "13.1.2" + "yargs-parser": "13.1.2", + "@types/lerna__project": "5.1.0", + "@types/lerna__package": "5.1.0", + "@babel/core": "7.22.10", + "@babel/preset-env": "7.22.10", + "@babel/plugin-transform-modules-amd": "7.22.5" }, "license": "Apache-2.0", "scripts": { - "build": "umi-tools build" + "build": "tsup" }, "devDependencies": { - "@types/gulp-plumber": "^0.0.32", - "umi-tools": "^0.4.0" }, "gitHead": "ce588eefb0bfc50f7d5bbee575e0b5e843bf6644" } diff --git a/packages/core/build/src/babel.ts b/packages/core/build/src/babel.ts deleted file mode 100755 index e7aed63e1ec08..0000000000000 --- a/packages/core/build/src/babel.ts +++ /dev/null @@ -1,272 +0,0 @@ -import { join, extname, relative } from "path"; -import { existsSync, readFileSync, statSync } from "fs"; -import vfs from "vinyl-fs"; -import signale from "signale"; -import lodash from "lodash"; -import rimraf from "rimraf"; -import through from "through2"; -import slash from "slash2"; -import * as chokidar from "chokidar"; -import * as babel from "@babel/core"; -import gulpTs from "gulp-typescript"; -import gulpLess from "gulp-less"; -import gulpPlumber from "gulp-plumber"; -import gulpIf from "gulp-if"; -import chalk from "chalk"; -import fs from 'fs-extra' -import getBabelConfig from "./getBabelConfig"; -import { Dispose, IBundleOptions } from "./types"; -import * as ts from "typescript"; - -interface IBabelOpts { - cwd: string; - rootPath?: string; - type: "esm" | "cjs"; - target?: "browser" | "node"; - log?: (string) => void; - watch?: boolean; - dispose?: Dispose[]; - isPlugin?: boolean; - importLibToEs?: boolean; - bundleOpts: IBundleOptions; -} - -interface ITransformOpts { - file: { - contents: string; - path: string; - }; - type: "esm" | "cjs"; -} - -export default async function (opts: IBabelOpts) { - const { - cwd, - rootPath, - type, - watch, - dispose, - importLibToEs, - log, - isPlugin = false, - bundleOpts: { - target = "browser", - runtimeHelpers, - extraBabelPresets = [], - extraBabelPlugins = [], - browserFiles = [], - nodeFiles = [], - nodeVersion, - disableTypeCheck, - cjs, - lessInBabelMode, - }, - } = opts; - const srcPath = join(cwd, "src"); - const targetDir = type === "esm" ? "es" : isPlugin ? 'dist' : "lib"; - const targetPath = join(cwd, targetDir); - - if (!isPlugin) { - log(chalk.gray(`Clean ${targetDir} directory`)); - rimraf.sync(targetPath); - } else { - if (fs.existsSync(targetPath)) { - // exclude node_modules - const files = fs.readdirSync(targetPath, { recursive: false }) as string[]; - files.forEach((file) => { - if (file !== 'node_modules') { - rimraf.sync(join(targetPath, file)); - } - }) - } - } - - function transform(opts: ITransformOpts) { - const { file, type } = opts; - const { opts: babelOpts, isBrowser } = getBabelConfig({ - target, - type, - typescript: true, - runtimeHelpers, - filePath: slash(relative(cwd, file.path)), - browserFiles, - nodeFiles, - nodeVersion, - lazy: cjs && cjs.lazy, - lessInBabelMode, - }); - if (importLibToEs && type === "esm") { - babelOpts.plugins.push(require.resolve("../lib/importLibToEs")); - } - babelOpts.presets.push(...extraBabelPresets); - babelOpts.plugins.push(...extraBabelPlugins); - - const relFile = slash(file.path).replace(`${cwd}/`, ""); - log( - `Transform to ${type} for ${chalk[isBrowser ? "yellow" : "blue"]( - relFile - )}` - ); - - return babel.transform(file.contents, { - ...babelOpts, - filename: file.path, - // 不读取外部的babel.config.js配置文件,全采用babelOpts中的babel配置来构建 - configFile: false, - }).code; - } - - /** - * tsconfig.json is not valid json file - * https://github.com/Microsoft/TypeScript/issues/20384 - */ - function parseTsconfig(path: string) { - const readFile = (path: string) => readFileSync(path, "utf-8"); - const result = ts.readConfigFile(path, readFile); - if (result.error) { - return; - } - const pkgTsConfig = result.config; - if (pkgTsConfig.extends) { - const rootTsConfigPath = slash(relative(cwd, pkgTsConfig.extends)); - const rootTsConfig = parseTsconfig(rootTsConfigPath); - if (rootTsConfig) { - const mergedConfig = { - ...rootTsConfig, - ...pkgTsConfig, - compilerOptions: { - ...rootTsConfig.compilerOptions, - ...pkgTsConfig.compilerOptions, - }, - }; - return mergedConfig; - } - } - return pkgTsConfig; - } - - function getTsconfigCompilerOptions(path: string) { - const config = parseTsconfig(path); - return config ? config.compilerOptions : undefined; - } - - function getTSConfig() { - const tsconfigPath = join(cwd, "tsconfig.json"); - const templateTsconfigPath = join(__dirname, "../template/tsconfig.json"); - - if (existsSync(tsconfigPath)) { - return getTsconfigCompilerOptions(tsconfigPath) || {}; - } - if (rootPath && existsSync(join(rootPath, "tsconfig.json"))) { - return getTsconfigCompilerOptions(join(rootPath, "tsconfig.json")) || {}; - } - return getTsconfigCompilerOptions(templateTsconfigPath) || {}; - } - - function createStream(src) { - const tsConfig = getTSConfig(); - const babelTransformRegexp = disableTypeCheck ? /\.(t|j)sx?$/ : /\.jsx?$/; - - function isTsFile(path) { - return /\.tsx?$/.test(path) && !path.endsWith(".d.ts"); - } - - function isTransform(path) { - if (isPlugin) return false - return babelTransformRegexp.test(path) && !path.endsWith(".d.ts"); - } - return vfs - .src(src, { - allowEmpty: true, - base: srcPath, - }) - .pipe(watch ? gulpPlumber() : through.obj()) - .pipe( - gulpIf((f) => !disableTypeCheck && isTsFile(f.path), gulpTs(tsConfig)) - ) - .pipe( - gulpIf( - (f) => lessInBabelMode && /\.less$/.test(f.path), - gulpLess(lessInBabelMode || {}) - ) - ) - .pipe( - gulpIf( - (f) => isTransform(f.path), - through.obj((file, env, cb) => { - try { - file.contents = Buffer.from( - transform({ - file, - type, - }) - ); - // .jsx -> .js - file.path = file.path.replace(extname(file.path), ".js"); - cb(null, file); - } catch (e) { - signale.error(`Compiled faild: ${file.path}`); - console.log(e); - cb(null); - } - }) - ) - ) - .pipe(vfs.dest(targetPath)) - } - - return new Promise((resolve) => { - const patterns = [ - isPlugin ? join(srcPath, "**/*.{ts,tsx}") : join(srcPath, "**/*"), - `!${join(srcPath, "**/fixtures{,/**}")}`, - `!${join(srcPath, "**/demos{,/**}")}`, - `!${join(srcPath, "**/__test__{,/**}")}`, - `!${join(srcPath, "**/__tests__{,/**}")}`, - `!${join(srcPath, "**/*.mdx")}`, - `!${join(srcPath, "**/*.md")}`, - `!${join(srcPath, "**/*.+(test|e2e|spec).+(js|jsx|ts|tsx)")}`, - `!${join(srcPath, "**/tsconfig{,.*}.json")}`, - `!${join(srcPath, ".umi{,-production,-test}{,/**}")}`, - ]; - createStream(patterns).on("end", () => { - if (watch) { - log( - chalk.magenta( - `Start watching ${slash(srcPath).replace( - `${cwd}/`, - "" - )} directory...` - ) - ); - const watcher = chokidar.watch(patterns, { - ignoreInitial: true, - }); - - const files = []; - function compileFiles() { - while (files.length) { - createStream(files.pop()); - } - } - - const debouncedCompileFiles = lodash.debounce(compileFiles, 1000); - watcher.on("all", (event, fullPath) => { - const relPath = fullPath.replace(srcPath, ""); - log( - `[${event}] ${slash(join(srcPath, relPath)).replace(`${cwd}/`, "")}` - ); - if (!existsSync(fullPath)) return; - if (statSync(fullPath).isFile()) { - if (!files.includes(fullPath)) files.push(fullPath); - debouncedCompileFiles(); - } - }); - process.once("SIGINT", () => { - watcher.close(); - }); - dispose?.push(() => watcher.close()); - } - resolve(); - }); - }); -} diff --git a/packages/core/build/src/build.test.ts b/packages/core/build/src/build.test.ts deleted file mode 100755 index 254b28abf00f3..0000000000000 --- a/packages/core/build/src/build.test.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { join, basename, sep } from 'path'; -import { getPackagesSync } from '@lerna/project'; -import { existsSync, readdirSync, renameSync, statSync } from 'fs'; -import mkdirp from 'mkdirp'; -import rimraf from 'rimraf'; -import build from './build'; - -function moveEsLibToDist(cwd) { - ['es', 'lib'].forEach(dir => { - const absDirPath = join(cwd, dir); - const absDistPath = join(cwd, 'dist'); - if (existsSync(absDirPath)) { - mkdirp.sync(absDistPath); - renameSync(absDirPath, join(absDistPath, dir)); - } - }); -} - -describe('father build', () => { - const rootConfigMapping = { - 'lerna-root-config-override': { cjs: 'rollup', esm: false }, - }; - - require('test-build-result')({ - root: join(__dirname, './fixtures/build'), - build({ cwd }) { - process.chdir(cwd); - rimraf.sync(join(cwd, 'dist')); - return build({ cwd, rootConfig: rootConfigMapping[basename(cwd)] }).then(() => { - // babel - moveEsLibToDist(cwd); - - // lerna - if (existsSync(join(cwd, 'lerna.json'))) { - mkdirp.sync(join(cwd, 'dist')); - const pkgs = getPackagesSync(cwd) - for (let pkg of pkgs) { - - const pkgPath = pkg.contents; - - if (!statSync(pkgPath).isDirectory()) continue; - moveEsLibToDist(pkgPath); - renameSync( - join(pkgPath, 'dist'), - join(cwd, 'dist', pkgPath.split(sep).pop()) - ); - } - } - }); - }, - }); -}); diff --git a/packages/core/build/src/build.ts b/packages/core/build/src/build.ts index 1d0be35f5e6cf..2fbab66184211 100755 --- a/packages/core/build/src/build.ts +++ b/packages/core/build/src/build.ts @@ -1,287 +1,103 @@ -import * as assert from 'assert'; +import execa from 'execa'; import chalk from 'chalk'; -import { existsSync, readFileSync } from 'fs'; -import { merge } from 'lodash'; -import { isAbsolute, join, sep } from 'path'; -import rimraf from 'rimraf'; -import signale from 'signale'; -import babel from './babel'; -import { buildPluginClient, buildPluginServer, deleteJsFiles } from './buildPlugin'; -import getUserConfig, { CONFIG_FILES } from './getUserConfig'; -import randomColor from './randomColor'; -import registerBabel from './registerBabel'; -import rollup from './rollup'; -import { Dispose, IBundleOptions, IBundleTypeOutput, ICjs, IEsm, IOpts } from './types'; -import { getExistFiles, getLernaPackages } from './utils'; +import path from 'path'; +import { + PACKAGES_PATH, + getPluginPackages, + CORE_CLIENT, + CORE_APP, + getCjsPackages, + getPresetsPackages, + ROOT_PATH, +} from './constant'; +import { buildClient } from './buildClient'; +import { buildCjs } from './buildCjs'; +import { buildPlugin } from './buildPlugin'; +import { buildDeclaration } from './buildDeclaration'; +import { PkgLog, getPkgLog, toUnixPath, getPackageJson } from './utils'; +import { getPackages } from './utils/getPackages'; +import { Package } from '@lerna/package'; + +export async function build(pkgs: string[]) { + const packages = getPackages(pkgs); + const pluginPackages = getPluginPackages(packages); + const cjsPackages = getCjsPackages(packages); + const presetsPackages = getPresetsPackages(packages); + + // core/* + await buildPackages(cjsPackages, 'lib', buildCjs); + const clientCore = packages.find((item) => item.location === CORE_CLIENT); + if (clientCore) { + await buildPackage(clientCore, 'es', buildClient); + } -export function getBundleOpts(opts: IOpts): IBundleOptions[] { - const { cwd, buildArgs = {}, rootConfig = {} } = opts; - const entry = getExistFiles({ - cwd, - files: [ - 'src/index.tsx', - 'src/index.ts', - 'src/index.jsx', - 'src/index.js', - 'src/server/index.ts', - 'src/server/index.js', - 'src/client/index.js', - 'src/client/index.ts', - 'src/client/index.tsx', - ], - onlyOne: false, - returnRelative: true, - }); - const userConfig = getUserConfig({ cwd, customPath: buildArgs.config }); - const userConfigs = Array.isArray(userConfig) ? userConfig : [userConfig]; - return (userConfigs as any).map((userConfig) => { - const bundleOpts = merge( - { - entry, - }, - rootConfig, - userConfig, - buildArgs, - ); + // plugins/*、samples/* + await buildPackages(pluginPackages, 'dist', buildPlugin); - // Support config esm: 'rollup' and cjs: 'rollup' - if (typeof bundleOpts.esm === 'string') { - bundleOpts.esm = { type: bundleOpts.esm }; - } - if (typeof bundleOpts.cjs === 'string') { - bundleOpts.cjs = { type: bundleOpts.cjs }; - } + // presets/* + await buildPackages(presetsPackages, 'lib', buildCjs); - return bundleOpts; - }); -} - -function validateBundleOpts(bundleOpts: IBundleOptions, { cwd, rootPath }) { - if (bundleOpts.runtimeHelpers) { - const pkgPath = join(cwd, 'package.json'); - assert.ok(existsSync(pkgPath), `@babel/runtime dependency is required to use runtimeHelpers`); - const pkg = JSON.parse(readFileSync(pkgPath, 'utf-8')); - assert.ok( - (pkg.dependencies || {})['@babel/runtime'], - `@babel/runtime dependency is required to use runtimeHelpers`, - ); - } - if (bundleOpts.cjs && (bundleOpts.cjs as ICjs).lazy && (bundleOpts.cjs as ICjs).type === 'rollup') { - throw new Error( - ` -cjs.lazy don't support rollup. - `.trim(), - ); - } - if (!bundleOpts.esm && !bundleOpts.cjs && !bundleOpts.umd) { - throw new Error( - ` -None format of ${chalk.cyan( - 'cjs | esm | umd', - )} is configured, checkout https://github.com/umijs/father for usage details. -`.trim(), - ); - } - if (bundleOpts.entry) { - const tsConfigPath = join(cwd, 'tsconfig.json'); - const tsConfig = existsSync(tsConfigPath) || (rootPath && existsSync(join(rootPath, 'tsconfig.json'))); - if ( - !tsConfig && - ((Array.isArray(bundleOpts.entry) && bundleOpts.entry.some(isTypescriptFile)) || - (!Array.isArray(bundleOpts.entry) && isTypescriptFile(bundleOpts.entry))) - ) { - signale.info(`Project using ${chalk.cyan('typescript')} but tsconfig.json not exists. Use default config.`); - } + // core/app + const appClient = packages.find((item) => item.location === CORE_APP); + if (appClient) { + await runScript(['umi', 'build'], ROOT_PATH, { + APP_ROOT: path.join(CORE_APP, 'client'), + }); } } -function isTypescriptFile(filePath) { - return filePath.endsWith('.ts') || filePath.endsWith('.tsx'); -} - -function isPluginPackage(name: string) { - const prefixes = (process.env.PLUGIN_PACKAGE_PREFIX || '').split(','); - for (const prefix of prefixes) { - if (prefix.includes('preset')) { - continue; - } - if (name.startsWith(prefix)) { - return true; - } +export async function buildPackages( + packages: Package[], + targetDir: string, + doBuildPackage: (cwd: string, sourcemap: boolean, log?: PkgLog) => Promise, +) { + for await (const pkg of packages) { + await buildPackage(pkg, targetDir, doBuildPackage); } - return false; -} - -interface IExtraBuildOpts { - pkg?: string | { name?: string }; } -export async function build(opts: IOpts, extraOpts: IExtraBuildOpts = {}) { - const { cwd, rootPath, watch, buildArgs = {}, clean = true } = opts; - const { pkg } = extraOpts; - - const dispose: Dispose[] = []; - - const customConfigPath = - buildArgs.config && (isAbsolute(buildArgs.config) ? buildArgs.config : join(process.cwd(), buildArgs.config)); - - // register babel for config files - registerBabel({ - cwd, - only: customConfigPath ? CONFIG_FILES.concat(customConfigPath) : CONFIG_FILES, - }); - - const pkgName = (typeof pkg === 'string' ? pkg : pkg?.name) || 'unknown'; - - function log(msg, ...args) { - console.log(`${pkg ? `${randomColor(`${pkgName}`)}: ` : ''}${msg}`, ...args); +export async function buildPackage( + pkg: Package, + targetDir: string, + doBuildPackage: (cwd: string, sourcemap: boolean, log?: PkgLog) => Promise, +) { + const sourcemap = process.argv.includes('--sourcemap'); + const noDeclaration = process.argv.includes('--no-dts'); + const log = getPkgLog(pkg.name); + const packageJson = getPackageJson(pkg.location); + log(`${chalk.bold(toUnixPath(pkg.location.replace(PACKAGES_PATH, '').slice(1)))} build start`); + + // prebuild + if (packageJson?.scripts?.prebuild) { + log('prebuild'); + await runScript(['prebuild'], pkg.location); + await packageJson.prebuild(pkg.location); } - // Get user config - const bundleOptsArray = getBundleOpts(opts); - const isPlugin = isPluginPackage(pkgName); + // build source + await doBuildPackage(pkg.location, sourcemap, log); - // Clean dist - if (clean && !isPlugin) { - log(chalk.gray(`Clean dist directory`)); - rimraf.sync(join(cwd, 'dist')); + // build declaration + if (!noDeclaration) { + log('build declaration'); + await buildDeclaration(pkg.location, targetDir); } - for (const bundleOpts of bundleOptsArray) { - validateBundleOpts(bundleOpts, { cwd, rootPath }); - - // Build umd - if (bundleOpts.umd) { - log(`Build umd`); - await rollup({ - cwd, - rootPath, - log, - type: 'umd', - entry: bundleOpts.entry, - watch, - dispose, - bundleOpts, - }); - } - - // Build cjs - if (bundleOpts.cjs) { - const cjs = bundleOpts.cjs as IBundleTypeOutput; - log(`Build ${isPlugin ? 'd.ts' : 'cjs'} with ${cjs.type}`); - if (cjs.type === 'babel') { - await babel({ cwd, rootPath, watch, dispose, isPlugin, type: 'cjs', log, bundleOpts }); - if (isPlugin) { - log(cwd); - deleteJsFiles(cwd, log); - await buildPluginServer(cwd, log); - await buildPluginClient(cwd, log); - const buildFile = join(cwd, 'build.js'); - if (existsSync(buildFile)) { - log('build others'); - try { - await require(buildFile).run(log); - } catch (error) { - console.error(error); - } - } - } - } else { - await rollup({ - cwd, - rootPath, - log, - type: 'cjs', - entry: bundleOpts.entry, - watch, - dispose, - bundleOpts, - }); - } - } - - // Build esm - if (bundleOpts.esm) { - const esm = bundleOpts.esm as IEsm; - log(`Build esm with ${esm.type}`); - const importLibToEs = esm && esm.importLibToEs; - if (esm && esm.type === 'babel') { - await babel({ cwd, rootPath, watch, dispose, type: 'esm', importLibToEs, log, bundleOpts }); - } else { - await rollup({ - cwd, - rootPath, - log, - type: 'esm', - entry: bundleOpts.entry, - importLibToEs, - watch, - dispose, - bundleOpts, - }); - } - } + // postbuild + if (packageJson?.scripts?.postbuild) { + log('postbuild'); + await runScript(['postbuild'], pkg.location); } - - return dispose; -} - -function getPkgRelativePath(cwd, pkg) { - const basePath = cwd.split(sep).join('/') + '/packages/'; - const dir = pkg.contents.split(sep).join('/'); - return dir.substring(basePath.length); } -export async function buildForLerna(opts: IOpts) { - const { cwd, rootConfig = {}, buildArgs = {}, packages = [] } = opts; - - // register babel for config files - registerBabel({ +function runScript(args: string[], cwd: string, envs: Record = {}) { + return execa('yarn', args, { cwd, - only: CONFIG_FILES, + stdio: 'inherit', + env: { + ...process.env, + ...envs, + NODE_ENV: 'production', + }, }); - - const userConfig = merge(getUserConfig({ cwd }), rootConfig, buildArgs); - - let pkgs = await getLernaPackages(cwd, userConfig.pkgFilter); - // support define pkgs in lerna - if (userConfig.pkgs) { - pkgs = pkgs.filter((pkg) => userConfig.pkgs.includes(getPkgRelativePath(cwd, pkg))); - } - const dispose: Dispose[] = []; - for (const pkg of pkgs) { - const pkgName = getPkgRelativePath(cwd, pkg); - if (userConfig.excludePkgs && userConfig.excludePkgs.includes(pkgName)) { - continue; - } - if (packages.length && !packages.includes(pkgName)) continue; - // build error when .DS_Store includes in packages root - const pkgPath = pkg.contents; - assert.ok(existsSync(join(pkgPath, 'package.json')), `package.json not found in packages/${pkg}`); - process.chdir(pkgPath); - dispose.push( - ...(await build( - { - // eslint-disable-line - ...opts, - buildArgs: opts.buildArgs, - rootConfig: userConfig, - cwd: pkgPath, - rootPath: cwd, - }, - { - pkg, - }, - )), - ); - } - return dispose; -} - -export default async function (opts: IOpts) { - const useLerna = existsSync(join(opts.cwd, 'lerna.json')); - const isLerna = useLerna && process.env.LERNA !== 'none'; - - const dispose = isLerna ? await buildForLerna(opts) : await build(opts); - return () => dispose.forEach((e) => e()); } diff --git a/packages/core/build/src/buildCjs.ts b/packages/core/build/src/buildCjs.ts new file mode 100644 index 0000000000000..5b115250e28a8 --- /dev/null +++ b/packages/core/build/src/buildCjs.ts @@ -0,0 +1,36 @@ +import { build } from 'tsup'; +import fg from 'fast-glob'; +import path from 'path'; +import chalk from 'chalk'; +import { globExcludeFiles, EsbuildSupportExts } from './constant'; +import { PkgLog } from './utils'; + +export function buildCjs(cwd: string, sourcemap: boolean = false, log: PkgLog) { + log('build cjs'); + + const entry = fg.globSync(['src/**', ...globExcludeFiles], { cwd, absolute: true }); + const outDir = path.join(cwd, 'lib'); + const otherExts = Array.from(new Set(entry.map((item) => path.extname(item)).filter((item) => !EsbuildSupportExts.includes(item)))); + if (otherExts.length) { + log('%s will not be processed, only be copied to the lib directory.', chalk.yellow(otherExts.join(','))); + } + + return build({ + entry, + splitting: false, + clean: true, + bundle: false, + silent: true, + sourcemap, + treeshake: false, + target: 'node16', + keepNames: true, + outDir, + loader: { + ...otherExts.reduce((prev, cur) => ({ ...prev, [cur]: 'copy' }), {}), + '.json': 'copy', + }, + format: 'cjs', + skipNodeModulesBundle: true, + }); +} diff --git a/packages/core/build/src/buildClient.ts b/packages/core/build/src/buildClient.ts new file mode 100644 index 0000000000000..fa24742083cc4 --- /dev/null +++ b/packages/core/build/src/buildClient.ts @@ -0,0 +1,71 @@ +import path from 'path'; +import fg from 'fast-glob'; +import { build as viteBuild } from 'vite'; +import { build as tsupBuild } from 'tsup'; +import { libInjectCss } from 'vite-plugin-lib-inject-css'; +import react from '@vitejs/plugin-react'; +import { PkgLog } from './utils'; +import { globExcludeFiles } from './constant'; + +export async function buildClient(cwd: string, sourcemap: boolean = false, log: PkgLog) { + log('build client'); + + await Promise.all([buildLib(cwd, sourcemap, 'cjs'), buildLib(cwd, sourcemap, 'es')]); + await buildLocale(cwd); +} + +export function buildLib(cwd: string, sourcemap: boolean, format: 'cjs' | 'es') { + const outDir = path.resolve(cwd, format === 'cjs' ? 'lib' : 'es'); + const entry = path.join(cwd, 'src/index.ts').replaceAll(/\\/g, '/'); + const cwdWin = cwd.replaceAll(/\\/g, '/'); + const cwdUnix = cwd.replaceAll(/\//g, '\\'); + + return viteBuild({ + mode: 'production', + define: { + 'process.env.NODE_ENV': JSON.stringify('production'), + }, + build: { + minify: false, + outDir, + cssCodeSplit: true, + emptyOutDir: true, + sourcemap, + lib: { + entry, + formats: [format], + fileName: 'index', + }, + target: ['es2015', 'edge88', 'firefox78', 'chrome87', 'safari14'], + rollupOptions: { + cache: true, + treeshake: true, + external(id) { + if (id.startsWith('.') || id.startsWith(cwdUnix) || id.startsWith(cwdWin)) { + return false; + } + return true; + }, + }, + }, + plugins: [react(), libInjectCss()], + }); +} + +export function buildLocale(cwd: string) { + const entry = fg.globSync(['src/locale/**', ...globExcludeFiles], { cwd, absolute: true }); + const outDir = path.resolve(cwd, 'lib', 'locale'); + return tsupBuild({ + entry, + splitting: false, + clean: false, + bundle: false, + silent: true, + treeshake: false, + target: 'node16', + keepNames: true, + outDir, + format: 'cjs', + skipNodeModulesBundle: true, + }); +} \ No newline at end of file diff --git a/packages/core/build/src/buildDeclaration.ts b/packages/core/build/src/buildDeclaration.ts new file mode 100644 index 0000000000000..c3269f75ec6b7 --- /dev/null +++ b/packages/core/build/src/buildDeclaration.ts @@ -0,0 +1,33 @@ +import gulp from 'gulp'; +import path from 'path'; +import fs from 'fs'; +import gulpTs from 'gulp-typescript'; +import { ROOT_PATH } from './constant'; + +export const buildDeclaration = (cwd: string, targetDir: string) => { + return new Promise((resolve, reject) => { + const srcPath = path.join(cwd, 'src'); + const targetPath = path.join(cwd, targetDir); + + const tsConfig = gulpTs.createProject(path.join(ROOT_PATH, 'tsconfig.json')); + delete tsConfig.config.compilerOptions.paths; + const patterns = [ + path.join(srcPath, '**/*.{ts,tsx}'), + `!${path.join(srcPath, '**/fixtures{,/**}')}`, + `!${path.join(srcPath, '**/demos{,/**}')}`, + `!${path.join(srcPath, '**/__test__{,/**}')}`, + `!${path.join(srcPath, '**/__tests__{,/**}')}`, + `!${path.join(srcPath, '**/*.mdx')}`, + `!${path.join(srcPath, '**/*.md')}`, + `!${path.join(srcPath, '**/*.+(test|e2e|spec).+(js|jsx|ts|tsx)')}`, + `!${path.join(srcPath, '**/tsconfig{,.*}.json')}`, + `!${path.join(srcPath, '.umi{,-production,-test}{,/**}')}`, + ]; + gulp + .src(patterns, { base: srcPath, allowEmpty: true }) + .pipe(gulpTs(tsConfig.config.compilerOptions)) + .dts.pipe(gulp.dest(targetPath)) + .on('end', resolve) + .on('error', reject); + }); +}; diff --git a/packages/core/build/src/buildPlugin.ts b/packages/core/build/src/buildPlugin.ts index aed73af9360e2..5f1a49c00b96b 100644 --- a/packages/core/build/src/buildPlugin.ts +++ b/packages/core/build/src/buildPlugin.ts @@ -1,26 +1,30 @@ -import ncc from '@vercel/ncc'; -import react from '@vitejs/plugin-react'; -import chalk from 'chalk'; -import fg from 'fast-glob'; import fs from 'fs-extra'; +import chalk from 'chalk'; +import ncc from '@vercel/ncc'; import path from 'path'; +import react from '@vitejs/plugin-react'; import { build as tsupBuild } from 'tsup'; import { build as viteBuild } from 'vite'; +import fg from 'fast-glob'; import cssInjectedByJsPlugin from 'vite-plugin-css-injected-by-js'; +import { transformAsync } from '@babel/core'; + import { buildCheck, - formatFileSize, + checkFileSize, + checkRequire, getExcludePackages, - getFileSize, getIncludePackages, - getPackageJson, + getPackagesFromFiles, getSourcePackages, } from './utils/buildPluginUtils'; import { getDepsConfig } from './utils/getDepsConfig'; +import { EsbuildSupportExts, globExcludeFiles } from './constant'; +import { PkgLog, getPackageJson } from './utils'; -const serverGlobalFiles: string[] = ['src/**', '!src/**/__tests__', '!src/client/**']; - -const clientGlobalFiles: string[] = ['src/client/**', '!src/**/__tests__']; +const serverGlobalFiles: string[] = ['src/**', '!src/client/**', ...globExcludeFiles]; +const clientGlobalFiles: string[] = ['src/**', '!src/server/**', ...globExcludeFiles]; +const dynamicImportRegexp = /import\((["'])(.*?)\1\)/g; const external = [ // nocobase @@ -116,17 +120,14 @@ const external = [ 'ahooks', 'lodash', 'china-division', - 'cronstrue', ]; const pluginPrefix = ( process.env.PLUGIN_PACKAGE_PREFIX || '@nocobase/plugin-,@nocobase/preset-,@nocobase/plugin-pro-' ).split(','); -type Log = (msg: string, ...args: any) => void; - const target_dir = 'dist'; -export function deleteJsFiles(cwd: string, log: Log) { +export function deleteJsFiles(cwd: string, log: PkgLog) { log('delete babel js files'); const jsFiles = fg.globSync(['**/*', '!**/*.d.ts', '!node_modules'], { cwd: path.join(cwd, target_dir), @@ -137,23 +138,24 @@ export function deleteJsFiles(cwd: string, log: Log) { }); } -export async function buildServerDeps(cwd: string, serverFiles: string[], log: Log) { - log('build server dependencies'); +export async function buildServerDeps(cwd: string, serverFiles: string[], log: PkgLog) { + log('build plugin server dependencies'); const outDir = path.join(cwd, target_dir, 'node_modules'); - const sourcePackages = getSourcePackages(serverFiles); + const serverFileSource = serverFiles.map((item) => fs.readFileSync(item, 'utf-8')); + const sourcePackages = getSourcePackages(serverFileSource); const includePackages = getIncludePackages(sourcePackages, external, pluginPrefix); const excludePackages = getExcludePackages(sourcePackages, external, pluginPrefix); let tips = []; if (includePackages.length) { tips.push( - `These packages ${chalk.yellow(includePackages.join(', '))} will be ${chalk.bold( + `These packages ${chalk.yellow(includePackages.join(', '))} will be ${chalk.italic( 'bundled', )} to dist/node_modules.`, ); } if (excludePackages.length) { - tips.push(`These packages ${chalk.yellow(excludePackages.join(', '))} will be ${chalk.bold('exclude')}.`); + tips.push(`These packages ${chalk.yellow(excludePackages.join(', '))} will be ${chalk.italic('exclude')}.`); } tips.push(`For more information, please refer to: ${chalk.blue('https://docs.nocobase.com/development/deps')}.`); log(tips.join(' ')); @@ -228,11 +230,15 @@ export async function buildServerDeps(cwd: string, serverFiles: string[], log: L } } -export async function buildPluginServer(cwd: string, log: Log) { - log('build server source'); +export async function buildPluginServer(cwd: string, sourcemap: boolean, log: PkgLog) { + log('build plugin server source'); const packageJson = getPackageJson(cwd); const serverFiles = fg.globSync(serverGlobalFiles, { cwd, absolute: true }); buildCheck({ cwd, packageJson, entry: 'server', files: serverFiles, log }); + const otherExts = Array.from(new Set(serverFiles.map((item) => path.extname(item)).filter((item) => !EsbuildSupportExts.includes(item)))); + if (otherExts.length) { + log('%s will not be processed, only be copied to the dist directory.', chalk.yellow(otherExts.join(','))); + } await tsupBuild({ entry: serverFiles, @@ -240,26 +246,73 @@ export async function buildPluginServer(cwd: string, log: Log) { clean: false, bundle: false, silent: true, - treeshake: true, + treeshake: false, target: 'node16', + sourcemap, outDir: path.join(cwd, target_dir), format: 'cjs', skipNodeModulesBundle: true, + loader: { + ...otherExts.reduce((prev, cur) => ({ ...prev, [cur]: 'copy' }), {}), + '.json': 'copy', + }, }); await buildServerDeps(cwd, serverFiles, log); } -export function buildPluginClient(cwd: string, log: Log) { - log('build client'); +export function transformClientFilesToAmd(outDir: string, outputFileName: string, packageName: string, log: PkgLog) { + const files = fs.readdirSync(outDir); + + return Promise.all(files.map(async file => { + const filePath = path.join(outDir, file); + + // 只编译 JavaScript 文件 + if (path.extname(filePath) === '.mjs' || path.extname(filePath) === '.js') { + let fileContent = fs.readFileSync(filePath, 'utf-8'); + + // import('./dayjs.mjs') => import(window.staticBaseUrl + '/@nocobase/plugin-acl/dayjs.mjs?noExt') + if (file === outputFileName) { + fileContent = fileContent.replace(dynamicImportRegexp, (match, _1, dynamicImportPath) => { + let absolutePath = path.join(outDir, dynamicImportPath).replace(outDir, ''); + if (absolutePath.startsWith(path.sep)) { + absolutePath = absolutePath.slice(1); + } + return `import(window.staticBaseUrl + '/${packageName}/${absolutePath}?noExt')`; + }) + } + + const { code } = await transformAsync(fileContent, { + presets: [['@babel/preset-env', { + modules: 'amd', + targets: { + 'edge': 88, + 'firefox': 78, + 'chrome': 87, + 'safari': 14, + } + }]], + plugins: ['@babel/plugin-transform-modules-amd'], + }); + fs.writeFileSync(filePath, code, 'utf-8'); + } + })); +} +export async function buildPluginClient(cwd: string, sourcemap: boolean, log: PkgLog) { + log('build plugin client'); const packageJson = getPackageJson(cwd); const clientFiles = fg.globSync(clientGlobalFiles, { cwd, absolute: true }); - const sourcePackages = getSourcePackages(clientFiles); + const clientFileSource = clientFiles.map((item) => fs.readFileSync(item, 'utf-8')); + const sourcePackages = getPackagesFromFiles(clientFileSource); const excludePackages = getExcludePackages(sourcePackages, external, pluginPrefix); + checkRequire(clientFiles, log); buildCheck({ cwd, packageJson, entry: 'client', files: clientFiles, log }); - + const hasDynamicImport = false; + // const hasDynamicImport = clientFileSource.some((source) => { + // return source.match(dynamicImportRegexp); + // }); const outDir = path.join(cwd, target_dir, 'client'); const globals = excludePackages.reduce>((prev, curr) => { @@ -270,48 +323,63 @@ export function buildPluginClient(cwd: string, log: Log) { return prev; }, {}); - const entry = fg.globSync('src/client/index.{ts,tsx,js,jsx}', { cwd }); + const entry = fg.globSync('src/client/index.{ts,tsx,js,jsx}', { absolute: true, cwd }); const outputFileName = 'index.js'; - return viteBuild({ + await viteBuild({ mode: 'production', define: { 'process.env.NODE_ENV': JSON.stringify('production'), }, logLevel: 'warn', build: { - minify: false, + minify: true, outDir, cssCodeSplit: false, - emptyOutDir: false, + emptyOutDir: true, + sourcemap, lib: { entry, - formats: ['umd'], + formats: [hasDynamicImport ? 'es' : 'umd'], name: packageJson.name, fileName: () => outputFileName, }, + target: ['es2015', 'edge88', 'firefox78', 'chrome87', 'safari14'], rollupOptions: { cache: true, - external: Object.keys(globals), + external: [...Object.keys(globals), 'react', 'react/jsx-runtime'], output: { exports: 'named', - globals, + globals: { + react: 'React', + 'react/jsx-runtime': 'jsxRuntime', + ...globals, + }, }, }, }, plugins: [ react(), cssInjectedByJsPlugin({ styleId: packageJson.name }), - { - name: 'check-file-size', - closeBundle() { - const file = path.join(outDir, outputFileName); - if (!fs.existsSync(file)) return; - const fileSize = getFileSize(path.join(outDir, outputFileName)); - if (fileSize > 1024 * 1024) { - log('The bundle file size exceeds 1MB %s. ', chalk.red(formatFileSize(fileSize))); - } - }, - }, ], }); + + checkFileSize(outDir, log); + + // if (hasDynamicImport) { + // await transformClientFilesToAmd(outDir, outputFileName, packageJson.name, log); + // } +} + +export async function buildPlugin(cwd: string, sourcemap: boolean, log: PkgLog) { + await buildPluginClient(cwd, sourcemap, log); + await buildPluginServer(cwd, sourcemap, log); + const buildFile = path.join(cwd, 'build.js'); + if (fs.existsSync(buildFile)) { + log('build others'); + try { + await require(buildFile).run(log); + } catch (error) { + console.error(error); + } + } } diff --git a/packages/core/build/src/constant.ts b/packages/core/build/src/constant.ts new file mode 100644 index 0000000000000..5b5deeb0e191b --- /dev/null +++ b/packages/core/build/src/constant.ts @@ -0,0 +1,46 @@ +import path from 'path'; +import { Package } from '@lerna/package'; + +export const globExcludeFiles = [ + '!src/**/__tests__', + '!src/**/__test__', + '!src/**/demos', + '!src/**/fixtures', + '!src/**/*.mdx', + '!src/**/*.md', + '!src/**/*.+(test|e2e|spec).+(js|jsx|ts|tsx)', +]; +export const EsbuildSupportExts = [ + '.ts', + '.tsx', + '.js', + '.jsx', + '.json', + '.css', + '.less', + '.sass', + '.scss', + '.styl', + '.txt', + '.data', +]; +export const ROOT_PATH = path.join(__dirname, '../../../../'); +export const PACKAGES_PATH = path.join(ROOT_PATH, 'packages'); +export const PLUGINS_DIR = [path.join(PACKAGES_PATH, 'plugins'), path.join(PACKAGES_PATH, 'samples')]; +export const PRESETS_DIR = path.join(PACKAGES_PATH, 'presets'); +export const getPluginPackages = (packages: Package[]) => + packages.filter((item) => PLUGINS_DIR.some((pluginDir) => item.location.startsWith(pluginDir))); +export const getPresetsPackages = (packages: Package[]) => + packages.filter((item) => item.location.startsWith(PRESETS_DIR)); +export const CORE_APP = path.join(PACKAGES_PATH, 'core/app'); +export const CORE_CLIENT = path.join(PACKAGES_PATH, 'core/client'); +export const CJS_EXCLUDE_PACKAGES = [ + path.join(PACKAGES_PATH, 'core/build'), + path.join(PACKAGES_PATH, 'core/cli'), + CORE_CLIENT, +]; +export const getCjsPackages = (packages: Package[]) => + packages + .filter((item) => !PLUGINS_DIR.some((dir) => item.location.startsWith(dir))) + .filter((item) => !item.location.startsWith(PRESETS_DIR)) + .filter((item) => !CJS_EXCLUDE_PACKAGES.includes(item.location)); diff --git a/packages/core/build/src/es5ImcompatibleVersions.ts b/packages/core/build/src/es5ImcompatibleVersions.ts deleted file mode 100755 index 8f72f36b4e47a..0000000000000 --- a/packages/core/build/src/es5ImcompatibleVersions.ts +++ /dev/null @@ -1,33 +0,0 @@ -// 参考: -// https://github.com/umijs/umi/blob/2.x/packages/af-webpack/src/getWebpackConfig/es5ImcompatibleVersions.js -import { dirname } from 'path'; -import pkgUp from 'pkg-up'; -import { satisfies } from 'semver'; - -const pkgPathCache = {}; -const pkgCache = {}; -const { - config: { 'es5-imcompatible-versions': config }, -} = require('es5-imcompatible-versions/package.json'); - -export function getPkgPath(filePath: string) { - const dir = dirname(filePath); - if (dir in pkgPathCache) return pkgPathCache[dir]; - pkgPathCache[dir] = pkgUp.sync({ cwd: filePath }); - return pkgPathCache[dir]; -} - -export function shouldTransform(pkgPath: string) { - if (pkgPath in pkgCache) return pkgCache[pkgPath]; - const { name, version } = require(pkgPath); - pkgCache[pkgPath] = isMatch(name, version); - return pkgCache[pkgPath]; -} - -function isMatch(name, version) { - if (config[name]) { - return Object.keys(config[name]).some((sv) => satisfies(version, sv)); - } else { - return false; - } -} diff --git a/packages/core/build/src/fixtures/build/babel-browser-files/.fatherrc.js b/packages/core/build/src/fixtures/build/babel-browser-files/.fatherrc.js deleted file mode 100755 index 3cd11ad83662d..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-browser-files/.fatherrc.js +++ /dev/null @@ -1,8 +0,0 @@ - -export default { - esm: 'babel', - target: 'node', - browserFiles: [ - 'src/browser.js', - ], -} diff --git a/packages/core/build/src/fixtures/build/babel-browser-files/expected/es/browser.js b/packages/core/build/src/fixtures/build/babel-browser-files/expected/es/browser.js deleted file mode 100755 index 22dc0e15f0820..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-browser-files/expected/es/browser.js +++ /dev/null @@ -1 +0,0 @@ -var b = 'foo'; \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-browser-files/expected/es/node.js b/packages/core/build/src/fixtures/build/babel-browser-files/expected/es/node.js deleted file mode 100755 index ed389c0232679..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-browser-files/expected/es/node.js +++ /dev/null @@ -1 +0,0 @@ -const a = 'foo'; \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-browser-files/src/browser.js b/packages/core/build/src/fixtures/build/babel-browser-files/src/browser.js deleted file mode 100755 index a3677a7e4d7cf..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-browser-files/src/browser.js +++ /dev/null @@ -1,2 +0,0 @@ - -const b = 'foo'; diff --git a/packages/core/build/src/fixtures/build/babel-browser-files/src/node.js b/packages/core/build/src/fixtures/build/babel-browser-files/src/node.js deleted file mode 100755 index 528eb6b5a232d..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-browser-files/src/node.js +++ /dev/null @@ -1,2 +0,0 @@ - -const a = 'foo'; diff --git a/packages/core/build/src/fixtures/build/babel-cjs-lazy/.fatherrc.js b/packages/core/build/src/fixtures/build/babel-cjs-lazy/.fatherrc.js deleted file mode 100755 index 37192c105d0de..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-cjs-lazy/.fatherrc.js +++ /dev/null @@ -1,8 +0,0 @@ - -export default { - target: 'node', - cjs: { type: 'babel', lazy: true }, - browserFiles: [ - 'src/foo.js', - ], -}; diff --git a/packages/core/build/src/fixtures/build/babel-cjs-lazy/src/foo.js b/packages/core/build/src/fixtures/build/babel-cjs-lazy/src/foo.js deleted file mode 100755 index fafe4ba5f8f91..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-cjs-lazy/src/foo.js +++ /dev/null @@ -1,3 +0,0 @@ -import bar from 'bar'; - -bar(); diff --git a/packages/core/build/src/fixtures/build/babel-cjs-lazy/src/index.js b/packages/core/build/src/fixtures/build/babel-cjs-lazy/src/index.js deleted file mode 100755 index fafe4ba5f8f91..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-cjs-lazy/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import bar from 'bar'; - -bar(); diff --git a/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/.fatherrc.js b/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/.fatherrc.js deleted file mode 100755 index b90b773fa1aa3..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/.fatherrc.js +++ /dev/null @@ -1,10 +0,0 @@ - -export default { - esm: { type: 'babel' }, - extraBabelPresets: [ - require.resolve('./preset'), - ], - extraBabelPlugins: [ - require.resolve('./p2'), - ], -}; diff --git a/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/expected/es/index.js b/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/expected/es/index.js deleted file mode 100755 index dd712d79efc82..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/expected/es/index.js +++ /dev/null @@ -1,2 +0,0 @@ -console.log("p1", "p2", 1); -alert(2); \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/p1.js b/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/p1.js deleted file mode 100755 index a3a3e24e183d9..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/p1.js +++ /dev/null @@ -1,20 +0,0 @@ - -module.exports = function ({ types: t }) { - function isConsoleLog(node) { - const { callee, callee: { object, property } } = node; - return t.isMemberExpression(callee) - && t.isIdentifier(object) && object.name === 'console' - && t.isIdentifier(property) && property.name === 'log'; - } - - return { - visitor: { - CallExpression(path, state) { - const { node, node: { callee, callee: { object, property } } } = path; - if (isConsoleLog(node)) { - node.arguments.unshift(t.stringLiteral('p1')); - } - }, - }, - }; -} diff --git a/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/p2.js b/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/p2.js deleted file mode 100755 index 297ac66d1a572..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/p2.js +++ /dev/null @@ -1,20 +0,0 @@ - -module.exports = function ({ types: t }) { - function isConsoleLog(node) { - const { callee, callee: { object, property } } = node; - return t.isMemberExpression(callee) - && t.isIdentifier(object) && object.name === 'console' - && t.isIdentifier(property) && property.name === 'log'; - } - - return { - visitor: { - CallExpression(path, state) { - const { node, node: { callee, callee: { object, property } } } = path; - if (isConsoleLog(node)) { - node.arguments.unshift(t.stringLiteral('p2')); - } - }, - }, - }; -} diff --git a/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/preset.js b/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/preset.js deleted file mode 100755 index 07ccbb29c5e0e..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/preset.js +++ /dev/null @@ -1,8 +0,0 @@ - -module.exports = function () { - return { - plugins: [ - require.resolve('./p1'), - ], - }; -} diff --git a/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/src/index.js b/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/src/index.js deleted file mode 100755 index 923799068e972..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-extra-babel-presets-and-plugins/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ - -console.log(1); -alert(2); diff --git a/packages/core/build/src/fixtures/build/babel-importLibToEs/.fatherrc.js b/packages/core/build/src/fixtures/build/babel-importLibToEs/.fatherrc.js deleted file mode 100755 index f1ef9292b1e26..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-importLibToEs/.fatherrc.js +++ /dev/null @@ -1,5 +0,0 @@ - -export default { - cjs: { type: 'babel' }, - esm: { type: 'babel', importLibToEs: true }, -}; diff --git a/packages/core/build/src/fixtures/build/babel-importLibToEs/expected/es/index.js b/packages/core/build/src/fixtures/build/babel-importLibToEs/expected/es/index.js deleted file mode 100755 index d10ef2731176c..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-importLibToEs/expected/es/index.js +++ /dev/null @@ -1,2 +0,0 @@ -import foo from "foo/es/foo"; -console.log(foo()); \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-importLibToEs/src/index.js b/packages/core/build/src/fixtures/build/babel-importLibToEs/src/index.js deleted file mode 100755 index a8105c428f343..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-importLibToEs/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import foo from 'foo/lib/foo'; - -console.log(foo()); diff --git a/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/.fatherrc.js b/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/.fatherrc.js deleted file mode 100755 index ead5605aa670f..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/.fatherrc.js +++ /dev/null @@ -1,6 +0,0 @@ - -export default { - cjs: { type: 'babel' }, - esm: { type: 'babel' }, - lessInBabelMode: false, -}; diff --git a/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/expected/es/foo.js b/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/expected/es/foo.js deleted file mode 100755 index 85ffde22745f6..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/expected/es/foo.js +++ /dev/null @@ -1,6 +0,0 @@ - -import "./index.less"; -import "./foo.module.less"; -export default function () { - return 'foo'; -} \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/expected/es/foo.module.less b/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/expected/es/foo.module.less deleted file mode 100755 index 213d0676ac6af..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/expected/es/foo.module.less +++ /dev/null @@ -1,3 +0,0 @@ -.foo { - color: green; -} diff --git a/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/expected/es/index.less b/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/expected/es/index.less deleted file mode 100755 index f151aa5e7f12c..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/expected/es/index.less +++ /dev/null @@ -1,6 +0,0 @@ - -@link-color: green; - -.foo { - color: @link-color; -} diff --git a/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/src/foo.js b/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/src/foo.js deleted file mode 100755 index e1cab23eade6c..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/src/foo.js +++ /dev/null @@ -1,6 +0,0 @@ -import "./index.less"; -import "./foo.module.less"; - -export default function () { - return 'foo'; -} diff --git a/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/src/foo.module.less b/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/src/foo.module.less deleted file mode 100755 index 213d0676ac6af..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/src/foo.module.less +++ /dev/null @@ -1,3 +0,0 @@ -.foo { - color: green; -} diff --git a/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/src/index.less b/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/src/index.less deleted file mode 100755 index f151aa5e7f12c..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-less-to-css-forbid/src/index.less +++ /dev/null @@ -1,6 +0,0 @@ - -@link-color: green; - -.foo { - color: @link-color; -} diff --git a/packages/core/build/src/fixtures/build/babel-less-to-css/.fatherrc.js b/packages/core/build/src/fixtures/build/babel-less-to-css/.fatherrc.js deleted file mode 100755 index c2ed104b4a8dd..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-less-to-css/.fatherrc.js +++ /dev/null @@ -1,6 +0,0 @@ - -export default { - cjs: { type: 'babel' }, - esm: { type: 'babel' }, - lessInBabelMode: true, -}; diff --git a/packages/core/build/src/fixtures/build/babel-less-to-css/expected/es/foo.js b/packages/core/build/src/fixtures/build/babel-less-to-css/expected/es/foo.js deleted file mode 100755 index a70263317d9fa..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-less-to-css/expected/es/foo.js +++ /dev/null @@ -1,6 +0,0 @@ - -import "./index.css"; -import "./foo.module.css"; -export default function () { - return 'foo'; -} \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-less-to-css/expected/es/foo.module.css b/packages/core/build/src/fixtures/build/babel-less-to-css/expected/es/foo.module.css deleted file mode 100755 index 213d0676ac6af..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-less-to-css/expected/es/foo.module.css +++ /dev/null @@ -1,3 +0,0 @@ -.foo { - color: green; -} diff --git a/packages/core/build/src/fixtures/build/babel-less-to-css/expected/es/index.css b/packages/core/build/src/fixtures/build/babel-less-to-css/expected/es/index.css deleted file mode 100755 index 213d0676ac6af..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-less-to-css/expected/es/index.css +++ /dev/null @@ -1,3 +0,0 @@ -.foo { - color: green; -} diff --git a/packages/core/build/src/fixtures/build/babel-less-to-css/src/foo.js b/packages/core/build/src/fixtures/build/babel-less-to-css/src/foo.js deleted file mode 100755 index e1cab23eade6c..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-less-to-css/src/foo.js +++ /dev/null @@ -1,6 +0,0 @@ -import "./index.less"; -import "./foo.module.less"; - -export default function () { - return 'foo'; -} diff --git a/packages/core/build/src/fixtures/build/babel-less-to-css/src/foo.module.less b/packages/core/build/src/fixtures/build/babel-less-to-css/src/foo.module.less deleted file mode 100755 index 213d0676ac6af..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-less-to-css/src/foo.module.less +++ /dev/null @@ -1,3 +0,0 @@ -.foo { - color: green; -} diff --git a/packages/core/build/src/fixtures/build/babel-less-to-css/src/index.less b/packages/core/build/src/fixtures/build/babel-less-to-css/src/index.less deleted file mode 100755 index f151aa5e7f12c..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-less-to-css/src/index.less +++ /dev/null @@ -1,6 +0,0 @@ - -@link-color: green; - -.foo { - color: @link-color; -} diff --git a/packages/core/build/src/fixtures/build/babel-node-files/.fatherrc.js b/packages/core/build/src/fixtures/build/babel-node-files/.fatherrc.js deleted file mode 100755 index ea494d59f804f..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-node-files/.fatherrc.js +++ /dev/null @@ -1,8 +0,0 @@ - -export default { - esm: 'babel', - target: 'browser', - nodeFiles: [ - 'src/node.js', - ], -} diff --git a/packages/core/build/src/fixtures/build/babel-node-files/expected/es/browser.js b/packages/core/build/src/fixtures/build/babel-node-files/expected/es/browser.js deleted file mode 100755 index 22dc0e15f0820..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-node-files/expected/es/browser.js +++ /dev/null @@ -1 +0,0 @@ -var b = 'foo'; \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-node-files/expected/es/node.js b/packages/core/build/src/fixtures/build/babel-node-files/expected/es/node.js deleted file mode 100755 index ed389c0232679..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-node-files/expected/es/node.js +++ /dev/null @@ -1 +0,0 @@ -const a = 'foo'; \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-node-files/src/browser.js b/packages/core/build/src/fixtures/build/babel-node-files/src/browser.js deleted file mode 100755 index a3677a7e4d7cf..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-node-files/src/browser.js +++ /dev/null @@ -1,2 +0,0 @@ - -const b = 'foo'; diff --git a/packages/core/build/src/fixtures/build/babel-node-files/src/node.js b/packages/core/build/src/fixtures/build/babel-node-files/src/node.js deleted file mode 100755 index 528eb6b5a232d..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-node-files/src/node.js +++ /dev/null @@ -1,2 +0,0 @@ - -const a = 'foo'; diff --git a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/.fatherrc.js b/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/.fatherrc.js deleted file mode 100755 index d59f3211741d0..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/.fatherrc.js +++ /dev/null @@ -1,5 +0,0 @@ - -export default { - esm: 'babel', - target: 'node', -} diff --git a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/B.d.ts b/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/B.d.ts deleted file mode 100755 index 2ef04fb2328af..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/B.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare const b = "foo"; diff --git a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/B.js b/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/B.js deleted file mode 100755 index 22dc0e15f0820..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/B.js +++ /dev/null @@ -1 +0,0 @@ -var b = 'foo'; \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/C.js b/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/C.js deleted file mode 100755 index 22dc0e15f0820..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/C.js +++ /dev/null @@ -1 +0,0 @@ -var b = 'foo'; \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/node.js b/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/node.js deleted file mode 100755 index ed389c0232679..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/expected/es/node.js +++ /dev/null @@ -1 +0,0 @@ -const a = 'foo'; \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/src/B.tsx b/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/src/B.tsx deleted file mode 100755 index a3677a7e4d7cf..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/src/B.tsx +++ /dev/null @@ -1,2 +0,0 @@ - -const b = 'foo'; diff --git a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/src/C.jsx b/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/src/C.jsx deleted file mode 100755 index a3677a7e4d7cf..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/src/C.jsx +++ /dev/null @@ -1,2 +0,0 @@ - -const b = 'foo'; diff --git a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/src/node.js b/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/src/node.js deleted file mode 100755 index 528eb6b5a232d..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/src/node.js +++ /dev/null @@ -1,2 +0,0 @@ - -const a = 'foo'; diff --git a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/tsconfig.json b/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/tsconfig.json deleted file mode 100755 index 6db6275c3b6e3..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-node-tsx-jsx/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "compilerOptions": { - "target": "esnext", - "moduleResolution": "node", - "jsx": "preserve", - "esModuleInterop": true, - "declaration": true - } -} diff --git a/packages/core/build/src/fixtures/build/babel-normal/.fatherrc.js b/packages/core/build/src/fixtures/build/babel-normal/.fatherrc.js deleted file mode 100755 index 19390b36be365..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-normal/.fatherrc.js +++ /dev/null @@ -1,5 +0,0 @@ - -export default { - cjs: { type: 'babel' }, - esm: { type: 'babel' }, -}; diff --git a/packages/core/build/src/fixtures/build/babel-normal/expected/es/foo.js b/packages/core/build/src/fixtures/build/babel-normal/expected/es/foo.js deleted file mode 100755 index 29a891a23775f..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-normal/expected/es/foo.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function () { - return 'foo'; -} \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-normal/expected/es/index.js b/packages/core/build/src/fixtures/build/babel-normal/expected/es/index.js deleted file mode 100755 index 8b2cbd724a689..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-normal/expected/es/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import 'bar'; -import foo from './foo'; -console.log(foo()); \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-normal/expected/es/types.d.ts b/packages/core/build/src/fixtures/build/babel-normal/expected/es/types.d.ts deleted file mode 100755 index e69de29bb2d1d..0000000000000 diff --git a/packages/core/build/src/fixtures/build/babel-normal/src/__test__/__snapshots__/index.test.js.snap b/packages/core/build/src/fixtures/build/babel-normal/src/__test__/__snapshots__/index.test.js.snap deleted file mode 100755 index 7c645e42fb75c..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-normal/src/__test__/__snapshots__/index.test.js.snap +++ /dev/null @@ -1 +0,0 @@ -export default {}; \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-normal/src/__test__/index.test.js b/packages/core/build/src/fixtures/build/babel-normal/src/__test__/index.test.js deleted file mode 100755 index ff8b4c56321a3..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-normal/src/__test__/index.test.js +++ /dev/null @@ -1 +0,0 @@ -export default {}; diff --git a/packages/core/build/src/fixtures/build/babel-normal/src/bar.md b/packages/core/build/src/fixtures/build/babel-normal/src/bar.md deleted file mode 100755 index d93e603dcdc15..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-normal/src/bar.md +++ /dev/null @@ -1 +0,0 @@ -# bar diff --git a/packages/core/build/src/fixtures/build/babel-normal/src/bar.mdx b/packages/core/build/src/fixtures/build/babel-normal/src/bar.mdx deleted file mode 100755 index d93e603dcdc15..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-normal/src/bar.mdx +++ /dev/null @@ -1 +0,0 @@ -# bar diff --git a/packages/core/build/src/fixtures/build/babel-normal/src/demos/foo.js b/packages/core/build/src/fixtures/build/babel-normal/src/demos/foo.js deleted file mode 100755 index eb59b1b29b30e..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-normal/src/demos/foo.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function() { - return "foo"; -} diff --git a/packages/core/build/src/fixtures/build/babel-normal/src/fixtures/example/package.json b/packages/core/build/src/fixtures/build/babel-normal/src/fixtures/example/package.json deleted file mode 100755 index 9e26dfeeb6e64..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-normal/src/fixtures/example/package.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-normal/src/foo.e2e.ts b/packages/core/build/src/fixtures/build/babel-normal/src/foo.e2e.ts deleted file mode 100755 index e69de29bb2d1d..0000000000000 diff --git a/packages/core/build/src/fixtures/build/babel-normal/src/foo.js b/packages/core/build/src/fixtures/build/babel-normal/src/foo.js deleted file mode 100755 index 8fcf68e1bfa15..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-normal/src/foo.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default function () { - return 'foo'; -} diff --git a/packages/core/build/src/fixtures/build/babel-normal/src/foo.spec.ts b/packages/core/build/src/fixtures/build/babel-normal/src/foo.spec.ts deleted file mode 100755 index e69de29bb2d1d..0000000000000 diff --git a/packages/core/build/src/fixtures/build/babel-normal/src/foo.test.js b/packages/core/build/src/fixtures/build/babel-normal/src/foo.test.js deleted file mode 100755 index e69de29bb2d1d..0000000000000 diff --git a/packages/core/build/src/fixtures/build/babel-normal/src/foo.test.jsx b/packages/core/build/src/fixtures/build/babel-normal/src/foo.test.jsx deleted file mode 100755 index e69de29bb2d1d..0000000000000 diff --git a/packages/core/build/src/fixtures/build/babel-normal/src/foo.test.ts b/packages/core/build/src/fixtures/build/babel-normal/src/foo.test.ts deleted file mode 100755 index e69de29bb2d1d..0000000000000 diff --git a/packages/core/build/src/fixtures/build/babel-normal/src/foo.test.tsx b/packages/core/build/src/fixtures/build/babel-normal/src/foo.test.tsx deleted file mode 100755 index e69de29bb2d1d..0000000000000 diff --git a/packages/core/build/src/fixtures/build/babel-normal/src/index.js b/packages/core/build/src/fixtures/build/babel-normal/src/index.js deleted file mode 100755 index 9d80d06dcd668..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-normal/src/index.js +++ /dev/null @@ -1,4 +0,0 @@ -import 'bar'; -import foo from './foo'; - -console.log(foo()); diff --git a/packages/core/build/src/fixtures/build/babel-normal/src/types.d.ts b/packages/core/build/src/fixtures/build/babel-normal/src/types.d.ts deleted file mode 100755 index e69de29bb2d1d..0000000000000 diff --git a/packages/core/build/src/fixtures/build/babel-runtimeHelpers/.fatherrc.js b/packages/core/build/src/fixtures/build/babel-runtimeHelpers/.fatherrc.js deleted file mode 100755 index 6d1ce8487426f..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-runtimeHelpers/.fatherrc.js +++ /dev/null @@ -1,6 +0,0 @@ - -export default { - runtimeHelpers: true, - esm: { type: 'babel' }, - cjs: { type: 'babel' }, -} diff --git a/packages/core/build/src/fixtures/build/babel-runtimeHelpers/expected/es/index.js b/packages/core/build/src/fixtures/build/babel-runtimeHelpers/expected/es/index.js deleted file mode 100755 index 9a5518f11ff3e..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-runtimeHelpers/expected/es/index.js +++ /dev/null @@ -1,21 +0,0 @@ -import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2"; -import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; -import _createClass from "@babel/runtime/helpers/esm/createClass"; - -var A = /*#__PURE__*/function () { - function A() { - _classCallCheck(this, A); - } - - _createClass(A, [{ - key: "foo", - value: function foo() {} - }]); - - return A; -}(); - -new A().foo(); -var a = {}; - -var b = _objectSpread({}, a); \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-runtimeHelpers/package.json b/packages/core/build/src/fixtures/build/babel-runtimeHelpers/package.json deleted file mode 100755 index 9c4a098464c41..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-runtimeHelpers/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "@babel/runtime": "7.10.4" - } -} diff --git a/packages/core/build/src/fixtures/build/babel-runtimeHelpers/src/index.js b/packages/core/build/src/fixtures/build/babel-runtimeHelpers/src/index.js deleted file mode 100755 index 5f0d5578c99bf..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-runtimeHelpers/src/index.js +++ /dev/null @@ -1,9 +0,0 @@ - -class A { - foo() {} -} - -(new A()).foo(); - -const a = {}; -const b = {...a}; \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-syntax/.fatherrc.js b/packages/core/build/src/fixtures/build/babel-syntax/.fatherrc.js deleted file mode 100755 index 8b9450222eff5..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-syntax/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup' }, -}; diff --git a/packages/core/build/src/fixtures/build/babel-syntax/expected/index.esm.js b/packages/core/build/src/fixtures/build/babel-syntax/expected/index.esm.js deleted file mode 100755 index c74948696ed30..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-syntax/expected/index.esm.js +++ /dev/null @@ -1,84 +0,0 @@ -import React from 'react'; - -function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} - -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} - -function _objectWithoutProperties(source, excluded) { - if (source == null) return {}; - - var target = _objectWithoutPropertiesLoose(source, excluded); - - var key, i; - - if (Object.getOwnPropertySymbols) { - var sourceSymbolKeys = Object.getOwnPropertySymbols(source); - - for (i = 0; i < sourceSymbolKeys.length; i++) { - key = sourceSymbolKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; - target[key] = source[key]; - } - } - - return target; -} - -function a () { - alert('a'); -} - -function b1() { - alert('b1'); -} -function b2() { - alert('b2'); -} - -var b = /*#__PURE__*/Object.freeze({ - __proto__: null, - b1: b1, - b2: b2 -}); - -var _class; -// babel-plugin-react-require -var Foo = function Foo() { - return /*#__PURE__*/React.createElement("div", null); -}; // Don't support multiple chunks for now -// @babel/plugin-syntax-dynamic-import -// import('./a'); -// object-rest-spread - -var _bar = bar, - foo = _bar.foo, - z = _objectWithoutProperties(_bar, ["foo"]); - -console.log(z); // @babel/plugin-proposal-decorators + class - -var A = foo(_class = function A() { - _classCallCheck(this, A); -}) || _class; // export default from - -var a$1 = x > 10 ? 'big' : 'small'; -console.log(a$1); // export namespace from - -export { A, Foo, a, b }; diff --git a/packages/core/build/src/fixtures/build/babel-syntax/package.json b/packages/core/build/src/fixtures/build/babel-syntax/package.json deleted file mode 100755 index f86651c7b9385..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-syntax/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "react": "^18.0.0" - } -} diff --git a/packages/core/build/src/fixtures/build/babel-syntax/src/a.js b/packages/core/build/src/fixtures/build/babel-syntax/src/a.js deleted file mode 100755 index 4e005dbee5f4c..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-syntax/src/a.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default function () { - alert('a'); -} diff --git a/packages/core/build/src/fixtures/build/babel-syntax/src/b.js b/packages/core/build/src/fixtures/build/babel-syntax/src/b.js deleted file mode 100755 index c03767c13e055..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-syntax/src/b.js +++ /dev/null @@ -1,8 +0,0 @@ - -export function b1() { - alert('b1'); -} - -export function b2() { - alert('b2'); -} diff --git a/packages/core/build/src/fixtures/build/babel-syntax/src/index.js b/packages/core/build/src/fixtures/build/babel-syntax/src/index.js deleted file mode 100755 index aec1e847bfd99..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-syntax/src/index.js +++ /dev/null @@ -1,32 +0,0 @@ - -// babel-plugin-react-require -export const Foo = () =>
; - -// Don't support multiple chunks for now -// @babel/plugin-syntax-dynamic-import -// import('./a'); - -// object-rest-spread -const { foo, ...z } = bar; -console.log(z); - -// @babel/plugin-proposal-decorators + class -@foo -export class A {} - -// export default from -export a from './a'; - -// do expression -let a = do { - if(x > 10) { - 'big'; - } else { - 'small'; - } -}; -console.log(a); - -// export namespace from -export * as b from './b'; - diff --git a/packages/core/build/src/fixtures/build/babel-ts-3.7-features/.fatherrc.js b/packages/core/build/src/fixtures/build/babel-ts-3.7-features/.fatherrc.js deleted file mode 100755 index 0637dcfc58423..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-ts-3.7-features/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ -export default { - cjs: { type: 'babel' }, - esm: { type: 'babel' }, -}; diff --git a/packages/core/build/src/fixtures/build/babel-ts-3.7-features/expected/es/index.d.ts b/packages/core/build/src/fixtures/build/babel-ts-3.7-features/expected/es/index.d.ts deleted file mode 100755 index daaf9ca4663e7..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-ts-3.7-features/expected/es/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const optionalChaining: string; -export declare const nullishCoalescing: string | boolean; diff --git a/packages/core/build/src/fixtures/build/babel-ts-3.7-features/expected/es/index.js b/packages/core/build/src/fixtures/build/babel-ts-3.7-features/expected/es/index.js deleted file mode 100755 index 640b9525a4f7e..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-ts-3.7-features/expected/es/index.js +++ /dev/null @@ -1,6 +0,0 @@ -var _foo$test; - -var foo = {}; -export var optionalChaining = foo === null || foo === void 0 ? void 0 : (_foo$test = foo.test) === null || _foo$test === void 0 ? void 0 : _foo$test.abc; -var bar = false; -export var nullishCoalescing = bar !== null && bar !== void 0 ? bar : 'default'; diff --git a/packages/core/build/src/fixtures/build/babel-ts-3.7-features/src/index.ts b/packages/core/build/src/fixtures/build/babel-ts-3.7-features/src/index.ts deleted file mode 100755 index 5ed0adeb7d5cb..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-ts-3.7-features/src/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -type Foo = { - test?: { - abc?: string; - } -} -const foo: Foo = {}; - -export const optionalChaining = foo?.test?.abc; - -const bar = false; -export const nullishCoalescing = bar ?? 'default'; diff --git a/packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/.fatherrc.js b/packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/.fatherrc.js deleted file mode 100755 index 166359112e3f8..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/.fatherrc.js +++ /dev/null @@ -1,6 +0,0 @@ - -export default { - cjs: { type: 'babel' }, - esm: { type: 'babel' }, - disableTypeCheck: true, -}; diff --git a/packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/expected/es/index.js b/packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/expected/es/index.js deleted file mode 100755 index da1c4ebf5a063..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/expected/es/index.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function foo(opts) { - return opts.foo ? 'foo' : 'bar'; -} \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/src/index.ts b/packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/src/index.ts deleted file mode 100755 index 3a0363ce2a05c..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/src/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -interface IOpts { - foo: boolean; -} - -export default function foo(opts: IOpts): string { - return opts.foo ? 'foo' : 'bar'; -} diff --git a/packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/tsconfig.json b/packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/tsconfig.json deleted file mode 100755 index d322bf935abea..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-typescript-disable-typecheck/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "esnext", - "moduleResolution": "node", - "jsx": "preserve", - "esModuleInterop": true - } -} diff --git a/packages/core/build/src/fixtures/build/babel-typescript-template/.fatherrc.js b/packages/core/build/src/fixtures/build/babel-typescript-template/.fatherrc.js deleted file mode 100755 index 19390b36be365..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-typescript-template/.fatherrc.js +++ /dev/null @@ -1,5 +0,0 @@ - -export default { - cjs: { type: 'babel' }, - esm: { type: 'babel' }, -}; diff --git a/packages/core/build/src/fixtures/build/babel-typescript-template/expected/es/index.d.ts b/packages/core/build/src/fixtures/build/babel-typescript-template/expected/es/index.d.ts deleted file mode 100755 index 9f688a7e2465a..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-typescript-template/expected/es/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -interface IOpts { - foo: boolean; -} -export default function foo(opts: IOpts): string; -export {}; diff --git a/packages/core/build/src/fixtures/build/babel-typescript-template/expected/es/index.js b/packages/core/build/src/fixtures/build/babel-typescript-template/expected/es/index.js deleted file mode 100755 index da1c4ebf5a063..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-typescript-template/expected/es/index.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function foo(opts) { - return opts.foo ? 'foo' : 'bar'; -} \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-typescript-template/src/index.ts b/packages/core/build/src/fixtures/build/babel-typescript-template/src/index.ts deleted file mode 100755 index 3a0363ce2a05c..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-typescript-template/src/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -interface IOpts { - foo: boolean; -} - -export default function foo(opts: IOpts): string { - return opts.foo ? 'foo' : 'bar'; -} diff --git a/packages/core/build/src/fixtures/build/babel-typescript/.fatherrc.js b/packages/core/build/src/fixtures/build/babel-typescript/.fatherrc.js deleted file mode 100755 index 19390b36be365..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-typescript/.fatherrc.js +++ /dev/null @@ -1,5 +0,0 @@ - -export default { - cjs: { type: 'babel' }, - esm: { type: 'babel' }, -}; diff --git a/packages/core/build/src/fixtures/build/babel-typescript/expected/es/index.d.ts b/packages/core/build/src/fixtures/build/babel-typescript/expected/es/index.d.ts deleted file mode 100755 index 9f688a7e2465a..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-typescript/expected/es/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -interface IOpts { - foo: boolean; -} -export default function foo(opts: IOpts): string; -export {}; diff --git a/packages/core/build/src/fixtures/build/babel-typescript/expected/es/index.js b/packages/core/build/src/fixtures/build/babel-typescript/expected/es/index.js deleted file mode 100755 index da1c4ebf5a063..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-typescript/expected/es/index.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function foo(opts) { - return opts.foo ? 'foo' : 'bar'; -} \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/babel-typescript/src/index.ts b/packages/core/build/src/fixtures/build/babel-typescript/src/index.ts deleted file mode 100755 index 3a0363ce2a05c..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-typescript/src/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -interface IOpts { - foo: boolean; -} - -export default function foo(opts: IOpts): string { - return opts.foo ? 'foo' : 'bar'; -} diff --git a/packages/core/build/src/fixtures/build/babel-typescript/tsconfig.json b/packages/core/build/src/fixtures/build/babel-typescript/tsconfig.json deleted file mode 100755 index fd3ce93b7f7d5..0000000000000 --- a/packages/core/build/src/fixtures/build/babel-typescript/tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "compilerOptions": { - // tsconfig is not valid josn file - "target": "esnext", - "moduleResolution": "node", - "jsx": "preserve", - "esModuleInterop": true, - "declaration": true - } -} diff --git a/packages/core/build/src/fixtures/build/config-array/.fatherrc.js b/packages/core/build/src/fixtures/build/config-array/.fatherrc.js deleted file mode 100755 index 695d856f12ac0..0000000000000 --- a/packages/core/build/src/fixtures/build/config-array/.fatherrc.js +++ /dev/null @@ -1,13 +0,0 @@ - -export default [ - { - cjs: 'babel', - }, - { - entry: 'ui/index.js', - umd: { - name: 'foo', - minFile: false, - }, - }, -]; diff --git a/packages/core/build/src/fixtures/build/config-array/expected/index.umd.js b/packages/core/build/src/fixtures/build/config-array/expected/index.umd.js deleted file mode 100755 index f610a7710a032..0000000000000 --- a/packages/core/build/src/fixtures/build/config-array/expected/index.umd.js +++ /dev/null @@ -1,13 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : - typeof define === 'function' && define.amd ? define(factory) : - (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.foo = factory()); -}(this, (function () { 'use strict'; - - var index = (function () { - return 1; - }); - - return index; - -}))); diff --git a/packages/core/build/src/fixtures/build/config-array/src/index.js b/packages/core/build/src/fixtures/build/config-array/src/index.js deleted file mode 100755 index be26f6ddab364..0000000000000 --- a/packages/core/build/src/fixtures/build/config-array/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -export default () => 1; diff --git a/packages/core/build/src/fixtures/build/config-array/ui/index.js b/packages/core/build/src/fixtures/build/config-array/ui/index.js deleted file mode 100755 index 807a7975a8368..0000000000000 --- a/packages/core/build/src/fixtures/build/config-array/ui/index.js +++ /dev/null @@ -1 +0,0 @@ -export default () => 1; diff --git a/packages/core/build/src/fixtures/build/lerna-pkgs/.fatherrc.js b/packages/core/build/src/fixtures/build/lerna-pkgs/.fatherrc.js deleted file mode 100755 index 391752f4df91b..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-pkgs/.fatherrc.js +++ /dev/null @@ -1,8 +0,0 @@ - -export default { - esm: { type: 'rollup' }, - pkgs: [ - 'foo', - 'bar' - ] -} diff --git a/packages/core/build/src/fixtures/build/lerna-pkgs/core/bar/package.json b/packages/core/build/src/fixtures/build/lerna-pkgs/core/bar/package.json deleted file mode 100755 index b6b8cf94a06ce..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-pkgs/core/bar/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "bar1" -} diff --git a/packages/core/build/src/fixtures/build/lerna-pkgs/core/bar/src/index.js b/packages/core/build/src/fixtures/build/lerna-pkgs/core/bar/src/index.js deleted file mode 100755 index 9638d025d9eed..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-pkgs/core/bar/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/lerna-pkgs/core/foo/package.json b/packages/core/build/src/fixtures/build/lerna-pkgs/core/foo/package.json deleted file mode 100755 index f3a8253609a50..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-pkgs/core/foo/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "foo13" -} diff --git a/packages/core/build/src/fixtures/build/lerna-pkgs/core/foo/src/index.js b/packages/core/build/src/fixtures/build/lerna-pkgs/core/foo/src/index.js deleted file mode 100755 index 695557eab3c4e..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-pkgs/core/foo/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/lerna-pkgs/expected/bar/index.esm.js b/packages/core/build/src/fixtures/build/lerna-pkgs/expected/bar/index.esm.js deleted file mode 100755 index 8cc7aa3e902fc..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-pkgs/expected/bar/index.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/lerna-pkgs/expected/foo/index.esm.js b/packages/core/build/src/fixtures/build/lerna-pkgs/expected/foo/index.esm.js deleted file mode 100755 index 81afa3157c18b..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-pkgs/expected/foo/index.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/lerna-pkgs/lerna.json b/packages/core/build/src/fixtures/build/lerna-pkgs/lerna.json deleted file mode 100755 index e85dc989a5501..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-pkgs/lerna.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "packages": [ - "core/*" - ] -} \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/lerna-root-config-override/.fatherrc.js b/packages/core/build/src/fixtures/build/lerna-root-config-override/.fatherrc.js deleted file mode 100755 index 2f10183a37fc6..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config-override/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/lerna-root-config-override/expected/bar/index.js b/packages/core/build/src/fixtures/build/lerna-root-config-override/expected/bar/index.js deleted file mode 100755 index 2b1938520eaac..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config-override/expected/bar/index.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/lerna-root-config-override/expected/foo/index.js b/packages/core/build/src/fixtures/build/lerna-root-config-override/expected/foo/index.js deleted file mode 100755 index aece69e8bb291..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config-override/expected/foo/index.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/lerna-root-config-override/lerna.json b/packages/core/build/src/fixtures/build/lerna-root-config-override/lerna.json deleted file mode 100755 index 0967ef424bce6..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config-override/lerna.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/packages/core/build/src/fixtures/build/lerna-root-config-override/packages/bar/package.json b/packages/core/build/src/fixtures/build/lerna-root-config-override/packages/bar/package.json deleted file mode 100755 index fd7f945039361..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config-override/packages/bar/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "bar4" -} diff --git a/packages/core/build/src/fixtures/build/lerna-root-config-override/packages/bar/src/index.js b/packages/core/build/src/fixtures/build/lerna-root-config-override/packages/bar/src/index.js deleted file mode 100755 index 9638d025d9eed..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config-override/packages/bar/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/lerna-root-config-override/packages/foo/package.json b/packages/core/build/src/fixtures/build/lerna-root-config-override/packages/foo/package.json deleted file mode 100755 index 7cb1c70338bf5..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config-override/packages/foo/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "foo12" -} diff --git a/packages/core/build/src/fixtures/build/lerna-root-config-override/packages/foo/src/index.js b/packages/core/build/src/fixtures/build/lerna-root-config-override/packages/foo/src/index.js deleted file mode 100755 index 695557eab3c4e..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config-override/packages/foo/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/lerna-root-config/.fatherrc.js b/packages/core/build/src/fixtures/build/lerna-root-config/.fatherrc.js deleted file mode 100755 index 2f10183a37fc6..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/lerna-root-config/expected/bar/index.esm.js b/packages/core/build/src/fixtures/build/lerna-root-config/expected/bar/index.esm.js deleted file mode 100755 index 8cc7aa3e902fc..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config/expected/bar/index.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/lerna-root-config/expected/foo/index.esm.js b/packages/core/build/src/fixtures/build/lerna-root-config/expected/foo/index.esm.js deleted file mode 100755 index 81afa3157c18b..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config/expected/foo/index.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/lerna-root-config/lerna.json b/packages/core/build/src/fixtures/build/lerna-root-config/lerna.json deleted file mode 100755 index 0967ef424bce6..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config/lerna.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/packages/core/build/src/fixtures/build/lerna-root-config/packages/bar/package.json b/packages/core/build/src/fixtures/build/lerna-root-config/packages/bar/package.json deleted file mode 100755 index fd5a6bdb0179e..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config/packages/bar/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "bar2" -} diff --git a/packages/core/build/src/fixtures/build/lerna-root-config/packages/bar/src/index.js b/packages/core/build/src/fixtures/build/lerna-root-config/packages/bar/src/index.js deleted file mode 100755 index 9638d025d9eed..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config/packages/bar/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/lerna-root-config/packages/foo/package.json b/packages/core/build/src/fixtures/build/lerna-root-config/packages/foo/package.json deleted file mode 100755 index 5626be510bc44..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config/packages/foo/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "foo25" -} diff --git a/packages/core/build/src/fixtures/build/lerna-root-config/packages/foo/src/index.js b/packages/core/build/src/fixtures/build/lerna-root-config/packages/foo/src/index.js deleted file mode 100755 index 695557eab3c4e..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-config/packages/foo/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/lerna-root-scope/.fatherrc.js b/packages/core/build/src/fixtures/build/lerna-root-scope/.fatherrc.js deleted file mode 100755 index 5c4c510bf12d5..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-scope/.fatherrc.js +++ /dev/null @@ -1,3 +0,0 @@ -export default { - esm: { type: 'babel' }, -} diff --git a/packages/core/build/src/fixtures/build/lerna-root-scope/expected/bar/index.esm.js b/packages/core/build/src/fixtures/build/lerna-root-scope/expected/bar/index.esm.js deleted file mode 100755 index 8cc7aa3e902fc..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-scope/expected/bar/index.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/lerna-root-scope/expected/foo/index.esm.js b/packages/core/build/src/fixtures/build/lerna-root-scope/expected/foo/index.esm.js deleted file mode 100755 index 81afa3157c18b..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-scope/expected/foo/index.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/lerna-root-scope/lerna.json b/packages/core/build/src/fixtures/build/lerna-root-scope/lerna.json deleted file mode 100755 index 0967ef424bce6..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-scope/lerna.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/packages/core/build/src/fixtures/build/lerna-root-scope/packages/bar/.fatherrc.js b/packages/core/build/src/fixtures/build/lerna-root-scope/packages/bar/.fatherrc.js deleted file mode 100755 index 030fee174ef5c..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-scope/packages/bar/.fatherrc.js +++ /dev/null @@ -1,3 +0,0 @@ -export default { - esm: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/lerna-root-scope/packages/bar/package.json b/packages/core/build/src/fixtures/build/lerna-root-scope/packages/bar/package.json deleted file mode 100755 index fd0de3e4a46fc..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-scope/packages/bar/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "bar11" -} diff --git a/packages/core/build/src/fixtures/build/lerna-root-scope/packages/bar/src/index.js b/packages/core/build/src/fixtures/build/lerna-root-scope/packages/bar/src/index.js deleted file mode 100755 index 9638d025d9eed..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-scope/packages/bar/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/lerna-root-scope/packages/foo/.fatherrc.js b/packages/core/build/src/fixtures/build/lerna-root-scope/packages/foo/.fatherrc.js deleted file mode 100755 index 030fee174ef5c..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-scope/packages/foo/.fatherrc.js +++ /dev/null @@ -1,3 +0,0 @@ -export default { - esm: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/lerna-root-scope/packages/foo/package.json b/packages/core/build/src/fixtures/build/lerna-root-scope/packages/foo/package.json deleted file mode 100755 index 34c9c24b9e4e5..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-scope/packages/foo/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "foo11" -} diff --git a/packages/core/build/src/fixtures/build/lerna-root-scope/packages/foo/src/index.js b/packages/core/build/src/fixtures/build/lerna-root-scope/packages/foo/src/index.js deleted file mode 100755 index 695557eab3c4e..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-scope/packages/foo/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/.fatherrc.js b/packages/core/build/src/fixtures/build/lerna-root-tsconfig/.fatherrc.js deleted file mode 100755 index 2875def12e169..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'babel' }, -} diff --git a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/expected/bar/es/index.js b/packages/core/build/src/fixtures/build/lerna-root-tsconfig/expected/bar/es/index.js deleted file mode 100755 index 11f6ee783c3f8..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/expected/bar/es/index.js +++ /dev/null @@ -1,3 +0,0 @@ -export default (function () { - console.log('bar'); -}); \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/expected/foo/es/index.js b/packages/core/build/src/fixtures/build/lerna-root-tsconfig/expected/foo/es/index.js deleted file mode 100755 index 1f28f54e82b14..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/expected/foo/es/index.js +++ /dev/null @@ -1,3 +0,0 @@ -export default (function () { - console.log('foo'); -}); \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/lerna.json b/packages/core/build/src/fixtures/build/lerna-root-tsconfig/lerna.json deleted file mode 100755 index 0967ef424bce6..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/lerna.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/bar/package.json b/packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/bar/package.json deleted file mode 100755 index 2c35b0b5e7c97..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/bar/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "bar12" -} diff --git a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/bar/src/index.ts b/packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/bar/src/index.ts deleted file mode 100755 index f053c5b210df0..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/bar/src/index.ts +++ /dev/null @@ -1,4 +0,0 @@ - -export default () => { - console.log('bar'); -}; diff --git a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/foo/package.json b/packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/foo/package.json deleted file mode 100755 index 3033ce68c2c1d..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/foo/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "foo1124" -} diff --git a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/foo/src/index.ts b/packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/foo/src/index.ts deleted file mode 100755 index 32ecfb320e414..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/packages/foo/src/index.ts +++ /dev/null @@ -1,4 +0,0 @@ - -export default () => { - console.log('foo'); -}; diff --git a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/tsconfig.json b/packages/core/build/src/fixtures/build/lerna-root-tsconfig/tsconfig.json deleted file mode 100755 index 38fe9e8143954..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-root-tsconfig/tsconfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "compilerOptions": { - "declaration": false, - "target": "esnext", - "module": "esnext", - "moduleResolution": "node", - "jsx": "react", - "esModuleInterop": true, - "allowSyntheticDefaultImports": true - }, - "exclude": ["node_modules", "es", "lib", "dist"] -} diff --git a/packages/core/build/src/fixtures/build/lerna-scope-packages/expected/bar/index.esm.js b/packages/core/build/src/fixtures/build/lerna-scope-packages/expected/bar/index.esm.js deleted file mode 100755 index 8cc7aa3e902fc..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-scope-packages/expected/bar/index.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/lerna-scope-packages/expected/foo/index.esm.js b/packages/core/build/src/fixtures/build/lerna-scope-packages/expected/foo/index.esm.js deleted file mode 100755 index 81afa3157c18b..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-scope-packages/expected/foo/index.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/lerna-scope-packages/lerna.json b/packages/core/build/src/fixtures/build/lerna-scope-packages/lerna.json deleted file mode 100755 index 0967ef424bce6..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-scope-packages/lerna.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/@hoo/bar/.fatherrc.js b/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/@hoo/bar/.fatherrc.js deleted file mode 100755 index 2f10183a37fc6..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/@hoo/bar/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/@hoo/bar/package.json b/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/@hoo/bar/package.json deleted file mode 100755 index d970115c2b0d8..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/@hoo/bar/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "@hoo/bar" -} diff --git a/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/@hoo/bar/src/index.js b/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/@hoo/bar/src/index.js deleted file mode 100755 index 9638d025d9eed..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/@hoo/bar/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/foo/.fatherrc.js b/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/foo/.fatherrc.js deleted file mode 100755 index 2f10183a37fc6..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/foo/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/foo/package.json b/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/foo/package.json deleted file mode 100755 index 7baacbcc08141..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/foo/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "foo11233" -} diff --git a/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/foo/src/index.js b/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/foo/src/index.js deleted file mode 100755 index 695557eab3c4e..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna-scope-packages/packages/foo/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/lerna/expected/bar/index.esm.js b/packages/core/build/src/fixtures/build/lerna/expected/bar/index.esm.js deleted file mode 100755 index 8cc7aa3e902fc..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna/expected/bar/index.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/lerna/expected/foo/index.esm.js b/packages/core/build/src/fixtures/build/lerna/expected/foo/index.esm.js deleted file mode 100755 index 81afa3157c18b..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna/expected/foo/index.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/lerna/lerna.json b/packages/core/build/src/fixtures/build/lerna/lerna.json deleted file mode 100755 index 0967ef424bce6..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna/lerna.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/packages/core/build/src/fixtures/build/lerna/packages/bar/.fatherrc.js b/packages/core/build/src/fixtures/build/lerna/packages/bar/.fatherrc.js deleted file mode 100755 index 2f10183a37fc6..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna/packages/bar/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/lerna/packages/bar/package.json b/packages/core/build/src/fixtures/build/lerna/packages/bar/package.json deleted file mode 100755 index 0129a78e36eed..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna/packages/bar/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "bar3" -} diff --git a/packages/core/build/src/fixtures/build/lerna/packages/bar/src/index.js b/packages/core/build/src/fixtures/build/lerna/packages/bar/src/index.js deleted file mode 100755 index 9638d025d9eed..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna/packages/bar/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/lerna/packages/foo/.fatherrc.js b/packages/core/build/src/fixtures/build/lerna/packages/foo/.fatherrc.js deleted file mode 100755 index 2f10183a37fc6..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna/packages/foo/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/lerna/packages/foo/package.json b/packages/core/build/src/fixtures/build/lerna/packages/foo/package.json deleted file mode 100755 index a524e58b2cde3..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna/packages/foo/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "foo24" -} diff --git a/packages/core/build/src/fixtures/build/lerna/packages/foo/src/index.js b/packages/core/build/src/fixtures/build/lerna/packages/foo/src/index.js deleted file mode 100755 index 695557eab3c4e..0000000000000 --- a/packages/core/build/src/fixtures/build/lerna/packages/foo/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/.fatherrc.js b/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/.fatherrc.js deleted file mode 100755 index 6e6bd69f59c1d..0000000000000 --- a/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/.fatherrc.js +++ /dev/null @@ -1,6 +0,0 @@ - -export default { - umd: { - minFile: false, - }, -}; diff --git a/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/expected/index.umd.js b/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/expected/index.umd.js deleted file mode 100755 index 3819aa8e9da2d..0000000000000 --- a/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/expected/index.umd.js +++ /dev/null @@ -1,43 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : - typeof define === 'function' && define.amd ? define(factory) : - (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.foo = factory()); -}(this, (function () { 'use strict'; - - var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; - - function createCommonjsModule(fn, basedir, module) { - return module = { - path: basedir, - exports: {}, - require: function (path, base) { - return commonjsRequire(path, (base === undefined || base === null) ? module.path : base); - } - }, fn(module, module.exports), module.exports; - } - - function commonjsRequire () { - throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs'); - } - - var lib = createCommonjsModule(function (module) { - (function (root, factory) { - if ( module.exports) { - module.exports = factory(); - } else { - root.timing2 = factory(); - } - }(typeof self !== 'undefined' ? self : commonjsGlobal, function () { - return { - timing2: 'timing2', - }; - })); - }); - - function index () { - console.log(lib); - } - - return index; - -}))); diff --git a/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/package.json b/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/package.json deleted file mode 100755 index 951ea3bd11b0a..0000000000000 --- a/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "foo21" -} diff --git a/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/packages/fooo/package.json b/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/packages/fooo/package.json deleted file mode 100755 index de662967ec725..0000000000000 --- a/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/packages/fooo/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "fooo", - "dependencies": { - "timing2": "^0.3.3" - }, - "scripts": { - "build": "father build --umd" - } -} diff --git a/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/packages/fooo/src/index.js b/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/packages/fooo/src/index.js deleted file mode 100755 index ce3b69ab576bf..0000000000000 --- a/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/packages/fooo/src/index.js +++ /dev/null @@ -1,5 +0,0 @@ -import timing2 from 'timing2'; - -export default function() { - console.log(timing2); -}; diff --git a/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/src/index.js b/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/src/index.js deleted file mode 100755 index 9178900351934..0000000000000 --- a/packages/core/build/src/fixtures/build/require-node_modules-in-sub-directory/src/index.js +++ /dev/null @@ -1 +0,0 @@ -export { default } from '../packages/fooo/src/index'; diff --git a/packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/.fatherrc.js deleted file mode 100755 index 6e6bd69f59c1d..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/.fatherrc.js +++ /dev/null @@ -1,6 +0,0 @@ - -export default { - umd: { - minFile: false, - }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/expected/index.umd.js b/packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/expected/index.umd.js deleted file mode 100755 index 1a43aefbc44f3..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/expected/index.umd.js +++ /dev/null @@ -1,34 +0,0 @@ -(function (factory) { - typeof define === 'function' && define.amd ? define(factory) : - factory(); -}((function () { 'use strict'; - - function createCommonjsModule(fn, basedir, module) { - return module = { - path: basedir, - exports: {}, - require: function (path, base) { - return commonjsRequire(path, (base === undefined || base === null) ? module.path : base); - } - }, fn(module, module.exports), module.exports; - } - - function commonjsRequire () { - throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs'); - } - - var foo_1 = createCommonjsModule(function (module, exports) { - var foo = exports; - - foo.a = function () { - return 'a'; - }; - foo.b = function () { - return 'b'; - }; - }); - - console.log(foo_1.a()); - console.log(foo_1.b()); - -}))); diff --git a/packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/package.json b/packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/package.json deleted file mode 100755 index 040bc3a1eb645..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "foo": "0.1.0" - } -} diff --git a/packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/src/index.js b/packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/src/index.js deleted file mode 100755 index 8fa897e84bf2c..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-commonjs-deps-auto-named-exports/src/index.js +++ /dev/null @@ -1,4 +0,0 @@ -import { a, b } from 'foo'; - -console.log(a()); -console.log(b()); diff --git a/packages/core/build/src/fixtures/build/rollup-commonjs-deps/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-commonjs-deps/.fatherrc.js deleted file mode 100755 index 6e6bd69f59c1d..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-commonjs-deps/.fatherrc.js +++ /dev/null @@ -1,6 +0,0 @@ - -export default { - umd: { - minFile: false, - }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-commonjs-deps/expected/index.umd.js b/packages/core/build/src/fixtures/build/rollup-commonjs-deps/expected/index.umd.js deleted file mode 100755 index 2c1ff18cee70a..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-commonjs-deps/expected/index.umd.js +++ /dev/null @@ -1,18 +0,0 @@ -(function (factory) { - typeof define === 'function' && define.amd ? define(factory) : - factory(); -}((function () { 'use strict'; - - var foo = { - a: function () { - return 'a'; - }, - b: function () { - return 'b'; - }, - }; - - console.log(foo.a()); - console.log(foo.b()); - -}))); diff --git a/packages/core/build/src/fixtures/build/rollup-commonjs-deps/package.json b/packages/core/build/src/fixtures/build/rollup-commonjs-deps/package.json deleted file mode 100755 index 040bc3a1eb645..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-commonjs-deps/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "foo": "0.1.0" - } -} diff --git a/packages/core/build/src/fixtures/build/rollup-commonjs-deps/src/index.js b/packages/core/build/src/fixtures/build/rollup-commonjs-deps/src/index.js deleted file mode 100755 index 8fa897e84bf2c..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-commonjs-deps/src/index.js +++ /dev/null @@ -1,4 +0,0 @@ -import { a, b } from 'foo'; - -console.log(a()); -console.log(b()); diff --git a/packages/core/build/src/fixtures/build/rollup-config-alias/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-config-alias/.fatherrc.js deleted file mode 100755 index 85815c788f714..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-config-alias/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: 'rollup', -} diff --git a/packages/core/build/src/fixtures/build/rollup-config-alias/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-config-alias/expected/index.esm.js deleted file mode 100755 index 586fcf9a5a33b..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-config-alias/expected/index.esm.js +++ /dev/null @@ -1,6 +0,0 @@ -var foo = 'a'; -function index () { - console.log(foo); -} - -export default index; diff --git a/packages/core/build/src/fixtures/build/rollup-config-alias/src/index.js b/packages/core/build/src/fixtures/build/rollup-config-alias/src/index.js deleted file mode 100755 index 80c65e1f0a4e0..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-config-alias/src/index.js +++ /dev/null @@ -1,6 +0,0 @@ - -const foo = 'a'; - -export default function () { - console.log(foo); -} diff --git a/packages/core/build/src/fixtures/build/rollup-css-autoprefixer/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-css-autoprefixer/.fatherrc.js deleted file mode 100755 index 5f43af600839b..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-autoprefixer/.fatherrc.js +++ /dev/null @@ -1,10 +0,0 @@ - -export default { - esm: { type: 'rollup' }, - autoprefixer: { - overrideBrowserslist: [ - 'ie>8', - 'Safari >= 6', - ], - }, -} diff --git a/packages/core/build/src/fixtures/build/rollup-css-autoprefixer/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-css-autoprefixer/expected/index.esm.js deleted file mode 100755 index 7724570dabc40..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-autoprefixer/expected/index.esm.js +++ /dev/null @@ -1,31 +0,0 @@ -function styleInject(css, ref) { - if ( ref === void 0 ) ref = {}; - var insertAt = ref.insertAt; - - if (!css || typeof document === 'undefined') { return; } - - var head = document.head || document.getElementsByTagName('head')[0]; - var style = document.createElement('style'); - style.type = 'text/css'; - - if (insertAt === 'top') { - if (head.firstChild) { - head.insertBefore(style, head.firstChild); - } else { - head.appendChild(style); - } - } else { - head.appendChild(style); - } - - if (style.styleSheet) { - style.styleSheet.cssText = css; - } else { - style.appendChild(document.createTextNode(css)); - } -} - -var css_248z = "\n.a {\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n}\n"; -styleInject(css_248z); - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-css-autoprefixer/src/foo.css b/packages/core/build/src/fixtures/build/rollup-css-autoprefixer/src/foo.css deleted file mode 100755 index b4d332f68dba0..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-autoprefixer/src/foo.css +++ /dev/null @@ -1,4 +0,0 @@ - -.a { - display: flex; -} diff --git a/packages/core/build/src/fixtures/build/rollup-css-autoprefixer/src/index.js b/packages/core/build/src/fixtures/build/rollup-css-autoprefixer/src/index.js deleted file mode 100755 index 9a761d97aac83..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-autoprefixer/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import './foo.css'; - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-css-extract/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-css-extract/.fatherrc.js deleted file mode 100755 index c01e2a255389b..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-extract/.fatherrc.js +++ /dev/null @@ -1,5 +0,0 @@ - -export default { - extractCSS: true, - esm: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/rollup-css-extract/expected/index.esm.css b/packages/core/build/src/fixtures/build/rollup-css-extract/expected/index.esm.css deleted file mode 100755 index ec0af869aa8fb..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-extract/expected/index.esm.css +++ /dev/null @@ -1,2 +0,0 @@ - -.a { color: green; } diff --git a/packages/core/build/src/fixtures/build/rollup-css-extract/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-css-extract/expected/index.esm.js deleted file mode 100755 index 81afa3157c18b..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-extract/expected/index.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-css-extract/src/foo.css b/packages/core/build/src/fixtures/build/rollup-css-extract/src/foo.css deleted file mode 100755 index ec0af869aa8fb..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-extract/src/foo.css +++ /dev/null @@ -1,2 +0,0 @@ - -.a { color: green; } diff --git a/packages/core/build/src/fixtures/build/rollup-css-extract/src/index.js b/packages/core/build/src/fixtures/build/rollup-css-extract/src/index.js deleted file mode 100755 index 9a761d97aac83..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-extract/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import './foo.css'; - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-css-inject/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-css-inject/.fatherrc.js deleted file mode 100755 index c39568546c05c..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-inject/.fatherrc.js +++ /dev/null @@ -1,5 +0,0 @@ - -export default { - injectCSS: false, - esm: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/rollup-css-inject/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-css-inject/expected/index.esm.js deleted file mode 100755 index d5522693b6b26..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-inject/expected/index.esm.js +++ /dev/null @@ -1,3 +0,0 @@ -var css_248z = "\n.a { color: green; }\n"; - -console.log(css_248z); diff --git a/packages/core/build/src/fixtures/build/rollup-css-inject/src/foo.css b/packages/core/build/src/fixtures/build/rollup-css-inject/src/foo.css deleted file mode 100755 index ec0af869aa8fb..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-inject/src/foo.css +++ /dev/null @@ -1,2 +0,0 @@ - -.a { color: green; } diff --git a/packages/core/build/src/fixtures/build/rollup-css-inject/src/index.js b/packages/core/build/src/fixtures/build/rollup-css-inject/src/index.js deleted file mode 100755 index b2bb60ab0d779..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-inject/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import style from './foo.css'; - -console.log(style); diff --git a/packages/core/build/src/fixtures/build/rollup-css-modules/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-css-modules/.fatherrc.js deleted file mode 100755 index d75347b75949d..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-modules/.fatherrc.js +++ /dev/null @@ -1,5 +0,0 @@ - -export default { - esm: { type: 'rollup' }, - cssModules: true, -} diff --git a/packages/core/build/src/fixtures/build/rollup-css-modules/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-css-modules/expected/index.esm.js deleted file mode 100755 index 7e6569e189667..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-modules/expected/index.esm.js +++ /dev/null @@ -1,32 +0,0 @@ -function styleInject(css, ref) { - if ( ref === void 0 ) ref = {}; - var insertAt = ref.insertAt; - - if (!css || typeof document === 'undefined') { return; } - - var head = document.head || document.getElementsByTagName('head')[0]; - var style = document.createElement('style'); - style.type = 'text/css'; - - if (insertAt === 'top') { - if (head.firstChild) { - head.insertBefore(style, head.firstChild); - } else { - head.appendChild(style); - } - } else { - head.appendChild(style); - } - - if (style.styleSheet) { - style.styleSheet.cssText = css; - } else { - style.appendChild(document.createTextNode(css)); - } -} - -var css_248z = "\n.foo_a__3z5g- { color: green; }\n"; -var styles = {"a":"foo_a__3z5g-"}; -styleInject(css_248z); - -console.log('foo', styles.a); diff --git a/packages/core/build/src/fixtures/build/rollup-css-modules/src/foo.css b/packages/core/build/src/fixtures/build/rollup-css-modules/src/foo.css deleted file mode 100755 index ec0af869aa8fb..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-modules/src/foo.css +++ /dev/null @@ -1,2 +0,0 @@ - -.a { color: green; } diff --git a/packages/core/build/src/fixtures/build/rollup-css-modules/src/index.js b/packages/core/build/src/fixtures/build/rollup-css-modules/src/index.js deleted file mode 100755 index 0ebd23438db86..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css-modules/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import styles from './foo.css'; - -console.log('foo', styles.a); diff --git a/packages/core/build/src/fixtures/build/rollup-css/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-css/.fatherrc.js deleted file mode 100755 index 2f10183a37fc6..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/rollup-css/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-css/expected/index.esm.js deleted file mode 100755 index f7e62e7a85f4e..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css/expected/index.esm.js +++ /dev/null @@ -1,31 +0,0 @@ -function styleInject(css, ref) { - if ( ref === void 0 ) ref = {}; - var insertAt = ref.insertAt; - - if (!css || typeof document === 'undefined') { return; } - - var head = document.head || document.getElementsByTagName('head')[0]; - var style = document.createElement('style'); - style.type = 'text/css'; - - if (insertAt === 'top') { - if (head.firstChild) { - head.insertBefore(style, head.firstChild); - } else { - head.appendChild(style); - } - } else { - head.appendChild(style); - } - - if (style.styleSheet) { - style.styleSheet.cssText = css; - } else { - style.appendChild(document.createTextNode(css)); - } -} - -var css_248z = "\n.a {\n color: green;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-box-align: stretch;\n}\n"; -styleInject(css_248z); - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-css/src/foo.css b/packages/core/build/src/fixtures/build/rollup-css/src/foo.css deleted file mode 100755 index ca6e9cd5d7d18..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css/src/foo.css +++ /dev/null @@ -1,7 +0,0 @@ - -.a { - color: green; - display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-box-align: stretch; -} diff --git a/packages/core/build/src/fixtures/build/rollup-css/src/index.js b/packages/core/build/src/fixtures/build/rollup-css/src/index.js deleted file mode 100755 index 9a761d97aac83..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-css/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import './foo.css'; - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-dynamic-import/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-dynamic-import/.fatherrc.js deleted file mode 100755 index 8b9450222eff5..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-dynamic-import/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup' }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-dynamic-import/expected/bar-fc754098.js b/packages/core/build/src/fixtures/build/rollup-dynamic-import/expected/bar-fc754098.js deleted file mode 100755 index d352116629c69..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-dynamic-import/expected/bar-fc754098.js +++ /dev/null @@ -1,5 +0,0 @@ -var bar = function bar() { - return 'bar'; -}; - -export { bar }; diff --git a/packages/core/build/src/fixtures/build/rollup-dynamic-import/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-dynamic-import/expected/index.esm.js deleted file mode 100755 index c18af1dcb1b83..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-dynamic-import/expected/index.esm.js +++ /dev/null @@ -1,2 +0,0 @@ -var bar = import('./bar-fc754098.js'); -console.log(bar()); diff --git a/packages/core/build/src/fixtures/build/rollup-dynamic-import/src/bar.js b/packages/core/build/src/fixtures/build/rollup-dynamic-import/src/bar.js deleted file mode 100755 index be06675d98341..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-dynamic-import/src/bar.js +++ /dev/null @@ -1 +0,0 @@ -export const bar = () => 'bar' diff --git a/packages/core/build/src/fixtures/build/rollup-dynamic-import/src/index.js b/packages/core/build/src/fixtures/build/rollup-dynamic-import/src/index.js deleted file mode 100755 index 70ba96a421e1b..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-dynamic-import/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -const bar = import('./bar') - -console.log(bar()) \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/rollup-esm-file/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-esm-file/.fatherrc.js deleted file mode 100755 index ae65f17f590d4..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-esm-file/.fatherrc.js +++ /dev/null @@ -1,7 +0,0 @@ - -export default { - esm: { - type: 'rollup', - file: 'demo.esm' - }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-esm-file/expected/demo.esm.js b/packages/core/build/src/fixtures/build/rollup-esm-file/expected/demo.esm.js deleted file mode 100755 index a2248efc6c902..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-esm-file/expected/demo.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('test'); diff --git a/packages/core/build/src/fixtures/build/rollup-esm-file/package.json b/packages/core/build/src/fixtures/build/rollup-esm-file/package.json deleted file mode 100755 index 0967ef424bce6..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-esm-file/package.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/packages/core/build/src/fixtures/build/rollup-esm-file/src/index.js b/packages/core/build/src/fixtures/build/rollup-esm-file/src/index.js deleted file mode 100755 index a2248efc6c902..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-esm-file/src/index.js +++ /dev/null @@ -1 +0,0 @@ -console.log('test'); diff --git a/packages/core/build/src/fixtures/build/rollup-esm-minify/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-esm-minify/.fatherrc.js deleted file mode 100755 index 25ded9459a22a..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-esm-minify/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup', minify: true }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-esm-minify/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-esm-minify/expected/index.esm.js deleted file mode 100755 index f05f552867402..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-esm-minify/expected/index.esm.js +++ /dev/null @@ -1 +0,0 @@ -function o(){console.log("foo")}export default o; diff --git a/packages/core/build/src/fixtures/build/rollup-esm-minify/package.json b/packages/core/build/src/fixtures/build/rollup-esm-minify/package.json deleted file mode 100755 index 81bb2b6314665..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-esm-minify/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "bar": "0.1.0" - } -} diff --git a/packages/core/build/src/fixtures/build/rollup-esm-minify/src/foo.js b/packages/core/build/src/fixtures/build/rollup-esm-minify/src/foo.js deleted file mode 100755 index 8fcf68e1bfa15..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-esm-minify/src/foo.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default function () { - return 'foo'; -} diff --git a/packages/core/build/src/fixtures/build/rollup-esm-minify/src/index.js b/packages/core/build/src/fixtures/build/rollup-esm-minify/src/index.js deleted file mode 100755 index 079e99f5adebe..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-esm-minify/src/index.js +++ /dev/null @@ -1,5 +0,0 @@ -import foo from './foo'; - -export default function () { - console.log(foo()); -} diff --git a/packages/core/build/src/fixtures/build/rollup-esm-mjs/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-esm-mjs/.fatherrc.js deleted file mode 100755 index ed89f5d34aac8..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-esm-mjs/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup', mjs: true }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-esm-mjs/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-esm-mjs/expected/index.esm.js deleted file mode 100755 index 6890cce5b5857..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-esm-mjs/expected/index.esm.js +++ /dev/null @@ -1,6 +0,0 @@ -import 'bar'; - -function index () { -} - -export default index; diff --git a/packages/core/build/src/fixtures/build/rollup-esm-mjs/expected/index.mjs b/packages/core/build/src/fixtures/build/rollup-esm-mjs/expected/index.mjs deleted file mode 100755 index 8f73bfe1b6e7a..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-esm-mjs/expected/index.mjs +++ /dev/null @@ -1 +0,0 @@ -function o(){}console.log("bar");export default o; diff --git a/packages/core/build/src/fixtures/build/rollup-esm-mjs/package.json b/packages/core/build/src/fixtures/build/rollup-esm-mjs/package.json deleted file mode 100755 index 81bb2b6314665..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-esm-mjs/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "bar": "0.1.0" - } -} diff --git a/packages/core/build/src/fixtures/build/rollup-esm-mjs/src/foo.js b/packages/core/build/src/fixtures/build/rollup-esm-mjs/src/foo.js deleted file mode 100755 index 8fcf68e1bfa15..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-esm-mjs/src/foo.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default function () { - return 'foo'; -} diff --git a/packages/core/build/src/fixtures/build/rollup-esm-mjs/src/index.js b/packages/core/build/src/fixtures/build/rollup-esm-mjs/src/index.js deleted file mode 100755 index 01d696690c74b..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-esm-mjs/src/index.js +++ /dev/null @@ -1,6 +0,0 @@ -import 'bar'; -import foo from './foo'; - -export default function () { - foo(); -} diff --git a/packages/core/build/src/fixtures/build/rollup-externalsExclude/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-externalsExclude/.fatherrc.js deleted file mode 100755 index 8ab27f0f1e7bb..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-externalsExclude/.fatherrc.js +++ /dev/null @@ -1,11 +0,0 @@ - -export default { - esm: { type: 'rollup' }, - cjs: { type: 'rollup' }, - extraExternals: [ - 'foo', - ], - externalsExclude: [ - 'foo/bar', - ], -}; diff --git a/packages/core/build/src/fixtures/build/rollup-externalsExclude/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-externalsExclude/expected/index.esm.js deleted file mode 100755 index 60d2ac22156e6..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-externalsExclude/expected/index.esm.js +++ /dev/null @@ -1,5 +0,0 @@ -import 'foo'; - -(() => { - console.log('bar'); -})(); diff --git a/packages/core/build/src/fixtures/build/rollup-externalsExclude/expected/index.js b/packages/core/build/src/fixtures/build/rollup-externalsExclude/expected/index.js deleted file mode 100755 index 98f72615c52f8..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-externalsExclude/expected/index.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -require('foo'); - -(() => { - console.log('bar'); -})(); diff --git a/packages/core/build/src/fixtures/build/rollup-externalsExclude/package.json b/packages/core/build/src/fixtures/build/rollup-externalsExclude/package.json deleted file mode 100755 index 6a3252ea8dfb4..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-externalsExclude/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "0.1.0" -} diff --git a/packages/core/build/src/fixtures/build/rollup-externalsExclude/src/index.js b/packages/core/build/src/fixtures/build/rollup-externalsExclude/src/index.js deleted file mode 100755 index 40d29331c28a2..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-externalsExclude/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ -import 'foo'; -import 'foo/bar'; diff --git a/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/.fatherrc.js deleted file mode 100755 index 0dfd93f4b2cb1..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/.fatherrc.js +++ /dev/null @@ -1,10 +0,0 @@ - -export default { - esm: { type: 'rollup' }, - extraBabelPresets: [ - require.resolve('./preset'), - ], - extraBabelPlugins: [ - require.resolve('./p2'), - ], -}; diff --git a/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/expected/index.esm.js deleted file mode 100755 index 0b60c0ede6000..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/expected/index.esm.js +++ /dev/null @@ -1,2 +0,0 @@ -console.log("p1", "p2", 1); -alert(2); diff --git a/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/p1.js b/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/p1.js deleted file mode 100755 index a3a3e24e183d9..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/p1.js +++ /dev/null @@ -1,20 +0,0 @@ - -module.exports = function ({ types: t }) { - function isConsoleLog(node) { - const { callee, callee: { object, property } } = node; - return t.isMemberExpression(callee) - && t.isIdentifier(object) && object.name === 'console' - && t.isIdentifier(property) && property.name === 'log'; - } - - return { - visitor: { - CallExpression(path, state) { - const { node, node: { callee, callee: { object, property } } } = path; - if (isConsoleLog(node)) { - node.arguments.unshift(t.stringLiteral('p1')); - } - }, - }, - }; -} diff --git a/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/p2.js b/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/p2.js deleted file mode 100755 index 297ac66d1a572..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/p2.js +++ /dev/null @@ -1,20 +0,0 @@ - -module.exports = function ({ types: t }) { - function isConsoleLog(node) { - const { callee, callee: { object, property } } = node; - return t.isMemberExpression(callee) - && t.isIdentifier(object) && object.name === 'console' - && t.isIdentifier(property) && property.name === 'log'; - } - - return { - visitor: { - CallExpression(path, state) { - const { node, node: { callee, callee: { object, property } } } = path; - if (isConsoleLog(node)) { - node.arguments.unshift(t.stringLiteral('p2')); - } - }, - }, - }; -} diff --git a/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/preset.js b/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/preset.js deleted file mode 100755 index 07ccbb29c5e0e..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/preset.js +++ /dev/null @@ -1,8 +0,0 @@ - -module.exports = function () { - return { - plugins: [ - require.resolve('./p1'), - ], - }; -} diff --git a/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/src/index.js b/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/src/index.js deleted file mode 100755 index 923799068e972..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-extra-babel-presets-and-plugins/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ - -console.log(1); -alert(2); diff --git a/packages/core/build/src/fixtures/build/rollup-extraExternals/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-extraExternals/.fatherrc.js deleted file mode 100755 index 409af0a2c8858..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-extraExternals/.fatherrc.js +++ /dev/null @@ -1,9 +0,0 @@ - -export default { - esm: { type: 'rollup' }, - extraExternals: [ - '@ali/foo', - '@tmp', - 'foo', - ] -}; diff --git a/packages/core/build/src/fixtures/build/rollup-extraExternals/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-extraExternals/expected/index.esm.js deleted file mode 100755 index 1a8c84dab5bb0..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-extraExternals/expected/index.esm.js +++ /dev/null @@ -1,5 +0,0 @@ -import 'foo'; -import '@ali/foo'; -import '@ali/foo/bar'; -import '@tmp/foo'; -import '@tmp/foo/bar'; diff --git a/packages/core/build/src/fixtures/build/rollup-extraExternals/package.json b/packages/core/build/src/fixtures/build/rollup-extraExternals/package.json deleted file mode 100755 index 6a3252ea8dfb4..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-extraExternals/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "0.1.0" -} diff --git a/packages/core/build/src/fixtures/build/rollup-extraExternals/src/index.js b/packages/core/build/src/fixtures/build/rollup-extraExternals/src/index.js deleted file mode 100755 index 3e307458fb6f3..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-extraExternals/src/index.js +++ /dev/null @@ -1,6 +0,0 @@ - -import 'foo'; -import '@ali/foo'; -import '@ali/foo/bar'; -import '@tmp/foo'; -import '@tmp/foo/bar'; diff --git a/packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/.fatherrc.js deleted file mode 100755 index f3438f39bd637..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/.fatherrc.js +++ /dev/null @@ -1,10 +0,0 @@ -import replace from 'rollup-plugin-replace'; - -export default { - esm: { type: 'rollup' }, - extraRollupPlugins: [ - replace({ - VERSION: JSON.stringify('1.0.0'), - }), - ], -}; diff --git a/packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/expected/index.esm.js deleted file mode 100755 index 22c71e692addb..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/expected/index.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log("1.0.0"); diff --git a/packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/package.json b/packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/package.json deleted file mode 100755 index 6a3252ea8dfb4..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "0.1.0" -} diff --git a/packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/src/index.js b/packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/src/index.js deleted file mode 100755 index 2c9bf55598484..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-extraRollupPlugins/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log(VERSION); diff --git a/packages/core/build/src/fixtures/build/rollup-import-directory/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-import-directory/.fatherrc.js deleted file mode 100755 index 8b9450222eff5..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-import-directory/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup' }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-import-directory/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-import-directory/expected/index.esm.js deleted file mode 100755 index 81afa3157c18b..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-import-directory/expected/index.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-import-directory/src/foo/index.js b/packages/core/build/src/fixtures/build/rollup-import-directory/src/foo/index.js deleted file mode 100755 index 695557eab3c4e..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-import-directory/src/foo/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-import-directory/src/index.js b/packages/core/build/src/fixtures/build/rollup-import-directory/src/index.js deleted file mode 100755 index ead12a719a812..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-import-directory/src/index.js +++ /dev/null @@ -1 +0,0 @@ -import './foo'; diff --git a/packages/core/build/src/fixtures/build/rollup-importLibToEs/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-importLibToEs/.fatherrc.js deleted file mode 100755 index 2881eb5847aee..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-importLibToEs/.fatherrc.js +++ /dev/null @@ -1,5 +0,0 @@ - -export default { - cjs: { type: 'rollup' }, - esm: { type: 'rollup', importLibToEs: true }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-importLibToEs/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-importLibToEs/expected/index.esm.js deleted file mode 100755 index ae0559b15b3ae..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-importLibToEs/expected/index.esm.js +++ /dev/null @@ -1,5 +0,0 @@ -function foo () { - return 'es/foo'; -} - -console.log(foo()); diff --git a/packages/core/build/src/fixtures/build/rollup-importLibToEs/expected/index.js b/packages/core/build/src/fixtures/build/rollup-importLibToEs/expected/index.js deleted file mode 100755 index c4e33e7715488..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-importLibToEs/expected/index.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -function foo () { - return 'lib/foo'; -} - -console.log(foo()); diff --git a/packages/core/build/src/fixtures/build/rollup-importLibToEs/src/index.js b/packages/core/build/src/fixtures/build/rollup-importLibToEs/src/index.js deleted file mode 100755 index a8105c428f343..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-importLibToEs/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import foo from 'foo/lib/foo'; - -console.log(foo()); diff --git a/packages/core/build/src/fixtures/build/rollup-inject/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-inject/.fatherrc.js deleted file mode 100755 index cc0759d337260..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-inject/.fatherrc.js +++ /dev/null @@ -1,7 +0,0 @@ - -export default { - esm: { type: 'rollup' }, - inject: { - 'window.foo': 'foo', - }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-inject/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-inject/expected/index.esm.js deleted file mode 100755 index 2f87bded3fda7..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-inject/expected/index.esm.js +++ /dev/null @@ -1,3 +0,0 @@ -import $inject_window_foo from 'foo'; - -console.log($inject_window_foo); diff --git a/packages/core/build/src/fixtures/build/rollup-inject/package.json b/packages/core/build/src/fixtures/build/rollup-inject/package.json deleted file mode 100755 index 040bc3a1eb645..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-inject/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "foo": "0.1.0" - } -} diff --git a/packages/core/build/src/fixtures/build/rollup-inject/src/index.js b/packages/core/build/src/fixtures/build/rollup-inject/src/index.js deleted file mode 100755 index 4f632e0dee9de..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-inject/src/index.js +++ /dev/null @@ -1 +0,0 @@ -console.log(window.foo); diff --git a/packages/core/build/src/fixtures/build/rollup-json/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-json/.fatherrc.js deleted file mode 100755 index 8b9450222eff5..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-json/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup' }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-json/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-json/expected/index.esm.js deleted file mode 100755 index 6ee3aced8fe20..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-json/expected/index.esm.js +++ /dev/null @@ -1,6 +0,0 @@ -var foo = "bar"; -var pkg = { - foo: foo -}; - -console.log(pkg); diff --git a/packages/core/build/src/fixtures/build/rollup-json/src/index.js b/packages/core/build/src/fixtures/build/rollup-json/src/index.js deleted file mode 100755 index 3ce7d4a366334..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-json/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import pkg from './pkg.json'; - -console.log(pkg); diff --git a/packages/core/build/src/fixtures/build/rollup-json/src/pkg.json b/packages/core/build/src/fixtures/build/rollup-json/src/pkg.json deleted file mode 100755 index c8c4105eb57cd..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-json/src/pkg.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "foo": "bar" -} diff --git a/packages/core/build/src/fixtures/build/rollup-less-modules/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-less-modules/.fatherrc.js deleted file mode 100755 index d75347b75949d..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-less-modules/.fatherrc.js +++ /dev/null @@ -1,5 +0,0 @@ - -export default { - esm: { type: 'rollup' }, - cssModules: true, -} diff --git a/packages/core/build/src/fixtures/build/rollup-less-modules/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-less-modules/expected/index.esm.js deleted file mode 100755 index 964691ea99960..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-less-modules/expected/index.esm.js +++ /dev/null @@ -1,32 +0,0 @@ -function styleInject(css, ref) { - if ( ref === void 0 ) ref = {}; - var insertAt = ref.insertAt; - - if (!css || typeof document === 'undefined') { return; } - - var head = document.head || document.getElementsByTagName('head')[0]; - var style = document.createElement('style'); - style.type = 'text/css'; - - if (insertAt === 'top') { - if (head.firstChild) { - head.insertBefore(style, head.firstChild); - } else { - head.appendChild(style); - } - } else { - head.appendChild(style); - } - - if (style.styleSheet) { - style.styleSheet.cssText = css; - } else { - style.appendChild(document.createTextNode(css)); - } -} - -var css_248z = ".foo_a__1JvkR {\n color: green;\n}\n"; -var styles = {"a":"foo_a__1JvkR"}; -styleInject(css_248z); - -console.log('foo', styles.a); diff --git a/packages/core/build/src/fixtures/build/rollup-less-modules/src/foo.less b/packages/core/build/src/fixtures/build/rollup-less-modules/src/foo.less deleted file mode 100755 index ec0af869aa8fb..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-less-modules/src/foo.less +++ /dev/null @@ -1,2 +0,0 @@ - -.a { color: green; } diff --git a/packages/core/build/src/fixtures/build/rollup-less-modules/src/index.js b/packages/core/build/src/fixtures/build/rollup-less-modules/src/index.js deleted file mode 100755 index 9c442740f3e72..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-less-modules/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import styles from './foo.less'; - -console.log('foo', styles.a); diff --git a/packages/core/build/src/fixtures/build/rollup-less-node-modules/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-less-node-modules/.fatherrc.js deleted file mode 100755 index 2f10183a37fc6..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-less-node-modules/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/rollup-less-node-modules/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-less-node-modules/expected/index.esm.js deleted file mode 100755 index bea7558e710aa..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-less-node-modules/expected/index.esm.js +++ /dev/null @@ -1,31 +0,0 @@ -function styleInject(css, ref) { - if ( ref === void 0 ) ref = {}; - var insertAt = ref.insertAt; - - if (!css || typeof document === 'undefined') { return; } - - var head = document.head || document.getElementsByTagName('head')[0]; - var style = document.createElement('style'); - style.type = 'text/css'; - - if (insertAt === 'top') { - if (head.firstChild) { - head.insertBefore(style, head.firstChild); - } else { - head.appendChild(style); - } - } else { - head.appendChild(style); - } - - if (style.styleSheet) { - style.styleSheet.cssText = css; - } else { - style.appendChild(document.createTextNode(css)); - } -} - -var css_248z = ".bar {\n color: red;\n}\n.a {\n color: green;\n}\n"; -styleInject(css_248z); - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-less-node-modules/src/foo.less b/packages/core/build/src/fixtures/build/rollup-less-node-modules/src/foo.less deleted file mode 100755 index f49f40a454ff4..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-less-node-modules/src/foo.less +++ /dev/null @@ -1,3 +0,0 @@ -@import '~foo/bar.less'; - -.a { color: green; } diff --git a/packages/core/build/src/fixtures/build/rollup-less-node-modules/src/index.js b/packages/core/build/src/fixtures/build/rollup-less-node-modules/src/index.js deleted file mode 100755 index eb9155cfcf2bb..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-less-node-modules/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import './foo.less'; - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-less/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-less/.fatherrc.js deleted file mode 100755 index 2f10183a37fc6..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-less/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/rollup-less/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-less/expected/index.esm.js deleted file mode 100755 index 47e82c7fc1d13..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-less/expected/index.esm.js +++ /dev/null @@ -1,31 +0,0 @@ -function styleInject(css, ref) { - if ( ref === void 0 ) ref = {}; - var insertAt = ref.insertAt; - - if (!css || typeof document === 'undefined') { return; } - - var head = document.head || document.getElementsByTagName('head')[0]; - var style = document.createElement('style'); - style.type = 'text/css'; - - if (insertAt === 'top') { - if (head.firstChild) { - head.insertBefore(style, head.firstChild); - } else { - head.appendChild(style); - } - } else { - head.appendChild(style); - } - - if (style.styleSheet) { - style.styleSheet.cssText = css; - } else { - style.appendChild(document.createTextNode(css)); - } -} - -var css_248z = ".a {\n color: green;\n}\n"; -styleInject(css_248z); - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-less/src/foo.less b/packages/core/build/src/fixtures/build/rollup-less/src/foo.less deleted file mode 100755 index ec0af869aa8fb..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-less/src/foo.less +++ /dev/null @@ -1,2 +0,0 @@ - -.a { color: green; } diff --git a/packages/core/build/src/fixtures/build/rollup-less/src/index.js b/packages/core/build/src/fixtures/build/rollup-less/src/index.js deleted file mode 100755 index eb9155cfcf2bb..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-less/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import './foo.less'; - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-multiple-entry/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-multiple-entry/.fatherrc.js deleted file mode 100755 index c49c9b152627c..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-multiple-entry/.fatherrc.js +++ /dev/null @@ -1,8 +0,0 @@ - -export default { - entry: [ - './src/foo.js', - './src/bar.js', - ], - esm: { type: 'rollup' }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-multiple-entry/expected/bar.esm.js b/packages/core/build/src/fixtures/build/rollup-multiple-entry/expected/bar.esm.js deleted file mode 100755 index 8cc7aa3e902fc..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-multiple-entry/expected/bar.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/rollup-multiple-entry/expected/foo.esm.js b/packages/core/build/src/fixtures/build/rollup-multiple-entry/expected/foo.esm.js deleted file mode 100755 index 81afa3157c18b..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-multiple-entry/expected/foo.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-multiple-entry/src/bar.js b/packages/core/build/src/fixtures/build/rollup-multiple-entry/src/bar.js deleted file mode 100755 index 9638d025d9eed..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-multiple-entry/src/bar.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/rollup-multiple-entry/src/foo.js b/packages/core/build/src/fixtures/build/rollup-multiple-entry/src/foo.js deleted file mode 100755 index 695557eab3c4e..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-multiple-entry/src/foo.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-node-resolve/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-node-resolve/.fatherrc.js deleted file mode 100755 index 5d6b9128ee5ba..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-node-resolve/.fatherrc.js +++ /dev/null @@ -1,9 +0,0 @@ - -export default { - umd: { - minFile: false, - }, - nodeResolveOpts: { - browser: true, - }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-node-resolve/expected/index.umd.js b/packages/core/build/src/fixtures/build/rollup-node-resolve/expected/index.umd.js deleted file mode 100755 index 5e9006d51920e..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-node-resolve/expected/index.umd.js +++ /dev/null @@ -1,10 +0,0 @@ -(function (factory) { - typeof define === 'function' && define.amd ? define(factory) : - factory(); -}((function () { 'use strict'; - - var browser = 'hello browser'; - - console.log(browser); - -}))); diff --git a/packages/core/build/src/fixtures/build/rollup-node-resolve/package.json b/packages/core/build/src/fixtures/build/rollup-node-resolve/package.json deleted file mode 100755 index 040bc3a1eb645..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-node-resolve/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "foo": "0.1.0" - } -} diff --git a/packages/core/build/src/fixtures/build/rollup-node-resolve/src/index.js b/packages/core/build/src/fixtures/build/rollup-node-resolve/src/index.js deleted file mode 100755 index 9096879303779..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-node-resolve/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import hello from 'foo'; - -console.log(hello); diff --git a/packages/core/build/src/fixtures/build/rollup-normal/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-normal/.fatherrc.js deleted file mode 100755 index 2ae3de8e24826..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-normal/.fatherrc.js +++ /dev/null @@ -1,6 +0,0 @@ - -export default { - cjs: { type: 'rollup' }, - esm: { type: 'rollup' }, - umd: {}, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-normal/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-normal/expected/index.esm.js deleted file mode 100755 index ea63e10f290ab..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-normal/expected/index.esm.js +++ /dev/null @@ -1,7 +0,0 @@ -import 'bar'; - -function foo () { - return 'foo'; -} - -console.log(foo()); diff --git a/packages/core/build/src/fixtures/build/rollup-normal/expected/index.js b/packages/core/build/src/fixtures/build/rollup-normal/expected/index.js deleted file mode 100755 index c50247820a743..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-normal/expected/index.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -require('bar'); - -function foo () { - return 'foo'; -} - -console.log(foo()); diff --git a/packages/core/build/src/fixtures/build/rollup-normal/expected/index.umd.js b/packages/core/build/src/fixtures/build/rollup-normal/expected/index.umd.js deleted file mode 100755 index ca82ca23f7eb1..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-normal/expected/index.umd.js +++ /dev/null @@ -1,12 +0,0 @@ -(function (factory) { - typeof define === 'function' && define.amd ? define(['bar'], factory) : - factory(); -}((function () { 'use strict'; - - function foo () { - return 'foo'; - } - - console.log(foo()); - -}))); diff --git a/packages/core/build/src/fixtures/build/rollup-normal/expected/index.umd.min.js b/packages/core/build/src/fixtures/build/rollup-normal/expected/index.umd.min.js deleted file mode 100755 index c654cc12fe80a..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-normal/expected/index.umd.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(n){"function"==typeof define&&define.amd?define(["bar"],n):n()}((function(){"use strict";console.log("foo")})); diff --git a/packages/core/build/src/fixtures/build/rollup-normal/package.json b/packages/core/build/src/fixtures/build/rollup-normal/package.json deleted file mode 100755 index 5ca44beaa2c51..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-normal/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "peerDependencies": { - "bar": "0.1.0" - } -} diff --git a/packages/core/build/src/fixtures/build/rollup-normal/src/foo.js b/packages/core/build/src/fixtures/build/rollup-normal/src/foo.js deleted file mode 100755 index 8fcf68e1bfa15..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-normal/src/foo.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default function () { - return 'foo'; -} diff --git a/packages/core/build/src/fixtures/build/rollup-normal/src/index.js b/packages/core/build/src/fixtures/build/rollup-normal/src/index.js deleted file mode 100755 index 9d80d06dcd668..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-normal/src/index.js +++ /dev/null @@ -1,4 +0,0 @@ -import 'bar'; -import foo from './foo'; - -console.log(foo()); diff --git a/packages/core/build/src/fixtures/build/rollup-output-dir/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-output-dir/.fatherrc.js deleted file mode 100755 index 463d295348798..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-output-dir/.fatherrc.js +++ /dev/null @@ -1,5 +0,0 @@ - -export default { - entry: ['src/a.js', 'src/b.js'], - esm: { type: 'rollup', dir: 'dist/out' }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-output-dir/expected/out/a.esm.js b/packages/core/build/src/fixtures/build/rollup-output-dir/expected/out/a.esm.js deleted file mode 100755 index 8609d075540eb..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-output-dir/expected/out/a.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('a'); diff --git a/packages/core/build/src/fixtures/build/rollup-output-dir/expected/out/b.esm.js b/packages/core/build/src/fixtures/build/rollup-output-dir/expected/out/b.esm.js deleted file mode 100755 index eeb313a03479e..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-output-dir/expected/out/b.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('b'); diff --git a/packages/core/build/src/fixtures/build/rollup-output-dir/src/a.js b/packages/core/build/src/fixtures/build/rollup-output-dir/src/a.js deleted file mode 100755 index ad0e1a70aea6d..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-output-dir/src/a.js +++ /dev/null @@ -1 +0,0 @@ -console.log('a'); \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/rollup-output-dir/src/b.js b/packages/core/build/src/fixtures/build/rollup-output-dir/src/b.js deleted file mode 100755 index 3cd704307139b..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-output-dir/src/b.js +++ /dev/null @@ -1 +0,0 @@ -console.log('b') \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/.fatherrc.js deleted file mode 100755 index 1bc453016d9f9..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/.fatherrc.js +++ /dev/null @@ -1,29 +0,0 @@ - -export default { - entry: [ - 'src/index.js', - 'src/foo.js', - 'src/bar.js', - ], - umd: { - }, - cjs: { type: 'rollup' }, - esm: { type: 'rollup' }, - file: 'dva', - overridesByEntry: { - 'src/foo.js': { - file: 'dva.foo', - cjs: { type: 'rollup', file: 'dva.foo.cjs' }, - esm: { type: 'rollup', file: 'dva.foo.esm' }, - }, - 'src/bar.js': { - cjs: false, - esm: false, - umd: { file: 'dva.bar' }, - }, - 'src/index.js': { - cjs: false, - esm: false, - }, - }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.bar.js b/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.bar.js deleted file mode 100755 index 70ba81f61dd3c..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.bar.js +++ /dev/null @@ -1,8 +0,0 @@ -(function (factory) { - typeof define === 'function' && define.amd ? define(factory) : - factory(); -}((function () { 'use strict'; - - console.log('bar'); - -}))); diff --git a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.bar.min.js b/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.bar.min.js deleted file mode 100755 index 7f57ce5a8d635..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.bar.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(n){"function"==typeof define&&define.amd?define(n):n()}((function(){"use strict";console.log("bar")})); diff --git a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.esm.js b/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.esm.js deleted file mode 100755 index 8cc7aa3e902fc..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.cjs.js b/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.cjs.js deleted file mode 100755 index aece69e8bb291..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.cjs.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.esm.js b/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.esm.js deleted file mode 100755 index 81afa3157c18b..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.umd.js b/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.umd.js deleted file mode 100755 index 62e3a909f0cfd..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.umd.js +++ /dev/null @@ -1,8 +0,0 @@ -(function (factory) { - typeof define === 'function' && define.amd ? define(factory) : - factory(); -}((function () { 'use strict'; - - console.log('foo'); - -}))); diff --git a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.umd.min.js b/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.umd.min.js deleted file mode 100755 index e383c2dd0e81f..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.foo.umd.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(n){"function"==typeof define&&define.amd?define(n):n()}((function(){"use strict";console.log("foo")})); diff --git a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.js b/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.js deleted file mode 100755 index 2b1938520eaac..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.umd.js b/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.umd.js deleted file mode 100755 index fd2bf1e894ba4..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.umd.js +++ /dev/null @@ -1,8 +0,0 @@ -(function (factory) { - typeof define === 'function' && define.amd ? define(factory) : - factory(); -}((function () { 'use strict'; - - console.log('index'); - -}))); diff --git a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.umd.min.js b/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.umd.min.js deleted file mode 100755 index a15d21f33b46b..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/expected/dva.umd.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(n){"function"==typeof define&&define.amd?define(n):n()}((function(){"use strict";console.log("index")})); diff --git a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/src/bar.js b/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/src/bar.js deleted file mode 100755 index 9638d025d9eed..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/src/bar.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('bar'); diff --git a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/src/foo.js b/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/src/foo.js deleted file mode 100755 index 695557eab3c4e..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/src/foo.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/src/index.js b/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/src/index.js deleted file mode 100755 index 112a16294a981..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-outputFilename-with-overrides/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('index'); diff --git a/packages/core/build/src/fixtures/build/rollup-replace/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-replace/.fatherrc.js deleted file mode 100755 index 5be9fca42837f..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-replace/.fatherrc.js +++ /dev/null @@ -1,7 +0,0 @@ - -export default { - esm: { type: 'rollup' }, - replace: { - VERSION: JSON.stringify(require('./package').version), - }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-replace/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-replace/expected/index.esm.js deleted file mode 100755 index 3bbfad94d5ea5..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-replace/expected/index.esm.js +++ /dev/null @@ -1 +0,0 @@ -console.log("0.1.0"); diff --git a/packages/core/build/src/fixtures/build/rollup-replace/package.json b/packages/core/build/src/fixtures/build/rollup-replace/package.json deleted file mode 100755 index 6a3252ea8dfb4..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-replace/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "0.1.0" -} diff --git a/packages/core/build/src/fixtures/build/rollup-replace/src/index.js b/packages/core/build/src/fixtures/build/rollup-replace/src/index.js deleted file mode 100755 index 2c9bf55598484..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-replace/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log(VERSION); diff --git a/packages/core/build/src/fixtures/build/rollup-resolve-jsx/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-resolve-jsx/.fatherrc.js deleted file mode 100755 index 8b9450222eff5..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-resolve-jsx/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup' }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-resolve-jsx/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-resolve-jsx/expected/index.esm.js deleted file mode 100755 index 949fb857ba82d..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-resolve-jsx/expected/index.esm.js +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; - -var Foo = (function () { - return /*#__PURE__*/React.createElement("h1", null, "Foo"); -}); - -var index = (function () { - return /*#__PURE__*/React.createElement(Foo, null); -}); - -export default index; diff --git a/packages/core/build/src/fixtures/build/rollup-resolve-jsx/package.json b/packages/core/build/src/fixtures/build/rollup-resolve-jsx/package.json deleted file mode 100755 index e7b40d62e4f97..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-resolve-jsx/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "react": "18.0.0" - } -} diff --git a/packages/core/build/src/fixtures/build/rollup-resolve-jsx/src/Foo.jsx b/packages/core/build/src/fixtures/build/rollup-resolve-jsx/src/Foo.jsx deleted file mode 100755 index b518bbcb20962..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-resolve-jsx/src/Foo.jsx +++ /dev/null @@ -1,2 +0,0 @@ - -export default () =>

Foo

; diff --git a/packages/core/build/src/fixtures/build/rollup-resolve-jsx/src/index.js b/packages/core/build/src/fixtures/build/rollup-resolve-jsx/src/index.js deleted file mode 100755 index f61210cf6b4f9..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-resolve-jsx/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import Foo from './Foo'; - -export default () => ; diff --git a/packages/core/build/src/fixtures/build/rollup-runtimeHelpers/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-runtimeHelpers/.fatherrc.js deleted file mode 100755 index b3cf647243a24..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-runtimeHelpers/.fatherrc.js +++ /dev/null @@ -1,6 +0,0 @@ - -export default { - runtimeHelpers: true, - esm: { type: 'rollup' }, - cjs: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/rollup-runtimeHelpers/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-runtimeHelpers/expected/index.esm.js deleted file mode 100755 index 1814cb26f369f..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-runtimeHelpers/expected/index.esm.js +++ /dev/null @@ -1,17 +0,0 @@ -import _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck'; -import _createClass from '@babel/runtime/helpers/esm/createClass'; - -var A = /*#__PURE__*/function () { - function A() { - _classCallCheck(this, A); - } - - _createClass(A, [{ - key: "foo", - value: function foo() {} - }]); - - return A; -}(); - -new A().foo(); diff --git a/packages/core/build/src/fixtures/build/rollup-runtimeHelpers/expected/index.js b/packages/core/build/src/fixtures/build/rollup-runtimeHelpers/expected/index.js deleted file mode 100755 index 73d0a72df6d32..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-runtimeHelpers/expected/index.js +++ /dev/null @@ -1,38 +0,0 @@ -'use strict'; - -function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} - -function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); - } -} - -function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - return Constructor; -} - -var A = /*#__PURE__*/function () { - function A() { - _classCallCheck(this, A); - } - - _createClass(A, [{ - key: "foo", - value: function foo() {} - }]); - - return A; -}(); - -new A().foo(); diff --git a/packages/core/build/src/fixtures/build/rollup-runtimeHelpers/package.json b/packages/core/build/src/fixtures/build/rollup-runtimeHelpers/package.json deleted file mode 100755 index 689bf9cfb757f..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-runtimeHelpers/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "@babel/runtime": "0.1.0" - } -} diff --git a/packages/core/build/src/fixtures/build/rollup-runtimeHelpers/src/index.js b/packages/core/build/src/fixtures/build/rollup-runtimeHelpers/src/index.js deleted file mode 100755 index 0cff149b2f0eb..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-runtimeHelpers/src/index.js +++ /dev/null @@ -1,6 +0,0 @@ - -class A { - foo() {} -} - -(new A()).foo(); diff --git a/packages/core/build/src/fixtures/build/rollup-sass/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-sass/.fatherrc.js deleted file mode 100755 index 2f10183a37fc6..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-sass/.fatherrc.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default { - esm: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/rollup-sass/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-sass/expected/index.esm.js deleted file mode 100755 index 12763bf9a7c1f..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-sass/expected/index.esm.js +++ /dev/null @@ -1,31 +0,0 @@ -function styleInject(css, ref) { - if ( ref === void 0 ) ref = {}; - var insertAt = ref.insertAt; - - if (!css || typeof document === 'undefined') { return; } - - var head = document.head || document.getElementsByTagName('head')[0]; - var style = document.createElement('style'); - style.type = 'text/css'; - - if (insertAt === 'top') { - if (head.firstChild) { - head.insertBefore(style, head.firstChild); - } else { - head.appendChild(style); - } - } else { - head.appendChild(style); - } - - if (style.styleSheet) { - style.styleSheet.cssText = css; - } else { - style.appendChild(document.createTextNode(css)); - } -} - -var css_248z = ".a {\n color: green; }\n"; -styleInject(css_248z); - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-sass/src/foo.scss b/packages/core/build/src/fixtures/build/rollup-sass/src/foo.scss deleted file mode 100755 index ec0af869aa8fb..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-sass/src/foo.scss +++ /dev/null @@ -1,2 +0,0 @@ - -.a { color: green; } diff --git a/packages/core/build/src/fixtures/build/rollup-sass/src/index.js b/packages/core/build/src/fixtures/build/rollup-sass/src/index.js deleted file mode 100755 index 28c5d8eb5b1dc..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-sass/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import './foo.scss'; - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-svgr/.umirc.library.js b/packages/core/build/src/fixtures/build/rollup-svgr/.umirc.library.js deleted file mode 100755 index 030fee174ef5c..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-svgr/.umirc.library.js +++ /dev/null @@ -1,3 +0,0 @@ -export default { - esm: { type: 'rollup' }, -} diff --git a/packages/core/build/src/fixtures/build/rollup-svgr/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-svgr/expected/index.esm.js deleted file mode 100755 index 51370ec9fbd4e..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-svgr/expected/index.esm.js +++ /dev/null @@ -1,21 +0,0 @@ -import React, { createElement } from 'react'; - -var _defs, _path; - -function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } - -function SvgMenu(props) { - return /*#__PURE__*/createElement("svg", _extends({ - className: "menu_svg__icon", - viewBox: "0 0 1024 1024", - xmlns: "http://www.w3.org/2000/svg", - width: 200, - height: 200 - }, props), _defs || (_defs = /*#__PURE__*/createElement("defs", null, /*#__PURE__*/createElement("style", null))), _path || (_path = /*#__PURE__*/createElement("path", { - d: "M656 512h160c8.8 0 16-7.2 16-16v-96c0-8.8-7.2-16-16-16H656c-8.8 0-16 7.2-16 16v22H346V320h86c8.8 0 16-7.2 16-16v-96c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16v96c0 8.8 7.2 16 16 16h86v378c0 17.7 14.3 32 32 32h314v22c0 8.8 7.2 16 16 16h160c8.8 0 16-7.2 16-16v-96c0-8.8-7.2-16-16-16H656c-8.8 0-16 7.2-16 16v22H346V474h294v22c0 8.8 7.2 16 16 16z" - }))); -} - -var svgUrl = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20t%3D%221558949630117%22%20class%3D%22icon%22%20style%3D%22%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20%20%20%20p-id%3D%2233994%22%20%20%20%20%20width%3D%22200%22%20height%3D%22200%22%3E%20%20%3Cdefs%3E%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%3C%2Fstyle%3E%20%20%3C%2Fdefs%3E%20%20%3Cpath%20%20%20%20d%3D%22M656%20512h160c8.8%200%2016-7.2%2016-16v-96c0-8.8-7.2-16-16-16H656c-8.8%200-16%207.2-16%2016v22H346V320h86c8.8%200%2016-7.2%2016-16v-96c0-8.8-7.2-16-16-16H208c-8.8%200-16%207.2-16%2016v96c0%208.8%207.2%2016%2016%2016h86v378c0%2017.7%2014.3%2032%2032%2032h314v22c0%208.8%207.2%2016%2016%2016h160c8.8%200%2016-7.2%2016-16v-96c0-8.8-7.2-16-16-16H656c-8.8%200-16%207.2-16%2016v22H346V474h294v22c0%208.8%207.2%2016%2016%2016z%22%20%20%20%20p-id%3D%2233995%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E"; - -console.log(svgUrl, /*#__PURE__*/React.createElement(SvgMenu, null)); diff --git a/packages/core/build/src/fixtures/build/rollup-svgr/package.json b/packages/core/build/src/fixtures/build/rollup-svgr/package.json deleted file mode 100755 index e7b40d62e4f97..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-svgr/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "react": "18.0.0" - } -} diff --git a/packages/core/build/src/fixtures/build/rollup-svgr/src/index.jsx b/packages/core/build/src/fixtures/build/rollup-svgr/src/index.jsx deleted file mode 100755 index 769d90a58b62f..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-svgr/src/index.jsx +++ /dev/null @@ -1,3 +0,0 @@ -import svgUrl, { ReactComponent as MenuComponent } from './menu.svg'; - -console.log(svgUrl, ); diff --git a/packages/core/build/src/fixtures/build/rollup-svgr/src/menu.svg b/packages/core/build/src/fixtures/build/rollup-svgr/src/menu.svg deleted file mode 100755 index bd7bb1417e9d1..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-svgr/src/menu.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - diff --git a/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/.fatherrc.ts b/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/.fatherrc.ts deleted file mode 100755 index 35309e6f8de87..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/.fatherrc.ts +++ /dev/null @@ -1,7 +0,0 @@ -export default { - cjs: 'rollup', - esm: 'rollup', - typescriptOpts: { - useTsconfigDeclarationDir: true, - }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/expected/index.esm.js deleted file mode 100755 index a0ca5bfdffa7e..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/expected/index.esm.js +++ /dev/null @@ -1,5 +0,0 @@ -function foo(opts) { - return opts.foo ? 'foo' : 'bar'; -} - -export default foo; diff --git a/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/expected/index.js b/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/expected/index.js deleted file mode 100755 index 39a5ac9899d8b..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/expected/index.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -function foo(opts) { - return opts.foo ? 'foo' : 'bar'; -} - -module.exports = foo; diff --git a/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/expected/type/index.d.ts b/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/expected/type/index.d.ts deleted file mode 100755 index 9eea9c0f15fb3..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/expected/type/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -interface IOpts { - foo: boolean; -} -export default function foo(opts: IOpts): string; -export {}; diff --git a/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/src/index.ts b/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/src/index.ts deleted file mode 100755 index 3a0363ce2a05c..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/src/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -interface IOpts { - foo: boolean; -} - -export default function foo(opts: IOpts): string { - return opts.foo ? 'foo' : 'bar'; -} diff --git a/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/tsconfig.json b/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/tsconfig.json deleted file mode 100755 index 59dd443861d9f..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "compilerOptions": { - "target": "esnext", - "moduleResolution": "node", - "jsx": "preserve", - "esModuleInterop": true, - "declarationDir": "dist/type" - } -} diff --git a/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/typings.d.ts b/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/typings.d.ts deleted file mode 100755 index 211708df8c680..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-typescript-declarationDir/typings.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -declare module '*.less' { - interface IClassNames { - [className: string]: string; - } - const classNames: IClassNames; - export = classNames; -} diff --git a/packages/core/build/src/fixtures/build/rollup-typescript/.fatherrc.ts b/packages/core/build/src/fixtures/build/rollup-typescript/.fatherrc.ts deleted file mode 100755 index 3e130204ea11b..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-typescript/.fatherrc.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default { - cjs: 'rollup', - esm: 'rollup', -}; diff --git a/packages/core/build/src/fixtures/build/rollup-typescript/expected/index.d.ts b/packages/core/build/src/fixtures/build/rollup-typescript/expected/index.d.ts deleted file mode 100755 index 9eea9c0f15fb3..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-typescript/expected/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -interface IOpts { - foo: boolean; -} -export default function foo(opts: IOpts): string; -export {}; diff --git a/packages/core/build/src/fixtures/build/rollup-typescript/expected/index.esm.js b/packages/core/build/src/fixtures/build/rollup-typescript/expected/index.esm.js deleted file mode 100755 index a0ca5bfdffa7e..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-typescript/expected/index.esm.js +++ /dev/null @@ -1,5 +0,0 @@ -function foo(opts) { - return opts.foo ? 'foo' : 'bar'; -} - -export default foo; diff --git a/packages/core/build/src/fixtures/build/rollup-typescript/expected/index.js b/packages/core/build/src/fixtures/build/rollup-typescript/expected/index.js deleted file mode 100755 index 39a5ac9899d8b..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-typescript/expected/index.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -function foo(opts) { - return opts.foo ? 'foo' : 'bar'; -} - -module.exports = foo; diff --git a/packages/core/build/src/fixtures/build/rollup-typescript/src/index.ts b/packages/core/build/src/fixtures/build/rollup-typescript/src/index.ts deleted file mode 100755 index 3a0363ce2a05c..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-typescript/src/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -interface IOpts { - foo: boolean; -} - -export default function foo(opts: IOpts): string { - return opts.foo ? 'foo' : 'bar'; -} diff --git a/packages/core/build/src/fixtures/build/rollup-typescript/tsconfig.json b/packages/core/build/src/fixtures/build/rollup-typescript/tsconfig.json deleted file mode 100755 index d322bf935abea..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-typescript/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "esnext", - "moduleResolution": "node", - "jsx": "preserve", - "esModuleInterop": true - } -} diff --git a/packages/core/build/src/fixtures/build/rollup-typescript/typings.d.ts b/packages/core/build/src/fixtures/build/rollup-typescript/typings.d.ts deleted file mode 100755 index 211708df8c680..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-typescript/typings.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -declare module '*.less' { - interface IClassNames { - [className: string]: string; - } - const classNames: IClassNames; - export = classNames; -} diff --git a/packages/core/build/src/fixtures/build/rollup-umd-auto-name/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-umd-auto-name/.fatherrc.js deleted file mode 100755 index da054b28720c4..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-auto-name/.fatherrc.js +++ /dev/null @@ -1,6 +0,0 @@ - -export default { - umd: { - minFile: false - }, -} diff --git a/packages/core/build/src/fixtures/build/rollup-umd-auto-name/expected/index.umd.js b/packages/core/build/src/fixtures/build/rollup-umd-auto-name/expected/index.umd.js deleted file mode 100755 index 07691b4fa8f29..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-auto-name/expected/index.umd.js +++ /dev/null @@ -1,13 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : - typeof define === 'function' && define.amd ? define(factory) : - (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.fooBar = factory()); -}(this, (function () { 'use strict'; - - function index () { - return 'foo'; - } - - return index; - -}))); diff --git a/packages/core/build/src/fixtures/build/rollup-umd-auto-name/package.json b/packages/core/build/src/fixtures/build/rollup-umd-auto-name/package.json deleted file mode 100755 index a02a5e12d0bac..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-auto-name/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "@umi/foo-bar" -} diff --git a/packages/core/build/src/fixtures/build/rollup-umd-auto-name/src/index.js b/packages/core/build/src/fixtures/build/rollup-umd-auto-name/src/index.js deleted file mode 100755 index 8fcf68e1bfa15..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-auto-name/src/index.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default function () { - return 'foo'; -} diff --git a/packages/core/build/src/fixtures/build/rollup-umd-commonjs/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-umd-commonjs/.fatherrc.js deleted file mode 100755 index 6a76fec2ffa02..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-commonjs/.fatherrc.js +++ /dev/null @@ -1,6 +0,0 @@ -export default { - umd: { - name: 'foo', - minFile: false, - } -}; diff --git a/packages/core/build/src/fixtures/build/rollup-umd-commonjs/expected/index.umd.js b/packages/core/build/src/fixtures/build/rollup-umd-commonjs/expected/index.umd.js deleted file mode 100755 index 0cbb8eb4d39c6..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-commonjs/expected/index.umd.js +++ /dev/null @@ -1,17 +0,0 @@ -(function (factory) { - typeof define === 'function' && define.amd ? define(factory) : - factory(); -}((function () { 'use strict'; - - var parse = function parse() {}; - - var stringify = function stringify() {}; - - var queryString = { - parse: parse, - stringify: stringify - }; - - queryString.parse(); - -}))); diff --git a/packages/core/build/src/fixtures/build/rollup-umd-commonjs/package.json b/packages/core/build/src/fixtures/build/rollup-umd-commonjs/package.json deleted file mode 100755 index 6a3252ea8dfb4..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-commonjs/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "0.1.0" -} diff --git a/packages/core/build/src/fixtures/build/rollup-umd-commonjs/src/index.js b/packages/core/build/src/fixtures/build/rollup-umd-commonjs/src/index.js deleted file mode 100755 index 9ffbd962d300f..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-commonjs/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ -import querystring from 'query-string'; -querystring.parse(); \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/.fatherrc.js deleted file mode 100755 index e1ea4fca3da23..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/.fatherrc.js +++ /dev/null @@ -1,5 +0,0 @@ - -export default { - extractCSS: true, - umd: {}, -} diff --git a/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.css b/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.css deleted file mode 100755 index ec0af869aa8fb..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.css +++ /dev/null @@ -1,2 +0,0 @@ - -.a { color: green; } diff --git a/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.js b/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.js deleted file mode 100755 index 62e3a909f0cfd..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.js +++ /dev/null @@ -1,8 +0,0 @@ -(function (factory) { - typeof define === 'function' && define.amd ? define(factory) : - factory(); -}((function () { 'use strict'; - - console.log('foo'); - -}))); diff --git a/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.min.css b/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.min.css deleted file mode 100755 index de2080200fad6..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.min.css +++ /dev/null @@ -1 +0,0 @@ -.a{color:green} \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.min.js b/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.min.js deleted file mode 100755 index e383c2dd0e81f..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/expected/index.umd.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(n){"function"==typeof define&&define.amd?define(n):n()}((function(){"use strict";console.log("foo")})); diff --git a/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/src/foo.css b/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/src/foo.css deleted file mode 100755 index ec0af869aa8fb..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/src/foo.css +++ /dev/null @@ -1,2 +0,0 @@ - -.a { color: green; } diff --git a/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/src/index.js b/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/src/index.js deleted file mode 100755 index 9a761d97aac83..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-css-extract-minFile/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import './foo.css'; - -console.log('foo'); diff --git a/packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/.fatherrc.js deleted file mode 100755 index f3ec30554ea9b..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/.fatherrc.js +++ /dev/null @@ -1,6 +0,0 @@ -export default { - umd: { - name: 'foo', - minFile: false, - }, -}; diff --git a/packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/expected/index.umd.js b/packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/expected/index.umd.js deleted file mode 100755 index 7c4701511df31..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/expected/index.umd.js +++ /dev/null @@ -1,20 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : - typeof define === 'function' && define.amd ? define(['exports'], factory) : - (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.foo = {})); -}(this, (function (exports) { 'use strict'; - - var hierarchy = function hierarchy() {}; - - const foo = () => { - }; - - var a = function a() {}; - - exports.a = a; - exports.foo = foo; - exports.hierarchy = hierarchy; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); diff --git a/packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/package.json b/packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/package.json deleted file mode 100755 index 6a3252ea8dfb4..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "0.1.0" -} diff --git a/packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/src/a.js b/packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/src/a.js deleted file mode 100755 index a641ceb269500..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/src/a.js +++ /dev/null @@ -1,3 +0,0 @@ -const a = () => { -} -export { a }; \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/src/index.js b/packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/src/index.js deleted file mode 100755 index 8d5d40d2fa871..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-es5ImcompatibleVersions/src/index.js +++ /dev/null @@ -1,7 +0,0 @@ - -// 在 es5ImcompatibleVersions 里配置的包 -export * from 'd3-hierarchy'; -// 不在 es5ImcompatibleVersions 里配置的包 -export * from 'foo'; -// 当前项目中的代码 -export * from './a'; diff --git a/packages/core/build/src/fixtures/build/rollup-umd-globals/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-umd-globals/.fatherrc.js deleted file mode 100755 index 44cc7c4600f69..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-globals/.fatherrc.js +++ /dev/null @@ -1,9 +0,0 @@ - -export default { - umd: { - minFile: false, - globals: { - foo: '$', - }, - }, -} diff --git a/packages/core/build/src/fixtures/build/rollup-umd-globals/expected/index.umd.js b/packages/core/build/src/fixtures/build/rollup-umd-globals/expected/index.umd.js deleted file mode 100755 index 07054a168160d..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-globals/expected/index.umd.js +++ /dev/null @@ -1,13 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('foo')) : - typeof define === 'function' && define.amd ? define(['foo'], factory) : - (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.$)); -}(this, (function (foo) { 'use strict'; - - function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } - - var foo__default = /*#__PURE__*/_interopDefaultLegacy(foo); - - foo__default['default'].bar(); - -}))); diff --git a/packages/core/build/src/fixtures/build/rollup-umd-globals/package.json b/packages/core/build/src/fixtures/build/rollup-umd-globals/package.json deleted file mode 100755 index 7390bd3d256b9..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-globals/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "peerDependencies": { - "foo": "0.1.0" - } -} diff --git a/packages/core/build/src/fixtures/build/rollup-umd-globals/src/index.js b/packages/core/build/src/fixtures/build/rollup-umd-globals/src/index.js deleted file mode 100755 index 5a079bee1f361..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-globals/src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import foo from 'foo'; - -foo.bar(); diff --git a/packages/core/build/src/fixtures/build/rollup-umd-name/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-umd-name/.fatherrc.js deleted file mode 100755 index be174297f1c04..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-name/.fatherrc.js +++ /dev/null @@ -1,7 +0,0 @@ - -export default { - umd: { - minFile: false, - name: 'foo', - }, -} diff --git a/packages/core/build/src/fixtures/build/rollup-umd-name/expected/index.umd.js b/packages/core/build/src/fixtures/build/rollup-umd-name/expected/index.umd.js deleted file mode 100755 index 0d2fbbcecc700..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-name/expected/index.umd.js +++ /dev/null @@ -1,13 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : - typeof define === 'function' && define.amd ? define(factory) : - (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.foo = factory()); -}(this, (function () { 'use strict'; - - function index () { - return 'foo'; - } - - return index; - -}))); diff --git a/packages/core/build/src/fixtures/build/rollup-umd-name/src/index.js b/packages/core/build/src/fixtures/build/rollup-umd-name/src/index.js deleted file mode 100755 index 8fcf68e1bfa15..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-name/src/index.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default function () { - return 'foo'; -} diff --git a/packages/core/build/src/fixtures/build/rollup-umd-overrides/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-umd-overrides/.fatherrc.js deleted file mode 100755 index 242848d420e29..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-overrides/.fatherrc.js +++ /dev/null @@ -1,18 +0,0 @@ - -export default { - entry: [ - 'src/index.js', - 'src/fetch.js', - ], - umd: { - minFile: false, - name: 'foo', - }, - overridesByEntry: { - 'src/fetch.js': { - umd: { - name: 'foo.fetch', - }, - }, - }, -} diff --git a/packages/core/build/src/fixtures/build/rollup-umd-overrides/expected/fetch.umd.js b/packages/core/build/src/fixtures/build/rollup-umd-overrides/expected/fetch.umd.js deleted file mode 100755 index 42b7f10eeffb4..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-overrides/expected/fetch.umd.js +++ /dev/null @@ -1,13 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : - typeof define === 'function' && define.amd ? define(factory) : - (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.foo = global.foo || {}, global.foo.fetch = factory())); -}(this, (function () { 'use strict'; - - function fetch () { - return 'foo.fetch'; - } - - return fetch; - -}))); diff --git a/packages/core/build/src/fixtures/build/rollup-umd-overrides/expected/index.umd.js b/packages/core/build/src/fixtures/build/rollup-umd-overrides/expected/index.umd.js deleted file mode 100755 index 0d2fbbcecc700..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-overrides/expected/index.umd.js +++ /dev/null @@ -1,13 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : - typeof define === 'function' && define.amd ? define(factory) : - (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.foo = factory()); -}(this, (function () { 'use strict'; - - function index () { - return 'foo'; - } - - return index; - -}))); diff --git a/packages/core/build/src/fixtures/build/rollup-umd-overrides/src/fetch.js b/packages/core/build/src/fixtures/build/rollup-umd-overrides/src/fetch.js deleted file mode 100755 index 3fdd6c676dd44..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-overrides/src/fetch.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default function () { - return 'foo.fetch'; -} diff --git a/packages/core/build/src/fixtures/build/rollup-umd-overrides/src/index.js b/packages/core/build/src/fixtures/build/rollup-umd-overrides/src/index.js deleted file mode 100755 index 8fcf68e1bfa15..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-overrides/src/index.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default function () { - return 'foo'; -} diff --git a/packages/core/build/src/fixtures/build/rollup-umd-sourcemap/.fatherrc.js b/packages/core/build/src/fixtures/build/rollup-umd-sourcemap/.fatherrc.js deleted file mode 100755 index ff17b2079db55..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-sourcemap/.fatherrc.js +++ /dev/null @@ -1,8 +0,0 @@ - -export default { - umd: { - minFile: false, - name: 'foo', - sourcemap: true, - }, -} diff --git a/packages/core/build/src/fixtures/build/rollup-umd-sourcemap/expected/index.umd.js b/packages/core/build/src/fixtures/build/rollup-umd-sourcemap/expected/index.umd.js deleted file mode 100755 index 04e44df50b24d..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-sourcemap/expected/index.umd.js +++ /dev/null @@ -1,14 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : - typeof define === 'function' && define.amd ? define(factory) : - (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.foo = factory()); -}(this, (function () { 'use strict'; - - function index () { - return 'foo'; - } - - return index; - -}))); -//# sourceMappingURL=index.umd.js.map diff --git a/packages/core/build/src/fixtures/build/rollup-umd-sourcemap/expected/index.umd.js.map b/packages/core/build/src/fixtures/build/rollup-umd-sourcemap/expected/index.umd.js.map deleted file mode 100755 index bf6d50af43447..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-sourcemap/expected/index.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.umd.js","sources":["../src/index.js"],"sourcesContent":["\nexport default function () {\n return 'foo';\n}\n"],"names":[],"mappings":";;;;;;EACe,kBAAY;EACzB,SAAO,KAAP;EACD;;;;;;;;"} \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/rollup-umd-sourcemap/src/index.js b/packages/core/build/src/fixtures/build/rollup-umd-sourcemap/src/index.js deleted file mode 100755 index 8fcf68e1bfa15..0000000000000 --- a/packages/core/build/src/fixtures/build/rollup-umd-sourcemap/src/index.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default function () { - return 'foo'; -} diff --git a/packages/core/build/src/fixtures/build/target-node-version/.fatherrc.js b/packages/core/build/src/fixtures/build/target-node-version/.fatherrc.js deleted file mode 100755 index 41a0b59822092..0000000000000 --- a/packages/core/build/src/fixtures/build/target-node-version/.fatherrc.js +++ /dev/null @@ -1,7 +0,0 @@ - -export default { - cjs: 'babel', - esm: 'babel', - target: 'node', - nodeVersion: 8, -} diff --git a/packages/core/build/src/fixtures/build/target-node-version/expected/es/index.js b/packages/core/build/src/fixtures/build/target-node-version/expected/es/index.js deleted file mode 100755 index ae6a5bdb29dfa..0000000000000 --- a/packages/core/build/src/fixtures/build/target-node-version/expected/es/index.js +++ /dev/null @@ -1,4 +0,0 @@ -const foo = 'bar'; -export default async function () { - return foo; -} \ No newline at end of file diff --git a/packages/core/build/src/fixtures/build/target-node-version/src/index.js b/packages/core/build/src/fixtures/build/target-node-version/src/index.js deleted file mode 100755 index 8ab0b3a2d7737..0000000000000 --- a/packages/core/build/src/fixtures/build/target-node-version/src/index.js +++ /dev/null @@ -1,6 +0,0 @@ - -const foo = 'bar'; - -export default async function() { - return foo; -} diff --git a/packages/core/build/src/fixtures/build/target-node/.fatherrc.js b/packages/core/build/src/fixtures/build/target-node/.fatherrc.js deleted file mode 100755 index a56516e629e9b..0000000000000 --- a/packages/core/build/src/fixtures/build/target-node/.fatherrc.js +++ /dev/null @@ -1,6 +0,0 @@ - -export default { - cjs: 'rollup', - esm: 'rollup', - target: 'node', -} diff --git a/packages/core/build/src/fixtures/build/target-node/expected/index.esm.js b/packages/core/build/src/fixtures/build/target-node/expected/index.esm.js deleted file mode 100755 index 3199bfb849bb3..0000000000000 --- a/packages/core/build/src/fixtures/build/target-node/expected/index.esm.js +++ /dev/null @@ -1,6 +0,0 @@ -var foo = 'bar'; -function index () { - return foo; -} - -export default index; diff --git a/packages/core/build/src/fixtures/build/target-node/expected/index.js b/packages/core/build/src/fixtures/build/target-node/expected/index.js deleted file mode 100755 index b1ccfd8a2b48a..0000000000000 --- a/packages/core/build/src/fixtures/build/target-node/expected/index.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -const foo = 'bar'; -function index () { - return foo; -} - -module.exports = index; diff --git a/packages/core/build/src/fixtures/build/target-node/src/index.js b/packages/core/build/src/fixtures/build/target-node/src/index.js deleted file mode 100755 index 1354e696b0e93..0000000000000 --- a/packages/core/build/src/fixtures/build/target-node/src/index.js +++ /dev/null @@ -1,6 +0,0 @@ - -const foo = 'bar'; - -export default function() { - return foo; -} diff --git a/packages/core/build/src/getBabelConfig.ts b/packages/core/build/src/getBabelConfig.ts deleted file mode 100755 index 2a2dba49bc8c8..0000000000000 --- a/packages/core/build/src/getBabelConfig.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { extname } from 'path'; -import { ModuleFormat } from 'rollup'; - -interface IGetBabelConfigOpts { - target: 'browser' | 'node'; - type?: ModuleFormat; - typescript?: boolean; - runtimeHelpers?: boolean; - filePath?: string; - browserFiles?: { - [value: string]: any; - }; - nodeVersion?: number; - nodeFiles?: { - [value: string]: any; - }; - lazy?: boolean; - lessInBabelMode?: boolean|{ - paths?: any[]; - plugins?: any[]; - }; -} - -function transformImportLess2Css() { - return { - name: 'transform-import-less-to-css', - visitor: { - ImportDeclaration(path, source) { - const re = /\.less$/; - if(re.test(path.node.source.value)){ - path.node.source.value = path.node.source.value.replace(re, '.css'); - } - } - } - } -} - -export default function(opts: IGetBabelConfigOpts) { - const { target, typescript, type, runtimeHelpers, filePath, browserFiles, nodeFiles, nodeVersion, lazy, lessInBabelMode } = opts; - let isBrowser = target === 'browser'; - // rollup 场景下不会传入 filePath - if (filePath) { - if (extname(filePath) === '.tsx' || extname(filePath) === '.jsx') { - isBrowser = true; - } else { - if (isBrowser) { - if (nodeFiles.includes(filePath)) isBrowser = false; - } else { - if (browserFiles.includes(filePath)) isBrowser = true; - } - } - } - const targets = isBrowser ? { browsers: ['last 2 versions', 'IE 10'] } : { node: nodeVersion || 6 }; - - return { - opts: { - presets: [ - ...(typescript ? [require.resolve('@babel/preset-typescript')] : []), - [require.resolve('@babel/preset-env'), { - targets, - modules: type === 'esm' ? false : 'auto' - }], - ...(isBrowser ? [require.resolve('@babel/preset-react')] : []), - ], - plugins: [ - ...((type === 'cjs' && lazy && !isBrowser) - ? [[require.resolve('@babel/plugin-transform-modules-commonjs'), { - lazy: true, - }]] - : []), - ...(lessInBabelMode ? [transformImportLess2Css] : []), - ...(isBrowser ? [require.resolve('babel-plugin-react-require')] : []), - require.resolve('@babel/plugin-syntax-dynamic-import'), - require.resolve('@babel/plugin-proposal-export-default-from'), - require.resolve('@babel/plugin-proposal-export-namespace-from'), - require.resolve('@babel/plugin-proposal-do-expressions'), - require.resolve('@babel/plugin-proposal-nullish-coalescing-operator'), - require.resolve('@babel/plugin-proposal-optional-chaining'), - [require.resolve('@babel/plugin-proposal-decorators'), { legacy: true }], - [require.resolve('@babel/plugin-proposal-class-properties'), { loose: true }], - ...(runtimeHelpers - ? [[require.resolve('@babel/plugin-transform-runtime'), { - useESModules: isBrowser && (type === 'esm'), - version: require('@babel/runtime/package.json').version, - }]] - : []), - ...(process.env.COVERAGE - ? [require.resolve('babel-plugin-istanbul')] - : [] - ) - ], - }, - isBrowser, - }; -} diff --git a/packages/core/build/src/getRollupConfig.ts b/packages/core/build/src/getRollupConfig.ts deleted file mode 100755 index c7513bec429b8..0000000000000 --- a/packages/core/build/src/getRollupConfig.ts +++ /dev/null @@ -1,343 +0,0 @@ -import { existsSync } from 'fs' -import { basename, extname, join } from 'path'; -import { ModuleFormat, RollupOptions, Plugin } from 'rollup'; -import url from '@rollup/plugin-url'; -import json from '@rollup/plugin-json'; -import replace from '@rollup/plugin-replace'; -import commonjs from '@rollup/plugin-commonjs'; -import nodeResolve from '@rollup/plugin-node-resolve'; -import inject, { RollupInjectOptions } from '@rollup/plugin-inject'; -import babel, { RollupBabelInputPluginOptions } from '@rollup/plugin-babel'; -import { createFilter } from '@rollup/pluginutils'; -import postcss from 'rollup-plugin-postcss'; -import { terser } from 'rollup-plugin-terser'; -import typescript2 from 'rollup-plugin-typescript2'; -import { camelCase } from 'lodash'; -import tempDir from 'temp-dir'; -import autoprefixer from 'autoprefixer'; -import NpmImport from 'less-plugin-npm-import'; -import svgr from '@svgr/rollup'; -import getBabelConfig from './getBabelConfig'; -import { getPkgPath, shouldTransform } from './es5ImcompatibleVersions'; -import { IBundleOptions } from './types'; - -interface IGetRollupConfigOpts { - cwd: string; - rootPath: string; - entry: string; - type: ModuleFormat; - importLibToEs?: boolean; - bundleOpts: IBundleOptions; -} - -interface IPkg { - dependencies?: Object; - peerDependencies?: Object; - name?: string; -} - -export default function(opts: IGetRollupConfigOpts): RollupOptions[] { - const { type, entry, cwd, rootPath, importLibToEs, bundleOpts } = opts; - const { - umd, - esm, - cjs, - file, - target = 'browser', - extractCSS = false, - injectCSS = true, - cssModules: modules, - extraPostCSSPlugins = [], - extraBabelPresets = [], - extraBabelPlugins = [], - extraRollupPlugins = [], - autoprefixer: autoprefixerOpts, - include = /node_modules/, - runtimeHelpers: runtimeHelpersOpts, - replace: replaceOpts, - inject: injectOpts, - extraExternals = [], - externalsExclude = [], - nodeVersion, - typescriptOpts, - nodeResolveOpts = {}, - disableTypeCheck, - lessInRollupMode = {}, - sassInRollupMode = {}, - } = bundleOpts; - const entryExt = extname(entry); - const name = file || basename(entry, entryExt); - const isTypeScript = entryExt === '.ts' || entryExt === '.tsx'; - const extensions = ['.js', '.jsx', '.ts', '.tsx', '.es6', '.es', '.mjs']; - - let pkg = {} as IPkg; - try { - pkg = require(join(cwd, 'package.json')); // eslint-disable-line - } catch (e) {} - - // cjs 不给浏览器用,所以无需 runtimeHelpers - const runtimeHelpers = type === 'cjs' ? false : runtimeHelpersOpts; - const babelOpts = { - ...(getBabelConfig({ - type, - target: type === 'esm' ? 'browser' : target, - // watch 模式下有几率走的 babel?原因未知。 - // ref: https://github.com/umijs/father/issues/158 - typescript: true, - runtimeHelpers, - nodeVersion, - }).opts), - // ref: https://github.com/rollup/plugins/tree/master/packages/babel#babelhelpers - babelHelpers: (runtimeHelpers ? 'runtime' : 'bundled') as RollupBabelInputPluginOptions['babelHelpers'], - // exclude: /\/node_modules\//, - filter: (filePath: string) => { - const rollupFilter = createFilter(null, /\/node_modules\//); - // 默认过滤 node_modules - if (!rollupFilter(filePath)) { - const pkgPath = getPkgPath(filePath); - return shouldTransform(pkgPath); - } - return true; - }, - babelrc: false, - // ref: https://github.com/rollup/rollup-plugin-babel#usage - extensions, - }; - if (importLibToEs && type === 'esm') { - babelOpts.plugins.push(require.resolve('../lib/importLibToEs')); - } - babelOpts.presets.push(...extraBabelPresets); - babelOpts.plugins.push(...extraBabelPlugins); - - // rollup configs - const input = join(cwd, entry); - const format = type; - - // ref: https://rollupjs.org/guide/en#external - // 潜在问题:引用包的子文件时会报 warning,比如 @babel/runtime/helpers/esm/createClass - // 解决方案:可以用 function 处理 - const external = [ - ...Object.keys(pkg.dependencies || {}), - ...Object.keys(pkg.peerDependencies || {}), - ...extraExternals, - ]; - // umd 只要 external peerDependencies - const externalPeerDeps = [ - ...Object.keys(pkg.peerDependencies || {}), - ...extraExternals, - ]; - - function getPkgNameByid(id) { - const splitted = id.split('/'); - // @ 和 @tmp 是为了兼容 umi 的逻辑 - if (id.charAt(0) === '@' && splitted[0] !== '@' && splitted[0] !== '@tmp') { - return splitted - .slice(0, 2) - .join('/'); - } else { - return id.split('/')[0]; - } - } - - function testExternal(pkgs, excludes, id) { - if (excludes.includes(id)) { - return false; - } - return pkgs.includes(getPkgNameByid(id)); - } - - const terserOpts = { - compress: { - pure_getters: true, - unsafe: true, - unsafe_comps: true, - warnings: false, - }, - }; - - // https://github.com/umijs/father/issues/164 - function mergePlugins(defaultRollupPlugins: Array = [], extraRollupPlugins: Array = []) { - const pluginsMap: Record = Object.assign( - defaultRollupPlugins.reduce((r, plugin) => ({ ...r, [plugin.name]: plugin }), {}), - extraRollupPlugins.reduce((r, plugin) => ({ ...r, [plugin.name]: plugin }), {}), - ); - return Object.values(pluginsMap); - } - - function getPlugins(opts = {} as { minCSS: boolean; }) { - const { minCSS } = opts; - const defaultRollupPlugins = [ - url(), - svgr(), - postcss({ - extract: extractCSS, - inject: injectCSS, - modules, - // modules => all .less will convert into css modules - ...(modules ? { autoModules: false } : {}), - minimize: !!minCSS, - use: { - less: { - plugins: [new NpmImport({ prefix: '~' })], - javascriptEnabled: true, - ...lessInRollupMode - }, - sass: { - ...sassInRollupMode, - }, - stylus: false, - }, - plugins: [autoprefixer({ - // https://github.com/postcss/autoprefixer/issues/776 - remove: false, - ...autoprefixerOpts, - }), ...extraPostCSSPlugins], - }), - ...(injectOpts ? [inject(injectOpts as RollupInjectOptions)] : []), - ...(replaceOpts && Object.keys(replaceOpts || {}).length ? [replace(replaceOpts)] : []), - nodeResolve({ - mainFields: ['module', 'jsnext:main', 'main'], - extensions, - ...nodeResolveOpts, - }), - ...(isTypeScript - ? [ - typescript2({ - cwd, - // @see https://github.com/umijs/father/issues/61#issuecomment-544822774 - clean: true, - cacheRoot: `${tempDir}/.rollup_plugin_typescript2_cache`, - // 支持往上找 tsconfig.json - // 比如 lerna 的场景不需要每个 package 有个 tsconfig.json - tsconfig: [join(cwd, 'tsconfig.json'), join(rootPath, 'tsconfig.json')].find(existsSync), - tsconfigDefaults: { - compilerOptions: { - // Generate declaration files by default - declaration: true, - }, - }, - tsconfigOverride: { - compilerOptions: { - // Support dynamic import - target: 'esnext', - }, - }, - check: !disableTypeCheck, - ...(typescriptOpts || {}), - }), - ] - : []), - babel(babelOpts), - json(), - ]; - return mergePlugins(defaultRollupPlugins, extraRollupPlugins || []); - } - - switch (type) { - case 'esm': - const output: Record = { - dir: join(cwd, `${esm && (esm as any).dir || 'dist'}`), - entryFileNames: `${(esm && (esm as any).file) || `${name}.esm`}.js`, - } - - return [ - { - input, - output: { - format, - ...output, - }, - plugins: [...getPlugins(), ...(esm && (esm as any).minify ? [terser(terserOpts)] : [])], - external: testExternal.bind(null, external, externalsExclude), - }, - ...(esm && (esm as any).mjs - ? [ - { - input, - output: { - format, - file: join(cwd, `dist/${(esm && (esm as any).file) || `${name}`}.mjs`), - }, - plugins: [ - ...getPlugins(), - replace({ - 'process.env.NODE_ENV': JSON.stringify('production'), - }), - terser(terserOpts), - ], - external: testExternal.bind(null, externalPeerDeps, externalsExclude), - }, - ] - : []), - ]; - - case 'cjs': - return [ - { - input, - output: { - format, - file: join(cwd, `dist/${(cjs && (cjs as any).file) || name}.js`), - }, - plugins: [...getPlugins(), ...(cjs && (cjs as any).minify ? [terser(terserOpts)] : [])], - external: testExternal.bind(null, external, externalsExclude), - }, - ]; - - case 'umd': - // Add umd related plugins - const extraUmdPlugins = [ - commonjs({ - include, - // namedExports options has been remove from https://github.com/rollup/plugins/pull/149 - }), - ]; - - return [ - { - input, - output: { - format, - sourcemap: umd && umd.sourcemap, - file: join(cwd, `dist/${(umd && umd.file) || `${name}.umd`}.js`), - globals: umd && umd.globals, - name: (umd && umd.name) || (pkg.name && camelCase(basename(pkg.name))), - }, - plugins: [ - ...extraUmdPlugins, - ...getPlugins(), - replace({ - 'process.env.NODE_ENV': JSON.stringify('development'), - }), - ], - external: testExternal.bind(null, externalPeerDeps, externalsExclude), - }, - ...(umd && umd.minFile === false - ? [] - : [ - { - input, - output: { - format, - sourcemap: umd && umd.sourcemap, - file: join(cwd, `dist/${(umd && umd.file) || `${name}.umd`}.min.js`), - globals: umd && umd.globals, - name: (umd && umd.name) || (pkg.name && camelCase(basename(pkg.name))), - }, - plugins: [ - ...extraUmdPlugins, - ...getPlugins({ minCSS: true }), - replace({ - 'process.env.NODE_ENV': JSON.stringify('production'), - }), - terser(terserOpts), - ], - external: testExternal.bind(null, externalPeerDeps, externalsExclude), - }, - ]), - ]; - - default: - throw new Error(`Unsupported type ${type}`); - } -} diff --git a/packages/core/build/src/getUserConfig.ts b/packages/core/build/src/getUserConfig.ts deleted file mode 100755 index 98aed91879b89..0000000000000 --- a/packages/core/build/src/getUserConfig.ts +++ /dev/null @@ -1,87 +0,0 @@ -import AJV from 'ajv'; -import { existsSync } from 'fs'; -import { isAbsolute, relative, resolve } from 'path'; -import signale from 'signale'; -import slash from 'slash2'; -import schema from './schema'; -import { IBundleOptions } from './types'; -import { getExistFiles } from './utils'; - -function testDefault(obj) { - return obj.default || obj; -} - -export const CONFIG_FILES = [ - '.buildrc.js', - '.buildrc.jsx', - '.buildrc.ts', - '.buildrc.tsx', - '.fatherrc.js', - '.fatherrc.jsx', - '.fatherrc.ts', - '.fatherrc.tsx', - '.umirc.library.js', - '.umirc.library.jsx', - '.umirc.library.ts', - '.umirc.library.tsx', -]; -const CLASSES = { - Function: Function, -}; -const extendAjv = (ajv: AJV.Ajv) => { - ajv.addKeyword('instanceof', { - compile: function(schema: string) { - var Class = CLASSES[schema]; - return function(data: any) { - return data instanceof Class; - }; - }, - }); - return ajv; -}; -export default function({ cwd, customPath }: { cwd: string; customPath?: string }): IBundleOptions { - let finalPath = ''; - - if (customPath) { - finalPath = isAbsolute(customPath) ? customPath : resolve(process.cwd(), customPath); - if (!existsSync(finalPath)) { - throw new Error(`can\'t found config file: ${customPath}`); - } - } - - const configFile = - finalPath || - getExistFiles({ - cwd, - files: CONFIG_FILES, - returnRelative: false, - }); - - if (configFile) { - if (configFile.includes('.umirc.library.')) { - signale.warn(`.umirc.library.js is deprecated, please use .fatherrc.js instead.`); - } - - const userConfig = testDefault(require(configFile)); // eslint-disable-line - const userConfigs = Array.isArray(userConfig) ? userConfig : [userConfig]; - userConfigs.forEach((userConfig) => { - const ajv = extendAjv(new AJV({ allErrors: true })); - const isValid = ajv.validate(schema, userConfig); - if (!isValid) { - const errors = ajv.errors.map(({ dataPath, message }, index) => { - return `${index + 1}. ${dataPath}${dataPath ? ' ' : ''}${message}`; - }); - throw new Error( - ` -Invalid options in ${slash(relative(cwd, configFile))} - -${errors.join('\n')} -`.trim() - ); - } - }); - return userConfig; - } else { - return {}; - } -} diff --git a/packages/core/build/src/importLibToEs.js b/packages/core/build/src/importLibToEs.js deleted file mode 100755 index e7d278a649c71..0000000000000 --- a/packages/core/build/src/importLibToEs.js +++ /dev/null @@ -1,26 +0,0 @@ -import { join, dirname } from 'path'; -import fs from 'fs'; - -const cwd = process.cwd(); - -function replacePath(path) { - if (path.node.source && /\/lib\//.test(path.node.source.value)) { - const esModule = path.node.source.value.replace('/lib/', '/es/'); - const esPath = dirname(join(cwd, `node_modules/${esModule}`)); - if (fs.existsSync(esPath)) { - console.log(`[es build] replace ${path.node.source.value} with ${esModule}`); - path.node.source.value = esModule; - } - } -} - -function replaceLib() { - return { - visitor: { - ImportDeclaration: replacePath, - ExportNamedDeclaration: replacePath, - }, - }; -} - -export default replaceLib; diff --git a/packages/core/build/src/index.ts b/packages/core/build/src/index.ts index 1bff2b7bfc0e8..555cb3eb68f04 100755 --- a/packages/core/build/src/index.ts +++ b/packages/core/build/src/index.ts @@ -1,3 +1 @@ - -import build from './build'; -export default build; +export * from './build'; diff --git a/packages/core/build/src/normalizeBundleOpts.test.ts b/packages/core/build/src/normalizeBundleOpts.test.ts deleted file mode 100755 index 54bfdbe23d054..0000000000000 --- a/packages/core/build/src/normalizeBundleOpts.test.ts +++ /dev/null @@ -1,53 +0,0 @@ -import normalizeBundleOpts from './normalizeBundleOpts'; - -test('normal', () => { - expect( - normalizeBundleOpts('a', { - umd: { name: 'foo' }, - overridesByEntry: { - a: { umd: { name: 'bar' } }, - }, - }), - ).toEqual({ - umd: { name: 'bar' }, - }); -}); - -test('ignore ./ prefix in entry', () => { - expect( - normalizeBundleOpts('./a', { - umd: { name: 'foo' }, - overridesByEntry: { - a: { umd: { name: 'bar' } }, - }, - }), - ).toEqual({ - umd: { name: 'bar' }, - }); -}); - -test('ignore ./ prefix in overridesByEntry', () => { - expect( - normalizeBundleOpts('a', { - umd: { name: 'foo' }, - overridesByEntry: { - './a': { umd: { name: 'bar' } }, - }, - }), - ).toEqual({ - umd: { name: 'bar' }, - }); -}); - -test('deep merge', () => { - expect( - normalizeBundleOpts('a', { - umd: { minFile: false, name: 'foo' }, - overridesByEntry: { - a: { umd: { name: 'bar' } }, - }, - }), - ).toEqual({ - umd: { minFile: false, name: 'bar' }, - }); -}); diff --git a/packages/core/build/src/normalizeBundleOpts.ts b/packages/core/build/src/normalizeBundleOpts.ts deleted file mode 100755 index 1767ff9ce762f..0000000000000 --- a/packages/core/build/src/normalizeBundleOpts.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { cloneDeep, merge } from 'lodash'; -import { IBundleOptions } from './types'; - -function stripDotSlashPrefix(path) { - return path.replace(/^\.\//, ''); -} - -export default function(entry: string, opts: IBundleOptions): IBundleOptions { - let clone = cloneDeep(opts); - const stripedEntry = stripDotSlashPrefix(entry); - if (clone.overridesByEntry) { - Object.keys(clone.overridesByEntry).forEach(key => { - const stripedKey = stripDotSlashPrefix(key); - if (stripedKey !== key) { - clone.overridesByEntry[stripedKey] = clone.overridesByEntry[key]; - } - }); - if (clone.overridesByEntry[stripedEntry]) { - clone = merge(clone, clone.overridesByEntry[stripedEntry]); - } - delete clone.overridesByEntry; - } - return clone; -} diff --git a/packages/core/build/src/randomColor.ts b/packages/core/build/src/randomColor.ts deleted file mode 100755 index bf44d252796cc..0000000000000 --- a/packages/core/build/src/randomColor.ts +++ /dev/null @@ -1,34 +0,0 @@ -import chalk from 'chalk'; - -const colors = [ - 'red', - 'green', - 'yellow', - 'blue', - 'magenta', - 'cyan', - 'gray', - 'redBright', - 'greenBright', - 'yellowBright', - 'blueBright', - 'magentaBright', - 'cyanBright', -]; - -let index = 0; -const cache = {}; - -export default function (pkg) { - if (!cache[pkg]) { - const color = colors[index]; - let str = chalk[color].bold(pkg); - cache[pkg] = str; - if (index === colors.length - 1) { - index = 0; - } else { - index += 1; - } - } - return cache[pkg]; -} diff --git a/packages/core/build/src/registerBabel.ts b/packages/core/build/src/registerBabel.ts deleted file mode 100755 index c7b52c3e8e8fc..0000000000000 --- a/packages/core/build/src/registerBabel.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { join, isAbsolute } from 'path'; -import slash from 'slash2'; -import getBabelConfig from './getBabelConfig'; - -interface IRegisterBabelOpts { - cwd: string; - only: string[]; -} - -export default function(opts: IRegisterBabelOpts) { - const { cwd, only } = opts; - const { opts: babelConfig } = getBabelConfig({ - target: 'node', - typescript: true, - }); - require('@babel/register')({ - ...babelConfig, - extensions: ['.es6', '.es', '.jsx', '.js', '.mjs', '.ts', '.tsx'], - only: only.map((file) => slash(isAbsolute(file) ? file : join(cwd, file))), - babelrc: false, - cache: false, - }); -} diff --git a/packages/core/build/src/rollup.ts b/packages/core/build/src/rollup.ts deleted file mode 100755 index e7b73098cca1f..0000000000000 --- a/packages/core/build/src/rollup.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { ModuleFormat, rollup, watch } from 'rollup'; -import signale from 'signale'; -import chalk from 'chalk'; -import getRollupConfig from './getRollupConfig'; -import { Dispose, IBundleOptions } from './types'; -import normalizeBundleOpts from './normalizeBundleOpts'; - -interface IRollupOpts { - cwd: string; - rootPath?: string; - entry: string | string[]; - type: ModuleFormat; - log: (string) => void; - bundleOpts: IBundleOptions; - watch?: boolean; - dispose?: Dispose[]; - importLibToEs?: boolean; -} - -async function build(entry: string, opts: IRollupOpts) { - const { cwd, rootPath, type, log, bundleOpts, importLibToEs, dispose } = opts; - const rollupConfigs = getRollupConfig({ - cwd, - rootPath:rootPath || cwd, - type, - entry, - importLibToEs, - bundleOpts: normalizeBundleOpts(entry, bundleOpts), - }); - - for (const rollupConfig of rollupConfigs) { - if (opts.watch) { - const watcher = watch([ - { - ...rollupConfig, - watch: {}, - }, - ]); - await (new Promise((resolve) => { - watcher.on('event', (event) => { - // 每次构建完成都会触发 BUNDLE_END 事件 - // 当第一次构建完成或出错就 resolve - if (event.code === 'ERROR') { - signale.error(event.error); - resolve(); - } else if (event.code === 'BUNDLE_END') { - log(`${chalk.green(`Build ${type} success`)} ${chalk.gray(`entry: ${entry}`)}`); - resolve(); - } - }); - })); - process.once('SIGINT', () => { - watcher.close(); - }); - dispose?.push(() => watcher.close()); - } else { - const { output, ...input } = rollupConfig; - const bundle = await rollup(input); // eslint-disable-line - await bundle.write(output); // eslint-disable-line - log(`${chalk.green(`Build ${type} success`)} ${chalk.gray(`entry: ${entry}`)}`); - } - } -} - -export default async function(opts: IRollupOpts) { - if (Array.isArray(opts.entry)) { - const { entry: entries } = opts; - for (const entry of entries) { - await build(entry, opts); - } - } else { - await build(opts.entry, opts); - } - if (opts.watch) { - opts.log(chalk.magentaBright(`Rebuild ${opts.type} since file changed 👀`)); - } -} diff --git a/packages/core/build/src/schema.test.ts b/packages/core/build/src/schema.test.ts deleted file mode 100755 index effae7f2044d4..0000000000000 --- a/packages/core/build/src/schema.test.ts +++ /dev/null @@ -1,39 +0,0 @@ -import AJV from 'ajv'; -import schema from './schema'; - -const ajv = new AJV(); - -const successValidates = { - entry: ['a', ['a'], ['a', 'b']], - file: ['a'], - esm: [false, true, { type: 'rollup' }, { type: 'babel' }, { file: 'a' }, { mjs: true }, {dir: 'a'}], - cjs: [false, true, { type: 'rollup' }, { type: 'babel' }, { file: 'a' }], - umd: [{ globals: {} }, { file: 'a' }, { name: 'a' }, { minFile: false }, { minFile: true }, { sourcemap: true }], - extraBabelPlugins: [[]], - extraBabelPresets: [[]], - extraPostCSSPlugins: [[]], - lessInRollupMode: [{}], - cssModules: [true, false, {}], - autoprefixer: [{}], - include: ['node_modules', /node_modules/], - nodeResolveOpts: [{}], - runtimeHelpers: [true, false], - target: ['node', 'browser'], - overridesByEntry: [{}], - doc: [{}], - typescriptOpts: [{}], - pkgs: [[]], - pkgFilter: [{}], -}; - -Object.keys(successValidates).forEach(key => { - test(key, () => { - successValidates[key].forEach(item => { - expect( - ajv.validate(schema, { - [key]: item, - }), - ).toEqual(true); - }); - }); -}); diff --git a/packages/core/build/src/schema.ts b/packages/core/build/src/schema.ts deleted file mode 100755 index ec04a3bc0dc88..0000000000000 --- a/packages/core/build/src/schema.ts +++ /dev/null @@ -1,175 +0,0 @@ -const noEmptyStr = { type: 'string', minLength: 1 }; - -export default { - type: 'object', - additionalProperties: false, - properties: { - entry: { - oneOf: [noEmptyStr, { type: 'array', items: noEmptyStr }], - }, - file: { type: 'string' }, - esm: { - oneOf: [ - noEmptyStr, - { type: 'boolean' }, - { - type: 'object', - additionalProperties: false, - properties: { - type: { - type: 'string', - pattern: '^(rollup|babel)$', - }, - file: noEmptyStr, - mjs: { type: 'boolean' }, - minify: { type: 'boolean' }, - importLibToEs: { - type: 'boolean', - }, - dir: noEmptyStr - }, - }, - ], - }, - cjs: { - oneOf: [ - noEmptyStr, - { type: 'boolean' }, - { - type: 'object', - additionalProperties: false, - properties: { - type: { - type: 'string', - pattern: '^(rollup|babel)$', - }, - file: noEmptyStr, - minify: { type: 'boolean' }, - lazy: { type: 'boolean' }, - }, - }, - ], - }, - umd: { - oneOf: [ - { type: 'boolean' }, - { - type: 'object', - additionalProperties: false, - properties: { - globals: { type: 'object' }, - file: noEmptyStr, - name: noEmptyStr, - minFile: { type: 'boolean' }, - sourcemap: { - oneOf: [ - { type: 'boolean' }, - { type: 'string', pattern: '^(inline|hidden)$', }, - ] - }, - }, - }, - ], - }, - extraBabelPlugins: { - type: 'array', - }, - extraBabelPresets: { - type: 'array', - }, - extraPostCSSPlugins: { - type: 'array', - }, - extraRollupPlugins: { - type: 'array', - }, - extraExternals: { - type: 'array', - }, - externalsExclude: { - type: 'array', - }, - cssModules: { - oneOf: [{ type: 'boolean' }, { type: 'object' }], - }, - extractCSS: { - type: 'boolean', - }, - injectCSS: { - oneOf: [{ type: 'boolean' }, { instanceof: 'Function' }], - }, - autoprefixer: { - type: 'object', - }, - include: { - oneOf: [ - { type: 'string' }, - { type: 'object' }, - { type: 'array' }, - ] - }, - runtimeHelpers: { - type: 'boolean', - }, - overridesByEntry: { - type: 'object', - }, - nodeResolveOpts: { - type: 'object', - }, - target: noEmptyStr, - doc: { - type: 'object', - }, - replace: { - type: 'object', - }, - inject: { - type: 'object', - }, - lessInRollupMode: { - type: 'object' - }, - sassInRollupMode: { - type: 'object' - }, - lessInBabelMode: { - oneOf: [ - { type: 'boolean' }, - { type: 'object' }, - ], - }, - browserFiles: { - type: 'array', - }, - nodeFiles: { - type: 'array', - }, - nodeVersion: { - type: 'number', - }, - disableTypeCheck: { - type: 'boolean', - }, - preCommit: { - type: 'object', - additionalProperties: false, - properties: { - eslint: { type: 'boolean' }, - prettier: { type: 'boolean' }, - }, - }, - typescriptOpts: { - type: 'object', - }, - pkgs: { - type: 'array', - }, - excludePkgs: { - type: 'array', - }, - pkgFilter: { - type: 'object', - }, - }, -}; diff --git a/packages/core/build/src/types.d.ts b/packages/core/build/src/types.d.ts deleted file mode 100755 index f4060ff2b4993..0000000000000 --- a/packages/core/build/src/types.d.ts +++ /dev/null @@ -1,118 +0,0 @@ -export type BundleType = 'rollup' | 'babel'; - -interface IBundleTypeOutput { - type: BundleType; - file?: string; -} - -export interface ICjs extends IBundleTypeOutput { - minify?: boolean; - lazy?: boolean; -} - -interface IEsm extends IBundleTypeOutput { - mjs?: boolean; - minify?: boolean; - importLibToEs?: boolean; -} - -interface IStringObject { - [prop: string]: string; -} - -interface IUmd { - globals?: IStringObject; - name?: string; - minFile?: boolean; - file?: string; - sourcemap?: boolean; -} - -export interface IBundleOptions { - entry?: string | string[]; - file?: string; - esm?: BundleType | IEsm | false; - cjs?: BundleType | ICjs | false; - umd?: IUmd | false; - extraBabelPlugins?: any[]; - extraBabelPresets?: any[]; - extraPostCSSPlugins?: any[]; - extraRollupPlugins?: any[]; - extraExternals?: string[]; - externalsExclude?: string[]; - cssModules?: boolean | Object; - extractCSS?: boolean; - injectCSS?: boolean | ((varname: string, filename: string) => string); - inject?: Object; - autoprefixer?: Object; - include?: string | RegExp; - runtimeHelpers?: boolean; - target?: 'node' | 'browser'; - overridesByEntry?: { - [entry: string]: any; - }; - replace?: { - [value: string]: any; - }; - browserFiles?: { - [value: string]: any; - }; - nodeFiles?: { - [value: string]: any; - }; - nodeVersion?: number; - disableTypeCheck?: boolean; - preCommit?: { - eslint?: boolean; - prettier?: boolean; - }; - lessInBabelMode?: - | boolean - | { - paths?: any[]; - plugins?: any[]; - }; - typescriptOpts?: { - [value: string]: any; - }; - nodeResolveOpts?: { - [value: string]: any; - }; - lessInRollupMode?: { - [opt: string]: any; - }; - sassInRollupMode?: { - [opt: string]: any; - }; - pkgs?: string[]; - excludePkgs?: string[]; - /** 处理 lerna 包 */ - pkgFilter?: { - /** 指定包含的包 */ - include?: string[]; - /** 指定排除的包 */ - exclude?: string[]; - /** - * 跳过私有的包 package.json private - * @default false - * */ - skipPrivate?: boolean; - }; - config?: string; -} - -export interface IOpts { - cwd: string; - watch?: boolean; - /** - * 构建时清空outputDir - * @default true - * */ - clean?: boolean; - buildArgs?: IBundleOptions; - rootConfig?: IBundleOptions; - rootPath?: string; - packages?: string[]; -} - -export type Dispose = () => void; diff --git a/packages/core/build/src/utils/buildPluginUtils.test.ts b/packages/core/build/src/utils/buildPluginUtils.test.ts deleted file mode 100644 index ab79cdf54a223..0000000000000 --- a/packages/core/build/src/utils/buildPluginUtils.test.ts +++ /dev/null @@ -1,265 +0,0 @@ -import path from 'path'; -import { getPackageNameFromString, getPackagesFromFiles, getSourcePackages, getPackageJson, getPackageJsonPackages, checkRequirePackageJson, checkEntryExists, isValidPackageName, checkDependencies, getFileSize, formatFileSize } from './buildPluginUtils' -import { expect, vitest } from 'vitest'; - -describe('buildPluginUtils', () => { - it('isValidPackageName', () => { - expect(isValidPackageName("my-package")).toBeTruthy() - expect(isValidPackageName("123-package")).toBeTruthy() - expect(isValidPackageName("my_package")).toBeTruthy() - expect(isValidPackageName("@vendor/package")).toBeTruthy() - expect(isValidPackageName("@scope/my-package")).toBeTruthy() - expect(isValidPackageName("my@package")).toBeFalsy(); - expect(isValidPackageName("")).toBeFalsy(); - }) - - describe('getPackageNameFromString', () => { - it('should return package name', () => { - expect(getPackageNameFromString('antd')).toEqual('antd') - }) - it('should return package name with scope', () => { - expect(getPackageNameFromString('@nocobase/plugin-antd')).toEqual('@nocobase/plugin-antd') - }) - it('should return package name with file', () => { - expect(getPackageNameFromString('antd/local/zh.json')).toEqual('antd') - }) - it('should return package name with scope and file', () => { - expect(getPackageNameFromString('@ant-design/icons/Loading.tsx')).toEqual('@ant-design/icons') - }) - it('should return package name with string template', () => { - expect(getPackageNameFromString('antd/local/${lang}')).toEqual('antd') - }) - it('should return package name with scope and string template', () => { - expect(getPackageNameFromString('@ant-design/icons/${lang}')).toEqual('@ant-design/icons') - }) - it('should not return package name with var', () => { - expect(getPackageNameFromString('${lang}')).toEqual(null) - expect(getPackageNameFromString('${lang}/foo')).toEqual(null) - }) - it('should not return package name with relative path', () => { - expect(getPackageNameFromString('../package.json')).toEqual(null) - expect(getPackageNameFromString('./foo/bar')).toEqual(null) - }) - }) - - describe('getPackagesFromFiles', () => { - it('import packages', () => { - const file = ` - import xxx from 'module-name0'; - import defaultExport from "module-name1"; - import * as name from "module-name2"; - import { export1 } from "module-name3"; - import { export1 as alias1 } from "module-name4"; - import { export1 , export2 } from "module-name5"; - import { foo , bar } from "module-name6/path/to/specific/un-exported/file"; - import defaultExport, * as name from "module-name7"; - import { - a, - b as lang, - } from 'module-name8' - import "module-name9"; - - const a = 1; - const b = 'foo'; - - import myDefault from '/modules/my-module.js' - import { - reallyReallyLongModuleExportName as shortName, - anotherLongModuleName as short - } from '/modules/my-module.js' - ` - expect(getPackagesFromFiles([file])).toEqual([ - 'module-name0', - 'module-name1', - 'module-name2', - 'module-name3', - 'module-name4', - 'module-name5', - 'module-name6', - 'module-name7', - 'module-name8', - 'module-name9', - ]) - }) - - it('require packages', () => { - const file = ` - const dayjs = require("dayjs"); - const { Button } = require('antd'); - const cloneDeep = require('lodash/cloneDeep') - const { - Form, - Button, - } = require('@formily/antd') - const Loading = require('@ant-design/icons/Loading') - const Github = require('@ant-design/icons/Github') - require('systemjs') - - const lang = require(\`moment/locale/\${lang}\`) - const foo = require('../foo') - - const packageJson = require('../package.json') - const { getPackageNameFromString } = require('./buildPluginUtils') - - const file = './foo' - const foo = require(file) - ` - - expect(getPackagesFromFiles([file])).toEqual(['dayjs', 'antd', 'lodash', '@formily/antd', '@ant-design/icons', 'systemjs', 'moment']) - }) - - it('import and require packages', () => { - const file = ` - import dayjs from "dayjs"; - const { Button } = require('antd'); - ` - expect(getPackagesFromFiles([file])).toEqual(['dayjs', 'antd']) - }) - - it('multiple files', () => { - const file1 = ` - import dayjs from "dayjs"; - import { Button } from 'antd'; - ` - - const file2 = ` - import dayjs from "dayjs"; - import cloneDeep from 'lodash/cloneDeep' - import { Form } from '@formily/antd' - ` - - expect(getPackagesFromFiles([file1, file2])).toEqual(['dayjs', 'antd', 'lodash', '@formily/antd']) - }) - }) - - it('getSourcePackages', () => { - const res = getSourcePackages([ - path.join(__dirname, './fixtures/buildPluginUtils/getSourcePackages/file1'), - path.join(__dirname, './fixtures/buildPluginUtils/getSourcePackages/file2'), - ]); - - expect(res).toEqual(['react', 'dayjs', 'lodash', 'mock-axios', 'antd']) - }) - - it('getPackageJson', () => { - const res = getPackageJson(path.join(__dirname, './fixtures/buildPluginUtils')); - expect(res).toContain({ - "name": "@nocobase/plugin-xxx" - }) - }) - - it('getPackageJsonPackages', () => { - const res = getPackageJsonPackages({ - devDependencies: { - 'dayjs': '1.0.0', - 'axios': '1.0.0', - }, - dependencies: { - 'dayjs': '1.0.0', - 'antd': '1.0.0', - 'lodash': '1.0.0', - } - }); - expect(res).toEqual(['dayjs', 'axios', 'antd', 'lodash']) - }) - - describe('checkRequirePackageJson', () => { - it('case1: should throw error', () => { - const exit = process.exit; - process.exit = vitest.fn(); - - const log = vitest.fn(); - checkRequirePackageJson([ - path.join(__dirname, './fixtures/buildPluginUtils/checkRequirePackageJson/file1') - ], log); - - expect(process.exit).toBeCalled(); - expect(log).toBeCalled(); - - process.exit = exit; - }) - it('case2: should throw error', () => { - const exit = process.exit; - process.exit = vitest.fn(); - - const log = vitest.fn(); - checkRequirePackageJson([ - path.join(__dirname, './fixtures/buildPluginUtils/checkRequirePackageJson/file2') - ], log); - - expect(process.exit).toBeCalled(); - expect(log).toBeCalled(); - - process.exit = exit; - }) - - it('should not throw error', () => { - const file = path.join(__dirname, './fixtures/buildPluginUtils/checkRequirePackageJson/file3'); - const log = vitest.fn(); - checkRequirePackageJson([file], log); - expect(log).not.toBeCalled(); - }) - }) - - describe('checkEntryExists', () => { - it('entry exists, should not throw error', () => { - const exit = process.exit; - process.exit = vitest.fn(); - - const log = vitest.fn(); - checkEntryExists(path.join(__dirname, './fixtures/buildPluginUtils/checkEntryExists/exists'), 'client', log); - checkEntryExists(path.join(__dirname, './fixtures/buildPluginUtils/checkEntryExists/exists'), 'server', log); - - expect(process.exit).not.toBeCalled(); - expect(log).not.toBeCalled(); - - process.exit = exit; - }) - it('entry not exists, should throw error', () => { - const exit = process.exit; - process.exit = vitest.fn(); - - const log = vitest.fn(); - checkEntryExists(path.join(__dirname, './fixtures/buildPluginUtils/checkEntryExists/notExists'), 'client', log); - - expect(process.exit).toBeCalled(); - expect(log).toBeCalled(); - - process.exit = exit; - }) - }) - - describe('checkDependencies', () => { - it('has tip', () => { - const log = vitest.fn(); - const packageJson = { - dependencies: { - 'antd': '1.0.0', - 'dayjs': '1.0.0', - } - } - checkDependencies(packageJson, log); - expect(log).toBeCalled(); - }) - it('no tip', () => { - const log = vitest.fn(); - const packageJson = { - devDependencies: { - 'lodash': '1.0.0', - 'dayjs': '1.0.0', - } - } - checkDependencies(packageJson, log); - expect(log).not.toBeCalled(); - }) - }) - - it('getFileSize', () => { - expect(getFileSize(path.join(__dirname, './fixtures/buildPluginUtils/getFileSize'))).toMatchInlineSnapshot('1024') - }) - - it('formatFileSize', () => { - expect(formatFileSize(1024)).toBe('1.00 KB') - expect(formatFileSize(100)).toBe('0.10 KB') - }) -}) diff --git a/packages/core/build/src/utils/buildPluginUtils.ts b/packages/core/build/src/utils/buildPluginUtils.ts index 65c5dab7c923d..1470426b55e2b 100644 --- a/packages/core/build/src/utils/buildPluginUtils.ts +++ b/packages/core/build/src/utils/buildPluginUtils.ts @@ -15,7 +15,7 @@ export function isNotBuiltinModule(packageName: string) { export const isValidPackageName = (str: string) => { const pattern = /^(?:@[a-zA-Z0-9_-]+\/)?[a-zA-Z0-9_-]+$/; return pattern.test(str); -} +}; /** * get package name from string @@ -45,14 +45,17 @@ export function getPackageNameFromString(str: string) { packageName = arr[0]; } - packageName = packageName.trim() + packageName = packageName.trim(); return isValidPackageName(packageName) ? packageName : null; } export function getPackagesFromFiles(files: string[]): string[] { const packageNames = files - .map(item => [...[...item.matchAll(importRegex)].map(item => item[2]), ...[...item.matchAll(requireRegex)].map(item => item[1])]) + .map((item) => [ + ...[...item.matchAll(importRegex)].map((item) => item[2]), + ...[...item.matchAll(requireRegex)].map((item) => item[1]), + ]) .flat() .map(getPackageNameFromString) .filter(Boolean) @@ -61,28 +64,25 @@ export function getPackagesFromFiles(files: string[]): string[] { return [...new Set(packageNames)]; } -export function getSourcePackages(sourcePaths: string[]): string[] { - const files = sourcePaths.map(item => fs.readFileSync(item, 'utf-8')) - return getPackagesFromFiles(files); +export function getSourcePackages(fileSources: string[]): string[] { + return getPackagesFromFiles(fileSources); } export function getIncludePackages(sourcePackages: string[], external: string[], pluginPrefix: string[]): string[] { return sourcePackages - .filter(packageName => !external.includes(packageName)) // exclude external - .filter(packageName => !pluginPrefix.some(prefix => packageName.startsWith(prefix))) // exclude other plugin + .filter((packageName) => !external.includes(packageName)) // exclude external + .filter((packageName) => !pluginPrefix.some((prefix) => packageName.startsWith(prefix))); // exclude other plugin } export function getExcludePackages(sourcePackages: string[], external: string[], pluginPrefix: string[]): string[] { const includePackages = getIncludePackages(sourcePackages, external, pluginPrefix); - return sourcePackages.filter(packageName => !includePackages.includes(packageName)) -} - -export function getPackageJson(cwd: string) { - return JSON.parse(fs.readFileSync(path.join(cwd, 'package.json'), 'utf-8')); + return sourcePackages.filter((packageName) => !includePackages.includes(packageName)); } export function getPackageJsonPackages(packageJson: Record): string[] { - return [...new Set([...Object.keys(packageJson.devDependencies || {}), ...Object.keys(packageJson.dependencies || {})])]; + return [ + ...new Set([...Object.keys(packageJson.devDependencies || {}), ...Object.keys(packageJson.dependencies || {})]), + ]; } export function checkEntryExists(cwd: string, entry: 'server' | 'client', log: Log) { @@ -96,9 +96,15 @@ export function checkEntryExists(cwd: string, entry: 'server' | 'client', log: L } export function checkDependencies(packageJson: Record, log: Log) { - const packages = Object.keys(packageJson.dependencies || {}) + const packages = Object.keys(packageJson.dependencies || {}); if (!packages.length) return; - log("The build tool will package all dependencies into the dist directory, so you don't need to put them in %s. Instead, they should be placed in %s. For more information, please refer to: %s.", chalk.yellow(packages.join(', ')), chalk.yellow('dependencies'), chalk.yellow('devDependencies'), chalk.blue(chalk.blue('https://docs.nocobase.com/development/deps'))); + log( + "The build tool will package all dependencies into the dist directory, so you don't need to put them in %s. Instead, they should be placed in %s. For more information, please refer to: %s.", + chalk.yellow(packages.join(', ')), + chalk.yellow('dependencies'), + chalk.yellow('devDependencies'), + chalk.blue(chalk.blue('https://docs.nocobase.com/development/deps')), + ); } type CheckOptions = { @@ -107,7 +113,7 @@ type CheckOptions = { entry: 'server' | 'client'; files: string[]; packageJson: Record; -} +}; export function getFileSize(filePath: string) { const stat = fs.statSync(filePath); @@ -121,8 +127,39 @@ export function formatFileSize(fileSize: number) { export function buildCheck(options: CheckOptions) { const { cwd, log, entry, files, packageJson } = options; - checkEntryExists(cwd, entry, log) + checkEntryExists(cwd, entry, log); // checkRequirePackageJson(files, log); checkDependencies(packageJson, log); } + +export function checkRequire(sourceFiles: string[], log: Log) { + const requireArr = sourceFiles + .map((filePath) => { + const code = fs.readFileSync(filePath, 'utf-8'); + return [...code.matchAll(requireRegex)].map((item) => ({ + filePath: filePath, + code: item[0], + })); + }) + .flat(); + if (requireArr.length) { + log('%s not allowed. Please use %s instead.', chalk.red('require()'), chalk.red('import')); + requireArr.forEach((item, index) => { + console.log('%s. %s in %s;', index + 1, chalk.red(item.code), chalk.red(item.filePath)); + }); + console.log('\n'); + process.exit(-1); + } +} + +export function checkFileSize(outDir: string, log: Log) { + const files = fs.readdirSync(outDir); + + files.forEach(file => { + const fileSize = getFileSize(path.join(outDir, file)); + if (fileSize > 1024 * 1024) { + log(`The %s size %s exceeds 1MB. You can use dynamic import \`import()\` for lazy loading content.`, chalk.red(file), chalk.red(formatFileSize(fileSize))); + } + }); +} diff --git a/packages/core/build/src/utils/fixtures/buildPluginUtils/checkRequirePackageJson/file1 b/packages/core/build/src/utils/fixtures/buildPluginUtils/checkRequirePackageJson/file1 deleted file mode 100644 index 9f193cbb900de..0000000000000 --- a/packages/core/build/src/utils/fixtures/buildPluginUtils/checkRequirePackageJson/file1 +++ /dev/null @@ -1,3 +0,0 @@ -const packageJson = require('../package.json') - -const namespace = packageJson.name; diff --git a/packages/core/build/src/utils/fixtures/buildPluginUtils/checkRequirePackageJson/file2 b/packages/core/build/src/utils/fixtures/buildPluginUtils/checkRequirePackageJson/file2 deleted file mode 100644 index 98e1119c6f1f0..0000000000000 --- a/packages/core/build/src/utils/fixtures/buildPluginUtils/checkRequirePackageJson/file2 +++ /dev/null @@ -1,3 +0,0 @@ - - -const namespace = require('../../../package.json').name; diff --git a/packages/core/build/src/utils/fixtures/buildPluginUtils/checkRequirePackageJson/file3 b/packages/core/build/src/utils/fixtures/buildPluginUtils/checkRequirePackageJson/file3 deleted file mode 100644 index 94827781be30f..0000000000000 --- a/packages/core/build/src/utils/fixtures/buildPluginUtils/checkRequirePackageJson/file3 +++ /dev/null @@ -1,3 +0,0 @@ -import { name } from '../package.json' - -export const namespace = name; diff --git a/packages/core/build/src/utils/fixtures/buildPluginUtils/getFileSize b/packages/core/build/src/utils/fixtures/buildPluginUtils/getFileSize deleted file mode 100644 index ad8ffed602d49..0000000000000 --- a/packages/core/build/src/utils/fixtures/buildPluginUtils/getFileSize +++ /dev/null @@ -1,9 +0,0 @@ -content -contentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontent - -contentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontent - - -contentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontent -contentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontent -contentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontentcontent diff --git a/packages/core/build/src/utils/fixtures/buildPluginUtils/getSourcePackages/file1 b/packages/core/build/src/utils/fixtures/buildPluginUtils/getSourcePackages/file1 deleted file mode 100644 index cafac9ad8b06d..0000000000000 --- a/packages/core/build/src/utils/fixtures/buildPluginUtils/getSourcePackages/file1 +++ /dev/null @@ -1,10 +0,0 @@ -import React from 'react'; -import dayjs from 'dayjs'; -import cloneDeep from 'lodash/cloneDeep'; - -const day = dayjs(); -const button =
123
- -function bar() { -const mock = require('mock-axios') -} \ No newline at end of file diff --git a/packages/core/build/src/utils/fixtures/buildPluginUtils/getSourcePackages/file2 b/packages/core/build/src/utils/fixtures/buildPluginUtils/getSourcePackages/file2 deleted file mode 100644 index 70eccf3cc1766..0000000000000 --- a/packages/core/build/src/utils/fixtures/buildPluginUtils/getSourcePackages/file2 +++ /dev/null @@ -1,7 +0,0 @@ -const dayjs = require("dayjs"); -import bar from './file1' - -function foo() { - const lang = 'zh-cn' - const res = require(`antd/locale/${lang}`) -} diff --git a/packages/core/build/src/utils/fixtures/buildPluginUtils/package.json b/packages/core/build/src/utils/fixtures/buildPluginUtils/package.json deleted file mode 100644 index fe2811fcf8414..0000000000000 --- a/packages/core/build/src/utils/fixtures/buildPluginUtils/package.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "@nocobase/plugin-xxx", - "main": "./lib/server/index.js", - "devDependencies": { - "@nocobase/acl": "*", - "@nocobase/actions": "*", - "@nocobase/client": "*", - "@nocobase/database": "*", - "@nocobase/server": "*", - "@nocobase/test": "*", - "@nocobase/utils": "*", - "react": "^18.2.0", - "react-dom": "^18.2.0" - }, - "dependencies": { - "@types/jsonwebtoken": "^8.5.8", - "jsonwebtoken": "^8.5.1" - } -} diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core1/package.json b/packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core1/package.json deleted file mode 100755 index 00e2e0d0e5277..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core1/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "core1", - "version": "1.0.0", - "dependencies": { - "foo": "1.0.0" - } -} diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core1/src/index.js b/packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core1/src/index.js deleted file mode 100755 index 9638d025d9eed..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core1/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('bar'); diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core2/package.json b/packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core2/package.json deleted file mode 100755 index 203f31261a18a..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core2/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "core2", - "private": true, - "version": "1.0.0" -} diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core2/src/index.js b/packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core2/src/index.js deleted file mode 100755 index 695557eab3c4e..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/core/core2/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('foo'); diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/lerna.json b/packages/core/build/src/utils/getLernaPackages/fixtures/customize/lerna.json deleted file mode 100755 index d780dfc5fec50..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/lerna.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "packages": [ - "core/*", - "packages/*" - ] -} diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/package.json b/packages/core/build/src/utils/getLernaPackages/fixtures/customize/package.json deleted file mode 100755 index 7e961448cdc47..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "default-packages1", - "private": true -} diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/bar/package.json b/packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/bar/package.json deleted file mode 100755 index e3b20542b5a75..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/bar/package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "bar221", - "version": "1.0.0" -} diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/bar/src/index.js b/packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/bar/src/index.js deleted file mode 100755 index 9638d025d9eed..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/bar/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('bar'); diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/foo/package.json b/packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/foo/package.json deleted file mode 100755 index 216bc80251bec..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/foo/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "foo1121", - "version": "1.0.0", - "dependencies": { - "bar": "1.0.0" - } -} diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/foo/src/index.js b/packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/foo/src/index.js deleted file mode 100755 index 695557eab3c4e..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/customize/packages/foo/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('foo'); diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/default/lerna.json b/packages/core/build/src/utils/getLernaPackages/fixtures/default/lerna.json deleted file mode 100755 index 0967ef424bce6..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/default/lerna.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/default/package.json b/packages/core/build/src/utils/getLernaPackages/fixtures/default/package.json deleted file mode 100755 index eb50eb29ac5cd..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/default/package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "default-packages2", - "private": true -} diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/bar/package.json b/packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/bar/package.json deleted file mode 100755 index 956bd3e059841..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/bar/package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "bar2223", - "version": "1.0.0" -} diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/bar/src/index.js b/packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/bar/src/index.js deleted file mode 100755 index 9638d025d9eed..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/bar/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('bar'); diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/foo/package.json b/packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/foo/package.json deleted file mode 100755 index 215274b024d27..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/foo/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "foo", - "version": "1.0.0", - "dependencies": { - "bar": "1.0.0" - } -} diff --git a/packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/foo/src/index.js b/packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/foo/src/index.js deleted file mode 100755 index 695557eab3c4e..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/fixtures/default/packages/foo/src/index.js +++ /dev/null @@ -1,2 +0,0 @@ - -console.log('foo'); diff --git a/packages/core/build/src/utils/getLernaPackages/index.test.ts b/packages/core/build/src/utils/getLernaPackages/index.test.ts deleted file mode 100755 index b597407022083..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/index.test.ts +++ /dev/null @@ -1,83 +0,0 @@ -import path from 'path'; -import fs from 'fs-extra'; -import { getLernaPackages } from './'; - -export const FIXTURES_DIR = path.resolve(__dirname, 'fixtures'); - -export function getDirs() { - return fs - .readdirSync(FIXTURES_DIR) - .filter(fixturePath => - fs.statSync(path.resolve(FIXTURES_DIR, fixturePath)).isDirectory(), - ); -} - -export function fixture(...args: string[]) { - return path.join(FIXTURES_DIR, ...args) -} - -describe('default', () => { - const fixturePath = fixture('default'); - - it('获取所有的包', async () => { - expect.assertions(1); - - const pkgs = await getLernaPackages(fixturePath); - - const pkgNames = ['bar', 'foo']; - - expect(pkgNames).toEqual(pkgs.map(item => item.name)); - }) -}); - -describe('customize', () => { - const fixturePath = fixture('customize'); - - it('获取所有的包', async () => { - expect.assertions(1); - - const pkgs = await getLernaPackages(fixturePath, {}); - - const pkgNames = ['core2', 'bar', 'foo', 'core1']; - - expect(pkgNames).toEqual(pkgs.map(item => item.name)); - }); - - it('过滤私有的包', async () => { - expect.assertions(1); - - const pkgs = await getLernaPackages(fixturePath, { - skipPrivate: true, - }); - - const pkgNames = ['bar', 'foo', 'core1']; - - expect(pkgNames).toEqual(pkgs.map(item => item.name)); - }); - - it('设置包含部分包', async () => { - expect.assertions(1); - - const pkgs = await getLernaPackages(fixturePath, { - include: [ - 'core*' - ] - }); - const pkgNames = ['core1', 'core2']; - - expect(pkgNames).toEqual(pkgs.map(item => item.name)); - }) - - it('设置包含部分包', async () => { - expect.assertions(1); - - const pkgs = await getLernaPackages(fixturePath, { - exclude: [ - 'core1' - ] - }); - const pkgNames = ['core2', 'bar', 'foo']; - - expect(pkgNames).toEqual(pkgs.map(item => item.name)); - }) -}); diff --git a/packages/core/build/src/utils/getLernaPackages/index.ts b/packages/core/build/src/utils/getLernaPackages/index.ts deleted file mode 100755 index 7ed72de15f1c4..0000000000000 --- a/packages/core/build/src/utils/getLernaPackages/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import Topo from '@hapi/topo'; -import { filterPackages } from '@lerna/filter-packages'; -import { getPackagesSync } from '@lerna/project'; -import { QueryGraph } from '@lerna/query-graph'; - -export interface Options { - /** 指定包含的包 */ - include?: string[]; - /** 指定排除的包 */ - exclude?: string[]; - /** - * 跳过私有的包 - * @default false - * */ - skipPrivate?: boolean; -} - -/** - * 获取lerna项目包集合 - * @param cwd - */ -export async function getLernaPackages(cwd: string, ops: Options = {}): Promise { - const { include = [], exclude = [], skipPrivate = false } = ops; - - const sorter = new Topo.Sorter(); - - const allPkgs = getPackagesSync(cwd) ?? []; - - const pkgs = filterPackages(allPkgs, include, exclude, !skipPrivate, true); - - // const packages = await getStreamPackages(pkgs); - - for (const pkg of pkgs) { - const pkgJson = require(`${pkg.name}/package.json`); - const after = Object.keys({ ...pkgJson.dependencies, ...pkgJson.devDependencies, ...pkgJson.peerDependencies }); - sorter.add(pkg, { after, group: pkg.name }); - } - - return sorter.nodes; -} - -export function getStreamPackages(pkgs: any[]): Promise { - const graph = new QueryGraph(pkgs, 'allDependencies', true); - - return new Promise((resolve) => { - const returnValues: any[] = []; - - const queueNextAvailablePackages = () => - graph - .getAvailablePackages() - // @ts-ignore - .forEach(({ pkg, name }) => { - graph.markAsTaken(name); - - Promise.resolve(pkg) - .then((value) => returnValues.push(value)) - .then(() => graph.markAsDone(pkg)) - .then(() => queueNextAvailablePackages()); - }); - - queueNextAvailablePackages(); - - setTimeout(() => { - resolve(returnValues); - }, 0); - }); -} diff --git a/packages/core/build/src/utils/getPackages.ts b/packages/core/build/src/utils/getPackages.ts new file mode 100644 index 0000000000000..4330c2d3108ea --- /dev/null +++ b/packages/core/build/src/utils/getPackages.ts @@ -0,0 +1,45 @@ +import Topo from '@hapi/topo'; +import fg from 'fast-glob'; +import { PACKAGES_PATH, ROOT_PATH } from '../constant'; +import { getPackagesSync } from '@lerna/project'; +import { Package } from '@lerna/package'; +import { toUnixPath } from './utils'; + +/** + * @example + * yarn build app/client,plugins/acl,core/* => ['app/client', 'plugins/acl', ...all core dir's packages] + * yarn build app/client plugins/acl core/* => ['app/client', 'plugins/acl', ...all core dir's packages] + * yarn build => all packages + */ +function getPackagesPath(pkgs: string[]) { + if (pkgs.length === 0) { + pkgs = ['*/*']; + } + return fg + .sync(pkgs, { + cwd: PACKAGES_PATH, + absolute: true, + onlyDirectories: true, + }) + .map(toUnixPath); +} + +export function getPackages(pkgs: string[]) { + const packagePaths = getPackagesPath(pkgs); + + const packages = getPackagesSync(ROOT_PATH).filter((pkg) => packagePaths.includes(toUnixPath(pkg.location))); + + return sortPackages(packages); +} + +// make sure the order of packages is correct +export function sortPackages(packages: Package[]): Package[] { + const sorter = new Topo.Sorter(); + for (const pkg of packages) { + const pkgJson = require(`${pkg.name}/package.json`); + const after = Object.keys({ ...pkgJson.dependencies, ...pkgJson.devDependencies, ...pkgJson.peerDependencies }); + sorter.add(pkg, { after, group: pkg.name }); + } + + return sorter.nodes; +} diff --git a/packages/core/build/src/utils/index.ts b/packages/core/build/src/utils/index.ts index 52a8750069227..04bca77e0dec4 100755 --- a/packages/core/build/src/utils/index.ts +++ b/packages/core/build/src/utils/index.ts @@ -1,17 +1 @@ -import { existsSync } from 'fs'; -import { join } from 'path'; - -export function getExistFiles({ cwd, files, returnRelative, onlyOne = true }) { - const res = []; - for (const file of files) { - const absFilePath = join(cwd, file); - if (existsSync(absFilePath)) { - const filePath = returnRelative ? file : absFilePath; - res.push(filePath); - } - } - - return onlyOne ? res[0] : res; // undefined or string[] -} - -export { getLernaPackages } from './getLernaPackages'; +export * from './utils'; diff --git a/packages/core/build/src/utils/utils.ts b/packages/core/build/src/utils/utils.ts new file mode 100644 index 0000000000000..d6aff5f3a9a93 --- /dev/null +++ b/packages/core/build/src/utils/utils.ts @@ -0,0 +1,46 @@ +import chalk from 'chalk'; +import path from 'path'; + +let previousColor = ''; +function randomColor() { + const colors = [ + 'red', + 'green', + 'yellow', + 'blue', + 'magenta', + 'cyan', + 'gray', + 'redBright', + 'greenBright', + 'yellowBright', + 'blueBright', + 'magentaBright', + 'cyanBright', + ]; + + let color = previousColor; + while (color === previousColor) { + const randomIndex = Math.floor(Math.random() * colors.length); + color = colors[randomIndex]; + } + + previousColor = color; + return chalk[color]; +} + +export type PkgLog = (msg: string, ...args: any[]) => void; +export const getPkgLog = (pkgName: string) => { + const pkgColor = randomColor(); + const pkgStr = chalk.bold(pkgColor(pkgName)); + const pkgLog: PkgLog = (msg: string, ...optionalParams: any[]) => console.log(`${pkgStr}: ${msg}`, ...optionalParams); + return pkgLog; +}; + +export function toUnixPath(filepath: string) { + return filepath.replace(/\\/g, '/'); +} + +export function getPackageJson(cwd: string) { + return require(path.join(cwd, 'package.json')); +} diff --git a/packages/core/build/template/tsconfig.json b/packages/core/build/template/tsconfig.json deleted file mode 100755 index 9a8969019ac53..0000000000000 --- a/packages/core/build/template/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "compilerOptions": { - "allowSyntheticDefaultImports": true, - "declaration": true, - "module": "esnext", - "target": "esnext", - "moduleResolution": "node", - "jsx": "react" - }, - "include": ["./src", "./typings/"], - "typings": "./typings/index.d.ts", - "exclude": [ - "node_modules", - "build", - "scripts", - "acceptance-tests", - "webpack", - "jest", - "src/setupTests.ts", - "tslint:latest", - "tslint-config-prettier" - ] -} diff --git a/packages/core/build/tsup.config.ts b/packages/core/build/tsup.config.ts new file mode 100644 index 0000000000000..5fa8d2ef56207 --- /dev/null +++ b/packages/core/build/tsup.config.ts @@ -0,0 +1,16 @@ +import { defineConfig } from 'tsup'; +import fg from 'fast-glob'; +import path from 'path'; +import { globExcludeFiles } from './src/constant'; + +const entry = fg.globSync(['src/**', ...globExcludeFiles], { cwd: __dirname, absolute: true }); + +export default defineConfig({ + entry, + outDir: path.join(__dirname, 'lib'), + splitting: false, + sourcemap: false, + clean: true, + bundle: false, + skipNodeModulesBundle: true, +}); diff --git a/packages/core/cli/bin/index.js b/packages/core/cli/bin/index.js index 99c9c5e40da66..144b9dc527c35 100755 --- a/packages/core/cli/bin/index.js +++ b/packages/core/cli/bin/index.js @@ -3,6 +3,7 @@ const dotenv = require('dotenv'); const { resolve } = require('path'); const { existsSync } = require('fs'); +const chalk = require('chalk'); const env = { APP_ENV: 'development', @@ -35,6 +36,11 @@ for (const key in env) { } } +if (require('semver').satisfies(process.version, '<16')) { + console.error(chalk.red('[nocobase cli]: Node.js version must be >= 16')); + process.exit(1); +} + if (require('semver').satisfies(process.version, '>16') && !process.env.UNSET_NODE_OPTIONS) { if (process.env.NODE_OPTIONS) { let opts = process.env.NODE_OPTIONS; diff --git a/packages/core/cli/src/commands/build.js b/packages/core/cli/src/commands/build.js index 3f4ba89a9d7d4..33c6e00878c5d 100644 --- a/packages/core/cli/src/commands/build.js +++ b/packages/core/cli/src/commands/build.js @@ -1,41 +1,34 @@ -const { resolve, dirname } = require('path'); +const { resolve } = require('path'); const { Command } = require('commander'); -const { run, nodeCheck, isPackageValid, promptForTs, hasCorePackages } = require('../util'); +const { run, nodeCheck, isPackageValid } = require('../util'); /** * * @param {Command} cli */ module.exports = (cli) => { - const { APP_PACKAGE_ROOT } = process.env; - const clientPackage = `core/app`; cli .command('build') .allowUnknownOption() .argument('[packages...]') + .option('-v, --version', 'print version') .option('-c, --compile', 'compile the @nocobase/build package') + .option('-w, --watch', 'watch compile the @nocobase/build package') + .option('-s, --sourcemap', 'generate sourcemap') + .option('--no-dts', 'not generate dts') .action(async (pkgs, options) => { - promptForTs(); nodeCheck(); - if (isPackageValid('umi-tools/cli')) { - if (options.compile || !isPackageValid('@nocobase/build/lib')) { - await run('umi-tools', ['build'], { - cwd: resolve(process.cwd(), 'packages/core/build'), - }); - } - } - await run('nocobase-build', process.argv.slice(3)); - if (!hasCorePackages()) { - return; - } - if (!pkgs.length || pkgs.includes(clientPackage)) { - const file = require.resolve('@nocobase/app'); - await run('umi', ['build'], { - env: { - APP_ROOT: `${dirname(dirname(file))}/client`, - NODE_ENV: 'production', - }, + if (options.compile || options.watch || isPackageValid('@nocobase/build/src/index.ts')) { + await run('yarn', ['build', options.watch ? '--watch' : ''], { + cwd: resolve(process.cwd(), 'packages/core/build'), }); + if (options.watch) return; } + await run('nocobase-build', [ + ...pkgs, + options.version ? '--version' : '', + !options.dts ? '--no-dts' : '', + options.sourcemap ? '--sourcemap' : '', + ]); }); }; diff --git a/packages/core/client/.buildrc.ts b/packages/core/client/.buildrc.ts deleted file mode 100644 index f0c3466d6eebc..0000000000000 --- a/packages/core/client/.buildrc.ts +++ /dev/null @@ -1,5 +0,0 @@ -export default { - target: 'browser', - cjs: 'babel', - esm: 'babel', -}; diff --git a/packages/core/client/.dumi/theme/slots/PreviewerActions.tsx b/packages/core/client/.dumi/theme/slots/PreviewerActions.tsx new file mode 100644 index 0000000000000..ddf4a68cebaaf --- /dev/null +++ b/packages/core/client/.dumi/theme/slots/PreviewerActions.tsx @@ -0,0 +1,221 @@ +import DumiPreviewerActions from 'dumi/theme-default/slots/PreviewerActions'; +import React, { useRef, useEffect, useState } from 'react'; +import { Spin } from 'antd' + +import { IPreviewerProps } from 'dumi'; + +const indexHtml = ` +
+ + +` + +const mainTsx = ` +import React from 'react' +import ReactDOM from 'react-dom/client' +import App from './App' + +ReactDOM.createRoot(document.getElementById('root')!).render( + + + , +) +` + +const packageJson = ` +{ + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "tsc && vite build", + "preview": "vite preview" + }, + "dependencies": { + }, + "devDependencies": { + "flat": "^5.0.2", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "@types/react": "^18.2.15", + "@types/react-dom": "^18.2.7", + "@vitejs/plugin-react": "^4.0.3", + "less": "^4.2.0", + "typescript": "^5.0.2", + "vite": "^4.4.5" + } +} +` + +const tsConfigJson = ` +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "lib": [ + "ES2020", + "DOM", + "DOM.Iterable" + ], + "module": "ESNext", + "skipLibCheck": true, + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + "composite": true, + "strict": false, + "noUnusedLocals": true, + "noUnusedParameters": true, + "allowSyntheticDefaultImports": true, + "noFallthroughCasesInSwitch": true + }, + "include": [ + "src", + "vite.config.ts" + ] +} +` + +const viteConfigTs = ` +import { defineConfig } from 'vite' +import react from '@vitejs/plugin-react' + +export default defineConfig({ + plugins: [react()], +}) +` + +const sandboxTask = ` +{ + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + "tasks": { + "dev": { + "name": "dev", + "command": "yarn dev", + "runAtStart": true, + "preview": { + "port": 5173 + } + }, + "build": { + "name": "build", + "command": "yarn build", + "runAtStart": false + }, + "preview": { + "name": "preview", + "command": "yarn preview", + "runAtStart": false + } + } +} +` + +function getCSBData(opts: IPreviewerProps, ext: string) { + + const files: Record< + string, + { + content: string; + isBinary: boolean; + } + > = {}; + const deps: Record = {}; + const entryFileName = `index${ext}`; + + Object.entries(opts.asset.dependencies).forEach(([name, { type, value }]) => { + if (type === 'NPM') { + // generate dependencies + deps[name] = value; + } else { + // append other imported local files + files[name === entryFileName ? `src/App${ext}` : name] = { + content: value, + isBinary: false, + }; + } + }); + + // append package.json + let pkg = JSON.parse(packageJson) + try { + for (let key in deps) { + if (!pkg['devDependencies'][key]) { + pkg.dependencies[key] = deps[key] + } + } + } catch (e) { + console.log(e) + } + files['package.json'] = { + content: JSON.stringify( + { + name: opts.title, + ...pkg, + }, + null, + 2, + ), + isBinary: false, + }; + + files['index.html'] = { content: indexHtml, isBinary: false }; + files['src/main.tsx'] = { content: mainTsx, isBinary: false }; + files['package.json'] = { content: JSON.stringify(pkg, null, 2), isBinary: false }; + files['.codesandbox/task.json'] = { content: sandboxTask, isBinary: false }; + files['tsconfig.json'] = { content: tsConfigJson, isBinary: false }; + files['vite.config.ts'] = { content: viteConfigTs, isBinary: false }; + + return { files }; +} + + +export function openCodeSandbox(opts: IPreviewerProps) { + const isTSX = Boolean(opts.asset.dependencies?.['index.tsx']); + const ext = isTSX ? '.tsx' : '.jsx'; + return fetch("https://codesandbox.io/api/v1/sandboxes/define?json=1", { + method: "POST", + headers: { + "Content-Type": "application/json", + Accept: "application/json" + }, + body: JSON.stringify(getCSBData(opts, ext)) + }) + .then(x => x.json()) + .then(data => { + window.open(`https://codesandbox.io/p/sandbox/${data.sandbox_id}?file=/src/App${ext}`); + }); +} + + +const PreviewerActions: typeof DumiPreviewerActions = (props) => { + const div = useRef(null); + const [loading, setLoading] = useState(false); + + useEffect(() => { + if (div.current) { + const elements = div.current.querySelectorAll('.dumi-default-previewer-actions'); + elements.forEach((element) => { + element.addEventListener('click', (e) => { + e.stopImmediatePropagation(); + setLoading(true); + openCodeSandbox(props).finally(() => { + setLoading(false); + }); + }) + }) + } + }, [div]) + + return
+}; + +export default PreviewerActions; diff --git a/packages/core/client/package.json b/packages/core/client/package.json index 5a8bd566879c4..7d517040976f3 100644 --- a/packages/core/client/package.json +++ b/packages/core/client/package.json @@ -31,6 +31,7 @@ "@types/requirejs": "^2.1.34", "ahooks": "^3.7.2", "antd": "^5.7.3", + "flat": "^5.0.2", "antd-style": "^3.3.0", "axios": "^0.26.1", "classnames": "^2.3.1", diff --git a/packages/core/client/src/antd-config-provider/loadConstrueLocale.ts b/packages/core/client/src/antd-config-provider/loadConstrueLocale.ts index e25b66103202d..933e9fb60cad5 100644 --- a/packages/core/client/src/antd-config-provider/loadConstrueLocale.ts +++ b/packages/core/client/src/antd-config-provider/loadConstrueLocale.ts @@ -1,7 +1,7 @@ import cronstrue from 'cronstrue'; class CronstrueLocale { - constructor(protected data: any) {} + constructor(protected data: any) { } atX0SecondsPastTheMinuteGt20(): string | null { return this.data['atX0SecondsPastTheMinuteGt20']; } @@ -164,7 +164,9 @@ class CronstrueLocale { } export const loadConstrueLocale = (data) => { - cronstrue.initialize({ + // vite bug: https://github.com/vitejs/vite/issues/2139 + const cronstrueVal = (cronstrue as any).default ? (cronstrue as any).default : cronstrue; + cronstrueVal.initialize({ load(availableLocales) { availableLocales[data?.lang] = new CronstrueLocale(data?.cronstrue); }, diff --git a/packages/core/client/src/api-client/hooks/useRequest.ts b/packages/core/client/src/api-client/hooks/useRequest.ts index e9e406417f873..4af956d530be4 100644 --- a/packages/core/client/src/api-client/hooks/useRequest.ts +++ b/packages/core/client/src/api-client/hooks/useRequest.ts @@ -1,6 +1,5 @@ import { merge } from '@formily/shared'; -import { useSetState } from 'ahooks'; -import { default as useReq } from 'ahooks/es/useRequest'; +import { useRequest as useReq, useSetState } from 'ahooks'; import { Options } from 'ahooks/es/useRequest/src/types'; import { AxiosRequestConfig } from 'axios'; import cloneDeep from 'lodash/cloneDeep'; diff --git a/packages/core/client/src/application/utils/remotePlugins.ts b/packages/core/client/src/application/utils/remotePlugins.ts index e76709b75f2bb..e797347b8c04b 100644 --- a/packages/core/client/src/application/utils/remotePlugins.ts +++ b/packages/core/client/src/application/utils/remotePlugins.ts @@ -21,6 +21,8 @@ export function getRemotePlugins( baseURL = baseURL.slice(0, -4); } + // for dynamic import `import()` + (window as any).staticBaseUrl = `/api/plugins/client`; requirejs.requirejs.config({ waitSeconds: 120, paths: pluginData.reduce>((memo, item) => { @@ -34,7 +36,19 @@ export function getRemotePlugins( requirejs.requirejs( pluginData.map((item) => item.packageName), (...plugins: (typeof Plugin & { default?: typeof Plugin })[]) => { - resolve(plugins.map((item) => item.default || item)); + const res = plugins.filter((item) => item).map((item) => item.default || item); + resolve(res); + const emptyPlugins = plugins + .map((item, index) => (!item ? index : null)) + .filter((i) => i !== null) + .map((i) => pluginData[i].packageName); + + if (emptyPlugins.length > 0) { + console.error( + '[nocobase load plugin error]: These plugins do not have an `export.default` exported content or there is an error in the plugins. error plugins: \r\n%s', + emptyPlugins.join(', \r\n'), + ); + } }, reject, ); diff --git a/packages/core/client/src/schema-component/antd/upload/ReadPretty.tsx b/packages/core/client/src/schema-component/antd/upload/ReadPretty.tsx index a2669e67e8e10..c77d5a5aa637c 100644 --- a/packages/core/client/src/schema-component/antd/upload/ReadPretty.tsx +++ b/packages/core/client/src/schema-component/antd/upload/ReadPretty.tsx @@ -32,8 +32,9 @@ ReadPretty.File = function File(props: UploadProps) { const [fileType, setFileType] = useState<'image' | 'pdf'>(); const { size } = props; const { wrapSSR, hashId, componentCls: prefixCls } = useStyles(); + const useUploadStyleVal = (useUploadStyle as any).default ? (useUploadStyle as any).default : useUploadStyle; // 加载 antd 的样式 - useUploadStyle(prefixCls); + useUploadStyleVal(prefixCls); function closeIFrameModal() { setVisible(false); diff --git a/packages/core/client/src/schema-component/antd/variable/TextArea.tsx b/packages/core/client/src/schema-component/antd/variable/TextArea.tsx index 6b00d6c594b45..ff4c5712a1c14 100644 --- a/packages/core/client/src/schema-component/antd/variable/TextArea.tsx +++ b/packages/core/client/src/schema-component/antd/variable/TextArea.tsx @@ -3,7 +3,7 @@ import { useForm } from '@formily/react'; import { Input } from 'antd'; import { cloneDeep } from 'lodash'; import React, { useEffect, useMemo, useRef, useState } from 'react'; -import * as sanitizeHTML from 'sanitize-html'; +import sanitizeHTML from 'sanitize-html'; import { error } from '@nocobase/utils/client'; diff --git a/packages/core/client/src/schema-component/common/utils/logic.js b/packages/core/client/src/schema-component/common/utils/logic.js index 9f0baa6f8621c..c034d14cb4840 100644 --- a/packages/core/client/src/schema-component/common/utils/logic.js +++ b/packages/core/client/src/schema-component/common/utils/logic.js @@ -3,15 +3,7 @@ Using a Universal Module Loader that should be browser, require, and AMD friendly http://ricostacruz.com/cheatsheets/umdjs.html */ -(function (root, factory) { - if (typeof define === 'function' && define.amd) { - define(factory); - } else if (typeof exports === 'object') { - module.exports = factory(); - } else { - root.jsonLogic = factory(); - } -})(this, function () { +export function getJsonLogic() { 'use strict'; /* globals console:false */ @@ -320,7 +312,7 @@ http://ricostacruz.com/cheatsheets/umdjs.html /* This helper will defer to the JsonLogic spec as a tie-breaker when different language interpreters define different behavior for the truthiness of primitives. E.g., PHP considers empty arrays to be falsy, but Javascript considers them to be truthy. JsonLogic, as an ecosystem, needs one consistent answer. - + Spec and rationale here: http://jsonlogic.com/truthy */ jsonLogic.truthy = function (value) { @@ -370,7 +362,7 @@ http://ricostacruz.com/cheatsheets/umdjs.html if( 0 ){ 1 }else{ 2 }; if( 0 ){ 1 }else if( 2 ){ 3 }else{ 4 }; if( 0 ){ 1 }else if( 2 ){ 3 }else if( 4 ){ 5 }else{ 6 }; - + The implementation is: For pairs of values (0,1 then 2,3 then 4,5 etc) If the first evaluates truthy, evaluate and return the second @@ -600,4 +592,4 @@ http://ricostacruz.com/cheatsheets/umdjs.html }; return jsonLogic; -}); +} diff --git a/packages/core/client/src/schema-component/common/utils/uitls.tsx b/packages/core/client/src/schema-component/common/utils/uitls.tsx index 3730d03ffdb7a..877b55eb56369 100644 --- a/packages/core/client/src/schema-component/common/utils/uitls.tsx +++ b/packages/core/client/src/schema-component/common/utils/uitls.tsx @@ -4,7 +4,7 @@ import _, { every, findIndex, isArray, some } from 'lodash'; import { useMemo } from 'react'; import { useTableBlockContext } from '../../../block-provider'; import { useCurrentUserContext } from '../../../user'; -import jsonLogic from '../../common/utils/logic'; +import { getJsonLogic } from '../../common/utils/logic'; type VariablesCtx = { /** 当前登录的用户 */ @@ -152,6 +152,8 @@ export const conditionAnalyse = (rules, scope) => { } try { const isArrayField = isArray(values[targetField[0]]); + const jsonLogic = getJsonLogic(); + if (isArrayField && targetField.length > 1) { //对多关系字段比较 const currentValue = getFieldValue(targetField, values); diff --git a/packages/core/create-nocobase-app/templates/app/.buildrc.ts b/packages/core/create-nocobase-app/templates/app/.buildrc.ts deleted file mode 100644 index d115197ec2383..0000000000000 --- a/packages/core/create-nocobase-app/templates/app/.buildrc.ts +++ /dev/null @@ -1,5 +0,0 @@ -export default { - target: 'node', - cjs: { type: 'babel', lazy: true }, - excludePkgs: ['app/client'], -}; diff --git a/packages/core/database/src/database.ts b/packages/core/database/src/database.ts index cb18366a5f10a..7a473ff54f185 100644 --- a/packages/core/database/src/database.ts +++ b/packages/core/database/src/database.ts @@ -611,7 +611,7 @@ export class Database extends EventEmitter implements AsyncEmitter { this.operators = operators; this.registerOperators({ - ...extendOperators, + ...(extendOperators as unknown as MapOf), }); } diff --git a/packages/core/database/src/operators/index.ts b/packages/core/database/src/operators/index.ts index 62665c85619c3..7ad5fdc305737 100644 --- a/packages/core/database/src/operators/index.ts +++ b/packages/core/database/src/operators/index.ts @@ -1,12 +1,23 @@ +import association from './association'; +import date from './date'; +import array from './array'; +import empty from './empty'; +import string from './string'; +import eq from './eq'; +import ne from './ne'; +import notIn from './notIn'; +import boolean from './boolean'; +import childCollection from './child-collection'; + export default { - ...require('./association').default, - ...require('./date').default, - ...require('./array').default, - ...require('./empty').default, - ...require('./string').default, - ...require('./eq').default, - ...require('./ne').default, - ...require('./notIn').default, - ...require('./boolean').default, - ...require('./child-collection').default, + ...association, + ...date, + ...array, + ...empty, + ...string, + ...eq, + ...ne, + ...notIn, + ...boolean, + ...childCollection, }; diff --git a/packages/core/resourcer/src/__tests__/koa.test.ts b/packages/core/resourcer/src/__tests__/koa.test.ts index 1fc69ba87ea21..38d5efe5f23f5 100644 --- a/packages/core/resourcer/src/__tests__/koa.test.ts +++ b/packages/core/resourcer/src/__tests__/koa.test.ts @@ -1,7 +1,7 @@ import Koa from 'koa'; import bodyParser from 'koa-bodyparser'; import supertest from 'supertest'; -import Resourcer from '../resourcer'; +import { Resourcer } from '../resourcer'; describe('koa middleware', () => { it('shound work', async () => { diff --git a/packages/core/resourcer/src/__tests__/resourcer.test.ts b/packages/core/resourcer/src/__tests__/resourcer.test.ts index 79a8953df1561..b5faa34e8acb7 100644 --- a/packages/core/resourcer/src/__tests__/resourcer.test.ts +++ b/packages/core/resourcer/src/__tests__/resourcer.test.ts @@ -1,5 +1,5 @@ import path from 'path'; -import Resourcer, { Action, ResourcerContext } from '..'; +import { Resourcer, Action, ResourcerContext } from '..'; import Resource from '../resource'; describe('resourcer', () => { diff --git a/packages/core/resourcer/src/index.ts b/packages/core/resourcer/src/index.ts index ca3c29a7ca5b6..d4deaa4ec1d31 100644 --- a/packages/core/resourcer/src/index.ts +++ b/packages/core/resourcer/src/index.ts @@ -1,9 +1,5 @@ -import Resourcer from './resourcer'; - export * from './utils'; export * from './middleware'; export * from './action'; export * from './resource'; export * from './resourcer'; - -export default Resourcer; diff --git a/packages/core/resourcer/src/resource.ts b/packages/core/resourcer/src/resource.ts index 432411dbe3826..20888f2d7b887 100644 --- a/packages/core/resourcer/src/resource.ts +++ b/packages/core/resourcer/src/resource.ts @@ -1,7 +1,7 @@ import _ from 'lodash'; import Action, { ActionName, ActionType } from './action'; import Middleware, { MiddlewareType } from './middleware'; -import Resourcer from './resourcer'; +import { Resourcer } from './resourcer'; export type ResourceType = 'single' | 'hasOne' | 'hasMany' | 'belongsTo' | 'belongsToMany'; diff --git a/packages/core/sdk/.buildrc.ts b/packages/core/sdk/.buildrc.ts deleted file mode 100644 index bfe5a8a0978b0..0000000000000 --- a/packages/core/sdk/.buildrc.ts +++ /dev/null @@ -1,5 +0,0 @@ -export default { - target: 'node', - cjs: 'babel', - esm: 'babel', -}; diff --git a/packages/core/sdk/package.json b/packages/core/sdk/package.json index 5816f4b18b1c4..17ddee3fb3e2f 100644 --- a/packages/core/sdk/package.json +++ b/packages/core/sdk/package.json @@ -2,9 +2,8 @@ "name": "@nocobase/sdk", "version": "0.13.0-alpha.4", "license": "Apache-2.0", - "main": "lib", - "module": "es/index.js", - "typings": "es/index.d.ts", + "main": "lib/index.js", + "types": "lib/index.d.ts", "dependencies": { "axios": "^0.26.1", "qs": "^6.10.1" diff --git a/packages/core/sdk/src/APIClient.ts b/packages/core/sdk/src/APIClient.ts index 76acdf946b690..73a345d4d36cb 100644 --- a/packages/core/sdk/src/APIClient.ts +++ b/packages/core/sdk/src/APIClient.ts @@ -14,14 +14,11 @@ type ResourceActionOptions

= { params?: P; }; -export interface IResource { - list?: (params?: ActionParams) => Promise; - get?: (params?: ActionParams) => Promise; - create?: (params?: ActionParams) => Promise; - update?: (params?: ActionParams) => Promise; - destroy?: (params?: ActionParams) => Promise; - [key: string]: (params?: ActionParams) => Promise; -} +type ResourceAction = (params?: ActionParams) => Promise; + +export type IResource = { + [key: string]: ResourceAction; +}; export class Auth { protected api: APIClient; diff --git a/packages/core/server/src/__tests__/config.test.ts b/packages/core/server/src/__tests__/config.test.ts index 17e9aef9a728f..bcaf0a1c5737a 100644 --- a/packages/core/server/src/__tests__/config.test.ts +++ b/packages/core/server/src/__tests__/config.test.ts @@ -13,7 +13,6 @@ describe('config', () => { expect(config['fake']).toBeUndefined(); expect(config['not-exists']).toBeUndefined(); expect(config['database']).toEqual(databaseConfiguration); - expect(config['database']).toEqual(databaseConfiguration); expect(config['plugins-options']['users']).toEqual(userConfiguration); }); diff --git a/packages/core/server/src/application.ts b/packages/core/server/src/application.ts index 4f1d3e1c762dc..27c12c79eeec2 100644 --- a/packages/core/server/src/application.ts +++ b/packages/core/server/src/application.ts @@ -4,7 +4,7 @@ import { actions as authActions, AuthManager } from '@nocobase/auth'; import { Cache, createCache, ICacheConfig } from '@nocobase/cache'; import Database, { CollectionOptions, IDatabaseOptions } from '@nocobase/database'; import { AppLoggerOptions, createAppLogger, Logger } from '@nocobase/logger'; -import Resourcer, { ResourceOptions } from '@nocobase/resourcer'; +import { Resourcer, ResourceOptions } from '@nocobase/resourcer'; import { applyMixins, AsyncEmitter, Toposort, ToposortOptions } from '@nocobase/utils'; import chalk from 'chalk'; import { Command, CommandOptions, ParseOptions } from 'commander'; diff --git a/packages/core/server/src/commands/index.ts b/packages/core/server/src/commands/index.ts index 47d10428d41e8..2c59e418d399d 100644 --- a/packages/core/server/src/commands/index.ts +++ b/packages/core/server/src/commands/index.ts @@ -1,18 +1,30 @@ import Application from '../application'; +import console from './console'; +import dbAuth from './db-auth'; +import dbClean from './db-clean'; +import dbSync from './db-sync'; +import destroy from './destroy'; +import install from './install'; +import migrator from './migrator'; +import pm from './pm'; +import restart from './restart'; +import start from './start'; +import stop from './stop'; +import upgrade from './upgrade'; export function registerCli(app: Application) { - require('./console').default(app); - require('./db-auth').default(app); - require('./db-clean').default(app); - require('./db-sync').default(app); - require('./install').default(app); - require('./migrator').default(app); - require('./start').default(app); - require('./restart').default(app); - require('./stop').default(app); - require('./destroy').default(app); - require('./upgrade').default(app); - require('./pm').default(app); + console(app); + dbAuth(app); + dbClean(app); + dbSync(app); + install(app); + migrator(app); + start(app); + upgrade(app); + pm(app); + restart(app); + stop(app); + destroy(app); // development only with @nocobase/cli app.command('build').argument('[packages...]'); diff --git a/packages/core/server/src/gateway/index.ts b/packages/core/server/src/gateway/index.ts index c34aa68b4b570..6e0016c09bb82 100644 --- a/packages/core/server/src/gateway/index.ts +++ b/packages/core/server/src/gateway/index.ts @@ -129,12 +129,12 @@ export class Gateway extends EventEmitter { public: resolve(process.cwd(), 'node_modules'), rewrites: [ { - source: '/api/plugins/client/:plugin/index.js', - destination: '/:plugin/dist/client/index.js', + source: '/api/plugins/client/:plugin/:file', + destination: '/:plugin/dist/client/:file', }, { - source: '/api/plugins/client/@:org/:plugin/index.js', - destination: '/@:org/:plugin/dist/client/index.js', + source: '/api/plugins/client/@:org/:plugin/:file', + destination: '/@:org/:plugin/dist/client/:file', }, ], }); diff --git a/packages/core/server/src/helper.ts b/packages/core/server/src/helper.ts index 9cca21603f3fe..070737c256ccc 100644 --- a/packages/core/server/src/helper.ts +++ b/packages/core/server/src/helper.ts @@ -1,6 +1,6 @@ import cors from '@koa/cors'; import Database from '@nocobase/database'; -import Resourcer from '@nocobase/resourcer'; +import { Resourcer } from '@nocobase/resourcer'; import { Command } from 'commander'; import i18next from 'i18next'; import bodyParser from 'koa-bodyparser'; diff --git a/packages/plugins/api-doc/src/client/index.tsx b/packages/plugins/api-doc/src/client/index.tsx index e809e24fe205c..78c3d1e0b2f51 100644 --- a/packages/plugins/api-doc/src/client/index.tsx +++ b/packages/plugins/api-doc/src/client/index.tsx @@ -1,13 +1,12 @@ import { RightOutlined } from '@ant-design/icons'; import { Plugin, SettingsCenterProvider } from '@nocobase/client'; import { Button, Tooltip } from 'antd'; -import React from 'react'; -import { useTranslation } from '../locale'; -import Documentation from './Document'; - import { createStyles } from 'antd-style'; +import React, { lazy } from 'react'; +import { useTranslation } from '../locale'; const DOCUMENTATION_PATH = '/api-documentation'; +const Documentation = lazy(() => import('./Document')); export const useStyles = createStyles(({ css, token }) => { return css` diff --git a/packages/plugins/api-keys/src/server/__tests__/actions.test.ts b/packages/plugins/api-keys/src/server/__tests__/actions.test.ts index c4355f87d0fe3..338232e3b6740 100644 --- a/packages/plugins/api-keys/src/server/__tests__/actions.test.ts +++ b/packages/plugins/api-keys/src/server/__tests__/actions.test.ts @@ -54,7 +54,7 @@ describe('actions', () => { }, }); - role = await ((db.getRepository('users.roles', user.id) as unknown) as Repository).findOne({ + role = await (db.getRepository('users.roles', user.id) as unknown as Repository).findOne({ where: { default: true, }, diff --git a/packages/plugins/sms-auth/src/server/__tests__/signin.test.ts b/packages/plugins/sms-auth/src/server/__tests__/signin.test.ts index e5a20b3017362..d158629850ccc 100644 --- a/packages/plugins/sms-auth/src/server/__tests__/signin.test.ts +++ b/packages/plugins/sms-auth/src/server/__tests__/signin.test.ts @@ -5,7 +5,10 @@ import VerificationPlugin from '@nocobase/plugin-verification'; import { authType } from '../../constants'; class Provider { - constructor(protected plugin: VerificationPlugin, protected options) {} + constructor( + protected plugin: VerificationPlugin, + protected options, + ) {} async send(receiver: string, data: { [key: string]: any }): Promise {} } diff --git a/yarn.lock b/yarn.lock index baa470c1c0347..93e936b43e1db 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1411,10 +1411,23 @@ dependencies: "@babel/highlight" "^7.22.5" -"@babel/compat-data@^7.12.1", "@babel/compat-data@^7.17.7", "@babel/compat-data@^7.20.5", "@babel/compat-data@^7.22.5": +"@babel/code-frame@^7.22.10": + version "7.22.10" + resolved "https://registry.npmmirror.com/@babel/code-frame/-/code-frame-7.22.10.tgz#1c20e612b768fefa75f6e90d6ecb86329247f0a3" + integrity sha512-/KKIMG4UEL35WmI9OlvMhurwtytjvXoFcGNrOvyG9zIzA8YmPjVtIZUf7b05+TPO7G7/GEmLHDaoCgACHl9hhA== + dependencies: + "@babel/highlight" "^7.22.10" + chalk "^2.4.2" + +"@babel/compat-data@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/compat-data/-/compat-data-7.22.5.tgz#b1f6c86a02d85d2dd3368a2b67c09add8cd0c255" +"@babel/compat-data@^7.22.6", "@babel/compat-data@^7.22.9": + version "7.22.9" + resolved "https://registry.npmmirror.com/@babel/compat-data/-/compat-data-7.22.9.tgz#71cdb00a1ce3a329ce4cbec3a44f9fef35669730" + integrity sha512-5UamI7xkUcJ3i9qVDS+KFDEK8/7oJ55/sJMB1Ge7IEapr7KfdfV/HErR+koZwOfd+SgtFKOKRhRakdg++DcJpQ== + "@babel/core@7.21.0": version "7.21.0" resolved "https://registry.npmmirror.com/@babel/core/-/core-7.21.0.tgz#1341aefdcc14ccc7553fcc688dd8986a2daffc13" @@ -1435,7 +1448,28 @@ json5 "^2.2.2" semver "^6.3.0" -"@babel/core@7.22.5", "@babel/core@^7.1.0", "@babel/core@^7.1.2", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.14.6", "@babel/core@^7.17.9", "@babel/core@^7.19.6", "@babel/core@^7.21.4", "@babel/core@^7.22.5": +"@babel/core@7.22.10": + version "7.22.10" + resolved "https://registry.npmmirror.com/@babel/core/-/core-7.22.10.tgz#aad442c7bcd1582252cb4576747ace35bc122f35" + integrity sha512-fTmqbbUBAwCcre6zPzNngvsI0aNrPZe77AeqvDxWM9Nm+04RrJ3CAmGHA9f7lJQY6ZMhRztNemy4uslDxTX4Qw== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.22.10" + "@babel/generator" "^7.22.10" + "@babel/helper-compilation-targets" "^7.22.10" + "@babel/helper-module-transforms" "^7.22.9" + "@babel/helpers" "^7.22.10" + "@babel/parser" "^7.22.10" + "@babel/template" "^7.22.5" + "@babel/traverse" "^7.22.10" + "@babel/types" "^7.22.10" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.2" + semver "^6.3.1" + +"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.14.6", "@babel/core@^7.17.9", "@babel/core@^7.19.6", "@babel/core@^7.21.4", "@babel/core@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/core/-/core-7.22.5.tgz#d67d9747ecf26ee7ecd3ebae1ee22225fe902a89" dependencies: @@ -1455,25 +1489,6 @@ json5 "^2.2.2" semver "^6.3.0" -"@babel/core@7.4.5": - version "7.4.5" - resolved "https://registry.npmmirror.com/@babel/core/-/core-7.4.5.tgz#081f97e8ffca65a9b4b0fdc7e274e703f000c06a" - dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/generator" "^7.4.4" - "@babel/helpers" "^7.4.4" - "@babel/parser" "^7.4.5" - "@babel/template" "^7.4.4" - "@babel/traverse" "^7.4.5" - "@babel/types" "^7.4.4" - convert-source-map "^1.1.0" - debug "^4.1.0" - json5 "^2.1.0" - lodash "^4.17.11" - resolve "^1.3.2" - semver "^5.4.1" - source-map "^0.5.0" - "@babel/eslint-parser@7.19.1": version "7.19.1" resolved "https://registry.npmmirror.com/@babel/eslint-parser/-/eslint-parser-7.19.1.tgz#4f68f6b0825489e00a24b41b6a1ae35414ecd2f4" @@ -1482,7 +1497,7 @@ eslint-visitor-keys "^2.1.0" semver "^6.3.0" -"@babel/generator@^7.21.0", "@babel/generator@^7.22.5", "@babel/generator@^7.4.0", "@babel/generator@^7.4.4": +"@babel/generator@^7.21.0", "@babel/generator@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/generator/-/generator-7.22.5.tgz#1e7bf768688acfb05cf30b2369ef855e82d984f7" dependencies: @@ -1491,6 +1506,16 @@ "@jridgewell/trace-mapping" "^0.3.17" jsesc "^2.5.1" +"@babel/generator@^7.22.10": + version "7.22.10" + resolved "https://registry.npmmirror.com/@babel/generator/-/generator-7.22.10.tgz#c92254361f398e160645ac58831069707382b722" + integrity sha512-79KIf7YiWjjdZ81JnLujDRApWtl7BxTqWD88+FFdQEIOG8LJ0etDOM7CXuIgGJa55sGOwZVwuEsaLEm0PJ5/+A== + dependencies: + "@babel/types" "^7.22.10" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + "@babel/generator@^7.7.2": version "7.22.9" resolved "https://registry.npmmirror.com/@babel/generator/-/generator-7.22.9.tgz#572ecfa7a31002fa1de2a9d91621fd895da8493d" @@ -1512,7 +1537,7 @@ dependencies: "@babel/types" "^7.22.5" -"@babel/helper-compilation-targets@^7.12.1", "@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.20.7", "@babel/helper-compilation-targets@^7.22.5": +"@babel/helper-compilation-targets@^7.20.7", "@babel/helper-compilation-targets@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.5.tgz#fc7319fc54c5e2fa14b2909cf3c5fd3046813e02" dependencies: @@ -1522,7 +1547,18 @@ lru-cache "^5.1.1" semver "^6.3.0" -"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.22.5", "@babel/helper-create-class-features-plugin@^7.4.4": +"@babel/helper-compilation-targets@^7.22.10", "@babel/helper-compilation-targets@^7.22.6": + version "7.22.10" + resolved "https://registry.npmmirror.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.10.tgz#01d648bbc25dd88f513d862ee0df27b7d4e67024" + integrity sha512-JMSwHD4J7SLod0idLq5PKgI+6g/hLD/iuWBq08ZX49xE14VpVEojJ5rHWptpirV2j020MvypRLAXAO50igCJ5Q== + dependencies: + "@babel/compat-data" "^7.22.9" + "@babel/helper-validator-option" "^7.22.5" + browserslist "^4.21.9" + lru-cache "^5.1.1" + semver "^6.3.1" + +"@babel/helper-create-class-features-plugin@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.22.5.tgz#2192a1970ece4685fbff85b48da2c32fcb130b7c" dependencies: @@ -1544,18 +1580,18 @@ regexpu-core "^5.3.1" semver "^6.3.0" -"@babel/helper-define-polyfill-provider@^0.4.0": - version "0.4.0" - resolved "https://registry.npmmirror.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.0.tgz#487053f103110f25b9755c5980e031e93ced24d8" +"@babel/helper-define-polyfill-provider@^0.4.2": + version "0.4.2" + resolved "https://registry.npmmirror.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.2.tgz#82c825cadeeeee7aad237618ebbe8fa1710015d7" + integrity sha512-k0qnnOqHn5dK9pZpfD5XXZ9SojAITdCKRn2Lp6rnDGzIbaP0rHyMPk/4wsSxVBVz4RfN0q6VpXWP2pDGIoQ7hw== dependencies: - "@babel/helper-compilation-targets" "^7.17.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-compilation-targets" "^7.22.6" + "@babel/helper-plugin-utils" "^7.22.5" debug "^4.1.1" lodash.debounce "^4.0.8" resolve "^1.14.2" - semver "^6.1.2" -"@babel/helper-environment-visitor@^7.18.9", "@babel/helper-environment-visitor@^7.22.5": +"@babel/helper-environment-visitor@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz#f06dd41b7c1f44e1f8da6c4055b41ab3a09a7e98" @@ -1578,7 +1614,7 @@ dependencies: "@babel/types" "^7.22.5" -"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.12.1", "@babel/helper-module-imports@^7.16.0", "@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.18.6", "@babel/helper-module-imports@^7.22.5": +"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.16.0", "@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz#1a8f4c9f4027d23f520bd76b364d44434a72660c" dependencies: @@ -1597,17 +1633,28 @@ "@babel/traverse" "^7.22.5" "@babel/types" "^7.22.5" +"@babel/helper-module-transforms@^7.22.9": + version "7.22.9" + resolved "https://registry.npmmirror.com/@babel/helper-module-transforms/-/helper-module-transforms-7.22.9.tgz#92dfcb1fbbb2bc62529024f72d942a8c97142129" + integrity sha512-t+WA2Xn5K+rTeGtC8jCsdAH52bjggG5TKRuRrAGNM/mjIbO4GxvlLMFOEz9wXY5I2XQ60PMFsAG2WIcG82dQMQ== + dependencies: + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-module-imports" "^7.22.5" + "@babel/helper-simple-access" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/helper-validator-identifier" "^7.22.5" + "@babel/helper-optimise-call-expression@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz#f21531a9ccbff644fdd156b4077c16ff0c3f609e" dependencies: "@babel/types" "^7.22.5" -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295" -"@babel/helper-remap-async-to-generator@^7.1.0", "@babel/helper-remap-async-to-generator@^7.18.9", "@babel/helper-remap-async-to-generator@^7.22.5": +"@babel/helper-remap-async-to-generator@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.22.5.tgz#14a38141a7bf2165ad38da61d61cf27b43015da2" dependencies: @@ -1616,6 +1663,15 @@ "@babel/helper-wrap-function" "^7.22.5" "@babel/types" "^7.22.5" +"@babel/helper-remap-async-to-generator@^7.22.9": + version "7.22.9" + resolved "https://registry.npmmirror.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.22.9.tgz#53a25b7484e722d7efb9c350c75c032d4628de82" + integrity sha512-8WWC4oR4Px+tr+Fp0X3RHDVfINGpF3ad1HIbrc8A77epiR6eMMc6jsgozkzT2uDiOOdoS9cLIQ+XD2XvI2WSmQ== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-wrap-function" "^7.22.9" + "@babel/helper-replace-supers@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/helper-replace-supers/-/helper-replace-supers-7.22.5.tgz#71bc5fb348856dea9fdc4eafd7e2e49f585145dc" @@ -1633,7 +1689,7 @@ dependencies: "@babel/types" "^7.22.5" -"@babel/helper-skip-transparent-expression-wrappers@^7.20.0", "@babel/helper-skip-transparent-expression-wrappers@^7.22.5": +"@babel/helper-skip-transparent-expression-wrappers@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz#007f15240b5751c537c40e77abb4e89eeaaa8847" dependencies: @@ -1645,6 +1701,13 @@ dependencies: "@babel/types" "^7.22.5" +"@babel/helper-split-export-declaration@^7.22.6": + version "7.22.6" + resolved "https://registry.npmmirror.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" + integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== + dependencies: + "@babel/types" "^7.22.5" + "@babel/helper-string-parser@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f" @@ -1653,7 +1716,7 @@ version "7.22.5" resolved "https://registry.npmmirror.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz#9544ef6a33999343c8740fa51350f30eeaaaf193" -"@babel/helper-validator-option@^7.12.1", "@babel/helper-validator-option@^7.22.5": +"@babel/helper-validator-option@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/helper-validator-option/-/helper-validator-option-7.22.5.tgz#de52000a15a177413c8234fa3a8af4ee8102d0ac" @@ -1666,7 +1729,16 @@ "@babel/traverse" "^7.22.5" "@babel/types" "^7.22.5" -"@babel/helpers@^7.21.0", "@babel/helpers@^7.22.5", "@babel/helpers@^7.4.4": +"@babel/helper-wrap-function@^7.22.9": + version "7.22.10" + resolved "https://registry.npmmirror.com/@babel/helper-wrap-function/-/helper-wrap-function-7.22.10.tgz#d845e043880ed0b8c18bd194a12005cb16d2f614" + integrity sha512-OnMhjWjuGYtdoO3FmsEFWvBStBAe2QOgwOLsLNDjN+aaiMD8InJk1/O3HSD8lkqTjCgg5YI34Tz15KNNA3p+nQ== + dependencies: + "@babel/helper-function-name" "^7.22.5" + "@babel/template" "^7.22.5" + "@babel/types" "^7.22.10" + +"@babel/helpers@^7.21.0", "@babel/helpers@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/helpers/-/helpers-7.22.5.tgz#74bb4373eb390d1ceed74a15ef97767e63120820" dependencies: @@ -1674,6 +1746,24 @@ "@babel/traverse" "^7.22.5" "@babel/types" "^7.22.5" +"@babel/helpers@^7.22.10": + version "7.22.11" + resolved "https://registry.npmmirror.com/@babel/helpers/-/helpers-7.22.11.tgz#b02f5d5f2d7abc21ab59eeed80de410ba70b056a" + integrity sha512-vyOXC8PBWaGc5h7GMsNx68OH33cypkEDJCHvYVVgVbbxJDROYVtexSk0gK5iCF1xNjRIN2s8ai7hwkWDq5szWg== + dependencies: + "@babel/template" "^7.22.5" + "@babel/traverse" "^7.22.11" + "@babel/types" "^7.22.11" + +"@babel/highlight@^7.22.10": + version "7.22.10" + resolved "https://registry.npmmirror.com/@babel/highlight/-/highlight-7.22.10.tgz#02a3f6d8c1cb4521b2fd0ab0da8f4739936137d7" + integrity sha512-78aUtVcT7MUscr0K5mIEnkwxPE0MaxkR5RxRwuHaQ+JuU5AmTPhY+do2mdzVTnIJJpyBglql2pehuBIWHug+WQ== + dependencies: + "@babel/helper-validator-identifier" "^7.22.5" + chalk "^2.4.2" + js-tokens "^4.0.0" + "@babel/highlight@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/highlight/-/highlight-7.22.5.tgz#aa6c05c5407a67ebce408162b7ede789b4d22031" @@ -1682,10 +1772,15 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.21.0", "@babel/parser@^7.22.5", "@babel/parser@^7.4.3", "@babel/parser@^7.4.5": +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.21.0", "@babel/parser@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/parser/-/parser-7.22.5.tgz#721fd042f3ce1896238cf1b341c77eb7dee7dbea" +"@babel/parser@^7.22.10", "@babel/parser@^7.22.11": + version "7.22.11" + resolved "https://registry.npmmirror.com/@babel/parser/-/parser-7.22.11.tgz#becf8ee33aad2a35ed5607f521fe6e72a615f905" + integrity sha512-R5zb8eJIBPJriQtbH/htEQy4k7E2dHWlD2Y2VT07JCzwYZHBxV5ZYtM0UhXSNMT74LyxuM+b1jdL7pSesXbC/g== + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.22.5.tgz#87245a21cd69a73b0b81bcda98d443d6df08f05e" @@ -1700,218 +1795,18 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" "@babel/plugin-transform-optional-chaining" "^7.22.5" -"@babel/plugin-proposal-async-generator-functions@7.2.0": - version "7.2.0" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.2.0.tgz#b289b306669dce4ad20b0252889a15768c9d417e" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-remap-async-to-generator" "^7.1.0" - "@babel/plugin-syntax-async-generators" "^7.2.0" - -"@babel/plugin-proposal-async-generator-functions@^7.12.1", "@babel/plugin-proposal-async-generator-functions@^7.2.0": - version "7.20.7" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.20.7.tgz#bfb7276d2d573cb67ba379984a2334e262ba5326" - dependencies: - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-remap-async-to-generator" "^7.18.9" - "@babel/plugin-syntax-async-generators" "^7.8.4" - -"@babel/plugin-proposal-class-properties@7.18.6", "@babel/plugin-proposal-class-properties@^7.1.0", "@babel/plugin-proposal-class-properties@^7.12.1": - version "7.18.6" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz#b110f59741895f7ec21a6fff696ec46265c446a3" - dependencies: - "@babel/helper-create-class-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-proposal-class-properties@7.4.4": - version "7.4.4" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.4.4.tgz#93a6486eed86d53452ab9bab35e368e9461198ce" - dependencies: - "@babel/helper-create-class-features-plugin" "^7.4.4" - "@babel/helper-plugin-utils" "^7.0.0" - -"@babel/plugin-proposal-decorators@7.22.5": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.22.5.tgz#dc8cdda048e5aea947efda920e030199806b868d" - dependencies: - "@babel/helper-create-class-features-plugin" "^7.22.5" - "@babel/helper-plugin-utils" "^7.22.5" - "@babel/helper-replace-supers" "^7.22.5" - "@babel/helper-split-export-declaration" "^7.22.5" - "@babel/plugin-syntax-decorators" "^7.22.5" - -"@babel/plugin-proposal-decorators@7.4.4": - version "7.4.4" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.4.4.tgz#de9b2a1a8ab0196f378e2a82f10b6e2a36f21cc0" - dependencies: - "@babel/helper-create-class-features-plugin" "^7.4.4" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-decorators" "^7.2.0" - -"@babel/plugin-proposal-do-expressions@7.2.0": - version "7.2.0" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-do-expressions/-/plugin-proposal-do-expressions-7.2.0.tgz#7abf56d27125f2b040c9cb0ab03119cf117128a9" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-do-expressions" "^7.2.0" - -"@babel/plugin-proposal-do-expressions@7.22.5", "@babel/plugin-proposal-do-expressions@^7.0.0": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-do-expressions/-/plugin-proposal-do-expressions-7.22.5.tgz#7a48d7b33d19ab3e676c67659f55319f655a3f55" - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - "@babel/plugin-syntax-do-expressions" "^7.22.5" - -"@babel/plugin-proposal-dynamic-import@^7.12.1": - version "7.18.6" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz#72bcf8d408799f547d759298c3c27c7e7faa4d94" - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/plugin-syntax-dynamic-import" "^7.8.3" - -"@babel/plugin-proposal-export-default-from@7.2.0": - version "7.2.0" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.2.0.tgz#737b0da44b9254b6152fe29bb99c64e5691f6f68" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-export-default-from" "^7.2.0" - -"@babel/plugin-proposal-export-default-from@7.22.5", "@babel/plugin-proposal-export-default-from@^7.0.0": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.22.5.tgz#825924eda1fad382c3de4db6fe1711b6fa03362f" - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - "@babel/plugin-syntax-export-default-from" "^7.22.5" - -"@babel/plugin-proposal-export-namespace-from@7.18.9", "@babel/plugin-proposal-export-namespace-from@^7.12.1", "@babel/plugin-proposal-export-namespace-from@^7.14.5": +"@babel/plugin-proposal-export-namespace-from@^7.14.5": version "7.18.9" resolved "https://registry.npmmirror.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz#5f7313ab348cdb19d590145f9247540e94761203" dependencies: "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" -"@babel/plugin-proposal-export-namespace-from@7.2.0": - version "7.2.0" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.2.0.tgz#308fd4d04ff257fc3e4be090550840eeabad5dd9" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-export-namespace-from" "^7.2.0" - -"@babel/plugin-proposal-function-bind@7.2.0": - version "7.2.0" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-function-bind/-/plugin-proposal-function-bind-7.2.0.tgz#94dc2cdc505cafc4e225c0014335a01648056bf7" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-function-bind" "^7.2.0" - -"@babel/plugin-proposal-json-strings@^7.12.1", "@babel/plugin-proposal-json-strings@^7.2.0": - version "7.18.6" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz#7e8788c1811c393aff762817e7dbf1ebd0c05f0b" - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/plugin-syntax-json-strings" "^7.8.3" - -"@babel/plugin-proposal-logical-assignment-operators@^7.12.1": - version "7.20.7" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.20.7.tgz#dfbcaa8f7b4d37b51e8bfb46d94a5aea2bb89d83" - dependencies: - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" - -"@babel/plugin-proposal-nullish-coalescing-operator@7.18.6", "@babel/plugin-proposal-nullish-coalescing-operator@^7.12.1": - version "7.18.6" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz#fdd940a99a740e577d6c753ab6fbb43fdb9467e1" - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" - -"@babel/plugin-proposal-nullish-coalescing-operator@7.4.4": - version "7.4.4" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.4.4.tgz#41c360d59481d88e0ce3a3f837df10121a769b39" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.2.0" - -"@babel/plugin-proposal-numeric-separator@^7.12.1": - version "7.18.6" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz#899b14fbafe87f053d2c5ff05b36029c62e13c75" - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/plugin-syntax-numeric-separator" "^7.10.4" - -"@babel/plugin-proposal-object-rest-spread@7.4.4": - version "7.4.4" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.4.4.tgz#1ef173fcf24b3e2df92a678f027673b55e7e3005" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-object-rest-spread" "^7.2.0" - -"@babel/plugin-proposal-object-rest-spread@^7.12.1", "@babel/plugin-proposal-object-rest-spread@^7.4.4": - version "7.20.7" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz#aa662940ef425779c75534a5c41e9d936edc390a" - dependencies: - "@babel/compat-data" "^7.20.5" - "@babel/helper-compilation-targets" "^7.20.7" - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.20.7" - -"@babel/plugin-proposal-optional-catch-binding@7.2.0": - version "7.2.0" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.2.0.tgz#135d81edb68a081e55e56ec48541ece8065c38f5" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-optional-catch-binding" "^7.2.0" - -"@babel/plugin-proposal-optional-catch-binding@^7.12.1", "@babel/plugin-proposal-optional-catch-binding@^7.2.0": - version "7.18.6" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz#f9400d0e6a3ea93ba9ef70b09e72dd6da638a2cb" - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" - -"@babel/plugin-proposal-optional-chaining@7.2.0": - version "7.2.0" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.2.0.tgz#ae454f4c21c6c2ce8cb2397dc332ae8b420c5441" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-optional-chaining" "^7.2.0" - -"@babel/plugin-proposal-optional-chaining@7.21.0", "@babel/plugin-proposal-optional-chaining@^7.12.1": - version "7.21.0" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.21.0.tgz#886f5c8978deb7d30f678b2e24346b287234d3ea" - dependencies: - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" - "@babel/plugin-syntax-optional-chaining" "^7.8.3" - -"@babel/plugin-proposal-pipeline-operator@7.3.2": - version "7.3.2" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-pipeline-operator/-/plugin-proposal-pipeline-operator-7.3.2.tgz#cc6be43c8455422f2faca39b9355558f0bff5a3f" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-pipeline-operator" "^7.3.0" - -"@babel/plugin-proposal-private-methods@^7.12.1": - version "7.18.6" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz#5209de7d213457548a98436fa2882f52f4be6bea" - dependencies: - "@babel/helper-create-class-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2": version "7.21.0-placeholder-for-preset-env.2" resolved "https://registry.npmmirror.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz#7844f9289546efa9febac2de4cfe358a050bd703" -"@babel/plugin-proposal-unicode-property-regex@^7.12.1", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": - version "7.18.6" - resolved "https://registry.npmmirror.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz#af613d2cd5e643643b65cded64207b15c85cb78e" - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-syntax-async-generators@^7.2.0", "@babel/plugin-syntax-async-generators@^7.8.0", "@babel/plugin-syntax-async-generators@^7.8.4": +"@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" resolved "https://registry.npmmirror.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" dependencies: @@ -1923,7 +1818,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-class-properties@^7.12.1", "@babel/plugin-syntax-class-properties@^7.12.13", "@babel/plugin-syntax-class-properties@^7.8.3": +"@babel/plugin-syntax-class-properties@^7.12.13", "@babel/plugin-syntax-class-properties@^7.8.3": version "7.12.13" resolved "https://registry.npmmirror.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" dependencies: @@ -1935,48 +1830,18 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-decorators@^7.2.0", "@babel/plugin-syntax-decorators@^7.22.5": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.22.5.tgz#329fe2907c73de184033775637dbbc507f09116a" - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - -"@babel/plugin-syntax-do-expressions@^7.2.0", "@babel/plugin-syntax-do-expressions@^7.22.5": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-syntax-do-expressions/-/plugin-syntax-do-expressions-7.22.5.tgz#49e3af8e2d1254a47d545d4b52d2ef0dc5bcbd51" - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - -"@babel/plugin-syntax-dynamic-import@7.2.0": - version "7.2.0" - resolved "https://registry.npmmirror.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.2.0.tgz#69c159ffaf4998122161ad8ebc5e6d1f55df8612" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - -"@babel/plugin-syntax-dynamic-import@7.8.3", "@babel/plugin-syntax-dynamic-import@^7.8.0", "@babel/plugin-syntax-dynamic-import@^7.8.3": +"@babel/plugin-syntax-dynamic-import@^7.8.3": version "7.8.3" resolved "https://registry.npmmirror.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-export-default-from@^7.2.0", "@babel/plugin-syntax-export-default-from@^7.22.5": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.22.5.tgz#ac3a24b362a04415a017ab96b9b4483d0e2a6e44" - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - -"@babel/plugin-syntax-export-namespace-from@^7.2.0", "@babel/plugin-syntax-export-namespace-from@^7.8.3": +"@babel/plugin-syntax-export-namespace-from@^7.8.3": version "7.8.3" resolved "https://registry.npmmirror.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz#028964a9ba80dbc094c915c487ad7c4e7a66465a" dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-function-bind@^7.2.0": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-syntax-function-bind/-/plugin-syntax-function-bind-7.22.5.tgz#4a01aa675dac0431b47eb440900ed0d4efd54d50" - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - "@babel/plugin-syntax-import-assertions@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.22.5.tgz#07d252e2aa0bc6125567f742cd58619cb14dce98" @@ -1995,7 +1860,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-json-strings@^7.2.0", "@babel/plugin-syntax-json-strings@^7.8.0", "@babel/plugin-syntax-json-strings@^7.8.3": +"@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" resolved "https://registry.npmmirror.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" dependencies: @@ -2013,7 +1878,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-nullish-coalescing-operator@^7.2.0", "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0", "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": version "7.8.3" resolved "https://registry.npmmirror.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" dependencies: @@ -2025,43 +1890,37 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.2.0", "@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": +"@babel/plugin-syntax-object-rest-spread@^7.8.3": version "7.8.3" resolved "https://registry.npmmirror.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-catch-binding@^7.2.0", "@babel/plugin-syntax-optional-catch-binding@^7.8.0", "@babel/plugin-syntax-optional-catch-binding@^7.8.3": +"@babel/plugin-syntax-optional-catch-binding@^7.8.3": version "7.8.3" resolved "https://registry.npmmirror.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-chaining@^7.2.0", "@babel/plugin-syntax-optional-chaining@^7.8.0", "@babel/plugin-syntax-optional-chaining@^7.8.3": +"@babel/plugin-syntax-optional-chaining@^7.8.3": version "7.8.3" resolved "https://registry.npmmirror.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-pipeline-operator@^7.3.0": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-syntax-pipeline-operator/-/plugin-syntax-pipeline-operator-7.22.5.tgz#181fd9276aa72e75a408e07b929b457b732c16db" - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - "@babel/plugin-syntax-private-property-in-object@^7.14.5": version "7.14.5" resolved "https://registry.npmmirror.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-top-level-await@^7.12.1", "@babel/plugin-syntax-top-level-await@^7.14.5", "@babel/plugin-syntax-top-level-await@^7.8.3": +"@babel/plugin-syntax-top-level-await@^7.14.5", "@babel/plugin-syntax-top-level-await@^7.8.3": version "7.14.5" resolved "https://registry.npmmirror.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-typescript@^7.22.5", "@babel/plugin-syntax-typescript@^7.7.2": +"@babel/plugin-syntax-typescript@^7.7.2": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.22.5.tgz#aac8d383b062c5072c647a31ef990c1d0af90272" dependencies: @@ -2074,22 +1933,23 @@ "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-arrow-functions@^7.12.1", "@babel/plugin-transform-arrow-functions@^7.2.0", "@babel/plugin-transform-arrow-functions@^7.22.5": +"@babel/plugin-transform-arrow-functions@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.22.5.tgz#e5ba566d0c58a5b2ba2a8b795450641950b71958" dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-async-generator-functions@^7.22.5": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.22.5.tgz#7336356d23380eda9a56314974f053a020dab0c3" +"@babel/plugin-transform-async-generator-functions@^7.22.10": + version "7.22.11" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.22.11.tgz#dbe3b1ff5a52e2e5edc4b19a60d325a675ed2649" + integrity sha512-0pAlmeRJn6wU84zzZsEOx1JV1Jf8fqO9ok7wofIJwUnplYo247dcd24P+cMJht7ts9xkzdtB0EPHmOb7F+KzXw== dependencies: "@babel/helper-environment-visitor" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" - "@babel/helper-remap-async-to-generator" "^7.22.5" + "@babel/helper-remap-async-to-generator" "^7.22.9" "@babel/plugin-syntax-async-generators" "^7.8.4" -"@babel/plugin-transform-async-to-generator@^7.12.1", "@babel/plugin-transform-async-to-generator@^7.22.5", "@babel/plugin-transform-async-to-generator@^7.4.4": +"@babel/plugin-transform-async-to-generator@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.22.5.tgz#c7a85f44e46f8952f6d27fe57c2ed3cc084c3775" dependencies: @@ -2097,15 +1957,16 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-remap-async-to-generator" "^7.22.5" -"@babel/plugin-transform-block-scoped-functions@^7.12.1", "@babel/plugin-transform-block-scoped-functions@^7.2.0", "@babel/plugin-transform-block-scoped-functions@^7.22.5": +"@babel/plugin-transform-block-scoped-functions@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.22.5.tgz#27978075bfaeb9fa586d3cb63a3d30c1de580024" dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-block-scoping@^7.12.1", "@babel/plugin-transform-block-scoping@^7.22.5", "@babel/plugin-transform-block-scoping@^7.4.4": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.22.5.tgz#8bfc793b3a4b2742c0983fadc1480d843ecea31b" +"@babel/plugin-transform-block-scoping@^7.22.10": + version "7.22.10" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.22.10.tgz#88a1dccc3383899eb5e660534a76a22ecee64faa" + integrity sha512-1+kVpGAOOI1Albt6Vse7c8pHzcZQdQKW+wJH+g8mCaszOdDVwRXa/slHPqIw+oJAJANTKDMuM2cBdV0Dg618Vg== dependencies: "@babel/helper-plugin-utils" "^7.22.5" @@ -2124,47 +1985,43 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-class-static-block" "^7.14.5" -"@babel/plugin-transform-classes@^7.12.1", "@babel/plugin-transform-classes@^7.22.5", "@babel/plugin-transform-classes@^7.4.4": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.22.5.tgz#635d4e98da741fad814984639f4c0149eb0135e1" +"@babel/plugin-transform-classes@^7.22.6": + version "7.22.6" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.22.6.tgz#e04d7d804ed5b8501311293d1a0e6d43e94c3363" + integrity sha512-58EgM6nuPNG6Py4Z3zSuu0xWu2VfodiMi72Jt5Kj2FECmaYk1RrTXA45z6KBFsu9tRgwQDwIiY4FXTt+YsSFAQ== dependencies: "@babel/helper-annotate-as-pure" "^7.22.5" - "@babel/helper-compilation-targets" "^7.22.5" + "@babel/helper-compilation-targets" "^7.22.6" "@babel/helper-environment-visitor" "^7.22.5" "@babel/helper-function-name" "^7.22.5" "@babel/helper-optimise-call-expression" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-replace-supers" "^7.22.5" - "@babel/helper-split-export-declaration" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" globals "^11.1.0" -"@babel/plugin-transform-computed-properties@^7.12.1", "@babel/plugin-transform-computed-properties@^7.2.0", "@babel/plugin-transform-computed-properties@^7.22.5": +"@babel/plugin-transform-computed-properties@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.22.5.tgz#cd1e994bf9f316bd1c2dafcd02063ec261bb3869" dependencies: "@babel/helper-plugin-utils" "^7.22.5" "@babel/template" "^7.22.5" -"@babel/plugin-transform-destructuring@7.4.4": - version "7.4.4" - resolved "https://registry.npmmirror.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.4.4.tgz#9d964717829cc9e4b601fc82a26a71a4d8faf20f" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - -"@babel/plugin-transform-destructuring@^7.12.1", "@babel/plugin-transform-destructuring@^7.22.5", "@babel/plugin-transform-destructuring@^7.4.4": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.22.5.tgz#d3aca7438f6c26c78cdd0b0ba920a336001b27cc" +"@babel/plugin-transform-destructuring@^7.22.10": + version "7.22.10" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.22.10.tgz#38e2273814a58c810b6c34ea293be4973c4eb5e2" + integrity sha512-dPJrL0VOyxqLM9sritNbMSGx/teueHF/htMKrPT7DNxccXxRDPYqlgPFFdr8u+F+qUZOkZoXue/6rL5O5GduEw== dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-dotall-regex@^7.12.1", "@babel/plugin-transform-dotall-regex@^7.22.5", "@babel/plugin-transform-dotall-regex@^7.4.4": +"@babel/plugin-transform-dotall-regex@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.22.5.tgz#dbb4f0e45766eb544e193fb00e65a1dd3b2a4165" dependencies: "@babel/helper-create-regexp-features-plugin" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-duplicate-keys@^7.12.1", "@babel/plugin-transform-duplicate-keys@^7.2.0", "@babel/plugin-transform-duplicate-keys@^7.22.5": +"@babel/plugin-transform-duplicate-keys@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.22.5.tgz#b6e6428d9416f5f0bba19c70d1e6e7e0b88ab285" dependencies: @@ -2177,7 +2034,7 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-dynamic-import" "^7.8.3" -"@babel/plugin-transform-exponentiation-operator@^7.12.1", "@babel/plugin-transform-exponentiation-operator@^7.2.0", "@babel/plugin-transform-exponentiation-operator@^7.22.5": +"@babel/plugin-transform-exponentiation-operator@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.22.5.tgz#402432ad544a1f9a480da865fda26be653e48f6a" dependencies: @@ -2191,13 +2048,13 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" -"@babel/plugin-transform-for-of@^7.12.1", "@babel/plugin-transform-for-of@^7.22.5", "@babel/plugin-transform-for-of@^7.4.4": +"@babel/plugin-transform-for-of@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.22.5.tgz#ab1b8a200a8f990137aff9a084f8de4099ab173f" dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-function-name@^7.12.1", "@babel/plugin-transform-function-name@^7.22.5", "@babel/plugin-transform-function-name@^7.4.4": +"@babel/plugin-transform-function-name@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.22.5.tgz#935189af68b01898e0d6d99658db6b164205c143" dependencies: @@ -2212,7 +2069,7 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-json-strings" "^7.8.3" -"@babel/plugin-transform-literals@^7.12.1", "@babel/plugin-transform-literals@^7.2.0", "@babel/plugin-transform-literals@^7.22.5": +"@babel/plugin-transform-literals@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.22.5.tgz#e9341f4b5a167952576e23db8d435849b1dd7920" dependencies: @@ -2225,15 +2082,16 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" -"@babel/plugin-transform-member-expression-literals@^7.12.1", "@babel/plugin-transform-member-expression-literals@^7.2.0", "@babel/plugin-transform-member-expression-literals@^7.22.5": +"@babel/plugin-transform-member-expression-literals@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.22.5.tgz#4fcc9050eded981a468347dd374539ed3e058def" dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-modules-amd@^7.12.1", "@babel/plugin-transform-modules-amd@^7.2.0", "@babel/plugin-transform-modules-amd@^7.22.5": +"@babel/plugin-transform-modules-amd@7.22.5", "@babel/plugin-transform-modules-amd@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.22.5.tgz#4e045f55dcf98afd00f85691a68fc0780704f526" + integrity sha512-R+PTfLTcYEmb1+kK7FNkhQ1gP4KgjpSO6HfH9+f8/yfp2Nt3ggBjiVpRwmwTlfqZLafYKJACy36yDXlEmI9HjQ== dependencies: "@babel/helper-module-transforms" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" @@ -2246,7 +2104,7 @@ "@babel/helper-plugin-utils" "^7.20.2" "@babel/helper-simple-access" "^7.20.2" -"@babel/plugin-transform-modules-commonjs@7.22.5", "@babel/plugin-transform-modules-commonjs@^7.12.1", "@babel/plugin-transform-modules-commonjs@^7.14.5", "@babel/plugin-transform-modules-commonjs@^7.22.5", "@babel/plugin-transform-modules-commonjs@^7.4.4": +"@babel/plugin-transform-modules-commonjs@^7.14.5", "@babel/plugin-transform-modules-commonjs@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.22.5.tgz#7d9875908d19b8c0536085af7b053fd5bd651bfa" dependencies: @@ -2254,7 +2112,7 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-simple-access" "^7.22.5" -"@babel/plugin-transform-modules-systemjs@^7.12.1", "@babel/plugin-transform-modules-systemjs@^7.22.5", "@babel/plugin-transform-modules-systemjs@^7.4.4": +"@babel/plugin-transform-modules-systemjs@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.22.5.tgz#18c31410b5e579a0092638f95c896c2a98a5d496" dependencies: @@ -2263,21 +2121,21 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-validator-identifier" "^7.22.5" -"@babel/plugin-transform-modules-umd@^7.12.1", "@babel/plugin-transform-modules-umd@^7.2.0", "@babel/plugin-transform-modules-umd@^7.22.5": +"@babel/plugin-transform-modules-umd@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.22.5.tgz#4694ae40a87b1745e3775b6a7fe96400315d4f98" dependencies: "@babel/helper-module-transforms" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-named-capturing-groups-regex@^7.12.1", "@babel/plugin-transform-named-capturing-groups-regex@^7.22.5", "@babel/plugin-transform-named-capturing-groups-regex@^7.4.5": +"@babel/plugin-transform-named-capturing-groups-regex@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.22.5.tgz#67fe18ee8ce02d57c855185e27e3dc959b2e991f" dependencies: "@babel/helper-create-regexp-features-plugin" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-new-target@^7.12.1", "@babel/plugin-transform-new-target@^7.22.5", "@babel/plugin-transform-new-target@^7.4.4": +"@babel/plugin-transform-new-target@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.22.5.tgz#1b248acea54ce44ea06dfd37247ba089fcf9758d" dependencies: @@ -2307,7 +2165,7 @@ "@babel/plugin-syntax-object-rest-spread" "^7.8.3" "@babel/plugin-transform-parameters" "^7.22.5" -"@babel/plugin-transform-object-super@^7.12.1", "@babel/plugin-transform-object-super@^7.2.0", "@babel/plugin-transform-object-super@^7.22.5": +"@babel/plugin-transform-object-super@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.22.5.tgz#794a8d2fcb5d0835af722173c1a9d704f44e218c" dependencies: @@ -2321,6 +2179,15 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" +"@babel/plugin-transform-optional-chaining@^7.22.10": + version "7.22.11" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.22.11.tgz#062f0071f777aa06b31332cd90318d6b76444b74" + integrity sha512-7X2vGqH2ZKu7Imx0C+o5OysRwtF/wzdCAqmcD1N1v2Ww8CtOSC+p+VoV76skm47DLvBZ8kBFic+egqxM9S/p4g== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-transform-optional-chaining@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.22.5.tgz#1003762b9c14295501beb41be72426736bedd1e0" @@ -2329,7 +2196,7 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" "@babel/plugin-syntax-optional-chaining" "^7.8.3" -"@babel/plugin-transform-parameters@^7.12.1", "@babel/plugin-transform-parameters@^7.20.7", "@babel/plugin-transform-parameters@^7.22.5", "@babel/plugin-transform-parameters@^7.4.4": +"@babel/plugin-transform-parameters@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.22.5.tgz#c3542dd3c39b42c8069936e48717a8d179d63a18" dependencies: @@ -2351,135 +2218,73 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-private-property-in-object" "^7.14.5" -"@babel/plugin-transform-property-literals@^7.12.1", "@babel/plugin-transform-property-literals@^7.2.0", "@babel/plugin-transform-property-literals@^7.22.5": +"@babel/plugin-transform-property-literals@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.22.5.tgz#b5ddabd73a4f7f26cd0e20f5db48290b88732766" dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-react-constant-elements@^7.12.1": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.22.5.tgz#6dfa7c1c37f7d7279e417ceddf5a04abb8bb9c29" - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - -"@babel/plugin-transform-react-display-name@^7.0.0", "@babel/plugin-transform-react-display-name@^7.22.5": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.22.5.tgz#3c4326f9fce31c7968d6cb9debcaf32d9e279a2b" - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - -"@babel/plugin-transform-react-jsx-development@^7.22.5": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.22.5.tgz#e716b6edbef972a92165cd69d92f1255f7e73e87" - dependencies: - "@babel/plugin-transform-react-jsx" "^7.22.5" - -"@babel/plugin-transform-react-jsx-self@^7.0.0", "@babel/plugin-transform-react-jsx-self@^7.21.0", "@babel/plugin-transform-react-jsx-self@^7.22.5": +"@babel/plugin-transform-react-jsx-self@^7.21.0", "@babel/plugin-transform-react-jsx-self@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.22.5.tgz#ca2fdc11bc20d4d46de01137318b13d04e481d8e" dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-react-jsx-source@^7.0.0", "@babel/plugin-transform-react-jsx-source@^7.19.6", "@babel/plugin-transform-react-jsx-source@^7.22.5": +"@babel/plugin-transform-react-jsx-source@^7.19.6", "@babel/plugin-transform-react-jsx-source@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.22.5.tgz#49af1615bfdf6ed9d3e9e43e425e0b2b65d15b6c" dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-react-jsx@^7.0.0", "@babel/plugin-transform-react-jsx@^7.22.5": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.22.5.tgz#932c291eb6dd1153359e2a90cb5e557dcf068416" - dependencies: - "@babel/helper-annotate-as-pure" "^7.22.5" - "@babel/helper-module-imports" "^7.22.5" - "@babel/helper-plugin-utils" "^7.22.5" - "@babel/plugin-syntax-jsx" "^7.22.5" - "@babel/types" "^7.22.5" - -"@babel/plugin-transform-react-pure-annotations@^7.22.5": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.22.5.tgz#1f58363eef6626d6fa517b95ac66fe94685e32c0" +"@babel/plugin-transform-regenerator@^7.22.10": + version "7.22.10" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.22.10.tgz#8ceef3bd7375c4db7652878b0241b2be5d0c3cca" + integrity sha512-F28b1mDt8KcT5bUyJc/U9nwzw6cV+UmTeRlXYIl2TNqMMJif0Jeey9/RQ3C4NOd2zp0/TRsDns9ttj2L523rsw== dependencies: - "@babel/helper-annotate-as-pure" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" + regenerator-transform "^0.15.2" -"@babel/plugin-transform-regenerator@^7.12.1", "@babel/plugin-transform-regenerator@^7.22.5", "@babel/plugin-transform-regenerator@^7.4.5": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.22.5.tgz#cd8a68b228a5f75fa01420e8cc2fc400f0fc32aa" - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - regenerator-transform "^0.15.1" - -"@babel/plugin-transform-reserved-words@^7.12.1", "@babel/plugin-transform-reserved-words@^7.2.0", "@babel/plugin-transform-reserved-words@^7.22.5": +"@babel/plugin-transform-reserved-words@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.22.5.tgz#832cd35b81c287c4bcd09ce03e22199641f964fb" dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-runtime@7.22.5": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.22.5.tgz#ca975fb5e260044473c8142e1b18b567d33c2a3b" - dependencies: - "@babel/helper-module-imports" "^7.22.5" - "@babel/helper-plugin-utils" "^7.22.5" - babel-plugin-polyfill-corejs2 "^0.4.3" - babel-plugin-polyfill-corejs3 "^0.8.1" - babel-plugin-polyfill-regenerator "^0.5.0" - semver "^6.3.0" - -"@babel/plugin-transform-runtime@7.4.4": - version "7.4.4" - resolved "https://registry.npmmirror.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.4.4.tgz#a50f5d16e9c3a4ac18a1a9f9803c107c380bce08" - dependencies: - "@babel/helper-module-imports" "^7.0.0" - "@babel/helper-plugin-utils" "^7.0.0" - resolve "^1.8.1" - semver "^5.5.1" - -"@babel/plugin-transform-shorthand-properties@^7.12.1", "@babel/plugin-transform-shorthand-properties@^7.2.0", "@babel/plugin-transform-shorthand-properties@^7.22.5": +"@babel/plugin-transform-shorthand-properties@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.22.5.tgz#6e277654be82b5559fc4b9f58088507c24f0c624" dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-spread@^7.12.1", "@babel/plugin-transform-spread@^7.2.0", "@babel/plugin-transform-spread@^7.22.5": +"@babel/plugin-transform-spread@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.22.5.tgz#6487fd29f229c95e284ba6c98d65eafb893fea6b" dependencies: "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" -"@babel/plugin-transform-sticky-regex@^7.12.1", "@babel/plugin-transform-sticky-regex@^7.2.0", "@babel/plugin-transform-sticky-regex@^7.22.5": +"@babel/plugin-transform-sticky-regex@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.22.5.tgz#295aba1595bfc8197abd02eae5fc288c0deb26aa" dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-template-literals@^7.12.1", "@babel/plugin-transform-template-literals@^7.22.5", "@babel/plugin-transform-template-literals@^7.4.4": +"@babel/plugin-transform-template-literals@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.22.5.tgz#8f38cf291e5f7a8e60e9f733193f0bcc10909bff" dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-typeof-symbol@^7.12.1", "@babel/plugin-transform-typeof-symbol@^7.2.0", "@babel/plugin-transform-typeof-symbol@^7.22.5": +"@babel/plugin-transform-typeof-symbol@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.22.5.tgz#5e2ba478da4b603af8673ff7c54f75a97b716b34" dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-typescript@^7.22.5", "@babel/plugin-transform-typescript@^7.3.2": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.22.5.tgz#5c0f7adfc1b5f38c4dbc8f79b1f0f8074134bd7d" - dependencies: - "@babel/helper-annotate-as-pure" "^7.22.5" - "@babel/helper-create-class-features-plugin" "^7.22.5" - "@babel/helper-plugin-utils" "^7.22.5" - "@babel/plugin-syntax-typescript" "^7.22.5" - -"@babel/plugin-transform-unicode-escapes@^7.12.1", "@babel/plugin-transform-unicode-escapes@^7.22.5": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.22.5.tgz#ce0c248522b1cb22c7c992d88301a5ead70e806c" +"@babel/plugin-transform-unicode-escapes@^7.22.10": + version "7.22.10" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.22.10.tgz#c723f380f40a2b2f57a62df24c9005834c8616d9" + integrity sha512-lRfaRKGZCBqDlRU3UIFovdp9c9mEvlylmpod0/OatICsSfuQ9YFthRo1tpTkGsklEefZdqlEFdY4A2dwTb6ohg== dependencies: "@babel/helper-plugin-utils" "^7.22.5" @@ -2490,7 +2295,7 @@ "@babel/helper-create-regexp-features-plugin" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-unicode-regex@^7.12.1", "@babel/plugin-transform-unicode-regex@^7.22.5", "@babel/plugin-transform-unicode-regex@^7.4.4": +"@babel/plugin-transform-unicode-regex@^7.22.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.22.5.tgz#ce7e7bb3ef208c4ff67e02a22816656256d7a183" dependencies: @@ -2504,136 +2309,13 @@ "@babel/helper-create-regexp-features-plugin" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" -"@babel/preset-env@7.12.1": - version "7.12.1" - resolved "https://registry.npmmirror.com/@babel/preset-env/-/preset-env-7.12.1.tgz#9c7e5ca82a19efc865384bb4989148d2ee5d7ac2" - dependencies: - "@babel/compat-data" "^7.12.1" - "@babel/helper-compilation-targets" "^7.12.1" - "@babel/helper-module-imports" "^7.12.1" - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/helper-validator-option" "^7.12.1" - "@babel/plugin-proposal-async-generator-functions" "^7.12.1" - "@babel/plugin-proposal-class-properties" "^7.12.1" - "@babel/plugin-proposal-dynamic-import" "^7.12.1" - "@babel/plugin-proposal-export-namespace-from" "^7.12.1" - "@babel/plugin-proposal-json-strings" "^7.12.1" - "@babel/plugin-proposal-logical-assignment-operators" "^7.12.1" - "@babel/plugin-proposal-nullish-coalescing-operator" "^7.12.1" - "@babel/plugin-proposal-numeric-separator" "^7.12.1" - "@babel/plugin-proposal-object-rest-spread" "^7.12.1" - "@babel/plugin-proposal-optional-catch-binding" "^7.12.1" - "@babel/plugin-proposal-optional-chaining" "^7.12.1" - "@babel/plugin-proposal-private-methods" "^7.12.1" - "@babel/plugin-proposal-unicode-property-regex" "^7.12.1" - "@babel/plugin-syntax-async-generators" "^7.8.0" - "@babel/plugin-syntax-class-properties" "^7.12.1" - "@babel/plugin-syntax-dynamic-import" "^7.8.0" - "@babel/plugin-syntax-export-namespace-from" "^7.8.3" - "@babel/plugin-syntax-json-strings" "^7.8.0" - "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" - "@babel/plugin-syntax-numeric-separator" "^7.10.4" - "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" - "@babel/plugin-syntax-optional-chaining" "^7.8.0" - "@babel/plugin-syntax-top-level-await" "^7.12.1" - "@babel/plugin-transform-arrow-functions" "^7.12.1" - "@babel/plugin-transform-async-to-generator" "^7.12.1" - "@babel/plugin-transform-block-scoped-functions" "^7.12.1" - "@babel/plugin-transform-block-scoping" "^7.12.1" - "@babel/plugin-transform-classes" "^7.12.1" - "@babel/plugin-transform-computed-properties" "^7.12.1" - "@babel/plugin-transform-destructuring" "^7.12.1" - "@babel/plugin-transform-dotall-regex" "^7.12.1" - "@babel/plugin-transform-duplicate-keys" "^7.12.1" - "@babel/plugin-transform-exponentiation-operator" "^7.12.1" - "@babel/plugin-transform-for-of" "^7.12.1" - "@babel/plugin-transform-function-name" "^7.12.1" - "@babel/plugin-transform-literals" "^7.12.1" - "@babel/plugin-transform-member-expression-literals" "^7.12.1" - "@babel/plugin-transform-modules-amd" "^7.12.1" - "@babel/plugin-transform-modules-commonjs" "^7.12.1" - "@babel/plugin-transform-modules-systemjs" "^7.12.1" - "@babel/plugin-transform-modules-umd" "^7.12.1" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.12.1" - "@babel/plugin-transform-new-target" "^7.12.1" - "@babel/plugin-transform-object-super" "^7.12.1" - "@babel/plugin-transform-parameters" "^7.12.1" - "@babel/plugin-transform-property-literals" "^7.12.1" - "@babel/plugin-transform-regenerator" "^7.12.1" - "@babel/plugin-transform-reserved-words" "^7.12.1" - "@babel/plugin-transform-shorthand-properties" "^7.12.1" - "@babel/plugin-transform-spread" "^7.12.1" - "@babel/plugin-transform-sticky-regex" "^7.12.1" - "@babel/plugin-transform-template-literals" "^7.12.1" - "@babel/plugin-transform-typeof-symbol" "^7.12.1" - "@babel/plugin-transform-unicode-escapes" "^7.12.1" - "@babel/plugin-transform-unicode-regex" "^7.12.1" - "@babel/preset-modules" "^0.1.3" - "@babel/types" "^7.12.1" - core-js-compat "^3.6.2" - semver "^5.5.0" - -"@babel/preset-env@7.4.5": - version "7.4.5" - resolved "https://registry.npmmirror.com/@babel/preset-env/-/preset-env-7.4.5.tgz#2fad7f62983d5af563b5f3139242755884998a58" +"@babel/preset-env@7.22.10": + version "7.22.10" + resolved "https://registry.npmmirror.com/@babel/preset-env/-/preset-env-7.22.10.tgz#3263b9fe2c8823d191d28e61eac60a79f9ce8a0f" + integrity sha512-riHpLb1drNkpLlocmSyEg4oYJIQFeXAK/d7rI6mbD0XsvoTOOweXDmQPG/ErxsEhWk3rl3Q/3F6RFQlVFS8m0A== dependencies: - "@babel/helper-module-imports" "^7.0.0" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-async-generator-functions" "^7.2.0" - "@babel/plugin-proposal-json-strings" "^7.2.0" - "@babel/plugin-proposal-object-rest-spread" "^7.4.4" - "@babel/plugin-proposal-optional-catch-binding" "^7.2.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" - "@babel/plugin-syntax-async-generators" "^7.2.0" - "@babel/plugin-syntax-json-strings" "^7.2.0" - "@babel/plugin-syntax-object-rest-spread" "^7.2.0" - "@babel/plugin-syntax-optional-catch-binding" "^7.2.0" - "@babel/plugin-transform-arrow-functions" "^7.2.0" - "@babel/plugin-transform-async-to-generator" "^7.4.4" - "@babel/plugin-transform-block-scoped-functions" "^7.2.0" - "@babel/plugin-transform-block-scoping" "^7.4.4" - "@babel/plugin-transform-classes" "^7.4.4" - "@babel/plugin-transform-computed-properties" "^7.2.0" - "@babel/plugin-transform-destructuring" "^7.4.4" - "@babel/plugin-transform-dotall-regex" "^7.4.4" - "@babel/plugin-transform-duplicate-keys" "^7.2.0" - "@babel/plugin-transform-exponentiation-operator" "^7.2.0" - "@babel/plugin-transform-for-of" "^7.4.4" - "@babel/plugin-transform-function-name" "^7.4.4" - "@babel/plugin-transform-literals" "^7.2.0" - "@babel/plugin-transform-member-expression-literals" "^7.2.0" - "@babel/plugin-transform-modules-amd" "^7.2.0" - "@babel/plugin-transform-modules-commonjs" "^7.4.4" - "@babel/plugin-transform-modules-systemjs" "^7.4.4" - "@babel/plugin-transform-modules-umd" "^7.2.0" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.4.5" - "@babel/plugin-transform-new-target" "^7.4.4" - "@babel/plugin-transform-object-super" "^7.2.0" - "@babel/plugin-transform-parameters" "^7.4.4" - "@babel/plugin-transform-property-literals" "^7.2.0" - "@babel/plugin-transform-regenerator" "^7.4.5" - "@babel/plugin-transform-reserved-words" "^7.2.0" - "@babel/plugin-transform-shorthand-properties" "^7.2.0" - "@babel/plugin-transform-spread" "^7.2.0" - "@babel/plugin-transform-sticky-regex" "^7.2.0" - "@babel/plugin-transform-template-literals" "^7.4.4" - "@babel/plugin-transform-typeof-symbol" "^7.2.0" - "@babel/plugin-transform-unicode-regex" "^7.4.4" - "@babel/types" "^7.4.4" - browserslist "^4.6.0" - core-js-compat "^3.1.1" - invariant "^2.2.2" - js-levenshtein "^1.1.3" - semver "^5.5.0" - -"@babel/preset-env@^7.1.0", "@babel/preset-env@^7.12.1": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/preset-env/-/preset-env-7.22.5.tgz#3da66078b181f3d62512c51cf7014392c511504e" - dependencies: - "@babel/compat-data" "^7.22.5" - "@babel/helper-compilation-targets" "^7.22.5" + "@babel/compat-data" "^7.22.9" + "@babel/helper-compilation-targets" "^7.22.10" "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-validator-option" "^7.22.5" "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.22.5" @@ -2658,15 +2340,15 @@ "@babel/plugin-syntax-top-level-await" "^7.14.5" "@babel/plugin-syntax-unicode-sets-regex" "^7.18.6" "@babel/plugin-transform-arrow-functions" "^7.22.5" - "@babel/plugin-transform-async-generator-functions" "^7.22.5" + "@babel/plugin-transform-async-generator-functions" "^7.22.10" "@babel/plugin-transform-async-to-generator" "^7.22.5" "@babel/plugin-transform-block-scoped-functions" "^7.22.5" - "@babel/plugin-transform-block-scoping" "^7.22.5" + "@babel/plugin-transform-block-scoping" "^7.22.10" "@babel/plugin-transform-class-properties" "^7.22.5" "@babel/plugin-transform-class-static-block" "^7.22.5" - "@babel/plugin-transform-classes" "^7.22.5" + "@babel/plugin-transform-classes" "^7.22.6" "@babel/plugin-transform-computed-properties" "^7.22.5" - "@babel/plugin-transform-destructuring" "^7.22.5" + "@babel/plugin-transform-destructuring" "^7.22.10" "@babel/plugin-transform-dotall-regex" "^7.22.5" "@babel/plugin-transform-duplicate-keys" "^7.22.5" "@babel/plugin-transform-dynamic-import" "^7.22.5" @@ -2689,87 +2371,38 @@ "@babel/plugin-transform-object-rest-spread" "^7.22.5" "@babel/plugin-transform-object-super" "^7.22.5" "@babel/plugin-transform-optional-catch-binding" "^7.22.5" - "@babel/plugin-transform-optional-chaining" "^7.22.5" + "@babel/plugin-transform-optional-chaining" "^7.22.10" "@babel/plugin-transform-parameters" "^7.22.5" "@babel/plugin-transform-private-methods" "^7.22.5" "@babel/plugin-transform-private-property-in-object" "^7.22.5" "@babel/plugin-transform-property-literals" "^7.22.5" - "@babel/plugin-transform-regenerator" "^7.22.5" + "@babel/plugin-transform-regenerator" "^7.22.10" "@babel/plugin-transform-reserved-words" "^7.22.5" "@babel/plugin-transform-shorthand-properties" "^7.22.5" "@babel/plugin-transform-spread" "^7.22.5" "@babel/plugin-transform-sticky-regex" "^7.22.5" "@babel/plugin-transform-template-literals" "^7.22.5" "@babel/plugin-transform-typeof-symbol" "^7.22.5" - "@babel/plugin-transform-unicode-escapes" "^7.22.5" - "@babel/plugin-transform-unicode-property-regex" "^7.22.5" - "@babel/plugin-transform-unicode-regex" "^7.22.5" - "@babel/plugin-transform-unicode-sets-regex" "^7.22.5" - "@babel/preset-modules" "^0.1.5" - "@babel/types" "^7.22.5" - babel-plugin-polyfill-corejs2 "^0.4.3" - babel-plugin-polyfill-corejs3 "^0.8.1" - babel-plugin-polyfill-regenerator "^0.5.0" - core-js-compat "^3.30.2" - semver "^6.3.0" - -"@babel/preset-modules@^0.1.3", "@babel/preset-modules@^0.1.5": - version "0.1.5" - resolved "https://registry.npmmirror.com/@babel/preset-modules/-/preset-modules-0.1.5.tgz#ef939d6e7f268827e1841638dc6ff95515e115d9" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" - "@babel/plugin-transform-dotall-regex" "^7.4.4" - "@babel/types" "^7.4.4" - esutils "^2.0.2" - -"@babel/preset-react@7.0.0": - version "7.0.0" - resolved "https://registry.npmmirror.com/@babel/preset-react/-/preset-react-7.0.0.tgz#e86b4b3d99433c7b3e9e91747e2653958bc6b3c0" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-transform-react-display-name" "^7.0.0" - "@babel/plugin-transform-react-jsx" "^7.0.0" - "@babel/plugin-transform-react-jsx-self" "^7.0.0" - "@babel/plugin-transform-react-jsx-source" "^7.0.0" - -"@babel/preset-react@7.22.5", "@babel/preset-react@^7.0.0", "@babel/preset-react@^7.12.5": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/preset-react/-/preset-react-7.22.5.tgz#c4d6058fbf80bccad02dd8c313a9aaa67e3c3dd6" - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - "@babel/helper-validator-option" "^7.22.5" - "@babel/plugin-transform-react-display-name" "^7.22.5" - "@babel/plugin-transform-react-jsx" "^7.22.5" - "@babel/plugin-transform-react-jsx-development" "^7.22.5" - "@babel/plugin-transform-react-pure-annotations" "^7.22.5" - -"@babel/preset-typescript@7.22.5", "@babel/preset-typescript@^7.1.0": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/preset-typescript/-/preset-typescript-7.22.5.tgz#16367d8b01d640e9a507577ed4ee54e0101e51c8" - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - "@babel/helper-validator-option" "^7.22.5" - "@babel/plugin-syntax-jsx" "^7.22.5" - "@babel/plugin-transform-modules-commonjs" "^7.22.5" - "@babel/plugin-transform-typescript" "^7.22.5" + "@babel/plugin-transform-unicode-escapes" "^7.22.10" + "@babel/plugin-transform-unicode-property-regex" "^7.22.5" + "@babel/plugin-transform-unicode-regex" "^7.22.5" + "@babel/plugin-transform-unicode-sets-regex" "^7.22.5" + "@babel/preset-modules" "0.1.6-no-external-plugins" + "@babel/types" "^7.22.10" + babel-plugin-polyfill-corejs2 "^0.4.5" + babel-plugin-polyfill-corejs3 "^0.8.3" + babel-plugin-polyfill-regenerator "^0.5.2" + core-js-compat "^3.31.0" + semver "^6.3.1" -"@babel/preset-typescript@7.3.3": - version "7.3.3" - resolved "https://registry.npmmirror.com/@babel/preset-typescript/-/preset-typescript-7.3.3.tgz#88669911053fa16b2b276ea2ede2ca603b3f307a" +"@babel/preset-modules@0.1.6-no-external-plugins": + version "0.1.6-no-external-plugins" + resolved "https://registry.npmmirror.com/@babel/preset-modules/-/preset-modules-0.1.6-no-external-plugins.tgz#ccb88a2c49c817236861fee7826080573b8a923a" + integrity sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA== dependencies: "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-transform-typescript" "^7.3.2" - -"@babel/register@7.22.5": - version "7.22.5" - resolved "https://registry.npmmirror.com/@babel/register/-/register-7.22.5.tgz#e4d8d0f615ea3233a27b5c6ada6750ee59559939" - dependencies: - clone-deep "^4.0.1" - find-cache-dir "^2.0.0" - make-dir "^2.1.0" - pirates "^4.0.5" - source-map-support "^0.5.16" + "@babel/types" "^7.4.4" + esutils "^2.0.2" "@babel/regjsgen@^0.8.0": version "0.8.0" @@ -2781,13 +2414,7 @@ dependencies: regenerator-runtime "^0.13.11" -"@babel/runtime@7.4.5": - version "7.4.5" - resolved "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.4.5.tgz#582bb531f5f9dc67d2fcb682979894f75e253f12" - dependencies: - regenerator-runtime "^0.13.2" - -"@babel/runtime@^7", "@babel/runtime@^7.10.1", "@babel/runtime@^7.10.4", "@babel/runtime@^7.11.1", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.8", "@babel/runtime@^7.14.5", "@babel/runtime@^7.14.6", "@babel/runtime@^7.15.4", "@babel/runtime@^7.16.7", "@babel/runtime@^7.18.0", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.6", "@babel/runtime@^7.20.0", "@babel/runtime@^7.20.6", "@babel/runtime@^7.20.7", "@babel/runtime@^7.21.0", "@babel/runtime@^7.22.3", "@babel/runtime@^7.3.0", "@babel/runtime@^7.4.2", "@babel/runtime@^7.6.3", "@babel/runtime@^7.7.6", "@babel/runtime@^7.7.7", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2": +"@babel/runtime@^7", "@babel/runtime@^7.10.1", "@babel/runtime@^7.10.4", "@babel/runtime@^7.11.1", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.8", "@babel/runtime@^7.14.5", "@babel/runtime@^7.14.6", "@babel/runtime@^7.15.4", "@babel/runtime@^7.16.7", "@babel/runtime@^7.18.0", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.6", "@babel/runtime@^7.20.0", "@babel/runtime@^7.20.6", "@babel/runtime@^7.20.7", "@babel/runtime@^7.21.0", "@babel/runtime@^7.22.3", "@babel/runtime@^7.6.3", "@babel/runtime@^7.7.6", "@babel/runtime@^7.7.7", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.22.5.tgz#8564dd588182ce0047d55d7a75e93921107b57ec" dependencies: @@ -2799,7 +2426,7 @@ dependencies: regenerator-runtime "^0.13.11" -"@babel/template@^7.20.7", "@babel/template@^7.22.5", "@babel/template@^7.3.3", "@babel/template@^7.4.0", "@babel/template@^7.4.4": +"@babel/template@^7.20.7", "@babel/template@^7.22.5", "@babel/template@^7.3.3": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/template/-/template-7.22.5.tgz#0c8c4d944509875849bd0344ff0050756eefc6ec" dependencies: @@ -2807,7 +2434,7 @@ "@babel/parser" "^7.22.5" "@babel/types" "^7.22.5" -"@babel/traverse@^7.1.0", "@babel/traverse@^7.21.0", "@babel/traverse@^7.22.5", "@babel/traverse@^7.4.3", "@babel/traverse@^7.4.5": +"@babel/traverse@^7.21.0", "@babel/traverse@^7.22.5", "@babel/traverse@^7.4.5": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/traverse/-/traverse-7.22.5.tgz#44bd276690db6f4940fdb84e1cb4abd2f729ccd1" dependencies: @@ -2822,7 +2449,23 @@ debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.12.1", "@babel/types@^7.12.6", "@babel/types@^7.20.0", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.22.5", "@babel/types@^7.3.3", "@babel/types@^7.4.0", "@babel/types@^7.4.4": +"@babel/traverse@^7.22.10", "@babel/traverse@^7.22.11": + version "7.22.11" + resolved "https://registry.npmmirror.com/@babel/traverse/-/traverse-7.22.11.tgz#71ebb3af7a05ff97280b83f05f8865ac94b2027c" + integrity sha512-mzAenteTfomcB7mfPtyi+4oe5BZ6MXxWcn4CX+h4IRJ+OOGXBrWU6jDQavkQI9Vuc5P+donFabBfFCcmWka9lQ== + dependencies: + "@babel/code-frame" "^7.22.10" + "@babel/generator" "^7.22.10" + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-function-name" "^7.22.5" + "@babel/helper-hoist-variables" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/parser" "^7.22.11" + "@babel/types" "^7.22.11" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/types@^7.0.0", "@babel/types@^7.20.0", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.22.5", "@babel/types@^7.3.3", "@babel/types@^7.4.4": version "7.22.5" resolved "https://registry.npmmirror.com/@babel/types/-/types-7.22.5.tgz#cd93eeaab025880a3a47ec881f4b096a5b786fbe" dependencies: @@ -2830,6 +2473,15 @@ "@babel/helper-validator-identifier" "^7.22.5" to-fast-properties "^2.0.0" +"@babel/types@^7.22.10", "@babel/types@^7.22.11": + version "7.22.11" + resolved "https://registry.npmmirror.com/@babel/types/-/types-7.22.11.tgz#0e65a6a1d4d9cbaa892b2213f6159485fe632ea2" + integrity sha512-siazHiGuZRz9aB9NpHy9GOs9xiQPKnMzgdr493iI1M67vRXpnEq8ZOOKzezC5q7zwuQ6sDhdSp4SD9ixKSqKZg== + dependencies: + "@babel/helper-string-parser" "^7.22.5" + "@babel/helper-validator-identifier" "^7.22.5" + to-fast-properties "^2.0.0" + "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.npmmirror.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" @@ -2869,13 +2521,6 @@ version "10.5.0" resolved "https://registry.npmmirror.com/@chevrotain/utils/-/utils-10.5.0.tgz#0ee36f65b49b447fbac71b9e5af5c5c6c98ac057" -"@cnakazawa/watch@^1.0.3": - version "1.0.4" - resolved "https://registry.npmmirror.com/@cnakazawa/watch/-/watch-1.0.4.tgz#f864ae85004d0fcab6f50be9141c4da368d1656a" - dependencies: - exec-sh "^0.3.2" - minimist "^1.2.0" - "@colors/colors@1.5.0": version "1.5.0" resolved "https://registry.npmmirror.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" @@ -3889,14 +3534,6 @@ version "0.1.3" resolved "https://registry.npmmirror.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" -"@jest/console@^24.7.1", "@jest/console@^24.9.0": - version "24.9.0" - resolved "https://registry.npmmirror.com/@jest/console/-/console-24.9.0.tgz#79b1bc06fb74a8cfb01cbdedf945584b1b9707f0" - dependencies: - "@jest/source-map" "^24.9.0" - chalk "^2.0.1" - slash "^2.0.0" - "@jest/console@^29.6.1": version "29.6.1" resolved "https://registry.npmmirror.com/@jest/console/-/console-29.6.1.tgz#b48ba7b9c34b51483e6d590f46e5837f1ab5f639" @@ -3919,39 +3556,6 @@ jest-util "^29.6.2" slash "^3.0.0" -"@jest/core@^24.9.0": - version "24.9.0" - resolved "https://registry.npmmirror.com/@jest/core/-/core-24.9.0.tgz#2ceccd0b93181f9c4850e74f2a9ad43d351369c4" - dependencies: - "@jest/console" "^24.7.1" - "@jest/reporters" "^24.9.0" - "@jest/test-result" "^24.9.0" - "@jest/transform" "^24.9.0" - "@jest/types" "^24.9.0" - ansi-escapes "^3.0.0" - chalk "^2.0.1" - exit "^0.1.2" - graceful-fs "^4.1.15" - jest-changed-files "^24.9.0" - jest-config "^24.9.0" - jest-haste-map "^24.9.0" - jest-message-util "^24.9.0" - jest-regex-util "^24.3.0" - jest-resolve "^24.9.0" - jest-resolve-dependencies "^24.9.0" - jest-runner "^24.9.0" - jest-runtime "^24.9.0" - jest-snapshot "^24.9.0" - jest-util "^24.9.0" - jest-validate "^24.9.0" - jest-watcher "^24.9.0" - micromatch "^3.1.10" - p-each-series "^1.0.0" - realpath-native "^1.1.0" - rimraf "^2.5.4" - slash "^2.0.0" - strip-ansi "^5.0.0" - "@jest/core@^29.6.1": version "29.6.1" resolved "https://registry.npmmirror.com/@jest/core/-/core-29.6.1.tgz#fac0d9ddf320490c93356ba201451825231e95f6" @@ -4018,15 +3622,6 @@ slash "^3.0.0" strip-ansi "^6.0.0" -"@jest/environment@^24.9.0": - version "24.9.0" - resolved "https://registry.npmmirror.com/@jest/environment/-/environment-24.9.0.tgz#21e3afa2d65c0586cbd6cbefe208bafade44ab18" - dependencies: - "@jest/fake-timers" "^24.9.0" - "@jest/transform" "^24.9.0" - "@jest/types" "^24.9.0" - jest-mock "^24.9.0" - "@jest/environment@^29.6.1": version "29.6.1" resolved "https://registry.npmmirror.com/@jest/environment/-/environment-29.6.1.tgz#ee358fff2f68168394b4a50f18c68278a21fe82f" @@ -4077,14 +3672,6 @@ expect "^29.6.2" jest-snapshot "^29.6.2" -"@jest/fake-timers@^24.9.0": - version "24.9.0" - resolved "https://registry.npmmirror.com/@jest/fake-timers/-/fake-timers-24.9.0.tgz#ba3e6bf0eecd09a636049896434d306636540c93" - dependencies: - "@jest/types" "^24.9.0" - jest-message-util "^24.9.0" - jest-mock "^24.9.0" - "@jest/fake-timers@^29.6.1": version "29.6.1" resolved "https://registry.npmmirror.com/@jest/fake-timers/-/fake-timers-29.6.1.tgz#c773efddbc61e1d2efcccac008139f621de57c69" @@ -4125,32 +3712,6 @@ "@jest/types" "^29.6.1" jest-mock "^29.6.2" -"@jest/reporters@^24.9.0": - version "24.9.0" - resolved "https://registry.npmmirror.com/@jest/reporters/-/reporters-24.9.0.tgz#86660eff8e2b9661d042a8e98a028b8d631a5b43" - dependencies: - "@jest/environment" "^24.9.0" - "@jest/test-result" "^24.9.0" - "@jest/transform" "^24.9.0" - "@jest/types" "^24.9.0" - chalk "^2.0.1" - exit "^0.1.2" - glob "^7.1.2" - istanbul-lib-coverage "^2.0.2" - istanbul-lib-instrument "^3.0.1" - istanbul-lib-report "^2.0.4" - istanbul-lib-source-maps "^3.0.1" - istanbul-reports "^2.2.6" - jest-haste-map "^24.9.0" - jest-resolve "^24.9.0" - jest-runtime "^24.9.0" - jest-util "^24.9.0" - jest-worker "^24.6.0" - node-notifier "^5.4.2" - slash "^2.0.0" - source-map "^0.6.0" - string-length "^2.0.0" - "@jest/reporters@^29.6.1": version "29.6.1" resolved "https://registry.npmmirror.com/@jest/reporters/-/reporters-29.6.1.tgz#3325a89c9ead3cf97ad93df3a427549d16179863" @@ -4221,14 +3782,6 @@ dependencies: "@sinclair/typebox" "^0.27.8" -"@jest/source-map@^24.3.0", "@jest/source-map@^24.9.0": - version "24.9.0" - resolved "https://registry.npmmirror.com/@jest/source-map/-/source-map-24.9.0.tgz#0e263a94430be4b41da683ccc1e6bffe2a191714" - dependencies: - callsites "^3.0.0" - graceful-fs "^4.1.15" - source-map "^0.6.0" - "@jest/source-map@^29.6.0": version "29.6.0" resolved "https://registry.npmmirror.com/@jest/source-map/-/source-map-29.6.0.tgz#bd34a05b5737cb1a99d43e1957020ac8e5b9ddb1" @@ -4237,14 +3790,6 @@ callsites "^3.0.0" graceful-fs "^4.2.9" -"@jest/test-result@^24.9.0": - version "24.9.0" - resolved "https://registry.npmmirror.com/@jest/test-result/-/test-result-24.9.0.tgz#11796e8aa9dbf88ea025757b3152595ad06ba0ca" - dependencies: - "@jest/console" "^24.9.0" - "@jest/types" "^24.9.0" - "@types/istanbul-lib-coverage" "^2.0.0" - "@jest/test-result@^29.6.1": version "29.6.1" resolved "https://registry.npmmirror.com/@jest/test-result/-/test-result-29.6.1.tgz#850e565a3f58ee8ca6ec424db00cb0f2d83c36ba" @@ -4263,15 +3808,6 @@ "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^24.9.0": - version "24.9.0" - resolved "https://registry.npmmirror.com/@jest/test-sequencer/-/test-sequencer-24.9.0.tgz#f8f334f35b625a4f2f355f2fe7e6036dad2e6b31" - dependencies: - "@jest/test-result" "^24.9.0" - jest-haste-map "^24.9.0" - jest-runner "^24.9.0" - jest-runtime "^24.9.0" - "@jest/test-sequencer@^29.6.1": version "29.6.1" resolved "https://registry.npmmirror.com/@jest/test-sequencer/-/test-sequencer-29.6.1.tgz#e3e582ee074dd24ea9687d7d1aaf05ee3a9b068e" @@ -4290,27 +3826,6 @@ jest-haste-map "^29.6.2" slash "^3.0.0" -"@jest/transform@^24.9.0": - version "24.9.0" - resolved "https://registry.npmmirror.com/@jest/transform/-/transform-24.9.0.tgz#4ae2768b296553fadab09e9ec119543c90b16c56" - dependencies: - "@babel/core" "^7.1.0" - "@jest/types" "^24.9.0" - babel-plugin-istanbul "^5.1.0" - chalk "^2.0.1" - convert-source-map "^1.4.0" - fast-json-stable-stringify "^2.0.0" - graceful-fs "^4.1.15" - jest-haste-map "^24.9.0" - jest-regex-util "^24.9.0" - jest-util "^24.9.0" - micromatch "^3.1.10" - pirates "^4.0.1" - realpath-native "^1.1.0" - slash "^2.0.0" - source-map "^0.6.1" - write-file-atomic "2.4.1" - "@jest/transform@^29.5.0": version "29.5.0" resolved "https://registry.npmmirror.com/@jest/transform/-/transform-29.5.0.tgz#cf9c872d0965f0cbd32f1458aa44a2b1988b00f9" @@ -4442,7 +3957,7 @@ version "1.4.14" resolved "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" -"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.13", "@jridgewell/sourcemap-codec@^1.4.15": +"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.15": version "1.4.15" resolved "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" @@ -5689,79 +5204,6 @@ dependencies: dequal "^2.0.2" -"@rollup/plugin-babel@6.0.3": - version "6.0.3" - resolved "https://registry.npmmirror.com/@rollup/plugin-babel/-/plugin-babel-6.0.3.tgz#07ccde15de278c581673034ad6accdb4a153dfeb" - dependencies: - "@babel/helper-module-imports" "^7.18.6" - "@rollup/pluginutils" "^5.0.1" - -"@rollup/plugin-commonjs@25.0.1": - version "25.0.1" - resolved "https://registry.npmmirror.com/@rollup/plugin-commonjs/-/plugin-commonjs-25.0.1.tgz#da984ea47f4450bb830fc1601bda130cfd603eb1" - dependencies: - "@rollup/pluginutils" "^5.0.1" - commondir "^1.0.1" - estree-walker "^2.0.2" - glob "^8.0.3" - is-reference "1.2.1" - magic-string "^0.27.0" - -"@rollup/plugin-inject@5.0.3": - version "5.0.3" - resolved "https://registry.npmmirror.com/@rollup/plugin-inject/-/plugin-inject-5.0.3.tgz#0783711efd93a9547d52971db73b2fb6140a67b1" - dependencies: - "@rollup/pluginutils" "^5.0.1" - estree-walker "^2.0.2" - magic-string "^0.27.0" - -"@rollup/plugin-json@6.0.0": - version "6.0.0" - resolved "https://registry.npmmirror.com/@rollup/plugin-json/-/plugin-json-6.0.0.tgz#199fea6670fd4dfb1f4932250569b14719db234a" - dependencies: - "@rollup/pluginutils" "^5.0.1" - -"@rollup/plugin-node-resolve@15.1.0": - version "15.1.0" - resolved "https://registry.npmmirror.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.1.0.tgz#9ffcd8e8c457080dba89bb9fcb583a6778dc757e" - dependencies: - "@rollup/pluginutils" "^5.0.1" - "@types/resolve" "1.20.2" - deepmerge "^4.2.2" - is-builtin-module "^3.2.1" - is-module "^1.0.0" - resolve "^1.22.1" - -"@rollup/plugin-replace@5.0.2": - version "5.0.2" - resolved "https://registry.npmmirror.com/@rollup/plugin-replace/-/plugin-replace-5.0.2.tgz#45f53501b16311feded2485e98419acb8448c61d" - dependencies: - "@rollup/pluginutils" "^5.0.1" - magic-string "^0.27.0" - -"@rollup/plugin-url@8.0.1": - version "8.0.1" - resolved "https://registry.npmmirror.com/@rollup/plugin-url/-/plugin-url-8.0.1.tgz#8da005d4be8cb4439357c929c73c85ceb5d979a4" - dependencies: - "@rollup/pluginutils" "^5.0.1" - make-dir "^3.1.0" - mime "^3.0.0" - -"@rollup/pluginutils@^4.1.2": - version "4.2.1" - resolved "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-4.2.1.tgz#e6c6c3aba0744edce3fb2074922d3776c0af2a6d" - dependencies: - estree-walker "^2.0.1" - picomatch "^2.2.2" - -"@rollup/pluginutils@^5.0.1": - version "5.0.2" - resolved "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-5.0.2.tgz#012b8f53c71e4f6f9cb317e311df1404f56e7a33" - dependencies: - "@types/estree" "^1.0.0" - estree-walker "^2.0.2" - picomatch "^2.3.1" - "@rushstack/ts-command-line@^4.12.2": version "4.15.1" resolved "https://registry.npmmirror.com/@rushstack/ts-command-line/-/ts-command-line-4.15.1.tgz#8f2ebde6bb19deb2c5b65363854b84aea1bf59f0" @@ -6498,10 +5940,6 @@ dependencies: "@babel/core" "^7.17.9" -"@svgr/babel-plugin-add-jsx-attribute@^5.4.0": - version "5.4.0" - resolved "https://registry.npmmirror.com/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-5.4.0.tgz#81ef61947bb268eb9d50523446f9c638fb355906" - "@svgr/babel-plugin-add-jsx-attribute@^6.5.1": version "6.5.1" resolved "https://registry.npmmirror.com/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-6.5.1.tgz#74a5d648bd0347bda99d82409d87b8ca80b9a1ba" @@ -6510,71 +5948,30 @@ version "8.0.0" resolved "https://registry.npmmirror.com/@svgr/babel-plugin-remove-jsx-attribute/-/babel-plugin-remove-jsx-attribute-8.0.0.tgz#69177f7937233caca3a1afb051906698f2f59186" -"@svgr/babel-plugin-remove-jsx-attribute@^5.4.0": - version "5.4.0" - resolved "https://registry.npmmirror.com/@svgr/babel-plugin-remove-jsx-attribute/-/babel-plugin-remove-jsx-attribute-5.4.0.tgz#6b2c770c95c874654fd5e1d5ef475b78a0a962ef" - "@svgr/babel-plugin-remove-jsx-empty-expression@*": version "8.0.0" resolved "https://registry.npmmirror.com/@svgr/babel-plugin-remove-jsx-empty-expression/-/babel-plugin-remove-jsx-empty-expression-8.0.0.tgz#c2c48104cfd7dcd557f373b70a56e9e3bdae1d44" -"@svgr/babel-plugin-remove-jsx-empty-expression@^5.0.1": - version "5.0.1" - resolved "https://registry.npmmirror.com/@svgr/babel-plugin-remove-jsx-empty-expression/-/babel-plugin-remove-jsx-empty-expression-5.0.1.tgz#25621a8915ed7ad70da6cea3d0a6dbc2ea933efd" - -"@svgr/babel-plugin-replace-jsx-attribute-value@^5.0.1": - version "5.0.1" - resolved "https://registry.npmmirror.com/@svgr/babel-plugin-replace-jsx-attribute-value/-/babel-plugin-replace-jsx-attribute-value-5.0.1.tgz#0b221fc57f9fcd10e91fe219e2cd0dd03145a897" - "@svgr/babel-plugin-replace-jsx-attribute-value@^6.5.1": version "6.5.1" resolved "https://registry.npmmirror.com/@svgr/babel-plugin-replace-jsx-attribute-value/-/babel-plugin-replace-jsx-attribute-value-6.5.1.tgz#fb9d22ea26d2bc5e0a44b763d4c46d5d3f596c60" -"@svgr/babel-plugin-svg-dynamic-title@^5.4.0": - version "5.4.0" - resolved "https://registry.npmmirror.com/@svgr/babel-plugin-svg-dynamic-title/-/babel-plugin-svg-dynamic-title-5.4.0.tgz#139b546dd0c3186b6e5db4fefc26cb0baea729d7" - "@svgr/babel-plugin-svg-dynamic-title@^6.5.1": version "6.5.1" resolved "https://registry.npmmirror.com/@svgr/babel-plugin-svg-dynamic-title/-/babel-plugin-svg-dynamic-title-6.5.1.tgz#01b2024a2b53ffaa5efceaa0bf3e1d5a4c520ce4" -"@svgr/babel-plugin-svg-em-dimensions@^5.4.0": - version "5.4.0" - resolved "https://registry.npmmirror.com/@svgr/babel-plugin-svg-em-dimensions/-/babel-plugin-svg-em-dimensions-5.4.0.tgz#6543f69526632a133ce5cabab965deeaea2234a0" - "@svgr/babel-plugin-svg-em-dimensions@^6.5.1": version "6.5.1" resolved "https://registry.npmmirror.com/@svgr/babel-plugin-svg-em-dimensions/-/babel-plugin-svg-em-dimensions-6.5.1.tgz#dd3fa9f5b24eb4f93bcf121c3d40ff5facecb217" -"@svgr/babel-plugin-transform-react-native-svg@^5.4.0": - version "5.4.0" - resolved "https://registry.npmmirror.com/@svgr/babel-plugin-transform-react-native-svg/-/babel-plugin-transform-react-native-svg-5.4.0.tgz#00bf9a7a73f1cad3948cdab1f8dfb774750f8c80" - "@svgr/babel-plugin-transform-react-native-svg@^6.5.1": version "6.5.1" resolved "https://registry.npmmirror.com/@svgr/babel-plugin-transform-react-native-svg/-/babel-plugin-transform-react-native-svg-6.5.1.tgz#1d8e945a03df65b601551097d8f5e34351d3d305" -"@svgr/babel-plugin-transform-svg-component@^5.5.0": - version "5.5.0" - resolved "https://registry.npmmirror.com/@svgr/babel-plugin-transform-svg-component/-/babel-plugin-transform-svg-component-5.5.0.tgz#583a5e2a193e214da2f3afeb0b9e8d3250126b4a" - "@svgr/babel-plugin-transform-svg-component@^6.5.1": version "6.5.1" resolved "https://registry.npmmirror.com/@svgr/babel-plugin-transform-svg-component/-/babel-plugin-transform-svg-component-6.5.1.tgz#48620b9e590e25ff95a80f811544218d27f8a250" -"@svgr/babel-preset@^5.5.0": - version "5.5.0" - resolved "https://registry.npmmirror.com/@svgr/babel-preset/-/babel-preset-5.5.0.tgz#8af54f3e0a8add7b1e2b0fcd5a882c55393df327" - dependencies: - "@svgr/babel-plugin-add-jsx-attribute" "^5.4.0" - "@svgr/babel-plugin-remove-jsx-attribute" "^5.4.0" - "@svgr/babel-plugin-remove-jsx-empty-expression" "^5.0.1" - "@svgr/babel-plugin-replace-jsx-attribute-value" "^5.0.1" - "@svgr/babel-plugin-svg-dynamic-title" "^5.4.0" - "@svgr/babel-plugin-svg-em-dimensions" "^5.4.0" - "@svgr/babel-plugin-transform-react-native-svg" "^5.4.0" - "@svgr/babel-plugin-transform-svg-component" "^5.5.0" - "@svgr/babel-preset@^6.5.1": version "6.5.1" resolved "https://registry.npmmirror.com/@svgr/babel-preset/-/babel-preset-6.5.1.tgz#b90de7979c8843c5c580c7e2ec71f024b49eb828" @@ -6598,20 +5995,6 @@ camelcase "^6.2.0" cosmiconfig "^7.0.1" -"@svgr/core@^5.5.0": - version "5.5.0" - resolved "https://registry.npmmirror.com/@svgr/core/-/core-5.5.0.tgz#82e826b8715d71083120fe8f2492ec7d7874a579" - dependencies: - "@svgr/plugin-jsx" "^5.5.0" - camelcase "^6.2.0" - cosmiconfig "^7.0.0" - -"@svgr/hast-util-to-babel-ast@^5.5.0": - version "5.5.0" - resolved "https://registry.npmmirror.com/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-5.5.0.tgz#5ee52a9c2533f73e63f8f22b779f93cd432a5461" - dependencies: - "@babel/types" "^7.12.6" - "@svgr/hast-util-to-babel-ast@^6.5.1": version "6.5.1" resolved "https://registry.npmmirror.com/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-6.5.1.tgz#81800bd09b5bcdb968bf6ee7c863d2288fdb80d2" @@ -6619,15 +6002,6 @@ "@babel/types" "^7.20.0" entities "^4.4.0" -"@svgr/plugin-jsx@^5.5.0": - version "5.5.0" - resolved "https://registry.npmmirror.com/@svgr/plugin-jsx/-/plugin-jsx-5.5.0.tgz#1aa8cd798a1db7173ac043466d7b52236b369000" - dependencies: - "@babel/core" "^7.12.3" - "@svgr/babel-preset" "^5.5.0" - "@svgr/hast-util-to-babel-ast" "^5.5.0" - svg-parser "^2.0.2" - "@svgr/plugin-jsx@^6.5.1": version "6.5.1" resolved "https://registry.npmmirror.com/@svgr/plugin-jsx/-/plugin-jsx-6.5.1.tgz#0e30d1878e771ca753c94e69581c7971542a7072" @@ -6637,14 +6011,6 @@ "@svgr/hast-util-to-babel-ast" "^6.5.1" svg-parser "^2.0.4" -"@svgr/plugin-svgo@^5.5.0": - version "5.5.0" - resolved "https://registry.npmmirror.com/@svgr/plugin-svgo/-/plugin-svgo-5.5.0.tgz#02da55d85320549324e201c7b2e53bf431fcc246" - dependencies: - cosmiconfig "^7.0.0" - deepmerge "^4.2.2" - svgo "^1.2.2" - "@svgr/plugin-svgo@^6.5.1": version "6.5.1" resolved "https://registry.npmmirror.com/@svgr/plugin-svgo/-/plugin-svgo-6.5.1.tgz#0f91910e988fc0b842f88e0960c2862e022abe84" @@ -6653,19 +6019,6 @@ deepmerge "^4.2.2" svgo "^2.8.0" -"@svgr/rollup@5.5.0": - version "5.5.0" - resolved "https://registry.npmmirror.com/@svgr/rollup/-/rollup-5.5.0.tgz#9ceaaa6d463916e69aff8a9e10b3bb8fbb94688a" - dependencies: - "@babel/core" "^7.12.3" - "@babel/plugin-transform-react-constant-elements" "^7.12.1" - "@babel/preset-env" "^7.12.1" - "@babel/preset-react" "^7.12.5" - "@svgr/core" "^5.5.0" - "@svgr/plugin-jsx" "^5.5.0" - "@svgr/plugin-svgo" "^5.5.0" - rollup-pluginutils "^2.8.2" - "@swc/core-darwin-arm64@1.3.57": version "1.3.57" resolved "https://registry.npmmirror.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.57.tgz#6af39458bf4ae58c8e4d12be2f2d69563b5a932a" @@ -6810,7 +6163,7 @@ version "5.0.1" resolved "https://registry.npmmirror.com/@types/aria-query/-/aria-query-5.0.1.tgz#3286741fb8f1e1580ac28784add4c7a1d49bdfbc" -"@types/babel__core@^7.1.0", "@types/babel__core@^7.1.14": +"@types/babel__core@^7.1.14": version "7.20.1" resolved "https://registry.npmmirror.com/@types/babel__core/-/babel__core-7.20.1.tgz#916ecea274b0c776fec721e333e55762d3a9614b" dependencies: @@ -7109,9 +6462,10 @@ version "1.0.1" resolved "https://registry.npmmirror.com/@types/estree/-/estree-1.0.1.tgz#aa22750962f3bf0e79d753d3cc067f010c95f194" -"@types/estree@0.0.39": - version "0.0.39" - resolved "https://registry.npmmirror.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" +"@types/expect@^1.20.4": + version "1.20.4" + resolved "https://registry.npmmirror.com/@types/expect/-/expect-1.20.4.tgz#8288e51737bf7e3ab5d7c77bfa695883745264e5" + integrity sha512-Q5Vn3yjTDyCMV50TB6VRIbQNxSE4OmZR86VSbGaNpfUolm0iePBB4KdEEHmxoY5sT2+2DIvXW0rvMDP2nHZ4Mg== "@types/express-serve-static-core@^4.17.33": version "4.17.35" @@ -7148,6 +6502,15 @@ version "7946.0.10" resolved "https://registry.npmmirror.com/@types/geojson/-/geojson-7946.0.10.tgz#6dfbf5ea17142f7f9a043809f1cd4c448cb68249" +"@types/glob-stream@*": + version "8.0.0" + resolved "https://registry.npmmirror.com/@types/glob-stream/-/glob-stream-8.0.0.tgz#ffa679e43d896de883ffac408a32a78ca123db33" + integrity sha512-fxTWwdQmX9LWSHD7ZLlv3BHR992mKcVcDnT/2v+l/QZZo7TfDdyasqlSYVzOnMGWhRbrWeWkbj/mgezFjKynhw== + dependencies: + "@types/node" "*" + "@types/picomatch" "*" + "@types/streamx" "*" + "@types/glob@^7.2.0": version "7.2.0" resolved "https://registry.npmmirror.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb" @@ -7165,11 +6528,14 @@ dependencies: "@types/node" "*" -"@types/gulp-plumber@^0.0.32": - version "0.0.32" - resolved "https://registry.npmmirror.com/@types/gulp-plumber/-/gulp-plumber-0.0.32.tgz#81467e0af4592a86239220ba743718c81846fc6a" +"@types/gulp@^4.0.13": + version "4.0.13" + resolved "https://registry.npmmirror.com/@types/gulp/-/gulp-4.0.13.tgz#033fff1f56c01e3c98ac76ee27361c01bcb08865" + integrity sha512-Ms20Q2tZ3MpThZGn4Ag6e7ifz/oQJFxsuiopqz5oHmhE6q2ohnELgafi5K/pKX/4ntlpidS61v/TXAguYsVcaA== dependencies: - "@types/node" "*" + "@types/undertaker" ">=1.2.6" + "@types/vinyl-fs" "*" + chokidar "^3.3.1" "@types/hapi__joi@17.1.9": version "17.1.9" @@ -7302,6 +6668,20 @@ "@types/koa-compose" "*" "@types/node" "*" +"@types/lerna__package@*", "@types/lerna__package@5.1.0": + version "5.1.0" + resolved "https://registry.npmmirror.com/@types/lerna__package/-/lerna__package-5.1.0.tgz#870a1fa82356dc9d5cd2a60d8deb45a54755fdc5" + integrity sha512-afNRkz6zwZZRR/5JRZ48R2t7kekQcX2Dq0JMvnsh0NiAVOdP9PYghNGhwiIdBau3cFmdU7wwxXupWAnzC4rZSQ== + dependencies: + "@types/npm-package-arg" "*" + +"@types/lerna__project@5.1.0": + version "5.1.0" + resolved "https://registry.npmmirror.com/@types/lerna__project/-/lerna__project-5.1.0.tgz#0418629d42a5b8f35b7ad95fc944fc54e8c9b1af" + integrity sha512-J41EBQZOD7CL7Aqwriifb63paXePjBBkDEfGdTGs65Yrn0624ekNcLRG8UH+4mfbcog4zCoaHZHMjcSMytEzjA== + dependencies: + "@types/lerna__package" "*" + "@types/linkify-it@*": version "3.0.2" resolved "https://registry.npmmirror.com/@types/linkify-it/-/linkify-it-3.0.2.tgz#fd2cd2edbaa7eaac7e7f3c1748b52a19143846c9" @@ -7414,6 +6794,11 @@ version "2.4.1" resolved "https://registry.npmmirror.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" +"@types/npm-package-arg@*": + version "6.1.1" + resolved "https://registry.npmmirror.com/@types/npm-package-arg/-/npm-package-arg-6.1.1.tgz#9e2d8adc04d39824a3d9f36f738010a3f7da3c1a" + integrity sha512-452/1Kp9IdM/oR10AyqAgZOxUt7eLbm+EMJ194L6oarMYdZNiFIFAOJ7IIr0OrZXTySgfHjJezh2oiyk2kc3ag== + "@types/nprogress@^0.2.0": version "0.2.0" resolved "https://registry.npmmirror.com/@types/nprogress/-/nprogress-0.2.0.tgz#86c593682d4199212a0509cc3c4d562bbbd6e45f" @@ -7432,6 +6817,11 @@ dependencies: "@types/express" "*" +"@types/picomatch@*": + version "2.3.0" + resolved "https://registry.npmmirror.com/@types/picomatch/-/picomatch-2.3.0.tgz#75db5e75a713c5a83d5b76780c3da84a82806003" + integrity sha512-O397rnSS9iQI4OirieAtsDqvCj4+3eY1J+EPdNTKuHuRWIfUoGyzX294o8C4KJYaLqgSrd2o60c5EqCU8Zv02g== + "@types/prettier@^2.1.5": version "2.7.3" resolved "https://registry.npmmirror.com/@types/prettier/-/prettier-2.7.3.tgz#3e51a17e291d01d17d3fc61422015a933af7a08f" @@ -7499,10 +6889,6 @@ version "2.1.34" resolved "https://registry.yarnpkg.com/@types/requirejs/-/requirejs-2.1.34.tgz#819e69701fbadefa53376c4f6f9da726b781e143" -"@types/resolve@1.20.2": - version "1.20.2" - resolved "https://registry.npmmirror.com/@types/resolve/-/resolve-1.20.2.tgz#97d26e00cd4a0423b4af620abecf3e6f442b7975" - "@types/sax@^1.2.1": version "1.2.4" resolved "https://registry.npmmirror.com/@types/sax/-/sax-1.2.4.tgz#8221affa7f4f3cb21abd22f244cfabfa63e6a69e" @@ -7538,14 +6924,17 @@ "@types/mime" "*" "@types/node" "*" -"@types/stack-utils@^1.0.1": - version "1.0.1" - resolved "https://registry.npmmirror.com/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e" - "@types/stack-utils@^2.0.0": version "2.0.1" resolved "https://registry.npmmirror.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" +"@types/streamx@*": + version "2.9.1" + resolved "https://registry.npmmirror.com/@types/streamx/-/streamx-2.9.1.tgz#273d126c7492bbe404f4fc007945ee8647af9c53" + integrity sha512-9bywzhouyedmci7WCIPFwJ8zASDnxt2gaVUy52X0p0Tt085IJSAEP0L6j4SSNeDMSLzpYu6cPz0GrJZ7kPJ6Bg== + dependencies: + "@types/node" "*" + "@types/strip-bom@^3.0.0": version "3.0.0" resolved "https://registry.npmmirror.com/@types/strip-bom/-/strip-bom-3.0.0.tgz#14a8ec3956c2e81edb7520790aecf21c290aebd2" @@ -7577,6 +6966,20 @@ version "1.3.2" resolved "https://registry.npmmirror.com/@types/triple-beam/-/triple-beam-1.3.2.tgz#38ecb64f01aa0d02b7c8f4222d7c38af6316fef8" +"@types/undertaker-registry@*": + version "1.0.1" + resolved "https://registry.npmmirror.com/@types/undertaker-registry/-/undertaker-registry-1.0.1.tgz#4306d4a03d7acedb974b66530832b90729e1d1da" + integrity sha512-Z4TYuEKn9+RbNVk1Ll2SS4x1JeLHecolIbM/a8gveaHsW0Hr+RQMraZACwTO2VD7JvepgA6UO1A1VrbktQrIbQ== + +"@types/undertaker@>=1.2.6": + version "1.2.8" + resolved "https://registry.npmmirror.com/@types/undertaker/-/undertaker-1.2.8.tgz#6124a5d78eb6fca84689185229654a6235c601d7" + integrity sha512-gW3PRqCHYpo45XFQHJBhch7L6hytPsIe0QeLujlnFsjHPnXLhJcPdN6a9368d7aIQgH2I/dUTPFBlGeSNA3qOg== + dependencies: + "@types/node" "*" + "@types/undertaker-registry" "*" + async-done "~1.3.2" + "@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2": version "2.0.6" resolved "https://registry.npmmirror.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d" @@ -7585,6 +6988,23 @@ version "13.7.17" resolved "https://registry.npmmirror.com/@types/validator/-/validator-13.7.17.tgz#0a6d1510395065171e3378a4afc587a3aefa7cc1" +"@types/vinyl-fs@*": + version "3.0.2" + resolved "https://registry.npmmirror.com/@types/vinyl-fs/-/vinyl-fs-3.0.2.tgz#cbaef5160ad7695483af0aa1b4fe67f166c18feb" + integrity sha512-ctNcmmzbMIKooXjRkyyUCOu2Z4AyqibL+RhXoF3pb7K7j+ezItnakmpm31LymkYHSIM5ey0tjIFzTvFOTSBCGw== + dependencies: + "@types/glob-stream" "*" + "@types/node" "*" + "@types/vinyl" "*" + +"@types/vinyl@*": + version "2.0.7" + resolved "https://registry.npmmirror.com/@types/vinyl/-/vinyl-2.0.7.tgz#9739a9a2afaf9af32761c54a0e82c735279f726c" + integrity sha512-4UqPv+2567NhMQuMLdKAyK4yzrfCqwaTt6bLhHEs8PFcxbHILsrxaY63n4wgE/BRLDWDQeI+WcTmkXKExh9hQg== + dependencies: + "@types/expect" "^1.20.4" + "@types/node" "*" + "@types/warning@^3.0.0": version "3.0.0" resolved "https://registry.npmmirror.com/@types/warning/-/warning-3.0.0.tgz#0d2501268ad8f9962b740d387c4654f5f8e23e52" @@ -8209,7 +7629,7 @@ JSONStream@^1.0.4: jsonparse "^1.2.0" through ">=2.2.7 <3" -abab@^2.0.0, abab@^2.0.3, abab@^2.0.5: +abab@^2.0.3, abab@^2.0.5: version "2.0.6" resolved "https://registry.npmmirror.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291" @@ -8224,13 +7644,6 @@ accepts@^1.3.5, accepts@~1.3.5: mime-types "~2.1.34" negotiator "0.6.3" -acorn-globals@^4.1.0: - version "4.3.4" - resolved "https://registry.npmmirror.com/acorn-globals/-/acorn-globals-4.3.4.tgz#9fa1926addc11c97308c4e66d7add0d40c3272e7" - dependencies: - acorn "^6.0.1" - acorn-walk "^6.0.1" - acorn-globals@^6.0.0: version "6.0.0" resolved "https://registry.npmmirror.com/acorn-globals/-/acorn-globals-6.0.0.tgz#46cdd39f0f8ff08a876619b55f5ac8a6dc770b45" @@ -8242,10 +7655,6 @@ acorn-jsx@^5.3.2: version "5.3.2" resolved "https://registry.npmmirror.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" -acorn-walk@^6.0.1: - version "6.2.0" - resolved "https://registry.npmmirror.com/acorn-walk/-/acorn-walk-6.2.0.tgz#123cb8f3b84c2171f1f7fb252615b1c78a6b1a8c" - acorn-walk@^7.1.1: version "7.2.0" resolved "https://registry.npmmirror.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" @@ -8254,14 +7663,6 @@ acorn-walk@^8.1.1, acorn-walk@^8.2.0: version "8.2.0" resolved "https://registry.npmmirror.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" -acorn@^5.5.3: - version "5.7.4" - resolved "https://registry.npmmirror.com/acorn/-/acorn-5.7.4.tgz#3e8d8a9947d0599a1796d10225d7432f4a4acf5e" - -acorn@^6.0.1, acorn@^6.0.5: - version "6.4.2" - resolved "https://registry.npmmirror.com/acorn/-/acorn-6.4.2.tgz#35866fd710528e92de10cf06016498e47e39e1e6" - acorn@^7.1.1: version "7.4.1" resolved "https://registry.npmmirror.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" @@ -8347,20 +7748,6 @@ ahooks@^3.7.2, ahooks@^3.7.6: screenfull "^5.0.0" tslib "^2.4.1" -airbnb-prop-types@^2.16.0: - version "2.16.0" - resolved "https://registry.npmmirror.com/airbnb-prop-types/-/airbnb-prop-types-2.16.0.tgz#b96274cefa1abb14f623f804173ee97c13971dc2" - dependencies: - array.prototype.find "^2.1.1" - function.prototype.name "^1.1.2" - is-regex "^1.1.0" - object-is "^1.1.2" - object.assign "^4.1.0" - object.entries "^1.1.2" - prop-types "^15.7.2" - prop-types-exact "^1.2.0" - react-is "^16.13.1" - ajv-formats@^1.5.1: version "1.6.1" resolved "https://registry.npmmirror.com/ajv-formats/-/ajv-formats-1.6.1.tgz#35c7cdcd2a12d509171c37bac32f2e8eb010a536" @@ -8426,10 +7813,6 @@ align-text@^0.1.1, align-text@^0.1.3: longest "^1.0.1" repeat-string "^1.5.2" -alphanum-sort@^1.0.0: - version "1.0.2" - resolved "https://registry.npmmirror.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3" - amdefine@>=0.0.4: version "1.0.1" resolved "https://registry.npmmirror.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" @@ -8470,13 +7853,7 @@ ansi-colors@^4.1.1: version "4.1.3" resolved "https://registry.npmmirror.com/ansi-colors/-/ansi-colors-4.1.3.tgz#37611340eb2243e70cc604cad35d63270d48781b" -ansi-cyan@^0.1.1: - version "0.1.1" - resolved "https://registry.npmmirror.com/ansi-cyan/-/ansi-cyan-0.1.1.tgz#538ae528af8982f28ae30d86f2f17456d2609873" - dependencies: - ansi-wrap "0.1.0" - -ansi-escapes@^3.0.0, ansi-escapes@^3.2.0: +ansi-escapes@^3.2.0: version "3.2.0" resolved "https://registry.npmmirror.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" @@ -8496,12 +7873,6 @@ ansi-html-community@^0.0.8: version "0.0.8" resolved "https://registry.npmmirror.com/ansi-html-community/-/ansi-html-community-0.0.8.tgz#69fbc4d6ccbe383f9736934ae34c3f8290f1bf41" -ansi-red@^0.1.1: - version "0.1.1" - resolved "https://registry.npmmirror.com/ansi-red/-/ansi-red-0.1.1.tgz#8c638f9d1080800a353c9c28c8a81ca4705d946c" - dependencies: - ansi-wrap "0.1.0" - ansi-regex@^2.0.0: version "2.1.1" resolved "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" @@ -8732,6 +8103,11 @@ archiver@^5.3.1: tar-stream "^2.2.0" zip-stream "^4.1.0" +archy@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" + integrity sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw== + are-we-there-yet@^2.0.0: version "2.0.0" resolved "https://registry.npmmirror.com/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz#372e0e7bd279d8e94c653aaa1f67200884bf3e1c" @@ -8793,24 +8169,27 @@ aria-query@^5.0.0: dependencies: dequal "^2.0.3" -arr-diff@^1.0.1: - version "1.1.0" - resolved "https://registry.npmmirror.com/arr-diff/-/arr-diff-1.1.0.tgz#687c32758163588fef7de7b36fabe495eb1a399a" - dependencies: - arr-flatten "^1.0.1" - array-slice "^0.2.3" - arr-diff@^4.0.0: version "4.0.0" resolved "https://registry.npmmirror.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" +arr-filter@^1.1.1: + version "1.1.2" + resolved "https://registry.npmmirror.com/arr-filter/-/arr-filter-1.1.2.tgz#43fdddd091e8ef11aa4c45d9cdc18e2dff1711ee" + integrity sha512-A2BETWCqhsecSvCkWAeVBFLH6sXEUGASuzkpjL3GR1SlL/PWL6M3J8EAAld2Uubmh39tvkJTqC9LeLHCUKmFXA== + dependencies: + make-iterator "^1.0.0" + arr-flatten@^1.0.1, arr-flatten@^1.1.0: version "1.1.0" resolved "https://registry.npmmirror.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" -arr-union@^2.0.1: - version "2.1.0" - resolved "https://registry.npmmirror.com/arr-union/-/arr-union-2.1.0.tgz#20f9eab5ec70f5c7d215b1077b1c39161d292c7d" +arr-map@^2.0.0, arr-map@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/arr-map/-/arr-map-2.0.2.tgz#3a77345ffc1cf35e2a91825601f9e58f2e24cac4" + integrity sha512-tVqVTHt+Q5Xb09qRkbu+DidW1yYzz5izWS2Xm2yFm7qJnmUfz4HPzNxbHkdRJbz2lrqI7S+z17xNYdFcBBO8Hw== + dependencies: + make-iterator "^1.0.0" arr-union@^3.1.0: version "3.1.0" @@ -8827,9 +8206,10 @@ array-differ@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" -array-equal@^1.0.0: - version "1.0.0" - resolved "https://registry.npmmirror.com/array-equal/-/array-equal-1.0.0.tgz#8c2a5ef2472fd9ea742b04c77a75093ba2757c93" +array-each@^1.0.0, array-each@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/array-each/-/array-each-1.0.1.tgz#a794af0c05ab1752846ee753a1f211a05ba0c44f" + integrity sha512-zHjL5SZa68hkKHBFBK6DJCTtr9sfTCPCaph/L7tMSLcTFgy+zX7E+6q5UArbtOtMBCtxdICpfTCspRse+ywyXA== array-ify@^1.0.0: version "1.0.0" @@ -8845,9 +8225,34 @@ array-includes@^3.1.6: get-intrinsic "^1.1.3" is-string "^1.0.7" -array-slice@^0.2.3: - version "0.2.3" - resolved "https://registry.npmmirror.com/array-slice/-/array-slice-0.2.3.tgz#dd3cfb80ed7973a75117cdac69b0b99ec86186f5" +array-initial@^1.0.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/array-initial/-/array-initial-1.1.0.tgz#2fa74b26739371c3947bd7a7adc73be334b3d795" + integrity sha512-BC4Yl89vneCYfpLrs5JU2aAu9/a+xWbeKhvISg9PT7eWFB9UlRvI+rKEtk6mgxWr3dSkk9gQ8hCrdqt06NXPdw== + dependencies: + array-slice "^1.0.0" + is-number "^4.0.0" + +array-last@^1.1.1: + version "1.3.0" + resolved "https://registry.npmmirror.com/array-last/-/array-last-1.3.0.tgz#7aa77073fec565ddab2493f5f88185f404a9d336" + integrity sha512-eOCut5rXlI6aCOS7Z7kCplKRKyiFQ6dHFBem4PwlwKeNFk2/XxTrhRh5T9PyaEWGy/NHTZWbY+nsZlNFJu9rYg== + dependencies: + is-number "^4.0.0" + +array-slice@^1.0.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/array-slice/-/array-slice-1.1.0.tgz#e368ea15f89bc7069f7ffb89aec3a6c7d4ac22d4" + integrity sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w== + +array-sort@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/array-sort/-/array-sort-1.0.0.tgz#e4c05356453f56f53512a7d1d6123f2c54c0a88a" + integrity sha512-ihLeJkonmdiAsD7vpgN3CRcx2J2S0TiYW+IS/5zHBI7mKUq3ySvBdzzBfD236ubDBQFiiyG3SWCPc+msQ9KoYg== + dependencies: + default-compare "^1.0.0" + get-value "^2.0.6" + kind-of "^5.0.2" array-tree-filter@^2.1.0: version "2.1.0" @@ -8861,26 +8266,7 @@ array-unique@^0.3.2: version "0.3.2" resolved "https://registry.npmmirror.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" -array.prototype.filter@^1.0.0: - version "1.0.2" - resolved "https://registry.npmmirror.com/array.prototype.filter/-/array.prototype.filter-1.0.2.tgz#5f90ca6e3d01c31ea8db24c147665541db28bb4c" - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" - es-array-method-boxes-properly "^1.0.0" - is-string "^1.0.7" - -array.prototype.find@^2.1.1: - version "2.2.1" - resolved "https://registry.npmmirror.com/array.prototype.find/-/array.prototype.find-2.2.1.tgz#769b8182a0b535c3d76ac025abab98ba1e12467b" - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" - es-shim-unscopables "^1.0.0" - -array.prototype.flat@^1.2.3, array.prototype.flat@^1.3.1: +array.prototype.flat@^1.3.1: version "1.3.1" resolved "https://registry.npmmirror.com/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz#ffc6576a7ca3efc2f46a143b9d1dda9b4b3cf5e2" dependencies: @@ -8926,7 +8312,7 @@ arrify@^2.0.1: version "2.0.1" resolved "https://registry.npmmirror.com/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" -asap@^2.0.0, asap@~2.0.3, asap@~2.0.6: +asap@^2.0.0, asap@~2.0.6: version "2.0.6" resolved "https://registry.npmmirror.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" @@ -8970,10 +8356,6 @@ ast-types@^0.13.2: dependencies: tslib "^2.0.1" -astral-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.npmmirror.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" - astral-regex@^2.0.0: version "2.0.0" resolved "https://registry.npmmirror.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" @@ -8982,14 +8364,20 @@ astring@^1.8.0: version "1.8.6" resolved "https://registry.npmmirror.com/astring/-/astring-1.8.6.tgz#2c9c157cf1739d67561c56ba896e6948f6b93731" +async-done@^1.2.0, async-done@^1.2.2, async-done@~1.3.2: + version "1.3.2" + resolved "https://registry.npmmirror.com/async-done/-/async-done-1.3.2.tgz#5e15aa729962a4b07414f528a88cdf18e0b290a2" + integrity sha512-uYkTP8dw2og1tu1nmza1n1CMW0qb8gWWlwqMmLb7MhBVs4BXrFziT6HXUd+/RlRA/i4H9AkofYloUbs1fwMqlw== + dependencies: + end-of-stream "^1.1.0" + once "^1.3.2" + process-nextick-args "^2.0.0" + stream-exhaust "^1.0.1" + async-each@^1.0.1: version "1.0.6" resolved "https://registry.npmmirror.com/async-each/-/async-each-1.0.6.tgz#52f1d9403818c179b7561e11a5d1b77eb2160e77" -async-limiter@~1.0.0: - version "1.0.1" - resolved "https://registry.npmmirror.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" - async-listener@^0.6.0: version "0.6.10" resolved "https://registry.npmmirror.com/async-listener/-/async-listener-0.6.10.tgz#a7c97abe570ba602d782273c0de60a51e3e17cbc" @@ -9014,6 +8402,13 @@ async-ratelimiter@^1.3.0: version "1.3.8" resolved "https://registry.npmmirror.com/async-ratelimiter/-/async-ratelimiter-1.3.8.tgz#05198a322543de43d98807c96295a9d712306928" +async-settle@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/async-settle/-/async-settle-1.0.0.tgz#1d0a914bb02575bec8a8f3a74e5080f72b2c0c6b" + integrity sha512-VPXfB4Vk49z1LHHodrEQ6Xf7W4gg1w0dAPROHngx7qgDjqmIQ+fXmwgGXTW/ITLai0YLSvWepJOP9EVpMnEAcw== + dependencies: + async-done "^1.2.2" + async-validator@^4.1.0: version "4.2.5" resolved "https://registry.npmmirror.com/async-validator/-/async-validator-4.2.5.tgz#c96ea3332a521699d0afaaceed510a54656c6339" @@ -9062,18 +8457,6 @@ auto-changelog@^2.4.0: parse-github-url "^1.0.2" semver "^7.3.5" -autoprefixer@9.6.0: - version "9.6.0" - resolved "https://registry.npmmirror.com/autoprefixer/-/autoprefixer-9.6.0.tgz#0111c6bde2ad20c6f17995a33fad7cf6854b4c87" - dependencies: - browserslist "^4.6.1" - caniuse-lite "^1.0.30000971" - chalk "^2.4.2" - normalize-range "^0.1.2" - num2fraction "^1.2.2" - postcss "^7.0.16" - postcss-value-parser "^3.3.1" - autoprefixer@^10.4.6: version "10.4.14" resolved "https://registry.npmmirror.com/autoprefixer/-/autoprefixer-10.4.14.tgz#e28d49902f8e759dd25b153264e862df2705f79d" @@ -9123,22 +8506,6 @@ axios@^0.26.1: dependencies: follow-redirects "^1.14.8" -babel-core@7.0.0-bridge.0: - version "7.0.0-bridge.0" - resolved "https://registry.npmmirror.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece" - -babel-jest@^24.8.0, babel-jest@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/babel-jest/-/babel-jest-24.9.0.tgz#3fc327cb8467b89d14d7bc70e315104a783ccd54" - dependencies: - "@jest/transform" "^24.9.0" - "@jest/types" "^24.9.0" - "@types/babel__core" "^7.1.0" - babel-plugin-istanbul "^5.1.0" - babel-preset-jest "^24.9.0" - chalk "^2.4.2" - slash "^2.0.0" - babel-jest@^29.4.3: version "29.5.0" resolved "https://registry.npmmirror.com/babel-jest/-/babel-jest-29.5.0.tgz#3fe3ddb109198e78b1c88f9ebdecd5e4fc2f50a5" @@ -9181,15 +8548,6 @@ babel-plugin-dynamic-import-node@2.3.3: dependencies: object.assign "^4.1.0" -babel-plugin-istanbul@^5.1.0, babel-plugin-istanbul@^5.2.0: - version "5.2.0" - resolved "https://registry.npmmirror.com/babel-plugin-istanbul/-/babel-plugin-istanbul-5.2.0.tgz#df4ade83d897a92df069c4d9a25cf2671293c854" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - find-up "^3.0.0" - istanbul-lib-instrument "^3.3.0" - test-exclude "^5.2.3" - babel-plugin-istanbul@^6.1.1: version "6.1.1" resolved "https://registry.npmmirror.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73" @@ -9200,12 +8558,6 @@ babel-plugin-istanbul@^6.1.1: istanbul-lib-instrument "^5.0.4" test-exclude "^6.0.0" -babel-plugin-jest-hoist@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.9.0.tgz#4f837091eb407e01447c8843cbec546d0002d756" - dependencies: - "@types/babel__traverse" "^7.0.6" - babel-plugin-jest-hoist@^29.5.0: version "29.5.0" resolved "https://registry.npmmirror.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.5.0.tgz#a97db437936f441ec196990c9738d4b88538618a" @@ -9215,14 +8567,6 @@ babel-plugin-jest-hoist@^29.5.0: "@types/babel__core" "^7.1.14" "@types/babel__traverse" "^7.0.6" -babel-plugin-macros@2.6.1: - version "2.6.1" - resolved "https://registry.npmmirror.com/babel-plugin-macros/-/babel-plugin-macros-2.6.1.tgz#41f7ead616fc36f6a93180e89697f69f51671181" - dependencies: - "@babel/runtime" "^7.4.2" - cosmiconfig "^5.2.0" - resolve "^1.10.0" - babel-plugin-macros@^3.1.0: version "3.1.0" resolved "https://registry.npmmirror.com/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" @@ -9231,44 +8575,29 @@ babel-plugin-macros@^3.1.0: cosmiconfig "^7.0.0" resolve "^1.19.0" -babel-plugin-module-resolver@3.2.0: - version "3.2.0" - resolved "https://registry.npmmirror.com/babel-plugin-module-resolver/-/babel-plugin-module-resolver-3.2.0.tgz#ddfa5e301e3b9aa12d852a9979f18b37881ff5a7" - dependencies: - find-babel-config "^1.1.0" - glob "^7.1.2" - pkg-up "^2.0.0" - reselect "^3.0.1" - resolve "^1.4.0" - -babel-plugin-polyfill-corejs2@^0.4.3: - version "0.4.3" - resolved "https://registry.npmmirror.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.3.tgz#75044d90ba5043a5fb559ac98496f62f3eb668fd" +babel-plugin-polyfill-corejs2@^0.4.5: + version "0.4.5" + resolved "https://registry.npmmirror.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.5.tgz#8097b4cb4af5b64a1d11332b6fb72ef5e64a054c" + integrity sha512-19hwUH5FKl49JEsvyTcoHakh6BE0wgXLLptIyKZ3PijHc/Ci521wygORCUCCred+E/twuqRyAkE02BAWPmsHOg== dependencies: - "@babel/compat-data" "^7.17.7" - "@babel/helper-define-polyfill-provider" "^0.4.0" - semver "^6.1.1" + "@babel/compat-data" "^7.22.6" + "@babel/helper-define-polyfill-provider" "^0.4.2" + semver "^6.3.1" -babel-plugin-polyfill-corejs3@^0.8.1: - version "0.8.1" - resolved "https://registry.npmmirror.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.1.tgz#39248263c38191f0d226f928d666e6db1b4b3a8a" +babel-plugin-polyfill-corejs3@^0.8.3: + version "0.8.3" + resolved "https://registry.npmmirror.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.3.tgz#b4f719d0ad9bb8e0c23e3e630c0c8ec6dd7a1c52" + integrity sha512-z41XaniZL26WLrvjy7soabMXrfPWARN25PZoriDEiLMxAp50AUW3t35BGQUMg5xK3UrpVTtagIDklxYa+MhiNA== dependencies: - "@babel/helper-define-polyfill-provider" "^0.4.0" - core-js-compat "^3.30.1" + "@babel/helper-define-polyfill-provider" "^0.4.2" + core-js-compat "^3.31.0" -babel-plugin-polyfill-regenerator@^0.5.0: - version "0.5.0" - resolved "https://registry.npmmirror.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.0.tgz#e7344d88d9ef18a3c47ded99362ae4a757609380" +babel-plugin-polyfill-regenerator@^0.5.2: + version "0.5.2" + resolved "https://registry.npmmirror.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.2.tgz#80d0f3e1098c080c8b5a65f41e9427af692dc326" + integrity sha512-tAlOptU0Xj34V1Y2PNTL4Y0FOJMDB6bZmoW39FeCQIhigGLkqu3Fj6uiXpxIf6Ij274ENdYx64y6Au+ZKlb1IA== dependencies: - "@babel/helper-define-polyfill-provider" "^0.4.0" - -babel-plugin-react-require@3.0.0: - version "3.0.0" - resolved "https://registry.npmmirror.com/babel-plugin-react-require/-/babel-plugin-react-require-3.0.0.tgz#2e4e7b4496b93a654a1c80042276de4e4eeb20e3" - -babel-plugin-react-require@3.1.1: - version "3.1.1" - resolved "https://registry.npmmirror.com/babel-plugin-react-require/-/babel-plugin-react-require-3.1.1.tgz#5c3d2564fa16b1e45212ed52519db147b1596106" + "@babel/helper-define-polyfill-provider" "^0.4.2" babel-plugin-styled-components@2.1.1: version "2.1.1" @@ -9294,10 +8623,6 @@ babel-plugin-syntax-jsx@^6.18.0: version "6.18.0" resolved "https://registry.npmmirror.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" -babel-plugin-transform-react-remove-prop-types@0.4.24: - version "0.4.24" - resolved "https://registry.npmmirror.com/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.24.tgz#f2edaf9b4c6a5fbe5c1d678bfb531078c1555f3a" - babel-preset-current-node-syntax@^1.0.0: version "1.0.1" resolved "https://registry.npmmirror.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" @@ -9315,13 +8640,6 @@ babel-preset-current-node-syntax@^1.0.0: "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-top-level-await" "^7.8.3" -babel-preset-jest@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/babel-preset-jest/-/babel-preset-jest-24.9.0.tgz#192b521e2217fb1d1f67cf73f70c336650ad3cdc" - dependencies: - "@babel/plugin-syntax-object-rest-spread" "^7.0.0" - babel-plugin-jest-hoist "^24.9.0" - babel-preset-jest@^29.5.0: version "29.5.0" resolved "https://registry.npmmirror.com/babel-preset-jest/-/babel-preset-jest-29.5.0.tgz#57bc8cc88097af7ff6a5ab59d1cd29d52a5916e2" @@ -9329,33 +8647,6 @@ babel-preset-jest@^29.5.0: babel-plugin-jest-hoist "^29.5.0" babel-preset-current-node-syntax "^1.0.0" -babel-preset-umi@1.8.4: - version "1.8.4" - resolved "https://registry.npmmirror.com/babel-preset-umi/-/babel-preset-umi-1.8.4.tgz#f7db66eca3aa394fda957a51f05dc24d2b77acb6" - dependencies: - "@babel/core" "7.4.5" - "@babel/plugin-proposal-async-generator-functions" "7.2.0" - "@babel/plugin-proposal-class-properties" "7.4.4" - "@babel/plugin-proposal-decorators" "7.4.4" - "@babel/plugin-proposal-do-expressions" "7.2.0" - "@babel/plugin-proposal-export-default-from" "7.2.0" - "@babel/plugin-proposal-export-namespace-from" "7.2.0" - "@babel/plugin-proposal-function-bind" "7.2.0" - "@babel/plugin-proposal-nullish-coalescing-operator" "7.4.4" - "@babel/plugin-proposal-object-rest-spread" "7.4.4" - "@babel/plugin-proposal-optional-catch-binding" "7.2.0" - "@babel/plugin-proposal-optional-chaining" "7.2.0" - "@babel/plugin-proposal-pipeline-operator" "7.3.2" - "@babel/plugin-syntax-dynamic-import" "7.2.0" - "@babel/plugin-transform-destructuring" "7.4.4" - "@babel/plugin-transform-runtime" "7.4.4" - "@babel/preset-env" "7.4.5" - "@babel/preset-react" "7.0.0" - "@babel/runtime" "7.4.5" - babel-plugin-macros "2.6.1" - babel-plugin-react-require "3.0.0" - babel-plugin-transform-react-remove-prop-types "0.4.24" - babel-runtime@^6.26.0: version "6.26.0" resolved "https://registry.npmmirror.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" @@ -9363,6 +8654,21 @@ babel-runtime@^6.26.0: core-js "^2.4.0" regenerator-runtime "^0.11.0" +bach@^1.0.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/bach/-/bach-1.2.0.tgz#4b3ce96bf27134f79a1b414a51c14e34c3bd9880" + integrity sha512-bZOOfCb3gXBXbTFXq3OZtGR88LwGeJvzu6szttaIzymOTS4ZttBNOWSv7aLZja2EMycKtRYV0Oa8SNKH/zkxvg== + dependencies: + arr-filter "^1.1.1" + arr-flatten "^1.0.1" + arr-map "^2.0.0" + array-each "^1.0.0" + array-initial "^1.0.0" + array-last "^1.1.1" + async-done "^1.2.2" + async-settle "^1.0.0" + now-and-later "^2.0.0" + bail@^2.0.0: version "2.0.2" resolved "https://registry.npmmirror.com/bail/-/bail-2.0.2.tgz#d26f5cd8fe5d6f832a31517b9f7c356040ba6d5d" @@ -9564,12 +8870,6 @@ browser-process-hrtime@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" -browser-resolve@^1.11.3: - version "1.11.3" - resolved "https://registry.npmmirror.com/browser-resolve/-/browser-resolve-1.11.3.tgz#9b7cbb3d0f510e4cb86bdbd796124d28b5890af6" - dependencies: - resolve "1.1.7" - browserify-aes@^1.0.0, browserify-aes@^1.0.4: version "1.2.0" resolved "https://registry.npmmirror.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" @@ -9625,7 +8925,7 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@^4.0.0, browserslist@^4.20.3, browserslist@^4.21.3, browserslist@^4.21.4, browserslist@^4.21.5, browserslist@^4.6.0, browserslist@^4.6.1: +browserslist@^4.20.3, browserslist@^4.21.3, browserslist@^4.21.5: version "4.21.9" resolved "https://registry.npmmirror.com/browserslist/-/browserslist-4.21.9.tgz#e11bdd3c313d7e2a9e87e8b4b0c7872b13897635" dependencies: @@ -9634,6 +8934,16 @@ browserslist@^4.0.0, browserslist@^4.20.3, browserslist@^4.21.3, browserslist@^4 node-releases "^2.0.12" update-browserslist-db "^1.0.11" +browserslist@^4.21.10, browserslist@^4.21.9: + version "4.21.10" + resolved "https://registry.npmmirror.com/browserslist/-/browserslist-4.21.10.tgz#dbbac576628c13d3b2231332cb2ec5a46e015bb0" + integrity sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ== + dependencies: + caniuse-lite "^1.0.30001517" + electron-to-chromium "^1.4.477" + node-releases "^2.0.13" + update-browserslist-db "^1.0.11" + bs-logger@0.x: version "0.2.6" resolved "https://registry.npmmirror.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8" @@ -9711,10 +9021,6 @@ buffer@^5.2.1, buffer@^5.5.0: base64-js "^1.3.1" ieee754 "^1.1.13" -builtin-modules@^3.0.0, builtin-modules@^3.3.0: - version "3.3.0" - resolved "https://registry.npmmirror.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6" - builtin-status-codes@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" @@ -9881,22 +9187,6 @@ call-bind@^1.0.0, call-bind@^1.0.2, call-bind@~1.0.2: function-bind "^1.1.1" get-intrinsic "^1.0.2" -caller-callsite@^2.0.0: - version "2.0.0" - resolved "https://registry.npmmirror.com/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134" - dependencies: - callsites "^2.0.0" - -caller-path@^2.0.0: - version "2.0.0" - resolved "https://registry.npmmirror.com/caller-path/-/caller-path-2.0.0.tgz#468f83044e369ab2010fac5f06ceee15bb2cb1f4" - dependencies: - caller-callsite "^2.0.0" - -callsites@^2.0.0: - version "2.0.0" - resolved "https://registry.npmmirror.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" - callsites@^3.0.0: version "3.1.0" resolved "https://registry.npmmirror.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" @@ -9920,6 +9210,11 @@ camelcase@^1.0.2: version "1.2.1" resolved "https://registry.npmmirror.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" +camelcase@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a" + integrity sha512-4nhGqUkc4BqbBBB4Q6zLuD7lzzrHYrjKGeYaEji/3tFR5VdJu9v+LilhGIVe8wxEJPPOeWo7eg8dwY13TZ1BNg== + camelcase@^4.0.0: version "4.1.0" resolved "https://registry.npmmirror.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" @@ -9936,24 +9231,14 @@ camelize@^1.0.0: version "1.0.1" resolved "https://registry.npmmirror.com/camelize/-/camelize-1.0.1.tgz#89b7e16884056331a35d6b5ad064332c91daa6c3" -caniuse-api@^3.0.0: - version "3.0.0" - resolved "https://registry.npmmirror.com/caniuse-api/-/caniuse-api-3.0.0.tgz#5e4d90e2274961d46291997df599e3ed008ee4c0" - dependencies: - browserslist "^4.0.0" - caniuse-lite "^1.0.0" - lodash.memoize "^4.1.2" - lodash.uniq "^4.5.0" - -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000971, caniuse-lite@^1.0.30001464, caniuse-lite@^1.0.30001503: +caniuse-lite@^1.0.30001464, caniuse-lite@^1.0.30001503: version "1.0.30001512" resolved "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001512.tgz#7450843fb581c39f290305a83523c7a9ef0d4cb4" -capture-exit@^2.0.0: - version "2.0.0" - resolved "https://registry.npmmirror.com/capture-exit/-/capture-exit-2.0.0.tgz#fb953bfaebeb781f62898239dabb426d08a509a4" - dependencies: - rsvp "^4.8.4" +caniuse-lite@^1.0.30001517: + version "1.0.30001522" + resolved "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001522.tgz#44b87a406c901269adcdb834713e23582dd71856" + integrity sha512-TKiyTVZxJGhsTszLuzb+6vUZSjVOAhClszBr2Ta2k9IwtNBT/4dzmL6aywt0HCgEZlmwJzXJd8yNiob6HgwTRg== capture-stack-trace@^1.0.0: version "1.0.2" @@ -10001,7 +9286,7 @@ chalk@2.4.1: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.2, chalk@^2.4.1, chalk@^2.4.2: +chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.npmmirror.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" dependencies: @@ -10020,7 +9305,7 @@ chalk@5.2.0: version "5.2.0" resolved "https://registry.npmmirror.com/chalk/-/chalk-5.2.0.tgz#249623b7d66869c673699fb66d65723e54dfcfb3" -chalk@^1.1.1, chalk@^1.1.3: +chalk@^1.1.1: version "1.1.3" resolved "https://registry.npmmirror.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" dependencies: @@ -10085,29 +9370,6 @@ check-error@^1.0.2: version "1.0.2" resolved "https://registry.npmmirror.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82" -cheerio-select@^2.1.0: - version "2.1.0" - resolved "https://registry.npmmirror.com/cheerio-select/-/cheerio-select-2.1.0.tgz#4d8673286b8126ca2a8e42740d5e3c4884ae21b4" - dependencies: - boolbase "^1.0.0" - css-select "^5.1.0" - css-what "^6.1.0" - domelementtype "^2.3.0" - domhandler "^5.0.3" - domutils "^3.0.1" - -cheerio@^1.0.0-rc.3: - version "1.0.0-rc.12" - resolved "https://registry.npmmirror.com/cheerio/-/cheerio-1.0.0-rc.12.tgz#788bf7466506b1c6bf5fae51d24a2c4d62e47683" - dependencies: - cheerio-select "^2.1.0" - dom-serializer "^2.0.0" - domhandler "^5.0.3" - domutils "^3.0.1" - htmlparser2 "^8.0.1" - parse5 "^7.0.0" - parse5-htmlparser2-tree-adapter "^7.0.0" - chevrotain@^10.4.2: version "10.5.0" resolved "https://registry.npmmirror.com/chevrotain/-/chevrotain-10.5.0.tgz#9c1dc62ef0753bb562dbe521b5f72d041bad624e" @@ -10137,7 +9399,7 @@ chokidar@3.5.1: optionalDependencies: fsevents "~2.3.1" -chokidar@3.5.3, "chokidar@>=3.0.0 <4.0.0", chokidar@^3.0.2, chokidar@^3.5.1, chokidar@^3.5.3: +chokidar@3.5.3, "chokidar@>=3.0.0 <4.0.0", chokidar@^3.3.1, chokidar@^3.5.1, chokidar@^3.5.3: version "3.5.3" resolved "https://registry.npmmirror.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" dependencies: @@ -10151,9 +9413,10 @@ chokidar@3.5.3, "chokidar@>=3.0.0 <4.0.0", chokidar@^3.0.2, chokidar@^3.5.1, cho optionalDependencies: fsevents "~2.3.2" -chokidar@^2.0.4: +chokidar@^2.0.0: version "2.1.8" resolved "https://registry.npmmirror.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917" + integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg== dependencies: anymatch "^2.0.0" async-each "^1.0.1" @@ -10307,13 +9570,14 @@ cliui@^2.1.0: right-align "^0.1.1" wordwrap "0.0.2" -cliui@^5.0.0: - version "5.0.0" - resolved "https://registry.npmmirror.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" +cliui@^3.2.0: + version "3.2.0" + resolved "https://registry.npmmirror.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" + integrity sha512-0yayqDxWQbqk3ojkYqUKqaAQ6AfNKeKWRNA8kR0WXzAsdHpP4BIaOmMAG87JGuO6qcobyW4GjxHd9PmhEd+T9w== dependencies: - string-width "^3.1.0" - strip-ansi "^5.2.0" - wrap-ansi "^5.1.0" + string-width "^1.0.1" + strip-ansi "^3.0.1" + wrap-ansi "^2.0.0" cliui@^7.0.2: version "7.0.4" @@ -10450,6 +9714,15 @@ collect-v8-coverage@^1.0.0: version "1.0.1" resolved "https://registry.npmmirror.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59" +collection-map@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/collection-map/-/collection-map-1.0.0.tgz#aea0f06f8d26c780c2b75494385544b2255af18c" + integrity sha512-5D2XXSpkOnleOI21TG7p3T0bGAsZ/XknZpKBmGYyluO8pw4zA3K8ZlrBIbC4FXg3m6z/RNFiUFfT2sQK01+UHA== + dependencies: + arr-map "^2.0.2" + for-own "^1.0.0" + make-iterator "^1.0.0" + collection-visit@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" @@ -10488,17 +9761,13 @@ color-support@^1.1.2, color-support@^1.1.3: version "1.1.3" resolved "https://registry.npmmirror.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" -color@^3.0.0, color@^3.1.2, color@^3.1.3: +color@^3.1.2, color@^3.1.3: version "3.2.1" resolved "https://registry.npmmirror.com/color/-/color-3.2.1.tgz#3544dc198caf4490c3ecc9a790b54fe9ff45e164" dependencies: color-convert "^1.9.3" color-string "^1.6.0" -colord@^2.9.1: - version "2.9.3" - resolved "https://registry.npmmirror.com/colord/-/colord-2.9.3.tgz#4f8ce919de456f1d5c1c368c307fe20f3e59fb43" - colorette@^2.0.19: version "2.0.20" resolved "https://registry.npmmirror.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" @@ -10581,10 +9850,6 @@ common-path-prefix@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/common-path-prefix/-/common-path-prefix-3.0.0.tgz#7d007a7e07c58c4b4d5f433131a19141b29f11e0" -commondir@^1.0.1: - version "1.0.1" - resolved "https://registry.npmmirror.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" - compare-func@^2.0.0: version "2.0.0" resolved "https://registry.npmmirror.com/compare-func/-/compare-func-2.0.0.tgz#fb65e75edbddfd2e568554e8b5b05fff7a51fcb3" @@ -10653,12 +9918,6 @@ concat-stream@^2.0.0: readable-stream "^3.0.2" typedarray "^0.0.6" -concat-with-sourcemaps@^1.0.5, concat-with-sourcemaps@^1.1.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/concat-with-sourcemaps/-/concat-with-sourcemaps-1.1.0.tgz#d4ea93f05ae25790951b99e7b3b09e3908a4082e" - dependencies: - source-map "^0.6.1" - concurrently@^7.0.0: version "7.6.0" resolved "https://registry.npmmirror.com/concurrently/-/concurrently-7.6.0.tgz#531a6f5f30cf616f355a4afb8f8fcb2bba65a49a" @@ -10838,7 +10097,7 @@ conventional-recommended-bump@^6.1.0: meow "^8.0.0" q "^1.5.1" -convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.5.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: +convert-source-map@^1.5.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: version "1.9.0" resolved "https://registry.npmmirror.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" @@ -10878,6 +10137,14 @@ copy-descriptor@^0.1.0: version "0.1.1" resolved "https://registry.npmmirror.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" +copy-props@^2.0.1: + version "2.0.5" + resolved "https://registry.npmmirror.com/copy-props/-/copy-props-2.0.5.tgz#03cf9ae328d4ebb36f8f1d804448a6af9ee3f2d2" + integrity sha512-XBlx8HSqrT0ObQwmSzM7WE5k8FxTV75h1DX1Z3n6NhQ/UYYAvInWYmG06vFt7hQZArE2fuO62aihiWIVQwh1sw== + dependencies: + each-props "^1.3.2" + is-plain-object "^5.0.0" + copy-to-clipboard@^3.2.0, copy-to-clipboard@^3.3.1, copy-to-clipboard@^3.3.3: version "3.3.3" resolved "https://registry.npmmirror.com/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz#55ac43a1db8ae639a4bd99511c148cdd1b83a1b0" @@ -10888,20 +10155,17 @@ copy-to@^2.0.1: version "2.0.1" resolved "https://registry.npmmirror.com/copy-to/-/copy-to-2.0.1.tgz#2680fbb8068a48d08656b6098092bdafc906f4a5" -core-js-compat@^3.1.1, core-js-compat@^3.30.1, core-js-compat@^3.30.2, core-js-compat@^3.6.2: - version "3.31.0" - resolved "https://registry.npmmirror.com/core-js-compat/-/core-js-compat-3.31.0.tgz#4030847c0766cc0e803dcdfb30055d7ef2064bf1" +core-js-compat@^3.31.0: + version "3.32.1" + resolved "https://registry.npmmirror.com/core-js-compat/-/core-js-compat-3.32.1.tgz#55f9a7d297c0761a8eb1d31b593e0f5b6ffae964" + integrity sha512-GSvKDv4wE0bPnQtjklV101juQ85g6H3rm5PDP20mqlS5j0kXF3pP97YvAu5hl+uFHqMictp3b2VxOHljWMAtuA== dependencies: - browserslist "^4.21.5" + browserslist "^4.21.10" core-js-pure@^3.23.3: version "3.31.0" resolved "https://registry.npmmirror.com/core-js-pure/-/core-js-pure-3.31.0.tgz#052fd9e82fbaaf86457f5db1fadcd06f15966ff2" -core-js@3.1.4: - version "3.1.4" - resolved "https://registry.npmmirror.com/core-js/-/core-js-3.1.4.tgz#3a2837fc48e582e1ae25907afcd6cf03b0cc7a07" - core-js@3.28.0: version "3.28.0" resolved "https://registry.npmmirror.com/core-js/-/core-js-3.28.0.tgz#ed8b9e99c273879fdfff0edfc77ee709a5800e4a" @@ -10953,15 +10217,6 @@ cosmiconfig-typescript-loader@^2.0.0: cosmiconfig "^7" ts-node "^10.8.1" -cosmiconfig@^5.0.0, cosmiconfig@^5.2.0: - version "5.2.1" - resolved "https://registry.npmmirror.com/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" - dependencies: - import-fresh "^2.0.0" - is-directory "^0.3.1" - js-yaml "^3.13.1" - parse-json "^4.0.0" - cosmiconfig@^7, cosmiconfig@^7.0.0, cosmiconfig@^7.0.1: version "7.1.0" resolved "https://registry.npmmirror.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" @@ -11121,21 +10376,6 @@ css-color-keywords@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/css-color-keywords/-/css-color-keywords-1.0.0.tgz#fea2616dc676b2962686b3af8dbdbe180b244e05" -css-color-names@0.0.4, css-color-names@^0.0.4: - version "0.0.4" - resolved "https://registry.npmmirror.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0" - -css-declaration-sorter@^4.0.1: - version "4.0.1" - resolved "https://registry.npmmirror.com/css-declaration-sorter/-/css-declaration-sorter-4.0.1.tgz#c198940f63a76d7e36c1e71018b001721054cb22" - dependencies: - postcss "^7.0.1" - timsort "^0.3.0" - -css-declaration-sorter@^6.3.1: - version "6.4.0" - resolved "https://registry.npmmirror.com/css-declaration-sorter/-/css-declaration-sorter-6.4.0.tgz#630618adc21724484b3e9505bce812def44000ad" - css-has-pseudo@^3.0.4: version "3.0.4" resolved "https://registry.npmmirror.com/css-has-pseudo/-/css-has-pseudo-3.0.4.tgz#57f6be91ca242d5c9020ee3e51bbb5b89fc7af73" @@ -11155,17 +10395,6 @@ css-loader@6.7.1: postcss-value-parser "^4.2.0" semver "^7.3.5" -css-modules-loader-core@^1.1.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/css-modules-loader-core/-/css-modules-loader-core-1.1.0.tgz#5908668294a1becd261ae0a4ce21b0b551f21d16" - dependencies: - icss-replace-symbols "1.1.0" - postcss "6.0.1" - postcss-modules-extract-imports "1.1.0" - postcss-modules-local-by-default "1.2.0" - postcss-modules-scope "1.1.0" - postcss-modules-values "1.3.0" - css-prefers-color-scheme@^6.0.3: version "6.0.3" resolved "https://registry.npmmirror.com/css-prefers-color-scheme/-/css-prefers-color-scheme-6.0.3.tgz#ca8a22e5992c10a5b9d315155e7caee625903349" @@ -11193,23 +10422,6 @@ css-select@^4.1.3: domutils "^2.8.0" nth-check "^2.0.1" -css-select@^5.1.0: - version "5.1.0" - resolved "https://registry.npmmirror.com/css-select/-/css-select-5.1.0.tgz#b8ebd6554c3637ccc76688804ad3f6a6fdaea8a6" - dependencies: - boolbase "^1.0.0" - css-what "^6.1.0" - domhandler "^5.0.2" - domutils "^3.0.1" - nth-check "^2.0.1" - -css-selector-tokenizer@^0.7.0: - version "0.7.3" - resolved "https://registry.npmmirror.com/css-selector-tokenizer/-/css-selector-tokenizer-0.7.3.tgz#735f26186e67c749aaf275783405cf0661fae8f1" - dependencies: - cssesc "^3.0.0" - fastparse "^1.1.2" - css-to-react-native@^3.0.0: version "3.2.0" resolved "https://registry.npmmirror.com/css-to-react-native/-/css-to-react-native-3.2.0.tgz#cdd8099f71024e149e4f6fe17a7d46ecd55f1e32" @@ -11236,7 +10448,7 @@ css-what@^3.2.1: version "3.4.2" resolved "https://registry.npmmirror.com/css-what/-/css-what-3.4.2.tgz#ea7026fcb01777edbde52124e21f327e7ae950e4" -css-what@^6.0.1, css-what@^6.1.0: +css-what@^6.0.1: version "6.1.0" resolved "https://registry.npmmirror.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" @@ -11269,133 +10481,19 @@ cssesc@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" -cssnano-preset-default@^4.0.8: - version "4.0.8" - resolved "https://registry.npmmirror.com/cssnano-preset-default/-/cssnano-preset-default-4.0.8.tgz#920622b1fc1e95a34e8838203f1397a504f2d3ff" - dependencies: - css-declaration-sorter "^4.0.1" - cssnano-util-raw-cache "^4.0.1" - postcss "^7.0.0" - postcss-calc "^7.0.1" - postcss-colormin "^4.0.3" - postcss-convert-values "^4.0.1" - postcss-discard-comments "^4.0.2" - postcss-discard-duplicates "^4.0.2" - postcss-discard-empty "^4.0.1" - postcss-discard-overridden "^4.0.1" - postcss-merge-longhand "^4.0.11" - postcss-merge-rules "^4.0.3" - postcss-minify-font-values "^4.0.2" - postcss-minify-gradients "^4.0.2" - postcss-minify-params "^4.0.2" - postcss-minify-selectors "^4.0.2" - postcss-normalize-charset "^4.0.1" - postcss-normalize-display-values "^4.0.2" - postcss-normalize-positions "^4.0.2" - postcss-normalize-repeat-style "^4.0.2" - postcss-normalize-string "^4.0.2" - postcss-normalize-timing-functions "^4.0.2" - postcss-normalize-unicode "^4.0.1" - postcss-normalize-url "^4.0.1" - postcss-normalize-whitespace "^4.0.2" - postcss-ordered-values "^4.1.2" - postcss-reduce-initial "^4.0.3" - postcss-reduce-transforms "^4.0.2" - postcss-svgo "^4.0.3" - postcss-unique-selectors "^4.0.1" - -cssnano-preset-default@^5.2.14: - version "5.2.14" - resolved "https://registry.npmmirror.com/cssnano-preset-default/-/cssnano-preset-default-5.2.14.tgz#309def4f7b7e16d71ab2438052093330d9ab45d8" - dependencies: - css-declaration-sorter "^6.3.1" - cssnano-utils "^3.1.0" - postcss-calc "^8.2.3" - postcss-colormin "^5.3.1" - postcss-convert-values "^5.1.3" - postcss-discard-comments "^5.1.2" - postcss-discard-duplicates "^5.1.0" - postcss-discard-empty "^5.1.1" - postcss-discard-overridden "^5.1.0" - postcss-merge-longhand "^5.1.7" - postcss-merge-rules "^5.1.4" - postcss-minify-font-values "^5.1.0" - postcss-minify-gradients "^5.1.1" - postcss-minify-params "^5.1.4" - postcss-minify-selectors "^5.2.1" - postcss-normalize-charset "^5.1.0" - postcss-normalize-display-values "^5.1.0" - postcss-normalize-positions "^5.1.1" - postcss-normalize-repeat-style "^5.1.1" - postcss-normalize-string "^5.1.0" - postcss-normalize-timing-functions "^5.1.0" - postcss-normalize-unicode "^5.1.1" - postcss-normalize-url "^5.1.0" - postcss-normalize-whitespace "^5.1.1" - postcss-ordered-values "^5.1.3" - postcss-reduce-initial "^5.1.2" - postcss-reduce-transforms "^5.1.0" - postcss-svgo "^5.1.0" - postcss-unique-selectors "^5.1.1" - -cssnano-util-get-arguments@^4.0.0: - version "4.0.0" - resolved "https://registry.npmmirror.com/cssnano-util-get-arguments/-/cssnano-util-get-arguments-4.0.0.tgz#ed3a08299f21d75741b20f3b81f194ed49cc150f" - -cssnano-util-get-match@^4.0.0: - version "4.0.0" - resolved "https://registry.npmmirror.com/cssnano-util-get-match/-/cssnano-util-get-match-4.0.0.tgz#c0e4ca07f5386bb17ec5e52250b4f5961365156d" - -cssnano-util-raw-cache@^4.0.1: - version "4.0.1" - resolved "https://registry.npmmirror.com/cssnano-util-raw-cache/-/cssnano-util-raw-cache-4.0.1.tgz#b26d5fd5f72a11dfe7a7846fb4c67260f96bf282" - dependencies: - postcss "^7.0.0" - -cssnano-util-same-parent@^4.0.0: - version "4.0.1" - resolved "https://registry.npmmirror.com/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz#574082fb2859d2db433855835d9a8456ea18bbf3" - -cssnano-utils@^3.1.0: - version "3.1.0" - resolved "https://registry.npmmirror.com/cssnano-utils/-/cssnano-utils-3.1.0.tgz#95684d08c91511edfc70d2636338ca37ef3a6861" - -cssnano@^4.1.8: - version "4.1.11" - resolved "https://registry.npmmirror.com/cssnano/-/cssnano-4.1.11.tgz#c7b5f5b81da269cb1fd982cb960c1200910c9a99" - dependencies: - cosmiconfig "^5.0.0" - cssnano-preset-default "^4.0.8" - is-resolvable "^1.0.0" - postcss "^7.0.0" - -cssnano@^5.0.1: - version "5.1.15" - resolved "https://registry.npmmirror.com/cssnano/-/cssnano-5.1.15.tgz#ded66b5480d5127fcb44dac12ea5a983755136bf" - dependencies: - cssnano-preset-default "^5.2.14" - lilconfig "^2.0.3" - yaml "^1.10.2" - csso@^4.0.2, csso@^4.2.0: version "4.2.0" resolved "https://registry.npmmirror.com/csso/-/csso-4.2.0.tgz#ea3a561346e8dc9f546d6febedd50187cf389529" dependencies: css-tree "^1.1.2" -cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0", cssom@~0.3.6: - version "0.3.8" - resolved "https://registry.npmmirror.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a" - cssom@^0.4.4: version "0.4.4" resolved "https://registry.npmmirror.com/cssom/-/cssom-0.4.4.tgz#5a66cf93d2d0b661d80bf6a44fb65f5c2e4e0a10" -cssstyle@^1.0.0: - version "1.4.0" - resolved "https://registry.npmmirror.com/cssstyle/-/cssstyle-1.4.0.tgz#9d31328229d3c565c61e586b02041a28fccdccf1" - dependencies: - cssom "0.3.x" +cssom@~0.3.6: + version "0.3.8" + resolved "https://registry.npmmirror.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a" cssstyle@^2.3.0: version "2.3.0" @@ -11673,6 +10771,14 @@ d3@^7.4.0, d3@^7.8.2: d3-transition "3" d3-zoom "3" +d@1, d@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" + integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== + dependencies: + es5-ext "^0.10.50" + type "^1.0.1" + dagre-d3-es@7.0.9: version "7.0.9" resolved "https://registry.npmmirror.com/dagre-d3-es/-/dagre-d3-es-7.0.9.tgz#aca12fccd9d09955a4430029ba72ee6934542a8d" @@ -11705,14 +10811,6 @@ data-uri-to-buffer@^4.0.0: version "4.0.1" resolved "https://registry.npmmirror.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz#d8feb2b2881e6a4f58c2e08acfd0e2834e26222e" -data-urls@^1.0.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/data-urls/-/data-urls-1.1.0.tgz#15ee0582baa5e22bb59c77140da8f9c76963bbfe" - dependencies: - abab "^2.0.0" - whatwg-mimetype "^2.2.0" - whatwg-url "^7.0.0" - data-urls@^2.0.0: version "2.0.0" resolved "https://registry.npmmirror.com/data-urls/-/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b" @@ -11782,12 +10880,6 @@ debug@4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, d dependencies: ms "2.1.2" -debug@4.1.1: - version "4.1.1" - resolved "https://registry.npmmirror.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" - dependencies: - ms "^2.1.1" - debug@^3.1.0, debug@^3.2.6, debug@^3.2.7: version "3.2.7" resolved "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" @@ -11805,7 +10897,7 @@ decamelize-keys@^1.1.0: decamelize "^1.1.0" map-obj "^1.0.0" -decamelize@^1.0.0, decamelize@^1.1.0, decamelize@^1.2.0: +decamelize@^1.0.0, decamelize@^1.1.0, decamelize@^1.1.1, decamelize@^1.2.0: version "1.2.0" resolved "https://registry.npmmirror.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" @@ -11968,6 +11060,18 @@ default-browser@^4.0.0: execa "^7.1.1" titleize "^3.0.0" +default-compare@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/default-compare/-/default-compare-1.0.0.tgz#cb61131844ad84d84788fb68fd01681ca7781a2f" + integrity sha512-QWfXlM0EkAbqOCbD/6HjdwT19j7WCkMyiRhWilc4H9/5h/RzTF9gv5LYh1+CmDV5d1rki6KAWLtQale0xt20eQ== + dependencies: + kind-of "^5.0.2" + +default-resolution@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/default-resolution/-/default-resolution-2.0.0.tgz#bcb82baa72ad79b426a76732f1a81ad6df26d684" + integrity sha512-2xaP6GiwVwOEbXCGoJ4ufgC76m8cj805jrghScewJC2ZDsb9U0b4BIrba+xt/Uytyd0HvQ6+WymSRTfnYj59GQ== + default-user-agent@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/default-user-agent/-/default-user-agent-1.0.0.tgz#16c46efdcaba3edc45f24f2bd4868b01b7c2adc6" @@ -12080,6 +11184,11 @@ detect-browser@^5.0.0, detect-browser@^5.1.0: version "5.3.0" resolved "https://registry.npmmirror.com/detect-browser/-/detect-browser-5.3.0.tgz#9705ef2bddf46072d0f7265a1fe300e36fe7ceca" +detect-file@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" + integrity sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q== + detect-indent@^5.0.0: version "5.0.0" resolved "https://registry.npmmirror.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" @@ -12100,10 +11209,6 @@ detect-libc@^2.0.0: version "2.0.1" resolved "https://registry.npmmirror.com/detect-libc/-/detect-libc-2.0.1.tgz#e1897aa88fa6ad197862937fbc0441ef352ee0cd" -detect-newline@^2.1.0: - version "2.1.0" - resolved "https://registry.npmmirror.com/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2" - detect-newline@^3.0.0: version "3.1.0" resolved "https://registry.npmmirror.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" @@ -12236,12 +11341,6 @@ domelementtype@^2.0.1, domelementtype@^2.2.0, domelementtype@^2.3.0: version "2.3.0" resolved "https://registry.npmmirror.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" -domexception@^1.0.1: - version "1.0.1" - resolved "https://registry.npmmirror.com/domexception/-/domexception-1.0.1.tgz#937442644ca6a31261ef36e3ec677fe805582c90" - dependencies: - webidl-conversions "^4.0.2" - domexception@^2.0.1: version "2.0.1" resolved "https://registry.npmmirror.com/domexception/-/domexception-2.0.1.tgz#fb44aefba793e1574b0af6aed2801d057529f304" @@ -12300,7 +11399,7 @@ dot-prop@^4.1.0, dot-prop@^4.2.1: dependencies: is-obj "^1.0.0" -dot-prop@^5.1.0, dot-prop@^5.2.0: +dot-prop@^5.1.0: version "5.3.0" resolved "https://registry.npmmirror.com/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88" dependencies: @@ -12316,10 +11415,6 @@ dotenv@^10.0.0: version "10.0.0" resolved "https://registry.npmmirror.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81" -dotenv@^8.2.0: - version "8.6.0" - resolved "https://registry.npmmirror.com/dotenv/-/dotenv-8.6.0.tgz#061af664d19f7f4d8fc6e4ff9b584ce237adcb8b" - dotignore@~0.1.2: version "0.1.2" resolved "https://registry.npmmirror.com/dotignore/-/dotignore-0.1.2.tgz#f942f2200d28c3a76fbdd6f0ee9f3257c8a2e905" @@ -12432,7 +11527,7 @@ duplexer@^0.1.1: version "0.1.2" resolved "https://registry.npmmirror.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" -duplexify@^3.4.2, duplexify@^3.5.0, duplexify@^3.6.0: +duplexify@^3.4.2, duplexify@^3.6.0: version "3.7.1" resolved "https://registry.npmmirror.com/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309" dependencies: @@ -12456,6 +11551,14 @@ dynamic-dedupe@^0.3.0: dependencies: xtend "^4.0.0" +each-props@^1.3.2: + version "1.3.2" + resolved "https://registry.npmmirror.com/each-props/-/each-props-1.3.2.tgz#ea45a414d16dd5cfa419b1a81720d5ca06892333" + integrity sha512-vV0Hem3zAGkJAyU7JSjixeU66rwdynTAa1vofCrSA5fEln+m67Az9CcnkVD776/fsN/UjIWmBDoNRS6t6G9RfA== + dependencies: + is-plain-object "^2.0.1" + object.defaults "^1.1.0" + eastasianwidth@^0.2.0: version "0.2.0" resolved "https://registry.npmmirror.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" @@ -12488,6 +11591,11 @@ electron-to-chromium@^1.4.431: version "1.4.449" resolved "https://registry.npmmirror.com/electron-to-chromium/-/electron-to-chromium-1.4.449.tgz#79ffe4514c81c35d4eb13030a63ff3383a8cc655" +electron-to-chromium@^1.4.477: + version "1.4.500" + resolved "https://registry.npmmirror.com/electron-to-chromium/-/electron-to-chromium-1.4.500.tgz#7dd05fdfbe02ed34b9f6099cfe01407b473d5af7" + integrity sha512-P38NO8eOuWOKY1sQk5yE0crNtrjgjJj6r3NrbIKtG18KzCHmHE2Bt+aQA7/y0w3uYsHWxDa6icOohzjLJ4vJ4A== + elkjs@^0.8.2: version "0.8.2" resolved "https://registry.npmmirror.com/elkjs/-/elkjs-0.8.2.tgz#c37763c5a3e24e042e318455e0147c912a7c248e" @@ -12573,7 +11681,7 @@ enhanced-resolve@^4.0.0: memory-fs "^0.5.0" tapable "^1.0.0" -enhanced-resolve@^5.0.0, enhanced-resolve@^5.10.0: +enhanced-resolve@^5.10.0: version "5.15.0" resolved "https://registry.npmmirror.com/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz#1af946c7d93603eb88e9896cee4904dc012e9c35" dependencies: @@ -12606,66 +11714,6 @@ envinfo@^7.7.4: version "7.10.0" resolved "https://registry.npmmirror.com/envinfo/-/envinfo-7.10.0.tgz#55146e3909cc5fe63c22da63fb15b05aeac35b13" -enzyme-adapter-react-16@^1.14.0: - version "1.15.7" - resolved "https://registry.npmmirror.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.15.7.tgz#a737e6d8e2c147e9da5acf957755be7634f76201" - dependencies: - enzyme-adapter-utils "^1.14.1" - enzyme-shallow-equal "^1.0.5" - has "^1.0.3" - object.assign "^4.1.4" - object.values "^1.1.5" - prop-types "^15.8.1" - react-is "^16.13.1" - react-test-renderer "^16.0.0-0" - semver "^5.7.0" - -enzyme-adapter-utils@^1.14.1: - version "1.14.1" - resolved "https://registry.npmmirror.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.14.1.tgz#f30db15dafc22e0ccd44f5acc8d93be29218cdcf" - dependencies: - airbnb-prop-types "^2.16.0" - function.prototype.name "^1.1.5" - has "^1.0.3" - object.assign "^4.1.4" - object.fromentries "^2.0.5" - prop-types "^15.8.1" - semver "^5.7.1" - -enzyme-shallow-equal@^1.0.1, enzyme-shallow-equal@^1.0.5: - version "1.0.5" - resolved "https://registry.npmmirror.com/enzyme-shallow-equal/-/enzyme-shallow-equal-1.0.5.tgz#5528a897a6ad2bdc417c7221a7db682cd01711ba" - dependencies: - has "^1.0.3" - object-is "^1.1.5" - -enzyme@^3.10.0: - version "3.11.0" - resolved "https://registry.npmmirror.com/enzyme/-/enzyme-3.11.0.tgz#71d680c580fe9349f6f5ac6c775bc3e6b7a79c28" - dependencies: - array.prototype.flat "^1.2.3" - cheerio "^1.0.0-rc.3" - enzyme-shallow-equal "^1.0.1" - function.prototype.name "^1.1.2" - has "^1.0.3" - html-element-map "^1.2.0" - is-boolean-object "^1.0.1" - is-callable "^1.1.5" - is-number-object "^1.0.4" - is-regex "^1.0.5" - is-string "^1.0.5" - is-subset "^0.1.1" - lodash.escape "^4.0.1" - lodash.isequal "^4.5.0" - object-inspect "^1.7.0" - object-is "^1.0.2" - object.assign "^4.1.0" - object.entries "^1.1.1" - object.values "^1.1.1" - raf "^3.4.1" - rst-selector-parser "^2.2.3" - string.prototype.trim "^1.2.1" - err-code@^1.0.0: version "1.1.2" resolved "https://registry.npmmirror.com/err-code/-/err-code-1.1.2.tgz#06e0116d3028f6aef4806849eb0ea6a748ae6960" @@ -12684,7 +11732,7 @@ errno@^0.1.1, errno@^0.1.3: dependencies: prr "~1.0.1" -error-ex@^1.3.1: +error-ex@^1.2.0, error-ex@^1.3.1: version "1.3.2" resolved "https://registry.npmmirror.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" dependencies: @@ -12775,10 +11823,28 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -es5-imcompatible-versions@^0.1.37, es5-imcompatible-versions@^0.1.78: +es5-ext@^0.10.35, es5-ext@^0.10.46, es5-ext@^0.10.50: + version "0.10.62" + resolved "https://registry.npmmirror.com/es5-ext/-/es5-ext-0.10.62.tgz#5e6adc19a6da524bf3d1e02bbc8960e5eb49a9a5" + integrity sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA== + dependencies: + es6-iterator "^2.0.3" + es6-symbol "^3.1.3" + next-tick "^1.1.0" + +es5-imcompatible-versions@^0.1.78: version "0.1.85" resolved "https://registry.npmmirror.com/es5-imcompatible-versions/-/es5-imcompatible-versions-0.1.85.tgz#40ddfa7f79c3a0ed4f10463afadace110f6fe561" +es6-iterator@^2.0.1, es6-iterator@^2.0.3: + version "2.0.3" + resolved "https://registry.npmmirror.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" + integrity sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g== + dependencies: + d "1" + es5-ext "^0.10.35" + es6-symbol "^3.1.1" + es6-promise@^4.0.3: version "4.2.8" resolved "https://registry.npmmirror.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" @@ -12789,6 +11855,24 @@ es6-promisify@^5.0.0: dependencies: es6-promise "^4.0.3" +es6-symbol@^3.1.1, es6-symbol@^3.1.3: + version "3.1.3" + resolved "https://registry.npmmirror.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" + integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== + dependencies: + d "^1.0.1" + ext "^1.1.2" + +es6-weak-map@^2.0.1: + version "2.0.3" + resolved "https://registry.npmmirror.com/es6-weak-map/-/es6-weak-map-2.0.3.tgz#b6da1f16cc2cc0d9be43e6bdbfc5e7dfcdf31d53" + integrity sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA== + dependencies: + d "1" + es5-ext "^0.10.46" + es6-iterator "^2.0.3" + es6-symbol "^3.1.1" + esbuild@0.12.15: version "0.12.15" resolved "https://registry.npmmirror.com/esbuild/-/esbuild-0.12.15.tgz#9d99cf39aeb2188265c5983e983e236829f08af0" @@ -12902,7 +11986,7 @@ escape-string-regexp@^5.0.0: version "5.0.0" resolved "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8" -escodegen@^1.8.1, escodegen@^1.9.1: +escodegen@^1.8.1: version "1.14.3" resolved "https://registry.npmmirror.com/escodegen/-/escodegen-1.14.3.tgz#4e7b81fba61581dc97582ed78cab7f0e8d63f503" dependencies: @@ -13196,14 +12280,6 @@ estree-util-visit@^1.2.0: "@types/estree-jsx" "^1.0.0" "@types/unist" "^2.0.0" -estree-walker@^0.6.0, estree-walker@^0.6.1: - version "0.6.1" - resolved "https://registry.npmmirror.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362" - -estree-walker@^2.0.1, estree-walker@^2.0.2: - version "2.0.2" - resolved "https://registry.npmmirror.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" - esutils@^2.0.2: version "2.0.3" resolved "https://registry.npmmirror.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" @@ -13243,10 +12319,6 @@ excel-date-to-js@^1.1.5: version "1.1.5" resolved "https://registry.npmmirror.com/excel-date-to-js/-/excel-date-to-js-1.1.5.tgz#d4b3cbd48ae5ac0279d58f5378b01776570a4157" -exec-sh@^0.3.2: - version "0.3.6" - resolved "https://registry.npmmirror.com/exec-sh/-/exec-sh-0.3.6.tgz#ff264f9e325519a60cb5e273692943483cca63bc" - execa@^0.7.0: version "0.7.0" resolved "https://registry.npmmirror.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" @@ -13343,16 +12415,12 @@ expand-tilde@^1.2.2: dependencies: os-homedir "^1.0.1" -expect@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/expect/-/expect-24.9.0.tgz#b75165b4817074fa4a157794f46fe9f1ba15b6ca" +expand-tilde@^2.0.0, expand-tilde@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" + integrity sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw== dependencies: - "@jest/types" "^24.9.0" - ansi-styles "^3.2.0" - jest-get-type "^24.9.0" - jest-matcher-utils "^24.9.0" - jest-message-util "^24.9.0" - jest-regex-util "^24.9.0" + homedir-polyfill "^1.0.1" expect@^29.0.0: version "29.5.0" @@ -13386,11 +12454,12 @@ expect@^29.6.2: jest-message-util "^29.6.2" jest-util "^29.6.2" -extend-shallow@^1.1.2: - version "1.1.4" - resolved "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-1.1.4.tgz#19d6bf94dfc09d76ba711f39b872d21ff4dd9071" +ext@^1.1.2: + version "1.7.0" + resolved "https://registry.npmmirror.com/ext/-/ext-1.7.0.tgz#0ea4383c0103d60e70be99e9a7f11027a33c4f5f" + integrity sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw== dependencies: - kind-of "^1.1.0" + type "^2.7.2" extend-shallow@^2.0.1: version "2.0.1" @@ -13487,6 +12556,11 @@ fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0, fast-json-sta version "2.1.0" resolved "https://registry.npmmirror.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" +fast-levenshtein@^1.0.0: + version "1.1.4" + resolved "https://registry.npmmirror.com/fast-levenshtein/-/fast-levenshtein-1.1.4.tgz#e6a754cc8f15e58987aa9cbd27af66fd6f4e5af9" + integrity sha512-Ia0sQNrMPXXkqVFt6w6M1n1oKo3NfKs+mvaV811Jwir7vAk9a6PVV9VPYf6X3BU97QiLEmuW3uXH9u87zDFfdw== + fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: version "2.0.6" resolved "https://registry.npmmirror.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" @@ -13511,10 +12585,6 @@ fast-xml-parser@4.2.5, fast-xml-parser@^4.2.2: dependencies: strnum "^1.0.5" -fastparse@^1.1.2: - version "1.1.2" - resolved "https://registry.npmmirror.com/fastparse/-/fastparse-1.1.2.tgz#91728c5a5942eced8531283c79441ee4122c35a9" - fastq@^1.6.0: version "1.15.0" resolved "https://registry.npmmirror.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a" @@ -13628,36 +12698,13 @@ fill-range@^4.0.0: fill-range@^7.0.1: version "7.0.1" - resolved "https://registry.npmmirror.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" - dependencies: - to-regex-range "^5.0.1" - -filter-obj@^1.1.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/filter-obj/-/filter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b" - -find-babel-config@^1.1.0: - version "1.2.0" - resolved "https://registry.npmmirror.com/find-babel-config/-/find-babel-config-1.2.0.tgz#a9b7b317eb5b9860cda9d54740a8c8337a2283a2" - dependencies: - json5 "^0.5.1" - path-exists "^3.0.0" - -find-cache-dir@^2.0.0: - version "2.1.0" - resolved "https://registry.npmmirror.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" + resolved "https://registry.npmmirror.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" dependencies: - commondir "^1.0.1" - make-dir "^2.0.0" - pkg-dir "^3.0.0" + to-regex-range "^5.0.1" -find-cache-dir@^3.3.2: - version "3.3.2" - resolved "https://registry.npmmirror.com/find-cache-dir/-/find-cache-dir-3.3.2.tgz#b30c5b6eff0730731aea9bbd9dbecbd80256d64b" - dependencies: - commondir "^1.0.1" - make-dir "^3.0.2" - pkg-dir "^4.1.0" +filter-obj@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/filter-obj/-/filter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b" find-file-up@^0.1.2: version "0.1.3" @@ -13680,7 +12727,15 @@ find-root@^1.1.0: version "1.1.0" resolved "https://registry.npmmirror.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" -find-up@^2.0.0, find-up@^2.1.0: +find-up@^1.0.0: + version "1.1.2" + resolved "https://registry.npmmirror.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" + integrity sha512-jvElSjyuo4EMQGoTwo1uJU5pQMwTW5lS1x05zzfJuTIyLR3zwO27LYrxNg+dlvKpGOuGy/MzBdXh80g0ve5+HA== + dependencies: + path-exists "^2.0.0" + pinkie-promise "^2.0.0" + +find-up@^2.0.0: version "2.1.0" resolved "https://registry.npmmirror.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" dependencies: @@ -13706,6 +12761,26 @@ find-up@^5.0.0: locate-path "^6.0.0" path-exists "^4.0.0" +findup-sync@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/findup-sync/-/findup-sync-2.0.0.tgz#9326b1488c22d1a6088650a86901b2d9a90a2cbc" + integrity sha512-vs+3unmJT45eczmcAZ6zMJtxN3l/QXeccaXQx5cu/MeJMhewVfoWZqibRkOxPnmoR59+Zy5hjabfQc6JLSah4g== + dependencies: + detect-file "^1.0.0" + is-glob "^3.1.0" + micromatch "^3.0.4" + resolve-dir "^1.0.1" + +findup-sync@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/findup-sync/-/findup-sync-3.0.0.tgz#17b108f9ee512dfb7a5c7f3c8b27ea9e1a9c08d1" + integrity sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg== + dependencies: + detect-file "^1.0.0" + is-glob "^4.0.0" + micromatch "^3.0.4" + resolve-dir "^1.0.1" + findup@0.1.5: version "0.1.5" resolved "https://registry.npmmirror.com/findup/-/findup-0.1.5.tgz#8ad929a3393bac627957a7e5de4623b06b0e2ceb" @@ -13713,6 +12788,17 @@ findup@0.1.5: colors "~0.6.0-1" commander "~2.1.0" +fined@^1.0.1: + version "1.2.0" + resolved "https://registry.npmmirror.com/fined/-/fined-1.2.0.tgz#d00beccf1aa2b475d16d423b0238b713a2c4a37b" + integrity sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng== + dependencies: + expand-tilde "^2.0.2" + is-plain-object "^2.0.3" + object.defaults "^1.1.0" + object.pick "^1.2.0" + parse-filepath "^1.0.1" + fix-esm@1.0.1: version "1.0.1" resolved "https://registry.npmmirror.com/fix-esm/-/fix-esm-1.0.1.tgz#e0e2199d841e43ff7db9b5f5ba7496bc45130ebb" @@ -13721,6 +12807,11 @@ fix-esm@1.0.1: "@babel/plugin-proposal-export-namespace-from" "^7.14.5" "@babel/plugin-transform-modules-commonjs" "^7.14.5" +flagged-respawn@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/flagged-respawn/-/flagged-respawn-1.0.1.tgz#e7de6f1279ddd9ca9aac8a5971d618606b3aab41" + integrity sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q== + flat-cache@^3.0.4: version "3.0.4" resolved "https://registry.npmmirror.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" @@ -13777,18 +12868,21 @@ for-each@^0.3.3, for-each@~0.3.3: dependencies: is-callable "^1.1.3" -for-in@^1.0.2: +for-in@^1.0.1, for-in@^1.0.2: version "1.0.2" resolved "https://registry.npmmirror.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" +for-own@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/for-own/-/for-own-1.0.0.tgz#c63332f415cedc4b04dbfe70cf836494c53cb44b" + integrity sha512-0OABksIGrxKK8K4kynWkQ7y1zounQxP+CWnyclVwj81KW3vlLlGUx57DKGcP/LH216GzqnstnPocF16Nxs0Ycg== + dependencies: + for-in "^1.0.1" + forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.npmmirror.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" -fork-stream@^0.0.4: - version "0.0.4" - resolved "https://registry.npmmirror.com/fork-stream/-/fork-stream-0.0.4.tgz#db849fce77f6708a5f8f386ae533a0907b54ae70" - fork-ts-checker-webpack-plugin@8.0.0: version "8.0.0" resolved "https://registry.npmmirror.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-8.0.0.tgz#dae45dfe7298aa5d553e2580096ced79b6179504" @@ -14004,7 +13098,7 @@ function-bind@^1.1.1: version "1.1.1" resolved "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" -function.prototype.name@^1.1.2, function.prototype.name@^1.1.5: +function.prototype.name@^1.1.5: version "1.1.5" resolved "https://registry.npmmirror.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621" dependencies: @@ -14063,18 +13157,6 @@ generate-function@^2.3.1: dependencies: is-property "^1.0.2" -generic-names@^2.0.1: - version "2.0.1" - resolved "https://registry.npmmirror.com/generic-names/-/generic-names-2.0.1.tgz#f8a378ead2ccaa7a34f0317b05554832ae41b872" - dependencies: - loader-utils "^1.1.0" - -generic-names@^4.0.0: - version "4.0.0" - resolved "https://registry.npmmirror.com/generic-names/-/generic-names-4.0.0.tgz#0bd8a2fd23fe8ea16cbd0a279acd69c06933d9a3" - dependencies: - loader-utils "^3.2.0" - genfun@^4.0.1: version "4.0.1" resolved "https://registry.npmmirror.com/genfun/-/genfun-4.0.1.tgz#ed10041f2e4a7f1b0a38466d17a5c3e27df1dfc1" @@ -14083,7 +13165,12 @@ gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.npmmirror.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" -get-caller-file@^2.0.1, get-caller-file@^2.0.5: +get-caller-file@^1.0.1: + version "1.0.3" + resolved "https://registry.npmmirror.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" + integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== + +get-caller-file@^2.0.5: version "2.0.5" resolved "https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" @@ -14321,6 +13408,19 @@ glob-stream@^6.1.0: to-absolute-glob "^2.0.0" unique-stream "^2.0.2" +glob-watcher@^5.0.3: + version "5.0.5" + resolved "https://registry.npmmirror.com/glob-watcher/-/glob-watcher-5.0.5.tgz#aa6bce648332924d9a8489be41e3e5c52d4186dc" + integrity sha512-zOZgGGEHPklZNjZQaZ9f41i7F2YwE+tS5ZHrDhbBCk3stwahn5vQxnFmBJZHoYdusR6R1bLSXeGUy/BhctwKzw== + dependencies: + anymatch "^2.0.0" + async-done "^1.2.0" + chokidar "^2.0.0" + is-negated-glob "^1.0.0" + just-debounce "^1.0.0" + normalize-path "^3.0.0" + object.defaults "^1.1.0" + glob@7.1.6: version "7.1.6" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" @@ -14366,6 +13466,15 @@ global-modules@^0.2.3: global-prefix "^0.1.4" is-windows "^0.2.0" +global-modules@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/global-modules/-/global-modules-1.0.0.tgz#6d770f0eb523ac78164d72b5e71a8877265cc3ea" + integrity sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg== + dependencies: + global-prefix "^1.0.1" + is-windows "^1.0.1" + resolve-dir "^1.0.0" + global-prefix@^0.1.4: version "0.1.5" resolved "https://registry.npmmirror.com/global-prefix/-/global-prefix-0.1.5.tgz#8d3bc6b8da3ca8112a160d8d496ff0462bfef78f" @@ -14375,6 +13484,17 @@ global-prefix@^0.1.4: is-windows "^0.2.0" which "^1.2.12" +global-prefix@^1.0.1: + version "1.0.2" + resolved "https://registry.npmmirror.com/global-prefix/-/global-prefix-1.0.2.tgz#dbf743c6c14992593c655568cb66ed32c0122ebe" + integrity sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg== + dependencies: + expand-tilde "^2.0.2" + homedir-polyfill "^1.0.1" + ini "^1.3.4" + is-windows "^1.0.1" + which "^1.2.14" + globalize@^0.1.1: version "0.1.1" resolved "https://registry.npmmirror.com/globalize/-/globalize-0.1.1.tgz#4d04ba65a580a8b0bdcc9ed974aeb497b9c80a56" @@ -14416,6 +13536,13 @@ globby@^13.1.2: merge2 "^1.4.1" slash "^4.0.0" +glogg@^1.0.0: + version "1.0.2" + resolved "https://registry.npmmirror.com/glogg/-/glogg-1.0.2.tgz#2d7dd702beda22eb3bffadf880696da6d846313f" + integrity sha512-5mwUoSuBk44Y4EshyiqcH95ZntbDdTQqA3QYSrxmzj28Ai0vXBGMH1ApSANH14j2sIRtqCEyg6PfsuP7ElOEDA== + dependencies: + sparkles "^1.0.0" + gopd@^1.0.1: version "1.0.1" resolved "https://registry.npmmirror.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" @@ -14472,43 +13599,29 @@ graphlib@^2.1.8: dependencies: lodash "^4.17.15" -growly@^1.3.0: - version "1.3.0" - resolved "https://registry.npmmirror.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" - -gulp-if@2.0.2: - version "2.0.2" - resolved "https://registry.npmmirror.com/gulp-if/-/gulp-if-2.0.2.tgz#a497b7e7573005041caa2bc8b7dda3c80444d629" - dependencies: - gulp-match "^1.0.3" - ternary-stream "^2.0.1" - through2 "^2.0.1" - -gulp-less@^5.0.0: - version "5.0.0" - resolved "https://registry.npmmirror.com/gulp-less/-/gulp-less-5.0.0.tgz#edafce75e9202fd62c9f653fb57b8d0d9fd731e5" - dependencies: - less "^3.7.1 || ^4.0.0" - object-assign "^4.0.1" - plugin-error "^1.0.0" - replace-ext "^2.0.0" - through2 "^4.0.0" - vinyl-sourcemaps-apply "^0.2.0" - -gulp-match@^1.0.3: - version "1.1.0" - resolved "https://registry.npmmirror.com/gulp-match/-/gulp-match-1.1.0.tgz#552b7080fc006ee752c90563f9fec9d61aafdf4f" - dependencies: - minimatch "^3.0.3" - -gulp-plumber@^1.2.1: - version "1.2.1" - resolved "https://registry.npmmirror.com/gulp-plumber/-/gulp-plumber-1.2.1.tgz#d38700755a300b9d372318e4ffb5ff7ced0b2c84" +gulp-cli@^2.2.0: + version "2.3.0" + resolved "https://registry.npmmirror.com/gulp-cli/-/gulp-cli-2.3.0.tgz#ec0d380e29e52aa45e47977f0d32e18fd161122f" + integrity sha512-zzGBl5fHo0EKSXsHzjspp3y5CONegCm8ErO5Qh0UzFzk2y4tMvzLWhoDokADbarfZRL2pGpRp7yt6gfJX4ph7A== dependencies: - chalk "^1.1.3" + ansi-colors "^1.0.1" + archy "^1.0.0" + array-sort "^1.0.0" + color-support "^1.1.3" + concat-stream "^1.6.0" + copy-props "^2.0.1" fancy-log "^1.3.2" - plugin-error "^0.1.2" - through2 "^2.0.3" + gulplog "^1.0.0" + interpret "^1.4.0" + isobject "^3.0.1" + liftoff "^3.1.0" + matchdep "^2.0.0" + mute-stdout "^1.0.0" + pretty-hrtime "^1.0.0" + replace-homedir "^1.0.0" + semver-greatest-satisfied-range "^1.1.0" + v8flags "^3.2.0" + yargs "^7.1.0" gulp-typescript@6.0.0-alpha.1: version "6.0.0-alpha.1" @@ -14521,6 +13634,23 @@ gulp-typescript@6.0.0-alpha.1: vinyl "^2.2.0" vinyl-fs "^3.0.3" +gulp@4.0.2: + version "4.0.2" + resolved "https://registry.npmmirror.com/gulp/-/gulp-4.0.2.tgz#543651070fd0f6ab0a0650c6a3e6ff5a7cb09caa" + integrity sha512-dvEs27SCZt2ibF29xYgmnwwCYZxdxhQ/+LFWlbAW8y7jt68L/65402Lz3+CKy0Ov4rOs+NERmDq7YlZaDqUIfA== + dependencies: + glob-watcher "^5.0.3" + gulp-cli "^2.2.0" + undertaker "^1.2.1" + vinyl-fs "^3.0.0" + +gulplog@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/gulplog/-/gulplog-1.0.0.tgz#e28c4d45d05ecbbed818363ce8f9c5926229ffe5" + integrity sha512-hm6N8nrm3Y08jXie48jsC55eCZz9mnb4OirAStEk2deqeyhXU3C1otDVh+ccttMuc1sBi6RX6ZJ720hs9RCvgw== + dependencies: + glogg "^1.0.0" + handle-thing@^2.0.0: version "2.0.1" resolved "https://registry.npmmirror.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" @@ -14565,10 +13695,6 @@ has-bigints@^1.0.1, has-bigints@^1.0.2: version "1.0.2" resolved "https://registry.npmmirror.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" -has-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.npmmirror.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" - has-flag@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" @@ -14632,7 +13758,7 @@ has-yarn@^2.1.0: version "2.1.0" resolved "https://registry.npmmirror.com/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77" -has@^1.0.0, has@^1.0.3, has@~1.0.3: +has@^1.0.3, has@~1.0.3: version "1.0.3" resolved "https://registry.npmmirror.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" dependencies: @@ -14795,10 +13921,6 @@ heti@^0.9.2: dependencies: heti-findandreplacedomtext "^0.5.0" -hex-color-regex@^1.1.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/hex-color-regex/-/hex-color-regex-1.1.0.tgz#4c06fccb4602fe2602b3c93df82d7e7dbf1a8a8e" - hexoid@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/hexoid/-/hexoid-1.0.0.tgz#ad10c6573fb907de23d9ec63a711267d9dc9bc18" @@ -14827,7 +13949,7 @@ hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.3.0, hoist-non-react- dependencies: react-is "^16.7.0" -homedir-polyfill@^1.0.0: +homedir-polyfill@^1.0.0, homedir-polyfill@^1.0.1: version "1.0.3" resolved "https://registry.npmmirror.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" dependencies: @@ -14856,14 +13978,6 @@ hpack.js@^2.1.6: readable-stream "^2.0.1" wbuf "^1.1.0" -hsl-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.npmmirror.com/hsl-regex/-/hsl-regex-1.0.0.tgz#d49330c789ed819e276a4c0d272dffa30b18fe6e" - -hsla-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.npmmirror.com/hsla-regex/-/hsla-regex-1.0.0.tgz#c1ce7a3168c8c6614033a4b5f7877f3b225f9c38" - htm@^3.1.0: version "3.1.1" resolved "https://registry.npmmirror.com/htm/-/htm-3.1.1.tgz#49266582be0dc66ed2235d5ea892307cc0c24b78" @@ -14872,19 +13986,6 @@ html-comment-regex@^1.1.2: version "1.1.2" resolved "https://registry.npmmirror.com/html-comment-regex/-/html-comment-regex-1.1.2.tgz#97d4688aeb5c81886a364faa0cad1dda14d433a7" -html-element-map@^1.2.0: - version "1.3.1" - resolved "https://registry.npmmirror.com/html-element-map/-/html-element-map-1.3.1.tgz#44b2cbcfa7be7aa4ff59779e47e51012e1c73c08" - dependencies: - array.prototype.filter "^1.0.0" - call-bind "^1.0.2" - -html-encoding-sniffer@^1.0.2: - version "1.0.2" - resolved "https://registry.npmmirror.com/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz#e70d84b94da53aa375e11fe3a351be6642ca46f8" - dependencies: - whatwg-encoding "^1.0.1" - html-encoding-sniffer@^2.0.1: version "2.0.1" resolved "https://registry.npmmirror.com/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz#42a6dc4fd33f00281176e8b23759ca4e4fa185f3" @@ -14974,7 +14075,7 @@ htmlparser2@^6.1.0: domutils "^2.5.2" entities "^2.0.0" -htmlparser2@^8.0.0, htmlparser2@^8.0.1: +htmlparser2@^8.0.0: version "8.0.2" resolved "https://registry.npmmirror.com/htmlparser2/-/htmlparser2-8.0.2.tgz#f002151705b383e62433b5cf466f5b716edaec21" dependencies: @@ -15147,10 +14248,6 @@ iconv-lite@0.6, iconv-lite@^0.6.2, iconv-lite@^0.6.3: dependencies: safer-buffer ">= 2.1.2 < 3.0.0" -icss-replace-symbols@1.1.0, icss-replace-symbols@^1.1.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded" - icss-utils@^5.0.0, icss-utils@^5.1.0: version "5.1.0" resolved "https://registry.npmmirror.com/icss-utils/-/icss-utils-5.1.0.tgz#c6be6858abd013d768e98366ae47e25d5887b1ae" @@ -15193,25 +14290,6 @@ immutable@^4.0.0: version "4.3.0" resolved "https://registry.npmmirror.com/immutable/-/immutable-4.3.0.tgz#eb1738f14ffb39fd068b1dbe1296117484dd34be" -import-cwd@^2.0.0, import-cwd@^2.1.0: - version "2.1.0" - resolved "https://registry.npmmirror.com/import-cwd/-/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9" - dependencies: - import-from "^2.1.0" - -import-cwd@^3.0.0: - version "3.0.0" - resolved "https://registry.npmmirror.com/import-cwd/-/import-cwd-3.0.0.tgz#20845547718015126ea9b3676b7592fb8bd4cf92" - dependencies: - import-from "^3.0.0" - -import-fresh@^2.0.0: - version "2.0.0" - resolved "https://registry.npmmirror.com/import-fresh/-/import-fresh-2.0.0.tgz#d81355c15612d386c61f9ddd3922d4304822a546" - dependencies: - caller-path "^2.0.0" - resolve-from "^3.0.0" - import-fresh@^3.0.0, import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.npmmirror.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" @@ -15219,29 +14297,10 @@ import-fresh@^3.0.0, import-fresh@^3.2.1: parent-module "^1.0.0" resolve-from "^4.0.0" -import-from@^2.1.0: - version "2.1.0" - resolved "https://registry.npmmirror.com/import-from/-/import-from-2.1.0.tgz#335db7f2a7affd53aaa471d4b8021dee36b7f3b1" - dependencies: - resolve-from "^3.0.0" - -import-from@^3.0.0: - version "3.0.0" - resolved "https://registry.npmmirror.com/import-from/-/import-from-3.0.0.tgz#055cfec38cd5a27d8057ca51376d7d3bf0891966" - dependencies: - resolve-from "^5.0.0" - import-lazy@^2.1.0: version "2.1.0" resolved "https://registry.npmmirror.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" -import-local@^2.0.0: - version "2.0.0" - resolved "https://registry.npmmirror.com/import-local/-/import-local-2.0.0.tgz#55070be38a5993cf18ef6db7e961f5bee5c5a09d" - dependencies: - pkg-dir "^3.0.0" - resolve-cwd "^2.0.0" - import-local@^3.0.2: version "3.1.0" resolved "https://registry.npmmirror.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" @@ -15261,10 +14320,6 @@ indent-string@^4.0.0: version "4.0.0" resolved "https://registry.npmmirror.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" -indexes-of@^1.0.1: - version "1.0.1" - resolved "https://registry.npmmirror.com/indexes-of/-/indexes-of-1.0.1.tgz#f30f716c8e2bd346c7b67d3df3915566a7c05607" - infer-owner@^1.0.4: version "1.0.4" resolved "https://registry.npmmirror.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" @@ -15384,6 +14439,11 @@ internal-slot@^1.0.3, internal-slot@^1.0.4, internal-slot@^1.0.5: version "2.0.3" resolved "https://registry.npmmirror.com/internmap/-/internmap-2.0.3.tgz#6685f23755e43c524e251d29cbc97248e3061009" +interpret@^1.4.0: + version "1.4.0" + resolved "https://registry.npmmirror.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" + integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== + intersection-observer@^0.12.0: version "0.12.2" resolved "https://registry.npmmirror.com/intersection-observer/-/intersection-observer-0.12.2.tgz#4a45349cc0cd91916682b1f44c28d7ec737dc375" @@ -15397,12 +14457,17 @@ intl-messageformat@10.5.0: "@formatjs/icu-messageformat-parser" "2.6.0" tslib "^2.4.0" -invariant@^2.2.2, invariant@^2.2.4: +invariant@^2.2.4: version "2.2.4" resolved "https://registry.npmmirror.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" dependencies: loose-envify "^1.0.0" +invert-kv@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" + integrity sha512-xgs2NH9AE66ucSq4cNG1nhSFghr5l6tdL15Pk+jl46bmmBapgoaY/AacXyaDznAqmGL99TiLSQgO/XazFSKYeQ== + ip@^1.1.4, ip@^1.1.5: version "1.1.8" resolved "https://registry.npmmirror.com/ip/-/ip-1.1.8.tgz#ae05948f6b075435ed3307acce04629da8cdbf48" @@ -15411,10 +14476,6 @@ ip@^2.0.0: version "2.0.0" resolved "https://registry.npmmirror.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" -is-absolute-url@^2.0.0: - version "2.1.0" - resolved "https://registry.npmmirror.com/is-absolute-url/-/is-absolute-url-2.1.0.tgz#50530dfb84fcc9aa7dbe7852e83a37b93b9f2aa6" - is-absolute@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/is-absolute/-/is-absolute-1.0.0.tgz#395e1ae84b11f26ad1795e73c17378e48a301576" @@ -15509,7 +14570,7 @@ is-binary-path@~2.1.0: dependencies: binary-extensions "^2.0.0" -is-boolean-object@^1.0.1, is-boolean-object@^1.1.0, is-boolean-object@^1.1.2: +is-boolean-object@^1.1.0, is-boolean-object@^1.1.2: version "1.1.2" resolved "https://registry.npmmirror.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" dependencies: @@ -15524,13 +14585,7 @@ is-buffer@^2.0.0, is-buffer@^2.0.2, is-buffer@^2.0.5: version "2.0.5" resolved "https://registry.npmmirror.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" -is-builtin-module@^3.2.1: - version "3.2.1" - resolved "https://registry.npmmirror.com/is-builtin-module/-/is-builtin-module-3.2.1.tgz#f03271717d8654cfcaf07ab0463faa3571581169" - dependencies: - builtin-modules "^3.3.0" - -is-callable@^1.0.4, is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.1.5, is-callable@^1.2.4, is-callable@^1.2.7: +is-callable@^1.0.4, is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.4, is-callable@^1.2.7: version "1.2.7" resolved "https://registry.npmmirror.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" @@ -15550,23 +14605,19 @@ is-class-hotfix@~0.0.6: version "0.0.6" resolved "https://registry.npmmirror.com/is-class-hotfix/-/is-class-hotfix-0.0.6.tgz#a527d31fb23279281dde5f385c77b5de70a72435" -is-color-stop@^1.0.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/is-color-stop/-/is-color-stop-1.1.0.tgz#cfff471aee4dd5c9e158598fbe12967b5cdad345" - dependencies: - css-color-names "^0.0.4" - hex-color-regex "^1.1.0" - hsl-regex "^1.0.0" - hsla-regex "^1.0.0" - rgb-regex "^1.0.1" - rgba-regex "^1.0.0" - is-core-module@^2.11.0, is-core-module@^2.5.0, is-core-module@^2.9.0: version "2.12.1" resolved "https://registry.npmmirror.com/is-core-module/-/is-core-module-2.12.1.tgz#0c0b6885b6f80011c71541ce15c8d66cf5a4f9fd" dependencies: has "^1.0.3" +is-core-module@^2.13.0: + version "2.13.0" + resolved "https://registry.npmmirror.com/is-core-module/-/is-core-module-2.13.0.tgz#bb52aa6e2cbd49a30c2ba68c42bf3435ba6072db" + integrity sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ== + dependencies: + has "^1.0.3" + is-data-descriptor@^0.1.4: version "0.1.4" resolved "https://registry.npmmirror.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" @@ -15609,10 +14660,6 @@ is-descriptor@^1.0.0, is-descriptor@^1.0.2: is-data-descriptor "^1.0.0" kind-of "^6.0.2" -is-directory@^0.3.1: - version "0.3.1" - resolved "https://registry.npmmirror.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" - is-docker@^2.0.0, is-docker@^2.1.1: version "2.2.1" resolved "https://registry.npmmirror.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" @@ -15744,10 +14791,6 @@ is-map@^2.0.1, is-map@^2.0.2: version "2.0.2" resolved "https://registry.npmmirror.com/is-map/-/is-map-2.0.2.tgz#00922db8c9bf73e81b7a335827bc2a43f2b91127" -is-module@^1.0.0: - version "1.0.0" - resolved "https://registry.npmmirror.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" - is-natural-number@^4.0.1: version "4.0.1" resolved "https://registry.npmmirror.com/is-natural-number/-/is-natural-number-4.0.1.tgz#ab9d76e1db4ced51e35de0c72ebecf09f734cde8" @@ -15780,6 +14823,11 @@ is-number@^3.0.0: dependencies: kind-of "^3.0.2" +is-number@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/is-number/-/is-number-4.0.0.tgz#0026e37f5454d73e356dfe6564699867c6a7f0ff" + integrity sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ== + is-number@^7.0.0: version "7.0.0" resolved "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" @@ -15836,13 +14884,7 @@ is-redirect@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" -is-reference@1.2.1: - version "1.2.1" - resolved "https://registry.npmmirror.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7" - dependencies: - "@types/estree" "*" - -is-regex@^1.0.4, is-regex@^1.0.5, is-regex@^1.1.0, is-regex@^1.1.4, is-regex@~1.1.4: +is-regex@^1.0.4, is-regex@^1.1.4, is-regex@~1.1.4: version "1.1.4" resolved "https://registry.npmmirror.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" dependencies: @@ -15855,10 +14897,6 @@ is-relative@^1.0.0: dependencies: is-unc-path "^1.0.0" -is-resolvable@^1.0.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/is-resolvable/-/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88" - is-retry-allowed@^1.0.0: version "1.2.0" resolved "https://registry.npmmirror.com/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz#d778488bd0a4666a3be8a1482b9f2baafedea8b4" @@ -15897,10 +14935,6 @@ is-string@^1.0.5, is-string@^1.0.7: dependencies: has-tostringtag "^1.0.0" -is-subset@^0.1.1: - version "0.1.1" - resolved "https://registry.npmmirror.com/is-subset/-/is-subset-0.1.1.tgz#8a59117d932de1de00f245fcdd39ce43f1e939a6" - is-symbol@^1.0.2, is-symbol@^1.0.3, is-symbol@^1.0.4: version "1.0.4" resolved "https://registry.npmmirror.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" @@ -15945,11 +14979,7 @@ is-unicode-supported@^0.1.0: version "0.1.0" resolved "https://registry.npmmirror.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" -is-url@1.2.4: - version "1.2.4" - resolved "https://registry.npmmirror.com/is-url/-/is-url-1.2.4.tgz#04a4df46d28c4cff3d73d01ff06abeb318a1aa52" - -is-utf8@^0.2.1: +is-utf8@^0.2.0, is-utf8@^0.2.1: version "0.2.1" resolved "https://registry.npmmirror.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" @@ -16037,26 +15067,10 @@ isstream@~0.1.2: version "0.1.2" resolved "https://registry.npmmirror.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" -istanbul-lib-coverage@^2.0.2, istanbul-lib-coverage@^2.0.5: - version "2.0.5" - resolved "https://registry.npmmirror.com/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz#675f0ab69503fad4b1d849f736baaca803344f49" - istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: version "3.2.0" resolved "https://registry.npmmirror.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" -istanbul-lib-instrument@^3.0.1, istanbul-lib-instrument@^3.3.0: - version "3.3.0" - resolved "https://registry.npmmirror.com/istanbul-lib-instrument/-/istanbul-lib-instrument-3.3.0.tgz#a5f63d91f0bbc0c3e479ef4c5de027335ec6d630" - dependencies: - "@babel/generator" "^7.4.0" - "@babel/parser" "^7.4.3" - "@babel/template" "^7.4.0" - "@babel/traverse" "^7.4.3" - "@babel/types" "^7.4.0" - istanbul-lib-coverage "^2.0.5" - semver "^6.0.0" - istanbul-lib-instrument@^5.0.4, istanbul-lib-instrument@^5.1.0: version "5.2.1" resolved "https://registry.npmmirror.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d" @@ -16067,14 +15081,6 @@ istanbul-lib-instrument@^5.0.4, istanbul-lib-instrument@^5.1.0: istanbul-lib-coverage "^3.2.0" semver "^6.3.0" -istanbul-lib-report@^2.0.4: - version "2.0.8" - resolved "https://registry.npmmirror.com/istanbul-lib-report/-/istanbul-lib-report-2.0.8.tgz#5a8113cd746d43c4889eba36ab10e7d50c9b4f33" - dependencies: - istanbul-lib-coverage "^2.0.5" - make-dir "^2.1.0" - supports-color "^6.1.0" - istanbul-lib-report@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6" @@ -16083,16 +15089,6 @@ istanbul-lib-report@^3.0.0: make-dir "^3.0.0" supports-color "^7.1.0" -istanbul-lib-source-maps@^3.0.1: - version "3.0.6" - resolved "https://registry.npmmirror.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz#284997c48211752ec486253da97e3879defba8c8" - dependencies: - debug "^4.1.1" - istanbul-lib-coverage "^2.0.5" - make-dir "^2.1.0" - rimraf "^2.6.3" - source-map "^0.6.1" - istanbul-lib-source-maps@^4.0.0: version "4.0.1" resolved "https://registry.npmmirror.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551" @@ -16101,12 +15097,6 @@ istanbul-lib-source-maps@^4.0.0: istanbul-lib-coverage "^3.0.0" source-map "^0.6.1" -istanbul-reports@^2.2.6: - version "2.2.7" - resolved "https://registry.npmmirror.com/istanbul-reports/-/istanbul-reports-2.2.7.tgz#5d939f6237d7b48393cc0959eab40cd4fd056931" - dependencies: - html-escaper "^2.0.0" - istanbul-reports@^3.1.3: version "3.1.6" resolved "https://registry.npmmirror.com/istanbul-reports/-/istanbul-reports-3.1.6.tgz#2544bcab4768154281a2f0870471902704ccaa1a" @@ -16126,14 +15116,6 @@ javascript-natural-sort@^0.7.1: version "0.7.1" resolved "https://registry.npmmirror.com/javascript-natural-sort/-/javascript-natural-sort-0.7.1.tgz#f9e2303d4507f6d74355a73664d1440fb5a0ef59" -jest-changed-files@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-changed-files/-/jest-changed-files-24.9.0.tgz#08d8c15eb79a7fa3fc98269bc14b451ee82f8039" - dependencies: - "@jest/types" "^24.9.0" - execa "^1.0.0" - throat "^4.0.0" - jest-changed-files@^29.5.0: version "29.5.0" resolved "https://registry.npmmirror.com/jest-changed-files/-/jest-changed-files-29.5.0.tgz#e88786dca8bf2aa899ec4af7644e16d9dcf9b23e" @@ -16191,24 +15173,6 @@ jest-circus@^29.6.2: slash "^3.0.0" stack-utils "^2.0.3" -jest-cli@^24.8.0, jest-cli@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-cli/-/jest-cli-24.9.0.tgz#ad2de62d07472d419c6abc301fc432b98b10d2af" - dependencies: - "@jest/core" "^24.9.0" - "@jest/test-result" "^24.9.0" - "@jest/types" "^24.9.0" - chalk "^2.0.1" - exit "^0.1.2" - import-local "^2.0.0" - is-ci "^2.0.0" - jest-config "^24.9.0" - jest-util "^24.9.0" - jest-validate "^24.9.0" - prompts "^2.0.1" - realpath-native "^1.1.0" - yargs "^13.3.0" - jest-cli@^29.0.0, jest-cli@^29.6.1: version "29.6.1" resolved "https://registry.npmmirror.com/jest-cli/-/jest-cli-29.6.1.tgz#99d9afa7449538221c71f358f0fdd3e9c6e89f72" @@ -16243,28 +15207,6 @@ jest-cli@^29.6.2: prompts "^2.0.1" yargs "^17.3.1" -jest-config@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-config/-/jest-config-24.9.0.tgz#fb1bbc60c73a46af03590719efa4825e6e4dd1b5" - dependencies: - "@babel/core" "^7.1.0" - "@jest/test-sequencer" "^24.9.0" - "@jest/types" "^24.9.0" - babel-jest "^24.9.0" - chalk "^2.0.1" - glob "^7.1.1" - jest-environment-jsdom "^24.9.0" - jest-environment-node "^24.9.0" - jest-get-type "^24.9.0" - jest-jasmine2 "^24.9.0" - jest-regex-util "^24.3.0" - jest-resolve "^24.9.0" - jest-util "^24.9.0" - jest-validate "^24.9.0" - micromatch "^3.1.10" - pretty-format "^24.9.0" - realpath-native "^1.1.0" - jest-config@^29.6.1: version "29.6.1" resolved "https://registry.npmmirror.com/jest-config/-/jest-config-29.6.1.tgz#d785344509065d53a238224c6cdc0ed8e2f2f0dd" @@ -16355,12 +15297,6 @@ jest-diff@^29.6.2: jest-get-type "^29.4.3" pretty-format "^29.6.2" -jest-docblock@^24.3.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-docblock/-/jest-docblock-24.9.0.tgz#7970201802ba560e1c4092cc25cbedf5af5a8ce2" - dependencies: - detect-newline "^2.1.0" - jest-docblock@^29.4.3: version "29.4.3" resolved "https://registry.npmmirror.com/jest-docblock/-/jest-docblock-29.4.3.tgz#90505aa89514a1c7dceeac1123df79e414636ea8" @@ -16380,16 +15316,6 @@ jest-dom@^3.1.2: pretty-format "^24.0.0" redent "^2.0.0" -jest-each@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-each/-/jest-each-24.9.0.tgz#eb2da602e2a610898dbc5f1f6df3ba86b55f8b05" - dependencies: - "@jest/types" "^24.9.0" - chalk "^2.0.1" - jest-get-type "^24.9.0" - jest-util "^24.9.0" - pretty-format "^24.9.0" - jest-each@^29.6.1: version "29.6.1" resolved "https://registry.npmmirror.com/jest-each/-/jest-each-29.6.1.tgz#975058e5b8f55c6780beab8b6ab214921815c89c" @@ -16410,27 +15336,6 @@ jest-each@^29.6.2: jest-util "^29.6.2" pretty-format "^29.6.2" -jest-environment-jsdom@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-environment-jsdom/-/jest-environment-jsdom-24.9.0.tgz#4b0806c7fc94f95edb369a69cc2778eec2b7375b" - dependencies: - "@jest/environment" "^24.9.0" - "@jest/fake-timers" "^24.9.0" - "@jest/types" "^24.9.0" - jest-mock "^24.9.0" - jest-util "^24.9.0" - jsdom "^11.5.1" - -jest-environment-node@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-environment-node/-/jest-environment-node-24.9.0.tgz#333d2d2796f9687f2aeebf0742b519f33c1cbfd3" - dependencies: - "@jest/environment" "^24.9.0" - "@jest/fake-timers" "^24.9.0" - "@jest/types" "^24.9.0" - jest-mock "^24.9.0" - jest-util "^24.9.0" - jest-environment-node@^29.6.1: version "29.6.1" resolved "https://registry.npmmirror.com/jest-environment-node/-/jest-environment-node-29.6.1.tgz#08a122dece39e58bc388da815a2166c58b4abec6" @@ -16461,24 +15366,6 @@ jest-get-type@^29.4.3: version "29.4.3" resolved "https://registry.npmmirror.com/jest-get-type/-/jest-get-type-29.4.3.tgz#1ab7a5207c995161100b5187159ca82dd48b3dd5" -jest-haste-map@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-haste-map/-/jest-haste-map-24.9.0.tgz#b38a5d64274934e21fa417ae9a9fbeb77ceaac7d" - dependencies: - "@jest/types" "^24.9.0" - anymatch "^2.0.0" - fb-watchman "^2.0.0" - graceful-fs "^4.1.15" - invariant "^2.2.4" - jest-serializer "^24.9.0" - jest-util "^24.9.0" - jest-worker "^24.9.0" - micromatch "^3.1.10" - sane "^4.0.3" - walker "^1.0.7" - optionalDependencies: - fsevents "^1.2.7" - jest-haste-map@^29.5.0: version "29.5.0" resolved "https://registry.npmmirror.com/jest-haste-map/-/jest-haste-map-29.5.0.tgz#69bd67dc9012d6e2723f20a945099e972b2e94de" @@ -16533,34 +15420,6 @@ jest-haste-map@^29.6.2: optionalDependencies: fsevents "^2.3.2" -jest-jasmine2@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-jasmine2/-/jest-jasmine2-24.9.0.tgz#1f7b1bd3242c1774e62acabb3646d96afc3be6a0" - dependencies: - "@babel/traverse" "^7.1.0" - "@jest/environment" "^24.9.0" - "@jest/test-result" "^24.9.0" - "@jest/types" "^24.9.0" - chalk "^2.0.1" - co "^4.6.0" - expect "^24.9.0" - is-generator-fn "^2.0.0" - jest-each "^24.9.0" - jest-matcher-utils "^24.9.0" - jest-message-util "^24.9.0" - jest-runtime "^24.9.0" - jest-snapshot "^24.9.0" - jest-util "^24.9.0" - pretty-format "^24.9.0" - throat "^4.0.0" - -jest-leak-detector@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-leak-detector/-/jest-leak-detector-24.9.0.tgz#b665dea7c77100c5c4f7dfcb153b65cf07dcf96a" - dependencies: - jest-get-type "^24.9.0" - pretty-format "^24.9.0" - jest-leak-detector@^29.6.1: version "29.6.1" resolved "https://registry.npmmirror.com/jest-leak-detector/-/jest-leak-detector-29.6.1.tgz#66a902c81318e66e694df7d096a95466cb962f8e" @@ -16575,7 +15434,7 @@ jest-leak-detector@^29.6.2: jest-get-type "^29.4.3" pretty-format "^29.6.2" -jest-matcher-utils@^24.0.0, jest-matcher-utils@^24.9.0: +jest-matcher-utils@^24.0.0: version "24.9.0" resolved "https://registry.npmmirror.com/jest-matcher-utils/-/jest-matcher-utils-24.9.0.tgz#f5b3661d5e628dffe6dd65251dfdae0e87c3a073" dependencies: @@ -16611,19 +15470,6 @@ jest-matcher-utils@^29.6.2: jest-get-type "^29.4.3" pretty-format "^29.6.2" -jest-message-util@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-message-util/-/jest-message-util-24.9.0.tgz#527f54a1e380f5e202a8d1149b0ec872f43119e3" - dependencies: - "@babel/code-frame" "^7.0.0" - "@jest/test-result" "^24.9.0" - "@jest/types" "^24.9.0" - "@types/stack-utils" "^1.0.1" - chalk "^2.0.1" - micromatch "^3.1.10" - slash "^2.0.0" - stack-utils "^1.0.1" - jest-message-util@^29.5.0: version "29.5.0" resolved "https://registry.npmmirror.com/jest-message-util/-/jest-message-util-29.5.0.tgz#1f776cac3aca332ab8dd2e3b41625435085c900e" @@ -16666,12 +15512,6 @@ jest-message-util@^29.6.2: slash "^3.0.0" stack-utils "^2.0.3" -jest-mock@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-mock/-/jest-mock-24.9.0.tgz#c22835541ee379b908673ad51087a2185c13f1c6" - dependencies: - "@jest/types" "^24.9.0" - jest-mock@^29.6.1: version "29.6.1" resolved "https://registry.npmmirror.com/jest-mock/-/jest-mock-29.6.1.tgz#049ee26aea8cbf54c764af649070910607316517" @@ -16688,26 +15528,14 @@ jest-mock@^29.6.2: "@types/node" "*" jest-util "^29.6.2" -jest-pnp-resolver@^1.2.0, jest-pnp-resolver@^1.2.1, jest-pnp-resolver@^1.2.2: +jest-pnp-resolver@^1.2.2: version "1.2.3" resolved "https://registry.npmmirror.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e" -jest-regex-util@^24.3.0, jest-regex-util@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-regex-util/-/jest-regex-util-24.9.0.tgz#c13fb3380bde22bf6575432c493ea8fe37965636" - jest-regex-util@^29.4.3: version "29.4.3" resolved "https://registry.npmmirror.com/jest-regex-util/-/jest-regex-util-29.4.3.tgz#a42616141e0cae052cfa32c169945d00c0aa0bb8" -jest-resolve-dependencies@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-resolve-dependencies/-/jest-resolve-dependencies-24.9.0.tgz#ad055198959c4cfba8a4f066c673a3f0786507ab" - dependencies: - "@jest/types" "^24.9.0" - jest-regex-util "^24.3.0" - jest-snapshot "^24.9.0" - jest-resolve-dependencies@^29.6.1: version "29.6.1" resolved "https://registry.npmmirror.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.6.1.tgz#b85b06670f987a62515bbf625d54a499e3d708f5" @@ -16719,18 +15547,8 @@ jest-resolve-dependencies@^29.6.2: version "29.6.2" resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.6.2.tgz#36435269b6672c256bcc85fb384872c134cc4cf2" dependencies: - jest-regex-util "^29.4.3" - jest-snapshot "^29.6.2" - -jest-resolve@^24.8.0, jest-resolve@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-resolve/-/jest-resolve-24.9.0.tgz#dff04c7687af34c4dd7e524892d9cf77e5d17321" - dependencies: - "@jest/types" "^24.9.0" - browser-resolve "^1.11.3" - chalk "^2.0.1" - jest-pnp-resolver "^1.2.1" - realpath-native "^1.1.0" + jest-regex-util "^29.4.3" + jest-snapshot "^29.6.2" jest-resolve@^29.6.1: version "29.6.1" @@ -16760,30 +15578,6 @@ jest-resolve@^29.6.2: resolve.exports "^2.0.0" slash "^3.0.0" -jest-runner@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-runner/-/jest-runner-24.9.0.tgz#574fafdbd54455c2b34b4bdf4365a23857fcdf42" - dependencies: - "@jest/console" "^24.7.1" - "@jest/environment" "^24.9.0" - "@jest/test-result" "^24.9.0" - "@jest/types" "^24.9.0" - chalk "^2.4.2" - exit "^0.1.2" - graceful-fs "^4.1.15" - jest-config "^24.9.0" - jest-docblock "^24.3.0" - jest-haste-map "^24.9.0" - jest-jasmine2 "^24.9.0" - jest-leak-detector "^24.9.0" - jest-message-util "^24.9.0" - jest-resolve "^24.9.0" - jest-runtime "^24.9.0" - jest-util "^24.9.0" - jest-worker "^24.6.0" - source-map-support "^0.5.6" - throat "^4.0.0" - jest-runner@^29.6.1: version "29.6.1" resolved "https://registry.npmmirror.com/jest-runner/-/jest-runner-29.6.1.tgz#54557087e7972d345540d622ab5bfc3d8f34688c" @@ -16836,34 +15630,6 @@ jest-runner@^29.6.2: p-limit "^3.1.0" source-map-support "0.5.13" -jest-runtime@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-runtime/-/jest-runtime-24.9.0.tgz#9f14583af6a4f7314a6a9d9f0226e1a781c8e4ac" - dependencies: - "@jest/console" "^24.7.1" - "@jest/environment" "^24.9.0" - "@jest/source-map" "^24.3.0" - "@jest/transform" "^24.9.0" - "@jest/types" "^24.9.0" - "@types/yargs" "^13.0.0" - chalk "^2.0.1" - exit "^0.1.2" - glob "^7.1.3" - graceful-fs "^4.1.15" - jest-config "^24.9.0" - jest-haste-map "^24.9.0" - jest-message-util "^24.9.0" - jest-mock "^24.9.0" - jest-regex-util "^24.3.0" - jest-resolve "^24.9.0" - jest-snapshot "^24.9.0" - jest-util "^24.9.0" - jest-validate "^24.9.0" - realpath-native "^1.1.0" - slash "^2.0.0" - strip-bom "^3.0.0" - yargs "^13.3.0" - jest-runtime@^29.6.1: version "29.6.1" resolved "https://registry.npmmirror.com/jest-runtime/-/jest-runtime-29.6.1.tgz#8a0fc9274ef277f3d70ba19d238e64334958a0dc" @@ -16918,28 +15684,6 @@ jest-runtime@^29.6.2: slash "^3.0.0" strip-bom "^4.0.0" -jest-serializer@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-serializer/-/jest-serializer-24.9.0.tgz#e6d7d7ef96d31e8b9079a714754c5d5c58288e73" - -jest-snapshot@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-snapshot/-/jest-snapshot-24.9.0.tgz#ec8e9ca4f2ec0c5c87ae8f925cf97497b0e951ba" - dependencies: - "@babel/types" "^7.0.0" - "@jest/types" "^24.9.0" - chalk "^2.0.1" - expect "^24.9.0" - jest-diff "^24.9.0" - jest-get-type "^24.9.0" - jest-matcher-utils "^24.9.0" - jest-message-util "^24.9.0" - jest-resolve "^24.9.0" - mkdirp "^0.5.1" - natural-compare "^1.4.0" - pretty-format "^24.9.0" - semver "^6.2.0" - jest-snapshot@^29.6.1: version "29.6.1" resolved "https://registry.npmmirror.com/jest-snapshot/-/jest-snapshot-29.6.1.tgz#0d083cb7de716d5d5cdbe80d598ed2fbafac0239" @@ -16991,23 +15735,6 @@ jest-snapshot@^29.6.2: pretty-format "^29.6.2" semver "^7.5.3" -jest-util@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-util/-/jest-util-24.9.0.tgz#7396814e48536d2e85a37de3e4c431d7cb140162" - dependencies: - "@jest/console" "^24.9.0" - "@jest/fake-timers" "^24.9.0" - "@jest/source-map" "^24.9.0" - "@jest/test-result" "^24.9.0" - "@jest/types" "^24.9.0" - callsites "^3.0.0" - chalk "^2.0.1" - graceful-fs "^4.1.15" - is-ci "^2.0.0" - mkdirp "^0.5.1" - slash "^2.0.0" - source-map "^0.6.0" - jest-util@^29.0.0, jest-util@^29.6.1: version "29.6.1" resolved "https://registry.npmmirror.com/jest-util/-/jest-util-29.6.1.tgz#c9e29a87a6edbf1e39e6dee2b4689b8a146679cb" @@ -17041,17 +15768,6 @@ jest-util@^29.6.2: graceful-fs "^4.2.9" picomatch "^2.2.3" -jest-validate@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-validate/-/jest-validate-24.9.0.tgz#0775c55360d173cd854e40180756d4ff52def8ab" - dependencies: - "@jest/types" "^24.9.0" - camelcase "^5.3.1" - chalk "^2.0.1" - jest-get-type "^24.9.0" - leven "^3.1.0" - pretty-format "^24.9.0" - jest-validate@^29.6.1: version "29.6.1" resolved "https://registry.npmmirror.com/jest-validate/-/jest-validate-29.6.1.tgz#765e684af6e2c86dce950aebefbbcd4546d69f7b" @@ -17074,18 +15790,6 @@ jest-validate@^29.6.2: leven "^3.1.0" pretty-format "^29.6.2" -jest-watcher@^24.9.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest-watcher/-/jest-watcher-24.9.0.tgz#4b56e5d1ceff005f5b88e528dc9afc8dd4ed2b3b" - dependencies: - "@jest/test-result" "^24.9.0" - "@jest/types" "^24.9.0" - "@types/yargs" "^13.0.0" - ansi-escapes "^3.0.0" - chalk "^2.0.1" - jest-util "^24.9.0" - string-length "^2.0.0" - jest-watcher@^29.6.1: version "29.6.1" resolved "https://registry.npmmirror.com/jest-watcher/-/jest-watcher-29.6.1.tgz#7c0c43ddd52418af134c551c92c9ea31e5ec942e" @@ -17112,7 +15816,7 @@ jest-watcher@^29.6.2: jest-util "^29.6.2" string-length "^4.0.1" -jest-worker@24.9.0, jest-worker@^24.6.0, jest-worker@^24.9.0: +jest-worker@24.9.0: version "24.9.0" resolved "https://registry.npmmirror.com/jest-worker/-/jest-worker-24.9.0.tgz#5dbfdb5b2d322e98567898238a9697bcce67b3e5" dependencies: @@ -17128,14 +15832,6 @@ jest-worker@29.4.3: merge-stream "^2.0.0" supports-color "^8.0.0" -jest-worker@^26.2.1: - version "26.6.2" - resolved "https://registry.npmmirror.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed" - dependencies: - "@types/node" "*" - merge-stream "^2.0.0" - supports-color "^7.0.0" - jest-worker@^29.5.0: version "29.5.0" resolved "https://registry.npmmirror.com/jest-worker/-/jest-worker-29.5.0.tgz#bdaefb06811bd3384d93f009755014d8acb4615d" @@ -17163,13 +15859,6 @@ jest-worker@^29.6.2: merge-stream "^2.0.0" supports-color "^8.0.0" -jest@^24.8.0: - version "24.9.0" - resolved "https://registry.npmmirror.com/jest/-/jest-24.9.0.tgz#987d290c05a08b52c56188c1002e368edb007171" - dependencies: - import-local "^2.0.0" - jest-cli "^24.9.0" - jest@^29.0.0: version "29.6.1" resolved "https://registry.npmmirror.com/jest/-/jest-29.6.1.tgz#74be1cb719c3abe439f2d94aeb18e6540a5b02ad" @@ -17213,10 +15902,6 @@ js-git@^0.7.8: git-sha1 "^0.1.2" pako "^0.2.5" -js-levenshtein@^1.1.3: - version "1.1.6" - resolved "https://registry.npmmirror.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d" - "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -17245,37 +15930,6 @@ jsdom-worker@^0.3.0: mitt "^3.0.0" uuid-v4 "^0.1.0" -jsdom@^11.5.1: - version "11.12.0" - resolved "https://registry.npmmirror.com/jsdom/-/jsdom-11.12.0.tgz#1a80d40ddd378a1de59656e9e6dc5a3ba8657bc8" - dependencies: - abab "^2.0.0" - acorn "^5.5.3" - acorn-globals "^4.1.0" - array-equal "^1.0.0" - cssom ">= 0.3.2 < 0.4.0" - cssstyle "^1.0.0" - data-urls "^1.0.0" - domexception "^1.0.1" - escodegen "^1.9.1" - html-encoding-sniffer "^1.0.2" - left-pad "^1.3.0" - nwsapi "^2.0.7" - parse5 "4.0.0" - pn "^1.1.0" - request "^2.87.0" - request-promise-native "^1.0.5" - sax "^1.2.4" - symbol-tree "^3.2.2" - tough-cookie "^2.3.4" - w3c-hr-time "^1.0.1" - webidl-conversions "^4.0.2" - whatwg-encoding "^1.0.3" - whatwg-mimetype "^2.1.0" - whatwg-url "^6.4.1" - ws "^5.2.0" - xml-name-validator "^3.0.0" - jsdom@^16.0.0: version "16.7.0" resolved "https://registry.npmmirror.com/jsdom/-/jsdom-16.7.0.tgz#918ae71965424b197c819f8183a754e18977b710" @@ -17370,17 +16024,13 @@ json2mq@^0.2.0: dependencies: string-convert "^0.2.0" -json5@^0.5.1: - version "0.5.1" - resolved "https://registry.npmmirror.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" - json5@^1.0.1, json5@^1.0.2: version "1.0.2" resolved "https://registry.npmmirror.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" dependencies: minimist "^1.2.0" -json5@^2.1.0, json5@^2.1.2, json5@^2.2.2, json5@^2.2.3: +json5@^2.1.2, json5@^2.2.2, json5@^2.2.3: version "2.2.3" resolved "https://registry.npmmirror.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" @@ -17457,6 +16107,11 @@ jstoxml@^2.0.0: object.assign "^4.1.4" object.values "^1.1.6" +just-debounce@^1.0.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/just-debounce/-/just-debounce-1.1.0.tgz#2f81a3ad4121a76bc7cb45dbf704c0d76a8e5ddf" + integrity sha512-qpcRocdkUmf+UTNBYx5w6dexX5J31AKK1OmPwH630a83DdVVUIngk55RSAiIGpQyoH0dlr872VHfPjnQnK1qDQ== + jwa@^1.4.1: version "1.4.1" resolved "https://registry.npmmirror.com/jwa/-/jwa-1.4.1.tgz#743c32985cb9e98655530d53641b66c8645b039a" @@ -17488,10 +16143,6 @@ khroma@^2.0.0: version "2.0.0" resolved "https://registry.npmmirror.com/khroma/-/khroma-2.0.0.tgz#7577de98aed9f36c7a474c4d453d94c0d6c6588b" -kind-of@^1.1.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/kind-of/-/kind-of-1.1.0.tgz#140a3d2d41a36d2efcfa9377b62c24f8495a5c44" - kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" resolved "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" @@ -17504,7 +16155,7 @@ kind-of@^4.0.0: dependencies: is-buffer "^1.1.5" -kind-of@^5.0.0: +kind-of@^5.0.0, kind-of@^5.0.2: version "5.1.0" resolved "https://registry.npmmirror.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" @@ -17610,6 +16261,14 @@ kuler@^2.0.0: version "2.0.0" resolved "https://registry.npmmirror.com/kuler/-/kuler-2.0.0.tgz#e2c570a3800388fb44407e851531c1d670b061b3" +last-run@^1.1.0: + version "1.1.1" + resolved "https://registry.npmmirror.com/last-run/-/last-run-1.1.1.tgz#45b96942c17b1c79c772198259ba943bebf8ca5b" + integrity sha512-U/VxvpX4N/rFvPzr3qG5EtLKEnNI0emvIQB3/ecEwv+8GHaUKbIB8vxv1Oai5FAF0d0r7LXHhLLe5K/yChm5GQ== + dependencies: + default-resolution "^2.0.0" + es6-weak-map "^2.0.1" + latest-version@^3.0.0: version "3.1.0" resolved "https://registry.npmmirror.com/latest-version/-/latest-version-3.1.0.tgz#a205383fea322b33b5ae3b18abee0dc2f356ee15" @@ -17644,16 +16303,19 @@ lazystream@^1.0.0: dependencies: readable-stream "^2.0.5" +lcid@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" + integrity sha512-YiGkH6EnGrDGqLMITnGjXtGmNtjoXw9SVUzcaos8RBi7Ps0VBylkq+vOcY9QE5poLasPCR849ucFUkl0UzUyOw== + dependencies: + invert-kv "^1.0.0" + lead@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/lead/-/lead-1.0.0.tgz#6f14f99a37be3a9dd784f5495690e5903466ee42" dependencies: flush-write-stream "^1.0.2" -left-pad@^1.3.0: - version "1.3.0" - resolved "https://registry.npmmirror.com/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e" - lerna@^4.0.0: version "4.0.0" resolved "https://registry.npmmirror.com/lerna/-/lerna-4.0.0.tgz#b139d685d50ea0ca1be87713a7c2f44a5b678e9e" @@ -17677,14 +16339,7 @@ lerna@^4.0.0: import-local "^3.0.2" npmlog "^4.1.2" -less-plugin-npm-import@2.1.0: - version "2.1.0" - resolved "https://registry.npmmirror.com/less-plugin-npm-import/-/less-plugin-npm-import-2.1.0.tgz#823e6986c93318a98171ca858848b6bead55bf3e" - dependencies: - promise "~7.0.1" - resolve "~1.1.6" - -less@4.1.3, "less@^3.7.1 || ^4.0.0": +less@4.1.3: version "4.1.3" resolved "https://registry.npmmirror.com/less/-/less-4.1.3.tgz#175be9ddcbf9b250173e0a00b4d6920a5b770246" dependencies: @@ -17737,6 +16392,20 @@ libnpmpublish@^4.0.0: semver "^7.1.3" ssri "^8.0.1" +liftoff@^3.1.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/liftoff/-/liftoff-3.1.0.tgz#c9ba6081f908670607ee79062d700df062c52ed3" + integrity sha512-DlIPlJUkCV0Ips2zf2pJP0unEoT1kwYhiiPUGF3s/jtxTCjziNLoiVVh+jqWOWeFi6mmwQ5fNxvAUyPad4Dfog== + dependencies: + extend "^3.0.0" + findup-sync "^3.0.0" + fined "^1.0.1" + flagged-respawn "^1.0.0" + is-plain-object "^2.0.4" + object.map "^1.0.0" + rechoir "^0.6.2" + resolve "^1.1.7" + lightningcss-darwin-arm64@1.19.0: version "1.19.0" resolved "https://registry.npmmirror.com/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.19.0.tgz#56ab071e932f845dbb7667f44f5b78441175a343" @@ -17784,7 +16453,7 @@ lightningcss@1.19.0: lightningcss-linux-x64-musl "1.19.0" lightningcss-win32-x64-msvc "1.19.0" -lilconfig@2.1.0, lilconfig@^2.0.3, lilconfig@^2.0.5: +lilconfig@2.1.0, lilconfig@^2.0.5: version "2.1.0" resolved "https://registry.npmmirror.com/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52" @@ -17829,6 +16498,17 @@ listr2@^5.0.7: through "^2.3.8" wrap-ansi "^7.0.0" +load-json-file@^1.0.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" + integrity sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A== + dependencies: + graceful-fs "^4.1.2" + parse-json "^2.2.0" + pify "^2.0.0" + pinkie-promise "^2.0.0" + strip-bom "^2.0.0" + load-json-file@^4.0.0: version "4.0.0" resolved "https://registry.npmmirror.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" @@ -17851,7 +16531,7 @@ load-tsconfig@^0.2.3: version "0.2.5" resolved "https://registry.yarnpkg.com/load-tsconfig/-/load-tsconfig-0.2.5.tgz#453b8cd8961bfb912dea77eb6c168fe8cca3d3a1" -loader-utils@^1.0.2, loader-utils@^1.1.0: +loader-utils@^1.0.2: version "1.4.2" resolved "https://registry.npmmirror.com/loader-utils/-/loader-utils-1.4.2.tgz#29a957f3a63973883eb684f10ffd3d151fec01a3" dependencies: @@ -17867,10 +16547,6 @@ loader-utils@^2.0.0, loader-utils@^2.0.4: emojis-list "^3.0.0" json5 "^2.1.2" -loader-utils@^3.2.0: - version "3.2.1" - resolved "https://registry.npmmirror.com/loader-utils/-/loader-utils-3.2.1.tgz#4fb104b599daafd82ef3e1a41fb9265f87e1f576" - local-pkg@^0.4.2, local-pkg@^0.4.3: version "0.4.3" resolved "https://registry.npmmirror.com/local-pkg/-/local-pkg-0.4.3.tgz#0ff361ab3ae7f1c19113d9bb97b98b905dbc4963" @@ -17949,18 +16625,10 @@ lodash.difference@^4.5.0: version "4.5.0" resolved "https://registry.npmmirror.com/lodash.difference/-/lodash.difference-4.5.0.tgz#9ccb4e505d486b91651345772885a2df27fd017c" -lodash.escape@^4.0.1: - version "4.0.1" - resolved "https://registry.npmmirror.com/lodash.escape/-/lodash.escape-4.0.1.tgz#c9044690c21e04294beaa517712fded1fa88de98" - lodash.flatten@^4.4.0: version "4.4.0" resolved "https://registry.npmmirror.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f" -lodash.flattendeep@^4.4.0: - version "4.4.0" - resolved "https://registry.npmmirror.com/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz#fb030917f86a3134e5bc9bec0d69e0013ddfedb2" - lodash.flow@^3.5.0: version "3.5.0" resolved "https://registry.npmmirror.com/lodash.flow/-/lodash.flow-3.5.0.tgz#87bf40292b8cf83e4e8ce1a3ae4209e20071675a" @@ -17973,10 +16641,6 @@ lodash.isboolean@^3.0.3: version "3.0.3" resolved "https://registry.npmmirror.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz#6c2e171db2a257cd96802fd43b01b20d5f5870f6" -lodash.isequal@^4.5.0: - version "4.5.0" - resolved "https://registry.npmmirror.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" - lodash.isinteger@^4.0.4: version "4.0.4" resolved "https://registry.npmmirror.com/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz#619c0af3d03f8b04c31f5882840b77b11cd68343" @@ -17997,7 +16661,7 @@ lodash.isstring@^4.0.1: version "4.0.1" resolved "https://registry.npmmirror.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" -lodash.memoize@4.x, lodash.memoize@^4.1.2: +lodash.memoize@4.x: version "4.1.2" resolved "https://registry.npmmirror.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" @@ -18034,10 +16698,6 @@ lodash.union@^4.6.0: version "4.6.0" resolved "https://registry.npmmirror.com/lodash.union/-/lodash.union-4.6.0.tgz#48bb5088409f16f1821666641c44dd1aaae3cd88" -lodash.uniq@^4.5.0: - version "4.5.0" - resolved "https://registry.npmmirror.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" - lodash@4.17.21, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.7.0: version "4.17.21" resolved "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" @@ -18170,17 +16830,12 @@ lz-string@^1.4.4, lz-string@^1.5.0: version "1.5.0" resolved "https://registry.npmmirror.com/lz-string/-/lz-string-1.5.0.tgz#c1ab50f77887b712621201ba9fd4e3a6ed099941" -magic-string@^0.25.2: - version "0.25.9" - resolved "https://registry.npmmirror.com/magic-string/-/magic-string-0.25.9.tgz#de7f9faf91ef8a1c91d02c2e5314c8277dbcdd1c" - dependencies: - sourcemap-codec "^1.4.8" - -magic-string@^0.27.0: - version "0.27.0" - resolved "https://registry.npmmirror.com/magic-string/-/magic-string-0.27.0.tgz#e4a3413b4bab6d98d2becffd48b4a257effdbbf3" +magic-string@^0.30.0: + version "0.30.3" + resolved "https://registry.npmmirror.com/magic-string/-/magic-string-0.30.3.tgz#403755dfd9d6b398dfa40635d52e96c5ac095b85" + integrity sha512-B7xGbll2fG/VjP+SWg4sX3JynwIU0mjoTc6MPpKNuIvftk6u6vqhDnk1R80b8C2GBR6ywqy+1DcKBrevBg+bmw== dependencies: - "@jridgewell/sourcemap-codec" "^1.4.13" + "@jridgewell/sourcemap-codec" "^1.4.15" magic-string@^0.30.1: version "0.30.1" @@ -18194,14 +16849,14 @@ make-dir@^1.0.0: dependencies: pify "^3.0.0" -make-dir@^2.0.0, make-dir@^2.1.0: +make-dir@^2.1.0: version "2.1.0" resolved "https://registry.npmmirror.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" dependencies: pify "^4.0.1" semver "^5.6.0" -make-dir@^3.0.0, make-dir@^3.0.2, make-dir@^3.1.0: +make-dir@^3.0.0, make-dir@^3.1.0: version "3.1.0" resolved "https://registry.npmmirror.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" dependencies: @@ -18268,6 +16923,13 @@ make-fetch-happen@^9.0.1, make-fetch-happen@^9.1.0: socks-proxy-agent "^6.0.0" ssri "^8.0.0" +make-iterator@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/make-iterator/-/make-iterator-1.0.1.tgz#29b33f312aa8f547c4a5e490f56afcec99133ad6" + integrity sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw== + dependencies: + kind-of "^6.0.2" + makeerror@1.0.12: version "1.0.12" resolved "https://registry.npmmirror.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" @@ -18278,7 +16940,7 @@ manage-path@2.0.0: version "2.0.0" resolved "https://registry.npmmirror.com/manage-path/-/manage-path-2.0.0.tgz#f4cf8457b926eeee2a83b173501414bc76eb9597" -map-cache@^0.2.2: +map-cache@^0.2.0, map-cache@^0.2.2: version "0.2.2" resolved "https://registry.npmmirror.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" @@ -18317,6 +16979,16 @@ markdown-table@^3.0.0: version "3.0.3" resolved "https://registry.npmmirror.com/markdown-table/-/markdown-table-3.0.3.tgz#e6331d30e493127e031dd385488b5bd326e4a6bd" +matchdep@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/matchdep/-/matchdep-2.0.0.tgz#c6f34834a0d8dbc3b37c27ee8bbcb27c7775582e" + integrity sha512-LFgVbaHIHMqCRuCZyfCtUOq9/Lnzhi7Z0KFUE2fhD54+JN2jLh3hC02RLkqauJ3U4soU6H1J3tfj/Byk7GoEjA== + dependencies: + findup-sync "^2.0.0" + micromatch "^3.0.4" + resolve "^1.4.0" + stack-trace "0.0.10" + mathjs@^10.6.0, mathjs@^10.6.1: version "10.6.4" resolved "https://registry.npmmirror.com/mathjs/-/mathjs-10.6.4.tgz#1b87a1268781d64f0c8b4e5e1b36cf7ecf58bb05" @@ -18575,12 +17247,6 @@ merge-descriptors@^1.0.1: version "1.0.1" resolved "https://registry.npmmirror.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" -merge-stream@^1.0.0: - version "1.0.1" - resolved "https://registry.npmmirror.com/merge-stream/-/merge-stream-1.0.1.tgz#4041202d508a342ba00174008df0c251b8c135e1" - dependencies: - readable-stream "^2.0.1" - merge-stream@^2.0.0: version "2.0.0" resolved "https://registry.npmmirror.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" @@ -18887,7 +17553,7 @@ micromark@~2.11.0: debug "^4.0.0" parse-entities "^2.0.0" -micromatch@^3.1.10, micromatch@^3.1.4: +micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4: version "3.1.10" resolved "https://registry.npmmirror.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" dependencies: @@ -18953,10 +17619,6 @@ mime@^1.4.1: version "1.6.0" resolved "https://registry.npmmirror.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" -mime@^3.0.0: - version "3.0.0" - resolved "https://registry.npmmirror.com/mime/-/mime-3.0.0.tgz#b374550dca3a0c18443b0c950a6a58f1931cf7a7" - mimer@1.1.0: version "1.1.0" resolved "https://registry.npmmirror.com/mimer/-/mimer-1.1.0.tgz#2cb67f7093998e772a0e62c090f77daa1b8a2dbe" @@ -18999,7 +17661,7 @@ minimatch@3.0.4: dependencies: brace-expansion "^1.1.7" -minimatch@3.1.2, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: +minimatch@3.1.2, minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" dependencies: @@ -19019,7 +17681,7 @@ minimist-options@4.1.0: is-plain-obj "^1.1.0" kind-of "^6.0.3" -minimist@^1.1.0, minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6, minimist@~1.2.5, minimist@~1.2.7: +minimist@^1.1.0, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6, minimist@~1.2.5, minimist@~1.2.7: version "1.2.8" resolved "https://registry.npmmirror.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" @@ -19288,6 +17950,11 @@ multipipe@^1.0.2: duplexer2 "^0.1.2" object-assign "^4.1.0" +mute-stdout@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/mute-stdout/-/mute-stdout-1.0.1.tgz#acb0300eb4de23a7ddeec014e3e96044b3472331" + integrity sha512-kDcwXR4PS7caBpuRYYBUz9iVixUk3anO3f5OYFiIPwK/20vCzKCHyKoulbiDY1S53zD2bxUpxN/IJ+TnXjfvxg== + mute-stream@0.0.7: version "0.0.7" resolved "https://registry.npmmirror.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" @@ -19373,7 +18040,7 @@ natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.npmmirror.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" -nearley@^2.20.1, nearley@^2.7.10: +nearley@^2.20.1: version "2.20.1" resolved "https://registry.npmmirror.com/nearley/-/nearley-2.20.1.tgz#246cd33eff0d012faf197ff6774d7ac78acdd474" dependencies: @@ -19433,6 +18100,11 @@ newrelic@^10.6.2: "@contrast/fn-inspect" "^3.3.0" "@newrelic/native-metrics" "^9.0.1" +next-tick@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" + integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== + nice-try@^1.0.4: version "1.0.5" resolved "https://registry.npmmirror.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" @@ -19464,10 +18136,6 @@ node-fetch-npm@^2.0.2: json-parse-better-errors "^1.0.0" safe-buffer "^5.1.1" -node-fetch@2.6.0: - version "2.6.0" - resolved "https://registry.npmmirror.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd" - node-fetch@^2.2.0, node-fetch@^2.6.1, node-fetch@^2.6.11, node-fetch@^2.6.7: version "2.6.12" resolved "https://registry.npmmirror.com/node-fetch/-/node-fetch-2.6.12.tgz#02eb8e22074018e3d5a83016649d04df0e348fba" @@ -19564,20 +18232,15 @@ node-libs-browser@2.2.1: util "^0.11.0" vm-browserify "^1.0.1" -node-notifier@^5.4.2: - version "5.4.5" - resolved "https://registry.npmmirror.com/node-notifier/-/node-notifier-5.4.5.tgz#0cbc1a2b0f658493b4025775a13ad938e96091ef" - dependencies: - growly "^1.3.0" - is-wsl "^1.1.0" - semver "^5.5.0" - shellwords "^0.1.1" - which "^1.3.0" - node-releases@^2.0.12: version "2.0.12" resolved "https://registry.npmmirror.com/node-releases/-/node-releases-2.0.12.tgz#35627cc224a23bfb06fb3380f2b3afaaa7eb1039" +node-releases@^2.0.13: + version "2.0.13" + resolved "https://registry.npmmirror.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d" + integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ== + node-xlsx@^0.16.1: version "0.16.2" resolved "https://registry.npmmirror.com/node-xlsx/-/node-xlsx-0.16.2.tgz#40f580187eae0e032cac96e958e97cb6ceca09f6" @@ -19650,15 +18313,11 @@ normalize-range@^0.1.2: version "0.1.2" resolved "https://registry.npmmirror.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" -normalize-url@^3.0.0: - version "3.3.0" - resolved "https://registry.npmmirror.com/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559" - normalize-url@^4.1.0: version "4.5.1" resolved "https://registry.npmmirror.com/normalize-url/-/normalize-url-4.5.1.tgz#0dd90cf1288ee1d1313b87081c9a5932ee48518a" -normalize-url@^6.0.1, normalize-url@^6.1.0: +normalize-url@^6.1.0: version "6.1.0" resolved "https://registry.npmmirror.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" @@ -19831,15 +18490,11 @@ nth-check@^2.0.1: dependencies: boolbase "^1.0.0" -num2fraction@^1.2.2: - version "1.2.2" - resolved "https://registry.npmmirror.com/num2fraction/-/num2fraction-1.2.2.tgz#6f682b6a027a4e9ddfa4564cd2589d1d4e669ede" - number-is-nan@^1.0.0: version "1.0.1" resolved "https://registry.npmmirror.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" -nwsapi@^2.0.7, nwsapi@^2.2.0: +nwsapi@^2.2.0: version "2.2.6" resolved "https://registry.npmmirror.com/nwsapi/-/nwsapi-2.2.6.tgz#f876bd7ae9509cac72c640826355abf63d3c326a" @@ -19863,11 +18518,11 @@ object-hash@^2.0.1, object-hash@^2.2.0: version "2.2.0" resolved "https://registry.npmmirror.com/object-hash/-/object-hash-2.2.0.tgz#5ad518581eefc443bd763472b8ff2e9c2c0d54a5" -object-inspect@^1.12.0, object-inspect@^1.12.3, object-inspect@^1.7.0, object-inspect@^1.9.0, object-inspect@~1.12.3: +object-inspect@^1.12.0, object-inspect@^1.12.3, object-inspect@^1.9.0, object-inspect@~1.12.3: version "1.12.3" resolved "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" -object-is@^1.0.1, object-is@^1.0.2, object-is@^1.1.2, object-is@^1.1.5: +object-is@^1.0.1, object-is@^1.1.5: version "1.1.5" resolved "https://registry.npmmirror.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" dependencies: @@ -19901,7 +18556,17 @@ object.assign@^4.0.4, object.assign@^4.1.0, object.assign@^4.1.4: has-symbols "^1.0.3" object-keys "^1.1.1" -object.entries@^1.1.1, object.entries@^1.1.2, object.entries@^1.1.5, object.entries@^1.1.6: +object.defaults@^1.0.0, object.defaults@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/object.defaults/-/object.defaults-1.1.0.tgz#3a7f868334b407dea06da16d88d5cd29e435fecf" + integrity sha512-c/K0mw/F11k4dEUBMW8naXUuBuhxRCfG7W+yFy8EcijU/rSmazOUd1XAEEe6bC0OuXY4HUKjTJv7xbxIMqdxrA== + dependencies: + array-each "^1.0.1" + array-slice "^1.0.0" + for-own "^1.0.0" + isobject "^3.0.0" + +object.entries@^1.1.5, object.entries@^1.1.6: version "1.1.6" resolved "https://registry.npmmirror.com/object.entries/-/object.entries-1.1.6.tgz#9737d0e5b8291edd340a3e3264bb8a3b00d5fa23" dependencies: @@ -19909,7 +18574,7 @@ object.entries@^1.1.1, object.entries@^1.1.2, object.entries@^1.1.5, object.entr define-properties "^1.1.4" es-abstract "^1.20.4" -object.fromentries@^2.0.5, object.fromentries@^2.0.6: +object.fromentries@^2.0.6: version "2.0.6" resolved "https://registry.npmmirror.com/object.fromentries/-/object.fromentries-2.0.6.tgz#cdb04da08c539cffa912dcd368b886e0904bfa73" dependencies: @@ -19917,7 +18582,7 @@ object.fromentries@^2.0.5, object.fromentries@^2.0.6: define-properties "^1.1.4" es-abstract "^1.20.4" -object.getownpropertydescriptors@^2.0.3, object.getownpropertydescriptors@^2.1.0, object.getownpropertydescriptors@^2.1.6: +object.getownpropertydescriptors@^2.0.3, object.getownpropertydescriptors@^2.1.0: version "2.1.6" resolved "https://registry.npmmirror.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.6.tgz#5e5c384dd209fa4efffead39e3a0512770ccc312" dependencies: @@ -19943,13 +18608,29 @@ object.hasown@^1.1.2: define-properties "^1.1.4" es-abstract "^1.20.4" -object.pick@^1.3.0: +object.map@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/object.map/-/object.map-1.0.1.tgz#cf83e59dc8fcc0ad5f4250e1f78b3b81bd801d37" + integrity sha512-3+mAJu2PLfnSVGHwIWubpOFLscJANBKuB/6A4CxBstc4aqwQY0FWcsppuy4jU5GSB95yES5JHSI+33AWuS4k6w== + dependencies: + for-own "^1.0.0" + make-iterator "^1.0.0" + +object.pick@^1.2.0, object.pick@^1.3.0: version "1.3.0" resolved "https://registry.npmmirror.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" dependencies: isobject "^3.0.1" -object.values@^1.1.0, object.values@^1.1.1, object.values@^1.1.5, object.values@^1.1.6: +object.reduce@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/object.reduce/-/object.reduce-1.0.1.tgz#6fe348f2ac7fa0f95ca621226599096825bb03ad" + integrity sha512-naLhxxpUESbNkRqc35oQ2scZSJueHGQNUfMW/0U37IgN6tE2dgDWg3whf+NEliy3F/QysrO48XKUz/nGPe+AQw== + dependencies: + for-own "^1.0.0" + make-iterator "^1.0.0" + +object.values@^1.1.6: version "1.1.6" resolved "https://registry.npmmirror.com/object.values/-/object.values-1.1.6.tgz#4abbaa71eba47d63589d402856f908243eea9b1d" dependencies: @@ -20124,6 +18805,13 @@ os-homedir@^1.0.0, os-homedir@^1.0.1: version "1.0.2" resolved "https://registry.npmmirror.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" +os-locale@^1.4.0: + version "1.4.0" + resolved "https://registry.npmmirror.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" + integrity sha512-PRT7ZORmwu2MEFt4/fv3Q+mEfN4zetKxufQrkShY2oGvUms9r8otu5HfdyIFHkYXjO7laNsoVGmM2MANfuTA8g== + dependencies: + lcid "^1.0.0" + os-name@~1.0.3: version "1.0.3" resolved "https://registry.npmmirror.com/os-name/-/os-name-1.0.3.tgz#1b379f64835af7c5a7f498b357cb95215c159edf" @@ -20152,12 +18840,6 @@ p-cancelable@^1.0.0: version "1.1.0" resolved "https://registry.npmmirror.com/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" -p-each-series@^1.0.0: - version "1.0.0" - resolved "https://registry.npmmirror.com/p-each-series/-/p-each-series-1.0.0.tgz#930f3d12dd1f50e7434457a22cd6f04ac6ad7f71" - dependencies: - p-reduce "^1.0.0" - p-finally@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" @@ -20224,10 +18906,6 @@ p-pipe@^3.1.0: version "3.1.0" resolved "https://registry.npmmirror.com/p-pipe/-/p-pipe-3.1.0.tgz#48b57c922aa2e1af6a6404cb7c6bf0eb9cc8e60e" -p-queue@^2.4.2: - version "2.4.2" - resolved "https://registry.npmmirror.com/p-queue/-/p-queue-2.4.2.tgz#03609826682b743be9a22dba25051bd46724fc34" - p-queue@^6.6.2: version "6.6.2" resolved "https://registry.npmmirror.com/p-queue/-/p-queue-6.6.2.tgz#2068a9dcf8e67dd0ec3e7a2bcb76810faa85e426" @@ -20235,10 +18913,6 @@ p-queue@^6.6.2: eventemitter3 "^4.0.4" p-timeout "^3.2.0" -p-reduce@^1.0.0: - version "1.0.0" - resolved "https://registry.npmmirror.com/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa" - p-reduce@^2.0.0, p-reduce@^2.1.0: version "2.1.0" resolved "https://registry.npmmirror.com/p-reduce/-/p-reduce-2.1.0.tgz#09408da49507c6c274faa31f28df334bc712b64a" @@ -20428,6 +19102,15 @@ parse-entities@^4.0.0: is-decimal "^2.0.0" is-hexadecimal "^2.0.0" +parse-filepath@^1.0.1: + version "1.0.2" + resolved "https://registry.npmmirror.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891" + integrity sha512-FwdRXKCohSVeXqwtYonZTXtbGJKrn+HNyWDYVcp5yuJlesTwNH4rsmRZ+GrKAPJ5bLpRxESMeS+Rl0VCHRvB2Q== + dependencies: + is-absolute "^1.0.0" + map-cache "^0.2.0" + path-root "^0.1.1" + parse-git-config@^0.2.0: version "0.2.0" resolved "https://registry.npmmirror.com/parse-git-config/-/parse-git-config-0.2.0.tgz#272833fdd15fea146fb75d336d236b963b6ff706" @@ -20447,6 +19130,13 @@ parse-github-url@^1.0.2: version "1.0.2" resolved "https://registry.npmmirror.com/parse-github-url/-/parse-github-url-1.0.2.tgz#242d3b65cbcdda14bb50439e3242acf6971db395" +parse-json@^2.2.0: + version "2.2.0" + resolved "https://registry.npmmirror.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" + integrity sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ== + dependencies: + error-ex "^1.2.0" + parse-json@^4.0.0: version "4.0.0" resolved "https://registry.npmmirror.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" @@ -20493,27 +19183,10 @@ parse-url@^6.0.0: parse-path "^4.0.0" protocols "^1.4.0" -parse5-htmlparser2-tree-adapter@^7.0.0: - version "7.0.0" - resolved "https://registry.npmmirror.com/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.0.0.tgz#23c2cc233bcf09bb7beba8b8a69d46b08c62c2f1" - dependencies: - domhandler "^5.0.2" - parse5 "^7.0.0" - -parse5@4.0.0: - version "4.0.0" - resolved "https://registry.npmmirror.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608" - parse5@6.0.1, parse5@^6.0.0: version "6.0.1" resolved "https://registry.npmmirror.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" -parse5@^7.0.0: - version "7.1.2" - resolved "https://registry.npmmirror.com/parse5/-/parse5-7.1.2.tgz#0736bebbfd77793823240a23b7fc5e010b7f8e32" - dependencies: - entities "^4.4.0" - parseley@^0.7.0: version "0.7.0" resolved "https://registry.npmmirror.com/parseley/-/parseley-0.7.0.tgz#9949e3a0ed05c5072adb04f013c2810cf49171a8" @@ -20548,6 +19221,13 @@ path-exists@3.0.0, path-exists@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" +path-exists@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" + integrity sha512-yTltuKuhtNeFJKa1PiRzfLAU5182q1y4Eb4XCJ3PBqyzEDkAZRzBrKKBct682ls9reBVHf9udYLN5Nd+K1B9BQ== + dependencies: + pinkie-promise "^2.0.0" + path-exists@^4.0.0: version "4.0.0" resolved "https://registry.npmmirror.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" @@ -20576,6 +19256,18 @@ path-parse@^1.0.7: version "1.0.7" resolved "https://registry.npmmirror.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" +path-root-regex@^0.1.0: + version "0.1.2" + resolved "https://registry.npmmirror.com/path-root-regex/-/path-root-regex-0.1.2.tgz#bfccdc8df5b12dc52c8b43ec38d18d72c04ba96d" + integrity sha512-4GlJ6rZDhQZFE0DPVKh0e9jmZ5egZfxTkp7bcRDuPlJXbAwhxcl2dINPUAsjLdejqaLsCeg8axcLjIbvBjN4pQ== + +path-root@^0.1.1: + version "0.1.1" + resolved "https://registry.npmmirror.com/path-root/-/path-root-0.1.1.tgz#9a4a6814cac1c0cd73360a95f32083c8ea4745b7" + integrity sha512-QLcPegTHF11axjfojBIoDygmS2E3Lf+8+jI6wOVmNVenrKSo3mFdSGiIgdSHenczw3wPtlVMQaFVwGmM7BJdtg== + dependencies: + path-root-regex "^0.1.0" + path-to-regexp@1.7.0: version "1.7.0" resolved "https://registry.npmmirror.com/path-to-regexp/-/path-to-regexp-1.7.0.tgz#59fde0f435badacba103a84e9d3bc64e96b9937d" @@ -20594,6 +19286,15 @@ path-to-regexp@^6.1.0: version "6.2.1" resolved "https://registry.npmmirror.com/path-to-regexp/-/path-to-regexp-6.2.1.tgz#d54934d6798eb9e5ef14e7af7962c945906918e5" +path-type@^1.0.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" + integrity sha512-S4eENJz1pkiQn9Znv33Q+deTOKmbl+jj1Fl+qiP/vYezj+S8x+J3Uo0ISrx/QoEvIlOaDWJhPaRd1flJ9HXZqg== + dependencies: + graceful-fs "^4.1.2" + pify "^2.0.0" + pinkie-promise "^2.0.0" + path-type@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" @@ -20696,15 +19397,11 @@ pgpass@1.x: dependencies: split2 "^4.1.0" -picocolors@^0.2.1: - version "0.2.1" - resolved "https://registry.npmmirror.com/picocolors/-/picocolors-0.2.1.tgz#570670f793646851d1ba135996962abad587859f" - picocolors@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.2, picomatch@^2.2.3, picomatch@^2.3.0, picomatch@^2.3.1: +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.0, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" @@ -20724,7 +19421,7 @@ pidusage@~3.0: dependencies: safe-buffer "^5.2.1" -pify@^2.3.0: +pify@^2.0.0, pify@^2.3.0: version "2.3.0" resolved "https://registry.npmmirror.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" @@ -20777,24 +19474,11 @@ pino@7.11.0: sonic-boom "^2.2.1" thread-stream "^0.15.1" -pirates@^4.0.1, pirates@^4.0.4, pirates@^4.0.5: +pirates@^4.0.1, pirates@^4.0.4: version "4.0.6" resolved "https://registry.npmmirror.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" -pkg-conf@^2.1.0: - version "2.1.0" - resolved "https://registry.npmmirror.com/pkg-conf/-/pkg-conf-2.1.0.tgz#2126514ca6f2abfebd168596df18ba57867f0058" - dependencies: - find-up "^2.0.0" - load-json-file "^4.0.0" - -pkg-dir@^3.0.0: - version "3.0.0" - resolved "https://registry.npmmirror.com/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3" - dependencies: - find-up "^3.0.0" - -pkg-dir@^4.1.0, pkg-dir@^4.2.0: +pkg-dir@^4.2.0: version "4.2.0" resolved "https://registry.npmmirror.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" dependencies: @@ -20814,27 +19498,11 @@ pkg-up@3.1.0, pkg-up@^3.1.0: dependencies: find-up "^3.0.0" -pkg-up@^2.0.0: - version "2.0.0" - resolved "https://registry.npmmirror.com/pkg-up/-/pkg-up-2.0.0.tgz#c819ac728059a461cab1c3889a2be3c49a004d7f" - dependencies: - find-up "^2.1.0" - platform@^1.3.1: version "1.3.6" resolved "https://registry.npmmirror.com/platform/-/platform-1.3.6.tgz#48b4ce983164b209c2d45a107adb31f473a6e7a7" -plugin-error@^0.1.2: - version "0.1.2" - resolved "https://registry.npmmirror.com/plugin-error/-/plugin-error-0.1.2.tgz#3b9bb3335ccf00f425e07437e19276967da47ace" - dependencies: - ansi-cyan "^0.1.1" - ansi-red "^0.1.1" - arr-diff "^1.0.1" - arr-union "^2.0.1" - extend-shallow "^1.1.2" - -plugin-error@^1.0.0, plugin-error@^1.0.1: +plugin-error@^1.0.1: version "1.0.1" resolved "https://registry.npmmirror.com/plugin-error/-/plugin-error-1.0.1.tgz#77016bd8919d0ac377fdcdd0322328953ca5781c" dependencies: @@ -20921,10 +19589,6 @@ pm2@^5.2.0: optionalDependencies: pm2-sysmonit "^1.2.8" -pn@^1.1.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb" - point-in-polygon@^1.1.0: version "1.1.0" resolved "https://registry.npmmirror.com/point-in-polygon/-/point-in-polygon-1.1.0.tgz#b0af2616c01bdee341cbf2894df643387ca03357" @@ -20951,21 +19615,6 @@ postcss-attribute-case-insensitive@^5.0.0: dependencies: postcss-selector-parser "^6.0.10" -postcss-calc@^7.0.1: - version "7.0.5" - resolved "https://registry.npmmirror.com/postcss-calc/-/postcss-calc-7.0.5.tgz#f8a6e99f12e619c2ebc23cf6c486fdc15860933e" - dependencies: - postcss "^7.0.27" - postcss-selector-parser "^6.0.2" - postcss-value-parser "^4.0.2" - -postcss-calc@^8.2.3: - version "8.2.4" - resolved "https://registry.npmmirror.com/postcss-calc/-/postcss-calc-8.2.4.tgz#77b9c29bfcbe8a07ff6693dc87050828889739a5" - dependencies: - postcss-selector-parser "^6.0.9" - postcss-value-parser "^4.2.0" - postcss-clamp@^4.1.0: version "4.1.0" resolved "https://registry.npmmirror.com/postcss-clamp/-/postcss-clamp-4.1.0.tgz#7263e95abadd8c2ba1bd911b0b5a5c9c93e02363" @@ -20990,39 +19639,6 @@ postcss-color-rebeccapurple@^7.0.2: dependencies: postcss-value-parser "^4.2.0" -postcss-colormin@^4.0.3: - version "4.0.3" - resolved "https://registry.npmmirror.com/postcss-colormin/-/postcss-colormin-4.0.3.tgz#ae060bce93ed794ac71264f08132d550956bd381" - dependencies: - browserslist "^4.0.0" - color "^3.0.0" - has "^1.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-colormin@^5.3.1: - version "5.3.1" - resolved "https://registry.npmmirror.com/postcss-colormin/-/postcss-colormin-5.3.1.tgz#86c27c26ed6ba00d96c79e08f3ffb418d1d1988f" - dependencies: - browserslist "^4.21.4" - caniuse-api "^3.0.0" - colord "^2.9.1" - postcss-value-parser "^4.2.0" - -postcss-convert-values@^4.0.1: - version "4.0.1" - resolved "https://registry.npmmirror.com/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz#ca3813ed4da0f812f9d43703584e449ebe189a7f" - dependencies: - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-convert-values@^5.1.3: - version "5.1.3" - resolved "https://registry.npmmirror.com/postcss-convert-values/-/postcss-convert-values-5.1.3.tgz#04998bb9ba6b65aa31035d669a6af342c5f9d393" - dependencies: - browserslist "^4.21.4" - postcss-value-parser "^4.2.0" - postcss-custom-media@^8.0.0: version "8.0.2" resolved "https://registry.npmmirror.com/postcss-custom-media/-/postcss-custom-media-8.0.2.tgz#c8f9637edf45fef761b014c024cee013f80529ea" @@ -21047,46 +19663,6 @@ postcss-dir-pseudo-class@^6.0.4: dependencies: postcss-selector-parser "^6.0.10" -postcss-discard-comments@^4.0.2: - version "4.0.2" - resolved "https://registry.npmmirror.com/postcss-discard-comments/-/postcss-discard-comments-4.0.2.tgz#1fbabd2c246bff6aaad7997b2b0918f4d7af4033" - dependencies: - postcss "^7.0.0" - -postcss-discard-comments@^5.1.2: - version "5.1.2" - resolved "https://registry.npmmirror.com/postcss-discard-comments/-/postcss-discard-comments-5.1.2.tgz#8df5e81d2925af2780075840c1526f0660e53696" - -postcss-discard-duplicates@^4.0.2: - version "4.0.2" - resolved "https://registry.npmmirror.com/postcss-discard-duplicates/-/postcss-discard-duplicates-4.0.2.tgz#3fe133cd3c82282e550fc9b239176a9207b784eb" - dependencies: - postcss "^7.0.0" - -postcss-discard-duplicates@^5.1.0: - version "5.1.0" - resolved "https://registry.npmmirror.com/postcss-discard-duplicates/-/postcss-discard-duplicates-5.1.0.tgz#9eb4fe8456706a4eebd6d3b7b777d07bad03e848" - -postcss-discard-empty@^4.0.1: - version "4.0.1" - resolved "https://registry.npmmirror.com/postcss-discard-empty/-/postcss-discard-empty-4.0.1.tgz#c8c951e9f73ed9428019458444a02ad90bb9f765" - dependencies: - postcss "^7.0.0" - -postcss-discard-empty@^5.1.1: - version "5.1.1" - resolved "https://registry.npmmirror.com/postcss-discard-empty/-/postcss-discard-empty-5.1.1.tgz#e57762343ff7f503fe53fca553d18d7f0c369c6c" - -postcss-discard-overridden@^4.0.1: - version "4.0.1" - resolved "https://registry.npmmirror.com/postcss-discard-overridden/-/postcss-discard-overridden-4.0.1.tgz#652aef8a96726f029f5e3e00146ee7a4e755ff57" - dependencies: - postcss "^7.0.0" - -postcss-discard-overridden@^5.1.0: - version "5.1.0" - resolved "https://registry.npmmirror.com/postcss-discard-overridden/-/postcss-discard-overridden-5.1.0.tgz#7e8c5b53325747e9d90131bb88635282fb4a276e" - postcss-double-position-gradients@^3.1.1: version "3.1.2" resolved "https://registry.npmmirror.com/postcss-double-position-gradients/-/postcss-double-position-gradients-3.1.2.tgz#b96318fdb477be95997e86edd29c6e3557a49b91" @@ -21141,20 +19717,6 @@ postcss-lab-function@^4.2.0: "@csstools/postcss-progressive-custom-properties" "^1.1.0" postcss-value-parser "^4.2.0" -postcss-load-config@^2.0.0: - version "2.1.2" - resolved "https://registry.npmmirror.com/postcss-load-config/-/postcss-load-config-2.1.2.tgz#c5ea504f2c4aef33c7359a34de3573772ad7502a" - dependencies: - cosmiconfig "^5.0.0" - import-cwd "^2.0.0" - -postcss-load-config@^3.0.0: - version "3.1.4" - resolved "https://registry.npmmirror.com/postcss-load-config/-/postcss-load-config-3.1.4.tgz#1ab2571faf84bb078877e1d07905eabe9ebda855" - dependencies: - lilconfig "^2.0.5" - yaml "^1.10.2" - postcss-load-config@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-4.0.1.tgz#152383f481c2758274404e4962743191d73875bd" @@ -21170,123 +19732,10 @@ postcss-media-minmax@^5.0.0: version "5.0.0" resolved "https://registry.npmmirror.com/postcss-media-minmax/-/postcss-media-minmax-5.0.0.tgz#7140bddec173e2d6d657edbd8554a55794e2a5b5" -postcss-merge-longhand@^4.0.11: - version "4.0.11" - resolved "https://registry.npmmirror.com/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz#62f49a13e4a0ee04e7b98f42bb16062ca2549e24" - dependencies: - css-color-names "0.0.4" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - stylehacks "^4.0.0" - -postcss-merge-longhand@^5.1.7: - version "5.1.7" - resolved "https://registry.npmmirror.com/postcss-merge-longhand/-/postcss-merge-longhand-5.1.7.tgz#24a1bdf402d9ef0e70f568f39bdc0344d568fb16" - dependencies: - postcss-value-parser "^4.2.0" - stylehacks "^5.1.1" - -postcss-merge-rules@^4.0.3: - version "4.0.3" - resolved "https://registry.npmmirror.com/postcss-merge-rules/-/postcss-merge-rules-4.0.3.tgz#362bea4ff5a1f98e4075a713c6cb25aefef9a650" - dependencies: - browserslist "^4.0.0" - caniuse-api "^3.0.0" - cssnano-util-same-parent "^4.0.0" - postcss "^7.0.0" - postcss-selector-parser "^3.0.0" - vendors "^1.0.0" - -postcss-merge-rules@^5.1.4: - version "5.1.4" - resolved "https://registry.npmmirror.com/postcss-merge-rules/-/postcss-merge-rules-5.1.4.tgz#2f26fa5cacb75b1402e213789f6766ae5e40313c" - dependencies: - browserslist "^4.21.4" - caniuse-api "^3.0.0" - cssnano-utils "^3.1.0" - postcss-selector-parser "^6.0.5" - -postcss-minify-font-values@^4.0.2: - version "4.0.2" - resolved "https://registry.npmmirror.com/postcss-minify-font-values/-/postcss-minify-font-values-4.0.2.tgz#cd4c344cce474343fac5d82206ab2cbcb8afd5a6" - dependencies: - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-minify-font-values@^5.1.0: - version "5.1.0" - resolved "https://registry.npmmirror.com/postcss-minify-font-values/-/postcss-minify-font-values-5.1.0.tgz#f1df0014a726083d260d3bd85d7385fb89d1f01b" - dependencies: - postcss-value-parser "^4.2.0" - -postcss-minify-gradients@^4.0.2: - version "4.0.2" - resolved "https://registry.npmmirror.com/postcss-minify-gradients/-/postcss-minify-gradients-4.0.2.tgz#93b29c2ff5099c535eecda56c4aa6e665a663471" - dependencies: - cssnano-util-get-arguments "^4.0.0" - is-color-stop "^1.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-minify-gradients@^5.1.1: - version "5.1.1" - resolved "https://registry.npmmirror.com/postcss-minify-gradients/-/postcss-minify-gradients-5.1.1.tgz#f1fe1b4f498134a5068240c2f25d46fcd236ba2c" - dependencies: - colord "^2.9.1" - cssnano-utils "^3.1.0" - postcss-value-parser "^4.2.0" - -postcss-minify-params@^4.0.2: - version "4.0.2" - resolved "https://registry.npmmirror.com/postcss-minify-params/-/postcss-minify-params-4.0.2.tgz#6b9cef030c11e35261f95f618c90036d680db874" - dependencies: - alphanum-sort "^1.0.0" - browserslist "^4.0.0" - cssnano-util-get-arguments "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - uniqs "^2.0.0" - -postcss-minify-params@^5.1.4: - version "5.1.4" - resolved "https://registry.npmmirror.com/postcss-minify-params/-/postcss-minify-params-5.1.4.tgz#c06a6c787128b3208b38c9364cfc40c8aa5d7352" - dependencies: - browserslist "^4.21.4" - cssnano-utils "^3.1.0" - postcss-value-parser "^4.2.0" - -postcss-minify-selectors@^4.0.2: - version "4.0.2" - resolved "https://registry.npmmirror.com/postcss-minify-selectors/-/postcss-minify-selectors-4.0.2.tgz#e2e5eb40bfee500d0cd9243500f5f8ea4262fbd8" - dependencies: - alphanum-sort "^1.0.0" - has "^1.0.0" - postcss "^7.0.0" - postcss-selector-parser "^3.0.0" - -postcss-minify-selectors@^5.2.1: - version "5.2.1" - resolved "https://registry.npmmirror.com/postcss-minify-selectors/-/postcss-minify-selectors-5.2.1.tgz#d4e7e6b46147b8117ea9325a915a801d5fe656c6" - dependencies: - postcss-selector-parser "^6.0.5" - -postcss-modules-extract-imports@1.1.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.1.0.tgz#b614c9720be6816eaee35fb3a5faa1dba6a05ddb" - dependencies: - postcss "^6.0.1" - postcss-modules-extract-imports@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz#cda1f047c0ae80c97dbe28c3e76a43b88025741d" -postcss-modules-local-by-default@1.2.0: - version "1.2.0" - resolved "https://registry.npmmirror.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz#f7d80c398c5a393fa7964466bd19500a7d61c069" - dependencies: - css-selector-tokenizer "^0.7.0" - postcss "^6.0.1" - postcss-modules-local-by-default@^4.0.0: version "4.0.3" resolved "https://registry.npmmirror.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.3.tgz#b08eb4f083050708998ba2c6061b50c2870ca524" @@ -21295,55 +19744,18 @@ postcss-modules-local-by-default@^4.0.0: postcss-selector-parser "^6.0.2" postcss-value-parser "^4.1.0" -postcss-modules-scope@1.1.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz#d6ea64994c79f97b62a72b426fbe6056a194bb90" - dependencies: - css-selector-tokenizer "^0.7.0" - postcss "^6.0.1" - postcss-modules-scope@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz#9ef3151456d3bbfa120ca44898dfca6f2fa01f06" dependencies: postcss-selector-parser "^6.0.4" -postcss-modules-values@1.3.0: - version "1.3.0" - resolved "https://registry.npmmirror.com/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz#ecffa9d7e192518389f42ad0e83f72aec456ea20" - dependencies: - icss-replace-symbols "^1.1.0" - postcss "^6.0.1" - postcss-modules-values@^4.0.0: version "4.0.0" resolved "https://registry.npmmirror.com/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz#d7c5e7e68c3bb3c9b27cbf48ca0bb3ffb4602c9c" dependencies: icss-utils "^5.0.0" -postcss-modules@^1.4.1: - version "1.5.0" - resolved "https://registry.npmmirror.com/postcss-modules/-/postcss-modules-1.5.0.tgz#08da6ce43fcfadbc685a021fe6ed30ef929f0bcc" - dependencies: - css-modules-loader-core "^1.1.0" - generic-names "^2.0.1" - lodash.camelcase "^4.3.0" - postcss "^7.0.1" - string-hash "^1.1.1" - -postcss-modules@^4.0.0: - version "4.3.1" - resolved "https://registry.npmmirror.com/postcss-modules/-/postcss-modules-4.3.1.tgz#517c06c09eab07d133ae0effca2c510abba18048" - dependencies: - generic-names "^4.0.0" - icss-replace-symbols "^1.1.0" - lodash.camelcase "^4.3.0" - postcss-modules-extract-imports "^3.0.0" - postcss-modules-local-by-default "^4.0.0" - postcss-modules-scope "^3.0.0" - postcss-modules-values "^4.0.0" - string-hash "^1.1.1" - postcss-nesting@^10.1.4: version "10.2.0" resolved "https://registry.npmmirror.com/postcss-nesting/-/postcss-nesting-10.2.0.tgz#0b12ce0db8edfd2d8ae0aaf86427370b898890be" @@ -21351,151 +19763,10 @@ postcss-nesting@^10.1.4: "@csstools/selector-specificity" "^2.0.0" postcss-selector-parser "^6.0.10" -postcss-normalize-charset@^4.0.1: - version "4.0.1" - resolved "https://registry.npmmirror.com/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz#8b35add3aee83a136b0471e0d59be58a50285dd4" - dependencies: - postcss "^7.0.0" - -postcss-normalize-charset@^5.1.0: - version "5.1.0" - resolved "https://registry.npmmirror.com/postcss-normalize-charset/-/postcss-normalize-charset-5.1.0.tgz#9302de0b29094b52c259e9b2cf8dc0879879f0ed" - -postcss-normalize-display-values@^4.0.2: - version "4.0.2" - resolved "https://registry.npmmirror.com/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.2.tgz#0dbe04a4ce9063d4667ed2be476bb830c825935a" - dependencies: - cssnano-util-get-match "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-normalize-display-values@^5.1.0: - version "5.1.0" - resolved "https://registry.npmmirror.com/postcss-normalize-display-values/-/postcss-normalize-display-values-5.1.0.tgz#72abbae58081960e9edd7200fcf21ab8325c3da8" - dependencies: - postcss-value-parser "^4.2.0" - -postcss-normalize-positions@^4.0.2: - version "4.0.2" - resolved "https://registry.npmmirror.com/postcss-normalize-positions/-/postcss-normalize-positions-4.0.2.tgz#05f757f84f260437378368a91f8932d4b102917f" - dependencies: - cssnano-util-get-arguments "^4.0.0" - has "^1.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-normalize-positions@^5.1.1: - version "5.1.1" - resolved "https://registry.npmmirror.com/postcss-normalize-positions/-/postcss-normalize-positions-5.1.1.tgz#ef97279d894087b59325b45c47f1e863daefbb92" - dependencies: - postcss-value-parser "^4.2.0" - -postcss-normalize-repeat-style@^4.0.2: - version "4.0.2" - resolved "https://registry.npmmirror.com/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.2.tgz#c4ebbc289f3991a028d44751cbdd11918b17910c" - dependencies: - cssnano-util-get-arguments "^4.0.0" - cssnano-util-get-match "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-normalize-repeat-style@^5.1.1: - version "5.1.1" - resolved "https://registry.npmmirror.com/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-5.1.1.tgz#e9eb96805204f4766df66fd09ed2e13545420fb2" - dependencies: - postcss-value-parser "^4.2.0" - -postcss-normalize-string@^4.0.2: - version "4.0.2" - resolved "https://registry.npmmirror.com/postcss-normalize-string/-/postcss-normalize-string-4.0.2.tgz#cd44c40ab07a0c7a36dc5e99aace1eca4ec2690c" - dependencies: - has "^1.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-normalize-string@^5.1.0: - version "5.1.0" - resolved "https://registry.npmmirror.com/postcss-normalize-string/-/postcss-normalize-string-5.1.0.tgz#411961169e07308c82c1f8c55f3e8a337757e228" - dependencies: - postcss-value-parser "^4.2.0" - -postcss-normalize-timing-functions@^4.0.2: - version "4.0.2" - resolved "https://registry.npmmirror.com/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.2.tgz#8e009ca2a3949cdaf8ad23e6b6ab99cb5e7d28d9" - dependencies: - cssnano-util-get-match "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-normalize-timing-functions@^5.1.0: - version "5.1.0" - resolved "https://registry.npmmirror.com/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-5.1.0.tgz#d5614410f8f0b2388e9f240aa6011ba6f52dafbb" - dependencies: - postcss-value-parser "^4.2.0" - -postcss-normalize-unicode@^4.0.1: - version "4.0.1" - resolved "https://registry.npmmirror.com/postcss-normalize-unicode/-/postcss-normalize-unicode-4.0.1.tgz#841bd48fdcf3019ad4baa7493a3d363b52ae1cfb" - dependencies: - browserslist "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-normalize-unicode@^5.1.1: - version "5.1.1" - resolved "https://registry.npmmirror.com/postcss-normalize-unicode/-/postcss-normalize-unicode-5.1.1.tgz#f67297fca3fea7f17e0d2caa40769afc487aa030" - dependencies: - browserslist "^4.21.4" - postcss-value-parser "^4.2.0" - -postcss-normalize-url@^4.0.1: - version "4.0.1" - resolved "https://registry.npmmirror.com/postcss-normalize-url/-/postcss-normalize-url-4.0.1.tgz#10e437f86bc7c7e58f7b9652ed878daaa95faae1" - dependencies: - is-absolute-url "^2.0.0" - normalize-url "^3.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-normalize-url@^5.1.0: - version "5.1.0" - resolved "https://registry.npmmirror.com/postcss-normalize-url/-/postcss-normalize-url-5.1.0.tgz#ed9d88ca82e21abef99f743457d3729a042adcdc" - dependencies: - normalize-url "^6.0.1" - postcss-value-parser "^4.2.0" - -postcss-normalize-whitespace@^4.0.2: - version "4.0.2" - resolved "https://registry.npmmirror.com/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.2.tgz#bf1d4070fe4fcea87d1348e825d8cc0c5faa7d82" - dependencies: - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-normalize-whitespace@^5.1.1: - version "5.1.1" - resolved "https://registry.npmmirror.com/postcss-normalize-whitespace/-/postcss-normalize-whitespace-5.1.1.tgz#08a1a0d1ffa17a7cc6efe1e6c9da969cc4493cfa" - dependencies: - postcss-value-parser "^4.2.0" - postcss-opacity-percentage@^1.1.2: version "1.1.3" resolved "https://registry.npmmirror.com/postcss-opacity-percentage/-/postcss-opacity-percentage-1.1.3.tgz#5b89b35551a556e20c5d23eb5260fbfcf5245da6" -postcss-ordered-values@^4.1.2: - version "4.1.2" - resolved "https://registry.npmmirror.com/postcss-ordered-values/-/postcss-ordered-values-4.1.2.tgz#0cf75c820ec7d5c4d280189559e0b571ebac0eee" - dependencies: - cssnano-util-get-arguments "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-ordered-values@^5.1.3: - version "5.1.3" - resolved "https://registry.npmmirror.com/postcss-ordered-values/-/postcss-ordered-values-5.1.3.tgz#b6fd2bd10f937b23d86bc829c69e7732ce76ea38" - dependencies: - cssnano-utils "^3.1.0" - postcss-value-parser "^4.2.0" - postcss-overflow-shorthand@^3.0.3: version "3.0.4" resolved "https://registry.npmmirror.com/postcss-overflow-shorthand/-/postcss-overflow-shorthand-3.0.4.tgz#7ed6486fec44b76f0eab15aa4866cda5d55d893e" @@ -21572,37 +19843,6 @@ postcss-pseudo-class-any-link@^7.1.2: dependencies: postcss-selector-parser "^6.0.10" -postcss-reduce-initial@^4.0.3: - version "4.0.3" - resolved "https://registry.npmmirror.com/postcss-reduce-initial/-/postcss-reduce-initial-4.0.3.tgz#7fd42ebea5e9c814609639e2c2e84ae270ba48df" - dependencies: - browserslist "^4.0.0" - caniuse-api "^3.0.0" - has "^1.0.0" - postcss "^7.0.0" - -postcss-reduce-initial@^5.1.2: - version "5.1.2" - resolved "https://registry.npmmirror.com/postcss-reduce-initial/-/postcss-reduce-initial-5.1.2.tgz#798cd77b3e033eae7105c18c9d371d989e1382d6" - dependencies: - browserslist "^4.21.4" - caniuse-api "^3.0.0" - -postcss-reduce-transforms@^4.0.2: - version "4.0.2" - resolved "https://registry.npmmirror.com/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.2.tgz#17efa405eacc6e07be3414a5ca2d1074681d4e29" - dependencies: - cssnano-util-get-match "^4.0.0" - has "^1.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - -postcss-reduce-transforms@^5.1.0: - version "5.1.0" - resolved "https://registry.npmmirror.com/postcss-reduce-transforms/-/postcss-reduce-transforms-5.1.0.tgz#333b70e7758b802f3dd0ddfe98bb1ccfef96b6e9" - dependencies: - postcss-value-parser "^4.2.0" - postcss-replace-overflow-wrap@^4.0.0: version "4.0.0" resolved "https://registry.npmmirror.com/postcss-replace-overflow-wrap/-/postcss-replace-overflow-wrap-4.0.0.tgz#d2df6bed10b477bf9c52fab28c568b4b29ca4319" @@ -21613,85 +19853,21 @@ postcss-selector-not@^5.0.0: dependencies: balanced-match "^1.0.0" -postcss-selector-parser@^3.0.0: - version "3.1.2" - resolved "https://registry.npmmirror.com/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz#b310f5c4c0fdaf76f94902bbaa30db6aa84f5270" - dependencies: - dot-prop "^5.2.0" - indexes-of "^1.0.1" - uniq "^1.0.1" - -postcss-selector-parser@^6.0.10, postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.5, postcss-selector-parser@^6.0.9: +postcss-selector-parser@^6.0.10, postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.9: version "6.0.13" resolved "https://registry.npmmirror.com/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz#d05d8d76b1e8e173257ef9d60b706a8e5e99bf1b" dependencies: cssesc "^3.0.0" util-deprecate "^1.0.2" -postcss-svgo@^4.0.3: - version "4.0.3" - resolved "https://registry.npmmirror.com/postcss-svgo/-/postcss-svgo-4.0.3.tgz#343a2cdbac9505d416243d496f724f38894c941e" - dependencies: - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - svgo "^1.0.0" - -postcss-svgo@^5.1.0: - version "5.1.0" - resolved "https://registry.npmmirror.com/postcss-svgo/-/postcss-svgo-5.1.0.tgz#0a317400ced789f233a28826e77523f15857d80d" - dependencies: - postcss-value-parser "^4.2.0" - svgo "^2.7.0" - postcss-syntax@0.36.2: version "0.36.2" resolved "https://registry.npmmirror.com/postcss-syntax/-/postcss-syntax-0.36.2.tgz#f08578c7d95834574e5593a82dfbfa8afae3b51c" -postcss-unique-selectors@^4.0.1: - version "4.0.1" - resolved "https://registry.npmmirror.com/postcss-unique-selectors/-/postcss-unique-selectors-4.0.1.tgz#9446911f3289bfd64c6d680f073c03b1f9ee4bac" - dependencies: - alphanum-sort "^1.0.0" - postcss "^7.0.0" - uniqs "^2.0.0" - -postcss-unique-selectors@^5.1.1: - version "5.1.1" - resolved "https://registry.npmmirror.com/postcss-unique-selectors/-/postcss-unique-selectors-5.1.1.tgz#a9f273d1eacd09e9aa6088f4b0507b18b1b541b6" - dependencies: - postcss-selector-parser "^6.0.5" - -postcss-value-parser@^3.0.0, postcss-value-parser@^3.3.1: - version "3.3.1" - resolved "https://registry.npmmirror.com/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281" - postcss-value-parser@^4.0.2, postcss-value-parser@^4.1.0, postcss-value-parser@^4.2.0: version "4.2.0" resolved "https://registry.npmmirror.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" -postcss@6.0.1: - version "6.0.1" - resolved "https://registry.npmmirror.com/postcss/-/postcss-6.0.1.tgz#000dbd1f8eef217aa368b9a212c5fc40b2a8f3f2" - dependencies: - chalk "^1.1.3" - source-map "^0.5.6" - supports-color "^3.2.3" - -postcss@^6.0.1: - version "6.0.23" - resolved "https://registry.npmmirror.com/postcss/-/postcss-6.0.23.tgz#61c82cc328ac60e677645f979054eb98bc0e3324" - dependencies: - chalk "^2.4.1" - source-map "^0.6.1" - supports-color "^5.4.0" - -postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.16, postcss@^7.0.27: - version "7.0.39" - resolved "https://registry.npmmirror.com/postcss/-/postcss-7.0.39.tgz#9624375d965630e2e1f2c02a935c82a59cb48309" - dependencies: - picocolors "^0.2.1" - source-map "^0.6.1" - postcss@^8.3.11, postcss@^8.4.21, postcss@^8.4.23, postcss@^8.4.7: version "8.4.24" resolved "https://registry.npmmirror.com/postcss/-/postcss-8.4.24.tgz#f714dba9b2284be3cc07dbd2fc57ee4dc972d2df" @@ -21759,10 +19935,6 @@ prettier-plugin-packagejson@2.4.3: sort-package-json "2.4.1" synckit "0.8.5" -prettier@1.15.3: - version "1.15.3" - resolved "https://registry.npmmirror.com/prettier/-/prettier-1.15.3.tgz#1feaac5bdd181237b54dbe65d874e02a1472786a" - prettier@2.2.1: version "2.2.1" resolved "https://registry.npmmirror.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5" @@ -21823,6 +19995,11 @@ pretty-format@^29.6.2: ansi-styles "^5.0.0" react-is "^18.0.0" +pretty-hrtime@^1.0.0: + version "1.0.3" + resolved "https://registry.npmmirror.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1" + integrity sha512-66hKPCr+72mlfiSjlEB1+45IjXSqvVAIy6mocupoww4tBFE9R9IhwwUGoI4G++Tc9Aq+2rxOt0RFU6gPcrte0A== + pretty-quick@^3.1.0: version "3.1.3" resolved "https://registry.npmmirror.com/pretty-quick/-/pretty-quick-3.1.3.tgz#15281108c0ddf446675157ca40240099157b638e" @@ -21880,22 +20057,12 @@ promise-retry@^2.0.1: err-code "^2.0.2" retry "^0.12.0" -promise.series@^0.2.0: - version "0.2.0" - resolved "https://registry.npmmirror.com/promise.series/-/promise.series-0.2.0.tgz#2cc7ebe959fc3a6619c04ab4dbdc9e452d864bbd" - promise@^8.0.0: version "8.3.0" resolved "https://registry.npmmirror.com/promise/-/promise-8.3.0.tgz#8cb333d1edeb61ef23869fbb8a4ea0279ab60e0a" dependencies: asap "~2.0.6" -promise@~7.0.1: - version "7.0.4" - resolved "https://registry.npmmirror.com/promise/-/promise-7.0.4.tgz#363e84a4c36c8356b890fed62c91ce85d02ed539" - dependencies: - asap "~2.0.3" - promptly@^2: version "2.2.0" resolved "https://registry.npmmirror.com/promptly/-/promptly-2.2.0.tgz#2a13fa063688a2a5983b161fff0108a07d26fc74" @@ -21915,15 +20082,7 @@ promzard@^0.3.0: dependencies: read "1" -prop-types-exact@^1.2.0: - version "1.2.0" - resolved "https://registry.npmmirror.com/prop-types-exact/-/prop-types-exact-1.2.0.tgz#825d6be46094663848237e3925a98c6e944e9869" - dependencies: - has "^1.0.3" - object.assign "^4.1.0" - reflect.ownkeys "^0.2.0" - -prop-types@^15.5.8, prop-types@^15.6.2, prop-types@^15.7.2, prop-types@^15.8.1: +prop-types@^15.5.8, prop-types@^15.7.2, prop-types@^15.8.1: version "15.8.1" resolved "https://registry.npmmirror.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" dependencies: @@ -22127,12 +20286,6 @@ raf-schd@^4.0.2: version "4.0.3" resolved "https://registry.npmmirror.com/raf-schd/-/raf-schd-4.0.3.tgz#5d6c34ef46f8b2a0e880a8fcdb743efc5bfdbc1a" -raf@^3.4.1: - version "3.4.1" - resolved "https://registry.npmmirror.com/raf/-/raf-3.4.1.tgz#0742e99a4a6552f445d73e3ee0328af0ff1ede39" - dependencies: - performance-now "^2.1.0" - railroad-diagrams@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz#eb7e6267548ddedfb899c1b90e57374559cddb7e" @@ -22148,7 +20301,7 @@ randexp@0.4.6: discontinuous-range "1.0.0" ret "~0.1.10" -randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: +randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5: version "2.1.0" resolved "https://registry.npmmirror.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" dependencies: @@ -22629,7 +20782,7 @@ react-copy-to-clipboard@^5.1.0: copy-to-clipboard "^3.3.1" prop-types "^15.8.1" -react-dom@18.1.0, react-dom@18.x, react-dom@^16.8.6, react-dom@^18.0.0, react-dom@^18.2.0: +react-dom@18.1.0, react-dom@18.x, react-dom@^18.0.0, react-dom@^18.2.0: version "18.2.0" resolved "https://registry.npmmirror.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" dependencies: @@ -22723,7 +20876,7 @@ react-intl@^6.1.1: intl-messageformat "10.5.0" tslib "^2.4.0" -react-is@^16.12.0, react-is@^16.13.1, react-is@^16.7.0, react-is@^16.8.4, react-is@^16.8.6: +react-is@^16.12.0, react-is@^16.13.1, react-is@^16.7.0, react-is@^16.8.4: version "16.13.1" resolved "https://registry.npmmirror.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" @@ -22815,20 +20968,11 @@ react-sticky-box@^1.0.2: dependencies: resize-observer-polyfill "^1.5.1" -react-test-renderer@^16.0.0-0: - version "16.14.0" - resolved "https://registry.npmmirror.com/react-test-renderer/-/react-test-renderer-16.14.0.tgz#e98360087348e260c56d4fe2315e970480c228ae" - dependencies: - object-assign "^4.1.1" - prop-types "^15.6.2" - react-is "^16.8.6" - scheduler "^0.19.1" - react-to-print@^2.14.7: version "2.14.13" resolved "https://registry.npmmirror.com/react-to-print/-/react-to-print-2.14.13.tgz#cd0349f7ef93c8af5120fac0ef6c4f3d100df490" -react@18.1.0, react@18.x, react@^16.8.6, react@^18.0.0, react@^18.2.0: +react@18.1.0, react@18.x, react@^18.0.0, react@^18.2.0: version "18.2.0" resolved "https://registry.npmmirror.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" dependencies: @@ -22891,6 +21035,14 @@ read-package-tree@^5.3.1: readdir-scoped-modules "^1.0.0" util-promisify "^2.1.0" +read-pkg-up@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" + integrity sha512-WD9MTlNtI55IwYUS27iHh9tK3YoIVhxis8yKhLpTqWtml739uXc9NWTpxoHkfZf3+DkCCsXox94/VWZniuZm6A== + dependencies: + find-up "^1.0.0" + read-pkg "^1.0.0" + read-pkg-up@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" @@ -22898,13 +21050,6 @@ read-pkg-up@^3.0.0: find-up "^2.0.0" read-pkg "^3.0.0" -read-pkg-up@^4.0.0: - version "4.0.0" - resolved "https://registry.npmmirror.com/read-pkg-up/-/read-pkg-up-4.0.0.tgz#1b221c6088ba7799601c808f91161c66e58f8978" - dependencies: - find-up "^3.0.0" - read-pkg "^3.0.0" - read-pkg-up@^7.0.1: version "7.0.1" resolved "https://registry.npmmirror.com/read-pkg-up/-/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507" @@ -22913,6 +21058,15 @@ read-pkg-up@^7.0.1: read-pkg "^5.2.0" type-fest "^0.8.1" +read-pkg@^1.0.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" + integrity sha512-7BGwRHqt4s/uVbuyoeejRn4YmFnYZiFl4AuaeXHlgZf3sONF0SOGlxs2Pw8g6hCKupo08RafIO5YXFNOKTfwsQ== + dependencies: + load-json-file "^1.0.0" + normalize-package-data "^2.3.2" + path-type "^1.0.0" + read-pkg@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" @@ -23013,11 +21167,12 @@ real-require@^0.1.0: version "0.1.0" resolved "https://registry.npmmirror.com/real-require/-/real-require-0.1.0.tgz#736ac214caa20632847b7ca8c1056a0767df9381" -realpath-native@^1.1.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/realpath-native/-/realpath-native-1.1.0.tgz#2003294fea23fb0672f2476ebe22fcf498a2d65c" +rechoir@^0.6.2: + version "0.6.2" + resolved "https://registry.npmmirror.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" + integrity sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw== dependencies: - util.promisify "^1.0.0" + resolve "^1.1.6" redent@^2.0.0: version "2.0.0" @@ -23050,10 +21205,6 @@ reflect.getprototypeof@^1.0.2: globalthis "^1.0.3" which-builtin-type "^1.1.3" -reflect.ownkeys@^0.2.0: - version "0.2.0" - resolved "https://registry.npmmirror.com/reflect.ownkeys/-/reflect.ownkeys-0.2.0.tgz#749aceec7f3fdf8b63f927a04809e90c5c0b3460" - regenerate-unicode-properties@10.1.0, regenerate-unicode-properties@^10.1.0: version "10.1.0" resolved "https://registry.npmmirror.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz#7c3192cab6dd24e21cb4461e5ddd7dd24fa8374c" @@ -23064,21 +21215,18 @@ regenerate@^1.4.2: version "1.4.2" resolved "https://registry.npmmirror.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" -regenerator-runtime@0.13.11, regenerator-runtime@^0.13.11, regenerator-runtime@^0.13.2: +regenerator-runtime@0.13.11, regenerator-runtime@^0.13.11: version "0.13.11" resolved "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" -regenerator-runtime@0.13.2: - version "0.13.2" - resolved "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.13.2.tgz#32e59c9a6fb9b1a4aff09b4930ca2d4477343447" - regenerator-runtime@^0.11.0: version "0.11.1" resolved "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" -regenerator-transform@^0.15.1: - version "0.15.1" - resolved "https://registry.npmmirror.com/regenerator-transform/-/regenerator-transform-0.15.1.tgz#f6c4e99fc1b4591f780db2586328e4d9a9d8dc56" +regenerator-transform@^0.15.2: + version "0.15.2" + resolved "https://registry.npmmirror.com/regenerator-transform/-/regenerator-transform-0.15.2.tgz#5bbae58b522098ebdf09bca2f83838929001c7a4" + integrity sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg== dependencies: "@babel/runtime" "^7.8.4" @@ -23258,7 +21406,7 @@ remove-bom-stream@^1.2.0: safe-buffer "^5.1.0" through2 "^2.0.3" -remove-trailing-separator@^1.0.1: +remove-trailing-separator@^1.0.1, remove-trailing-separator@^1.1.0: version "1.1.0" resolved "https://registry.npmmirror.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" @@ -23288,29 +21436,20 @@ replace-ext@^1.0.0: version "1.0.1" resolved "https://registry.npmmirror.com/replace-ext/-/replace-ext-1.0.1.tgz#2d6d996d04a15855d967443631dd5f77825b016a" -replace-ext@^2.0.0: - version "2.0.0" - resolved "https://registry.npmmirror.com/replace-ext/-/replace-ext-2.0.0.tgz#9471c213d22e1bcc26717cd6e50881d88f812b06" +replace-homedir@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/replace-homedir/-/replace-homedir-1.0.0.tgz#e87f6d513b928dde808260c12be7fec6ff6e798c" + integrity sha512-CHPV/GAglbIB1tnQgaiysb8H2yCy8WQ7lcEwQ/eT+kLj0QHV8LnJW0zpqpE7RSkrMSRoa+EBoag86clf7WAgSg== + dependencies: + homedir-polyfill "^1.0.1" + is-absolute "^1.0.0" + remove-trailing-separator "^1.1.0" request-ip@^3.3.0: version "3.3.0" resolved "https://registry.npmmirror.com/request-ip/-/request-ip-3.3.0.tgz#863451e8fec03847d44f223e30a5d63e369fa611" -request-promise-core@1.1.4: - version "1.1.4" - resolved "https://registry.npmmirror.com/request-promise-core/-/request-promise-core-1.1.4.tgz#3eedd4223208d419867b78ce815167d10593a22f" - dependencies: - lodash "^4.17.19" - -request-promise-native@^1.0.5: - version "1.0.9" - resolved "https://registry.npmmirror.com/request-promise-native/-/request-promise-native-1.0.9.tgz#e407120526a5efdc9a39b28a5679bf47b9d9dc28" - dependencies: - request-promise-core "1.1.4" - stealthy-require "^1.1.1" - tough-cookie "^2.3.3" - -request@^2.87.0, request@^2.88.0, request@^2.88.2: +request@^2.88.0, request@^2.88.2: version "2.88.2" resolved "https://registry.npmmirror.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" dependencies: @@ -23351,9 +21490,10 @@ require-in-the-middle@^5.0.0: module-details-from-path "^1.0.3" resolve "^1.22.1" -require-main-filename@^2.0.0: - version "2.0.0" - resolved "https://registry.npmmirror.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" +require-main-filename@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" + integrity sha512-IqSUtOVP4ksd1C/ej5zeEh/BIP2ajqpn8c5x+q99gvcIG/Qf0cud5raVnE/Dwd0ua9TXYDoDc0RE5hBSdz22Ug== requireindex@^1.2.0: version "1.2.0" @@ -23363,24 +21503,10 @@ requires-port@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" -reselect@^3.0.1: - version "3.0.1" - resolved "https://registry.npmmirror.com/reselect/-/reselect-3.0.1.tgz#efdaa98ea7451324d092b2b2163a6a1d7a9a2147" - -reserved-words@^0.1.2: - version "0.1.2" - resolved "https://registry.npmmirror.com/reserved-words/-/reserved-words-0.1.2.tgz#00a0940f98cd501aeaaac316411d9adc52b31ab1" - resize-observer-polyfill@^1.5.1: version "1.5.1" resolved "https://registry.npmmirror.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464" -resolve-cwd@^2.0.0: - version "2.0.0" - resolved "https://registry.npmmirror.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" - dependencies: - resolve-from "^3.0.0" - resolve-cwd@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" @@ -23394,14 +21520,18 @@ resolve-dir@^0.1.0: expand-tilde "^1.2.2" global-modules "^0.2.3" +resolve-dir@^1.0.0, resolve-dir@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43" + integrity sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg== + dependencies: + expand-tilde "^2.0.0" + global-modules "^1.0.0" + resolve-from@5.0.0, resolve-from@^5.0.0: version "5.0.0" resolved "https://registry.npmmirror.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" -resolve-from@^3.0.0: - version "3.0.0" - resolved "https://registry.npmmirror.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" - resolve-from@^4.0.0: version "4.0.0" resolved "https://registry.npmmirror.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" @@ -23437,11 +21567,7 @@ resolve.exports@^2.0.0: version "2.0.2" resolved "https://registry.npmmirror.com/resolve.exports/-/resolve.exports-2.0.2.tgz#f8c934b8e6a13f539e38b7098e2e36134f01e800" -resolve@1.1.7, resolve@~1.1.6: - version "1.1.7" - resolved "https://registry.npmmirror.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" - -resolve@^1.0.0, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.1, resolve@^1.3.2, resolve@^1.4.0, resolve@^1.5.0, resolve@^1.8.1, resolve@~1.22.1: +resolve@^1.0.0, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.1, resolve@^1.4.0, resolve@~1.22.1: version "1.22.2" resolved "https://registry.npmmirror.com/resolve/-/resolve-1.22.2.tgz#0ed0943d4e301867955766c9f3e1ae6d01c6845f" dependencies: @@ -23449,6 +21575,15 @@ resolve@^1.0.0, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.14.2, resolve@^1.19 path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" +resolve@^1.1.6, resolve@^1.1.7: + version "1.22.4" + resolved "https://registry.npmmirror.com/resolve/-/resolve-1.22.4.tgz#1dc40df46554cdaf8948a486a10f6ba1e2026c34" + integrity sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg== + dependencies: + is-core-module "^2.13.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + resolve@^2.0.0-next.4: version "2.0.0-next.4" resolved "https://registry.npmmirror.com/resolve/-/resolve-2.0.0-next.4.tgz#3d37a113d6429f496ec4752d2a2e58efb1fd4660" @@ -23507,25 +21642,11 @@ rfdc@^1.3.0: version "1.3.0" resolved "https://registry.npmmirror.com/rfdc/-/rfdc-1.3.0.tgz#d0b7c441ab2720d05dc4cf26e01c89631d9da08b" -rgb-regex@^1.0.1: - version "1.0.1" - resolved "https://registry.npmmirror.com/rgb-regex/-/rgb-regex-1.0.1.tgz#c0e0d6882df0e23be254a475e8edd41915feaeb1" - -rgba-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.npmmirror.com/rgba-regex/-/rgba-regex-1.0.0.tgz#43374e2e2ca0968b0ef1523460b7d730ff22eeb3" - right-align@^0.1.1: version "0.1.3" resolved "https://registry.npmmirror.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" dependencies: - align-text "^0.1.1" - -rimraf@2.6.3: - version "2.6.3" - resolved "https://registry.npmmirror.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" - dependencies: - glob "^7.1.3" + align-text "^0.1.1" rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3: version "2.7.1" @@ -23554,86 +21675,6 @@ robust-predicates@^3.0.0: version "3.0.2" resolved "https://registry.npmmirror.com/robust-predicates/-/robust-predicates-3.0.2.tgz#d5b28528c4824d20fc48df1928d41d9efa1ad771" -rollup-plugin-commonjs@^9.2.0: - version "9.3.4" - resolved "https://registry.npmmirror.com/rollup-plugin-commonjs/-/rollup-plugin-commonjs-9.3.4.tgz#2b3dddbbbded83d45c36ff101cdd29e924fd23bc" - dependencies: - estree-walker "^0.6.0" - magic-string "^0.25.2" - resolve "^1.10.0" - rollup-pluginutils "^2.6.0" - -rollup-plugin-node-resolve@4.0.0: - version "4.0.0" - resolved "https://registry.npmmirror.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-4.0.0.tgz#9bc6b8205e9936cc0e26bba2415f1ecf1e64d9b2" - dependencies: - builtin-modules "^3.0.0" - is-module "^1.0.0" - resolve "^1.8.1" - -rollup-plugin-postcss@2.0.3: - version "2.0.3" - resolved "https://registry.npmmirror.com/rollup-plugin-postcss/-/rollup-plugin-postcss-2.0.3.tgz#1fd5b7e1fc7545cb0084d9c99d11b259e41a05e6" - dependencies: - chalk "^2.4.2" - concat-with-sourcemaps "^1.0.5" - cssnano "^4.1.8" - import-cwd "^2.1.0" - p-queue "^2.4.2" - pify "^3.0.0" - postcss "^7.0.14" - postcss-load-config "^2.0.0" - postcss-modules "^1.4.1" - promise.series "^0.2.0" - reserved-words "^0.1.2" - resolve "^1.5.0" - rollup-pluginutils "^2.0.1" - style-inject "^0.3.0" - -rollup-plugin-postcss@4.0.2: - version "4.0.2" - resolved "https://registry.npmmirror.com/rollup-plugin-postcss/-/rollup-plugin-postcss-4.0.2.tgz#15e9462f39475059b368ce0e49c800fa4b1f7050" - dependencies: - chalk "^4.1.0" - concat-with-sourcemaps "^1.1.0" - cssnano "^5.0.1" - import-cwd "^3.0.0" - p-queue "^6.6.2" - pify "^5.0.0" - postcss-load-config "^3.0.0" - postcss-modules "^4.0.0" - promise.series "^0.2.0" - resolve "^1.19.0" - rollup-pluginutils "^2.8.2" - safe-identifier "^0.4.2" - style-inject "^0.3.0" - -rollup-plugin-replace@^2.1.0: - version "2.2.0" - resolved "https://registry.npmmirror.com/rollup-plugin-replace/-/rollup-plugin-replace-2.2.0.tgz#f41ae5372e11e7a217cde349c8b5d5fd115e70e3" - dependencies: - magic-string "^0.25.2" - rollup-pluginutils "^2.6.0" - -rollup-plugin-terser@7.0.2: - version "7.0.2" - resolved "https://registry.npmmirror.com/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz#e8fbba4869981b2dc35ae7e8a502d5c6c04d324d" - dependencies: - "@babel/code-frame" "^7.10.4" - jest-worker "^26.2.1" - serialize-javascript "^4.0.0" - terser "^5.0.0" - -rollup-plugin-typescript2@0.34.1: - version "0.34.1" - resolved "https://registry.npmmirror.com/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.34.1.tgz#c457f155a71d133c142689213fce78694e30d0be" - dependencies: - "@rollup/pluginutils" "^4.1.2" - find-cache-dir "^3.3.2" - fs-extra "^10.0.0" - semver "^7.3.7" - tslib "^2.4.0" - rollup-plugin-visualizer@5.9.0: version "5.9.0" resolved "https://registry.npmmirror.com/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.9.0.tgz#013ac54fb6a9d7c9019e7eb77eced673399e5a0b" @@ -23643,26 +21684,6 @@ rollup-plugin-visualizer@5.9.0: source-map "^0.7.4" yargs "^17.5.1" -rollup-pluginutils@^2.0.1, rollup-pluginutils@^2.6.0, rollup-pluginutils@^2.8.2: - version "2.8.2" - resolved "https://registry.npmmirror.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e" - dependencies: - estree-walker "^0.6.1" - -rollup@1.1.2: - version "1.1.2" - resolved "https://registry.npmmirror.com/rollup/-/rollup-1.1.2.tgz#8d094b85683b810d0c05a16bd7618cf70d48eba7" - dependencies: - "@types/estree" "0.0.39" - "@types/node" "*" - acorn "^6.0.5" - -rollup@3.25.1: - version "3.25.1" - resolved "https://registry.npmmirror.com/rollup/-/rollup-3.25.1.tgz#9fff79d22ff1a904b2b595a2fb9bc3793cb987d8" - optionalDependencies: - fsevents "~2.3.2" - rollup@^0.25.8: version "0.25.8" resolved "https://registry.npmmirror.com/rollup/-/rollup-0.25.8.tgz#bf6ce83b87510d163446eeaa577ed6a6fc5835e0" @@ -23689,17 +21710,6 @@ rollup@^3.25.2: optionalDependencies: fsevents "~2.3.2" -rst-selector-parser@^2.2.3: - version "2.2.3" - resolved "https://registry.npmmirror.com/rst-selector-parser/-/rst-selector-parser-2.2.3.tgz#81b230ea2fcc6066c89e3472de794285d9b03d91" - dependencies: - lodash.flattendeep "^4.4.0" - nearley "^2.7.10" - -rsvp@^4.8.4: - version "4.8.5" - resolved "https://registry.npmmirror.com/rsvp/-/rsvp-4.8.5.tgz#c8f155311d167f68f21e168df71ec5b083113734" - run-applescript@^5.0.0: version "5.0.0" resolved "https://registry.npmmirror.com/run-applescript/-/run-applescript-5.0.0.tgz#e11e1c932e055d5c6b40d98374e0268d9b11899c" @@ -23769,10 +21779,6 @@ safe-buffer@5.2.1, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, s version "5.2.1" resolved "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" -safe-identifier@^0.4.2: - version "0.4.2" - resolved "https://registry.npmmirror.com/safe-identifier/-/safe-identifier-0.4.2.tgz#cf6bfca31c2897c588092d1750d30ef501d59fcb" - safe-regex-test@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295" @@ -23795,20 +21801,6 @@ safe-stable-stringify@^2.1.0, safe-stable-stringify@^2.3.1: version "2.1.2" resolved "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" -sane@^4.0.3: - version "4.1.0" - resolved "https://registry.npmmirror.com/sane/-/sane-4.1.0.tgz#ed881fd922733a6c461bc189dc2b6c006f3ffded" - dependencies: - "@cnakazawa/watch" "^1.0.3" - anymatch "^2.0.0" - capture-exit "^2.0.0" - exec-sh "^0.3.2" - execa "^1.0.0" - fb-watchman "^2.0.0" - micromatch "^3.1.4" - minimist "^1.1.1" - walker "~1.0.5" - sanitize-html@2.10.0: version "2.10.0" resolved "https://registry.npmmirror.com/sanitize-html/-/sanitize-html-2.10.0.tgz#74d28848dfcf72c39693139131895c78900ab452" @@ -23838,13 +21830,6 @@ saxes@^5.0.1: dependencies: xmlchars "^2.2.0" -scheduler@^0.19.1: - version "0.19.1" - resolved "https://registry.npmmirror.com/scheduler/-/scheduler-0.19.1.tgz#4f3e2ed2c1a7d65681f4c854fa8c5a1ccb40f196" - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - scheduler@^0.23.0: version "0.23.0" resolved "https://registry.npmmirror.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" @@ -23901,15 +21886,18 @@ semver-diff@^2.0.0: dependencies: semver "^5.0.3" -"semver@2 || 3 || 4 || 5", semver@^5.0.1, semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: +semver-greatest-satisfied-range@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/semver-greatest-satisfied-range/-/semver-greatest-satisfied-range-1.1.0.tgz#13e8c2658ab9691cb0cd71093240280d36f77a5b" + integrity sha512-Ny/iyOzSSa8M5ML46IAx3iXc6tfOsYU2R4AXi2UpHk60Zrgyq6eqPj/xiOfS0rRl/iiQ/rdJkVjw/5cdUyCntQ== + dependencies: + sver-compat "^1.5.0" + +"semver@2 || 3 || 4 || 5", semver@^5.0.1, semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.5.0, semver@^5.6.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.npmmirror.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" -semver@6.1.1: - version "6.1.1" - resolved "https://registry.npmmirror.com/semver/-/semver-6.1.1.tgz#53f53da9b30b2103cd4f15eab3a18ecbcb210c9b" - -semver@6.3.0, semver@^6.0.0, semver@^6.1.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: +semver@6.3.0, semver@^6.0.0, semver@^6.1.0, semver@^6.2.0, semver@^6.3.0: version "6.3.0" resolved "https://registry.npmmirror.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" @@ -23968,12 +21956,6 @@ sequelize@^6.26.0: validator "^13.9.0" wkx "^0.5.0" -serialize-javascript@^4.0.0: - version "4.0.0" - resolved "https://registry.npmmirror.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa" - dependencies: - randombytes "^2.1.0" - serve-handler@6.1.3: version "6.1.3" resolved "https://registry.npmmirror.com/serve-handler/-/serve-handler-6.1.3.tgz#1bf8c5ae138712af55c758477533b9117f6435e8" @@ -24080,10 +22062,6 @@ shell-quote@^1.7.3: version "1.8.1" resolved "https://registry.npmmirror.com/shell-quote/-/shell-quote-1.8.1.tgz#6dbf4db75515ad5bac63b4f1894c3a154c766680" -shellwords@^0.1.1: - version "0.1.1" - resolved "https://registry.npmmirror.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" - shimmer@^1.1.0, shimmer@^1.2.0: version "1.2.1" resolved "https://registry.npmmirror.com/shimmer/-/shimmer-1.2.1.tgz#610859f7de327b587efebf501fb43117f9aff337" @@ -24110,14 +22088,6 @@ signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: version "3.0.7" resolved "https://registry.npmmirror.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" -signale@1.4.0, signale@^1.3.0: - version "1.4.0" - resolved "https://registry.npmmirror.com/signale/-/signale-1.4.0.tgz#c4be58302fb0262ac00fc3d886a7c113759042f1" - dependencies: - chalk "^2.3.2" - figures "^2.0.0" - pkg-conf "^2.1.0" - simple-swizzle@^0.2.2: version "0.2.2" resolved "https://registry.npmmirror.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a" @@ -24141,14 +22111,6 @@ size-sensor@^1.0.1: version "1.0.1" resolved "https://registry.npmmirror.com/size-sensor/-/size-sensor-1.0.1.tgz#f84e46206d3e259faff1d548e4b3beca93219dbb" -slash2@2.0.0, slash2@^2.0.0: - version "2.0.0" - resolved "https://registry.npmmirror.com/slash2/-/slash2-2.0.0.tgz#f4e0a11708b8545b912695981cf7096f52c63487" - -slash@^2.0.0: - version "2.0.0" - resolved "https://registry.npmmirror.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" - slash@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" @@ -24325,7 +22287,7 @@ source-map-support@0.5.13: buffer-from "^1.0.0" source-map "^0.6.0" -source-map-support@0.5.21, source-map-support@^0.5.12, source-map-support@^0.5.16, source-map-support@^0.5.17, source-map-support@^0.5.21, source-map-support@^0.5.6, source-map-support@~0.5.20: +source-map-support@0.5.21, source-map-support@^0.5.12, source-map-support@^0.5.17, source-map-support@^0.5.21, source-map-support@~0.5.20: version "0.5.21" resolved "https://registry.npmmirror.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" dependencies: @@ -24354,7 +22316,7 @@ source-map@0.8.0-beta.0: dependencies: whatwg-url "^7.0.0" -source-map@^0.5.0, source-map@^0.5.1, source-map@^0.5.6, source-map@^0.5.7, source-map@~0.5.1: +source-map@^0.5.6, source-map@^0.5.7, source-map@~0.5.1: version "0.5.7" resolved "https://registry.npmmirror.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" @@ -24366,14 +22328,15 @@ source-map@^0.7.0, source-map@^0.7.3, source-map@^0.7.4: version "0.7.4" resolved "https://registry.npmmirror.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" -sourcemap-codec@^1.4.8: - version "1.4.8" - resolved "https://registry.npmmirror.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" - space-separated-tokens@^2.0.0: version "2.0.2" resolved "https://registry.npmmirror.com/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz#1ecd9d2350a3844572c3f4a312bceb018348859f" +sparkles@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/sparkles/-/sparkles-1.0.1.tgz#008db65edce6c50eec0c5e228e1945061dd0437c" + integrity sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw== + spawn-command@0.0.2: version "0.0.2" resolved "https://registry.npmmirror.com/spawn-command/-/spawn-command-0.0.2.tgz#9544e1a43ca045f8531aac1a48cb29bdae62338e" @@ -24515,16 +22478,10 @@ stable@^0.1.8: version "0.1.8" resolved "https://registry.npmmirror.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" -stack-trace@0.0.x: +stack-trace@0.0.10, stack-trace@0.0.x: version "0.0.10" resolved "https://registry.npmmirror.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" -stack-utils@^1.0.1: - version "1.0.5" - resolved "https://registry.npmmirror.com/stack-utils/-/stack-utils-1.0.5.tgz#a19b0b01947e0029c8e451d5d61a498f5bb1471b" - dependencies: - escape-string-regexp "^2.0.0" - stack-utils@^2.0.3: version "2.0.6" resolved "https://registry.npmmirror.com/stack-utils/-/stack-utils-2.0.6.tgz#aaf0748169c02fc33c8232abccf933f54a1cc34f" @@ -24562,10 +22519,6 @@ std-env@^3.3.3: version "3.3.3" resolved "https://registry.npmmirror.com/std-env/-/std-env-3.3.3.tgz#a54f06eb245fdcfef53d56f3c0251f1d5c3d01fe" -stealthy-require@^1.1.1: - version "1.1.1" - resolved "https://registry.npmmirror.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b" - stop-iteration-iterator@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz#6a60be0b4ee757d1ed5254858ec66b10c49285e4" @@ -24593,6 +22546,11 @@ stream-each@^1.1.0: end-of-stream "^1.1.0" stream-shift "^1.0.0" +stream-exhaust@^1.0.1: + version "1.0.2" + resolved "https://registry.npmmirror.com/stream-exhaust/-/stream-exhaust-1.0.2.tgz#acdac8da59ef2bc1e17a2c0ccf6c320d120e555d" + integrity sha512-b/qaq/GlBK5xaq1yrK9/zFcyRSTNxmcZwFLGSTG0mXgZl/4Z6GgiyYOXOvY7N3eEvFRAG1bkDRz5EPGSvPYQlw== + stream-http@2.8.2: version "2.8.2" resolved "https://registry.npmmirror.com/stream-http/-/stream-http-2.8.2.tgz#4126e8c6b107004465918aa2fc35549e77402c87" @@ -24649,17 +22607,6 @@ string-convert@^0.2.0: version "0.2.1" resolved "https://registry.npmmirror.com/string-convert/-/string-convert-0.2.1.tgz#6982cc3049fbb4cd85f8b24568b9d9bf39eeff97" -string-hash@^1.1.1: - version "1.1.3" - resolved "https://registry.npmmirror.com/string-hash/-/string-hash-1.1.3.tgz#e8aafc0ac1855b4666929ed7dd1275df5d6c811b" - -string-length@^2.0.0: - version "2.0.0" - resolved "https://registry.npmmirror.com/string-length/-/string-length-2.0.0.tgz#d40dbb686a3ace960c1cffca562bf2c45f8363ed" - dependencies: - astral-regex "^1.0.0" - strip-ansi "^4.0.0" - string-length@^4.0.1: version "4.0.2" resolved "https://registry.npmmirror.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" @@ -24667,7 +22614,7 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -string-width@^1.0.1: +string-width@^1.0.1, string-width@^1.0.2: version "1.0.2" resolved "https://registry.npmmirror.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" dependencies: @@ -24690,7 +22637,7 @@ string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string-width@^3.0.0, string-width@^3.1.0: +string-width@^3.0.0: version "3.1.0" resolved "https://registry.npmmirror.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" dependencies: @@ -24723,7 +22670,7 @@ string.prototype.matchall@^4.0.8: regexp.prototype.flags "^1.4.3" side-channel "^1.0.4" -string.prototype.trim@^1.2.1, string.prototype.trim@^1.2.7, string.prototype.trim@~1.2.7: +string.prototype.trim@^1.2.7, string.prototype.trim@~1.2.7: version "1.2.7" resolved "https://registry.npmmirror.com/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz#a68352740859f6893f14ce3ef1bb3037f7a90533" dependencies: @@ -24782,7 +22729,7 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: +strip-ansi@^5.1.0: version "5.2.0" resolved "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" dependencies: @@ -24800,6 +22747,13 @@ strip-ansi@^7.0.1: dependencies: ansi-regex "^6.0.1" +strip-bom@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" + integrity sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g== + dependencies: + is-utf8 "^0.2.0" + strip-bom@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" @@ -24862,10 +22816,6 @@ strong-log-transformer@^2.1.0: minimist "^1.2.0" through "^2.3.4" -style-inject@^0.3.0: - version "0.3.0" - resolved "https://registry.npmmirror.com/style-inject/-/style-inject-0.3.0.tgz#d21c477affec91811cc82355832a700d22bf8dd3" - style-to-object@^0.4.1: version "0.4.1" resolved "https://registry.npmmirror.com/style-to-object/-/style-to-object-0.4.1.tgz#53cf856f7cf7f172d72939d9679556469ba5de37" @@ -24887,21 +22837,6 @@ styled-components@^5.3.3: shallowequal "^1.1.0" supports-color "^5.5.0" -stylehacks@^4.0.0: - version "4.0.3" - resolved "https://registry.npmmirror.com/stylehacks/-/stylehacks-4.0.3.tgz#6718fcaf4d1e07d8a1318690881e8d96726a71d5" - dependencies: - browserslist "^4.0.0" - postcss "^7.0.0" - postcss-selector-parser "^3.0.0" - -stylehacks@^5.1.1: - version "5.1.1" - resolved "https://registry.npmmirror.com/stylehacks/-/stylehacks-5.1.1.tgz#7934a34eb59d7152149fa69d6e9e56f2fc34bcc9" - dependencies: - browserslist "^4.21.4" - postcss-selector-parser "^6.0.4" - stylelint-config-recommended@^7.0.0: version "7.0.0" resolved "https://registry.npmmirror.com/stylelint-config-recommended/-/stylelint-config-recommended-7.0.0.tgz#7497372ae83ab7a6fffc18d7d7b424c6480ae15e" @@ -24958,13 +22893,7 @@ supports-color@^2.0.0: version "2.0.0" resolved "https://registry.npmmirror.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" -supports-color@^3.2.3: - version "3.2.3" - resolved "https://registry.npmmirror.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" - dependencies: - has-flag "^1.0.0" - -supports-color@^5.3.0, supports-color@^5.4.0, supports-color@^5.5.0: +supports-color@^5.3.0, supports-color@^5.5.0: version "5.5.0" resolved "https://registry.npmmirror.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" dependencies: @@ -24976,7 +22905,7 @@ supports-color@^6.1.0: dependencies: has-flag "^3.0.0" -supports-color@^7.0.0, supports-color@^7.1.0: +supports-color@^7.1.0: version "7.2.0" resolved "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" dependencies: @@ -24992,7 +22921,15 @@ supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" -svg-parser@^2.0.2, svg-parser@^2.0.4: +sver-compat@^1.5.0: + version "1.5.0" + resolved "https://registry.npmmirror.com/sver-compat/-/sver-compat-1.5.0.tgz#3cf87dfeb4d07b4a3f14827bc186b3fd0c645cd8" + integrity sha512-aFTHfmjwizMNlNE6dsGmoAM4lHjL0CyiobWaFiXWSlD7cIxshW422Nb8KbXCmR6z+0ZEPY+daXJrDyh/vuwTyg== + dependencies: + es6-iterator "^2.0.1" + es6-symbol "^3.1.1" + +svg-parser@^2.0.4: version "2.0.4" resolved "https://registry.npmmirror.com/svg-parser/-/svg-parser-2.0.4.tgz#fdc2e29e13951736140b76cb122c8ee6630eb6b5" @@ -25017,25 +22954,7 @@ svgo-browser@^1.3.7: unquote "~1.1.1" util.promisify "~1.0.0" -svgo@^1.0.0, svgo@^1.2.2: - version "1.3.2" - resolved "https://registry.npmmirror.com/svgo/-/svgo-1.3.2.tgz#b6dc511c063346c9e415b81e43401145b96d4167" - dependencies: - chalk "^2.4.1" - coa "^2.0.2" - css-select "^2.0.0" - css-select-base-adapter "^0.1.1" - css-tree "1.0.0-alpha.37" - csso "^4.0.2" - js-yaml "^3.13.1" - mkdirp "~0.5.1" - object.values "^1.1.0" - sax "~1.2.4" - stable "^0.1.8" - unquote "~1.1.1" - util.promisify "~1.0.0" - -svgo@^2.7.0, svgo@^2.8.0: +svgo@^2.8.0: version "2.8.0" resolved "https://registry.npmmirror.com/svgo/-/svgo-2.8.0.tgz#4ff80cce6710dc2795f0c7c74101e6764cfccd24" dependencies: @@ -25065,7 +22984,7 @@ swr@^2.0.0: dependencies: use-sync-external-store "^1.2.0" -symbol-tree@^3.2.2, symbol-tree@^3.2.4: +symbol-tree@^3.2.4: version "3.2.4" resolved "https://registry.npmmirror.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" @@ -25187,10 +23106,6 @@ tar@^6.0.2, tar@^6.1.0, tar@^6.1.11, tar@^6.1.13, tar@^6.1.2: mkdirp "^1.0.3" yallist "^4.0.0" -temp-dir@2.0.0: - version "2.0.0" - resolved "https://registry.npmmirror.com/temp-dir/-/temp-dir-2.0.0.tgz#bde92b05bdfeb1516e804c9c00ad45177f31321e" - temp-dir@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" @@ -25222,16 +23137,7 @@ term-size@^1.2.0: dependencies: execa "^0.7.0" -ternary-stream@^2.0.1: - version "2.1.1" - resolved "https://registry.npmmirror.com/ternary-stream/-/ternary-stream-2.1.1.tgz#4ad64b98668d796a085af2c493885a435a8a8bfc" - dependencies: - duplexify "^3.5.0" - fork-stream "^0.0.4" - merge-stream "^1.0.0" - through2 "^2.0.1" - -terser@^5.0.0, terser@^5.10.0: +terser@^5.10.0: version "5.18.2" resolved "https://registry.npmmirror.com/terser/-/terser-5.18.2.tgz#ff3072a0faf21ffd38f99acc9a0ddf7b5f07b948" dependencies: @@ -25240,15 +23146,6 @@ terser@^5.0.0, terser@^5.10.0: commander "^2.20.0" source-map-support "~0.5.20" -test-exclude@^5.2.3: - version "5.2.3" - resolved "https://registry.npmmirror.com/test-exclude/-/test-exclude-5.2.3.tgz#c3d3e1e311eb7ee405e092dac10aefd09091eac0" - dependencies: - glob "^7.1.3" - minimatch "^3.0.4" - read-pkg-up "^4.0.0" - require-main-filename "^2.0.0" - test-exclude@^6.0.0: version "6.0.0" resolved "https://registry.npmmirror.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" @@ -25307,10 +23204,6 @@ thread-stream@^0.15.1: dependencies: real-require "^0.1.0" -throat@^4.0.0: - version "4.1.0" - resolved "https://registry.npmmirror.com/throat/-/throat-4.1.0.tgz#89037cbc92c56ab18926e6ba4cbb200e15672a6a" - throttle-debounce@^5.0.0: version "5.0.0" resolved "https://registry.npmmirror.com/throttle-debounce/-/throttle-debounce-5.0.0.tgz#a17a4039e82a2ed38a5e7268e4132d6960d41933" @@ -25322,20 +23215,7 @@ through2-filter@^3.0.0: through2 "~2.0.0" xtend "~4.0.0" -through2@3.0.0: - version "3.0.0" - resolved "https://registry.npmmirror.com/through2/-/through2-3.0.0.tgz#468b461df9cd9fcc170f22ebf6852e467e578ff2" - dependencies: - readable-stream "2 || 3" - xtend "~4.0.1" - -through2@3.0.1: - version "3.0.1" - resolved "https://registry.npmmirror.com/through2/-/through2-3.0.1.tgz#39276e713c3302edf9e388dd9c812dd3b825bd5a" - dependencies: - readable-stream "2 || 3" - -through2@^2.0.0, through2@^2.0.1, through2@^2.0.3, through2@~2.0.0: +through2@^2.0.0, through2@^2.0.3, through2@~2.0.0: version "2.0.5" resolved "https://registry.npmmirror.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" dependencies: @@ -25380,10 +23260,6 @@ timers-browserify@^2.0.4: dependencies: setimmediate "^1.0.4" -timsort@^0.3.0: - version "0.3.0" - resolved "https://registry.npmmirror.com/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4" - tiny-emitter@^2.1.0: version "2.1.0" resolved "https://registry.npmmirror.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423" @@ -25495,13 +23371,6 @@ toposort@^2.0.2: version "2.0.2" resolved "https://registry.npmmirror.com/toposort/-/toposort-2.0.2.tgz#ae21768175d1559d48bef35420b2f4962f09c330" -tough-cookie@^2.3.3, tough-cookie@^2.3.4, tough-cookie@~2.5.0: - version "2.5.0" - resolved "https://registry.npmmirror.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" - dependencies: - psl "^1.1.28" - punycode "^2.1.1" - tough-cookie@^4.0.0: version "4.1.3" resolved "https://registry.npmmirror.com/tough-cookie/-/tough-cookie-4.1.3.tgz#97b9adb0728b42280aa3d814b6b999b2ff0318bf" @@ -25511,6 +23380,13 @@ tough-cookie@^4.0.0: universalify "^0.2.0" url-parse "^1.5.3" +tough-cookie@~2.5.0: + version "2.5.0" + resolved "https://registry.npmmirror.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" + dependencies: + psl "^1.1.28" + punycode "^2.1.1" + tr46@^1.0.1: version "1.0.1" resolved "https://registry.npmmirror.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09" @@ -25586,15 +23462,6 @@ ts-loader@^7.0.4: micromatch "^4.0.0" semver "^6.0.0" -ts-loader@^9.4.3: - version "9.4.4" - resolved "https://registry.npmmirror.com/ts-loader/-/ts-loader-9.4.4.tgz#6ceaf4d58dcc6979f84125335904920884b7cee4" - dependencies: - chalk "^4.1.0" - enhanced-resolve "^5.0.0" - micromatch "^4.0.0" - semver "^7.3.4" - ts-node-dev@1.1.8: version "1.1.8" resolved "https://registry.npmmirror.com/ts-node-dev/-/ts-node-dev-1.1.8.tgz#95520d8ab9d45fffa854d6668e2f8f9286241066" @@ -25677,9 +23544,10 @@ tsscmp@1.0.6: version "1.0.6" resolved "https://registry.npmmirror.com/tsscmp/-/tsscmp-1.0.6.tgz#85b99583ac3589ec4bfef825b5000aa911d605eb" -tsup@7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/tsup/-/tsup-7.1.0.tgz#11369762b68032da118a714a38d5a1d26ac45293" +tsup@7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/tsup/-/tsup-7.2.0.tgz#bb24c0d5e436477900c712e42adc67200607303c" + integrity sha512-vDHlczXbgUvY3rWvqFEbSqmC1L7woozbzngMqTtL2PGBODTtWlRwGDDawhvWzr5c1QjKe4OAKqJGfE1xeXUvtQ== dependencies: bundle-require "^4.0.0" cac "^6.7.12" @@ -25791,6 +23659,16 @@ type-is@^1.6.16, type-is@^1.6.18, type-is@^1.6.4: media-typer "0.3.0" mime-types "~2.1.24" +type@^1.0.1: + version "1.2.0" + resolved "https://registry.npmmirror.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" + integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== + +type@^2.7.2: + version "2.7.2" + resolved "https://registry.npmmirror.com/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0" + integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== + typed-array-length@^1.0.4: version "1.0.4" resolved "https://registry.npmmirror.com/typed-array-length/-/typed-array-length-1.0.4.tgz#89d83785e5c4098bec72e08b319651f0eac9c1bb" @@ -25817,10 +23695,6 @@ typescript@5.1.3: version "5.1.3" resolved "https://registry.npmmirror.com/typescript/-/typescript-5.1.3.tgz#8d84219244a6b40b6fb2b33cc1c062f715b9e826" -typescript@^3.7.2: - version "3.9.10" - resolved "https://registry.npmmirror.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8" - typescript@^4.4.3: version "4.9.5" resolved "https://registry.npmmirror.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" @@ -25858,70 +23732,6 @@ umask@^1.1.0: version "1.1.0" resolved "https://registry.npmmirror.com/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d" -umi-test@^1.2.0: - version "1.9.7" - resolved "https://registry.npmmirror.com/umi-test/-/umi-test-1.9.7.tgz#6c97e4e3116bf50d01f4ca0af7f1a701104b595e" - dependencies: - "@babel/core" "7.4.5" - "@babel/preset-typescript" "7.3.3" - babel-core "7.0.0-bridge.0" - babel-jest "^24.8.0" - babel-plugin-module-resolver "3.2.0" - babel-preset-umi "1.8.4" - core-js "3.1.4" - debug "4.1.1" - enzyme "^3.10.0" - enzyme-adapter-react-16 "^1.14.0" - identity-obj-proxy "3.0.0" - jest "^24.8.0" - jest-cli "^24.8.0" - jest-pnp-resolver "^1.2.0" - jest-resolve "^24.8.0" - react "^16.8.6" - react-dom "^16.8.6" - regenerator-runtime "0.13.2" - typescript "^3.7.2" - umi-utils "1.7.3" - yargs-parser "13.1.1" - -umi-tools@^0.4.0: - version "0.4.0" - resolved "https://registry.npmmirror.com/umi-tools/-/umi-tools-0.4.0.tgz#ff1573df6abc6a579ed523a522581ed68246ff3e" - dependencies: - "@babel/core" "^7.1.2" - "@babel/plugin-proposal-class-properties" "^7.1.0" - "@babel/plugin-proposal-do-expressions" "^7.0.0" - "@babel/plugin-proposal-export-default-from" "^7.0.0" - "@babel/preset-env" "^7.1.0" - "@babel/preset-react" "^7.0.0" - "@babel/preset-typescript" "^7.1.0" - "@babel/runtime" "^7.3.0" - chalk "^2.4.1" - chokidar "^2.0.4" - rimraf "^2.6.2" - rollup "1.1.2" - rollup-plugin-commonjs "^9.2.0" - rollup-plugin-node-resolve "4.0.0" - rollup-plugin-postcss "2.0.3" - rollup-plugin-replace "^2.1.0" - signale "^1.3.0" - slash2 "^2.0.0" - through2 "3.0.0" - umi-test "^1.2.0" - vinyl-fs "^3.0.3" - yargs-parser "13.0.0" - -umi-utils@1.7.3: - version "1.7.3" - resolved "https://registry.npmmirror.com/umi-utils/-/umi-utils-1.7.3.tgz#fe11d487d2894f2e06ca7f65a2a19d5b1f901335" - dependencies: - chalk "2.4.2" - dotenv "^8.2.0" - is-url "1.2.4" - node-fetch "2.6.0" - prettier "1.15.3" - slash2 "2.0.0" - umi@^4.0.64, umi@^4.0.69: version "4.0.72" resolved "https://registry.npmmirror.com/umi/-/umi-4.0.72.tgz#e6108f18b9c3de4522fcd1a1d217ad6bd94bfa1c" @@ -25983,6 +23793,27 @@ underscore@^1.13.1: version "1.13.6" resolved "https://registry.npmmirror.com/underscore/-/underscore-1.13.6.tgz#04786a1f589dc6c09f761fc5f45b89e935136441" +undertaker-registry@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/undertaker-registry/-/undertaker-registry-1.0.1.tgz#5e4bda308e4a8a2ae584f9b9a4359a499825cc50" + integrity sha512-UR1khWeAjugW3548EfQmL9Z7pGMlBgXteQpr1IZeZBtnkCJQJIJ1Scj0mb9wQaPvUZ9Q17XqW6TIaPchJkyfqw== + +undertaker@^1.2.1: + version "1.3.0" + resolved "https://registry.npmmirror.com/undertaker/-/undertaker-1.3.0.tgz#363a6e541f27954d5791d6fa3c1d321666f86d18" + integrity sha512-/RXwi5m/Mu3H6IHQGww3GNt1PNXlbeCuclF2QYR14L/2CHPz3DFZkvB5hZ0N/QUkiXWCACML2jXViIQEQc2MLg== + dependencies: + arr-flatten "^1.0.1" + arr-map "^2.0.0" + bach "^1.0.0" + collection-map "^1.0.0" + es6-weak-map "^2.0.1" + fast-levenshtein "^1.0.0" + last-run "^1.1.0" + object.defaults "^1.0.0" + object.reduce "^1.0.0" + undertaker-registry "^1.0.0" + unescape-js@^1.1.4: version "1.1.4" resolved "https://registry.npmmirror.com/unescape-js/-/unescape-js-1.1.4.tgz#4bc6389c499cb055a98364a0b3094e1c3d5da395" @@ -26039,14 +23870,6 @@ union-value@^1.0.0: is-extendable "^0.1.1" set-value "^2.0.1" -uniq@^1.0.1: - version "1.0.1" - resolved "https://registry.npmmirror.com/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff" - -uniqs@^2.0.0: - version "2.0.0" - resolved "https://registry.npmmirror.com/uniqs/-/uniqs-2.0.0.tgz#ffede4b36b25290696e6e165d4a59edb998e6b02" - unique-filename@^1.1.0, unique-filename@^1.1.1: version "1.1.1" resolved "https://registry.npmmirror.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" @@ -26334,18 +24157,6 @@ util-promisify@^2.1.0: dependencies: object.getownpropertydescriptors "^2.0.3" -util.promisify@^1.0.0: - version "1.1.2" - resolved "https://registry.npmmirror.com/util.promisify/-/util.promisify-1.1.2.tgz#02b3dbadbb80071eee4c43aed58747afdfc516db" - dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - for-each "^0.3.3" - has-proto "^1.0.1" - has-symbols "^1.0.3" - object.getownpropertydescriptors "^2.1.6" - safe-array-concat "^1.0.0" - util.promisify@~1.0.0: version "1.0.1" resolved "https://registry.npmmirror.com/util.promisify/-/util.promisify-1.0.1.tgz#6baf7774b80eeb0f7520d8b81d07982a59abbaee" @@ -26426,6 +24237,13 @@ v8-to-istanbul@^9.0.1: "@types/istanbul-lib-coverage" "^2.0.1" convert-source-map "^1.6.0" +v8flags@^3.2.0: + version "3.2.0" + resolved "https://registry.npmmirror.com/v8flags/-/v8flags-3.2.0.tgz#b243e3b4dfd731fa774e7492128109a0fe66d656" + integrity sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg== + dependencies: + homedir-polyfill "^1.0.1" + validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: version "3.0.4" resolved "https://registry.npmmirror.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" @@ -26459,10 +24277,6 @@ vary@^1, vary@^1.1.2, vary@~1.1.2: version "1.1.2" resolved "https://registry.npmmirror.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" -vendors@^1.0.0: - version "1.0.4" - resolved "https://registry.npmmirror.com/vendors/-/vendors-1.0.4.tgz#e2b800a53e7a29b93506c3cf41100d16c4c4ad8e" - verror@1.10.0: version "1.10.0" resolved "https://registry.npmmirror.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" @@ -26494,7 +24308,7 @@ vfile@^5.0.0, vfile@^5.3.4: unist-util-stringify-position "^3.0.0" vfile-message "^3.0.0" -vinyl-fs@3.0.3, vinyl-fs@^3.0.3: +vinyl-fs@^3.0.0, vinyl-fs@^3.0.3: version "3.0.3" resolved "https://registry.npmmirror.com/vinyl-fs/-/vinyl-fs-3.0.3.tgz#c85849405f67428feabbbd5c5dbdd64f47d31bc7" dependencies: @@ -26528,12 +24342,6 @@ vinyl-sourcemap@^1.1.0: remove-bom-buffer "^3.0.0" vinyl "^2.0.0" -vinyl-sourcemaps-apply@^0.2.0: - version "0.2.1" - resolved "https://registry.npmmirror.com/vinyl-sourcemaps-apply/-/vinyl-sourcemaps-apply-0.2.1.tgz#ab6549d61d172c2b1b87be5c508d239c8ef87705" - dependencies: - source-map "^0.5.1" - vinyl@^2.0.0, vinyl@^2.2.0: version "2.2.1" resolved "https://registry.npmmirror.com/vinyl/-/vinyl-2.2.1.tgz#23cfb8bbab5ece3803aa2c0a1eb28af7cbba1974" @@ -26560,6 +24368,14 @@ vite-plugin-css-injected-by-js@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/vite-plugin-css-injected-by-js/-/vite-plugin-css-injected-by-js-3.2.1.tgz#c23e10e28a1afb78414fa3c162ac8a253cd1a6a4" +vite-plugin-lib-inject-css@1.2.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/vite-plugin-lib-inject-css/-/vite-plugin-lib-inject-css-1.2.0.tgz#40ffdd51f6e96e47a72b2df66e1cea6a23f495b2" + integrity sha512-mELCOWG0f0auFkDGQHAL7Ks9oQ6RhB0xHlZ6GA0mTLMkkQcHCrZ8mkJFoH+ryZTNqxNLlYTLqbrnPClOO0Fq/Q== + dependencies: + magic-string "^0.30.0" + picocolors "^1.0.0" + vite@4.3.1: version "4.3.1" resolved "https://registry.npmmirror.com/vite/-/vite-4.3.1.tgz#9badb1377f995632cdcf05f32103414db6fbb95a" @@ -26643,7 +24459,7 @@ void-elements@3.1.0: version "3.1.0" resolved "https://registry.npmmirror.com/void-elements/-/void-elements-3.1.0.tgz#614f7fbf8d801f0bb5f0661f5b2f5785750e4f09" -w3c-hr-time@^1.0.1, w3c-hr-time@^1.0.2: +w3c-hr-time@^1.0.2: version "1.0.2" resolved "https://registry.npmmirror.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd" dependencies: @@ -26655,7 +24471,7 @@ w3c-xmlserializer@^2.0.0: dependencies: xml-name-validator "^3.0.0" -walker@^1.0.7, walker@^1.0.8, walker@~1.0.5: +walker@^1.0.8: version "1.0.8" resolved "https://registry.npmmirror.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" dependencies: @@ -26707,13 +24523,13 @@ webidl-conversions@^6.1.0: version "6.1.0" resolved "https://registry.npmmirror.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514" -whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.3, whatwg-encoding@^1.0.5: +whatwg-encoding@^1.0.5: version "1.0.5" resolved "https://registry.npmmirror.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0" dependencies: iconv-lite "0.4.24" -whatwg-mimetype@^2.1.0, whatwg-mimetype@^2.2.0, whatwg-mimetype@^2.3.0: +whatwg-mimetype@^2.3.0: version "2.3.0" resolved "https://registry.npmmirror.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" @@ -26724,14 +24540,6 @@ whatwg-url@^5.0.0: tr46 "~0.0.3" webidl-conversions "^3.0.0" -whatwg-url@^6.4.1: - version "6.5.0" - resolved "https://registry.npmmirror.com/whatwg-url/-/whatwg-url-6.5.0.tgz#f2df02bff176fd65070df74ad5ccbb5a199965a8" - dependencies: - lodash.sortby "^4.7.0" - tr46 "^1.0.1" - webidl-conversions "^4.0.2" - whatwg-url@^7.0.0: version "7.1.0" resolved "https://registry.npmmirror.com/whatwg-url/-/whatwg-url-7.1.0.tgz#c2c492f1eca612988efd3d2266be1b9fc6170d06" @@ -26784,9 +24592,10 @@ which-collection@^1.0.1: is-weakmap "^2.0.1" is-weakset "^2.0.1" -which-module@^2.0.0: - version "2.0.1" - resolved "https://registry.npmmirror.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" +which-module@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" + integrity sha512-F6+WgncZi/mJDrammbTuHe1q0R5hOXv/mBaiNA2TCNT/LTHusX0V+CJnj9XT8ki5ln2UZyyddDgHfCzyrOH7MQ== which-typed-array@^1.1.9: version "1.1.9" @@ -26799,7 +24608,7 @@ which-typed-array@^1.1.9: has-tostringtag "^1.0.0" is-typed-array "^1.1.10" -which@^1.2.12, which@^1.2.9, which@^1.3.0, which@^1.3.1: +which@^1.2.12, which@^1.2.14, which@^1.2.9, which@^1.3.1: version "1.3.1" resolved "https://registry.npmmirror.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" dependencies: @@ -26909,13 +24718,13 @@ wordwrap@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" -wrap-ansi@^5.1.0: - version "5.1.0" - resolved "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" +wrap-ansi@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" + integrity sha512-vAaEaDM946gbNpH5pLVNR+vX2ht6n0Bt3GXwVB1AuAqZosOvHNF3P7wDnh8KLkSqgUh0uh77le7Owgoz+Z9XBw== dependencies: - ansi-styles "^3.2.0" - string-width "^3.0.0" - strip-ansi "^5.0.0" + string-width "^1.0.1" + strip-ansi "^3.0.1" wrap-ansi@^6.2.0: version "6.2.0" @@ -26937,14 +24746,6 @@ wrappy@1: version "1.0.2" resolved "https://registry.npmmirror.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" -write-file-atomic@2.4.1: - version "2.4.1" - resolved "https://registry.npmmirror.com/write-file-atomic/-/write-file-atomic-2.4.1.tgz#d0b05463c188ae804396fd5ab2a370062af87529" - dependencies: - graceful-fs "^4.1.11" - imurmurhash "^0.1.4" - signal-exit "^3.0.2" - write-file-atomic@^2.0.0, write-file-atomic@^2.4.2: version "2.4.3" resolved "https://registry.npmmirror.com/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" @@ -26999,12 +24800,6 @@ write-pkg@^4.0.0: type-fest "^0.4.1" write-json-file "^3.2.0" -ws@^5.2.0: - version "5.2.3" - resolved "https://registry.npmmirror.com/ws/-/ws-5.2.3.tgz#05541053414921bc29c63bee14b8b0dd50b07b3d" - dependencies: - async-limiter "~1.0.0" - ws@^7.0.0, ws@^7.4.6, ws@^7.5.9: version "7.5.9" resolved "https://registry.npmmirror.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" @@ -27141,7 +24936,7 @@ yallist@^4.0.0: version "4.0.0" resolved "https://registry.npmmirror.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" -yaml@^1.10.0, yaml@^1.10.2: +yaml@^1.10.0: version "1.10.2" resolved "https://registry.npmmirror.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" @@ -27156,21 +24951,7 @@ yamljs@0.3.0: argparse "^1.0.7" glob "^7.0.5" -yargs-parser@13.0.0: - version "13.0.0" - resolved "https://registry.npmmirror.com/yargs-parser/-/yargs-parser-13.0.0.tgz#3fc44f3e76a8bdb1cc3602e860108602e5ccde8b" - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - -yargs-parser@13.1.1: - version "13.1.1" - resolved "https://registry.npmmirror.com/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0" - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - -yargs-parser@13.1.2, yargs-parser@^13.1.2: +yargs-parser@13.1.2: version "13.1.2" resolved "https://registry.npmmirror.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38" dependencies: @@ -27189,20 +24970,13 @@ yargs-parser@^21.0.1, yargs-parser@^21.1.1: version "21.1.1" resolved "https://registry.npmmirror.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" -yargs@^13.3.0: - version "13.3.2" - resolved "https://registry.npmmirror.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" +yargs-parser@^5.0.1: + version "5.0.1" + resolved "https://registry.npmmirror.com/yargs-parser/-/yargs-parser-5.0.1.tgz#7ede329c1d8cdbbe209bd25cdb990e9b1ebbb394" + integrity sha512-wpav5XYiddjXxirPoCTUPbqM0PXvJ9hiBMvuJgInvo4/lAOTZzUprArw17q2O1P2+GHhbBr18/iQwjL5Z9BqfA== dependencies: - cliui "^5.0.0" - find-up "^3.0.0" - get-caller-file "^2.0.1" - require-directory "^2.1.1" - require-main-filename "^2.0.0" - set-blocking "^2.0.0" - string-width "^3.0.0" - which-module "^2.0.0" - y18n "^4.0.0" - yargs-parser "^13.1.2" + camelcase "^3.0.0" + object.assign "^4.1.0" yargs@^16.2.0: version "16.2.0" @@ -27228,6 +25002,25 @@ yargs@^17.0.0, yargs@^17.3.1, yargs@^17.5.1, yargs@^17.7.2: y18n "^5.0.5" yargs-parser "^21.1.1" +yargs@^7.1.0: + version "7.1.2" + resolved "https://registry.npmmirror.com/yargs/-/yargs-7.1.2.tgz#63a0a5d42143879fdbb30370741374e0641d55db" + integrity sha512-ZEjj/dQYQy0Zx0lgLMLR8QuaqTihnxirir7EwUHp1Axq4e3+k8jXU5K0VLbNvedv1f4EWtBonDIZm0NUr+jCcA== + dependencies: + camelcase "^3.0.0" + cliui "^3.2.0" + decamelize "^1.1.1" + get-caller-file "^1.0.1" + os-locale "^1.4.0" + read-pkg-up "^1.0.1" + require-directory "^2.1.1" + require-main-filename "^1.0.1" + set-blocking "^2.0.0" + string-width "^1.0.2" + which-module "^1.0.0" + y18n "^3.2.1" + yargs-parser "^5.0.1" + yargs@~3.10.0: version "3.10.0" resolved "https://registry.npmmirror.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1"