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

commonly-used-utils

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commonly-used-utils - npm Package Compare versions

Comparing version 1.0.0-beat13 to 1.0.0-beat14

src/utils/observer.js

2

package.json
{
"name": "commonly-used-utils",
"version": "1.0.0-beat13",
"version": "1.0.0-beat14",
"description": "",

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

@@ -49,6 +49,7 @@ // 是否为对象

* 查找数组符合属性的数据
* 简化版 Array.find 方法
* @param array 数组
* @param value value
* @param attr 属性值(默认值'id')
* @param returnData 返回数据(对象或value)
* @param returnData 返回数据类型(返回匹配的对象或匹配对象的某个属性)
* @param isStrict 严格模式(== 与 === 的区别)

@@ -66,3 +67,3 @@ * @example

isStrict?: boolean
): T | string | void | number
): any

@@ -69,0 +70,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