ngx-cacheable
Advanced tools
Comparing version 1.1.7-beta.1 to 1.1.7-beta.2
@@ -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
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
223592
3745
0