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

@bscotch/utility

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bscotch/utility - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

6

build/lib/files.js

@@ -78,3 +78,7 @@ "use strict";

function removeEmptyDirsSync(startDir) {
const folders = listFoldersSync(startDir, true);
const folders = [
startDir,
...listFoldersSync(startDir, true)
];
folders.reverse();
for (const folder of folders) {

@@ -81,0 +85,0 @@ try {

@@ -0,1 +1,10 @@

## [0.5.1](https://github.com/bscotch/node-util/compare/v0.5.0...v0.5.1) (2020-10-15)
### Bug Fixes
* Recursively removing empty directories now works. Previously it would remove *some* directories and never the root one. ([c3daaf0](https://github.com/bscotch/node-util/commit/c3daaf06330e0d9a7d2c1f61ad5adcbee846bdf0))
# [0.5.0](https://github.com/bscotch/node-util/compare/v0.4.0...v0.5.0) (2020-10-12)

@@ -2,0 +11,0 @@

4

package.json
{
"name": "@bscotch/utility",
"version": "0.5.0",
"version": "0.5.1",
"description": "Bscotch Utilities: Methods for common Node.js needs.",

@@ -42,2 +42,3 @@ "engines": {

"@types/chai": "^4.2.12",
"@types/fs-extra": "^9.0.2",
"@types/mocha": "^8.0.3",

@@ -50,2 +51,3 @@ "@types/node": "^14.6.4",

"eslint": "^7.8.1",
"fs-extra": "^9.0.1",
"mocha": "^8.1.3",

@@ -52,0 +54,0 @@ "source-map-support": "^0.5.19",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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