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

karl-common-util

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karl-common-util - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

2

dist/http/index.js

@@ -180,2 +180,3 @@ "use strict";

case 36:
reject({ status: 401, message: "账号令牌已过期,请重新登录" });
//请求未授权,重新登录

@@ -185,3 +186,2 @@ if (isBrowser) {

}
reject({ status: 401, message: "重新登录" });
return _context.abrupt("break", 41);

@@ -188,0 +188,0 @@

{
"name": "karl-common-util",
"version": "1.5.1",
"version": "1.5.2",
"description": "karl common lib for client and server",

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

@@ -117,2 +117,3 @@ import "isomorphic-fetch"

case 401:
reject({status: 401, message: "账号令牌已过期,请重新登录"})
//请求未授权,重新登录

@@ -122,3 +123,2 @@ if (isBrowser) {

}
reject({status: 401, message: "重新登录"})
break

@@ -125,0 +125,0 @@ //其他情况reject

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