Socket
Socket
Sign inDemoInstall

copy-webpack-plugin

Package Overview
Dependencies
Maintainers
4
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copy-webpack-plugin - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

9

CHANGELOG.md

@@ -5,2 +5,11 @@ # Change Log

<a name="5.0.1"></a>
## [5.0.1](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.6.0...v5.0.1) (2019-03-11)
### Bug Fixes
* respect base of `glob` for context dependencies ([#352](https://github.com/webpack-contrib/copy-webpack-plugin/issues/352)) ([5b407f1](https://github.com/webpack-contrib/copy-webpack-plugin/commit/5b407f1))
<a name="5.0.0"></a>

@@ -7,0 +16,0 @@ # [5.0.0](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.6.0...v5.0.0) (2019-02-20)

4

dist/preProcessPattern.js

@@ -12,2 +12,4 @@ "use strict";

var _globParent = _interopRequireDefault(require("glob-parent"));
var _normalizePath = _interopRequireDefault(require("normalize-path"));

@@ -104,3 +106,3 @@

contextDependencies.add(pattern.context);
contextDependencies.add((0, _globParent.default)(pattern.absoluteFrom));
} else {

@@ -107,0 +109,0 @@ const newWarning = new Error(`unable to locate '${pattern.from}' at '${pattern.absoluteFrom}'`);

{
"name": "copy-webpack-plugin",
"version": "5.0.0",
"version": "5.0.1",
"description": "Copy files && directories with webpack",

@@ -46,2 +46,3 @@ "license": "MIT",

"globby": "^7.1.1",
"glob-parent": "^3.1.0",
"is-glob": "^4.0.0",

@@ -48,0 +49,0 @@ "loader-utils": "^1.1.0",

@@ -376,3 +376,3 @@ <div align="center">

| :---------------------------------: | :---------: | :------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------ |
| [`logLevel`](#logLevel) | `{String}` | **`'warning'`** | Level of messages that the module will log |
| [`logLevel`](#logLevel) | `{String}` | **`'warn'`** | Level of messages that the module will log |
| [`ignore`](#ignore) | `{Array}` | `[]` | Array of globs to ignore (applied to `from`) |

@@ -389,3 +389,3 @@ | [`context`](#context) | `{String}` | `compiler.options.context` | A path that determines how to interpret the `from` path, shared for all patterns |

- `info`
- `warn`
- `warn` (default)
- `error`

@@ -399,4 +399,2 @@ - `silent`

##### `'info'`
**webpack.config.js**

@@ -406,26 +404,6 @@

module.exports = {
plugins: [new CopyPlugin([...patterns], { debug: 'info' })],
plugins: [new CopyPlugin([...patterns], { logLevel: 'debug' })],
};
```
##### `'debug'`
**webpack.config.js**
```js
module.exports = {
plugins: [new CopyPlugin([...patterns], { debug: 'debug' })],
};
```
##### `'warning' (default)`
**webpack.config.js**
```js
module.exports = {
plugins: [new CopyPlugin([...patterns], { debug: true })],
};
```
#### `ignore`

@@ -432,0 +410,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