Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

random-access-storage

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

random-access-storage - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

.github/workflows/test-node.yml

11

index.js
var events = require('events')
var inherits = require('inherits')
var queueTick = require('queue-tick')

@@ -85,3 +86,3 @@ var NOT_READABLE = defaultImpl(new Error('Not readable'))

if (!cb) cb = noop
if (this.opened && !this._needsOpen) return process.nextTick(cb, null)
if (this.opened && !this._needsOpen) return queueTick(() => cb(null))
queueAndRun(this, new Request(this, OPEN_OP, 0, 0, null, cb))

@@ -95,3 +96,3 @@ }

if (!cb) cb = noop
if (this.closed) return process.nextTick(cb, null)
if (this.closed) return queueTick(() => cb(null))
queueAndRun(this, new Request(this, CLOSE_OP, 0, 0, null, cb))

@@ -270,7 +271,3 @@ }

function nextTick (req, err, val) {
process.nextTick(nextTickCallback, req, err, val)
queueTick(() => req.callback(err, val))
}
function nextTickCallback (req, err, val) {
req.callback(err, val)
}
{
"name": "random-access-storage",
"version": "1.4.1",
"version": "1.4.2",
"description": "Easily make random-access-storage instances",
"main": "index.js",
"dependencies": {
"inherits": "^2.0.3"
"inherits": "^2.0.3",
"queue-tick": "^1.0.0"
},

@@ -9,0 +10,0 @@ "devDependencies": {

@@ -9,4 +9,2 @@ # random-access-storage

[![build status](https://travis-ci.org/random-access-storage/random-access-storage.svg?branch=master)](https://travis-ci.org/random-access-storage/random-access-storage)
A random-access-storage instance is a common interface for a storage abstraction, that provides the following core api.

@@ -13,0 +11,0 @@

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