Skip to content

Commit 486061d

Browse files
committed
commit for stable version of angular 10
1 parent 82bf67e commit 486061d

File tree

8 files changed

+5621
-4313
lines changed

8 files changed

+5621
-4313
lines changed
File renamed without changes.

package-lock.json

Lines changed: 5590 additions & 4289 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -54,49 +54,49 @@
5454
},
5555
"main": "./dist/index.js",
5656
"dependencies": {
57-
"@angular/animations": "^8.2.14",
57+
"@angular/animations": "^10.2.5",
5858
"@angular/common": "^10.2.5",
59-
"@angular/compiler": "^8.2.14",
59+
"@angular/compiler": "^10.2.5",
6060
"@angular/core": "^10.2.5",
6161
"@angular/forms": "^10.2.5",
62-
"@angular/platform-browser": "^8.2.14",
63-
"@angular/platform-browser-dynamic": "^8.2.14",
64-
"@angular/router": "^8.2.14",
62+
"@angular/platform-browser": "^10.2.5",
63+
"@angular/platform-browser-dynamic": "^10.2.5",
64+
"@angular/router": "^10.2.5",
6565
"angularjs2-tabs": "0.0.1-beta.1",
6666
"bootstrap": "^3.4.1",
6767
"core-js": "^2.6.12",
6868
"rxjs": "^6.6.7",
6969
"rxjs-compat": "^6.0.0-rc.0",
70-
"tslib": "^1.14.1",
70+
"tslib": "^2.0.0",
7171
"zone.js": "~0.9.1"
7272
},
7373
"devDependencies": {
74-
"@angular-devkit/build-angular": "~0.803.29",
75-
"@angular/cli": "^9.1.9",
76-
"@angular/compiler-cli": "^8.2.14",
77-
"@angular/language-service": "^8.2.14",
74+
"@angular-devkit/build-angular": "~0.1002.4",
75+
"@angular/cli": "^10.2.4",
76+
"@angular/compiler-cli": "^10.2.5",
77+
"@angular/language-service": "^10.2.5",
7878
"@types/codemirror": "0.0.58",
7979
"@types/jasmine": "~2.5.53",
8080
"@types/jasminewd2": "^2.0.10",
8181
"@types/node": "^6.14.13",
8282
"codelyzer": "^5.0.1",
8383
"codemirror": "^5.65.10",
8484
"fusioncharts": "^3.19.0",
85-
"jasmine-core": "~2.6.2",
86-
"jasmine-spec-reporter": "~4.1.0",
87-
"karma": "^3.1.4",
88-
"karma-chrome-launcher": "~2.1.1",
85+
"jasmine-core": "~3.5.0",
86+
"jasmine-spec-reporter": "~5.0.0",
87+
"karma": "~5.0.0",
88+
"karma-chrome-launcher": "~3.1.0",
8989
"karma-cli": "~1.0.1",
90-
"karma-coverage-istanbul-reporter": "^1.2.1",
91-
"karma-jasmine": "~1.1.0",
92-
"karma-jasmine-html-reporter": "^0.2.2",
90+
"karma-coverage-istanbul-reporter": "~3.0.2",
91+
"karma-jasmine": "~4.0.0",
92+
"karma-jasmine-html-reporter": "^1.5.0",
9393
"ng2-codemirror": "^1.1.3",
9494
"prismjs": "^1.29.0",
95-
"protractor": "^5.4.4",
95+
"protractor": "~7.0.0",
9696
"rollup": "^0.45.2",
9797
"ts-node": "~3.0.4",
98-
"tslint": "~5.3.2",
99-
"typescript": "3.5.3"
98+
"tslint": "~6.1.0",
99+
"typescript": "4.0.8"
100100
},
101101
"engines": {
102102
"node": ">=4.4.1"

src/angular-fusioncharts/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export {
3434

3535
export class FusionChartsModule {
3636
// Keep this for backward compatible
37-
static forRoot(fcCore?: any, ...fcModules: any[]): ModuleWithProviders {
37+
static forRoot(fcCore?: any, ...fcModules: any[]): ModuleWithProviders<FusionChartsModule> {
3838
return {
3939
ngModule: FusionChartsModule,
4040
providers: [{

src/angular-fusioncharts/src/fusioncharts.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ class FusionChartsComponent
236236

237237
containerId: string;
238238
private configObj: any;
239-
private oldDataSource: any = this.dataSource;
239+
oldDataSource: any;
240240
private oldDataTable: any;
241241
private constructerParams = {
242242
type: true,
@@ -359,6 +359,7 @@ class FusionChartsComponent
359359
}
360360

361361
ngOnInit() {
362+
this.oldDataSource = this.dataSource;
362363
if (this.checkIfDataTableExists(this.dataSource)) {
363364
this.oldDataSource = JSON.stringify(
364365
this.cloneDataSource(this.dataSource)

src/tsconfig.app.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,9 @@
1515
"exclude": [
1616
"test.ts",
1717
"**/*.spec.ts"
18+
],
19+
"files": [
20+
"main.ts",
21+
"polyfills.ts"
1822
]
1923
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"compilerOptions": {
44
"downlevelIteration": true,
55
"importHelpers": true,
6-
"module": "esnext",
6+
"module": "es2020",
77
"outDir": "./dist/out-tsc",
88
"baseUrl": "src",
99
"sourceMap": true,

tslint.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
"curly": true,
1313
"eofline": true,
1414
"forin": true,
15+
"deprecation": {
16+
"severity": "warning"
17+
},
1518
"import-blacklist": [true, "rxjs"],
1619
"import-spacing": true,
1720
"indent": [
@@ -53,7 +56,6 @@
5356
"no-switch-case-fall-through": true,
5457
"no-trailing-whitespace": true,
5558
"no-unused-expression": true,
56-
"no-use-before-declare": true,
5759
"no-var-keyword": true,
5860
"object-literal-sort-keys": false,
5961
"one-line": [

0 commit comments

Comments
 (0)