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

@rustable/utils

Package Overview
Dependencies
Maintainers
0
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rustable/utils - npm Package Compare versions

Comparing version 0.1.7 to 0.2.0

2

lib/type_id.d.ts

@@ -48,2 +48,2 @@ /**

*/
export declare function typeId(target: any, genericParams?: any | any[]): TypeId;
export declare function typeId(target: any, genericParams?: any[]): TypeId;

@@ -25,3 +25,3 @@ "use strict";

}
if (genericParams === void 0) {
if (genericParams === void 0 || genericParams.length === 0) {
const existingId = typeIdMap.get(constructor);

@@ -28,0 +28,0 @@ if (existingId !== void 0) {

{
"name": "@rustable/utils",
"version": "0.1.7",
"version": "0.2.0",
"description": "Utility TypeScript utilities inspired by Rust, providing type-safe implementations of HashMap, TypeId, deep cloning, hashing, and equality comparison",

@@ -5,0 +5,0 @@ "keywords": [

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