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

vi-fetch

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vi-fetch - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

4

dist/api.js

@@ -82,3 +82,5 @@ import { spyOn } from "tinyspy";

const spyFetch = spyOn(settings.global, settings.fetchKey);
fetchPath = this.options.baseUrl + fetchPath;
if (!(fetchPath instanceof RegExp)) {
fetchPath = this.options.baseUrl + fetchPath;
}
function isRoute([input, options]) {

@@ -85,0 +87,0 @@ const method = (options == null ? void 0 : options.method) || "GET";

{
"name": "vi-fetch",
"version": "0.2.7",
"version": "0.2.8",
"description": "Easiest way to mock fetch",

@@ -20,7 +20,7 @@ "main": "./dist/index.js",

"./matchers": {
"types": "./global.d.ts"
"types": "./matchers.d.ts"
},
"./setup": {
"import": "./dist/setup.js",
"types": "./global.d.ts"
"types": "./matchers.d.ts"
}

@@ -27,0 +27,0 @@ },

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