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

speedy-utils

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

speedy-utils - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

2

package.json
{
"name": "speedy-utils",
"version": "1.2.3",
"version": "1.2.4",
"description": "工具库",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -180,15 +180,7 @@ /** 是否是 Android 设备 */

// 降低图片分辨率
if (!newURL.includes("imageView2/2/w/")) {
if (!newURL.includes("imageView2/2/w/") && imageWidth) {
if (params instanceof Object && Object.keys(params).length) {
if (imageWidth) {
newURL += `&imageView2/2/w/${imageWidth}`;
} else {
newURL += "&imageView2/2/w/750";
}
newURL += `&imageView2/2/w/${imageWidth}`;
} else {
if (imageWidth) {
newURL += `?imageView2/2/w/${imageWidth}`;
} else {
newURL += "?imageView2/2/w/750";
}
newURL += `?imageView2/2/w/${imageWidth}`;
}

@@ -195,0 +187,0 @@ }

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