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

mmdb-lib

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mmdb-lib - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

lib/decoder.js

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

decodeString(offset, size) {
return this.db.toString('utf8', offset, offset + size);
return this.db.slice(offset, offset + size).toString();
}

@@ -242,0 +242,0 @@ decodeBigUint(offset, size) {

{
"name": "mmdb-lib",
"version": "2.0.1",
"version": "2.0.2",
"homepage": "https://github.com/runk/mmdb-lib",

@@ -15,3 +15,4 @@ "description": "Maxmind DB (MMDB) Library",

"contributors": [
"William Storey @horgh"
"William Storey @horgh",
"Uman Shahzad @UmanShahzad"
],

@@ -32,2 +33,3 @@ "devDependencies": {

"ts-jest": "^27.1.2",
"ts-node": "^10.4.0",
"typescript": "4.5.4"

@@ -58,3 +60,3 @@ },

"test": "jest",
"test-imports": "node test/imports/commonjs.js && node test/imports/esm.mjs",
"test-imports": "node test/imports/commonjs.js && node test/imports/esm.mjs && ts-node test/imports/typescript.ts",
"format": "prettier --write src",

@@ -61,0 +63,0 @@ "prepublish": "npm run build",

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