Socket
Socket
Sign inDemoInstall

memory-pager

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memory-pager - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

3

index.js

@@ -11,2 +11,3 @@ module.exports = Pager

this.deduplicate = opts ? opts.deduplicate : null
this.zeros = this.deduplicate ? alloc(this.deduplicate.length) : null
}

@@ -60,3 +61,3 @@

if (!buf) {
if (!buf || (this.zeros && buf.equals && buf.equals(this.zeros))) {
this.pages[i] = undefined

@@ -63,0 +64,0 @@ return

{
"name": "memory-pager",
"version": "1.3.1",
"version": "1.4.0",
"description": "Access memory using small fixed sized buffers",

@@ -5,0 +5,0 @@ "main": "index.js",

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