From 31520f92f39e2b7198ee11ded17c5dfb6ea85b6e Mon Sep 17 00:00:00 2001 From: Boris Date: Fri, 3 Jun 2022 16:18:05 +0300 Subject: [PATCH] chore: remove unused modules, update the vulnerable modules --- demo-app/package.json | 7 ++-- demo-app/tslint.json | 92 ------------------------------------------- package.json | 8 ++-- 3 files changed, 7 insertions(+), 100 deletions(-) delete mode 100644 demo-app/tslint.json diff --git a/demo-app/package.json b/demo-app/package.json index 3608f61..21715b1 100644 --- a/demo-app/package.json +++ b/demo-app/package.json @@ -23,7 +23,7 @@ "zone.js": "~0.11.4" }, "devDependencies": { - "@angular-devkit/build-angular": "13.0.2", + "@angular-devkit/build-angular": "^13.3.7", "@angular-eslint/builder": "13.0.1", "@angular-eslint/eslint-plugin": "13.0.1", "@angular-eslint/eslint-plugin-template": "13.0.1", @@ -37,10 +37,9 @@ "@typescript-eslint/eslint-plugin": "5.3.0", "@typescript-eslint/parser": "5.3.0", "angular-testcafe": "file:..", - "codelyzer": "^6.0.0", - "eslint": "^8.1.0", + "eslint": "^8.2.0", "ts-node": "~8.10.2", "tslint": "~6.1.3", "typescript": "~4.4.4" } -} +} \ No newline at end of file diff --git a/demo-app/tslint.json b/demo-app/tslint.json deleted file mode 100644 index 188bd78..0000000 --- a/demo-app/tslint.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "extends": "tslint:recommended", - "rules": { - "array-type": false, - "arrow-parens": false, - "deprecation": { - "severity": "warn" - }, - "component-class-suffix": true, - "contextual-lifecycle": true, - "directive-class-suffix": true, - "directive-selector": [ - true, - "attribute", - "app", - "camelCase" - ], - "component-selector": [ - true, - "element", - "app", - "kebab-case" - ], - "import-blacklist": [ - true, - "rxjs/Rx" - ], - "interface-name": false, - "max-classes-per-file": false, - "max-line-length": [ - true, - 140 - ], - "member-access": false, - "member-ordering": [ - true, - { - "order": [ - "static-field", - "instance-field", - "static-method", - "instance-method" - ] - } - ], - "no-consecutive-blank-lines": false, - "no-console": [ - true, - "debug", - "info", - "time", - "timeEnd", - "trace" - ], - "no-empty": false, - "no-inferrable-types": [ - true, - "ignore-params" - ], - "no-non-null-assertion": true, - "no-redundant-jsdoc": true, - "no-switch-case-fall-through": true, - "no-use-before-declare": true, - "no-var-requires": false, - "object-literal-key-quotes": [ - true, - "as-needed" - ], - "object-literal-sort-keys": false, - "ordered-imports": false, - "quotemark": [ - true, - "single" - ], - "trailing-comma": false, - "no-conflicting-lifecycle": true, - "no-host-metadata-property": true, - "no-input-rename": true, - "no-inputs-metadata-property": true, - "no-output-native": true, - "no-output-on-prefix": true, - "no-output-rename": true, - "no-outputs-metadata-property": true, - "template-banana-in-box": true, - "template-no-negated-async": true, - "use-lifecycle-interface": true, - "use-pipe-transform-interface": true - }, - "rulesDirectory": [ - "codelyzer" - ] -} \ No newline at end of file diff --git a/package.json b/package.json index 474f14f..21e1e8d 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "homepage": "https://github.com/devexpress/angular-testcafe#readme", "devDependencies": { "@angular-devkit/architect": "^0.1202.6", - "@angular-devkit/build-angular": "^12.2.6", + "@angular-devkit/build-angular": "^13.3.7", "@angular-devkit/core": "^12.2.6", "@types/node": "^16.9.6", "@typescript-eslint/eslint-plugin": "^4.22.0", @@ -69,10 +69,10 @@ "typescript": "^4.3" }, "peerDependencies": { - "testcafe": ">=1.9.0", - "@angular/core": ">=13.0.0" + "@angular/core": ">=13.0.0", + "testcafe": ">=1.9.0" }, "dependencies": { "lodash": "4.17.21" } -} +} \ No newline at end of file