terser
Advanced tools
Comparing version 4.3.2 to 4.3.3
# 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 @@ |
{ | ||
"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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
1725652
7613
6