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

multiblob

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiblob - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

15

index.js

@@ -8,2 +8,3 @@ var cont = require('cont')

var mkdirp = require('mkdirp')
var rimraf = require('rimraf')
var fs = require('fs')

@@ -29,5 +30,5 @@ var glob = require('pull-glob')

var n = 0
var waiting = [], tmp = false
var waiting = [], tmp = false, clean = false
function mktmp (cb) {
function init (cb) {
if(tmp) return cb()

@@ -37,4 +38,8 @@ else waiting.push(cb)

mkdirp(path.join(dir, 'tmp'), function () {
tmp = true; while(waiting.length) waiting.shift()()
var tmpdir = path.join(dir, 'tmp')
rimraf(tmpdir, function () {
mkdirp(tmpdir, function () {
tmp = true; while(waiting.length) waiting.shift()()
})
})

@@ -119,3 +124,3 @@

mktmp(function () {
init(function () {
var tmpfile = path.join(dir, 'tmp', Date.now() + '-' + n++)

@@ -122,0 +127,0 @@ var hasher = createHash()

{
"name": "multiblob",
"description": "",
"version": "1.4.1",
"version": "1.4.2",
"homepage": "https://github.com/dominictarr/multiblob",

@@ -6,0 +6,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