New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

es3-safe-recast

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es3-safe-recast - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

10

index.js

@@ -9,5 +9,9 @@ var recast = require('recast');

var identifierToLiteral = {
"finally": true,
"catch": true,
"default": true
finally: true,
catch: true,
default: true,
new: true,
throw: true,
return: true,
import: true
};

@@ -14,0 +18,0 @@

{
"name": "es3-safe-recast",
"version": "0.0.3",
"version": "0.0.4",
"description": "esprima/recast es3 safe compile step",

@@ -5,0 +5,0 @@ "main": "index.js",

var object = {
finally: null,
catch: null,
default: null
catch: null,
default: null,
new: null,
throw: null,
return: null,
import: null
};
var object = {
"finally": null,
"catch": null,
"default": null
"catch": null,
"default": null,
"new": null,
"throw": null,
"return": null,
"import": null
};

@@ -5,6 +5,12 @@ object.finally(function(){

throw reason;
}).catch(function(reason) {
throw reason;
}).default(function(){
}).new(function(){
}).throw(function() {
}).return(function() {
}).import(function() {
});
object["finally"](function(){
})["catch"](function(reason){
})["catch"](function(reason) {
throw reason;
})["catch"](function(reason){
throw reason;
})["default"](function(){
})["new"](function(){
})["throw"](function() {
})["return"](function() {
})["import"](function() {
});
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