Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/generator

Package Overview
Dependencies
Maintainers
4
Versions
183
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.24.1 to 7.24.4

11

lib/generators/typescript.js

@@ -397,3 +397,4 @@ "use strict";

readonly,
typeParameter
typeParameter,
typeAnnotation
} = node;

@@ -424,6 +425,8 @@ this.tokenChar(123);

}
this.tokenChar(58);
if (typeAnnotation) {
this.tokenChar(58);
this.space();
this.print(typeAnnotation, node);
}
this.space();
this.print(node.typeAnnotation, node);
this.space();
this.tokenChar(125);

@@ -430,0 +433,0 @@ }

{
"name": "@babel/generator",
"version": "7.24.1",
"version": "7.24.4",
"description": "Turns an AST into code.",

@@ -28,4 +28,4 @@ "author": "The Babel Team (https://babel.dev/team)",

"devDependencies": {
"@babel/helper-fixtures": "^7.24.1",
"@babel/parser": "^7.24.1",
"@babel/helper-fixtures": "^7.24.4",
"@babel/parser": "^7.24.4",
"@jridgewell/sourcemap-codec": "^1.4.15",

@@ -32,0 +32,0 @@ "@types/jsesc": "^2.5.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