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 3.0.3 to 3.0.4

1

lib/decoder.d.ts

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

/// <reference types="node" />
import { OpenOpts } from '.';

@@ -3,0 +2,0 @@ interface Cursor {

2

lib/decoder.js

@@ -9,3 +9,3 @@ "use strict";

const utils_1 = __importDefault(require("./utils"));
assert_1.default(typeof BigInt !== 'undefined', 'Apparently you are using old version of node. Please upgrade to node 0.10 or above.');
assert_1.default(typeof BigInt !== 'undefined', 'Apparently you are using old version of node. Please upgrade to node 10.4.x or above.');
const types = [

@@ -12,0 +12,0 @@ 'extended',

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

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

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

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

/// <reference types="node" />
declare const _default: {

@@ -3,0 +2,0 @@ bitAt: (rawAddress: number[] | Buffer, idx: number) => number;

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

/// <reference types="node" />
declare const _default: (buf: Buffer) => boolean;
export default _default;

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

/// <reference types="node" />
export interface Metadata {

@@ -3,0 +2,0 @@ readonly binaryFormatMajorVersion: number;

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

/// <reference types="node" />
import { Metadata } from './metadata';

@@ -3,0 +2,0 @@ import { Response } from './reader/response';

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

/// <reference types="node" />
declare type NodeReader = (offset: number) => number;

@@ -3,0 +2,0 @@ export interface Walker {

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

@@ -31,11 +31,11 @@ "description": "IP lookup using Maxmind databases",

"@types/ip-address": "5.8.2",
"@types/jest": "24.0.12",
"@types/jest": "24.0.13",
"@types/node": "10.14.6",
"github-publish-release": "5.0.1",
"ip-address": "5.8.9",
"jest": "24.7.1",
"jest": "24.8.0",
"sinon": "7.3.2",
"ts-jest": "24.0.2",
"tslint": "5.16.0",
"typescript": "3.3.1"
"typescript": "3.4.5"
},

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

# node-maxmind [![Build Status](https://api.travis-ci.org/runk/node-maxmind.svg?branch=master)](https://travis-ci.org/runk/node-maxmind)
Vanilla Javascript module for Geo IP lookup using Maxmind binary databases (aka mmdb or geoip2).
Javascript module for Geo IP lookup using Maxmind binary databases (aka mmdb or geoip2).
Fastest Maxmind lookup library available - up to [17,000% faster](https://github.com/runk/node-maxmind-benchmark) than other libraries. Module has 100% test coverage with comprehensive test suite. It natively works with binary Maxmind database format and doesn't require any "CSV - {specific lib format}" conversions as some other modules do. Maxmind binary databases are highly optimized for size and performance so there's no point using other formats.

@@ -5,0 +5,0 @@

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