fs-jetpack
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -0,1 +1,4 @@ | ||
# 2.1.1 (2018-09-19) | ||
- Rename file types.ts -> types.d.ts to fix https://github.com/szwacz/fs-jetpack/issues/72 | ||
# 2.1.0 (2018-07-26) | ||
@@ -2,0 +5,0 @@ - From now on the library ships with TypeScript type definitions. |
{ | ||
"name": "fs-jetpack", | ||
"description": "Better file system API", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"author": "Jakub Szwacz <jakub@szwacz.com>", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
@@ -74,3 +74,3 @@ fs-jetpack [![Build Status](https://travis-ci.org/szwacz/fs-jetpack.svg?branch=master)](https://travis-ci.org/szwacz/fs-jetpack) [![Build status](https://ci.appveyor.com/api/projects/status/er206e91fpuuqf58?svg=true)](https://ci.appveyor.com/project/szwacz/fs-jetpack) [![codecov](https://codecov.io/gh/szwacz/fs-jetpack/branch/master/graph/badge.svg)](https://codecov.io/gh/szwacz/fs-jetpack) | ||
// Import one of jetpack's interface to cast it on a variable declaration. | ||
// Import one of jetpack's interfaces to cast it on a variable declaration. | ||
import { InspectResult } from "fs-jetpack/types"; | ||
@@ -77,0 +77,0 @@ let result: InspectResult = jetpack.inspect("foo"); |
@@ -27,3 +27,10 @@ import * as os from "os"; | ||
process.chdir(originalCwd); | ||
fse.removeSync(path); | ||
try { | ||
fse.removeSync(path); | ||
} catch (err) { | ||
// On Windows platform sometimes removal of the directory leads to error: | ||
// Error: ENOTEMPTY: directory not empty, rmdir | ||
// Let's retry the attempt. | ||
fse.removeSync(path); | ||
} | ||
}; | ||
@@ -30,0 +37,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
271860
7944
1