Skip to content

Commit bca5104

Browse files
committed
Refactor: Fix warnings
1 parent c9841fc commit bca5104

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

angular.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
"node_modules/perfect-scrollbar/dist/perfect-scrollbar.min.js",
3535
"node_modules/bootstrap-notify/bootstrap-notify.js",
3636
"node_modules/chartist/dist/chartist.js"
37+
],
38+
"allowedCommonJsDependencies" : [
39+
"rxjs/add/operator/filter",
40+
"jquery",
41+
"chartist"
3742
]
3843
},
3944
"configurations": {
@@ -150,4 +155,4 @@
150155
"cli": {
151156
"analytics": false
152157
}
153-
}
158+
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,13 @@
1717
},
1818
"private": true,
1919
"dependencies": {
20-
"@agm/core": "1.1.0",
20+
"@agm/core": "^1.1.0",
2121
"@angular/animations": "10.1.4",
2222
"@angular/cdk": "10.2.4",
2323
"@angular/common": "10.1.4",
2424
"@angular/compiler": "10.1.4",
2525
"@angular/core": "10.1.4",
2626
"@angular/forms": "10.1.4",
27-
"@angular/http": "7.2.16",
2827
"@angular/material": "10.2.4",
2928
"@angular/platform-browser": "10.1.4",
3029
"@angular/platform-browser-dynamic": "10.1.4",
@@ -38,6 +37,7 @@
3837
"chartist": "0.11.4",
3938
"classlist.js": "1.1.20150312",
4039
"core-js": "3.6.5",
40+
"eslint": "^7.10.0",
4141
"express": "4.17.1",
4242
"googleapis": "61.0.0",
4343
"hammerjs": "2.0.8",

src/app/app.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
22
import { NgModule } from '@angular/core';
33
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
4-
import { HttpModule } from '@angular/http';
4+
import { HttpClientModule } from '@angular/common/http';
55
import { RouterModule } from '@angular/router';
66

77

@@ -28,7 +28,7 @@ import { AdminLayoutComponent } from './layouts/admin-layout/admin-layout.compon
2828
BrowserAnimationsModule,
2929
FormsModule,
3030
ReactiveFormsModule,
31-
HttpModule,
31+
HttpClientModule,
3232
ComponentsModule,
3333
RouterModule,
3434
AppRoutingModule,

0 commit comments

Comments
 (0)