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

maxmind

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

maxmind - npm Package Compare versions

Comparing version 4.3.3 to 4.3.4

2

lib/index.d.ts

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

import Reader from 'mmdb-lib';
import { Reader } from 'mmdb-lib';
declare type Callback = () => void;

@@ -3,0 +3,0 @@ export interface OpenOpts {

@@ -19,4 +19,4 @@ "use strict";

const tiny_lru_1 = __importDefault(require("tiny-lru"));
const mmdb_lib_1 = __importDefault(require("mmdb-lib"));
exports.Reader = mmdb_lib_1.default;
const mmdb_lib_1 = require("mmdb-lib");
Object.defineProperty(exports, "Reader", { enumerable: true, get: function () { return mmdb_lib_1.Reader; } });
const fs_1 = __importDefault(require("./fs"));

@@ -33,3 +33,3 @@ const ip_1 = __importDefault(require("./ip"));

const cache = (0, tiny_lru_1.default)((opts && opts.cache && opts.cache.max) || 6000);
const reader = new mmdb_lib_1.default(database, { cache });
const reader = new mmdb_lib_1.Reader(database, { cache });
if (opts && !!opts.watchForUpdates) {

@@ -36,0 +36,0 @@ if (opts.watchForUpdatesHook &&

{
"name": "maxmind",
"version": "4.3.3",
"version": "4.3.4",
"homepage": "https://github.com/runk/node-maxmind",

@@ -29,3 +29,3 @@ "description": "IP lookup using Maxmind databases",

"dependencies": {
"mmdb-lib": "1.3.1",
"mmdb-lib": "2.0.1",
"tiny-lru": "7.0.6"

@@ -35,7 +35,7 @@ },

"@types/ip-address": "6.0.0",
"@types/jest": "27.0.3",
"@types/node": "16.11.14",
"@types/jest": "27.4.0",
"@types/node": "16.11.19",
"@types/sinon": "10.0.6",
"ip-address": "8.1.0",
"jest": "27.4.5",
"jest": "27.4.7",
"semantic-release": "18.0.1",

@@ -42,0 +42,0 @@ "sinon": "12.0.1",

Sorry, the diff of this file is not supported yet

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