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

axios-mock-shim

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axios-mock-shim - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

package.json
{
"name": "axios-mock-shim",
"version": "1.2.0",
"version": "1.2.1",
"description": "A plugin build for easily using axios-mock-adapter with axios",

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

@@ -136,2 +136,4 @@ # Axios Mock Shim

// function type reply
// the function is wrap with a promise
// by resolving the function to pass response data
getSoloConfig() {

@@ -141,3 +143,3 @@ return api.use('get', 'profile', { id: 100 })

console.log(config); // mock-adapter's config
res([
resolve([
200,

@@ -144,0 +146,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