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.
Files changed (95) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/README.md +3 -5
  3. package/dist/RA.node.js +854 -885
  4. package/dist/RA.node.min.js +1 -1
  5. package/dist/RA.web.js +854 -885
  6. package/dist/RA.web.min.js +1 -1
  7. package/dist/RA.web.standalone.js +6398 -5923
  8. package/dist/RA.web.standalone.min.js +1 -1
  9. package/es/copyKeys.js +34 -0
  10. package/es/fantasy-land/Identity.js +12 -12
  11. package/es/flattenPath.js +2 -2
  12. package/es/included.js +27 -0
  13. package/es/index.js +6 -11
  14. package/es/internal/isCoercible.js +6 -0
  15. package/es/internal/isOfTypeObject.js +1 -1
  16. package/es/internal/ponyfills/Promise.any.js +9 -5
  17. package/es/isArrayLike.js +1 -1
  18. package/es/isNotNilOrEmpty.js +1 -1
  19. package/es/isSymbol.js +1 -1
  20. package/es/mergePath.js +2 -3
  21. package/es/omitIndexes.js +2 -2
  22. package/es/pickIndexes.js +2 -2
  23. package/es/reduceP.js +1 -1
  24. package/es/reduceRightP.js +1 -1
  25. package/es/spreadPath.js +2 -2
  26. package/es/toNumber.js +22 -0
  27. package/es/trimCharsEnd.js +2 -2
  28. package/es/trimCharsStart.js +2 -2
  29. package/lib/anyP.js +1 -1
  30. package/lib/copyKeys.js +43 -0
  31. package/lib/fantasy-land/Identity.js +13 -13
  32. package/lib/fantasy-land/mapping.js +1 -1
  33. package/lib/fantasy-land/traits.js +2 -2
  34. package/lib/fantasy-land/util.js +1 -1
  35. package/lib/flattenPath.js +1 -1
  36. package/lib/included.js +33 -0
  37. package/lib/index.js +11 -19
  38. package/lib/internal/ap.js +1 -1
  39. package/lib/internal/isCoercible.js +18 -0
  40. package/lib/internal/isOfTypeObject.js +1 -1
  41. package/lib/internal/ponyfills/Promise.any.js +9 -5
  42. package/lib/isArrayLike.js +1 -1
  43. package/lib/isFinite.js +1 -1
  44. package/lib/isInteger.js +1 -1
  45. package/lib/isNaN.js +1 -1
  46. package/lib/isNotNilOrEmpty.js +1 -1
  47. package/lib/isSafeInteger.js +1 -1
  48. package/lib/isSymbol.js +1 -1
  49. package/lib/mergePath.js +1 -5
  50. package/lib/omitIndexes.js +1 -1
  51. package/lib/padCharsEnd.js +1 -1
  52. package/lib/padCharsStart.js +1 -1
  53. package/lib/pickIndexes.js +1 -1
  54. package/lib/reduceP.js +1 -1
  55. package/lib/reduceRightP.js +1 -1
  56. package/lib/repeatStr.js +1 -1
  57. package/lib/replaceAll.js +1 -1
  58. package/lib/sign.js +1 -1
  59. package/lib/spreadPath.js +1 -1
  60. package/lib/thenCatchP.js +1 -1
  61. package/lib/toArray.js +1 -1
  62. package/lib/toNumber.js +31 -0
  63. package/lib/trimCharsEnd.js +2 -2
  64. package/lib/trimCharsStart.js +2 -2
  65. package/lib/trimEnd.js +1 -1
  66. package/lib/trimStart.js +1 -1
  67. package/lib/trunc.js +1 -1
  68. package/package.json +38 -52
  69. package/src/copyKeys.js +31 -0
  70. package/src/flattenPath.js +4 -2
  71. package/src/included.js +28 -0
  72. package/src/index.js +5 -10
  73. package/src/internal/isCoercible.js +12 -0
  74. package/src/internal/ponyfills/Promise.any.js +1 -1
  75. package/src/isNotNilOrEmpty.js +1 -1
  76. package/src/mergePath.js +2 -4
  77. package/src/omitIndexes.js +2 -2
  78. package/src/pickIndexes.js +2 -2
  79. package/src/spreadPath.js +2 -2
  80. package/src/toNumber.js +24 -0
  81. package/src/trimCharsEnd.js +2 -2
  82. package/src/trimCharsStart.js +2 -2
  83. package/types/index.d.ts +16 -34
  84. package/es/contained.js +0 -29
  85. package/es/hasPath.js +0 -38
  86. package/es/mergeRight.js +0 -26
  87. package/es/thenP.js +0 -28
  88. package/lib/contained.js +0 -35
  89. package/lib/hasPath.js +0 -47
  90. package/lib/mergeRight.js +0 -32
  91. package/lib/thenP.js +0 -34
  92. package/src/contained.js +0 -30
  93. package/src/hasPath.js +0 -40
  94. package/src/mergeRight.js +0 -27
  95. 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
- ![Node.js workflow](https://github.com/char0n/ramda-adjunct/actions/workflows/nodejs.yaml/badge.svg)
1
+ [![Node.js workflow](https://github.com/char0n/ramda-adjunct/actions/workflows/nodejs.yaml/badge.svg)](https://github.com/char0n/ramda-adjunct/actions)
2
2
  [![codecov](https://codecov.io/gh/char0n/ramda-adjunct/branch/master/graph/badge.svg)](https://codecov.io/gh/char0n/ramda-adjunct)
3
3
  [![jsdoc](https://img.shields.io/badge/docs-100%25-green.svg)](https://char0n.github.io/ramda-adjunct/)
4
4
  [![npmversion](https://badge.fury.io/js/ramda-adjunct.svg)](https://www.npmjs.com/package/ramda-adjunct)
5
5
  [![npm](https://img.shields.io/npm/dm/ramda-adjunct.svg)](https://www.npmjs.com/package/ramda-adjunct)
6
6
  [![](https://data.jsdelivr.com/v1/package/npm/ramda-adjunct/badge)](https://www.jsdelivr.com/package/npm/ramda-adjunct)
7
- [![devDependenciesStatus](https://david-dm.org/char0n/ramda-adjunct/dev-status.svg)](https://david-dm.org/char0n/ramda-adjunct?type=dev)
8
- [![peerDependenciesStatus](https://david-dm.org/char0n/ramda-adjunct/peer-status.svg)](https://david-dm.org/char0n/ramda-adjunct?type=peer)
9
7
  [![Dependabot enabled](https://img.shields.io/badge/Dependabot-enabled-blue.svg)](https://dependabot.com/)
10
8
  [![startwithwhy](https://img.shields.io/badge/start%20with-why%3F-brightgreen.svg?style=flat)](https://www.linkedin.com/pulse/ramda-adjunct-vladim%C3%ADr-gorej)
11
9
  [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](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.19.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.32.0),
140
+ [PREVIOUS](https://char0n.github.io/ramda-adjunct/2.36.0),
143
141
  [ALL VERSIONS](./VERSIONS.md)
144
142
 
145
143
  ## Wrote about us