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

birecord

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

birecord - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

dist/mod.d.ts

@@ -7,3 +7,3 @@ declare function birecord<const T extends Record<any, any>>(original: T): BiRecord<T>;

get<U extends keyof T | T[keyof T]>(key: U): U extends keyof T ? T[U] : U extends T[keyof T] ? Reverse<T>[U] : unknown;
has<U extends keyof T | T[keyof T]>(key: U): boolean;
has(key: any): key is keyof T | T[keyof T];
}

@@ -10,0 +10,0 @@ declare function reverse<T extends Record<any, any>>(record: T): Reverse<T>;

{
"name": "birecord",
"version": "0.1.0",
"version": "0.1.1",
"description": "Bi-directional record in type-safe way",

@@ -5,0 +5,0 @@ "main": "./dist/mod.js",

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