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 1.7.0 to 1.8.0

lib/set-class-private-method.js

4

lib/estree-to-babel.js

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

const setClassMethod = require('./set-class-method');
const setClassPrivateMethod = require('./set-class-private-method');
const setLiteral = require('./set-literal');

@@ -31,2 +32,5 @@

return setClassMethod(path);
if (type === 'ClassPrivateMethod')
return setClassPrivateMethod(path);
},

@@ -33,0 +37,0 @@ exit(path) {

5

lib/set-class-method.js
'use strict';
const {
classMethod,
classMethod
} = require('@babel/types');

@@ -32,4 +32,3 @@

node.static
)
);
));

@@ -36,0 +35,0 @@ assign(path.node, {

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

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

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

- `ClassMethod` instead of `MethodDefinition`;
- `ClassPrivateMethod`
- etc...

@@ -34,0 +35,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