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

ngx-cacheable

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-cacheable - npm Package Compare versions

Comparing version 1.1.7-beta.1 to 1.1.7-beta.2

6

dist/specs/observable-cacheable.decorator.spec.js

@@ -52,3 +52,3 @@ "use strict";

var operators_2 = require("rxjs/operators");
var _1 = require("../");
var common_1 = require("../common");
var DOMStorageStrategy_1 = require("../common/DOMStorageStrategy");

@@ -58,3 +58,3 @@ var strategies = [null, DOMStorageStrategy_1.DOMStorageStrategy];

if (s) {
_1.GlobalCacheConfig.storageStrategy = s;
common_1.GlobalCacheConfig.storageStrategy = s;
}

@@ -222,3 +222,3 @@ var cacheBusterNotifier = new rxjs_2.Subject();

mockServiceCallSpy = spyOn(service, 'mockServiceCall').and.callThrough();
if (_1.GlobalCacheConfig.storageStrategy === DOMStorageStrategy_1.DOMStorageStrategy) {
if (common_1.GlobalCacheConfig.storageStrategy === DOMStorageStrategy_1.DOMStorageStrategy) {
localStorage.clear();

@@ -225,0 +225,0 @@ }

@@ -49,3 +49,3 @@ "use strict";

var promise_cacheable_decorator_2 = require("../promise.cacheable.decorator");
var _1 = require("../");
var common_1 = require("../common");
var DOMStorageStrategy_1 = require("../common/DOMStorageStrategy");

@@ -57,3 +57,3 @@ jasmine.DEFAULT_TIMEOUT_INTERVAL = 15000;

if (s) {
_1.GlobalCacheConfig.storageStrategy = s;
common_1.GlobalCacheConfig.storageStrategy = s;
}

@@ -223,3 +223,3 @@ var Service = /** @class */ (function () {

mockServiceCallSpy = spyOn(service, 'mockServiceCall').and.callThrough();
if (_1.GlobalCacheConfig.storageStrategy === DOMStorageStrategy_1.DOMStorageStrategy) {
if (common_1.GlobalCacheConfig.storageStrategy === DOMStorageStrategy_1.DOMStorageStrategy) {
localStorage.clear();

@@ -226,0 +226,0 @@ }

{
"name": "ngx-cacheable",
"version": "1.1.7-beta.1",
"version": "1.1.7-beta.2",
"description": "Rx Observable cache decorator",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -8,3 +8,3 @@ import { combineLatest, forkJoin, Observable } from 'rxjs';

import { mapTo } from 'rxjs/operators';
import { GlobalCacheConfig } from '../';
import { GlobalCacheConfig } from '../common';
import { DOMStorageStrategy } from '../common/DOMStorageStrategy';

@@ -11,0 +11,0 @@

@@ -5,3 +5,3 @@ import { Subject } from 'rxjs';

import { promiseGlobalCacheBusterNotifier } from '../promise.cacheable.decorator';
import { GlobalCacheConfig } from '../';
import { GlobalCacheConfig } from '../common';
import { DOMStorageStrategy } from '../common/DOMStorageStrategy';

@@ -8,0 +8,0 @@ jasmine.DEFAULT_TIMEOUT_INTERVAL = 15000;

@@ -11,5 +11,9 @@ {

"noUnusedLocals": true,
"noImplicitAny": true
"noImplicitAny": true,
"baseUrl": "./",
"paths": {
"ngx-cacheable/common/*": ["./dist/common/*"]
}
},
"include": ["**/*.ts"]
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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