Comparing version 0.0.19 to 0.0.20
@@ -200,2 +200,7 @@ 'use strict'; | ||
return r; | ||
}; | ||
var chunk = exports.chunk = function chunk(arr, n) { | ||
if (!arr.length || n) return []; | ||
return [arr.slice(0, n)].concat(chunk(arr.slice(n), n)); | ||
}; |
{ | ||
"name": "zeelib", | ||
"description": "My own little micro library thing.", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"author": { | ||
@@ -13,3 +13,3 @@ "name": "Zac Anger", | ||
"scripts": { | ||
"build": "babel src/index.js -o dist/index.js" | ||
"build": "babel src/ -d dist/" | ||
}, | ||
@@ -28,6 +28,6 @@ "homepage": "https://github.com/zacanger/zeelib#readme", | ||
"devDependencies": { | ||
"babel-cli": "^6.16.0", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.16.0", | ||
"babel-cli": "^6.18.0", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.18.0", | ||
"babel-preset-latest": "^6.16.0" | ||
} | ||
} |
@@ -191,1 +191,6 @@ // gh:artificerentertainment | ||
} | ||
export const chunk = (arr, n) => { | ||
if (!arr.length || n) return [] | ||
return [ arr.slice(0, n) ].concat(chunk(arr.slice(n), n)) | ||
} |
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
76267
2159
4