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

enmap

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enmap - npm Package Compare versions

Comparing version 4.6.0 to 4.6.1

14

index.d.ts
declare module "enmap" {
/**
* A enhanced Map structure with additional utility methods.
* Can be made persistent
*/
export = Enmap;
type EnmapOptions = {

@@ -16,2 +10,3 @@ name?: string;

pollingInterval?: number;
ensureProps?: boolean;
};

@@ -53,3 +48,7 @@

class Enmap<K extends string | number = string | number, V = any> extends AlmostMap<K, V> {
/**
* A enhanced Map structure with additional utility methods.
* Can be made persistent
*/
export default class Enmap<K extends string | number = string | number, V = any> extends AlmostMap<K, V> {
public readonly cloneLevel: "none" | "shallow" | "deep";

@@ -66,2 +65,3 @@ public readonly name: string;

public readonly lastSync: Date;
public readonly ensureProps: boolean;
public readonly changedCB: (key: K, oldValue: V | undefined, newValue: V | undefined) => void;

@@ -68,0 +68,0 @@

{
"name": "enmap",
"version": "4.6.0",
"version": "4.6.1",
"description": "A simple database wrapper to make sqlite database interactions much easier for beginners, with additional array helper methods.",

@@ -5,0 +5,0 @@ "types": "index.d.ts",

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