Socket
Socket
Sign inDemoInstall

tiny-lru

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiny-lru - npm Package Compare versions

Comparing version 1.4.10 to 1.4.11

7

lib/tiny-lru.es6.js

@@ -8,3 +8,3 @@ /**

* @link https://github.com/avoidwork/tiny-lru
* @version 1.4.10
* @version 1.4.11
*/

@@ -14,4 +14,3 @@ "use strict";

(function (global) {
const next = typeof process !== "undefined" ? process.nextTick : arg => setTimeout(arg, 1),
keys = typeof Reflect !== "undefined" ? Reflect.ownKeys : Object.keys;
const next = typeof process !== "undefined" ? process.nextTick : arg => setTimeout(arg, 1);

@@ -179,3 +178,3 @@ class LRU {

keys(obj).forEach(i => {
Object.keys(obj).forEach(i => {
this[i] = obj[i];

@@ -182,0 +181,0 @@ });

@@ -8,3 +8,3 @@ /**

* @link https://github.com/avoidwork/tiny-lru
* @version 1.4.10
* @version 1.4.11
*/

@@ -20,4 +20,3 @@ "use strict";

return setTimeout(arg, 1);
},
keys = typeof Reflect !== "undefined" ? Reflect.ownKeys : Object.keys;
};

@@ -208,3 +207,3 @@ var LRU = function () {

keys(obj).forEach(function (i) {
Object.keys(obj).forEach(function (i) {
_this[i] = obj[i];

@@ -211,0 +210,0 @@ });

{
"name": "tiny-lru",
"description": "Tiny LRU cache for Client or Server",
"version": "1.4.10",
"version": "1.4.11",
"homepage": "https://github.com/avoidwork/tiny-lru",

@@ -6,0 +6,0 @@ "author": "Jason Mulligan <jason.mulligan@avoidwork.com>",

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