update dependencies

master
JFH 2021-11-12 15:58:00 +01:00
parent 2fad5d93a9
commit 65ecd9464b
6 changed files with 1532 additions and 2087 deletions

View File

@ -1,43 +0,0 @@
import {
visitAndApproveStorage
} from '../../support/ui-test-helper.js';
describe('UI - Accessibility', function () {
beforeEach(() => {
visitAndApproveStorage();
cy.injectAxe();
});
// https://www.npmjs.com/package/cypress-axe
it.skip('Has no detectable a11y violations on load', () => {
// Configure aXe and test the page at initial load
cy.configureAxe({
// Todo: Reenable when have time to fix
// See https://www.deque.com/axe/axe-for-web/documentation/api-documentation/#user-content-parameters-1
rules: [ {
id: 'meta-viewport',
enabled: false
} ]
/*
branding: {
brand: String,
application: String
},
reporter: 'option',
checks: [Object],
rules: [Object],
locale: Object
*/
});
cy.checkA11y(
{},
{
rules: {
'label-title-only': { enabled: false },
'page-has-heading-one': { enabled: false },
region: { enabled: false },
'scrollable-region-focusable': { enabled: false }
}
}
);
});
});

View File

@ -37,12 +37,6 @@ import '@cypress/fiddle';
*/ */
import '@cypress/code-coverage/support.js'; import '@cypress/code-coverage/support.js';
/**
* ACCESSIBILITY.
* @see https://www.npmjs.com/package/cypress-axe
*/
import 'cypress-axe';
/***** /*****
* SNAPSHOTS * SNAPSHOTS
* @see https://www.npmjs.com/package/cypress-plugin-snapshots * @see https://www.npmjs.com/package/cypress-plugin-snapshots

3519
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -69,12 +69,12 @@
], ],
"dependencies": { "dependencies": {
"@babel/polyfill": "7.12.1", "@babel/polyfill": "7.12.1",
"browser-fs-access": "^0.20.5", "browser-fs-access": "0.21.1",
"canvg": "3.0.8", "canvg": "3.0.9",
"core-js": "3.18.0", "core-js": "3.19.1",
"elix": "15.0.0", "elix": "15.0.0",
"html2canvas": "1.3.2", "html2canvas": "1.3.2",
"i18next": "21.0.2", "i18next": "21.4.2",
"jspdf": "2.4.0", "jspdf": "2.4.0",
"pathseg": "1.2.1", "pathseg": "1.2.1",
"regenerator-runtime": "0.13.9", "regenerator-runtime": "0.13.9",
@ -82,47 +82,45 @@
"svg2pdf.js": "2.2.0" "svg2pdf.js": "2.2.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "7.15.5", "@babel/core": "7.16.0",
"@babel/preset-env": "7.15.6", "@babel/preset-env": "7.16.0",
"@babel/register": "7.15.3", "@babel/register": "7.16.0",
"@babel/runtime-corejs3": "7.15.4", "@babel/runtime-corejs3": "7.16.3",
"@cypress/code-coverage": "3.9.11", "@cypress/code-coverage": "3.9.11",
"@cypress/fiddle": "1.19.2", "@cypress/fiddle": "1.19.2",
"@fintechstudios/eslint-plugin-chai-as-promised": "3.1.0", "@fintechstudios/eslint-plugin-chai-as-promised": "3.1.0",
"@rollup/plugin-babel": "5.3.0", "@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-commonjs": "18.0.0", "@rollup/plugin-commonjs": "^18",
"@rollup/plugin-dynamic-import-vars": "1.4.0", "@rollup/plugin-dynamic-import-vars": "1.4.1",
"@rollup/plugin-node-resolve": "13.0.5", "@rollup/plugin-node-resolve": "13.0.6",
"@rollup/plugin-replace": "3.0.0", "@rollup/plugin-replace": "3.0.0",
"@rollup/plugin-url": "6.1.0", "@rollup/plugin-url": "6.1.0",
"@web/dev-server": "0.1.23", "@web/dev-server": "0.1.28",
"@web/dev-server-rollup": "0.3.9", "@web/dev-server-rollup": "0.3.13",
"axe-core": "4.3.3",
"babel-plugin-transform-object-rest-spread": "7.0.0-beta.3", "babel-plugin-transform-object-rest-spread": "7.0.0-beta.3",
"copyfiles": "2.4.1", "copyfiles": "2.4.1",
"core-js-bundle": "3.18.0", "core-js-bundle": "3.19.1",
"cp-cli": "2.0.0", "cp-cli": "2.0.0",
"cypress": "8.4.1", "cypress": "9.0.0",
"cypress-axe": "0.13.0",
"cypress-multi-reporters": "1.5.0", "cypress-multi-reporters": "1.5.0",
"cypress-plugin-snapshots": "1.4.4", "cypress-plugin-snapshots": "1.4.4",
"eslint": "7.32.0", "eslint": "^7",
"eslint-config-standard": "16.0.3", "eslint-config-standard": "16.0.3",
"eslint-plugin-array-func": "3.1.7", "eslint-plugin-array-func": "3.1.7",
"eslint-plugin-chai-expect": "2.2.0", "eslint-plugin-chai-expect": "3.0.0",
"eslint-plugin-chai-expect-keywords": "2.1.0", "eslint-plugin-chai-expect-keywords": "2.1.0",
"eslint-plugin-chai-friendly": "0.7.2", "eslint-plugin-chai-friendly": "0.7.2",
"eslint-plugin-compat": "3.13.0", "eslint-plugin-compat": "3.13.0",
"eslint-plugin-cypress": "2.12.1", "eslint-plugin-cypress": "2.12.1",
"eslint-plugin-eslint-comments": "3.2.0", "eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-html": "6.2.0", "eslint-plugin-html": "6.2.0",
"eslint-plugin-import": "2.24.2", "eslint-plugin-import": "2.25.3",
"eslint-plugin-jsdoc": "36.1.0", "eslint-plugin-jsdoc": "37.0.3",
"eslint-plugin-markdown": "2.2.1", "eslint-plugin-markdown": "2.2.1",
"eslint-plugin-no-unsanitized": "3.1.5", "eslint-plugin-no-unsanitized": "4.0.0",
"eslint-plugin-no-use-extend-native": "0.5.0", "eslint-plugin-no-use-extend-native": "0.5.0",
"eslint-plugin-node": "11.1.0", "eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "5.1.0", "eslint-plugin-promise": "5.1.1",
"eslint-plugin-standard": "4.1.0", "eslint-plugin-standard": "4.1.0",
"jamilih": "0.54.0", "jamilih": "0.54.0",
"jsdoc": "3.6.7", "jsdoc": "3.6.7",
@ -136,7 +134,7 @@
"remark-cli": "10.0.0", "remark-cli": "10.0.0",
"remark-lint-ordered-list-marker-value": "3.1.0", "remark-lint-ordered-list-marker-value": "3.1.0",
"rimraf": "3.0.2", "rimraf": "3.0.2",
"rollup": "2.57.0", "rollup": "2.60.0",
"rollup-plugin-copy": "3.4.0", "rollup-plugin-copy": "3.4.0",
"rollup-plugin-filesize": "9.1.1", "rollup-plugin-filesize": "9.1.1",
"rollup-plugin-node-polyfills": "0.2.1", "rollup-plugin-node-polyfills": "0.2.1",

View File

@ -176,8 +176,8 @@ export default class ConfigObj {
'ext-grid', 'ext-grid',
'ext-imagelib', 'ext-imagelib',
// 'ext-arrows', // 'ext-arrows',
// 'ext-markers', 'ext-markers',
'ext-overview_window', // 'ext-overview_window', disabled until we fix performance issue
'ext-panning', 'ext-panning',
'ext-shapes', 'ext-shapes',
'ext-polystar', 'ext-polystar',

View File

@ -306,7 +306,6 @@ export const getIntersectionListMethod = function (rect) {
const resultList = []; const resultList = [];
if (selectionContext_.getCurBBoxes().length === 0) { if (selectionContext_.getCurBBoxes().length === 0) {
// Cache all bboxes // Cache all bboxes
console.log("setbb");
selectionContext_.setCurBBoxes(getVisibleElementsAndBBoxes(parent)); selectionContext_.setCurBBoxes(getVisibleElementsAndBBoxes(parent));
} }
let i = selectionContext_.getCurBBoxes().length; let i = selectionContext_.getCurBBoxes().length;