Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-async-cache

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-async-cache - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

bundles/angular-async-cache.umd.js
/**
* 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc