@stoplight/json-ref-resolver
Advanced tools
Comparing version 3.0.9 to 3.1.0
@@ -14,2 +14,3 @@ import * as Types from './types'; | ||
has(key: string): boolean; | ||
purge(): void; | ||
} |
@@ -32,4 +32,11 @@ "use strict"; | ||
} | ||
purge() { | ||
Object.assign(this._stats, { | ||
hits: 0, | ||
misses: 0, | ||
}); | ||
this._data = {}; | ||
} | ||
} | ||
exports.Cache = Cache; | ||
//# sourceMappingURL=cache.js.map |
{ | ||
"name": "@stoplight/json-ref-resolver", | ||
"version": "3.0.9", | ||
"version": "3.1.0", | ||
"description": "Recursively resolve JSON pointers and remote authorities.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -93,2 +93,3 @@ import { Dictionary, Segment } from '@stoplight/types'; | ||
has(key: string): boolean; | ||
purge(): void; | ||
} | ||
@@ -95,0 +96,0 @@ export interface ICacheOpts { |
Sorry, the diff of this file is not supported yet
81038
911