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

@waiting/shared-types

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waiting/shared-types - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [4.2.0](https://github.com/waitingsong/shared-types/compare/v4.1.0...v4.2.0) (2020-06-12)
### Features
* **types:** add type Equals<X, Y> ([a4d3688](https://github.com/waitingsong/shared-types/commit/a4d3688af9ba2adba81b70bbb2666663581d2b57))
# [4.1.0](https://github.com/waitingsong/shared-types/compare/v4.0.0...v4.1.0) (2020-06-12)

@@ -8,0 +19,0 @@

2

dist/index.cjs.js

@@ -5,3 +5,3 @@ /**

*
* @version 4.0.0
* @version 4.1.0
* @author waiting

@@ -8,0 +8,0 @@ * @license MIT

@@ -56,2 +56,6 @@ export declare type Head<Tuple extends any[]> = Tuple extends [infer H, ...any[]] ? H : never;

};
/**
* @see https://github.com/microsoft/TypeScript/issues/27024#issuecomment-421529650
*/
export declare type Equals<X, Y> = (<T>() => T extends X ? 1 : 2) extends (<T>() => T extends Y ? 1 : 2) ? true : false;
export {};
{
"name": "@waiting/shared-types",
"author": "waiting",
"version": "4.1.0",
"version": "4.2.0",
"description": "shared typescript types",

@@ -74,3 +74,3 @@ "keywords": [

},
"gitHead": "065042e6b04d9b7d4b86d7b37c8f486c323a6df8"
"gitHead": "8d3a0eae43406c81e6a17bb40c2ac73aac0f6e86"
}
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