aneka 0.11.1 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGES.md CHANGED
@@ -1,10 +1,13 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-02-20
4
+
5
+ - [0.12.0] Add ```without()```
6
+
3
7
  ## 2026-01-18
4
8
 
5
9
  - [0.11.1] ```parseArgsArgv()``` now accepts an object as its parameter
6
10
 
7
-
8
11
  ## 2025-12-25
9
12
 
10
13
  - [0.10.0] Add ```parseKvString()```
package/index.js CHANGED
@@ -29,6 +29,7 @@ import randomRange from './src/random-range.js'
29
29
  import generateId from './src/generate-id.js'
30
30
  import fillObject from './src/fill-object.js'
31
31
  import parseKvString from './src/parse-kv-string.js'
32
+ import without from './src/without.js'
32
33
 
33
34
  export {
34
35
  arrangeArray,
@@ -62,7 +63,8 @@ export {
62
63
  secToHms,
63
64
  setImmediate,
64
65
  shim,
65
- titleize
66
+ titleize,
67
+ without
66
68
  }
67
69
 
68
70
  export default {
@@ -96,5 +98,6 @@ export default {
96
98
  round,
97
99
  secToHms,
98
100
  shim,
99
- titleize
101
+ titleize,
102
+ without
100
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aneka",
3
- "version": "0.11.1",
3
+ "version": "0.12.0",
4
4
  "description": "Some usefull function helper for daily use",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/src/without.js ADDED
@@ -0,0 +1,8 @@
1
+ import w from 'lodash-es/without.js'
2
+
3
+ function without (arr = [], ...params) {
4
+ params.push(null, undefined, '')
5
+ return w(arr, ...params)
6
+ }
7
+
8
+ export default without