Socket
Socket
Sign inDemoInstall

type-fest

Package Overview
Dependencies
0
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.10.0 to 3.11.0

source/readonly-keys-of.d.ts

3

index.d.ts

@@ -28,2 +28,3 @@ // Basic

export type {PartialDeep, PartialDeepOptions} from './source/partial-deep';
export type {RequiredDeep} from './source/required-deep';
export type {PartialOnUndefinedDeep, PartialOnUndefinedDeepOptions} from './source/partial-on-undefined-deep';

@@ -80,2 +81,4 @@ export type {ReadonlyDeep} from './source/readonly-deep';

export type {HasRequiredKeys} from './source/has-required-keys';
export type {ReadonlyKeysOf} from './source/readonly-keys-of';
export type {WritableKeysOf} from './source/writable-keys-of';
export type {Spread} from './source/spread';

@@ -82,0 +85,0 @@ export type {TupleToUnion} from './source/tuple-to-union';

14

package.json
{
"name": "type-fest",
"version": "3.10.0",
"version": "3.11.0",
"description": "A collection of essential TypeScript types",

@@ -39,9 +39,6 @@ "license": "(MIT OR CC0-1.0)",

"expect-type": "^0.15.0",
"tsd": "^0.28.0",
"typescript": "^5.0.2",
"xo": "^0.53.1"
"tsd": "^0.28.1",
"typescript": "^5.0.4",
"xo": "^0.54.2"
},
"peerDependencies": {
"typescript": ">=4.7.0"
},
"xo": {

@@ -54,3 +51,4 @@ "rules": {

"@typescript-eslint/no-redeclare": "off",
"@typescript-eslint/no-confusing-void-expression": "off"
"@typescript-eslint/no-confusing-void-expression": "off",
"@typescript-eslint/no-unsafe-argument": "off"
}

@@ -57,0 +55,0 @@ },

@@ -111,2 +111,3 @@ <div align="center">

- [`RequireAllOrNone`](source/require-all-or-none.d.ts) - Create a type that requires all of the given keys or none of the given keys.
- [`RequiredDeep`](source/required-deep.d.ts) - Create a deeply required version of another type. Use [`Required<T>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#requiredtype) if you only need one level deep.
- [`OmitIndexSignature`](source/omit-index-signature.d.ts) - Omit any index signatures from the given object type, leaving only explicitly defined properties.

@@ -146,2 +147,4 @@ - [`PickIndexSignature`](source/pick-index-signature.d.ts) - Pick only index signatures from the given object type, leaving out all explicitly defined properties.

- [`HasRequiredKeys`](source/has-required-keys.d.ts) - Create a `true`/`false` type depending on whether the given type has any required fields.
- [`ReadonlyKeysOf`](source/readonly-keys-of.d.ts) - Extract all writable (non-readonly) keys from the given type.
- [`WritableKeysOf`](source/writable-keys-of.d.ts) - Extract all readonly keys from the given type.
- [`Spread`](source/spread.d.ts) - Mimic the type inferred by TypeScript when merging two objects or two arrays/tuples using the spread syntax.

@@ -244,3 +247,3 @@ - [`IsEqual`](source/is-equal.d.ts) - Returns a boolean for whether the two given types are equal.

- [`SnakeCase`](source/snake-case.d.ts) - Convert a string literal to snake-case (`foo_bar`).
- [`SnakeCasedProperties`](source/snake-cased-properties-deep.d.ts) - Convert object properties to snake-case (`foo_bar`).
- [`SnakeCasedProperties`](source/snake-cased-properties.d.ts) - Convert object properties to snake-case (`foo_bar`).
- [`SnakeCasedPropertiesDeep`](source/snake-cased-properties-deep.d.ts) - Convert object properties to snake-case recursively (`foo_bar`).

@@ -247,0 +250,0 @@ - [`ScreamingSnakeCase`](source/screaming-snake-case.d.ts) - Convert a string literal to screaming-snake-case (`FOO_BAR`).

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc