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

generic-type-guard

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generic-type-guard - npm Package Compare versions

Comparing version 3.3.0 to 3.3.2

2

dist/generic-type-guard.d.ts

@@ -11,3 +11,3 @@

*/
export declare const assert: <T, U extends T, Guard extends PartialTypeGuard<T, U>>(value: T, guard: Guard, message?: string) => asserts value is U;
export declare const assert: <T, Guard extends PartialTypeGuard<T, T>>(value: T, guard: Guard, message?: string) => asserts value is GuardedType<Guard>;

@@ -14,0 +14,0 @@ /**

{
"name": "generic-type-guard",
"version": "3.3.0",
"version": "3.3.2",
"description": "Generic type guards for TypeScript",

@@ -87,3 +87,3 @@ "main": "dist/index.js",

},
"gitHead": "8a26bd88bbc8918e68d1df058977c0b404d25061"
"gitHead": "f908144aa4652525ce9c8688b95f5af030be399d"
}
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