Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

estree-to-babel

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

estree-to-babel - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

52

lib/get-ast.js

@@ -19,3 +19,3 @@ 'use strict';

if (interpreter)
tokens.unshift(getShebangToken(interpreter.value))
tokens.unshift(getShebangToken(interpreter.value));

@@ -51,29 +51,29 @@ const ast = {

return {
"type": {
"label": "#!...",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": value,
"start": 0,
"end": 19,
"loc": {
"start": {
"line": 1,
"column": 0
type: {
label: '#!...',
beforeExpr: false,
startsExpr: false,
rightAssociative: false,
isLoop: false,
isAssign: false,
prefix: false,
postfix: false,
binop: null,
updateContext: null,
},
"end": {
"line": 1,
"column": 19
}
}
value,
start: 0,
end: 19,
loc: {
start: {
line: 1,
column: 0,
},
end: {
line: 1,
column: 19,
},
},
};
}
}
{
"name": "estree-to-babel",
"version": "2.0.3",
"version": "2.0.4",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

@@ -5,0 +5,0 @@ "description": "convert estree ast to babel",

Sorry, the diff of this file is not supported yet

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