Skip to content

Commit

Permalink
chore: adjust ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tealina committed Oct 28, 2023
1 parent 438e02f commit fffa44c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .changeset/sour-chairs-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
'fp-lite': major
---

### Breaking Change:

1. `peek` now use console.log inside, and require a string parmas for log label.
2. Remove `deepFlat`, use multiple `flat` instead or just fallbask to `(xs)=>xs.flat(..)`

### New Functions:

1. `compose`
1. `asyncCompose`
1. `notEmpty`
1. `notZero`

### Performance improve:

Use `for loop` instead those `.map`, `.filter`, `.reduce` in codebase.
Relative functions: `map`,`filter`, `pipe`, `flow`,`compose`, and there async version functions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fp-lite",
"version": "3.0.0",
"version": "1.2.0",
"description": "Functional style utility functions",
"main": "./dist/index.js",
"type": "module",
Expand Down

0 comments on commit fffa44c

Please sign in to comment.