Socket
Socket
Sign inDemoInstall

uglify-js

Package Overview
Dependencies
0
Maintainers
3
Versions
283
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.14.2 to 3.14.3

2

lib/utils.js

@@ -146,3 +146,3 @@ /***********************************************************************

function string_template(text, props) {
return text.replace(/\{([^}]+)\}/g, function(str, p) {
return text.replace(/\{([^{}]+)\}/g, function(str, p) {
var value = props[p];

@@ -149,0 +149,0 @@ return value instanceof AST_Node ? value.print_to_string() : value;

@@ -6,3 +6,3 @@ {

"license": "BSD-2-Clause",
"version": "3.14.2",
"version": "3.14.3",
"engines": {

@@ -9,0 +9,0 @@ "node": ">=0.8.0"

@@ -1202,2 +1202,13 @@ UglifyJS 3

`Object.preventExtensions()` or `Object.seal()`).
- If array destructuring is present, index-like properties in `Array.prototype`
have not been overridden:
```javascript
Object.prototype[0] = 42;
var [ a ] = [];
var { 0: b } = {};
// 42 undefined
console.log([][0], a);
// 42 42
console.log({}[0], b);
```
- Earlier versions of JavaScript will throw `SyntaxError` with the following:

@@ -1204,0 +1215,0 @@ ```javascript

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

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc