Socket
Socket
Sign inDemoInstall

terser

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terser - npm Package Compare versions

Comparing version 5.34.1 to 5.35.0

4

CHANGELOG.md
# 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) {

2

package.json

@@ -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

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