upgrade 3rd party dependencies (#5879)

* update and remove libs

* upgrade angular

* upgrade libs

* disable old polyfills

* upgrade angular devkit
This commit is contained in:
Denys Vuika
2020-07-16 11:53:29 +01:00
committed by GitHub
parent 18600ab724
commit 38440670b3
4 changed files with 1246 additions and 935 deletions

View File

@@ -36,7 +36,7 @@
*/ */
/** IE10 and IE11 requires the following for NgClass support on SVG elements */ /** IE10 and IE11 requires the following for NgClass support on SVG elements */
import 'classlist.js'; // Run `npm install --save classlist.js`. // import 'classlist.js'; // Run `npm install --save classlist.js`.
/*************************************************************************************************** /***************************************************************************************************
* Zone JS is required by Angular itself. * Zone JS is required by Angular itself.
@@ -48,4 +48,4 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
* *
*/ */
import 'custom-event-polyfill/custom-event-polyfill'; // Run `npm install --save custom-event-polyfill`. // import 'custom-event-polyfill/custom-event-polyfill'; // Run `npm install --save custom-event-polyfill`.

2111
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -72,25 +72,25 @@
], ],
"dependencies": { "dependencies": {
"@alfresco/js-api": "3.9.0", "@alfresco/js-api": "3.9.0",
"@angular/animations": "^10.0.2", "@angular/animations": "^10.0.4",
"@angular/cdk": "10.0.1", "@angular/cdk": "10.0.2",
"@angular/common": "^10.0.2", "@angular/common": "^10.0.4",
"@angular/compiler": "^10.0.2", "@angular/compiler": "^10.0.4",
"@angular/core": "^10.0.2", "@angular/core": "^10.0.4",
"@angular/flex-layout": "^10.0.0-beta.32", "@angular/flex-layout": "^10.0.0-beta.32",
"@angular/forms": "^10.0.2", "@angular/forms": "^10.0.4",
"@angular/material": "^10.0.1", "@angular/material": "^10.0.2",
"@angular/material-moment-adapter": "^10.0.1", "@angular/material-moment-adapter": "^10.0.2",
"@angular/platform-browser": "^10.0.2", "@angular/platform-browser": "^10.0.4",
"@angular/platform-browser-dynamic": "^10.0.2", "@angular/platform-browser-dynamic": "^10.0.4",
"@angular/router": "^10.0.2", "@angular/router": "^10.0.4",
"@mat-datetimepicker/core": "^4.1.0", "@mat-datetimepicker/core": "^4.1.0",
"@mat-datetimepicker/moment": "^4.1.0", "@mat-datetimepicker/moment": "^4.1.0",
"@ngx-translate/core": "^13.0.0", "@ngx-translate/core": "^13.0.0",
"adf-tslint-rules": "0.0.6", "adf-tslint-rules": "0.0.6",
"chart.js": "2.9.3", "chart.js": "2.9.3",
"classlist.js": "1.1.20150312", "classlist.js": "1.1.20150312",
"custom-event-polyfill": "0.3.0", "custom-event-polyfill": "^1.0.7",
"minimatch": "^3.0.4", "minimatch": "^3.0.4",
"minimatch-browser": "1.0.0", "minimatch-browser": "1.0.0",
"moment": "2.22.2", "moment": "2.22.2",
@@ -99,7 +99,6 @@
"ngx-monaco-editor": "7.0.0", "ngx-monaco-editor": "7.0.0",
"pdfjs-dist": "2.3.200", "pdfjs-dist": "2.3.200",
"raphael": "2.2.7", "raphael": "2.2.7",
"remark-validate-links": "^8.0.0",
"rxjs": "^6.6.0", "rxjs": "^6.6.0",
"snyk": "^1.316.1", "snyk": "^1.316.1",
"tslib": "^2.0.0", "tslib": "^2.0.0",
@@ -107,17 +106,17 @@
}, },
"devDependencies": { "devDependencies": {
"@alfresco/adf-cli": "3.9.0", "@alfresco/adf-cli": "3.9.0",
"@angular-devkit/build-angular": "~0.1000.1", "@angular-devkit/build-angular": "~0.1000.3",
"@angular-devkit/build-ng-packagr": "~0.1000.1", "@angular-devkit/build-ng-packagr": "~0.1000.3",
"@angular/cli": "^10.0.1", "@angular/cli": "^10.0.3",
"@angular/compiler-cli": "^10.0.2", "@angular/compiler-cli": "^10.0.4",
"@nrwl/schematics": "8.12.11", "@nrwl/schematics": "8.12.11",
"@nrwl/workspace": "9.3.0", "@nrwl/workspace": "9.3.0",
"@paperist/types-remark": "^0.1.3", "@paperist/types-remark": "^0.1.3",
"@types/jasmine": "~2.8.3", "@types/jasmine": "~2.8.3",
"@types/jasminewd2": "~2.0.2", "@types/jasminewd2": "~2.0.2",
"@types/minimatch": "^3.0.3", "@types/minimatch": "^3.0.3",
"@types/node": "^12.11.1", "@types/node": "^14.0.23",
"@types/pdfjs-dist": "^2.1.3", "@types/pdfjs-dist": "^2.1.3",
"@types/request": "^2.48.5", "@types/request": "^2.48.5",
"@types/selenium-webdriver": "^3.0.8", "@types/selenium-webdriver": "^3.0.8",
@@ -127,28 +126,26 @@
"concurrently": "^3.5.1", "concurrently": "^3.5.1",
"cspell": "^3.1.3", "cspell": "^3.1.3",
"css-loader": "^3.4.2", "css-loader": "^3.4.2",
"dotenv": "6.2.0", "dotenv": "^8.2.0",
"ejs": "^2.6.1", "ejs": "^3.1.3",
"graphql": "^14.1.1", "graphql": "^14.1.1",
"graphql-request": "^1.8.2", "graphql-request": "^1.8.2",
"husky": "^1.2.0", "husky": "^4.2.5",
"jasmine-ajax": "3.2.0", "jasmine-ajax": "3.2.0",
"jasmine-core": "~2.8.0", "jasmine-core": "~2.8.0",
"jasmine-reporters": "^2.3.2", "jasmine-reporters": "^2.3.2",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"jasmine2-protractor-utils": "1.1.3", "jasmine2-protractor-utils": "1.1.3",
"js-yaml": "^3.13.1", "js-yaml": "^3.14.0",
"karma": "^4.1.0", "karma": "^4.1.0",
"karma-chrome-launcher": "~2.2.0", "karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "2.1.0", "karma-coverage-istanbul-reporter": "2.1.0",
"karma-jasmine": "~1.1.0", "karma-jasmine": "~1.1.0",
"karma-jasmine-ajax": "0.1.13", "karma-jasmine-ajax": "0.1.13",
"karma-jasmine-html-reporter": "^0.2.2", "karma-jasmine-html-reporter": "^0.2.2",
"karma-mocha-reporter": "2.2.5", "karma-mocha-reporter": "2.2.5",
"karma-systemjs": "0.16.0",
"license-checker": "^25.0.1", "license-checker": "^25.0.1",
"lint-staged": "^8.1.7", "lint-staged": "^10.2.11",
"lite-server": "^2.4.0", "lite-server": "^2.4.0",
"markdownlint-cli": "^0.16.0", "markdownlint-cli": "^0.16.0",
"mdast": "^3.0.0", "mdast": "^3.0.0",
@@ -165,7 +162,7 @@
"protractor-smartrunner": "^0.1.1", "protractor-smartrunner": "^0.1.1",
"remark": "^9.0.0", "remark": "^9.0.0",
"remark-frontmatter": "^1.2.0", "remark-frontmatter": "^1.2.0",
"rimraf": "^2.6.2", "rimraf": "^3.0.2",
"rxjs-tslint-rules": "^4.10.0", "rxjs-tslint-rules": "^4.10.0",
"sass-loader": "7.1.0", "sass-loader": "7.1.0",
"scss-bundle": "2.3.2", "scss-bundle": "2.3.2",
@@ -174,12 +171,10 @@
"ts-node": "^8.10.2", "ts-node": "^8.10.2",
"tsconfig-paths": "^3.9.0", "tsconfig-paths": "^3.9.0",
"tslint": "5.20.0", "tslint": "5.20.0",
"tslint-consistent-codestyle": "^1.15.1",
"typedoc": "^0.15.0", "typedoc": "^0.15.0",
"typescript": "3.9.6", "typescript": "3.9.6",
"unist-util-select": "^2.0.0", "unist-util-select": "^2.0.0",
"url-join": "^4.0.0", "webpack-cli": "^3.3.12"
"webpack-cli": "^3.1.0"
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"bundlesize": [ "bundlesize": [
@@ -218,12 +213,10 @@
"module": "./index.js", "module": "./index.js",
"typings": "./index.d.ts", "typings": "./index.d.ts",
"lint-staged": { "lint-staged": {
"linters": {
"**/demo-shell/src/**/*.ts": "npm run lint-demo -- --fix", "**/demo-shell/src/**/*.ts": "npm run lint-demo -- --fix",
"**/lib/**/*.ts": "npm run lint-lib -- --fix", "**/lib/**/*.ts": "npm run lint-lib -- --fix",
"**/e2e/**/*.ts": "npm run lint-e2e -- --fix", "**/e2e/**/*.ts": "npm run lint-e2e -- --fix",
"*.scss": "npm run stylelint -- --fix" "*.scss": "npm run stylelint -- --fix"
}
}, },
"husky": { "husky": {
"hooks": { "hooks": {

View File

@@ -1,8 +1,7 @@
{ {
"rulesDirectory": [ "rulesDirectory": [
"./node_modules/codelyzer", "./node_modules/codelyzer",
"./tools/tslint-rules/", "./tools/tslint-rules/"
"tslint-consistent-codestyle"
], ],
"extends": [ "extends": [
"rxjs-tslint-rules" "rxjs-tslint-rules"