prelude-ls
Advanced tools
Comparing version
@@ -150,3 +150,3 @@ var Func, List, Obj, Str, Num, id, isType, replicate, prelude, toString$ = {}.toString; | ||
prelude.lcm = Num.lcm; | ||
prelude.VERSION = '1.0.0'; | ||
prelude.VERSION = '1.0.1'; | ||
module.exports = prelude; | ||
@@ -153,0 +153,0 @@ function curry$(f, bound){ |
@@ -416,3 +416,3 @@ var each, map, compact, filter, reject, partition, find, head, first, tail, last, initial, empty, reverse, unique, fold, foldl, fold1, foldl1, foldr, foldr1, unfoldr, concat, concatMap, flatten, difference, intersection, union, countBy, groupBy, andList, orList, any, all, sort, sortWith, sortBy, sum, product, mean, average, maximum, minimum, scan, scanl, scan1, scanl1, scanr, scanr1, slice, take, drop, splitAt, takeWhile, dropWhile, span, breakList, zip, zipWith, zipAll, zipAllWith, slice$ = [].slice; | ||
takeWhile = curry$(function(p, xs){ | ||
var len, i$, i; | ||
var len, i; | ||
len = xs.length; | ||
@@ -422,7 +422,5 @@ if (!len) { | ||
} | ||
for (i$ = 0; i$ < len; ++i$) { | ||
i = i$; | ||
if (!p(xs[i])) { | ||
break; | ||
} | ||
i = 0; | ||
while (i < len && p(xs[i])) { | ||
i += 1; | ||
} | ||
@@ -432,3 +430,3 @@ return xs.slice(0, i); | ||
dropWhile = curry$(function(p, xs){ | ||
var len, i$, i; | ||
var len, i; | ||
len = xs.length; | ||
@@ -438,7 +436,5 @@ if (!len) { | ||
} | ||
for (i$ = 0; i$ < len; ++i$) { | ||
i = i$; | ||
if (!p(xs[i])) { | ||
break; | ||
} | ||
i = 0; | ||
while (i < len && p(xs[i])) { | ||
i += 1; | ||
} | ||
@@ -445,0 +441,0 @@ return xs.slice(i); |
{ | ||
"name": "prelude-ls", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "George Zahariev <z@georgezahariev.com>", | ||
@@ -26,3 +26,3 @@ "description": "prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.", | ||
], | ||
"homepage": "http://gkz.github.io/prelude-ls/", | ||
"homepage": "http://preludels.com", | ||
"bugs": "https://github.com/gkz/prelude-ls/issues", | ||
@@ -29,0 +29,0 @@ "licenses": [ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
-100%28116
-0.3%1157
-0.34%