New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.5 to 1.5.6

2

package.json
{
"name": "karl-common-util",
"version": "1.5.5",
"version": "1.5.6",
"description": "karl common lib for client and server",

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

@@ -43,3 +43,3 @@ if (!Array.prototype.aggregate) {

case "sum":
findEle[id] += (v === undefined || v === null || typeof(v) === "string") ? 0 : v
findEle[id] += ((v === undefined || v === null || typeof(v) === "string") ? 0 : v)
break

@@ -50,3 +50,3 @@ case "count":

case "avg":
findEle[id] += (v === undefined || v === null || typeof(v) === "string") ? 0 : v
findEle[id] += ((v === undefined || v === null || typeof(v) === "string") ? 0 : v)
//自身的count,用于求平均数

@@ -53,0 +53,0 @@ findEle[id + "AggregateCount"] = findEle[id + "AggregateCount"] === undefined ? 1 : (findEle[id + "AggregateCount"] + 1)

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