angular-async-cache
Advanced tools
Comparing version 1.0.0 to 1.0.1
/** | ||
* angular-async-cache - A simple utility to help with caching of promises and observables to enable an easy offline first approach in angular 4+ apps | ||
* @version v1.0.0 | ||
* @version v1.0.1 | ||
* @author Matt Lewis | ||
@@ -5,0 +5,0 @@ * @link https://github.com/mattlewis92/angular-async-cache#readme |
/** | ||
* angular-async-cache - A simple utility to help with caching of promises and observables to enable an easy offline first approach in angular 4+ apps | ||
* @version v1.0.0 | ||
* @version v1.0.1 | ||
* @author Matt Lewis | ||
@@ -5,0 +5,0 @@ * @link https://github.com/mattlewis92/angular-async-cache#readme |
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.0.1"></a> | ||
## [1.0.1](https://github.com/mattlewis92/angular-async-cache/compare/v1.0.0...v1.0.1) (2017-12-23) | ||
### Bug Fixes | ||
* allow angular 5 peer dependency ([e78bf10](https://github.com/mattlewis92/angular-async-cache/commit/e78bf10)) | ||
<a name="1.0.0"></a> | ||
@@ -19,5 +29,5 @@ # [1.0.0](https://github.com/mattlewis92/angular-async-cache/compare/v0.4.1...v1.0.0) (2017-07-16) | ||
now used for cached http requests instead of the @angular/http package | ||
* For System.js users only, the umd path has changed from `angular-async-cache/dist/umd/angular-async-cache.js` to `angular-async-cache/bundles/angular-async-cache.umd.js` | ||
<a name="0.4.1"></a> | ||
@@ -24,0 +34,0 @@ ## [0.4.1](https://github.com/mattlewis92/angular-async-cache/compare/v0.4.0...v0.4.1) (2017-03-24) |
{ | ||
"name": "angular-async-cache", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A simple utility to help with caching of promises and observables to enable an easy offline first approach in angular 4+ apps", | ||
@@ -97,4 +97,4 @@ "main": "./bundles/angular-async-cache.umd.js", | ||
"peerDependencies": { | ||
"@angular/common": "^4.3.0", | ||
"@angular/core": "^4.3.0" | ||
"@angular/common": "^4.3.0 || ^5.0.0", | ||
"@angular/core": "^4.3.0 || ^5.0.0" | ||
}, | ||
@@ -101,0 +101,0 @@ "config": { |
@@ -37,3 +37,3 @@ # angular async cache | ||
import { NgModule, Component, Injectable } from '@angular/core'; | ||
import { Http } from '@angular/http'; | ||
import { HttpClientModule } from '@angular/common/http'; | ||
import { AsyncCache, LocalStorageDriver, MemoryDriver, AsyncCacheModule, AsyncCacheOptions, CachedHttp } from 'angular-async-cache'; | ||
@@ -59,2 +59,3 @@ | ||
imports: [ | ||
HttpClientModule, | ||
// this configures the default options. Just using `AsyncCacheModule.forRoot()` will use | ||
@@ -61,0 +62,0 @@ // the defaults of an in memory cache and not replaying from the api |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
176902
156
5