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

absurdum

Package Overview
Dependencies
Maintainers
1
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

absurdum - npm Package Compare versions

Comparing version 0.17.0 to 0.18.0

src/arrays/dropRight.js

2

package.json
{
"name": "absurdum",
"version": "0.17.0",
"version": "0.18.0",
"description": "Reducio Ad Absurdum - The Riduculous Application of Reduce",

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

@@ -28,2 +28,3 @@ [![npm](https://img.shields.io/npm/v/absurdum.svg)](https://www.npmjs.com/package/absurdum)

- [drop][arrays.drop]
- [dropRight][arrays.dropRight]
- [filter][arrays.filter]

@@ -41,2 +42,3 @@ - [map][arrays.map]

[arrays.drop]: ./docs/arrays.md#arraysdroparray-n
[arrays.dropRight]: ./docs/arrays.md#arraysdroprightarray-n--1
[arrays.filter]: ./docs/arrays.md#arraysfilterarray-predicate

@@ -43,0 +45,0 @@ [arrays.map]: ./docs/arrays.md#arraysmaparray-func

import test from 'tape';
import { arrays } from '../../index.js';
test(`arrays.drop(array) - should return an array w/ the first item dropped when n isn't specified`, t => {
test(`arrays.drop(array) - should return an array w/ the first item dropped when n isn't specified`, t => {
const expect = [2, 3];

@@ -6,0 +6,0 @@ const result = arrays.drop([1, 2, 3]);

@@ -6,2 +6,3 @@ export { chunk } from "./chunk.js";

export { drop } from "./drop.js";
export { dropRight } from "./dropRight.js";
export { filter } from './filter.js';

@@ -8,0 +9,0 @@ export { map } from './map.js';

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