oslllo-svg-fixer 3.0.0 → 4.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.
package/CHANGELOG.md CHANGED
@@ -5,8 +5,32 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [4.0.1](https://github.com/oslllo/svg-fixer/compare/v4.0.0...v4.0.1) (2024-03-27)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * security vulnerabilities ([81cc6ac](https://github.com/oslllo/svg-fixer/commit/81cc6ac7e1ba5a446aad6c4206872ee6c3ca8e8b))
14
+
15
+ ## [4.0.0](https://github.com/oslllo/svg-fixer/compare/v3.0.0...v4.0.0) (2024-03-26)
16
+
17
+ ### Breaking
18
+ * drop support for node 16
19
+
20
+ ### Bug Fixes
21
+
22
+ * node version ([8a45ad0](https://github.com/oslllo/svg-fixer/commit/8a45ad02df73759d99ef58a467edaf6697415292))
23
+ * Process never ends on error when use promise [#98](https://github.com/oslllo/svg-fixer/issues/98) ([9cacc5c](https://github.com/oslllo/svg-fixer/commit/9cacc5c08016a4882a745009221ae51f55769d0c))
24
+
8
25
  ## [3.0.0](https://github.com/oslllo/svg-fixer/compare/v2.2.0...v3.0.0) (2023-09-16)
9
26
 
27
+ ⚠️ Contains breaking changes.
28
+
29
+ ### Breaking Changes
30
+
31
+ * Dropped support for node `<16.0.0`
32
+ * This version will not work with `<16.0.0`
33
+
10
34
  ### Features
11
35
 
12
36
  * Made the tool 11x faster thanks to @ericfennis, see [#89](https://github.com/oslllo/svg-fixer/pull/89)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oslllo-svg-fixer",
3
- "version": "3.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Converts SVG Strokes To Fill.",
5
5
  "bin": "src/cli.js",
6
6
  "main": "src/index.js",
@@ -66,6 +66,6 @@
66
66
  "stopwatch-node": "^1.1.0"
67
67
  },
68
68
  "engines": {
69
- "node": ">=16.0.0"
69
+ "node": ">=18.0.0"
70
70
  }
71
71
  }
package/src/processor.js CHANGED
@@ -58,6 +58,7 @@ Processor.prototype = {
58
58
  resolve(this.fixer);
59
59
  } catch (err) {
60
60
  reject(err);
61
+ this.teardown();
61
62
  }
62
63
  });
63
64
  },