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

madrun.js

14

lib/traverse-object-expression.js

@@ -23,3 +23,8 @@ 'use strict';

assign(propPath.node, value, {
assign(propPath.node, {
id: null,
method: true,
generator: value.generator,
loc: getObjectMethodLoc(key, value),
async: value.async,
type: 'ObjectMethod'

@@ -31,1 +36,8 @@ });

function getObjectMethodLoc(key, value) {
return {
start: key.loc.start,
end: value.loc.end,
};
}

6

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

@@ -39,6 +39,6 @@ "description": "convert estree ast to babel",

"espree": "^5.0.0",
"madrun": "^1.0.1",
"madrun": "^2.0.1",
"nodemon": "^1.14.12",
"nyc": "^13.0.1",
"putout": "^3.0.0",
"putout": "^4.0.1",
"supertape": "^1.0.3"

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