es3-safe-recast
Advanced tools
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() { | ||
}); |
4064
105