ramda-adjunct 2.31.1 → 2.35.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 (70) hide show
  1. package/.nvmrc +1 -0
  2. package/CHANGELOG.md +48 -0
  3. package/README.md +3 -3
  4. package/dist/RA.node.js +1144 -797
  5. package/dist/RA.node.min.js +1 -1
  6. package/dist/RA.web.js +1144 -797
  7. package/dist/RA.web.min.js +1 -1
  8. package/dist/RA.web.standalone.js +1782 -1435
  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 +63 -76
  14. package/es/fantasy-land/mapping.js +20 -23
  15. package/es/fantasy-land/traits.js +1 -1
  16. package/es/findOr.js +28 -0
  17. package/es/flattenDepth.js +1 -1
  18. package/es/index.js +11 -2
  19. package/es/internal/ap.js +1 -1
  20. package/es/internal/ponyfills/Array.from.js +1 -1
  21. package/es/internal/ponyfills/Promise.allSettled.js +1 -1
  22. package/es/internal/ponyfills/Promise.any.js +3 -3
  23. package/es/isInteger32.js +28 -0
  24. package/es/isNotPrimitive.js +22 -0
  25. package/es/isPrimitive.js +31 -0
  26. package/es/isSentinelValue.js +26 -0
  27. package/es/lastP.js +1 -1
  28. package/es/reduceP.js +1 -1
  29. package/es/reduceRightP.js +1 -1
  30. package/es/sortByProps.js +1 -1
  31. package/lib/anyP.js +2 -2
  32. package/lib/catchP.js +30 -0
  33. package/lib/copyKeys.js +43 -0
  34. package/lib/dispatch.js +1 -1
  35. package/lib/fantasy-land/Identity.js +67 -77
  36. package/lib/fantasy-land/mapping.js +41 -25
  37. package/lib/fantasy-land/traits.js +18 -12
  38. package/lib/findOr.js +34 -0
  39. package/lib/flattenDepth.js +1 -1
  40. package/lib/index.js +32 -3
  41. package/lib/internal/ap.js +9 -3
  42. package/lib/internal/ponyfills/Array.from.js +1 -1
  43. package/lib/internal/ponyfills/Promise.allSettled.js +1 -1
  44. package/lib/internal/ponyfills/Promise.any.js +3 -3
  45. package/lib/isInteger32.js +37 -0
  46. package/lib/isNotPrimitive.js +31 -0
  47. package/lib/isPrimitive.js +47 -0
  48. package/lib/isSentinelValue.js +35 -0
  49. package/lib/lastP.js +1 -1
  50. package/lib/reduceP.js +1 -1
  51. package/lib/reduceRightP.js +1 -1
  52. package/lib/sortByProps.js +1 -1
  53. package/package.json +35 -35
  54. package/src/catchP.js +25 -0
  55. package/src/copyKeys.js +31 -0
  56. package/src/fantasy-land/Identity.js +24 -27
  57. package/src/fantasy-land/mapping.js +20 -24
  58. package/src/fantasy-land/traits.js +1 -1
  59. package/src/findOr.js +30 -0
  60. package/src/index.js +8 -0
  61. package/src/internal/ap.js +1 -1
  62. package/src/internal/ponyfills/Promise.allSettled.js +4 -3
  63. package/src/isInteger32.js +28 -0
  64. package/src/isNotPrimitive.js +25 -0
  65. package/src/isPrimitive.js +45 -0
  66. package/src/isSentinelValue.js +26 -0
  67. package/types/index.d.ts +55 -1
  68. package/.husky/commit-msg +0 -4
  69. package/.husky/pre-commit +0 -4
  70. package/.mocharc.js +0 -9
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ 16
package/CHANGELOG.md CHANGED
@@ -1,3 +1,51 @@
1
+ # [2.35.0](https://github.com/char0n/ramda-adjunct/compare/v2.34.0...v2.35.0) (2021-11-01)
2
+
3
+
4
+ ### Features
5
+
6
+ * 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)
7
+
8
+
9
+
10
+ # [2.34.0](https://github.com/char0n/ramda-adjunct/compare/v2.32.0...v2.34.0) (2021-09-29)
11
+
12
+ ### Other changes
13
+
14
+ The transpiled code has been regenerated with versions of babel transpiler libraries.
15
+
16
+ # [2.33.0](https://github.com/char0n/ramda-adjunct/compare/v2.32.0...v2.33.0) (2021-05-22)
17
+
18
+
19
+ ### Features
20
+
21
+ * **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)
22
+ * **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)
23
+
24
+
25
+
26
+ # [2.32.0](https://github.com/char0n/ramda-adjunct/compare/v2.31.1...v2.32.0) (2021-04-10)
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * **isNotNil:** utilize type narrowing ([#1672](https://github.com/char0n/ramda-adjunct/issues/1672)) ([353a6db](https://github.com/char0n/ramda-adjunct/commit/353a6dbb5039d8a1f72b97c4c20471e2a4bb3cd8))
32
+
33
+
34
+ ### Features
35
+
36
+ * **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)
37
+ * **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)
38
+ * **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)
39
+
40
+
41
+
42
+ # [2.31.1](https://github.com/char0n/ramda-adjunct/compare/v2.31.0...v2.31.1) (2021-02-21)
43
+
44
+ ### Bug Fixes
45
+
46
+ * **deps**: remove postinstall husky script ([61f3fde](https://github.com/char0n/ramda-adjunct/commit/61f3fde46e3c65df0f67b217621fa9532141a2fa)), closes [#1773](https://github.com/char0n/ramda-adjunct/issues/1773)
47
+
48
+
1
49
  # [2.31.0](https://github.com/char0n/ramda-adjunct/compare/v2.30.0...v2.31.0) (2021-02-21)
2
50
 
3
51
 
package/README.md CHANGED
@@ -1,4 +1,4 @@
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)
@@ -139,7 +139,7 @@ It is also possible that our ES5 distributions run on node versions older than 0
139
139
  ## API Documentation
140
140
 
141
141
  [LATEST](https://char0n.github.io/ramda-adjunct),
142
- [PREVIOUS](https://char0n.github.io/ramda-adjunct/2.31.0),
142
+ [PREVIOUS](https://char0n.github.io/ramda-adjunct/2.34.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 circle-ci [artifacts](https://circleci.com/gh/char0n/ramda-adjunct).
234
+ You can always find fresh build files in exposed as artifacts of GitHub Actions.
235
235
 
236
236
 
237
237
  ## Tree shaking support