js-interpreter
Advanced tools
Comparing version 2.2.0 to 2.3.0
@@ -11,2 +11,35 @@ # Changelog | ||
## [2.3.0] - 2021-04-06 | ||
Commit: [cb740ed](https://github.com/NeilFraser/JS-Interpreter/tree/cb740ed) | ||
### Added | ||
- Add timeout for executing polyfills. | ||
- Add .name property to functions | ||
- Add placeholder getter/setter functions on props | ||
- Add announcement newsgroup address | ||
- Use polyfills for Array functions. | ||
- Support ‘null’ for ‘this’ value in strict mode. | ||
### Fixed | ||
- Use Object.defineProperty instead of assignment. | ||
- Fix attributes on Function.prototype | ||
- ‘typeof Function.prototype’ was reporting ‘object’, should be a ‘function’ | ||
- Handle ‘new’ calls on primitives. | ||
- Catch calling date function on non-dates | ||
- Catch invalid arguments on string’s localeCompare | ||
- Called function should determine strict mode | ||
### Removed | ||
- Remove enumerability from most global properties. | ||
### Changes | ||
- New version of acorn | ||
- In non-strict mode `this` needs to be boxed when calling a function. | ||
- ‘window’ and ‘self’ are the only two enumerable properties on the global object. | ||
## [2.2.0] - 2020-02-18 | ||
@@ -13,0 +46,0 @@ |
{ | ||
"name": "js-interpreter", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "NPM package for https://github.com/NeilFraser/JS-Interpreter", | ||
@@ -9,3 +9,3 @@ "main": "lib/js-interpreter.min.js", | ||
"files": [ | ||
"lib" | ||
"lib" | ||
], | ||
@@ -12,0 +12,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
6
2
849177
10
12542