New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@myparcel/ts-utils

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@myparcel/ts-utils - npm Package Compare versions

Comparing version 1.11.0 to 1.12.0

17

lib/index.d.ts

@@ -38,2 +38,12 @@ /**

/**
* Makes a type nullable or be undefined.
*/
type Maybe<T> = T | null | undefined;
/**
* A type for an instantiable class.
*/
type Newable<T> = new (...args: any[]) => T;
/**
* Allow a single value or an array of values.

@@ -79,7 +89,2 @@ */

/**
* Makes a type nullable or be undefined.
*/
type Maybe<T> = T | null | undefined;
/**
* Inverts a map type so that the values become the keys and the keys become the values.

@@ -125,2 +130,2 @@ */

export { ArrayWithOneOrMore, ExtractRecord, ExtractRecordKeys, MakeOptional, Maybe, OneOrMore, PromiseOr, ReadonlyOr, RecursivePartial, RecursiveRequired, Replace, RequireOnly, ResolvePromise, ReverseMap, asyncEvery, asyncSome, isEnumValue, isInArray, isOfType, isUndefined, objectIsEqual, partitionArray, removePropertiesWith, toArray };
export { ArrayWithOneOrMore, ExtractRecord, ExtractRecordKeys, MakeOptional, Maybe, Newable, OneOrMore, PromiseOr, ReadonlyOr, RecursivePartial, RecursiveRequired, Replace, RequireOnly, ResolvePromise, ReverseMap, asyncEvery, asyncSome, isEnumValue, isInArray, isOfType, isUndefined, objectIsEqual, partitionArray, removePropertiesWith, toArray };
{
"name": "@myparcel/ts-utils",
"version": "1.11.0",
"version": "1.12.0",
"description": "TypeScript utilities",

@@ -26,3 +26,4 @@ "keywords": [

"test": "vitest",
"test:run": "vitest run"
"test:run": "vitest run",
"test:types": "tsc -p src/__tests__/types/tsconfig.test.json"
},

@@ -29,0 +30,0 @@ "lint-staged": {

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