Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
fix: was crashing with empty items, which is an ok case to support
Browse files Browse the repository at this point in the history
  • Loading branch information
ildella committed Nov 29, 2023
1 parent 1212950 commit fcfd40e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fusto/exstream-generators.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const __ = require('exstream.js')
const arrayMapping = ({
// zeroBased = true,
prefix = '',
items,
items = [],
}) => (push, next) => {
items.map((item, index) => {
// console.log({prefix, item, index})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "moar-js",
"version": "1.12.2",
"version": "1.12.3",
"description": "Simple JavaScript files I use across projects",
"author": {
"name": "Daniele Dellafiore"
Expand Down

0 comments on commit fcfd40e

Please sign in to comment.