ramda-adjunct 2.32.0 → 2.36.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 (86) hide show
  1. package/.nvmrc +1 -0
  2. package/CHANGELOG.md +35 -0
  3. package/README.md +4 -6
  4. package/dist/RA.node.js +1043 -818
  5. package/dist/RA.node.min.js +1 -1
  6. package/dist/RA.web.js +1043 -818
  7. package/dist/RA.web.min.js +1 -1
  8. package/dist/RA.web.standalone.js +1678 -1453
  9. package/dist/RA.web.standalone.min.js +1 -1
  10. package/es/catchP.js +24 -0
  11. package/es/copyKeys.js +34 -0
  12. package/es/dispatch.js +1 -1
  13. package/es/fantasy-land/Identity.js +64 -77
  14. package/es/fantasy-land/mapping.js +20 -23
  15. package/es/fantasy-land/traits.js +1 -1
  16. package/es/flattenDepth.js +1 -1
  17. package/es/index.js +8 -3
  18. package/es/internal/ap.js +1 -1
  19. package/es/internal/isCoercible.js +6 -0
  20. package/es/internal/isOfTypeObject.js +1 -1
  21. package/es/internal/ponyfills/Array.from.js +1 -1
  22. package/es/internal/ponyfills/Promise.allSettled.js +1 -1
  23. package/es/internal/ponyfills/Promise.any.js +10 -6
  24. package/es/isArrayLike.js +1 -1
  25. package/es/isNotNilOrEmpty.js +1 -1
  26. package/es/isSentinelValue.js +26 -0
  27. package/es/isSymbol.js +1 -1
  28. package/es/lastP.js +1 -1
  29. package/es/reduceP.js +1 -1
  30. package/es/reduceRightP.js +1 -1
  31. package/es/sortByProps.js +1 -1
  32. package/es/toNumber.js +22 -0
  33. package/lib/anyP.js +3 -3
  34. package/lib/catchP.js +30 -0
  35. package/lib/copyKeys.js +43 -0
  36. package/lib/dispatch.js +1 -1
  37. package/lib/fantasy-land/Identity.js +68 -78
  38. package/lib/fantasy-land/mapping.js +41 -25
  39. package/lib/fantasy-land/traits.js +19 -13
  40. package/lib/fantasy-land/util.js +1 -1
  41. package/lib/flattenDepth.js +1 -1
  42. package/lib/index.js +19 -3
  43. package/lib/internal/ap.js +9 -3
  44. package/lib/internal/isCoercible.js +18 -0
  45. package/lib/internal/isOfTypeObject.js +1 -1
  46. package/lib/internal/ponyfills/Array.from.js +1 -1
  47. package/lib/internal/ponyfills/Promise.allSettled.js +1 -1
  48. package/lib/internal/ponyfills/Promise.any.js +10 -6
  49. package/lib/isArrayLike.js +1 -1
  50. package/lib/isFinite.js +1 -1
  51. package/lib/isInteger.js +1 -1
  52. package/lib/isNaN.js +1 -1
  53. package/lib/isNotNilOrEmpty.js +1 -1
  54. package/lib/isSafeInteger.js +1 -1
  55. package/lib/isSentinelValue.js +35 -0
  56. package/lib/isSymbol.js +1 -1
  57. package/lib/lastP.js +1 -1
  58. package/lib/padCharsEnd.js +1 -1
  59. package/lib/padCharsStart.js +1 -1
  60. package/lib/reduceP.js +1 -1
  61. package/lib/reduceRightP.js +1 -1
  62. package/lib/repeatStr.js +1 -1
  63. package/lib/replaceAll.js +1 -1
  64. package/lib/sign.js +1 -1
  65. package/lib/sortByProps.js +1 -1
  66. package/lib/thenCatchP.js +1 -1
  67. package/lib/toArray.js +1 -1
  68. package/lib/toNumber.js +31 -0
  69. package/lib/trimEnd.js +1 -1
  70. package/lib/trimStart.js +1 -1
  71. package/lib/trunc.js +1 -1
  72. package/package.json +40 -39
  73. package/src/catchP.js +25 -0
  74. package/src/copyKeys.js +31 -0
  75. package/src/fantasy-land/Identity.js +24 -27
  76. package/src/fantasy-land/mapping.js +20 -24
  77. package/src/fantasy-land/traits.js +1 -1
  78. package/src/index.js +5 -1
  79. package/src/internal/ap.js +1 -1
  80. package/src/internal/isCoercible.js +12 -0
  81. package/src/internal/ponyfills/Promise.allSettled.js +4 -3
  82. package/src/internal/ponyfills/Promise.any.js +1 -1
  83. package/src/isNotNilOrEmpty.js +1 -1
  84. package/src/isSentinelValue.js +26 -0
  85. package/src/toNumber.js +24 -0
  86. package/types/index.d.ts +27 -0
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ 16
package/CHANGELOG.md CHANGED
@@ -1,3 +1,38 @@
1
+ # [2.36.0](https://github.com/char0n/ramda-adjunct/compare/v2.35.0...v2.36.0) (2022-01-17)
2
+
3
+
4
+ ### Features
5
+
6
+ * 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)
7
+ * **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)
8
+
9
+
10
+
11
+ # [2.35.0](https://github.com/char0n/ramda-adjunct/compare/v2.34.0...v2.35.0) (2021-11-01)
12
+
13
+
14
+ ### Features
15
+
16
+ * 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)
17
+
18
+
19
+
20
+ # [2.34.0](https://github.com/char0n/ramda-adjunct/compare/v2.32.0...v2.34.0) (2021-09-29)
21
+
22
+ ### Other changes
23
+
24
+ The transpiled code has been regenerated with versions of babel transpiler libraries.
25
+
26
+ # [2.33.0](https://github.com/char0n/ramda-adjunct/compare/v2.32.0...v2.33.0) (2021-05-22)
27
+
28
+
29
+ ### Features
30
+
31
+ * **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)
32
+ * **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)
33
+
34
+
35
+
1
36
  # [2.32.0](https://github.com/char0n/ramda-adjunct/compare/v2.31.1...v2.32.0) (2021-04-10)
2
37
 
3
38
 
package/README.md CHANGED
@@ -1,11 +1,9 @@
1
- [![CircleCI](https://circleci.com/gh/char0n/ramda-adjunct.svg?style=svg)](https://circleci.com/gh/char0n/ramda-adjunct)
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.19.0 <= 0.27.2
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.31.1),
140
+ [PREVIOUS](https://char0n.github.io/ramda-adjunct/2.35.0),
143
141
  [ALL VERSIONS](./VERSIONS.md)
144
142
 
145
143
  ## Wrote about us
@@ -231,7 +229,7 @@ The command will create three types of bundles.
231
229
 
232
230
  `dist/RA.web.standalone.js` - ES5 compliant bundle, running in browsers. It has `ramda.js` pre-bundled.
233
231
 
234
- You can always find fresh build files in circle-ci [artifacts](https://circleci.com/gh/char0n/ramda-adjunct).
232
+ You can always find fresh build files in exposed as artifacts of GitHub Actions.
235
233
 
236
234
 
237
235
  ## Tree shaking support