ramda-adjunct 2.35.0 → 3.1.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 (96) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +2 -4
  3. package/dist/RA.node.js +275 -239
  4. package/dist/RA.node.min.js +1 -1
  5. package/dist/RA.web.js +275 -239
  6. package/dist/RA.web.min.js +1 -1
  7. package/dist/RA.web.standalone.js +6072 -5528
  8. package/dist/RA.web.standalone.min.js +1 -1
  9. package/es/copyKeys.js +2 -2
  10. package/es/fantasy-land/Identity.js +1 -1
  11. package/es/flattenPath.js +2 -2
  12. package/es/included.js +27 -0
  13. package/es/index.js +8 -12
  14. package/es/internal/isCoercible.js +6 -0
  15. package/es/internal/isOfTypeObject.js +1 -1
  16. package/es/internal/ponyfills/Promise.any.js +8 -4
  17. package/es/isArrayLike.js +1 -1
  18. package/es/isBlank.js +32 -0
  19. package/es/isNotNilOrEmpty.js +1 -1
  20. package/es/isSymbol.js +1 -1
  21. package/es/mergePath.js +2 -3
  22. package/es/omitIndexes.js +2 -2
  23. package/es/pickIndexes.js +2 -2
  24. package/es/sortByPaths.js +52 -0
  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 +2 -2
  31. package/lib/fantasy-land/Identity.js +2 -2
  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 +17 -21
  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 +8 -4
  42. package/lib/isArrayLike.js +1 -1
  43. package/lib/isBlank.js +41 -0
  44. package/lib/isFinite.js +1 -1
  45. package/lib/isInteger.js +1 -1
  46. package/lib/isNaN.js +1 -1
  47. package/lib/isNotNilOrEmpty.js +1 -1
  48. package/lib/isSafeInteger.js +1 -1
  49. package/lib/isSymbol.js +1 -1
  50. package/lib/mergePath.js +1 -5
  51. package/lib/omitIndexes.js +1 -1
  52. package/lib/padCharsEnd.js +1 -1
  53. package/lib/padCharsStart.js +1 -1
  54. package/lib/pickIndexes.js +1 -1
  55. package/lib/repeatStr.js +1 -1
  56. package/lib/replaceAll.js +1 -1
  57. package/lib/sign.js +1 -1
  58. package/lib/sortByPaths.js +59 -0
  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 +35 -50
  69. package/src/flattenPath.js +4 -2
  70. package/src/included.js +28 -0
  71. package/src/index.js +6 -10
  72. package/src/internal/isCoercible.js +12 -0
  73. package/src/internal/ponyfills/Promise.any.js +1 -1
  74. package/src/isBlank.js +33 -0
  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/sortByPaths.js +55 -0
  80. package/src/spreadPath.js +2 -2
  81. package/src/toNumber.js +24 -0
  82. package/src/trimCharsEnd.js +2 -2
  83. package/src/trimCharsStart.js +2 -2
  84. package/types/index.d.ts +20 -34
  85. package/es/contained.js +0 -29
  86. package/es/hasPath.js +0 -38
  87. package/es/mergeRight.js +0 -26
  88. package/es/thenP.js +0 -28
  89. package/lib/contained.js +0 -35
  90. package/lib/hasPath.js +0 -47
  91. package/lib/mergeRight.js +0 -32
  92. package/lib/thenP.js +0 -34
  93. package/src/contained.js +0 -30
  94. package/src/hasPath.js +0 -40
  95. package/src/mergeRight.js +0 -27
  96. package/src/thenP.js +0 -29
package/CHANGELOG.md CHANGED
@@ -1,3 +1,53 @@
1
+ # [3.1.0](https://github.com/char0n/ramda-adjunct/compare/v3.0.0...v3.1.0) (2022-04-24)
2
+
3
+
4
+ ### Features
5
+
6
+ * **isBlank:** implemented isBlank function ([#2141](https://github.com/char0n/ramda-adjunct/issues/2141)) ([e8cf553](https://github.com/char0n/ramda-adjunct/commit/e8cf553d9ef4daa950a3358d18241356a7089fff))
7
+ * **list:** add sortByPaths ([#2104](https://github.com/char0n/ramda-adjunct/issues/2104)) ([3d59189](https://github.com/char0n/ramda-adjunct/commit/3d591897d1c564a3c18cacc569c1d29cf351315c)), closes [#1240](https://github.com/char0n/ramda-adjunct/issues/1240)
8
+
9
+
10
+
11
+ # [3.0.0](https://github.com/char0n/ramda-adjunct/compare/v2.36.0...v3.0.0) (2022-01-17)
12
+
13
+
14
+ ### Breaking changes
15
+
16
+ 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.
17
+ This means that ramda-adjunct needed to react with breaking change release which currently
18
+ supports only ramda@0.28.0.
19
+
20
+ Some functions in ramda-adjunct API were deprecated for a long time, and we decided to remove them in 3.0.0 release:
21
+
22
+ - **then, thenP** - replaceable by [R.andThen](https://ramdajs.com/docs/#andThen)
23
+ - **hasPath** - replaceable by [R.hasPath](https://ramdajs.com/docs/#hasPath)
24
+ - **mergeRight, mergeLeft, resetToDefaults**: - replaceable by [R.mergeLeft](https://ramdajs.com/docs/#mergeLeft)
25
+ - **contained** - replaceable by [RA.included](https://char0n.github.io/ramda-adjunct/3.0.0/RA.html#.included)
26
+
27
+ ### Bug Fixes
28
+
29
+ * **function:** remove then ([4e5516b](https://github.com/char0n/ramda-adjunct/commit/4e5516b7e5bf8c41f3979ae604b3e331b406ea25)), closes [#2152](https://github.com/char0n/ramda-adjunct/issues/2152)
30
+ * **object:** remove hasPath ([8cc0c8f](https://github.com/char0n/ramda-adjunct/commit/8cc0c8f7859618b5ef3bc00816ed05622841a871)), closes [#2152](https://github.com/char0n/ramda-adjunct/issues/2152)
31
+ * **object:** remove mergeRight ([06a3338](https://github.com/char0n/ramda-adjunct/commit/06a3338923072c6a4ae3e5c62bc109793d76537b)), closes [#2152](https://github.com/char0n/ramda-adjunct/issues/2152)
32
+
33
+
34
+ ### Features
35
+
36
+ * 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)
37
+ * **list:** add included ([4bfafe0](https://github.com/char0n/ramda-adjunct/commit/4bfafe0593ee2d34b51eb8b5768f8618bee17f5a)), closes [#2152](https://github.com/char0n/ramda-adjunct/issues/2152)
38
+
39
+
40
+
41
+ # [2.36.0](https://github.com/char0n/ramda-adjunct/compare/v2.35.0...v2.36.0) (2022-01-17)
42
+
43
+
44
+ ### Features
45
+
46
+ * 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)
47
+ * **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)
48
+
49
+
50
+
1
51
  # [2.35.0](https://github.com/char0n/ramda-adjunct/compare/v2.34.0...v2.35.0) (2021-11-01)
2
52
 
3
53
 
package/README.md CHANGED
@@ -4,8 +4,6 @@
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.34.0),
140
+ [PREVIOUS](https://char0n.github.io/ramda-adjunct/3.0.0),
143
141
  [ALL VERSIONS](./VERSIONS.md)
144
142
 
145
143
  ## Wrote about us