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

moderndash

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moderndash - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

26

dist/index.d.ts

@@ -173,3 +173,3 @@ /**

* // Generate an array of even numbers between 0 and 10:
* const arr = Array.from(range(0, 10, 2));
* const arr = [...range(0, 10, 2)];
* // => [0, 2, 4, 6, 8, 10]

@@ -762,3 +762,2 @@ *

*
* @alpha
* @example

@@ -769,5 +768,5 @@ * const obj = { a: { b: 2 } };

*
* @param obj - The object to modify.
* @param path - The path of the property to set.
* @param value - The value to set.
* @param obj The object to modify.
* @param path The path of the property to set.
* @param value The value to set.
* @returns The modified object.

@@ -846,11 +845,12 @@ */

* @example
* const promise1 = Promise.resolve(1);
* const promise2 = Promise.resolve(2);
* const promise3 = Promise.resolve(3);
* const prom1 = Promise.resolve(1);
* const prom2 = new Promise(resolve => setTimeout(resolve, 100, 2));
* const prom3 = Promise.resolve(3);
*
* const firstThree = await races(3, promise1, promise2, promise3);
* // => [1, 2, 3]
* @template TRes - The type of the result of the promises.
* @param waitFor - The number of promises to wait for.
* @param promises - The promises to wait for.
* const firstTwo = await races(2, prom1, prom2, prom3);
* // => [1, 3]
*
* @template TRes The type of the result of the promises.
* @param waitFor The number of promises to wait for.
* @param promises The promises to wait for.
* @returns A promise that resolves an array of the results of the first n promises.

@@ -857,0 +857,0 @@ */

{
"name": "moderndash",
"version": "1.1.0",
"version": "1.1.1",
"type": "module",

@@ -5,0 +5,0 @@ "description": "A lodash inspired utility framework for ESM/Typescript/ESNext",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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