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

@matchlighter/common_library

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@matchlighter/common_library - npm Package Compare versions

Comparing version 1.2.11 to 1.2.12

lib/decorators/registered_property.d.ts

1

lib/object.d.ts

@@ -22,4 +22,5 @@ export declare const mapObject: <K extends string | number, V = any>(obj: {

export declare function addHiddenProp(object: any, propName: PropertyKey, value: any): void;
export declare function getInheritedHiddenProp<T>(target: any, propName: PropertyKey, type: 'prototypical'): Record<any, T>;
export declare function getInheritedHiddenProp<T>(target: any, propName: PropertyKey, defaultValue: Record<any, T> | 'object'): Record<any, T>;
export declare function getInheritedHiddenProp<T>(target: any, propName: PropertyKey, defaultValue: T[] | 'array'): T[];
export declare function getInheritedHiddenProp<T>(target: any, propName: PropertyKey, defaultValue: 'set'): Set<T>;

@@ -64,2 +64,7 @@ export const mapObject = (obj, valueTransform, keyTransform) => {

}
else if (defaultValue == 'prototypical') {
newValue = {};
if (inherited)
Object.setPrototypeOf(newValue, inherited);
}
addHiddenProp(target, propName, newValue);

@@ -66,0 +71,0 @@ }

2

package.json
{
"name": "@matchlighter/common_library",
"version": "1.2.11",
"version": "1.2.12",
"description": "Shared Functions, Helpers, Patterns & Utilities for Apps and Libraries",

@@ -5,0 +5,0 @@ "author": "Matchlighter",

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