Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 104d817

Browse files
ghillertoodamien
authored andcommitted
gh-697 Update Angular to 5.2.9 and Angular CLI to 1.7.3
1 parent 8623329 commit 104d817

File tree

5 files changed

+29
-24
lines changed

5 files changed

+29
-24
lines changed

ui/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
},
1717
"private": true,
1818
"dependencies": {
19-
"@angular/animations": "5.2.3",
20-
"@angular/common": "5.2.3",
21-
"@angular/compiler": "5.2.3",
22-
"@angular/core": "5.2.3",
23-
"@angular/forms": "5.2.3",
24-
"@angular/http": "5.2.3",
25-
"@angular/platform-browser": "5.2.3",
26-
"@angular/platform-browser-dynamic": "5.2.3",
27-
"@angular/router": "5.2.3",
19+
"@angular/animations": "5.2.9",
20+
"@angular/common": "5.2.9",
21+
"@angular/compiler": "5.2.9",
22+
"@angular/core": "5.2.9",
23+
"@angular/forms": "5.2.9",
24+
"@angular/http": "5.2.9",
25+
"@angular/platform-browser": "5.2.9",
26+
"@angular/platform-browser-dynamic": "5.2.9",
27+
"@angular/router": "5.2.9",
2828
"core-js": "2.5.3",
29-
"rxjs": "5.5.6",
29+
"rxjs": "5.5.7",
3030
"zone.js": "0.8.20",
3131
"bootstrap-sass": "3.3.7",
3232
"d3": "4.12.0",
@@ -46,18 +46,18 @@
4646
"ng-busy": "1.4.4"
4747
},
4848
"devDependencies": {
49-
"@angular/cli": "1.6.7",
50-
"@angular/compiler-cli": "5.2.3",
51-
"@angular/language-service": "5.2.3",
49+
"@angular/cli": "1.7.3",
50+
"@angular/compiler-cli": "5.2.9",
51+
"@angular/language-service": "5.2.9",
5252
"@types/jasmine": "2.8.6",
5353
"@types/jasminewd2": "2.0.3",
54-
"@types/node": "6.0.96",
55-
"codelyzer": "4.1.0",
54+
"@types/node": "6.0.103",
55+
"codelyzer": "4.2.1",
5656
"jasmine-core": "2.8.0",
5757
"jasmine-spec-reporter": "4.2.1",
5858
"karma": "2.0.0",
5959
"karma-chrome-launcher": "2.2.0",
60-
"karma-coverage-istanbul-reporter": "1.4.1",
60+
"karma-coverage-istanbul-reporter": "1.4.2",
6161
"karma-jasmine": "1.1.1",
6262
"karma-jasmine-html-reporter": "0.2.2",
6363
"protractor": "5.1.2",

ui/src/polyfills.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,20 @@ import 'core-js/es7/reflect';
5252
**/
5353
import 'web-animations-js'; // Run `npm install --save web-animations-js`.
5454

55+
/**
56+
* By default, zone.js will patch all possible macroTask and DomEvents
57+
* user can disable parts of macroTask/DomEvents patch by setting following flags
58+
*/
5559

60+
// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
61+
// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
62+
// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
63+
64+
/*
65+
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
66+
* with the following flag, it will bypass `zone.js` patch for IE/Edge
67+
*/
68+
// (window as any).__Zone_enable_cross_context_check = true;
5669

5770
/***************************************************************************************************
5871
* Zone JS is required by default for Angular itself.

ui/src/typings.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@ declare var module: NodeModule;
33
interface NodeModule {
44
id: string;
55
}
6-
declare module 'stompjs';
7-
declare module 'sockjs-client';

ui/tsconfig.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,5 @@
1515
"es2017",
1616
"dom"
1717
]
18-
},
19-
"angularCompilerOptions": {
20-
"fullTemplateTypeCheck": true,
21-
"preserveWhiteSpaces": false
2218
}
2319
}

ui/tslint.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@
107107
"variable-declaration": "nospace"
108108
}
109109
],
110-
"typeof-compare": true,
111110
"unified-signatures": true,
112111
"variable-name": false,
113112
"whitespace": [
@@ -130,7 +129,6 @@
130129
"app",
131130
"kebab-case"
132131
],
133-
"angular-whitespace": [true, "check-interpolation"],
134132
"no-output-on-prefix": true,
135133
"use-input-property-decorator": true,
136134
"use-output-property-decorator": true,

0 commit comments

Comments
 (0)