copy-webpack-plugin
Advanced tools
Comparing version 4.5.2 to 4.5.3
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="4.5.3"></a> | ||
## [4.5.3](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.5.2...v4.5.3) (2018-10-10) | ||
### Bug Fixes | ||
* **processPattern:** add `glob` directory context to `contextDependencies` ([#290](https://github.com/webpack-contrib/copy-webpack-plugin/issues/290)) ([5fa69db](https://github.com/webpack-contrib/copy-webpack-plugin/commit/5fa69db)) | ||
<a name="4.5.2"></a> | ||
@@ -7,0 +17,0 @@ ## [4.5.2](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.5.1...v4.5.2) (2018-06-26) |
@@ -38,3 +38,4 @@ 'use strict'; | ||
output = globalRef.output, | ||
concurrency = globalRef.concurrency; | ||
concurrency = globalRef.concurrency, | ||
contextDependencies = globalRef.contextDependencies; | ||
@@ -65,2 +66,9 @@ var globArgs = Object.assign({ | ||
// This is so webpack is able to watch the directory and when | ||
// a new file is added it triggeres a rebuild | ||
var contextPath = _path2.default.dirname(_path2.default.resolve(from)); | ||
if (contextDependencies.indexOf(contextPath) === -1) { | ||
contextDependencies.push(contextPath); | ||
} | ||
debug('found ' + from); | ||
@@ -67,0 +75,0 @@ |
{ | ||
"name": "copy-webpack-plugin", | ||
"version": "4.5.2", | ||
"version": "4.5.3", | ||
"description": "Copy files && directories with webpack", | ||
@@ -5,0 +5,0 @@ "author": "Len Boyette", |
@@ -338,3 +338,3 @@ [![npm][npm]][npm-url] | ||
[ ...patterns ], | ||
{ context: [ '/app' ] } | ||
{ context: '/app' } | ||
) | ||
@@ -341,0 +341,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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
47460
11
566