Fix module resolution

This commit is contained in:
Paulo Gustavo Veiga 2022-01-30 02:37:14 -08:00
parent b4de771e80
commit 41fd68a338
19 changed files with 128 additions and 178 deletions

4
packages/editor/src/@types/index.d.ts vendored Normal file
View File

@ -0,0 +1,4 @@
declare module "*.svg" {
const content: any;
export default content;
}

View File

@ -1,30 +0,0 @@
declare module "*.svg" {
const content: any;
export default content;
}
declare module "@wisemapping/mindplot" {
const mindplot: {
Mindmap: any,
PersistenceManager: any,
Designer: any,
LocalStorageManager: any,
Menu: any,
DesignerBuilder: any,
RESTPersistenceManager: any,
DesignerOptionsBuilder: any,
buildDesigner: any,
$notify: any
};
export var Mindmap: any;
export var PersistenceManager: any;
export var Designer: any;
export var LocalStorageManager: any;
export var Menu: any;
export var DesignerBuilder: any;
export var RESTPersistenceManager: any;
export var DesignerOptionsBuilder: any;
export var buildDesigner: any;
export var $notify: any;
export default mindplot;
}

View File

@ -2,7 +2,8 @@ import React from 'react';
import Toolbar, { ToolbarActionType } from './components/toolbar'; import Toolbar, { ToolbarActionType } from './components/toolbar';
import Footer from './components/footer'; import Footer from './components/footer';
import { IntlProvider } from 'react-intl'; import { IntlProvider } from 'react-intl';
import * as mindplot from '@wisemapping/mindplot'; import { $notify, buildDesigner, LocalStorageManager, PersistenceManager, RESTPersistenceManager, DesignerOptionsBuilder } from '@wisemapping/mindplot';
declare global { declare global {
var memoryPersistence: boolean; var memoryPersistence: boolean;
var readOnly: boolean; var readOnly: boolean;
@ -18,7 +19,7 @@ declare global {
} }
export type EditorPropsType = { export type EditorPropsType = {
initCallback?: (m: typeof mindplot) => () => void; initCallback?: () => void;
mapId: number; mapId: number;
memoryPersistence: boolean; memoryPersistence: boolean;
readOnlyMode: boolean; readOnlyMode: boolean;
@ -26,15 +27,13 @@ export type EditorPropsType = {
onAction: (action: ToolbarActionType) => void; onAction: (action: ToolbarActionType) => void;
}; };
const initMindplot = ({ const initMindplot = () => {
PersistenceManager,
RESTPersistenceManager, // Change page title ...
LocalStorageManager, document.title = `${global.mapTitle} | WiseMapping `
DesignerOptionsBuilder,
buildDesigner, // Configure persistence manager ...
$notify, let persistence;
}: typeof mindplot) => () => {
let persistence: typeof PersistenceManager;
if (!global.memoryPersistence && !global.readOnly) { if (!global.memoryPersistence && !global.readOnly) {
persistence = new RESTPersistenceManager({ persistence = new RESTPersistenceManager({
documentUrl: '/c/restful/maps/{id}/document', documentUrl: '/c/restful/maps/{id}/document',
@ -45,8 +44,7 @@ const initMindplot = ({
}); });
} else { } else {
persistence = new LocalStorageManager( persistence = new LocalStorageManager(
`/c/restful/maps/{id}/${global.historyId ? `${global.historyId}/` : ''}document/xml${ `/c/restful/maps/{id}/${global.historyId ? `${global.historyId}/` : ''}document/xml${!global.isAuth ? '-pub' : ''
!global.isAuth ? '-pub' : ''
}`, }`,
true true
); );
@ -58,9 +56,9 @@ const initMindplot = ({
const options = DesignerOptionsBuilder.buildOptions({ const options = DesignerOptionsBuilder.buildOptions({
persistenceManager: persistence, persistenceManager: persistence,
readOnly: Boolean(global.readOnly || false), readOnly: Boolean(global.readOnly || false),
mapId: global.mapId, mapId: String(global.mapId),
container: 'mindplot', container: 'mindplot',
zoom: zoomParam || global.userOptions ? global.userOptions.zoom : 1, zoom: zoomParam | (global.userOptions != undefined ? Number.parseFloat(global.userOptions.zoom as string) : 1),
locale: global.locale, locale: global.locale,
}); });
@ -85,8 +83,8 @@ export default function Editor({
locale = 'en', locale = 'en',
onAction, onAction,
}: EditorPropsType): React.ReactElement { }: EditorPropsType): React.ReactElement {
React.useEffect(initCallback(mindplot), []); React.useEffect(initCallback, []);
return ( return (
<IntlProvider locale={locale} defaultLocale="en" messages={{}}> <IntlProvider locale={locale} defaultLocale="en" messages={{}}>
@ -101,4 +99,4 @@ export default function Editor({
<Footer showTryPanel={memoryPersistence} /> <Footer showTryPanel={memoryPersistence} />
</IntlProvider> </IntlProvider>
); );
} }

View File

@ -2,6 +2,7 @@ import '../css/editor.css';
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import Editor from '../../../../src/index'; import Editor from '../../../../src/index';
import { buildDesigner, LocalStorageManager, PersistenceManager, DesignerOptionsBuilder } from '@wisemapping/mindplot';
global.accountName = 'Test User'; global.accountName = 'Test User';
global.accountEmail = 'test@example.com'; global.accountEmail = 'test@example.com';
@ -11,12 +12,7 @@ global.mapId = 'welcome';
global.locale = 'en'; global.locale = 'en';
const initialization = ({ const initialization = () => {
LocalStorageManager,
DesignerOptionsBuilder,
buildDesigner,
PersistenceManager
}) => () => {
const p = new LocalStorageManager('samples/{id}.wxml'); const p = new LocalStorageManager('samples/{id}.wxml');
const options = DesignerOptionsBuilder.buildOptions({ const options = DesignerOptionsBuilder.buildOptions({
persistenceManager: p persistenceManager: p

View File

@ -2,25 +2,25 @@ import '../css/embedded.css';
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import Editor from '../../../../src/index'; import Editor from '../../../../src/index';
import { buildDesigner, LocalStorageManager, PersistenceManager, DesignerOptionsBuilder } from '@wisemapping/mindplot';
const initialization =
({ LocalStorageManager, DesignerOptionsBuilder, buildDesigner, PersistenceManager }) =>
() => {
// Options has been defined in by a external file ?
const p = new LocalStorageManager('samples/{id}.wxml');
const options = DesignerOptionsBuilder.buildOptions({ persistenceManager: p });
const designer = buildDesigner(options);
designer.addEvent('loadSuccess', () => { const initialization = () => {
document.getElementById('mindplot').classList.add('ready'); // Options has been defined in by a external file ?
}); const p = new LocalStorageManager('samples/{id}.wxml');
const options = DesignerOptionsBuilder.buildOptions({ persistenceManager: p });
const designer = buildDesigner(options);
// Load map from XML file persisted on disk... designer.addEvent('loadSuccess', () => {
const mapId = 'welcome'; document.getElementById('mindplot').classList.add('ready');
const persistence = PersistenceManager.getInstance(); });
const mindmap = persistence.load(mapId);
designer.loadMap(mindmap); // Load map from XML file persisted on disk...
}; const mapId = 'welcome';
const persistence = PersistenceManager.getInstance();
const mindmap = persistence.load(mapId);
designer.loadMap(mindmap);
};
ReactDOM.render( ReactDOM.render(
<Editor <Editor

View File

@ -2,13 +2,10 @@ import '../css/viewmode.css';
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import Editor from '../../../../src/index'; import Editor from '../../../../src/index';
import { buildDesigner, LocalStorageManager, PersistenceManager, DesignerOptionsBuilder } from '@wisemapping/mindplot';
const initialization = ({
LocalStorageManager, const initialization = () => {
DesignerOptionsBuilder,
buildDesigner,
PersistenceManager
}) => () => {
const p = new LocalStorageManager('samples/{id}.wxml'); const p = new LocalStorageManager('samples/{id}.wxml');
const options = DesignerOptionsBuilder.buildOptions({ persistenceManager: p, readOnly: true, saveOnLoad: false }); const options = DesignerOptionsBuilder.buildOptions({ persistenceManager: p, readOnly: true, saveOnLoad: false });

View File

@ -1,13 +1,24 @@
{ {
"include": [
"src/**/*"
],
"compilerOptions": { "compilerOptions": {
"jsx": "react",
"outDir": "./dist/", "outDir": "./dist/",
"sourceMap": true, "sourceMap": true,
"noImplicitAny": true, "noImplicitAny": false,
"module": "commonjs", "module": "amd",
"target": "es5", "moduleResolution": "node",
"jsx": "react", "strict": false,
"allowJs": true, "target": "es6",
"allowJs": true,
"esModuleInterop": true, "esModuleInterop": true,
"declaration": true,
"rootDirs": [
"src",
]
}, },
"exclude": ["node_modules"] "exclude": [
} "node_modules"
]
}

View File

@ -6,10 +6,12 @@ module.exports = {
output: { output: {
path: path.resolve(__dirname, 'dist'), path: path.resolve(__dirname, 'dist'),
filename: '[name].js', filename: '[name].js',
publicPath: '', publicPath: '',
library: { library: {
type: 'umd', type: 'umd',
}, }, },
stats:{
errorDetails: true
}, },
entry: { entry: {
"editor.bundle": path.join(__dirname, 'src', 'index.tsx') "editor.bundle": path.join(__dirname, 'src', 'index.tsx')

View File

@ -2,8 +2,6 @@
"compilerOptions": { "compilerOptions": {
"baseUrl": ".", "baseUrl": ".",
"module": "ES6", "module": "ES6",
"paths": {
"@libraries/*": ["../../libraries/*"] }
}, },
"exclude": ["node_modules"] "exclude": ["node_modules"]
} }

View File

@ -1,12 +0,0 @@
declare module "@wisemapping/mindplot" {
const mindplot: {
Mindmap,
PersistenceManager,
Designer,
LocalStorageManager,
Menu,
DesignerBuilder,
};
export default mindplot;
}

View File

@ -3,11 +3,11 @@
"version": "5.0.2", "version": "5.0.2",
"description": "WiseMapping - Mindplot Canvas Library", "description": "WiseMapping - Mindplot Canvas Library",
"homepage": "http://www.wisemapping.org/", "homepage": "http://www.wisemapping.org/",
"main": "dist/mindplot.js",
"directories": { "directories": {
"lib": "src", "lib": "src",
"test": "__tests__" "test": "__tests__"
}, },
"main": "src/index.ts",
"files": [ "files": [
"src", "src",
"assets", "assets",

View File

@ -17,9 +17,8 @@
*/ */
import { $defined } from '@wisemapping/core-js'; import { $defined } from '@wisemapping/core-js';
import $ from 'jquery'; import $ from 'jquery';
// TODO: use jquery.hotkeys from npm or setup eslint-import-resolver-alias plugin
// eslint-disable-next-line import/no-unresolved, import/no-extraneous-dependencies import initHotKeyPluggin from '../../../../libraries/jquery.hotkeys';
import initHotKeyPluggin from '@libraries/jquery.hotkeys';
import Events from './Events'; import Events from './Events';
import ActionDispatcher from './ActionDispatcher'; import ActionDispatcher from './ActionDispatcher';

View File

@ -38,7 +38,7 @@ import {
// This hack is required to initialize Bootstrap. In future, this should be removed. // This hack is required to initialize Bootstrap. In future, this should be removed.
// @ts-ignore // @ts-ignore
global.jQuery = jquery; global.jQuery = jquery;
require('@libraries/bootstrap/js/bootstrap'); require('../../../libraries/bootstrap/js/bootstrap.min');
export { export {
Mindmap, Mindmap,

View File

@ -33,7 +33,7 @@ import DesignerOptionsBuilder from './components/DesignerOptionsBuilder';
// This hack is required to initialize Bootstrap. In future, this should be removed. // This hack is required to initialize Bootstrap. In future, this should be removed.
// @ts-ignore // @ts-ignore
global.jQuery = jquery; global.jQuery = jquery;
require('@libraries/bootstrap/js/bootstrap'); require('../../../libraries/bootstrap/js/bootstrap.min');
// Configure designer options ... // Configure designer options ...
let persistence:PersistenceManager; let persistence:PersistenceManager;

View File

@ -3,15 +3,20 @@
"outDir": "./dist/", "outDir": "./dist/",
"sourceMap": true, "sourceMap": true,
"noImplicitAny": false, "noImplicitAny": false,
"module": "es6", "module": "amd",
"moduleResolution": "Node", "moduleResolution": "node",
"target": "es6", "target": "es6",
"allowJs": true, "allowJs": true,
"esModuleInterop": true, "esModuleInterop": true,
"declaration": true,
"rootDirs": [ "rootDirs": [
"src", "src",
] ]
}, },
"exclude": ["node_modules"], "include": [
"files": ["mindplot.d.ts"] "src/**/*"
],
"exclude": [
"node_modules"
]
} }

View File

@ -13,6 +13,9 @@ module.exports = {
mindplot: './src/index.ts', mindplot: './src/index.ts',
loader: './src/indexLoader.ts', loader: './src/indexLoader.ts',
}, },
stats: {
errorDetails: true,
},
mode: 'production', mode: 'production',
devtool: 'source-map', devtool: 'source-map',
module: { module: {

View File

@ -10,7 +10,7 @@ import FormControlLabel from '@material-ui/core/FormControlLabel';
import Radio from '@material-ui/core/Radio'; import Radio from '@material-ui/core/Radio';
import Select from '@material-ui/core/Select'; import Select from '@material-ui/core/Select';
import MenuItem from '@material-ui/core/MenuItem'; import MenuItem from '@material-ui/core/MenuItem';
import { Designer, TextExporterFactory, ImageExpoterFactory, Exporter, MindMap, RESTPersistenceManager } from '@wisemapping/mindplot'; import { Designer, TextExporterFactory, ImageExporterFactory, Exporter, Mindmap, RESTPersistenceManager } from '@wisemapping/mindplot';
type ExportFormat = 'svg' | 'jpg' | 'png' | 'txt' | 'mm' | 'wxml' | 'xls' | 'md'; type ExportFormat = 'svg' | 'jpg' | 'png' | 'txt' | 'mm' | 'wxml' | 'xls' | 'md';
type ExportGroup = 'image' | 'document' | 'mindmap-tool'; type ExportGroup = 'image' | 'document' | 'mindmap-tool';
@ -72,12 +72,12 @@ const ExportDialog = ({
const exporter = (formatType: ExportFormat) => { const exporter = (formatType: ExportFormat) => {
let svgElement: Element | null = null; let svgElement: Element | null = null;
let size; let size;
let mindmap: MindMap; let mindmap: Mindmap;
const designer: Designer = global.designer; const designer: Designer = global.designer;
if (designer != null) { if (designer != null) {
// Depending on the type of export. It will require differt POST. // Depending on the type of export. It will require differt POST.
const workspace = designer.getWorkspace(); const workspace = designer.getWorkSpace();
svgElement = workspace.getSVGElement(); svgElement = workspace.getSVGElement();
size = workspace.getSize(); size = workspace.getSize();
mindmap = designer.getMindmap(); mindmap = designer.getMindmap();
@ -99,7 +99,7 @@ const ExportDialog = ({
case 'png': case 'png':
case 'jpg': case 'jpg':
case 'svg': { case 'svg': {
exporter = ImageExpoterFactory.create(formatType, mindmap, svgElement, size.width, size.height); exporter = ImageExporterFactory.create(formatType, mindmap, svgElement, size.width, size.height);
break; break;
} }
case 'wxml': case 'wxml':

View File

@ -1,13 +1,16 @@
{ {
"compilerOptions": { "compilerOptions": {
"jsx": "react",
"outDir": "./dist/", "outDir": "./dist/",
"sourceMap": true, "sourceMap": true,
"noImplicitAny": false, "noImplicitAny": false,
"module": "commonjs", "module": "amd",
"moduleResolution": "node",
"strict": false,
"target": "es6", "target": "es6",
"jsx": "react",
"allowJs": true, "allowJs": true,
"esModuleInterop": true, "esModuleInterop": true,
"strictNullChecks": true "declaration": true
} }
} }

View File

@ -1279,9 +1279,9 @@
minimatch "^3.0.4" minimatch "^3.0.4"
"@humanwhocodes/config-array@^0.9.2": "@humanwhocodes/config-array@^0.9.2":
version "0.9.2" version "0.9.3"
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.9.2.tgz#68be55c737023009dfc5fe245d51181bb6476914" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.9.3.tgz#f2564c744b387775b436418491f15fce6601f63e"
integrity sha512-UXOuFCGcwciWckOpmfKDq/GyhlTf9pN/BzG//x8p8zTOFEcGuA68ANXheFS0AGvy3qgZqLBUkMs7hqzqCKOVwA== integrity sha512-3xSMlXHh03hCcCmFc0rbKp3Ivt2PFEJnQUJDDMTJQ2wkECZWdq4GePs2ctc5H8zV+cHPaq8k2vU8mrQjA6iHdQ==
dependencies: dependencies:
"@humanwhocodes/object-schema" "^1.2.1" "@humanwhocodes/object-schema" "^1.2.1"
debug "^4.1.1" debug "^4.1.1"
@ -2719,9 +2719,9 @@
integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==
"@types/node@*", "@types/node@>= 8": "@types/node@*", "@types/node@>= 8":
version "17.0.12" version "17.0.13"
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.12.tgz#f7aa331b27f08244888c47b7df126184bc2339c5" resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.13.tgz#5ed7ed7c662948335fcad6c412bb42d99ea754e3"
integrity sha512-4YpbAsnJXWYK/fpTVFlMIcUIho2AYCi4wg5aNPrG1ng7fn/1/RZfCIpRCiBX+12RVa34RluilnvCqD+g3KiSiA== integrity sha512-Y86MAxASe25hNzlDbsviXl8jQHb0RDvKt4c40ZJQ1Don0AAL0STLZSs4N+6gLEO55pedy7r2cLwS+ZDxPm/2Bw==
"@types/node@14", "@types/node@^14.14.31": "@types/node@14", "@types/node@^14.14.31":
version "14.18.9" version "14.18.9"
@ -3282,30 +3282,6 @@
resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.6.1.tgz#0de2875ac31b46b6c5bb1ae0a7d7f0ba5678dffe" resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.6.1.tgz#0de2875ac31b46b6c5bb1ae0a7d7f0ba5678dffe"
integrity sha512-gNGTiTrjEVQ0OcVnzsRSqTxaBSr+dmTfm+qJsCDluky8uhdLWep7Gcr62QsAKHTMxjCS/8nEITsmFAhfIx+QSw== integrity sha512-gNGTiTrjEVQ0OcVnzsRSqTxaBSr+dmTfm+qJsCDluky8uhdLWep7Gcr62QsAKHTMxjCS/8nEITsmFAhfIx+QSw==
"@wisemapping/mindplot@^0.4.15":
version "0.4.15"
resolved "https://registry.yarnpkg.com/@wisemapping/mindplot/-/mindplot-0.4.15.tgz#d4a7aa3a96bd5a91ec7f800eb392be820d97510b"
integrity sha512-4buCwA9VezQylHkZ4c7JB+MBqGAOzOnBUZEjeqkg5hZMSt0mobMD3inp+tStJbZtQQbt7p6KJ/04+ewHmGlBag==
dependencies:
"@types/jquery" "^3.5.11"
"@wisemapping/core-js" "^0.4.0"
"@wisemapping/web2d" "^0.4.0"
jest "^27.4.5"
jquery "3.6.0"
lodash "^4.17.21"
"@wisemapping/mindplot@^0.4.15":
version "0.4.15"
resolved "https://registry.yarnpkg.com/@wisemapping/mindplot/-/mindplot-0.4.15.tgz#d4a7aa3a96bd5a91ec7f800eb392be820d97510b"
integrity sha512-4buCwA9VezQylHkZ4c7JB+MBqGAOzOnBUZEjeqkg5hZMSt0mobMD3inp+tStJbZtQQbt7p6KJ/04+ewHmGlBag==
dependencies:
"@types/jquery" "^3.5.11"
"@wisemapping/core-js" "^0.4.0"
"@wisemapping/web2d" "^0.4.0"
jest "^27.4.5"
jquery "3.6.0"
lodash "^4.17.21"
"@xtuc/ieee754@^1.2.0": "@xtuc/ieee754@^1.2.0":
version "1.2.0" version "1.2.0"
resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790"
@ -4387,9 +4363,9 @@ camelize@^1.0.0:
integrity sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs= integrity sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs=
caniuse-lite@^1.0.30001286: caniuse-lite@^1.0.30001286:
version "1.0.30001301" version "1.0.30001304"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001301.tgz#ebc9086026534cab0dab99425d9c3b4425e5f450" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001304.tgz#38af55ed3fc8220cb13e35e6e7309c8c65a05559"
integrity sha512-csfD/GpHMqgEL3V3uIgosvh+SVIQvCh43SNu9HRbP1lnxkKm1kjDG4f32PP571JplkLjfS+mg2p1gxR7MYrrIA== integrity sha512-bdsfZd6K6ap87AGqSHJP/s1V+U6Z5lyrcbBu3ovbCCf8cSYpwTtGrCBObMpJqwxfTbLW6YTIdbb1jEeTelcpYQ==
caseless@~0.12.0: caseless@~0.12.0:
version "0.12.0" version "0.12.0"
@ -4533,9 +4509,9 @@ class-utils@^0.3.5:
static-extend "^0.1.1" static-extend "^0.1.1"
clean-css@^5.2.2: clean-css@^5.2.2:
version "5.2.2" version "5.2.4"
resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-5.2.2.tgz#d3a7c6ee2511011e051719838bdcf8314dc4548d" resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-5.2.4.tgz#982b058f8581adb2ae062520808fb2429bd487a4"
integrity sha512-/eR8ru5zyxKzpBLv9YZvMXgTSSQn7AdkMItMYynsFgGwTveCRVam9IUPFloE85B4vAIj05IuKmmEoV7/AQjT0w== integrity sha512-nKseG8wCzEuji/4yrgM/5cthL9oTDc5UOQyFMvW/Q53oP6gLH690o1NbuTh6Y18nujr7BxlsFuS7gXLnLzKJGg==
dependencies: dependencies:
source-map "~0.6.0" source-map "~0.6.0"
@ -5013,9 +4989,9 @@ copy-descriptor@^0.1.0:
integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=
copy-webpack-plugin@^10.0.0, copy-webpack-plugin@^10.2.1: copy-webpack-plugin@^10.0.0, copy-webpack-plugin@^10.2.1:
version "10.2.1" version "10.2.3"
resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-10.2.1.tgz#115a41f913070ac236a1b576066204cbf35341a1" resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-10.2.3.tgz#16fa11ce3bb34f9fd4e4f22a252a5ed88c57c730"
integrity sha512-nr81NhCAIpAWXGCK5thrKmfCQ6GDY0L5RN0U+BnIn/7Us55+UCex5ANNsNKmIVtDRnk0Ecf+/kzp9SUVrrBMLg== integrity sha512-DKg4/ijemcJmpo2vBQiwiL2u+t2XN6YYlr2v2Ejqltnn2vbPfXLAz/v0Rv8uB4UmlbB7NH4cGhLxCmtaVppvEQ==
dependencies: dependencies:
fast-glob "^3.2.7" fast-glob "^3.2.7"
glob-parent "^6.0.1" glob-parent "^6.0.1"
@ -5691,9 +5667,9 @@ doctrine@^3.0.0:
esutils "^2.0.2" esutils "^2.0.2"
dom-accessibility-api@^0.5.6: dom-accessibility-api@^0.5.6:
version "0.5.10" version "0.5.11"
resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.10.tgz#caa6d08f60388d0bb4539dd75fe458a9a1d0014c" resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.11.tgz#79d5846c4f90eba3e617d9031e921de9324f84ed"
integrity sha512-Xu9mD0UjrJisTmv7lmVSDMagQcU9R5hwAbxsaAE/35XPnPLJobbuREfV/rraiSaEj/UOvgrzQs66zyTWTlyd+g== integrity sha512-7X6GvzjYf4yTdRKuCVScV+aA9Fvh5r8WzWrXBH9w82ZWB/eYDMGCnazoC/YAqAzUJWHzLOnZqr46K3iEyUhUvw==
dom-converter@^0.2.0: dom-converter@^0.2.0:
version "0.2.0" version "0.2.0"
@ -5803,9 +5779,9 @@ ee-first@1.1.1:
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
electron-to-chromium@^1.4.17: electron-to-chromium@^1.4.17:
version "1.4.53" version "1.4.57"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.53.tgz#5d80a91c399b44952ef485857fb5b9d4387d2e60" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.57.tgz#2b2766df76ac8dbc0a1d41249bc5684a31849892"
integrity sha512-rFveSKQczlcav+H3zkKqykU6ANseFwXwkl855jOIap5/0gnEcuIhv2ecz6aoTrXavF6I/CEBeRnBnkB51k06ew== integrity sha512-FNC+P5K1n6pF+M0zIK+gFCoXcJhhzDViL3DRIGy2Fv5PohuSES1JHR7T+GlwxSxlzx4yYbsuzCZvHxcBSRCIOw==
emittery@^0.8.1: emittery@^0.8.1:
version "0.8.1" version "0.8.1"
@ -6070,9 +6046,9 @@ eslint-import-resolver-webpack@^0.13.2:
semver "^5.7.1" semver "^5.7.1"
eslint-module-utils@^2.7.2: eslint-module-utils@^2.7.2:
version "2.7.2" version "2.7.3"
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.2.tgz#1d0aa455dcf41052339b63cada8ab5fd57577129" resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.3.tgz#ad7e3a10552fdd0642e1e55292781bd6e34876ee"
integrity sha512-zquepFnWCY2ISMFwD/DqzaM++H+7PDzOpUvotJWm/y1BAFt5R4oeULgdrTejKqLkz7MA/tgstsUMNYc7wNdTrg== integrity sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==
dependencies: dependencies:
debug "^3.2.7" debug "^3.2.7"
find-up "^2.1.0" find-up "^2.1.0"
@ -6298,9 +6274,9 @@ eslint@^7.14.0:
v8-compile-cache "^2.0.3" v8-compile-cache "^2.0.3"
eslint@^8.4.1: eslint@^8.4.1:
version "8.7.0" version "8.8.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.7.0.tgz#22e036842ee5b7cf87b03fe237731675b4d3633c" resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.8.0.tgz#9762b49abad0cb4952539ffdb0a046392e571a2d"
integrity sha512-ifHYzkBGrzS2iDU7KjhCAVMGCvF6M3Xfs8X8b37cgrUlDt6bWRTpRh6T/gtSXv1HJ/BUGgmjvNvOEGu85Iif7w== integrity sha512-H3KXAzQGBH1plhYS3okDix2ZthuYJlQQEGE5k0IKuEqUSiyu4AmxxlJ2MtTYeJ3xB4jDhcYCwGOg2TXYdnDXlQ==
dependencies: dependencies:
"@eslint/eslintrc" "^1.0.5" "@eslint/eslintrc" "^1.0.5"
"@humanwhocodes/config-array" "^0.9.2" "@humanwhocodes/config-array" "^0.9.2"
@ -6893,9 +6869,9 @@ flatted@^2.0.0:
integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA== integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==
flatted@^3.1.0: flatted@^3.1.0:
version "3.2.4" version "3.2.5"
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.4.tgz#28d9969ea90661b5134259f312ab6aa7929ac5e2" resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.5.tgz#76c8584f4fc843db64702a6bd04ab7a8bd666da3"
integrity sha512-8/sOawo8tJ4QOBX8YlQBMxL8+RLZfxMQOif9o0KUKTNTjMYElWPE0r/m5VNFxTRd0NSw8qSy8dajrwX4RYI1Hw== integrity sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==
flush-write-stream@^1.0.0: flush-write-stream@^1.0.0:
version "1.1.1" version "1.1.1"
@ -8992,9 +8968,9 @@ jest@^27.4.5:
jest-cli "^27.4.7" jest-cli "^27.4.7"
joi@^17.4.0: joi@^17.4.0:
version "17.5.0" version "17.6.0"
resolved "https://registry.yarnpkg.com/joi/-/joi-17.5.0.tgz#7e66d0004b5045d971cf416a55fb61d33ac6e011" resolved "https://registry.yarnpkg.com/joi/-/joi-17.6.0.tgz#0bb54f2f006c09a96e75ce687957bd04290054b2"
integrity sha512-R7hR50COp7StzLnDi4ywOXHrBrgNXuUUfJWIR5lPY5Bm/pOD3jZaTwpluUXVLRWcoWZxkrHBBJ5hLxgnlehbdw== integrity sha512-OX5dG6DTbcr/kbMFj0KGYxuew69HPcAE3K/sZpEV2nP6e/j/C0HV+HNiBPCASxdx5T7DMoa0s8UeHWMnb6n2zw==
dependencies: dependencies:
"@hapi/hoek" "^9.0.0" "@hapi/hoek" "^9.0.0"
"@hapi/topo" "^5.0.0" "@hapi/topo" "^5.0.0"
@ -13680,9 +13656,9 @@ typescript@^4.0, typescript@^4.1.2:
integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA== integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==
uglify-js@^3.1.4: uglify-js@^3.1.4:
version "3.14.5" version "3.15.0"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.14.5.tgz#cdabb7d4954231d80cb4a927654c4655e51f4859" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.15.0.tgz#2d6a689d94783cab43975721977a13c2afec28f1"
integrity sha512-qZukoSxOG0urUTvjc2ERMTcAy+BiFh3weWAkeurLwjrCba73poHmG3E36XEjd/JGukMzwTL7uCxZiAexj8ppvQ== integrity sha512-x+xdeDWq7FiORDvyIJ0q/waWd4PhjBNOm5dQUOq2AKC0IEjxOS66Ha9tctiVDGcRQuh69K7fgU5oRuTK4cysSg==
uid-number@0.0.6: uid-number@0.0.6:
version "0.0.6" version "0.0.6"