You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@babel/generator

Package Overview
Dependencies
Maintainers
4
Versions
209
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
8.0.0-beta.4
to
8.0.0-rc.1
+0
-25
lib/index.d.ts

@@ -72,14 +72,2 @@ import * as t from '@babel/types';

/**
* Set to true to run jsesc with "json": true to print "\u00A9" vs. "©";
* @deprecated use `jsescOptions: { json: true }` instead
*/
jsonCompatibleStrings?: boolean;
/**
* Set to true to enable support for experimental decorators syntax before
* module exports. If not specified, decorators will be printed in the same
* position as they were in the input source code.
* @deprecated Removed in Babel 8
*/
decoratorsBeforeExport?: boolean;
/**
* Options for outputting jsesc representation.

@@ -89,7 +77,2 @@ */

/**
* For use with the recordAndTuple token.
* @deprecated It will be removed in Babel 8.
*/
recordAndTupleSyntaxType?: "bar" | "hash";
/**
* For use with the Hack-style pipe operator.

@@ -99,10 +82,2 @@ * Changes what token is used for pipe bodies’ topic references.

topicToken?: "%" | "#" | "@@" | "^^" | "^";
/**
* The import attributes syntax style:
* - "with" : `import { a } from "b" with { type: "json" };`
* - "assert" : `import { a } from "b" assert { type: "json" };`
* - "with-legacy" : `import { a } from "b" with type: "json";`
* @deprecated Removed in Babel 8.
*/
importAttributesKeyword?: "with" | "assert" | "with-legacy";
}

@@ -109,0 +84,0 @@ interface GeneratorResult {

+6
-6
{
"name": "@babel/generator",
"version": "8.0.0-beta.4",
"version": "8.0.0-rc.1",
"description": "Turns an AST into code.",

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

"dependencies": {
"@babel/parser": "^8.0.0-beta.4",
"@babel/types": "^8.0.0-beta.4",
"@babel/parser": "^8.0.0-rc.1",
"@babel/types": "^8.0.0-rc.1",
"@jridgewell/gen-mapping": "^0.3.12",

@@ -31,5 +31,5 @@ "@jridgewell/trace-mapping": "^0.3.28",

"devDependencies": {
"@babel/core": "^8.0.0-beta.4",
"@babel/helper-fixtures": "^8.0.0-beta.4",
"@babel/plugin-transform-typescript": "^8.0.0-beta.4",
"@babel/core": "^8.0.0-rc.1",
"@babel/helper-fixtures": "^8.0.0-rc.1",
"@babel/plugin-transform-typescript": "^8.0.0-rc.1",
"@jridgewell/sourcemap-codec": "^1.5.3",

@@ -36,0 +36,0 @@ "charcodes": "^0.2.0"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display