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

js-utl

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-utl - npm Package Compare versions

Comparing version 2.11.0 to 2.12.0

2

package.json
{
"name": "js-utl",
"version": "2.11.0",
"version": "2.12.0",
"description": "A collection of JS utility functions to be used across several applications or libraries.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -718,2 +718,12 @@ /*

/**
* Tests if all the given values are truthy.
*
* @param {...*} values The values.
* @return {boolean} "true" if and only if all the values are truthy.
*/
export function allTruthy(...values) {
return values.every(isTruthy);
}
/**
* Tests if a string is a valid JSON string.

@@ -720,0 +730,0 @@ *

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

isTruthy,
allTruthy,
isJSONString,

@@ -71,0 +72,0 @@ noOpFn,

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