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
53
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 4.0.1 to 4.0.2

9

lib/estree-to-babel.js

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

if (type === 'Literal')
return setLiteral(node);
setLiteral(node);

@@ -67,3 +67,8 @@ if (/Literal$/.test(type))

function setEsprimaRaw(node) {
node.raw = node.raw || node.extra?.raw;
const {raw} = node;
node.raw = raw || node.extra?.raw;
node.extra = node.extra || {
raw,
};
}
{
"name": "estree-to-babel",
"version": "4.0.1",
"version": "4.0.2",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

@@ -41,3 +41,3 @@ "description": "convert estree ast to babel",

"eslint-plugin-putout": "^8.0.1",
"espree": "^7.2.0",
"espree": "^8.0.0",
"estree-util-attach-comments": "^2.0.0",

@@ -44,0 +44,0 @@ "madrun": "^8.0.1",

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