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

build-dir

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

build-dir - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

8

index.js
'use strict';
const
branchName = require('branch-name'),
readPkgUp = require('read-pkg-up'),
path = require('path'),

@@ -10,2 +8,5 @@ os = require('os'),

fsAtomic = require('fs-atomic'),
branchName = require('branch-name'),
readPkgUp = require('read-pkg-up'),
del = require('del'),
buildRoot = 'build';

@@ -74,2 +75,5 @@

.then(() => {
return del(newPath);
})
.then(() => {
return new Promise((resolve) => {

@@ -76,0 +80,0 @@ fs.rename(tempPath, newPath, (err) => {

{
"name": "build-dir",
"version": "0.3.0",
"version": "0.3.1",
"description": "Get a place to put your build.",

@@ -28,2 +28,3 @@ "homepage": "https://github.com/sholladay/build-dir",

"branch-name": "0.1.3",
"del": "2.2.0",
"fs-atomic": "0.2.0",

@@ -30,0 +31,0 @@ "read-pkg-up": "1.0.1"

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