New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 5.8.0 to 5.9.0

11

CHANGELOG.md

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

# 5.9.0 (2021-02-23)
### Features
* **types:** add KnownKeys<T> ([5f293f4](https://github.com/waitingsong/shared-types/commit/5f293f495b80586d9048ca241270a301a8b05882))
# 5.8.0 (2021-02-23)

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

2

dist/index.cjs.js

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

*
* @version 5.7.2
* @version 5.8.0
* @author waiting

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

@@ -96,2 +96,11 @@ /**

} : T;
/**
* Retrive keys
* @see https://stackoverflow.com/a/51955852/2887218
*/
export declare type KnownKeys<T> = {
[K in keyof T]: string extends K ? never : number extends K ? never : K;
} extends {
[_ in keyof T]: infer U;
} ? U : never;
export {};
{
"name": "@waiting/shared-types",
"author": "waiting",
"version": "5.8.0",
"version": "5.9.0",
"description": "shared typescript types",

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

},
"gitHead": "b0520586166120a2adc7ec5484f718758042409c"
"gitHead": "5d35b79d61ca85d9cac79b07a245e8261ebcde93"
}
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