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

type-plus

Package Overview
Dependencies
Maintainers
1
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

type-plus - npm Package Compare versions

Comparing version 1.9.0 to 1.10.0

lib/isPromise.d.ts

1

lib/index.d.ts

@@ -5,2 +5,3 @@ export * from './filterKey';

export * from './Id';
export * from './isPromise';
export * from './KeyTypes';

@@ -7,0 +8,0 @@ export * from './literalArray';

@@ -10,2 +10,3 @@ "use strict";

__export(require("./Id"));
__export(require("./isPromise"));
__export(require("./literalArray"));

@@ -12,0 +13,0 @@ __export(require("./mapKey"));

2

package.json
{
"name": "type-plus",
"description": "Provides additional types for `typescript`.",
"version": "1.9.0",
"version": "1.10.0",
"homepage": "https://github.com/unional/type-plus",

@@ -6,0 +6,0 @@ "bugs": {

@@ -41,2 +41,6 @@ # type-plus

### Promise function
- `isPromise<R>(subject: any)`: `isPromise()` type guard.
### Type manipulation

@@ -43,0 +47,0 @@

@@ -5,2 +5,3 @@ export * from './filterKey';

export * from './Id';
export * from './isPromise';
export * from './KeyTypes';

@@ -7,0 +8,0 @@ export * from './literalArray';

@@ -12,1 +12,5 @@ export function excludeUndefined<T>(actual: T): Exclude<T, undefined> { return actual as any }

}
export function isVoid(_: void) {
return true
}

Sorry, the diff of this file is not supported yet

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