🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@s-libs/js-core

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@s-libs/js-core - npm Package Compare versions

Comparing version

to
17.0.0-next.0

3

lib/interfaces.d.ts

@@ -19,2 +19,5 @@ export type ArrayIteratee<I, O> = (item: I, index: number) => O;

};
export type Prettify<T> = {
[K in keyof T]: T[K];
} & {};
export {};

10

lib/objects/map-to-object.d.ts

@@ -1,2 +0,2 @@

import { ArrayIteratee, Nil, ObjectIteratee, PartialExceptIndexes } from '../interfaces';
import { ArrayIteratee, Prettify, Nil, ObjectIteratee, PartialExceptIndexes } from '../interfaces';
/**

@@ -13,7 +13,7 @@ * Maps `collection` a new object, with keys and values determined by `iteratee`.

*/
export declare function mapToObject<I, K extends keyof any, V>(array: Nil | readonly I[], iteratee: ArrayIteratee<I, Readonly<[K, V]>>): PartialExceptIndexes<{
export declare function mapToObject<I, K extends keyof any, V>(array: Nil | readonly I[], iteratee: ArrayIteratee<I, Readonly<[K, V]>>): Prettify<PartialExceptIndexes<{
[k in K]: V;
}>;
export declare function mapToObject<T, K extends keyof any, V>(object: Nil | T, iteratee: ObjectIteratee<T, Readonly<[K, V]>>): PartialExceptIndexes<{
}>>;
export declare function mapToObject<T, K extends keyof any, V>(object: Nil | T, iteratee: ObjectIteratee<T, Readonly<[K, V]>>): Prettify<PartialExceptIndexes<{
[k in K]: V;
}>;
}>>;
{
"name": "@s-libs/js-core",
"version": "16.1.0",
"version": "17.0.0-next.0",
"author": "Simonton Software",

@@ -13,3 +13,3 @@ "license": "MIT",

"peerDependencies": {
"@s-libs/micro-dash": "^16.1.0"
"@s-libs/micro-dash": "^17.0.0-next.0"
},

@@ -16,0 +16,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet