gulp-stacksvg 5.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +8 -0
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -6,6 +6,14 @@ import { parse } from "node-html-parser"
6
6
  import PluginError from "plugin-error"
7
7
  import Vinyl from "vinyl"
8
8
 
9
+ // TODO: Remove this when vinyl-fs removes the deprecated fs.Stats constructor.
10
+ process.emitWarning = (warning, type) => {
11
+ if (type === `DeprecationWarning` && warning === `fs.Stats constructor is deprecated.`) return
12
+
13
+ return process.emitWarning(warning, type)
14
+ }
15
+ // See: https://github.com/gulpjs/vinyl-fs/issues/356
16
+
9
17
  let excessAttrs = [
10
18
  `enable-background`,
11
19
  `height`,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gulp-stacksvg",
3
3
  "description": "The gulp plugin to combine svg files into one using the stack method.",
4
- "version": "5.0.0",
4
+ "version": "5.0.1",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Sergey Artemov",