New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aofl/api-request

Package Overview
Dependencies
Maintainers
2
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aofl/api-request - npm Package Compare versions

Comparing version

to
3.0.0-alpha.9

11

modules/api-request/index.js

@@ -56,2 +56,13 @@ import FormatterManager from '../formatter-manager';

purgeCache(namespace) {
if (typeof namespace === 'undefined') { // purge all
for (const key in this.cacheManagers) {
if (!this.cacheManagers.hasOwnProperty(key)) continue;
this.cacheManagers[key].clear();
}
} else {
this.cacheManagers[namespace].clear();
}
}
/**

@@ -58,0 +69,0 @@ * Makes a network call using fetch API.

4

package.json
{
"name": "@aofl/api-request",
"version": "3.0.0-alpha.5",
"version": "3.0.0-alpha.9",
"description": "A module for simplifying api calls",

@@ -29,3 +29,3 @@ "keywords": [

},
"gitHead": "09f43882b317744481f4b6845b1cfae0461775d6"
"gitHead": "af4670fc661aeb5d8cb38bc049ed149e776972fb"
}