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.20 to 4.3.21

1

lib/fs.d.ts

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

/// <reference types="node" />
import fs from 'fs';

@@ -3,0 +2,0 @@ declare const _default: {

2

lib/index.d.ts

@@ -18,3 +18,3 @@ import { Reader, Response } from 'mmdb-lib';

init: () => never;
open: <T extends Response>(filepath: string, opts?: OpenOpts | undefined, cb?: Callback | undefined) => Promise<Reader<T>>;
open: <T extends Response>(filepath: string, opts?: OpenOpts, cb?: Callback) => Promise<Reader<T>>;
openSync: () => never;

@@ -21,0 +21,0 @@ validate: (ip: string) => boolean;

@@ -1,4 +0,3 @@

/// <reference types="node" />
declare const _default: {
bitAt: (rawAddress: number[] | Buffer, idx: number) => number;
bitAt: (rawAddress: Buffer | number[], idx: number) => number;
parse: (ip: string) => number[];

@@ -5,0 +4,0 @@ validate: (ip: string) => boolean;

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

/// <reference types="node" />
declare const _default: (buf: Buffer) => boolean;
export default _default;
{
"name": "maxmind",
"version": "4.3.20",
"version": "4.3.21",
"homepage": "https://github.com/runk/node-maxmind",

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

"mmdb-lib": "2.1.1",
"tiny-lru": "11.2.6"
"tiny-lru": "11.2.11"
},

@@ -37,3 +37,3 @@ "devDependencies": {

"@types/netmask": "2.0.5",
"@types/node": "20.12.8",
"@types/node": "20.14.13",
"@types/sinon": "17.0.3",

@@ -43,7 +43,7 @@ "ip-address": "9.0.5",

"jest": "29.7.0",
"prettier": "3.2.5",
"semantic-release": "23.0.8",
"sinon": "17.0.1",
"ts-jest": "29.1.4",
"typescript": "5.4.5"
"prettier": "3.3.3",
"semantic-release": "24.0.0",
"sinon": "18.0.0",
"ts-jest": "29.2.4",
"typescript": "5.5.4"
},

@@ -50,0 +50,0 @@ "repository": {

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