Comparing version 5.34.1 to 5.35.0
# Changelog | ||
## v5.35.0 | ||
- Ensure parent directory exists when using --output on CLI (#1530) | ||
## v5.34.1 | ||
@@ -4,0 +8,0 @@ |
@@ -310,2 +310,3 @@ import { minify, _default_options } from "../main.js"; | ||
} else if (program.output) { | ||
fs.mkdirSync(path.dirname(program.output), { recursive: true }); | ||
fs.writeFileSync(program.output, result.code); | ||
@@ -312,0 +313,0 @@ if (options.sourceMap && options.sourceMap.url !== "inline" && result.map) { |
@@ -7,3 +7,3 @@ { | ||
"license": "BSD-2-Clause", | ||
"version": "5.34.1", | ||
"version": "5.35.0", | ||
"engines": { | ||
@@ -10,0 +10,0 @@ "node": ">=10" |
@@ -975,3 +975,3 @@ <h1><img src="https://terser.org/img/terser-banner-logo.png" alt="Terser" width="400"></h1> | ||
- `nth_identifer` (default: an internal mangler that weights based on character | ||
- `nth_identifier` (default: an internal mangler that weights based on character | ||
frequency analysis) -- Pass an object with a `get(n)` function that converts an | ||
@@ -978,0 +978,0 @@ ordinal into the nth most favored (usually shortest) identifier. |
Sorry, the diff of this file is too big to display
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
2202216
62885