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

one-sport

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

one-sport - npm Package Compare versions

Comparing version 1.1.9 to 1.1.10

6

lib/index.js
import axios from 'axios';
import md5 from 'js-md5';
var CancelToken = axios.CancelToken;
var source = CancelToken.source();
var _ = require('lodash');

@@ -58,2 +60,5 @@ var messageList = [];

pushMessage()
config.cancelToken = source.token
source.cancel(`请求过于频繁,拦截URL为:${config.url}`)
return config
} else {

@@ -154,2 +159,3 @@ urlList.push(config.url)

}
}, (message) => {
})

@@ -156,0 +162,0 @@ // 过滤响应

2

package.json
{
"name": "one-sport",
"version": "1.1.9",
"version": "1.1.10",
"description": "use for one-sport company",

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

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