types-ramda
Advanced tools
+15
-9
@@ -34,11 +34,2 @@ import { A, M } from 'ts-toolbelt'; | ||
| /** | ||
| * Dictionary | ||
| * @deprecated use typescript utils `Record<>` instead | ||
| * @param A The type of dictionary values | ||
| */ | ||
| export interface Dictionary<A> { | ||
| [index: string]: A; | ||
| } | ||
| /** | ||
| * Represents all objects evolvable with Evolver E | ||
@@ -338,2 +329,17 @@ * @param E | ||
| /** | ||
| * An object with at least one of its properties beeing of type `Key`. | ||
| * | ||
| * @example | ||
| * ``` | ||
| * // $ExpectType { foo: unknown } | { bar: unknown } | ||
| * type Foo = ObjectHavingSome<"foo" | "bar"> | ||
| * ``` | ||
| */ | ||
| // Implementation taken from | ||
| // https://github.com/piotrwitek/utility-types/blob/df2502ef504c4ba8bd9de81a45baef112b7921d0/src/mapped-types.ts#L351-L362 | ||
| export type ObjectHavingSome<Key extends string> = { | ||
| [K in Key]: { [P in K]: unknown }; | ||
| }[Key]; | ||
| /** | ||
| * <needs description> | ||
@@ -340,0 +346,0 @@ */ |
+1
-1
| { | ||
| "name": "types-ramda", | ||
| "version": "0.1.0", | ||
| "version": "0.2.0", | ||
| "description": "Dedicated types library for ramda", | ||
@@ -5,0 +5,0 @@ "author": "Harris Miller <harrismillerconsulting@gmail.com>", |
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
6369
-0.09%35
2.94%