@yurkimus/curry
Advanced tools
Comparing version 0.0.9 to 0.1.0
{ | ||
"version": "0.0.9", | ||
"name": "@yurkimus/curry", | ||
"imports": { | ||
"@yurkimus/types": "npm:@yurkimus/types@0.2.1" | ||
} | ||
"version": "0.1.0", | ||
"exports": "./source/index.js" | ||
} |
@@ -6,3 +6,3 @@ { | ||
"version": "0.0.9", | ||
"version": "0.1.0", | ||
"author": "yurkimus <yurkimus@gmail.com>", | ||
@@ -20,7 +20,3 @@ | ||
"default": "./source/index.js" | ||
}, | ||
"dependencies": { | ||
"@yurkimus/types": "npm:@yurkimus/types@0.2.1" | ||
} | ||
} |
@@ -1,3 +0,1 @@ | ||
import { is } from '@yurkimus/types' | ||
/** | ||
@@ -23,3 +21,3 @@ * Returns a curried version of a function. | ||
if (!is('Number', length)) | ||
if (typeof length !== 'number') | ||
throw new TypeError(`Parameter 'length' must be a number.`) | ||
@@ -26,0 +24,0 @@ |
0
3652
7
51
- Removed@yurkimus/types@0.2.1(transitive)