ramda-adjunct 2.30.0 → 2.33.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/.nvmrc +1 -0
- package/CHANGELOG.md +44 -0
- package/README.md +6 -6
- package/dist/RA.node.js +7544 -7169
- package/dist/RA.node.min.js +1 -1
- package/dist/RA.web.js +7544 -7169
- package/dist/RA.web.min.js +1 -1
- package/dist/RA.web.standalone.js +20077 -18989
- package/dist/RA.web.standalone.min.js +1 -1
- package/es/catchP.js +24 -0
- package/es/dispatch.js +1 -1
- package/es/fantasy-land/Identity.js +61 -74
- package/es/fantasy-land/mapping.js +20 -23
- package/es/fantasy-land/traits.js +1 -1
- package/es/filterIndexed.js +27 -0
- package/es/findOr.js +28 -0
- package/es/flattenDepth.js +1 -1
- package/es/index.js +14 -3
- package/es/internal/ap.js +1 -1
- package/es/internal/ponyfills/Array.from.js +1 -1
- package/es/internal/ponyfills/Promise.allSettled.js +1 -1
- package/es/internal/ponyfills/Promise.any.js +2 -2
- package/es/invoke.js +20 -0
- package/es/isInteger32.js +28 -0
- package/es/isNotPrimitive.js +22 -0
- package/es/isPrimitive.js +31 -0
- package/es/isPrototypeOf.js +34 -0
- package/es/isSentinelValue.js +26 -0
- package/es/lastP.js +1 -1
- package/es/pathOrLazy.js +1 -1
- package/es/reduceP.js +1 -1
- package/es/reduceRightP.js +1 -1
- package/es/sortByProps.js +1 -1
- package/lib/anyP.js +2 -2
- package/lib/catchP.js +30 -0
- package/lib/dispatch.js +1 -1
- package/lib/fantasy-land/Identity.js +65 -75
- package/lib/fantasy-land/mapping.js +41 -25
- package/lib/fantasy-land/traits.js +18 -12
- package/lib/filterIndexed.js +33 -0
- package/lib/findOr.js +34 -0
- package/lib/flattenDepth.js +1 -1
- package/lib/index.js +40 -3
- package/lib/internal/ap.js +9 -3
- package/lib/internal/ponyfills/Array.from.js +1 -1
- package/lib/internal/ponyfills/Promise.allSettled.js +1 -1
- package/lib/internal/ponyfills/Promise.any.js +2 -2
- package/lib/invoke.js +29 -0
- package/lib/isInteger32.js +37 -0
- package/lib/isNotPrimitive.js +31 -0
- package/lib/isPrimitive.js +47 -0
- package/lib/isPrototypeOf.js +43 -0
- package/lib/isSentinelValue.js +35 -0
- package/lib/lastP.js +1 -1
- package/lib/pathOrLazy.js +1 -1
- package/lib/reduceP.js +1 -1
- package/lib/reduceRightP.js +1 -1
- package/lib/sortByProps.js +1 -1
- package/package.json +34 -32
- package/src/catchP.js +25 -0
- package/src/fantasy-land/Identity.js +24 -27
- package/src/fantasy-land/mapping.js +20 -24
- package/src/fantasy-land/traits.js +1 -1
- package/src/filterIndexed.js +28 -0
- package/src/findOr.js +30 -0
- package/src/fnull.js +4 -4
- package/src/index.js +10 -0
- package/src/internal/ap.js +1 -1
- package/src/internal/makeFlat.js +2 -3
- package/src/internal/ponyfills/Promise.allSettled.js +4 -3
- package/src/invoke.js +22 -0
- package/src/isInteger32.js +28 -0
- package/src/isNotPrimitive.js +25 -0
- package/src/isPrimitive.js +45 -0
- package/src/isPrototypeOf.js +36 -0
- package/src/isSentinelValue.js +26 -0
- package/src/isSymbol.js +4 -4
- package/src/pathOrLazy.js +4 -4
- package/src/replaceAll.js +0 -1
- package/types/index.d.ts +85 -1
- package/.mocharc.js +0 -9
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
16
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,47 @@
|
|
|
1
|
+
# [2.33.0](https://github.com/char0n/ramda-adjunct/compare/v2.32.0...v2.33.0) (2021-05-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **function:** add catchP ([#1616](https://github.com/char0n/ramda-adjunct/issues/1616)) ([d6d1e78](https://github.com/char0n/ramda-adjunct/commit/d6d1e7825d16130ba916448355f06bad1f2bf0d9)), closes [#1232](https://github.com/char0n/ramda-adjunct/issues/1232)
|
|
7
|
+
* **type:** add isSentinelValue ([#1848](https://github.com/char0n/ramda-adjunct/issues/1848)) ([c48ce9e](https://github.com/char0n/ramda-adjunct/commit/c48ce9e2ab752006c25d385e830f3317bde5110c)), closes [#793](https://github.com/char0n/ramda-adjunct/issues/793)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# [2.32.0](https://github.com/char0n/ramda-adjunct/compare/v2.31.1...v2.32.0) (2021-04-10)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **isNotNil:** utilize type narrowing ([#1672](https://github.com/char0n/ramda-adjunct/issues/1672)) ([353a6db](https://github.com/char0n/ramda-adjunct/commit/353a6dbb5039d8a1f72b97c4c20471e2a4bb3cd8))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* **list:** add findOr ([#1479](https://github.com/char0n/ramda-adjunct/issues/1479)) ([e9d321a](https://github.com/char0n/ramda-adjunct/commit/e9d321aef8bf1200d9b5e3bccd59f787eb8f31f5)), closes [#372](https://github.com/char0n/ramda-adjunct/issues/372)
|
|
22
|
+
* **type:** add isInteger32 ([#1826](https://github.com/char0n/ramda-adjunct/issues/1826)) ([fe8331e](https://github.com/char0n/ramda-adjunct/commit/fe8331ea6d63aa8db8302f6730f11fa7d840df00)), closes [#1282](https://github.com/char0n/ramda-adjunct/issues/1282)
|
|
23
|
+
* **type:** add isPrimitive/isNotPrimitive ([#1722](https://github.com/char0n/ramda-adjunct/issues/1722)) ([901006a](https://github.com/char0n/ramda-adjunct/commit/901006a36c39a378b544e63c14a7c86d80bfba6f)), closes [#786](https://github.com/char0n/ramda-adjunct/issues/786)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# [2.31.1](https://github.com/char0n/ramda-adjunct/compare/v2.31.0...v2.31.1) (2021-02-21)
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
* **deps**: remove postinstall husky script ([61f3fde](https://github.com/char0n/ramda-adjunct/commit/61f3fde46e3c65df0f67b217621fa9532141a2fa)), closes [#1773](https://github.com/char0n/ramda-adjunct/issues/1773)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
# [2.31.0](https://github.com/char0n/ramda-adjunct/compare/v2.30.0...v2.31.0) (2021-02-21)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
* **list:** add filterIndexed ([#1713](https://github.com/char0n/ramda-adjunct/issues/1713)) ([d3cfc63](https://github.com/char0n/ramda-adjunct/commit/d3cfc6325e13324ca6e54c10de016a522362511e)), closes [#1346](https://github.com/char0n/ramda-adjunct/issues/1346)
|
|
40
|
+
* **object:** add isPrototypeOf ([#1456](https://github.com/char0n/ramda-adjunct/issues/1456)) ([314be55](https://github.com/char0n/ramda-adjunct/commit/314be550cebf30719d418c68e8687108122d9af8)), closes [#787](https://github.com/char0n/ramda-adjunct/issues/787)
|
|
41
|
+
* **object:** add invoke ([#1554](https://github.com/char0n/ramda-adjunct/issues/1554)) ([e90ce3c](https://github.com/char0n/ramda-adjunct/commit/e90ce3cc714052d0e24dc2b592d43c77a8348eb9)), closes [#81](https://github.com/char0n/ramda-adjunct/issues/81)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
1
45
|
# [2.30.0](https://github.com/char0n/ramda-adjunct/compare/v2.29.0...v2.30.0) (2020-12-27)
|
|
2
46
|
|
|
3
47
|
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+

|
|
2
2
|
[](https://codecov.io/gh/char0n/ramda-adjunct)
|
|
3
3
|
[](https://char0n.github.io/ramda-adjunct/)
|
|
4
4
|
[](https://www.npmjs.com/package/ramda-adjunct)
|
|
@@ -125,21 +125,21 @@ _Do you want to find out more about why this library exists ? Read this [**artic
|
|
|
125
125
|
|
|
126
126
|
## Requirements
|
|
127
127
|
|
|
128
|
-
- ramda >= 0.19.0
|
|
128
|
+
- ramda >= 0.19.0
|
|
129
129
|
- node >= 0.10.48
|
|
130
130
|
|
|
131
|
-
Ramda Adjunct is being automatically tested against
|
|
131
|
+
Ramda Adjunct is being automatically tested against all LTS and Current Node.js versions.
|
|
132
132
|
|
|
133
133
|
### Legacy builds
|
|
134
134
|
|
|
135
135
|
We are building our npm distributions using Webpack/Babel to support legacy versions of node starting from 0.10.48.
|
|
136
|
-
Although all tests are run against
|
|
136
|
+
Although all tests are run against all LTS and Current Node.js versions, we rely on Webpack/Babel to transpile ramda-adjunct into legacy ES5.
|
|
137
137
|
It is also possible that our ES5 distributions run on node versions older than 0.10.48 as long as they support ES5.
|
|
138
138
|
|
|
139
139
|
## API Documentation
|
|
140
140
|
|
|
141
141
|
[LATEST](https://char0n.github.io/ramda-adjunct),
|
|
142
|
-
[PREVIOUS](https://char0n.github.io/ramda-adjunct/2.
|
|
142
|
+
[PREVIOUS](https://char0n.github.io/ramda-adjunct/2.32.0),
|
|
143
143
|
[ALL VERSIONS](./VERSIONS.md)
|
|
144
144
|
|
|
145
145
|
## Wrote about us
|
|
@@ -231,7 +231,7 @@ The command will create three types of bundles.
|
|
|
231
231
|
|
|
232
232
|
`dist/RA.web.standalone.js` - ES5 compliant bundle, running in browsers. It has `ramda.js` pre-bundled.
|
|
233
233
|
|
|
234
|
-
You can always find fresh build files in
|
|
234
|
+
You can always find fresh build files in exposed as artifacts of GitHub Actions.
|
|
235
235
|
|
|
236
236
|
|
|
237
237
|
## Tree shaking support
|