From 3be3a07d3b05fe4c51766546e760ffb4a72ebd64 Mon Sep 17 00:00:00 2001 From: Roope Hakulinen Date: Sun, 30 Jul 2017 00:00:30 +0300 Subject: [PATCH] fix(npm): use `@angular/common` peer dependency instead of `@angular/http` Use @angular/common instead of @angular/http and also use 2.3.0 instead of 2.3.1. --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a2b5d85..48d8f07 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,8 @@ "typings": "index.d.ts", "peerDependencies": { "@ngx-translate/core": ">=6.0.0", - "@angular/core": ">=4.3.1", - "@angular/http": ">=4.3.1" + "@angular/core": ">=4.3.0", + "@angular/common": ">=4.3.0" }, "devDependencies": { "@angular/animations": "4.3.1", @@ -40,7 +40,6 @@ "@angular/compiler": "4.3.1", "@angular/compiler-cli": "4.3.1", "@angular/core": "4.3.1", - "@angular/http": "4.3.1", "@ngx-translate/core": "7.0.0", "@angular/platform-browser": "4.3.1", "@angular/platform-browser-dynamic": "4.3.1",