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 2.2.3 to 2.3.0

6

dist/index.d.ts

@@ -59,3 +59,3 @@ /**

*
* Optionally, use a compare function to determine the comparison of elements (default is ===).
* Optionally, use a compare function to determine the comparison of elements (default is `===`).
*

@@ -144,3 +144,3 @@ * @example

*
* Optionally, use a compare function for element comparison (default is ===).
* Optionally, use a compare function for element comparison (default is `===`).
* @example

@@ -274,3 +274,3 @@ * intersection([2, 1], [2, 3])

*
* A compare function is optional to specify how the array is compared (default is ===).
* A compare function is optional to specify how the array is compared (default is `===`).
*

@@ -277,0 +277,0 @@ * @example

{
"name": "moderndash",
"version": "2.2.3",
"version": "2.3.0",
"type": "module",
"description": "A lodash inspired utility framework for ESM/Typescript/ESNext",
"engines": {
"node": ">=19.x.x",
"npm": ">=8.x.x"
"node": ">=16.15",
"npm": ">=8"
},

@@ -10,0 +10,0 @@ "sideEffects": false,

@@ -1,2 +0,2 @@

![ModernDash Logo](/website/src/assets/moderndashLogo.svg)
![ModernDash Logo](https://raw.githubusercontent.com/Maggi64/moderndash/main/website/src/assets/moderndashLogo.svg)

@@ -10,10 +10,10 @@ <p align=center>

✅ ESM
✅ Fast & Lightweight
✅ Tree-shakable
✅ Typescript Strict Mode (no any)
<br>
✅ 100% Test Coverage
<br>
✅ Zero dependencies
✅ Hoverable Docs
✅ TS Decorators
✅ ESNext
</div>

@@ -32,3 +32,5 @@ <p></p>

</a>
<img alt="node-current" src="https://img.shields.io/node/v/moderndash?color=blue">
<span>
<img alt="node-current" src="https://img.shields.io/node/v/moderndash?color=blue">
</span>
<a href="https://github.com/Maggi64/moderndash/blob/main/LICENSE">

@@ -40,3 +42,3 @@ <img alt="GitHub" src="https://img.shields.io/github/license/maggi64/moderndash?color=orange">

<h3 align=center class="hide-on-website">
<a href="https://moderndash.io" target="_blank">
<a href="https://moderndash.io/docs/chunk" target="_blank">
📓 Documentation

@@ -48,15 +50,6 @@ </a>

## 📓 Introduction
ModernDash is a modern and lightweight alternative to utility libraries like Lodash. It provides important functions while encouraging the use of native JS wherever possible.
<div align=center class="space-y">
<img alt="introduction code" src="https://raw.githubusercontent.com/Maggi64/moderndash/main/website/src/assets/introCodeV6.png">
</div>
ModernDash ignores trivial functions and instead focuses on the functions that you actually need.
```typescript
// We don't need
Lodash.isArray(arr)
Lodash.compact(arr)
// When we have these native replacements
Array.isArray(arr)
arr.filter(Boolean)
```
## 💾 Installation

@@ -67,3 +60,14 @@

```
## 📋 Requirements
**NodeJS**: >16.14 | **Typescript**: >4.7
*NodeJS 16-18*:
To use the `crypto` functions, set the [experimental-global-webcrypto](https://nodejs.dev/en/api/v16/cli#--experimental-global-webcrypto) flag.
*Typescript 4.8 - 4.9:*
To use the `decorator` functions, set the [experimentalDecorators](https://www.typescriptlang.org/tsconfig#experimentalDecorators) flag.
*Works out of the box with NodeJS 19 & Typescript 5 or above.*
## 🚀 Performance

@@ -70,0 +74,0 @@

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