Socket
Socket
Sign inDemoInstall

@babel/generator

Package Overview
Dependencies
Maintainers
5
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/generator - npm Package Compare versions

Comparing version 7.4.4 to 7.5.0

13

lib/generators/flow.js

@@ -495,3 +495,3 @@ "use strict";

iterator: () => {
if (props.length !== 1) {
if (props.length !== 1 || node.inexact) {
this.token(",");

@@ -505,2 +505,13 @@ this.space();

if (node.inexact) {
this.indent();
this.token("...");
if (props.length) {
this.newline();
}
this.dedent();
}
if (node.exact) {

@@ -507,0 +518,0 @@ this.token("|}");

8

package.json
{
"name": "@babel/generator",
"version": "7.4.4",
"version": "7.5.0",
"description": "Turns an AST into code.",

@@ -17,3 +17,3 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>",

"dependencies": {
"@babel/types": "^7.4.4",
"@babel/types": "^7.5.0",
"jsesc": "^2.5.1",

@@ -26,5 +26,5 @@ "lodash": "^4.17.11",

"@babel/helper-fixtures": "^7.4.4",
"@babel/parser": "^7.4.4"
"@babel/parser": "^7.5.0"
},
"gitHead": "2c88694388831b1e5b88e4bbed6781eb2be1edba"
"gitHead": "49da9a07c81156e997e60146eb001ea77b7044c4"
}
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