rambda 7.1.0 → 7.1.3

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 CHANGED
@@ -1,3 +1,7 @@
1
+ 7.1.3
2
+
3
+ `R.mergeRight` not found on `Deno` import - [Issue #633](https://github.com/selfrefactor/rambda/issues/633)
4
+
1
5
  7.1.0
2
6
 
3
7
  - Add `R.mergeRight` - introduced by Ramda's latest release. While Ramda renames `R.merge`, Rambda will keep `R.merge`.
package/README.md CHANGED
@@ -9377,7 +9377,7 @@ It creates a copy of `target` object with overidden `newProps` properties. Previ
9377
9377
 
9378
9378
  ```typescript
9379
9379
 
9380
- mergeWith(fn: (x: any, z: any) => any, a: Obj, b: Record<string, unknown>): Obj
9380
+ mergeWith(fn: (x: any, z: any) => any, a: Record<string, unknown>, b: Record<string, unknown>): Record<string, unknown>
9381
9381
  ```
9382
9382
 
9383
9383
  It takes two objects and a function, which will be used when there is an overlap between the keys.
@@ -9387,11 +9387,11 @@ It takes two objects and a function, which will be used when there is an overlap
9387
9387
  <summary>All Typescript definitions</summary>
9388
9388
 
9389
9389
  ```typescript
9390
- mergeWith(fn: (x: any, z: any) => any, a: Obj, b: Record<string, unknown>): Obj;
9391
- mergeWith<Output>(fn: (x: any, z: any) => any, a: Obj, b: Record<string, unknown>): Output;
9390
+ mergeWith(fn: (x: any, z: any) => any, a: Record<string, unknown>, b: Record<string, unknown>): Record<string, unknown>;
9391
+ mergeWith<Output>(fn: (x: any, z: any) => any, a: Record<string, unknown>, b: Record<string, unknown>): Output;
9392
9392
  mergeWith(fn: (x: any, z: any) => any, a: Record<string, unknown>): (b: Record<string, unknown>) => Obj;
9393
9393
  mergeWith<Output>(fn: (x: any, z: any) => any, a: Record<string, unknown>): (b: Record<string, unknown>) => Output;
9394
- mergeWith(fn: (x: any, z: any) => any): <U, V>(a: U, b: V) => Obj;
9394
+ mergeWith(fn: (x: any, z: any) => any): <U, V>(a: U, b: V) => Record<string, unknown>;
9395
9395
  mergeWith<Output>(fn: (x: any, z: any) => any): <U, V>(a: U, b: V) => Output;
9396
9396
  ```
9397
9397
 
@@ -18413,6 +18413,10 @@ describe('R.zipWith', () => {
18413
18413
 
18414
18414
  ## ❯ CHANGELOG
18415
18415
 
18416
+ 7.1.3
18417
+
18418
+ `R.mergeRight` not found on `Deno` import - [Issue #633](https://github.com/selfrefactor/rambda/issues/633)
18419
+
18416
18420
  7.1.0
18417
18421
 
18418
18422
  - Add `R.mergeRight` - introduced by Ramda's latest release. While Ramda renames `R.merge`, Rambda will keep `R.merge`.
package/immutable.d.ts CHANGED
@@ -1478,11 +1478,11 @@ export function bind<F extends (...args: readonly any[]) => any, T>(fn: F): (thi
1478
1478
  /**
1479
1479
  * It takes two objects and a function, which will be used when there is an overlap between the keys.
1480
1480
  */
1481
- export function mergeWith(fn: (x: any, z: any) => any, a: Obj, b: Record<string, unknown>): Obj;
1482
- export function mergeWith<Output>(fn: (x: any, z: any) => any, a: Obj, b: Record<string, unknown>): Output;
1481
+ export function mergeWith(fn: (x: any, z: any) => any, a: Record<string, unknown>, b: Record<string, unknown>): Record<string, unknown>;
1482
+ export function mergeWith<Output>(fn: (x: any, z: any) => any, a: Record<string, unknown>, b: Record<string, unknown>): Output;
1483
1483
  export function mergeWith(fn: (x: any, z: any) => any, a: Record<string, unknown>): (b: Record<string, unknown>) => Obj;
1484
1484
  export function mergeWith<Output>(fn: (x: any, z: any) => any, a: Record<string, unknown>): (b: Record<string, unknown>) => Output;
1485
- export function mergeWith(fn: (x: any, z: any) => any): <U, V>(a: U, b: V) => Obj;
1485
+ export function mergeWith(fn: (x: any, z: any) => any): <U, V>(a: U, b: V) => Record<string, unknown>;
1486
1486
  export function mergeWith<Output>(fn: (x: any, z: any) => any): <U, V>(a: U, b: V) => Output;
1487
1487
 
1488
1488
  /**
package/index.d.ts CHANGED
@@ -1478,11 +1478,11 @@ export function bind<F extends (...args: any[]) => any, T>(fn: F): (thisObj: T)
1478
1478
  /**
1479
1479
  * It takes two objects and a function, which will be used when there is an overlap between the keys.
1480
1480
  */
1481
- export function mergeWith(fn: (x: any, z: any) => any, a: Obj, b: Record<string, unknown>): Obj;
1482
- export function mergeWith<Output>(fn: (x: any, z: any) => any, a: Obj, b: Record<string, unknown>): Output;
1481
+ export function mergeWith(fn: (x: any, z: any) => any, a: Record<string, unknown>, b: Record<string, unknown>): Record<string, unknown>;
1482
+ export function mergeWith<Output>(fn: (x: any, z: any) => any, a: Record<string, unknown>, b: Record<string, unknown>): Output;
1483
1483
  export function mergeWith(fn: (x: any, z: any) => any, a: Record<string, unknown>): (b: Record<string, unknown>) => Obj;
1484
1484
  export function mergeWith<Output>(fn: (x: any, z: any) => any, a: Record<string, unknown>): (b: Record<string, unknown>) => Output;
1485
- export function mergeWith(fn: (x: any, z: any) => any): <U, V>(a: U, b: V) => Obj;
1485
+ export function mergeWith(fn: (x: any, z: any) => any): <U, V>(a: U, b: V) => Record<string, unknown>;
1486
1486
  export function mergeWith<Output>(fn: (x: any, z: any) => any): <U, V>(a: U, b: V) => Output;
1487
1487
 
1488
1488
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rambda",
3
- "version": "7.1.0",
3
+ "version": "7.1.3",
4
4
  "scripts": {
5
5
  "populatedocs": "cd ../rambda-scripts && yarn populate:docs",
6
6
  "populatedocs:x": "cd ../rambda-scripts && yarn populate:docs:rambdax",
@@ -20,7 +20,7 @@
20
20
  "build": "yarn build:main && yarn build:web",
21
21
  "build:web": "cross-env NODE_ENV=build rollup -c files/rollup.web.config.js",
22
22
  "build:main": "cross-env NODE_ENV=build rollup -c files/rollup.config.js",
23
- "docs": "npx docsify-cli init ./docs && yarn fix-docsify",
23
+ "docs": "npx docsify-cli init ./docs --yes && yarn fix-docsify",
24
24
  "new": "cd ../rambda-scripts && yarn new",
25
25
  "test:all": "jest source -u --bail=false",
26
26
  "test": "jest -o --watch",
package/src/merge.js CHANGED
@@ -1 +1 @@
1
- export {mergeRight as merge} from './mergeRight'
1
+ export {mergeRight as merge} from './mergeRight.js'