oslllo-svg-fixer 3.0.0 → 4.0.0

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,23 @@ 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.0](https://github.com/oslllo/svg-fixer/compare/v3.0.0...v4.0.0) (2024-03-26)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * node version ([8a45ad0](https://github.com/oslllo/svg-fixer/commit/8a45ad02df73759d99ef58a467edaf6697415292))
14
+ * 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))
15
+
8
16
  ## [3.0.0](https://github.com/oslllo/svg-fixer/compare/v2.2.0...v3.0.0) (2023-09-16)
9
17
 
18
+ ⚠️ Contains breaking changes.
19
+
20
+ ### Breaking Changes
21
+
22
+ * Dropped support for node `<16.0.0`
23
+ * This version will not work with `<16.0.0`
24
+
10
25
  ### Features
11
26
 
12
27
  * 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.0",
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
  },