diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 180e3c3af..c2c1296ba 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -19,10 +19,10 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@master + uses: actions/checkout@v3 - name: Use latest version of Node.js - uses: actions/setup-node@master + uses: actions/setup-node@v3 with: node-version: "*" @@ -41,14 +41,14 @@ jobs: - run: pnpm --version - - name: TSC Build (cjs) + - name: TSC Build (esm) run: pnpm build - name: Website Prod Build (GitHub demo site) run: pnpm build:demo - name: Run Cypress E2E tests - uses: cypress-io/github-action@v2 + uses: cypress-io/github-action@v5 with: install: false # working-directory: packages/dnd @@ -57,7 +57,6 @@ jobs: config-file: test/cypress.config.ts browser: chrome record: true - headless: true env: # pass the Dashboard record key as an environment variable CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 975b63561..0d7ab9a0d 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -22,7 +22,7 @@ { "label": "Start Library Development", "type": "shell", - "command": "pnpm dev:watch", + "command": "pnpm dev", "problemMatcher": [] }, { diff --git a/README.md b/README.md index 20bc788cb..f4ccddf86 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ and is written in plain TypeScript without being bound to any framework. The imp It could be used as a guideline to implement it for other framework ports. ```bash -pnpm run dev:watch +pnpm run dev ``` ### Tests diff --git a/examples/webpack-demo-vanilla-bundle/package.json b/examples/webpack-demo-vanilla-bundle/package.json index 27edf618e..f670e8653 100644 --- a/examples/webpack-demo-vanilla-bundle/package.json +++ b/examples/webpack-demo-vanilla-bundle/package.json @@ -69,10 +69,10 @@ "html-loader": "^4.2.0", "html-webpack-plugin": "5.5.0", "mini-css-extract-plugin": "^2.7.2", - "sass": "^1.57.1", + "sass": "^1.58.0", "sass-loader": "^13.2.0", "style-loader": "^3.3.1", - "typescript": "^4.9.4", + "typescript": "^4.9.5", "url-loader": "^4.1.1", "webpack": "^5.75.0", "webpack-cli": "^5.0.1", diff --git a/examples/webpack-demo-vanilla-bundle/src/examples/example07.ts b/examples/webpack-demo-vanilla-bundle/src/examples/example07.ts index b8b23f671..d13b07218 100644 --- a/examples/webpack-demo-vanilla-bundle/src/examples/example07.ts +++ b/examples/webpack-demo-vanilla-bundle/src/examples/example07.ts @@ -10,7 +10,7 @@ import { } from '@slickgrid-universal/common'; import { ExcelExportService } from '@slickgrid-universal/excel-export'; import { Slicker, SlickVanillaGridBundle } from '@slickgrid-universal/vanilla-bundle'; -import * as DOMPurify from 'dompurify'; +import DOMPurify from 'dompurify'; import { TranslateService } from '../translate.service'; import { ExampleGridOptions } from './example-grid-options'; diff --git a/examples/webpack-demo-vanilla-bundle/webpack.config.js b/examples/webpack-demo-vanilla-bundle/webpack.config.js index 9f341a75b..074c41d0f 100644 --- a/examples/webpack-demo-vanilla-bundle/webpack.config.js +++ b/examples/webpack-demo-vanilla-bundle/webpack.config.js @@ -43,7 +43,7 @@ module.exports = ({ production } = {}) => ({ resolve: { extensions: ['.ts', '.js'], modules: [srcDir, 'node_modules'], - mainFields: ['browser', 'module', 'main'], + mainFields: ['module', 'main'], fallback: { http: false, https: false, diff --git a/lerna.json b/lerna.json index eede21b0b..0166c4168 100644 --- a/lerna.json +++ b/lerna.json @@ -5,8 +5,8 @@ "loglevel": "info", "command": { "publish": { + "cleanupTempFiles": true, "removePackageFields": [ - "browser", "devDependencies", "scripts" ] diff --git a/package.json b/package.json index 49d6f7e4b..489a104fe 100644 --- a/package.json +++ b/package.json @@ -24,9 +24,11 @@ "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", "cypress": "cypress open --config-file test/cypress.config.ts", "cypress:ci": "cypress run --config-file test/cypress.config.ts", - "dev": "cross-env TSC_WATCHFILE=UseFsEventsWithFallbackDynamicPolling pnpm -r --parallel run dev:watch", - "dev:watch": "run-p dev sass:watch", - "sass:watch": "lerna watch --scope=@slickgrid-universal/common --glob=\"src/**/*.scss\" -- cross-env-shell pnpm run -r --filter $LERNA_PACKAGE_NAME sass:copy", + "predev": "pnpm run -r build:incremental && pnpm run -r sass:copy", + "dev": "run-p dev:watch build:watch sass:copy:watch", + "build:watch": "lerna watch --glob=\"src/**/*.ts\" --ignored=\"src/**/*.spec.ts\" --stream -- cross-env-shell pnpm run -r --filter $LERNA_PACKAGE_NAME build:incremental", + "dev:watch": "pnpm -r --parallel run dev:watch", + "sass:copy:watch": "lerna watch --scope=@slickgrid-universal/common --glob=\"src/**/*.scss\" -- cross-env-shell pnpm run -r --filter $LERNA_PACKAGE_NAME sass:copy", "preview:publish": "lerna publish from-package --dry-run", "preview:version": "lerna version --dry-run", "preview:roll-new-release": "pnpm bundle && pnpm new-version --dry-run && pnpm new-publish --dry-run", @@ -48,16 +50,16 @@ "devDependencies": { "@4tw/cypress-drag-drop": "^2.2.3", "@jest/types": "^29.4.1", - "@lerna-lite/cli": "^1.14.2", - "@lerna-lite/run": "^1.14.2", - "@lerna-lite/watch": "^1.14.2", + "@lerna-lite/cli": "^1.15.0", + "@lerna-lite/run": "^1.15.0", + "@lerna-lite/watch": "^1.15.0", "@types/jest": "^29.4.0", "@types/node": "^18.11.18", - "@typescript-eslint/eslint-plugin": "^5.49.0", - "@typescript-eslint/parser": "^5.49.0", + "@typescript-eslint/eslint-plugin": "^5.50.0", + "@typescript-eslint/parser": "^5.50.0", "cross-env": "^7.0.3", - "cypress": "^12.4.1", - "eslint": "^8.32.0", + "cypress": "^12.5.1", + "eslint": "^8.33.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-prefer-arrow": "^1.2.3", "jest": "^29.4.1", @@ -69,7 +71,7 @@ "jsdom-global": "^3.0.2", "moment-mini": "^2.29.4", "npm-run-all2": "^6.0.4", - "pnpm": "^7.26.0", + "pnpm": "^7.26.3", "rimraf": "^3.0.2", "rxjs": "^7.5.7", "serve": "^14.2.0", @@ -77,10 +79,10 @@ "sortablejs": "^1.15.0", "ts-jest": "^29.0.5", "ts-node": "^10.9.1", - "typescript": "^4.9.4", + "typescript": "^4.9.5", "whatwg-fetch": "^3.6.2" }, - "packageManager": "pnpm@7.26.0", + "packageManager": "pnpm@7.26.3", "engines": { "node": ">=14.17.0", "npm": ">=6.14.13" diff --git a/packages/binding/package.json b/packages/binding/package.json index fb24f3a98..9d6cf5cca 100644 --- a/packages/binding/package.json +++ b/packages/binding/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "Simple Vanilla Implementation of a Binding Engine & Helper to add properties/events 2 way bindings", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -15,11 +26,11 @@ ], "scripts": { "prebuild": "pnpm run clean", - "build": "pnpm run bundle:commonjs", + "build": "pnpm run bundle:esm", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", + "clean": "rimraf dist", "dev": "pnpm run bundle:commonjs", - "dev:watch": "tsc --incremental --watch", "prebundle": "pnpm run clean", "bundle": "run-p bundle:commonjs bundle:esm", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", diff --git a/packages/binding/src/binding.service.ts b/packages/binding/src/binding.service.ts index 2ac7cb19b..605fa91dd 100644 --- a/packages/binding/src/binding.service.ts +++ b/packages/binding/src/binding.service.ts @@ -1,5 +1,7 @@ /* eslint-disable no-bitwise */ -import * as DOMPurify from 'dompurify'; +import * as DOMPurify_ from 'dompurify'; +const DOMPurify = ((DOMPurify_ as any)?.['default'] ?? DOMPurify_); // patch for rollup + import { Binding, BoundedEventWithListener, ElementBinding, ElementBindingWithListener } from './interfaces'; /** diff --git a/packages/common/package.json b/packages/common/package.json index 47b095a62..eebbdb7a3 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "SlickGrid-Universal Common Code", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "license": "MIT", "author": "Ghislain B.", "homepage": "https://github.com/ghiscoding/slickgrid-universal", @@ -26,12 +37,13 @@ ], "scripts": { "prebuild": "pnpm run clean", - "build": "pnpm run bundle:commonjs", + "build": "pnpm run bundle:esm", "postbuild": "run-s sass:build sass:copy", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", - "dev": "run-s build sass:build sass:copy", - "dev:watch": "run-p build:watch sass:watch", + "clean": "rimraf dist", + "dev": "run-s bundle:commonjs sass:copy", + "dev:watch": "pnpm run sass:watch", "prebundle": "pnpm run clean", "bundle": "run-p bundle:commonjs bundle:esm", "postbundle": "run-s sass:build sass:copy", @@ -85,7 +97,7 @@ "postcss": "^8.4.21", "postcss-cli": "^10.1.0", "rimraf": "^3.0.2", - "sass": "^1.57.1" + "sass": "^1.58.0" }, "engines": { "node": ">=14.17.0", diff --git a/packages/common/src/editorValidators/floatValidator.ts b/packages/common/src/editorValidators/floatValidator.ts index 337650283..02d26686a 100644 --- a/packages/common/src/editorValidators/floatValidator.ts +++ b/packages/common/src/editorValidators/floatValidator.ts @@ -39,20 +39,20 @@ export function floatValidator(inputValue: any, options: FloatValidatorOptions): // when decimal value is 0 (which is the default), we accept 0 or more decimal values isValid = false; outputMsg = errorMsg || Constants.VALIDATION_EDITOR_VALID_NUMBER; - } else if (minValue !== undefined && maxValue !== undefined && floatNumber !== null && ((operatorConditionalType === 'exclusive' && (floatNumber <= minValue || floatNumber >= maxValue)) || (operatorConditionalType === 'inclusive' && (floatNumber < minValue || floatNumber > maxValue)))) { + } else if (minValue !== undefined && maxValue !== undefined && floatNumber !== null && ((operatorConditionalType === 'exclusive' && (floatNumber <= +minValue || floatNumber >= +maxValue)) || (operatorConditionalType === 'inclusive' && (floatNumber < +minValue || floatNumber > +maxValue)))) { // MIN & MAX Values provided // when decimal value is bigger than 0, we only accept the decimal values as that value set // for example if we set decimalPlaces to 2, we will only accept numbers between 0 and 2 decimals isValid = false; outputMsg = errorMsg || Constants.VALIDATION_EDITOR_NUMBER_BETWEEN.replace(/{{minValue}}|{{maxValue}}/gi, (matched) => (mapValidation as any)[matched]); - } else if (minValue !== undefined && floatNumber !== null && ((operatorConditionalType === 'exclusive' && floatNumber <= minValue) || (operatorConditionalType === 'inclusive' && floatNumber < minValue))) { + } else if (minValue !== undefined && floatNumber !== null && ((operatorConditionalType === 'exclusive' && floatNumber <= +minValue) || (operatorConditionalType === 'inclusive' && floatNumber < +minValue))) { // MIN VALUE ONLY // when decimal value is bigger than 0, we only accept the decimal values as that value set // for example if we set decimalPlaces to 2, we will only accept numbers between 0 and 2 decimals isValid = false; const defaultErrorMsg = operatorConditionalType === 'inclusive' ? Constants.VALIDATION_EDITOR_NUMBER_MIN_INCLUSIVE : Constants.VALIDATION_EDITOR_NUMBER_MIN; outputMsg = errorMsg || defaultErrorMsg.replace(/{{minValue}}/gi, (matched) => (mapValidation as any)[matched]); - } else if (maxValue !== undefined && floatNumber !== null && ((operatorConditionalType === 'exclusive' && floatNumber >= maxValue) || (operatorConditionalType === 'inclusive' && floatNumber > maxValue))) { + } else if (maxValue !== undefined && floatNumber !== null && ((operatorConditionalType === 'exclusive' && floatNumber >= +maxValue) || (operatorConditionalType === 'inclusive' && floatNumber > +maxValue))) { // MAX VALUE ONLY // when decimal value is bigger than 0, we only accept the decimal values as that value set // for example if we set decimalPlaces to 2, we will only accept numbers between 0 and 2 decimals diff --git a/packages/common/src/editorValidators/integerValidator.ts b/packages/common/src/editorValidators/integerValidator.ts index 3739c753b..0016b6b7b 100644 --- a/packages/common/src/editorValidators/integerValidator.ts +++ b/packages/common/src/editorValidators/integerValidator.ts @@ -37,19 +37,19 @@ export function integerValidator(inputValue: any, options: IntegerValidatorOptio } else if (inputValue !== '' && ((isNaN(inputValue as number) || !/^[+-]?\d+$/.test(inputValue)))) { isValid = false; outputMsg = errorMsg || Constants.VALIDATION_EDITOR_VALID_INTEGER; - } else if (minValue !== undefined && maxValue !== undefined && intNumber !== null && ((operatorConditionalType === 'exclusive' && (intNumber <= minValue || intNumber >= maxValue)) || (operatorConditionalType === 'inclusive' && (intNumber < minValue || intNumber > maxValue)))) { + } else if (minValue !== undefined && maxValue !== undefined && intNumber !== null && ((operatorConditionalType === 'exclusive' && (intNumber <= +minValue || intNumber >= +maxValue)) || (operatorConditionalType === 'inclusive' && (intNumber < +minValue || intNumber > +maxValue)))) { // MIN & MAX Values provided (between) // when decimal value is bigger than 0, we only accept the decimal values as that value set // for example if we set decimalPlaces to 2, we will only accept numbers between 0 and 2 decimals isValid = false; outputMsg = errorMsg || Constants.VALIDATION_EDITOR_INTEGER_BETWEEN.replace(/{{minValue}}|{{maxValue}}/gi, (matched) => (mapValidation as any)[matched]); - } else if (minValue !== undefined && intNumber !== null && ((operatorConditionalType === 'exclusive' && intNumber <= minValue) || (operatorConditionalType === 'inclusive' && intNumber !== null && intNumber < minValue))) { + } else if (minValue !== undefined && intNumber !== null && ((operatorConditionalType === 'exclusive' && intNumber <= +minValue) || (operatorConditionalType === 'inclusive' && intNumber !== null && intNumber < +minValue))) { // MIN VALUE ONLY // when decimal value has to be higher then provided minValue isValid = false; const defaultErrorMsg = operatorConditionalType === 'inclusive' ? Constants.VALIDATION_EDITOR_INTEGER_MIN_INCLUSIVE : Constants.VALIDATION_EDITOR_INTEGER_MIN; outputMsg = errorMsg || defaultErrorMsg.replace(/{{minValue}}/gi, (matched) => (mapValidation as any)[matched]); - } else if (maxValue !== undefined && intNumber !== null && ((operatorConditionalType === 'exclusive' && intNumber >= maxValue) || (operatorConditionalType === 'inclusive' && intNumber !== null && intNumber > maxValue))) { + } else if (maxValue !== undefined && intNumber !== null && ((operatorConditionalType === 'exclusive' && intNumber >= +maxValue) || (operatorConditionalType === 'inclusive' && intNumber !== null && intNumber > +maxValue))) { // MAX VALUE ONLY // when decimal value has to be lower then provided maxValue isValid = false; diff --git a/packages/common/src/services/domUtilities.ts b/packages/common/src/services/domUtilities.ts index 534246b71..5a520e835 100644 --- a/packages/common/src/services/domUtilities.ts +++ b/packages/common/src/services/domUtilities.ts @@ -1,6 +1,7 @@ import { deepMerge } from '@slickgrid-universal/utils'; +import * as DOMPurify_ from 'dompurify'; +const DOMPurify = ((DOMPurify_ as any)?.['default'] ?? DOMPurify_); // patch for rollup -import * as DOMPurify from 'dompurify'; import { InferDOMType, SearchTerm } from '../enums/index'; import { Column, GridOption, HtmlElementPosition, SelectOption, SlickGrid, } from '../interfaces/index'; import { TranslaterService } from './translater.service'; diff --git a/packages/composite-editor-component/package.json b/packages/composite-editor-component/package.json index 4fa11b430..0605f131d 100644 --- a/packages/composite-editor-component/package.json +++ b/packages/composite-editor-component/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "Slick Composite Editor Component - Vanilla Implementation of a Composite Editor Modal Window Component", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -15,11 +26,11 @@ ], "scripts": { "prebuild": "pnpm run clean", - "build": "pnpm run bundle:commonjs", + "build": "pnpm run bundle:esm", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", + "clean": "rimraf dist", "dev": "pnpm run bundle:commonjs", - "dev:watch": "tsc --incremental --watch", "prebundle": "pnpm run clean", "bundle": "run-p bundle:commonjs bundle:esm", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", diff --git a/packages/composite-editor-component/src/slick-composite-editor.component.ts b/packages/composite-editor-component/src/slick-composite-editor.component.ts index 52e402336..cc3ec2994 100644 --- a/packages/composite-editor-component/src/slick-composite-editor.component.ts +++ b/packages/composite-editor-component/src/slick-composite-editor.component.ts @@ -364,7 +364,7 @@ export class SlickCompositeEditorComponent implements ExternalResource { this._modalElm = createDomElement('div', { className: `slick-editor-modal ${gridUid}` }); const modalContentElm = createDomElement('div', { className: 'slick-editor-modal-content' }); - if (viewColumnLayout > 1 || (viewColumnLayout === 'auto' && layoutColCount > 1)) { + if ((!isNaN(viewColumnLayout as number) && +viewColumnLayout > 1) || (viewColumnLayout === 'auto' && layoutColCount > 1)) { const splitClassName = layoutColCount === 2 ? 'split-view' : 'triple-split-view'; modalContentElm.classList.add(splitClassName); } diff --git a/packages/custom-footer-component/package.json b/packages/custom-footer-component/package.json index adb194144..311bc6920 100644 --- a/packages/custom-footer-component/package.json +++ b/packages/custom-footer-component/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "Slick Custom Footer Component - Vanilla Implementation of a Custom Footer Component", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -15,11 +26,11 @@ ], "scripts": { "prebuild": "pnpm run clean", - "build": "pnpm run bundle:commonjs", + "build": "pnpm run bundle:esm", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", + "clean": "rimraf dist", "dev": "pnpm run bundle:commonjs", - "dev:watch": "tsc --incremental --watch", "prebundle": "pnpm run clean", "bundle": "run-p bundle:commonjs bundle:esm", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", diff --git a/packages/custom-tooltip-plugin/package.json b/packages/custom-tooltip-plugin/package.json index f32c568c2..8cd2eca3b 100644 --- a/packages/custom-tooltip-plugin/package.json +++ b/packages/custom-tooltip-plugin/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "A plugin to add Custom Tooltip when hovering a cell, it subscribes to the cell", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -15,11 +26,11 @@ ], "scripts": { "prebuild": "pnpm run clean", - "build": "pnpm run bundle:commonjs", + "build": "pnpm run bundle:esm", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", + "clean": "rimraf dist", "dev": "pnpm run bundle:commonjs", - "dev:watch": "tsc --incremental --watch", "prebundle": "pnpm run clean", "bundle": "run-p bundle:commonjs bundle:esm", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", diff --git a/packages/empty-warning-component/package.json b/packages/empty-warning-component/package.json index bc3cc1335..f569fd74d 100644 --- a/packages/empty-warning-component/package.json +++ b/packages/empty-warning-component/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "Slick Empty Warning Component - Vanilla Implementation of an Empty Dataset Warning Component", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -15,11 +26,11 @@ ], "scripts": { "prebuild": "pnpm run clean", - "build": "pnpm run bundle:commonjs", + "build": "pnpm run bundle:esm", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", + "clean": "rimraf dist", "dev": "pnpm run bundle:commonjs", - "dev:watch": "tsc --incremental --watch", "prebundle": "pnpm run clean", "bundle": "run-p bundle:commonjs bundle:esm", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", diff --git a/packages/event-pub-sub/package.json b/packages/event-pub-sub/package.json index 10e8ad037..b0e0b3d64 100644 --- a/packages/event-pub-sub/package.json +++ b/packages/event-pub-sub/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "Simple Vanilla Implementation of an Event PubSub Service to do simply publish/subscribe inter-communication while optionally providing data in the event", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -15,11 +26,11 @@ ], "scripts": { "prebuild": "pnpm run clean", - "build": "pnpm run bundle:commonjs", + "build": "pnpm run bundle:esm", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", + "clean": "rimraf dist", "dev": "pnpm run bundle:commonjs", - "dev:watch": "tsc --incremental --watch", "prebundle": "pnpm run clean", "bundle": "run-p bundle:commonjs bundle:esm", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", diff --git a/packages/excel-export/package.json b/packages/excel-export/package.json index 8911c5c4e..59a988fea 100644 --- a/packages/excel-export/package.json +++ b/packages/excel-export/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "Excel Export (xls/xlsx) Service.", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -15,11 +26,11 @@ ], "scripts": { "prebuild": "pnpm run clean", - "build": "pnpm run bundle:commonjs", + "build": "pnpm run bundle:esm", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", + "clean": "rimraf dist", "dev": "pnpm run bundle:commonjs", - "dev:watch": "tsc --incremental --watch", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", "bundle:esm": "tsc --project tsconfig.bundle.json --outDir dist/esm --module esnext --target es2018", "prebundle": "pnpm run clean", diff --git a/packages/excel-export/src/excelExport.service.ts b/packages/excel-export/src/excelExport.service.ts index eaf92ccfd..54babc94a 100644 --- a/packages/excel-export/src/excelExport.service.ts +++ b/packages/excel-export/src/excelExport.service.ts @@ -518,7 +518,7 @@ export class ExcelExportService implements ExternalResource, BaseExcelExportServ if (itemMetadata?.columns) { const metadata = itemMetadata.columns; const columnData = metadata[columnDef.id] || metadata[col]; - if (!(prevColspan > 1 || (prevColspan === '*' && col > 0))) { + if (!((!isNaN(prevColspan as number) && +prevColspan > 1) || (prevColspan === '*' && col > 0))) { prevColspan = columnData?.colspan ?? 1; } if (prevColspan === '*') { @@ -533,7 +533,7 @@ export class ExcelExportService implements ExternalResource, BaseExcelExportServ } // when using grid with colspan, we will merge some cells together - if ((prevColspan === '*' && col > 0) || (prevColspan > 1 && columnDef.id !== colspanColumnId)) { + if ((prevColspan === '*' && col > 0) || ((!isNaN(prevColspan as number) && +prevColspan > 1) && columnDef.id !== colspanColumnId)) { // -- Merge Data // Excel row starts at 2 or at 3 when dealing with pre-header grouping const excelRowNumber = row + (this._hasColumnTitlePreHeader ? 3 : 2); @@ -553,7 +553,7 @@ export class ExcelExportService implements ExternalResource, BaseExcelExportServ } // decrement colspan until we reach colspan of 1 then proceed with cell merge OR full row merge when colspan is (*) - if (typeof prevColspan === 'number' && prevColspan > 1) { + if (typeof prevColspan === 'number' && (!isNaN(prevColspan as number) && +prevColspan > 1)) { colspan = prevColspan--; } } else { diff --git a/packages/graphql/package.json b/packages/graphql/package.json index 039bfc937..f1c0e4534 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "GraphQL Service to sync a grid with a GraphQL backend server", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -15,11 +26,11 @@ ], "scripts": { "prebuild": "pnpm run clean", - "build": "pnpm run bundle:commonjs", + "build": "pnpm run bundle:esm", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", + "clean": "rimraf dist", "dev": "pnpm run bundle:commonjs", - "dev:watch": "tsc --incremental --watch", "prebundle": "pnpm run clean", "bundle": "run-p bundle:commonjs bundle:esm", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", diff --git a/packages/odata/package.json b/packages/odata/package.json index 7da89e12e..fb6f60c9d 100644 --- a/packages/odata/package.json +++ b/packages/odata/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "Grid OData Service to sync a grid with an OData backend server", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -15,11 +26,11 @@ ], "scripts": { "prebuild": "pnpm run clean", - "build": "pnpm run bundle:commonjs", + "build": "pnpm run bundle:esm", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", + "clean": "rimraf dist", "dev": "pnpm run bundle:commonjs", - "dev:watch": "tsc --incremental --watch", "prebundle": "pnpm run clean", "bundle": "run-p bundle:commonjs bundle:esm", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", diff --git a/packages/pagination-component/package.json b/packages/pagination-component/package.json index 846362400..2db61f52b 100644 --- a/packages/pagination-component/package.json +++ b/packages/pagination-component/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "Slick Pagination Component - Vanilla Implementation of a Pagination Component", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -15,11 +26,11 @@ ], "scripts": { "prebuild": "pnpm run clean", - "build": "pnpm run bundle:commonjs", + "build": "pnpm run bundle:esm", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", + "clean": "rimraf dist", "dev": "pnpm run bundle:commonjs", - "dev:watch": "tsc --incremental --watch", "prebundle": "pnpm run clean", "bundle": "run-p bundle:commonjs bundle:esm", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", diff --git a/packages/row-detail-view-plugin/package.json b/packages/row-detail-view-plugin/package.json index 66d016314..4a90ee12a 100644 --- a/packages/row-detail-view-plugin/package.json +++ b/packages/row-detail-view-plugin/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "SlickRowDetail plugin - A plugin to add Row Detail Panel", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -15,11 +26,11 @@ ], "scripts": { "prebuild": "pnpm run clean", - "build": "pnpm run bundle:commonjs", + "build": "pnpm run bundle:esm", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", + "clean": "rimraf dist", "dev": "pnpm run bundle:commonjs", - "dev:watch": "tsc --incremental --watch", "prebundle": "pnpm run clean", "bundle": "run-p bundle:commonjs bundle:esm", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", diff --git a/packages/rxjs-observable/package.json b/packages/rxjs-observable/package.json index 6a8363d73..f1c200608 100644 --- a/packages/rxjs-observable/package.json +++ b/packages/rxjs-observable/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "RxJS Observable Wrapper", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -15,11 +26,11 @@ ], "scripts": { "prebuild": "pnpm run clean", - "build": "pnpm run bundle:commonjs", + "build": "pnpm run bundle:esm", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", + "clean": "rimraf dist", "dev": "pnpm run bundle:commonjs", - "dev:watch": "tsc --incremental --watch", "prebundle": "pnpm run clean", "bundle": "run-p bundle:commonjs bundle:esm", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", diff --git a/packages/text-export/package.json b/packages/text-export/package.json index 1318f8c4a..00c1678aa 100644 --- a/packages/text-export/package.json +++ b/packages/text-export/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "Export to Text File (csv/txt) Service.", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -15,11 +26,11 @@ ], "scripts": { "prebuild": "pnpm run clean", - "build": "pnpm run bundle:commonjs", + "build": "pnpm run bundle:esm", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", + "clean": "rimraf dist", "dev": "pnpm run bundle:commonjs", - "dev:watch": "tsc --incremental --watch", "prebundle": "pnpm run clean", "bundle": "run-p bundle:commonjs bundle:esm", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", diff --git a/packages/text-export/src/textExport.service.ts b/packages/text-export/src/textExport.service.ts index 84d7c0503..c7bdb87b1 100644 --- a/packages/text-export/src/textExport.service.ts +++ b/packages/text-export/src/textExport.service.ts @@ -362,7 +362,7 @@ export class TextExportService implements ExternalResource, BaseTextExportServic if (itemMetadata?.columns) { const metadata = itemMetadata?.columns; const columnData = metadata[columnDef.id] || metadata[col]; - if (!(prevColspan > 1 || (prevColspan === '*' && col > 0))) { + if (!((!isNaN(prevColspan as number) && +prevColspan > 1) || (prevColspan === '*' && col > 0))) { prevColspan = columnData?.colspan ?? 1; } if (prevColspan !== '*') { @@ -372,9 +372,9 @@ export class TextExportService implements ExternalResource, BaseTextExportServic } } - if ((prevColspan === '*' && col > 0) || (prevColspan > 1 && columnDef.id !== colspanColumnId)) { + if ((prevColspan === '*' && col > 0) || ((!isNaN(prevColspan as number) && +prevColspan > 1) && columnDef.id !== colspanColumnId)) { rowOutputStrings.push(''); - if (prevColspan > 1) { + if ((!isNaN(prevColspan as number) && +prevColspan > 1)) { (prevColspan as number)--; } } else { diff --git a/packages/utils/package.json b/packages/utils/package.json index 1c87dae3c..6ad7e18b0 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "Common set of small utilities", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -15,11 +26,11 @@ ], "scripts": { "prebuild": "pnpm run clean", - "build": "pnpm run bundle:commonjs", + "build": "pnpm run bundle:esm", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", + "clean": "rimraf dist", "dev": "pnpm run bundle:commonjs", - "dev:watch": "tsc --incremental --watch", "prebundle": "pnpm run clean", "bundle": "run-p bundle:commonjs bundle:esm", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", diff --git a/packages/vanilla-bundle/package.json b/packages/vanilla-bundle/package.json index dac39676d..4c01fd681 100644 --- a/packages/vanilla-bundle/package.json +++ b/packages/vanilla-bundle/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "Vanilla Slick Grid Bundle - Framework agnostic the output is to be used in vanilla JS/TS - Written in TypeScript and we also use WebPack to bundle everything into 1 JS file.", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -17,10 +28,10 @@ "prebuild": "pnpm run clean", "build": "tsc --build", "postbuild": "pnpm run bundle:commonjs", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", + "clean": "rimraf dist", "dev": "pnpm run bundle:commonjs", - "dev:watch": "tsc --incremental --watch", "prebundle": "pnpm run clean", "bundle": "npm-run-all bundle:commonjs bundle:esm", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", diff --git a/packages/vanilla-force-bundle/package.json b/packages/vanilla-force-bundle/package.json index ce237d448..5b76e1831 100644 --- a/packages/vanilla-force-bundle/package.json +++ b/packages/vanilla-force-bundle/package.json @@ -3,10 +3,21 @@ "version": "2.3.0", "description": "Vanilla Slick Grid Bundle (mostly exist for our Salesforce implementation) - Similar to Vanilla Bundle, the only difference is that it adds extra packages within its bundle (CustomTooltip, CompositeEditor & TextExport)", "main": "dist/commonjs/index.js", - "browser": "src/index.ts", "module": "dist/esm/index.js", - "types": "dist/commonjs/index.d.ts", - "typings": "dist/commonjs/index.d.ts", + "exports": { + ".": { + "browser": "./dist/esm/index.js", + "import": "./dist/esm/index.d.ts", + "require": "./dist/commonjs/index.js" + }, + "./*": "./*" + }, + "typesVersions": { + "*": { + "*": ["./dist/esm/index.d.ts"] + } + }, + "types": "dist/esm/index.d.ts", "publishConfig": { "access": "public" }, @@ -17,10 +28,10 @@ "prebuild": "pnpm run clean", "build": "tsc --build", "postbuild": "pnpm run bundle:commonjs", + "build:incremental": "tsc --incremental", "build:watch": "tsc --incremental --watch", - "clean": "rimraf --maxBusyTries=10 packages/*/dist dist", - "dev": "webpack --env development", - "dev:watch": "tsc --incremental --watch", + "clean": "rimraf dist", + "dev:webpack": "webpack --env development", "prebundle": "pnpm run clean", "bundle": "npm-run-all bundle:commonjs bundle:esm webpack:prod", "bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 30f4d26d4..16f55d3c3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,16 +12,16 @@ importers: specifiers: '@4tw/cypress-drag-drop': ^2.2.3 '@jest/types': ^29.4.1 - '@lerna-lite/cli': ^1.14.2 - '@lerna-lite/run': ^1.14.2 - '@lerna-lite/watch': ^1.14.2 + '@lerna-lite/cli': ^1.15.0 + '@lerna-lite/run': ^1.15.0 + '@lerna-lite/watch': ^1.15.0 '@types/jest': ^29.4.0 '@types/node': ^18.11.18 - '@typescript-eslint/eslint-plugin': ^5.49.0 - '@typescript-eslint/parser': ^5.49.0 + '@typescript-eslint/eslint-plugin': ^5.50.0 + '@typescript-eslint/parser': ^5.50.0 cross-env: ^7.0.3 - cypress: ^12.4.1 - eslint: ^8.32.0 + cypress: ^12.5.1 + eslint: ^8.33.0 eslint-plugin-import: ^2.27.5 eslint-plugin-prefer-arrow: ^1.2.3 jest: ^29.4.1 @@ -33,7 +33,7 @@ importers: jsdom-global: ^3.0.2 moment-mini: ^2.29.4 npm-run-all2: ^6.0.4 - pnpm: ^7.26.0 + pnpm: ^7.26.3 rimraf: ^3.0.2 rxjs: ^7.5.7 serve: ^14.2.0 @@ -41,23 +41,23 @@ importers: sortablejs: ^1.15.0 ts-jest: ^29.0.5 ts-node: ^10.9.1 - typescript: ^4.9.4 + typescript: ^4.9.5 whatwg-fetch: ^3.6.2 devDependencies: - '@4tw/cypress-drag-drop': 2.2.3_cypress@12.4.1 + '@4tw/cypress-drag-drop': 2.2.3_cypress@12.5.1 '@jest/types': 29.4.1 - '@lerna-lite/cli': 1.14.2 - '@lerna-lite/run': 1.14.2 - '@lerna-lite/watch': 1.14.2 + '@lerna-lite/cli': 1.15.0 + '@lerna-lite/run': 1.15.0 + '@lerna-lite/watch': 1.15.0 '@types/jest': 29.4.0 '@types/node': 18.11.18 - '@typescript-eslint/eslint-plugin': 5.49.0_iu322prlnwsygkcra5kbpy22si - '@typescript-eslint/parser': 5.49.0_7uibuqfxkfaozanbtbziikiqje + '@typescript-eslint/eslint-plugin': 5.50.0_go4drrxstycfikanvu45pi4vgq + '@typescript-eslint/parser': 5.50.0_4vsywjlpuriuw3tl5oq6zy5a64 cross-env: 7.0.3 - cypress: 12.4.1 - eslint: 8.32.0 - eslint-plugin-import: 2.27.5_6savw6y3b7jng6f64kgkyoij64 - eslint-plugin-prefer-arrow: 1.2.3_eslint@8.32.0 + cypress: 12.5.1 + eslint: 8.33.0 + eslint-plugin-import: 2.27.5_ufewo3pl5nnmz6lltvjrdi2hii + eslint-plugin-prefer-arrow: 1.2.3_eslint@8.33.0 jest: 29.4.1_zfha7dvnw4nti6zkbsmhmn6xo4 jest-cli: 29.4.1_zfha7dvnw4nti6zkbsmhmn6xo4 jest-environment-jsdom: 29.4.1 @@ -67,15 +67,15 @@ importers: jsdom-global: 3.0.2_jsdom@21.1.0 moment-mini: 2.29.4 npm-run-all2: 6.0.4 - pnpm: 7.26.0 + pnpm: 7.26.3 rimraf: 3.0.2 rxjs: 7.5.7 serve: 14.2.0 slickgrid: 3.0.3 sortablejs: 1.15.0 - ts-jest: 29.0.5_7nulultrcqpquosoblof2xbo24 - ts-node: 10.9.1_awa2wsr5thmg3i7jqycphctjfq - typescript: 4.9.4 + ts-jest: 29.0.5_jgx6vq7fgl6labivbgpbeuxqt4 + ts-node: 10.9.1_bdgp3l2zgaopogaavxusmetvge + typescript: 4.9.5 whatwg-fetch: 3.6.2 examples/webpack-demo-vanilla-bundle: @@ -112,10 +112,10 @@ importers: moment-mini: ^2.29.4 multiple-select-modified: ^1.3.17 rxjs: ^7.8.0 - sass: ^1.57.1 + sass: ^1.58.0 sass-loader: ^13.2.0 style-loader: ^3.3.1 - typescript: ^4.9.4 + typescript: ^4.9.5 url-loader: ^4.1.1 webpack: ^5.75.0 webpack-cli: ^5.0.1 @@ -152,14 +152,14 @@ importers: css-loader: 6.7.3_webpack@5.75.0 esbuild-loader: 2.21.0_webpack@5.75.0 file-loader: 6.2.0_webpack@5.75.0 - fork-ts-checker-webpack-plugin: 7.3.0_3fkjkrd3audxnith3e7fo4fnxi + fork-ts-checker-webpack-plugin: 7.3.0_hhrrucqyg4eysmfpujvov2ym5u html-loader: 4.2.0_webpack@5.75.0 html-webpack-plugin: 5.5.0_webpack@5.75.0 mini-css-extract-plugin: 2.7.2_webpack@5.75.0 - sass: 1.57.1 - sass-loader: 13.2.0_sass@1.57.1+webpack@5.75.0 + sass: 1.58.0 + sass-loader: 13.2.0_sass@1.58.0+webpack@5.75.0 style-loader: 3.3.1_webpack@5.75.0 - typescript: 4.9.4 + typescript: 4.9.5 url-loader: 4.1.1_p5dl6emkcwslbw72e37w4ug7em webpack: 5.75.0_webpack-cli@5.0.1 webpack-cli: 5.0.1_uaydpeuxkjjcxdbyfgk36cjdxi @@ -201,7 +201,7 @@ importers: postcss: ^8.4.21 postcss-cli: ^10.1.0 rimraf: ^3.0.2 - sass: ^1.57.1 + sass: ^1.58.0 slickgrid: ^3.0.3 sortablejs: ^1.15.0 un-flatten-tree: ^2.0.12 @@ -229,7 +229,7 @@ importers: postcss: 8.4.21 postcss-cli: 10.1.0_postcss@8.4.21 rimraf: 3.0.2 - sass: 1.57.1 + sass: 1.58.0 packages/composite-editor-component: specifiers: @@ -533,12 +533,12 @@ importers: packages: - /@4tw/cypress-drag-drop/2.2.3_cypress@12.4.1: + /@4tw/cypress-drag-drop/2.2.3_cypress@12.5.1: resolution: {integrity: sha512-ADMNoELeQdcGLPjfTJ5jWupBKU3rmQAnTqaRhuEa3hQGZ6suR49Ya5SReUrwvJnfAR4pgMcnSkqLqi1F4EPuwA==} peerDependencies: cypress: ^2.1.0 || ^3.1.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 dependencies: - cypress: 12.4.1 + cypress: 12.5.1 dev: true /@ampproject/remapping/2.2.0: @@ -1475,17 +1475,17 @@ packages: resolution: {integrity: sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==} dev: true - /@lerna-lite/cli/1.14.2: - resolution: {integrity: sha512-ovvcL85bktZa8w1BEEYSoPfaF2teN1UP/pYun+WXJweSdTU6iCwgsSzHXOb2Z6unlTqNEQINvAiH0uce0/uk1A==} + /@lerna-lite/cli/1.15.0: + resolution: {integrity: sha512-dlPwhwXvyiFBcYpP4kOVaCSFVhTUsQgieLQZUky2Plpyqk+vHB52O8ehLrZOyWgcsrE2DyOQt82OoVziBkbiUw==} engines: {node: '>=14.17.0', npm: '>=8.0.0'} hasBin: true dependencies: - '@lerna-lite/core': 1.14.2 - '@lerna-lite/info': 1.14.2 - '@lerna-lite/init': 1.14.2 - '@lerna-lite/listable': 1.14.2 - '@lerna-lite/publish': 1.14.2 - '@lerna-lite/version': 1.14.2 + '@lerna-lite/core': 1.15.0 + '@lerna-lite/info': 1.15.0 + '@lerna-lite/init': 1.15.0 + '@lerna-lite/listable': 1.15.0 + '@lerna-lite/publish': 1.15.0 + '@lerna-lite/version': 1.15.0 dedent: 0.7.0 dotenv: 16.0.3 import-local: 3.1.0 @@ -1499,124 +1499,115 @@ packages: - supports-color dev: true - /@lerna-lite/core/1.14.2: - resolution: {integrity: sha512-KRYpNOO85QQ7lav/nQcLuTIgqO0jxZSUS8JKnrE5WCmrlT78aoQoYy17nK/SDy1A98Pmutg6Y9AvZK18vBkCOA==} + /@lerna-lite/core/1.15.0: + resolution: {integrity: sha512-NpG5rJtGr2d5bSitdIBpXDMp19gK7CmB48U+Q3WHnWbBbzNJ3nCOZhQWTQ2OFOQ8fgtQ8idyCKREBZ+vnB0XzQ==} engines: {node: '>=14.17.0', npm: '>=8.0.0'} dependencies: '@npmcli/run-script': 6.0.0 - '@octokit/plugin-enterprise-rest': 6.0.1 - '@octokit/rest': 19.0.5 chalk: 4.1.2 clone-deep: 4.0.1 config-chain: 1.1.13 - conventional-changelog-angular: 5.0.13 - conventional-changelog-core: 4.2.4 - conventional-changelog-writer: 5.0.1 - conventional-commits-parser: 3.2.4 - conventional-recommended-bump: 6.1.0 cosmiconfig: 8.0.0 dedent: 0.7.0 execa: 5.1.1 fs-extra: 11.1.0 - get-stream: 6.0.1 - git-url-parse: 13.1.0 glob-parent: 6.0.2 globby: 11.1.0 - graceful-fs: 4.2.10 inquirer: 8.2.4 is-ci: 3.0.1 - is-stream: 2.0.1 load-json-file: 6.2.0 - make-dir: 3.1.0 minimatch: 5.1.6 - node-fetch: 2.6.7 npm-package-arg: 10.1.0 npmlog: 7.0.1 p-map: 4.0.0 p-queue: 6.6.2 path: 0.12.7 - pify: 5.0.0 resolve-from: 5.0.0 semver: 7.3.8 slash: 3.0.0 strong-log-transformer: 2.1.0 - temp-dir: 1.0.0 - uuid: 9.0.0 write-file-atomic: 5.0.0 write-json-file: 4.3.0 write-pkg: 4.0.0 transitivePeerDependencies: - bluebird - - encoding - supports-color dev: true - /@lerna-lite/info/1.14.2: - resolution: {integrity: sha512-Cu0Cc1fpJVYPZW9WKYjMU9rijJQKkuSr26xbwOFIUM+jm8qvytChJXqeZhmfP5K+PwLIiRx8eCYJ0A0xpHKcDQ==} + /@lerna-lite/filter-packages/1.15.0: + resolution: {integrity: sha512-R2ilxu5MMIOpYJlBolGgTSRAKVmUgotqt+Ep3huCrnLOus2xNZBWOnDxzXH/LKDL3fyWxNvo+wUiT3LXfrU3Vw==} engines: {node: '>=14.17.0', npm: '>=8.0.0'} dependencies: - '@lerna-lite/core': 1.14.2 + '@lerna-lite/core': 1.15.0 + multimatch: 5.0.0 + npmlog: 7.0.1 + transitivePeerDependencies: + - bluebird + - supports-color + dev: true + + /@lerna-lite/info/1.15.0: + resolution: {integrity: sha512-JDyhfePqejMRq8Vgl7dXPqlZ1WVopCJHC4PakfNwKKtUoOqhlmChSuPq35WOpgTSV704Vu4PVCwrcPhJ5YtnKQ==} + engines: {node: '>=14.17.0', npm: '>=8.0.0'} + dependencies: + '@lerna-lite/core': 1.15.0 envinfo: 7.8.1 transitivePeerDependencies: - bluebird - - encoding - supports-color dev: true - /@lerna-lite/init/1.14.2: - resolution: {integrity: sha512-QJYJCOkRoISrYa8dRvRTFTIbe7M9+yhs+xKykDlnJ3GLUlUsPIeJEStvU47lQmykikP55KnM6alHRIlmXSV1pQ==} + /@lerna-lite/init/1.15.0: + resolution: {integrity: sha512-+dgTGk7TYyRTn/3MDobbn1OduP9FnN+xb+IdMlwV+IbpnMwESwtwYf9ffFWDADwFcnhOgtG/TnuxXsXtVrHRqg==} engines: {node: '>=14.17.0', npm: '>=8.0.0'} dependencies: - '@lerna-lite/core': 1.14.2 + '@lerna-lite/core': 1.15.0 fs-extra: 11.1.0 p-map: 4.0.0 path: 0.12.7 write-json-file: 4.3.0 transitivePeerDependencies: - bluebird - - encoding - supports-color dev: true - /@lerna-lite/listable/1.14.2: - resolution: {integrity: sha512-Ojt7VoQ8fq7em06IfJiTTrBH74B88D+1fteH1zuFvtjLHKRrVPf+es0+ottMGJAs6lAJv1L2MAbTgYl4IlLc+w==} + /@lerna-lite/listable/1.15.0: + resolution: {integrity: sha512-oMQ7CRa3iOSG+2b+H1ozKi5JHixnkf/LfWu2oKMT8AXlxiJWV0xRayhFAflJY4SkZAFiDJjg2a8eppS7xSycwA==} engines: {node: '>=14.17.0', npm: '>=8.0.0'} dependencies: - '@lerna-lite/core': 1.14.2 + '@lerna-lite/core': 1.15.0 chalk: 4.1.2 columnify: 1.6.0 transitivePeerDependencies: - bluebird - - encoding - supports-color dev: true - /@lerna-lite/optional-cmd-common/1.14.2: - resolution: {integrity: sha512-fArrjNNZ9+9mj+OZcZDHUYsvy9xVklYOK8g3CW4AEWdsMO7hlmiVMOPvDmOxkKnvuAo/urlRRcdteAPH8tvlUw==} + /@lerna-lite/profiler/1.15.0: + resolution: {integrity: sha512-2/moKqhDhA5ptotBPuDzEywzZ3ZkV/uehA+w1dLv0gTp47eWj53ozL6ypiLQdGZ7MrzNjeGxwR5NPDIockNKzg==} engines: {node: '>=14.17.0', npm: '>=8.0.0'} dependencies: - '@lerna-lite/core': 1.14.2 + '@lerna-lite/core': 1.15.0 fs-extra: 11.1.0 - multimatch: 5.0.0 npmlog: 7.0.1 upath: 2.0.1 transitivePeerDependencies: - bluebird - - encoding - supports-color dev: true - /@lerna-lite/publish/1.14.2: - resolution: {integrity: sha512-5/24ZpqW7oK4sV0RokTO0Q5ZCbKX93Qt7kjqpfaotjWRi9RI/N+H9Mgr4iMzs2xlZoH8JkrUREZRA/CsA5jgBg==} + /@lerna-lite/publish/1.15.0: + resolution: {integrity: sha512-9n2L6DeqXdBmmZgsx/kMFaszXKWAP1ZhoImWpgjz/jVokh5TMUjKNxR8Rsubl/UiiDr3UFywTkfgSm+5jzB8sw==} engines: {node: '>=14.17.0', npm: '>=8.0.0'} dependencies: - '@lerna-lite/core': 1.14.2 - '@lerna-lite/version': 1.14.2 - '@npmcli/arborist': 6.1.6 + '@lerna-lite/core': 1.15.0 + '@lerna-lite/version': 1.15.0 + '@npmcli/arborist': 6.2.1 byte-size: 7.0.1 chalk: 4.1.2 columnify: 1.6.0 fs-extra: 11.1.0 + glob: 7.2.3 has-unicode: 2.0.1 libnpmaccess: 7.0.1 libnpmpublish: 7.0.6 @@ -1633,45 +1624,64 @@ packages: semver: 7.3.8 ssri: 10.0.1 tar: 6.1.13 + temp-dir: 2.0.0 transitivePeerDependencies: - bluebird - encoding - supports-color dev: true - /@lerna-lite/run/1.14.2: - resolution: {integrity: sha512-sN6XjjJm8WHbUlUbkAJlDOXXKJbor5ZRrWBd2aFysJsHag4byEfVBQ8ox4KWAZ2l513AChWrgS8al9txh8GSDA==} + /@lerna-lite/run/1.15.0: + resolution: {integrity: sha512-n0lmXHvNNLCgCOJWkO8Mcq0m8gCqMLr4/7cLXjhhM6oRY3GblwNkdngKfA9MHmvLR2HHpQxCt/cUmLECs8aXvg==} engines: {node: '>=14.17.0', npm: '>=8.0.0'} dependencies: - '@lerna-lite/core': 1.14.2 - '@lerna-lite/optional-cmd-common': 1.14.2 + '@lerna-lite/core': 1.15.0 + '@lerna-lite/filter-packages': 1.15.0 + '@lerna-lite/profiler': 1.15.0 chalk: 4.1.2 fs-extra: 11.1.0 npmlog: 7.0.1 p-map: 4.0.0 transitivePeerDependencies: - bluebird - - encoding - supports-color dev: true - /@lerna-lite/version/1.14.2: - resolution: {integrity: sha512-W56tkMARMuBPYSbLbd9/2GxHsdSjO6JbxgGkTAvgYwaGP11WG6fcZVNjOYfML8Um+9zY9cNtWdJIhAxKmInaGA==} + /@lerna-lite/version/1.15.0: + resolution: {integrity: sha512-E2p6W6s+2AxVLneiEkHPvRxQWFwZzQ6jCUt48P0j7pOVoaCivBWls8cV0jaen2me9MpyfPcTRMJZ6nA4ou8aig==} engines: {node: '>=14.17.0', npm: '>=8.0.0'} dependencies: - '@lerna-lite/core': 1.14.2 + '@lerna-lite/core': 1.15.0 + '@octokit/plugin-enterprise-rest': 6.0.1 + '@octokit/rest': 19.0.7 chalk: 4.1.2 + conventional-changelog-angular: 5.0.13 + conventional-changelog-core: 4.2.4 + conventional-changelog-writer: 5.0.1 + conventional-commits-parser: 3.2.4 + conventional-recommended-bump: 6.1.0 dedent: 0.7.0 + fs-extra: 11.1.0 + get-stream: 6.0.1 + git-url-parse: 13.1.0 + graceful-fs: 4.2.10 + is-stream: 2.0.1 load-json-file: 6.2.0 + make-dir: 3.1.0 minimatch: 5.1.6 new-github-release-url: 1.0.0 + node-fetch: 2.6.7 + npm-package-arg: 10.1.0 npmlog: 7.0.1 p-map: 4.0.0 p-pipe: 3.1.0 p-reduce: 2.1.0 path: 0.12.7 + pify: 5.0.0 semver: 7.3.8 slash: 3.0.0 + temp-dir: 1.0.0 + uuid: 9.0.0 write-json-file: 4.3.0 transitivePeerDependencies: - bluebird @@ -1679,17 +1689,16 @@ packages: - supports-color dev: true - /@lerna-lite/watch/1.14.2: - resolution: {integrity: sha512-3WQnOb5RX5ylokCd6CyEPvY1JJyObp78fdj09jwcJ+k99ivLUj372Wqf41+4CoKAmVuBzOFjQkF24QS4E02U3w==} + /@lerna-lite/watch/1.15.0: + resolution: {integrity: sha512-WSt6oaiualp0lB1dHjNtdWyEf/QPgjgfTj2izSilbeoEYxfZpcKaEgdnMrCHG9o8eWeCpp5J2f+/guOuFRwijg==} engines: {node: '>=14.17.0', npm: '>=8.0.0'} dependencies: - '@lerna-lite/core': 1.14.2 - '@lerna-lite/optional-cmd-common': 1.14.2 + '@lerna-lite/core': 1.15.0 + '@lerna-lite/filter-packages': 1.15.0 chokidar: 3.5.3 path: 0.12.7 transitivePeerDependencies: - bluebird - - encoding - supports-color dev: true @@ -1714,8 +1723,8 @@ packages: fastq: 1.13.0 dev: true - /@npmcli/arborist/6.1.6: - resolution: {integrity: sha512-AvHsZV5ZPW/GvPfzgZFqXbiELx3Gh9dLL/nIHZdU2LnlqavReBfniMgy4tqxY7xJ71TB9/Ctkqfb7gIdku7Ybw==} + /@npmcli/arborist/6.2.1: + resolution: {integrity: sha512-5bpihPqBgAMdOoM7pCeziVVP5NHmAqnjTUq9v8qrzrFcesEbBRpeiD0h3M4tw16NtQ6f024sI6EvWASUrxTHHw==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} hasBin: true dependencies: @@ -1924,18 +1933,22 @@ packages: resolution: {integrity: sha512-HNWisMYlR8VCnNurDU6os2ikx0s0VyEjDYHNS/h4cgb8DeOxQ0n72HyinUtdDVxJhFy3FWLGl0DJhfEWk3P5Iw==} dev: true + /@octokit/openapi-types/16.0.0: + resolution: {integrity: sha512-JbFWOqTJVLHZSUUoF4FzAZKYtqdxWu9Z5m2QQnOyEa04fOFljvyh7D3GYKbfuaSWisqehImiVIMG4eyJeP5VEA==} + dev: true + /@octokit/plugin-enterprise-rest/6.0.1: resolution: {integrity: sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw==} dev: true - /@octokit/plugin-paginate-rest/5.0.1_@octokit+core@4.1.0: - resolution: {integrity: sha512-7A+rEkS70pH36Z6JivSlR7Zqepz3KVucEFVDnSrgHXzG7WLAzYwcHZbKdfTXHwuTHbkT1vKvz7dHl1+HNf6Qyw==} + /@octokit/plugin-paginate-rest/6.0.0_@octokit+core@4.1.0: + resolution: {integrity: sha512-Sq5VU1PfT6/JyuXPyt04KZNVsFOSBaYOAq2QRZUwzVlI10KFvcbUo8lR258AAQL1Et60b0WuVik+zOWKLuDZxw==} engines: {node: '>= 14'} peerDependencies: '@octokit/core': '>=4' dependencies: '@octokit/core': 4.1.0 - '@octokit/types': 8.0.0 + '@octokit/types': 9.0.0 dev: true /@octokit/plugin-request-log/1.0.4_@octokit+core@4.1.0: @@ -1946,14 +1959,14 @@ packages: '@octokit/core': 4.1.0 dev: true - /@octokit/plugin-rest-endpoint-methods/6.7.0_@octokit+core@4.1.0: - resolution: {integrity: sha512-orxQ0fAHA7IpYhG2flD2AygztPlGYNAdlzYz8yrD8NDgelPfOYoRPROfEyIe035PlxvbYrgkfUZIhSBKju/Cvw==} + /@octokit/plugin-rest-endpoint-methods/7.0.1_@octokit+core@4.1.0: + resolution: {integrity: sha512-pnCaLwZBudK5xCdrR823xHGNgqOzRnJ/mpC/76YPpNP7DybdsJtP7mdOwh+wYZxK5jqeQuhu59ogMI4NRlBUvA==} engines: {node: '>= 14'} peerDependencies: '@octokit/core': '>=3' dependencies: '@octokit/core': 4.1.0 - '@octokit/types': 8.0.0 + '@octokit/types': 9.0.0 deprecation: 2.3.1 dev: true @@ -1980,14 +1993,14 @@ packages: - encoding dev: true - /@octokit/rest/19.0.5: - resolution: {integrity: sha512-+4qdrUFq2lk7Va+Qff3ofREQWGBeoTKNqlJO+FGjFP35ZahP+nBenhZiGdu8USSgmq4Ky3IJ/i4u0xbLqHaeow==} + /@octokit/rest/19.0.7: + resolution: {integrity: sha512-HRtSfjrWmWVNp2uAkEpQnuGMJsu/+dBr47dRc5QVgsCbnIc1+GFEaoKBWkYG+zjrsHpSqcAElMio+n10c0b5JA==} engines: {node: '>= 14'} dependencies: '@octokit/core': 4.1.0 - '@octokit/plugin-paginate-rest': 5.0.1_@octokit+core@4.1.0 + '@octokit/plugin-paginate-rest': 6.0.0_@octokit+core@4.1.0 '@octokit/plugin-request-log': 1.0.4_@octokit+core@4.1.0 - '@octokit/plugin-rest-endpoint-methods': 6.7.0_@octokit+core@4.1.0 + '@octokit/plugin-rest-endpoint-methods': 7.0.1_@octokit+core@4.1.0 transitivePeerDependencies: - encoding dev: true @@ -2004,6 +2017,12 @@ packages: '@octokit/openapi-types': 14.0.0 dev: true + /@octokit/types/9.0.0: + resolution: {integrity: sha512-LUewfj94xCMH2rbD5YJ+6AQ4AVjFYTgpp6rboWM5T7N3IsIF65SBEOVcYMGAEzO/kKNiNaW4LoWtoThOhH06gw==} + dependencies: + '@octokit/openapi-types': 16.0.0 + dev: true + /@sinclair/typebox/0.25.21: resolution: {integrity: sha512-gFukHN4t8K4+wVC+ECqeqwzBDeFeTzBXroBTqE6vcWrQGbEUpHO7LYdG0f4xnvYq4VOEwITSlHlp0JBAIFMS/g==} dev: true @@ -2354,8 +2373,8 @@ packages: dev: true optional: true - /@typescript-eslint/eslint-plugin/5.49.0_iu322prlnwsygkcra5kbpy22si: - resolution: {integrity: sha512-IhxabIpcf++TBaBa1h7jtOWyon80SXPRLDq0dVz5SLFC/eW6tofkw/O7Ar3lkx5z5U6wzbKDrl2larprp5kk5Q==} + /@typescript-eslint/eslint-plugin/5.50.0_go4drrxstycfikanvu45pi4vgq: + resolution: {integrity: sha512-vwksQWSFZiUhgq3Kv7o1Jcj0DUNylwnIlGvKvLLYsq8pAWha6/WCnXUeaSoNNha/K7QSf2+jvmkxggC1u3pIwQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/parser': ^5.0.0 @@ -2365,24 +2384,25 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.49.0_7uibuqfxkfaozanbtbziikiqje - '@typescript-eslint/scope-manager': 5.49.0 - '@typescript-eslint/type-utils': 5.49.0_7uibuqfxkfaozanbtbziikiqje - '@typescript-eslint/utils': 5.49.0_7uibuqfxkfaozanbtbziikiqje + '@typescript-eslint/parser': 5.50.0_4vsywjlpuriuw3tl5oq6zy5a64 + '@typescript-eslint/scope-manager': 5.50.0 + '@typescript-eslint/type-utils': 5.50.0_4vsywjlpuriuw3tl5oq6zy5a64 + '@typescript-eslint/utils': 5.50.0_4vsywjlpuriuw3tl5oq6zy5a64 debug: 4.3.4 - eslint: 8.32.0 + eslint: 8.33.0 + grapheme-splitter: 1.0.4 ignore: 5.2.0 natural-compare-lite: 1.4.0 regexpp: 3.2.0 semver: 7.3.8 - tsutils: 3.21.0_typescript@4.9.4 - typescript: 4.9.4 + tsutils: 3.21.0_typescript@4.9.5 + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser/5.49.0_7uibuqfxkfaozanbtbziikiqje: - resolution: {integrity: sha512-veDlZN9mUhGqU31Qiv2qEp+XrJj5fgZpJ8PW30sHU+j/8/e5ruAhLaVDAeznS7A7i4ucb/s8IozpDtt9NqCkZg==} + /@typescript-eslint/parser/5.50.0_4vsywjlpuriuw3tl5oq6zy5a64: + resolution: {integrity: sha512-KCcSyNaogUDftK2G9RXfQyOCt51uB5yqC6pkUYqhYh8Kgt+DwR5M0EwEAxGPy/+DH6hnmKeGsNhiZRQxjH71uQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -2391,26 +2411,26 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.49.0 - '@typescript-eslint/types': 5.49.0 - '@typescript-eslint/typescript-estree': 5.49.0_typescript@4.9.4 + '@typescript-eslint/scope-manager': 5.50.0 + '@typescript-eslint/types': 5.50.0 + '@typescript-eslint/typescript-estree': 5.50.0_typescript@4.9.5 debug: 4.3.4 - eslint: 8.32.0 - typescript: 4.9.4 + eslint: 8.33.0 + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/scope-manager/5.49.0: - resolution: {integrity: sha512-clpROBOiMIzpbWNxCe1xDK14uPZh35u4QaZO1GddilEzoCLAEz4szb51rBpdgurs5k2YzPtJeTEN3qVbG+LRUQ==} + /@typescript-eslint/scope-manager/5.50.0: + resolution: {integrity: sha512-rt03kaX+iZrhssaT974BCmoUikYtZI24Vp/kwTSy841XhiYShlqoshRFDvN1FKKvU2S3gK+kcBW1EA7kNUrogg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.49.0 - '@typescript-eslint/visitor-keys': 5.49.0 + '@typescript-eslint/types': 5.50.0 + '@typescript-eslint/visitor-keys': 5.50.0 dev: true - /@typescript-eslint/type-utils/5.49.0_7uibuqfxkfaozanbtbziikiqje: - resolution: {integrity: sha512-eUgLTYq0tR0FGU5g1YHm4rt5H/+V2IPVkP0cBmbhRyEmyGe4XvJ2YJ6sYTmONfjmdMqyMLad7SB8GvblbeESZA==} + /@typescript-eslint/type-utils/5.50.0_4vsywjlpuriuw3tl5oq6zy5a64: + resolution: {integrity: sha512-dcnXfZ6OGrNCO7E5UY/i0ktHb7Yx1fV6fnQGGrlnfDhilcs6n19eIRcvLBqx6OQkrPaFlDPk3OJ0WlzQfrV0bQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '*' @@ -2419,23 +2439,23 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.49.0_typescript@4.9.4 - '@typescript-eslint/utils': 5.49.0_7uibuqfxkfaozanbtbziikiqje + '@typescript-eslint/typescript-estree': 5.50.0_typescript@4.9.5 + '@typescript-eslint/utils': 5.50.0_4vsywjlpuriuw3tl5oq6zy5a64 debug: 4.3.4 - eslint: 8.32.0 - tsutils: 3.21.0_typescript@4.9.4 - typescript: 4.9.4 + eslint: 8.33.0 + tsutils: 3.21.0_typescript@4.9.5 + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/types/5.49.0: - resolution: {integrity: sha512-7If46kusG+sSnEpu0yOz2xFv5nRz158nzEXnJFCGVEHWnuzolXKwrH5Bsf9zsNlOQkyZuk0BZKKoJQI+1JPBBg==} + /@typescript-eslint/types/5.50.0: + resolution: {integrity: sha512-atruOuJpir4OtyNdKahiHZobPKFvZnBnfDiyEaBf6d9vy9visE7gDjlmhl+y29uxZ2ZDgvXijcungGFjGGex7w==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/5.49.0_typescript@4.9.4: - resolution: {integrity: sha512-PBdx+V7deZT/3GjNYPVQv1Nc0U46dAHbIuOG8AZ3on3vuEKiPDwFE/lG1snN2eUB9IhF7EyF7K1hmTcLztNIsA==} + /@typescript-eslint/typescript-estree/5.50.0_typescript@4.9.5: + resolution: {integrity: sha512-Gq4zapso+OtIZlv8YNAStFtT6d05zyVCK7Fx3h5inlLBx2hWuc/0465C2mg/EQDDU2LKe52+/jN4f0g9bd+kow==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' @@ -2443,43 +2463,43 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 5.49.0 - '@typescript-eslint/visitor-keys': 5.49.0 + '@typescript-eslint/types': 5.50.0 + '@typescript-eslint/visitor-keys': 5.50.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 semver: 7.3.8 - tsutils: 3.21.0_typescript@4.9.4 - typescript: 4.9.4 + tsutils: 3.21.0_typescript@4.9.5 + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils/5.49.0_7uibuqfxkfaozanbtbziikiqje: - resolution: {integrity: sha512-cPJue/4Si25FViIb74sHCLtM4nTSBXtLx1d3/QT6mirQ/c65bV8arBEebBJJizfq8W2YyMoPI/WWPFWitmNqnQ==} + /@typescript-eslint/utils/5.50.0_4vsywjlpuriuw3tl5oq6zy5a64: + resolution: {integrity: sha512-v/AnUFImmh8G4PH0NDkf6wA8hujNNcrwtecqW4vtQ1UOSNBaZl49zP1SHoZ/06e+UiwzHpgb5zP5+hwlYYWYAw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: '@types/json-schema': 7.0.11 '@types/semver': 7.3.12 - '@typescript-eslint/scope-manager': 5.49.0 - '@typescript-eslint/types': 5.49.0 - '@typescript-eslint/typescript-estree': 5.49.0_typescript@4.9.4 - eslint: 8.32.0 + '@typescript-eslint/scope-manager': 5.50.0 + '@typescript-eslint/types': 5.50.0 + '@typescript-eslint/typescript-estree': 5.50.0_typescript@4.9.5 + eslint: 8.33.0 eslint-scope: 5.1.1 - eslint-utils: 3.0.0_eslint@8.32.0 + eslint-utils: 3.0.0_eslint@8.33.0 semver: 7.3.8 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/visitor-keys/5.49.0: - resolution: {integrity: sha512-v9jBMjpNWyn8B6k/Mjt6VbUS4J1GvUlR4x3Y+ibnP1z7y7V4n0WRz+50DY6+Myj0UaXVSuUlHohO+eZ8IJEnkg==} + /@typescript-eslint/visitor-keys/5.50.0: + resolution: {integrity: sha512-cdMeD9HGu6EXIeGOh2yVW6oGf9wq8asBgZx7nsR/D36gTfQ0odE5kcRYe5M81vjEFAcPeugXrHg78Imu55F6gg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.49.0 + '@typescript-eslint/types': 5.50.0 eslint-visitor-keys: 3.3.0 dev: true @@ -4040,8 +4060,8 @@ packages: cssom: 0.3.8 dev: true - /cypress/12.4.1: - resolution: {integrity: sha512-IFMPzc1RJ22Fac+YbdqywtpcuqZXqQJh+JqZDXn+A15zG/dw99njfv8f0bTvD+WAHhP118+xWG/VwilkFg1rnA==} + /cypress/12.5.1: + resolution: {integrity: sha512-ZmCmJ3lsyeOpBfh410m5+AO2CO1AxAzFBt7k6/uVbNcrNZje1vdiwYTpj2ksPKg9mjr9lR6V8tmlDNMvr4H/YQ==} engines: {node: ^14.0.0 || ^16.0.0 || >=18.0.0} hasBin: true requiresBuild: true @@ -4677,7 +4697,7 @@ packages: - supports-color dev: true - /eslint-module-utils/2.7.4_cnxxylyx37asr43xy64ejg3pwe: + /eslint-module-utils/2.7.4_ypqpzq5szckeh62pb722iz7nn4: resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} engines: {node: '>=4'} peerDependencies: @@ -4698,15 +4718,15 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.49.0_7uibuqfxkfaozanbtbziikiqje + '@typescript-eslint/parser': 5.50.0_4vsywjlpuriuw3tl5oq6zy5a64 debug: 3.2.7 - eslint: 8.32.0 + eslint: 8.33.0 eslint-import-resolver-node: 0.3.7 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-import/2.27.5_6savw6y3b7jng6f64kgkyoij64: + /eslint-plugin-import/2.27.5_ufewo3pl5nnmz6lltvjrdi2hii: resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} engines: {node: '>=4'} peerDependencies: @@ -4716,15 +4736,15 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.49.0_7uibuqfxkfaozanbtbziikiqje + '@typescript-eslint/parser': 5.50.0_4vsywjlpuriuw3tl5oq6zy5a64 array-includes: 3.1.6 array.prototype.flat: 1.3.1 array.prototype.flatmap: 1.3.1 debug: 3.2.7 doctrine: 2.1.0 - eslint: 8.32.0 + eslint: 8.33.0 eslint-import-resolver-node: 0.3.7 - eslint-module-utils: 2.7.4_cnxxylyx37asr43xy64ejg3pwe + eslint-module-utils: 2.7.4_ypqpzq5szckeh62pb722iz7nn4 has: 1.0.3 is-core-module: 2.11.0 is-glob: 4.0.3 @@ -4739,12 +4759,12 @@ packages: - supports-color dev: true - /eslint-plugin-prefer-arrow/1.2.3_eslint@8.32.0: + /eslint-plugin-prefer-arrow/1.2.3_eslint@8.33.0: resolution: {integrity: sha512-J9I5PKCOJretVuiZRGvPQxCbllxGAV/viI20JO3LYblAodofBxyMnZAJ+WGeClHgANnSJberTNoFWWjrWKBuXQ==} peerDependencies: eslint: '>=2.0.0' dependencies: - eslint: 8.32.0 + eslint: 8.33.0 dev: true /eslint-scope/5.1.1: @@ -4763,13 +4783,13 @@ packages: estraverse: 5.3.0 dev: true - /eslint-utils/3.0.0_eslint@8.32.0: + /eslint-utils/3.0.0_eslint@8.33.0: resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: eslint: '>=5' dependencies: - eslint: 8.32.0 + eslint: 8.33.0 eslint-visitor-keys: 2.1.0 dev: true @@ -4783,8 +4803,8 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint/8.32.0: - resolution: {integrity: sha512-nETVXpnthqKPFyuY2FNjz/bEd6nbosRgKbkgS/y1C7LJop96gYHWpiguLecMHQ2XCPxn77DS0P+68WzG6vkZSQ==} + /eslint/8.33.0: + resolution: {integrity: sha512-WjOpFQgKK8VrCnAtl8We0SUOy/oVZ5NHykyMiagV1M9r8IFpIJX7DduK6n1mpfhlG7T1NLWm2SuD8QB7KFySaA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: @@ -4799,7 +4819,7 @@ packages: doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.1.1 - eslint-utils: 3.0.0_eslint@8.32.0 + eslint-utils: 3.0.0_eslint@8.33.0 eslint-visitor-keys: 3.3.0 espree: 9.4.0 esquery: 1.4.0 @@ -5205,7 +5225,7 @@ packages: resolution: {integrity: sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==} dev: true - /fork-ts-checker-webpack-plugin/7.3.0_3fkjkrd3audxnith3e7fo4fnxi: + /fork-ts-checker-webpack-plugin/7.3.0_hhrrucqyg4eysmfpujvov2ym5u: resolution: {integrity: sha512-IN+XTzusCjR5VgntYFgxbxVx3WraPRnKehBFrf00cMSrtUuW9MsG9dhL6MWpY6MkjC3wVwoujfCDgZZCQwbswA==} engines: {node: '>=12.13.0', yarn: '>=1.0.0'} peerDependencies: @@ -5228,7 +5248,7 @@ packages: schema-utils: 3.1.1 semver: 7.3.8 tapable: 2.2.1 - typescript: 4.9.4 + typescript: 4.9.5 webpack: 5.75.0_webpack-cli@5.0.1 dev: true @@ -6471,7 +6491,7 @@ packages: pretty-format: 29.4.1 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.1_awa2wsr5thmg3i7jqycphctjfq + ts-node: 10.9.1_bdgp3l2zgaopogaavxusmetvge transitivePeerDependencies: - supports-color dev: true @@ -8427,8 +8447,8 @@ packages: find-up: 4.1.0 dev: true - /pnpm/7.26.0: - resolution: {integrity: sha512-ASNhFsTa9YpJoalnGa28IKMimZk/oBOt19oxvB6+iP2EVr1h+PYcsTty4mrgSE/LegWQPy4yphZinshKjxycOA==} + /pnpm/7.26.3: + resolution: {integrity: sha512-Q/McJBmWoVmHMn5Nzf8Ty3gCPeOqq4fFbIP07Cg4Ygkvk01yu9LdXagydEHuvYIq0c/yU9+7EKeppUuuw1OX6Q==} engines: {node: '>=14.6'} hasBin: true dev: true @@ -9070,7 +9090,7 @@ packages: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} dev: true - /sass-loader/13.2.0_sass@1.57.1+webpack@5.75.0: + /sass-loader/13.2.0_sass@1.58.0+webpack@5.75.0: resolution: {integrity: sha512-JWEp48djQA4nbZxmgC02/Wh0eroSUutulROUusYJO9P9zltRbNN80JCBHqRGzjd4cmZCa/r88xgfkjGD0TXsHg==} engines: {node: '>= 14.15.0'} peerDependencies: @@ -9091,12 +9111,12 @@ packages: dependencies: klona: 2.0.5 neo-async: 2.6.2 - sass: 1.57.1 + sass: 1.58.0 webpack: 5.75.0_webpack-cli@5.0.1 dev: true - /sass/1.57.1: - resolution: {integrity: sha512-O2+LwLS79op7GI0xZ8fqzF7X2m/m8WFfI02dHOdsK5R2ECeS5F62zrwg/relM1rjSLy7Vd/DiMNIvPrQGsA0jw==} + /sass/1.58.0: + resolution: {integrity: sha512-PiMJcP33DdKtZ/1jSjjqVIKihoDc6yWmYr9K/4r3fVVIEDAluD0q7XZiRKrNJcPK3qkLRF/79DND1H5q1LBjgg==} engines: {node: '>=12.0.0'} hasBin: true dependencies: @@ -9714,6 +9734,11 @@ packages: engines: {node: '>=4'} dev: true + /temp-dir/2.0.0: + resolution: {integrity: sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==} + engines: {node: '>=8'} + dev: true + /terser-webpack-plugin/5.3.3_webpack@5.75.0: resolution: {integrity: sha512-Fx60G5HNYknNTNQnzQ1VePRuu89ZVYWfjRAeT5rITuCY/1b08s49e5kSQwHDirKZWuoKOBRFS98EUUoZ9kLEwQ==} engines: {node: '>= 10.13.0'} @@ -9885,7 +9910,7 @@ packages: engines: {node: '>=8'} dev: true - /ts-jest/29.0.5_7nulultrcqpquosoblof2xbo24: + /ts-jest/29.0.5_jgx6vq7fgl6labivbgpbeuxqt4: resolution: {integrity: sha512-PL3UciSgIpQ7f6XjVOmbi96vmDHUqAyqDr8YxzopDqX3kfgYtX1cuNeBjP+L9sFXi6nzsGGA6R3fP3DDDJyrxA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -9915,11 +9940,11 @@ packages: lodash.memoize: 4.1.2 make-error: 1.3.6 semver: 7.3.8 - typescript: 4.9.4 + typescript: 4.9.5 yargs-parser: 21.1.1 dev: true - /ts-node/10.9.1_awa2wsr5thmg3i7jqycphctjfq: + /ts-node/10.9.1_bdgp3l2zgaopogaavxusmetvge: resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -9945,7 +9970,7 @@ packages: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 4.9.4 + typescript: 4.9.5 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 dev: true @@ -9966,14 +9991,14 @@ packages: /tslib/2.4.0: resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==} - /tsutils/3.21.0_typescript@4.9.4: + /tsutils/3.21.0_typescript@4.9.5: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 4.9.4 + typescript: 4.9.5 dev: true /tunnel-agent/0.6.0: @@ -10066,8 +10091,8 @@ packages: resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} dev: true - /typescript/4.9.4: - resolution: {integrity: sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==} + /typescript/4.9.5: + resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==} engines: {node: '>=4.2.0'} hasBin: true dev: true @@ -10259,7 +10284,7 @@ packages: dev: true /verror/1.10.0: - resolution: {integrity: sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=} + resolution: {integrity: sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==} engines: {'0': node >=0.6.0} dependencies: assert-plus: 1.0.0