Comparing version 0.17.0 to 0.18.0
{ | ||
"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'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28831
45
563
75