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

gulp-clean

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-clean - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

index.js

@@ -14,3 +14,3 @@ 'use strict';

// Prevent mistakes with paths
if (starts.test(filepath) && filepath !== cwd || (options ? options.force : false)) {
if (starts.test(filepath) && filepath !== cwd || (options ? (options.force && typeof options.force === 'boolean') : false)) {
rimraf(filepath, function (error) {

@@ -17,0 +17,0 @@ if (!error) {

{
"name": "gulp-clean",
"version": "0.2.0",
"version": "0.2.1",
"description": "A gulp plugin for removing files and folders.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -45,2 +45,4 @@ # [gulp](https://github.com/wearefractal/gulp)-clean [![Build Status](https://secure.travis-ci.org/peter-vilja/gulp-clean.png?branch=master)](https://travis-ci.org/peter-vilja/gulp-clean) [![NPM version](https://badge.fury.io/js/gulp-clean.png)](http://badge.fury.io/js/gulp-clean)

* **0.2.1**
* Type check for force option's value
* **0.2.0**

@@ -47,0 +49,0 @@ * Support for option force, to allow removing files and folders outside the current working directory.

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