Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

types-ramda

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

types-ramda - npm Package Compare versions

Comparing version 0.29.3 to 0.29.4

es/deepModify.d.ts

26

es/tools.d.ts

@@ -437,8 +437,2 @@ import { A, M } from 'ts-toolbelt';

/**
* When you have a union type, `keyof T` is not sufficient
* <created by @harris-miller>
*/
export type KeysOfUnion<T> = T extends infer U ? keyof U : never;
/**
* If `T` is a union, `T[keyof T]` (cf. `map` and `values` in `index.d.ts`) contains the types of object values that are common across the union (i.e., an intersection).

@@ -533,21 +527,1 @@ * Because we want to include the types of all values, including those that occur in some, but not all members of the union, we first define `ValueOfUnion`.

: T;
/**
* Recursively Update a deep property from a given path
*
* @param Keys array of keeps into the object
* @param U The object to change
* @param T the next type at the key path
*
* <created by @harris-miller>
*/
export type DeepModify<Keys extends readonly PropertyKey[], U, T> =
Keys extends [infer K, ...infer Rest]
? K extends keyof U
? Rest extends readonly []
? Omit<U, K> & Record<K, T>
: Rest extends readonly PropertyKey[]
? Omit<U, K> & Record<K, DeepModify<Rest, U[K], T>>
: never
: never
: never;

17

package.json
{
"name": "types-ramda",
"version": "0.29.3",
"version": "0.29.4",
"description": "Dedicated types library for ramda",

@@ -37,10 +37,11 @@ "author": "Harris Miller <harrismillerconsulting@gmail.com>",

"files": [
"es"
"es",
"src"
],
"types": "./es/index.d.ts",
"scripts": {
"build": "node scripts/build-types.js",
"build": "node scripts/buildTypes.mjs",
"lint": "eslint . --max-warnings=0",
"test": "tsd",
"typecheck": "tsc --noEmit"
"typecheck": "tsc -p tsconfig.types.json --noEmit"
},

@@ -54,12 +55,12 @@ "tsd": {

"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"dox": "^1.0.0",
"eslint": "^8.37.0",
"eslint": "^8.43.0",
"eslint-plugin-import": "^2.27.5",
"ramda": "^0.29.0",
"tsd": "^0.28.1",
"typescript": "^5.0.2",
"typescript": "^5.1.6",
"xyz": "^4.0.0"
}
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc