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

vue-join-dialog

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-join-dialog - npm Package Compare versions

Comparing version 1.0.32 to 1.0.33

23

http.js
import axios from "axios";
import cookie from 'js-cookie'
axios.interceptors.request.use(
config => {
let token = cookie.get('token') || ''
// let sign = spiderHack ? spiderHack.gernerateStrV1() : ''
// if (sign) {
// config.headers.sign = sign
// }
if (token) {
config.headers.Authorization = `Bearer ${token}`
}
return config
},
error => {
// console.log('请求头错误')
// console.log(error)
return Promise.reject(error)
}
)

@@ -13,6 +32,6 @@ const http = {

.then((res) => {
resolve(res);
resolve(res);
})
.catch(function (error) {
resolve(error);
resolve(error);
});

@@ -19,0 +38,0 @@ });

2

package.json
{
"name": "vue-join-dialog",
"version": "1.0.32",
"version": "1.0.33",
"description": "",

@@ -5,0 +5,0 @@ "main": "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