Socket
Socket
Sign inDemoInstall

fs-jetpack

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fs-jetpack - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

types.d.ts

3

CHANGELOG.md

@@ -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.

2

package.json
{
"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 @@

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