ramda-adjunct 2.33.0 → 3.0.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/CHANGELOG.md +55 -0
- package/README.md +3 -5
- package/dist/RA.node.js +854 -885
- package/dist/RA.node.min.js +1 -1
- package/dist/RA.web.js +854 -885
- package/dist/RA.web.min.js +1 -1
- package/dist/RA.web.standalone.js +6398 -5923
- package/dist/RA.web.standalone.min.js +1 -1
- package/es/copyKeys.js +34 -0
- package/es/fantasy-land/Identity.js +12 -12
- package/es/flattenPath.js +2 -2
- package/es/included.js +27 -0
- package/es/index.js +6 -11
- package/es/internal/isCoercible.js +6 -0
- package/es/internal/isOfTypeObject.js +1 -1
- package/es/internal/ponyfills/Promise.any.js +9 -5
- package/es/isArrayLike.js +1 -1
- package/es/isNotNilOrEmpty.js +1 -1
- package/es/isSymbol.js +1 -1
- package/es/mergePath.js +2 -3
- package/es/omitIndexes.js +2 -2
- package/es/pickIndexes.js +2 -2
- package/es/reduceP.js +1 -1
- package/es/reduceRightP.js +1 -1
- package/es/spreadPath.js +2 -2
- package/es/toNumber.js +22 -0
- package/es/trimCharsEnd.js +2 -2
- package/es/trimCharsStart.js +2 -2
- package/lib/anyP.js +1 -1
- package/lib/copyKeys.js +43 -0
- package/lib/fantasy-land/Identity.js +13 -13
- package/lib/fantasy-land/mapping.js +1 -1
- package/lib/fantasy-land/traits.js +2 -2
- package/lib/fantasy-land/util.js +1 -1
- package/lib/flattenPath.js +1 -1
- package/lib/included.js +33 -0
- package/lib/index.js +11 -19
- package/lib/internal/ap.js +1 -1
- package/lib/internal/isCoercible.js +18 -0
- package/lib/internal/isOfTypeObject.js +1 -1
- package/lib/internal/ponyfills/Promise.any.js +9 -5
- package/lib/isArrayLike.js +1 -1
- package/lib/isFinite.js +1 -1
- package/lib/isInteger.js +1 -1
- package/lib/isNaN.js +1 -1
- package/lib/isNotNilOrEmpty.js +1 -1
- package/lib/isSafeInteger.js +1 -1
- package/lib/isSymbol.js +1 -1
- package/lib/mergePath.js +1 -5
- package/lib/omitIndexes.js +1 -1
- package/lib/padCharsEnd.js +1 -1
- package/lib/padCharsStart.js +1 -1
- package/lib/pickIndexes.js +1 -1
- package/lib/reduceP.js +1 -1
- package/lib/reduceRightP.js +1 -1
- package/lib/repeatStr.js +1 -1
- package/lib/replaceAll.js +1 -1
- package/lib/sign.js +1 -1
- package/lib/spreadPath.js +1 -1
- package/lib/thenCatchP.js +1 -1
- package/lib/toArray.js +1 -1
- package/lib/toNumber.js +31 -0
- package/lib/trimCharsEnd.js +2 -2
- package/lib/trimCharsStart.js +2 -2
- package/lib/trimEnd.js +1 -1
- package/lib/trimStart.js +1 -1
- package/lib/trunc.js +1 -1
- package/package.json +38 -52
- package/src/copyKeys.js +31 -0
- package/src/flattenPath.js +4 -2
- package/src/included.js +28 -0
- package/src/index.js +5 -10
- package/src/internal/isCoercible.js +12 -0
- package/src/internal/ponyfills/Promise.any.js +1 -1
- package/src/isNotNilOrEmpty.js +1 -1
- package/src/mergePath.js +2 -4
- package/src/omitIndexes.js +2 -2
- package/src/pickIndexes.js +2 -2
- package/src/spreadPath.js +2 -2
- package/src/toNumber.js +24 -0
- package/src/trimCharsEnd.js +2 -2
- package/src/trimCharsStart.js +2 -2
- package/types/index.d.ts +16 -34
- package/es/contained.js +0 -29
- package/es/hasPath.js +0 -38
- package/es/mergeRight.js +0 -26
- package/es/thenP.js +0 -28
- package/lib/contained.js +0 -35
- package/lib/hasPath.js +0 -47
- package/lib/mergeRight.js +0 -32
- package/lib/thenP.js +0 -34
- package/src/contained.js +0 -30
- package/src/hasPath.js +0 -40
- package/src/mergeRight.js +0 -27
- package/src/thenP.js +0 -29
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,58 @@
|
|
|
1
|
+
# [3.0.0](https://github.com/char0n/ramda-adjunct/compare/v2.36.0...v3.0.0) (2022-01-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Breaking changes
|
|
5
|
+
|
|
6
|
+
Version 3.0.0 adds support for [ramda@0.28.0](https://github.com/ramda/ramda/releases/tag/v0.28.0) which removed bunch of function from its API.
|
|
7
|
+
This means that ramda-adjunct needed to react with breaking change release which currently
|
|
8
|
+
supports only ramda@0.28.0.
|
|
9
|
+
|
|
10
|
+
Some functions in ramda-adjunct API were deprecated for a long time, and we decided to remove them in 3.0.0 release:
|
|
11
|
+
|
|
12
|
+
- **then, thenP** - replaceable by [R.andThen](https://ramdajs.com/docs/#andThen)
|
|
13
|
+
- **hasPath** - replaceable by [R.hasPath](https://ramdajs.com/docs/#hasPath)
|
|
14
|
+
- **mergeRight, mergeLeft, resetToDefaults**: - replaceable by [R.mergeLeft](https://ramdajs.com/docs/#mergeLeft)
|
|
15
|
+
- **contained** - replaceable by [RA.included](https://char0n.github.io/ramda-adjunct/3.0.0/RA.html#.included)
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **function:** remove then ([4e5516b](https://github.com/char0n/ramda-adjunct/commit/4e5516b7e5bf8c41f3979ae604b3e331b406ea25)), closes [#2152](https://github.com/char0n/ramda-adjunct/issues/2152)
|
|
20
|
+
* **object:** remove hasPath ([8cc0c8f](https://github.com/char0n/ramda-adjunct/commit/8cc0c8f7859618b5ef3bc00816ed05622841a871)), closes [#2152](https://github.com/char0n/ramda-adjunct/issues/2152)
|
|
21
|
+
* **object:** remove mergeRight ([06a3338](https://github.com/char0n/ramda-adjunct/commit/06a3338923072c6a4ae3e5c62bc109793d76537b)), closes [#2152](https://github.com/char0n/ramda-adjunct/issues/2152)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* add support for ramda@0.28.0 ([20acd56](https://github.com/char0n/ramda-adjunct/commit/20acd562a24759b42ec4f8ae2f3f90af95de25b0)), closes [#2152](https://github.com/char0n/ramda-adjunct/issues/2152)
|
|
27
|
+
* **list:** add included ([4bfafe0](https://github.com/char0n/ramda-adjunct/commit/4bfafe0593ee2d34b51eb8b5768f8618bee17f5a)), closes [#2152](https://github.com/char0n/ramda-adjunct/issues/2152)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
# [2.36.0](https://github.com/char0n/ramda-adjunct/compare/v2.35.0...v2.36.0) (2022-01-17)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
* add support for ramda@0.27.2 ([39e22e1](https://github.com/char0n/ramda-adjunct/commit/39e22e1485410a7bf99a212b9c9a1d2b7ea3237f)), closes [#2152](https://github.com/char0n/ramda-adjunct/issues/2152)
|
|
37
|
+
* **type:** add toNumber ([#2103](https://github.com/char0n/ramda-adjunct/issues/2103)) ([d06abbf](https://github.com/char0n/ramda-adjunct/commit/d06abbfbf3b4700d78f368479404c8347785f295)), closes [#788](https://github.com/char0n/ramda-adjunct/issues/788)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# [2.35.0](https://github.com/char0n/ramda-adjunct/compare/v2.34.0...v2.35.0) (2021-11-01)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
* add copyKeys ([#1558](https://github.com/char0n/ramda-adjunct/issues/1558)) ([cf9727c](https://github.com/char0n/ramda-adjunct/commit/cf9727c08658e74597d330146c4bfc26d3b6949b)), closes [#516](https://github.com/char0n/ramda-adjunct/issues/516)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
# [2.34.0](https://github.com/char0n/ramda-adjunct/compare/v2.32.0...v2.34.0) (2021-09-29)
|
|
51
|
+
|
|
52
|
+
### Other changes
|
|
53
|
+
|
|
54
|
+
The transpiled code has been regenerated with versions of babel transpiler libraries.
|
|
55
|
+
|
|
1
56
|
# [2.33.0](https://github.com/char0n/ramda-adjunct/compare/v2.32.0...v2.33.0) (2021-05-22)
|
|
2
57
|
|
|
3
58
|
|
package/README.md
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-

|
|
1
|
+
[](https://github.com/char0n/ramda-adjunct/actions)
|
|
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)
|
|
5
5
|
[](https://www.npmjs.com/package/ramda-adjunct)
|
|
6
6
|
[](https://www.jsdelivr.com/package/npm/ramda-adjunct)
|
|
7
|
-
[](https://david-dm.org/char0n/ramda-adjunct?type=dev)
|
|
8
|
-
[](https://david-dm.org/char0n/ramda-adjunct?type=peer)
|
|
9
7
|
[](https://dependabot.com/)
|
|
10
8
|
[](https://www.linkedin.com/pulse/ramda-adjunct-vladim%C3%ADr-gorej)
|
|
11
9
|
[](https://github.com/char0n/ramda-adjunct/issues)
|
|
@@ -125,7 +123,7 @@ _Do you want to find out more about why this library exists ? Read this [**artic
|
|
|
125
123
|
|
|
126
124
|
## Requirements
|
|
127
125
|
|
|
128
|
-
- ramda >= 0.
|
|
126
|
+
- ramda >= 0.28.0
|
|
129
127
|
- node >= 0.10.48
|
|
130
128
|
|
|
131
129
|
Ramda Adjunct is being automatically tested against all LTS and Current Node.js versions.
|
|
@@ -139,7 +137,7 @@ It is also possible that our ES5 distributions run on node versions older than 0
|
|
|
139
137
|
## API Documentation
|
|
140
138
|
|
|
141
139
|
[LATEST](https://char0n.github.io/ramda-adjunct),
|
|
142
|
-
[PREVIOUS](https://char0n.github.io/ramda-adjunct/2.
|
|
140
|
+
[PREVIOUS](https://char0n.github.io/ramda-adjunct/2.36.0),
|
|
143
141
|
[ALL VERSIONS](./VERSIONS.md)
|
|
144
142
|
|
|
145
143
|
## Wrote about us
|