You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

webpack-cleanup-plugin

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-cleanup-plugin - npm Package Compare versions

Comparing version

to
0.4.2

4

CHANGELOG.md
# Changelog
## [v0.4.2](https://github.com/gpbl/webpack-cleanup-plugin/tree/v0.4.2) (2017-02-10)
* Fixed an issue with Windows ([#25](https://github.com/gpbl/webpack-cleanup-plugin/pull/25) by [foxbunny](https://github.com/foxbunny)).
## [v0.4.1](https://github.com/gpbl/webpack-cleanup-plugin/tree/v0.4.1) (2016-10-13)

@@ -4,0 +8,0 @@

7

lib/getFiles.js

@@ -25,4 +25,5 @@ 'use strict';

var files = (0, _recursiveReaddirSync2.default)(fromPath).map(function (p) {
return p.substr(fromPath.length + 1);
var npath = _path2.default.normalize(fromPath);
var files = (0, _recursiveReaddirSync2.default)(npath).map(function (p) {
return p.substr(npath.length + 1);
}) // get files relative to fromPath

@@ -34,3 +35,3 @@ .filter(function (file) {

}).map(function (file) {
return fromPath + '/' + file;
return _path2.default.join(npath, file);
});

@@ -37,0 +38,0 @@ return files;

{
"name": "webpack-cleanup-plugin",
"version": "0.4.1",
"version": "0.4.2",
"description": "Plugin for webpack to cleanup extraneous files from the output path directory",

@@ -31,19 +31,19 @@ "main": "./lib/WebpackCleanupPlugin.js",

"devDependencies": {
"babel-cli": "6.16.0",
"babel-core": "6.17.0",
"babel-eslint": "7.0.0",
"babel-preset-es2015": "6.16.0",
"babel-preset-stage-1": "6.16.0",
"babel-cli": "^6.22.2",
"babel-core": "^6.22.1",
"babel-eslint": "^7.1.1",
"babel-preset-es2015": "^6.22.0",
"babel-preset-stage-1": "^6.22.0",
"chai": "3.5.0",
"eslint": "3.7.1",
"eslint-config-airbnb": "12.0.0",
"eslint": "^3.15.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-config-gpbl": "1.0.2",
"eslint-plugin-import": "2.0.1",
"eslint-plugin-jsx-a11y": "2.2.3",
"eslint-plugin-react": "6.4.1",
"mocha": "3.1.2",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.9.0",
"mocha": "^3.2.0",
"rimraf": "2.5.4",
"sinon": "1.17.6",
"sinon": "^1.17.7",
"sinon-chai": "2.8.0",
"webpack": "1.13.2"
"webpack": "^2.2.1"
},

@@ -50,0 +50,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet