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

estree-to-babel

Package Overview
Dependencies
Maintainers
1
Versions
58
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.2.0 to 4.3.0

lib/convert-import-declaration.js

4

lib/estree-to-babel.js

@@ -12,2 +12,3 @@ 'use strict';

const convertChainExpression = require('./convert-chain-expression');
const convertImportDeclaration = require('./convert-import-declaration');

@@ -48,2 +49,5 @@ const {convertNodeComments} = require('./comments');

if (type === 'ImportDeclaration')
return convertImportDeclaration(path);
if (type === 'ChainExpression') {

@@ -50,0 +54,0 @@ return convertChainExpression(path);

12

package.json
{
"name": "estree-to-babel",
"version": "4.2.0",
"version": "4.3.0",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

@@ -38,11 +38,11 @@ "description": "convert estree ast to babel",

"coveralls": "^3.0.0",
"eslint": "^7.6.0",
"eslint": "^8.0.0-beta.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-putout": "^8.0.1",
"espree": "^8.0.0",
"eslint-plugin-putout": "^10.3.0",
"espree": "^9.0.0",
"estree-util-attach-comments": "^2.0.0",
"madrun": "^8.0.1",
"nodemon": "^2.0.2",
"putout": "^18.0.0",
"supertape": "^5.0.0"
"putout": "^20.6.0",
"supertape": "^6.0.5"
},

@@ -49,0 +49,0 @@ "license": "MIT",

@@ -40,2 +40,3 @@ # Estree-to-babel [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]

- `OptionalMemberExpression` and `OptionalCallExpression` instead of `ChainExpression`;
- `ImportDeclaration` has `assertions`;
- etc...

@@ -42,0 +43,0 @@

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