pepka 1.6.6 → 1.6.7

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/dist/bundle.d.ts CHANGED
@@ -444,10 +444,10 @@ export declare const mapObj: {
444
444
  (a: (s: any, i?: string, list?: any[]) => any, b: AnyObject): AnyObject;
445
445
  };
446
446
  export declare const join: {
447
- (a: symbol, b: string[]): (a: string) => string;
448
- (a: string, b: symbol): (b: string[]) => string;
449
- (a: string): (b: string[]) => string;
450
- (a: string, b: string[]): string;
447
+ (a: symbol, b: any[]): (a: string) => string;
448
+ (a: string, b: symbol): (b: any[]) => string;
449
+ (a: string): (b: any[]) => string;
450
+ (a: string, b: any[]): string;
451
451
  };
452
452
  export declare const forEach: {
453
453
  (a: symbol, b: any[]): (a: (s: unknown, i: number, arr: unknown[]) => any) => void;
package/package.json CHANGED
@@ -41,7 +41,7 @@
41
41
  "prod": "npm run gentypes && npm run prod:es && npm run prod:cjs",
42
42
  "all": "npm run dev && npm run prod"
43
43
  },
44
- "version": "1.6.6",
44
+ "version": "1.6.7",
45
45
  "devDependencies": {
46
46
  "@rollup/plugin-commonjs": "^28.0.6",
47
47
  "@rollup/plugin-node-resolve": "^16.0.1",
package/src/safe.ts CHANGED
@@ -323,7 +323,7 @@ export const map = curry2(
323
323
  export const mapObj = curry2(
324
324
  (pipe: (s: any, i?: string, list?: any[]) => any, o: AnyObject) => qmapObj(pipe, {...o})
325
325
  )
326
- export const join = curry2((delimeter: string, arr: string[]) => arr.join(delimeter))
326
+ export const join = curry2((delimeter: string, arr: any[]) => arr.join(delimeter))
327
327
  export const forEach = curry2(<T extends any>(pipe: (s: T, i: number, arr: T[]) => any, arr: any[]) => arr.forEach(pipe))
328
328
  export const both = curry3((cond1: Cond, cond2: Cond, s: any) => cond2(s) && cond1(s))
329
329
  export const isEmpty = (s: any) => {