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

zan-proxy

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zan-proxy - npm Package Compare versions

Comparing version 3.1.4 to 3.1.5

2

package.json
{
"name": "zan-proxy",
"version": "v3.1.4",
"version": "v3.1.5",
"description": "前端代理",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -25,2 +25,3 @@ /**

toSendResponse.hasContent = true;
toSendResponse.headers['Access-Control-Allow-Origin'] = '*';
toSendResponse.headers['Content-Length'] = stat.size;

@@ -27,0 +28,0 @@ toSendResponse.headers['Content-Type'] = contentType + ';charset=utf-8';

@@ -23,3 +23,3 @@ /**

// 增加跨域头部
res.setHeader('access-control-allow-origin', '*');
res.setHeader('Access-Control-Allow-Origin', '*');
res.setHeader('Content-Length', stat.size);

@@ -26,0 +26,0 @@ res.setHeader('Content-Type', contentType + ';charset=utf-8');

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