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.0.10 to 1.0.11

7

lib/index.js

@@ -25,3 +25,6 @@ 'use strict';

// 请求前配置 去首位空格
_axios2['default'].interceptors.request.use(function (config) {
if (store._mutations.length > 0) {
return _axios2['default'];
}
var instanceRequest = _axios2['default'].interceptors.request.use(function (config) {
var requestData = ''; // 防串改 参数集合

@@ -127,3 +130,3 @@ try {

// 过滤响应
_axios2['default'].interceptors.response.use(function (result) {
var instanceResponse = _axios2['default'].interceptors.response.use(function (result) {
/* result 为服务器响应回来的数据 */

@@ -130,0 +133,0 @@ /* 方式一:直接返回处理后的 result */

{
"name": "one-sport",
"version": "1.0.10",
"version": "1.0.11",
"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