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

mnemonist

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mnemonist - npm Package Compare versions

Comparing version 0.38.5 to 0.39.0

lru-cache-with-delete.d.ts

2

index.d.ts

@@ -29,3 +29,5 @@ /**

export {default as LRUCache} from './lru-cache';
export {default as LRUCacheWithDelete} from './lru-cache-with-delete';
export {default as LRUMap} from './lru-map';
export {default as LRUMapWithDelete} from './lru-map-with-delete';
export {default as MultiMap} from './multi-map';

@@ -32,0 +34,0 @@ export {default as MultiSet} from './multi-set';

@@ -38,3 +38,5 @@ /**

LRUCache: require('./lru-cache.js'),
LRUCacheWithDelete: require('./lru-cache-with-delete.js'),
LRUMap: require('./lru-map.js'),
LRUMapWithDelete: require('./lru-map-with-delete.js'),
MultiMap: require('./multi-map.js'),

@@ -41,0 +43,0 @@ MultiSet: require('./multi-set.js'),

5

lru-cache.js

@@ -111,5 +111,5 @@ /**

// The key already exists, we just need to update the value and splay on top
var pointer = this.items[key];
// The key already exists, we just need to update the value and splay on top
if (typeof pointer !== 'undefined') {

@@ -159,5 +159,6 @@ this.splayOnTop(pointer);

var oldKey = null;
// The key already exists, we just need to update the value and splay on top
var pointer = this.items[key];
// The key already exists, we just need to update the value and splay on top
if (typeof pointer !== 'undefined') {

@@ -164,0 +165,0 @@ this.splayOnTop(pointer);

@@ -71,5 +71,5 @@ /**

// The key already exists, we just need to update the value and splay on top
var pointer = this.items.get(key);
// The key already exists, we just need to update the value and splay on top
if (typeof pointer !== 'undefined') {

@@ -119,5 +119,6 @@ this.splayOnTop(pointer);

var oldKey = null;
// The key already exists, we just need to update the value and splay on top
var pointer = this.items.get(key);
// The key already exists, we just need to update the value and splay on top
if (typeof pointer !== 'undefined') {

@@ -124,0 +125,0 @@ this.splayOnTop(pointer);

{
"name": "mnemonist",
"version": "0.38.5",
"version": "0.39.0",
"description": "Curated collection of data structures for the JavaScript/TypeScript.",

@@ -75,9 +75,9 @@ "scripts": {

"dependencies": {
"obliterator": "^2.0.0"
"obliterator": "^2.0.1"
},
"devDependencies": {
"@yomguithereal/eslint-config": "^4.0.0",
"@yomguithereal/eslint-config": "^4.4.0",
"asciitree": "^1.0.2",
"damerau-levenshtein": "^1.0.6",
"eslint": "^7.21.0",
"damerau-levenshtein": "^1.0.7",
"eslint": "^8.2.0",
"leven": "^3.1.0",

@@ -90,3 +90,3 @@ "lodash": "^4.17.21",

"static-kdtree": "^1.0.2",
"typescript": "^4.2.2"
"typescript": "^4.5.2"
},

@@ -93,0 +93,0 @@ "eslintConfig": {

@@ -1,2 +0,2 @@

[![Build Status](https://travis-ci.org/Yomguithereal/mnemonist.svg)](https://travis-ci.org/Yomguithereal/mnemonist)
[![Build Status](https://github.com/Yomguithereal/mnemonist/workflows/Tests/badge.svg)](https://github.com/Yomguithereal/mnemonist/actions)

@@ -3,0 +3,0 @@ # Mnemonist

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