Socket
Socket
Sign inDemoInstall

terser

Package Overview
Dependencies
3
Maintainers
1
Versions
171
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.3.2 to 4.3.3

13

CHANGELOG.md
# Changelog
## v4.3.3
- Fixed a problem where parsing template strings would mix up octal notation and a slash followed by a zero representing a null character.
- Started accepting the name `async` in destructuring arguments with default value.
- Now Terser takes into account side effects inside class `extends` clauses.
- Added parens whenever there's a comment between a return statement and the returned value, to prevent issues with ASI.
- Stopped using raw RegExp objects, since the spec is going to continue to evolve. This ensures Terser is able to process new, unknown RegExp flags and features. This is a breaking change in the AST node AST_RegExp.
## v4.3.2
- Typescript typing fix
- Ensure that functions can't be inlined, by reduce_vars, into places where they're accessing variables with the same name, but from somewhere else.
## v4.3.1

@@ -4,0 +17,0 @@

6

package.json
{
"name": "terser",
"description": "JavaScript parser, mangler/compressor and beautifier toolkit for ES6+",
"homepage": "https://github.com/terser/terser",
"homepage": "https://terser.org",
"author": "Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)",
"license": "BSD-2-Clause",
"version": "4.3.2",
"version": "4.3.3",
"engines": {

@@ -14,3 +14,3 @@ "node": ">=6.0.0"

],
"repository": "https://github.com/fabiosantoscode/terser.git",
"repository": "https://github.com/terser/terser",
"main": "dist/bundle.min.js",

@@ -17,0 +17,0 @@ "types": "tools/terser.d.ts",

@@ -732,3 +732,6 @@ /// <reference lib="es2015" />

constructor(props?: object);
value: RegExp;
value: {
source: string,
flags: string
};
}

@@ -735,0 +738,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc