Socket
Socket
Sign inDemoInstall

@babel/parser

Package Overview
Dependencies
Maintainers
4
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/parser - npm Package Compare versions

Comparing version 7.25.6 to 7.25.7

14

package.json
{
"name": "@babel/parser",
"version": "7.25.6",
"version": "7.25.7",
"description": "A JavaScript parser",

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

"dependencies": {
"@babel/types": "^7.25.6"
"@babel/types": "^7.25.7"
},
"devDependencies": {
"@babel/code-frame": "^7.24.7",
"@babel/helper-check-duplicate-nodes": "^7.24.7",
"@babel/helper-fixtures": "^7.24.8",
"@babel/helper-string-parser": "^7.24.8",
"@babel/helper-validator-identifier": "^7.24.7",
"@babel/code-frame": "^7.25.7",
"@babel/helper-check-duplicate-nodes": "^7.25.7",
"@babel/helper-fixtures": "^7.25.7",
"@babel/helper-string-parser": "^7.25.7",
"@babel/helper-validator-identifier": "^7.25.7",
"charcodes": "^0.2.0"

@@ -48,0 +48,0 @@ },

// This file is auto-generated! Do not modify it directly.
/* eslint-disable @typescript-eslint/consistent-type-imports, @typescript-eslint/no-redundant-type-constituents, prettier/prettier */
/* eslint-disable @typescript-eslint/consistent-type-imports, @typescript-eslint/no-redundant-type-constituents */
import * as _babel_types from '@babel/types';

@@ -16,3 +16,3 @@

| IF_BABEL_7<"classStaticBlock">
| "decimal"
| IF_BABEL_7<"decimal">
| "decorators-legacy"

@@ -34,5 +34,4 @@ | "deferredImportEvaluation"

| IF_BABEL_7<"logicalAssignment">
| "importAssertions" // deprecated
| "importAttributes"
| "importReflection"
| IF_BABEL_7<"importAssertions">
| IF_BABEL_7<"importReflection">
| "moduleBlocks"

@@ -74,3 +73,5 @@ | IF_BABEL_7<"moduleStringNames">

interface PipelineOperatorPluginOptions {
proposal: "minimal" | "fsharp" | "hack" | "smart";
proposal: BABEL_8_BREAKING extends false
? "minimal" | "fsharp" | "hack" | "smart"
: "fsharp" | "hack";
topicToken?: "%" | "#" | "@@" | "^^" | "^";

@@ -83,6 +84,10 @@ }

interface FlowPluginOptions {
all?: boolean;
enums?: boolean;
}
type FlowPluginOptions = BABEL_8_BREAKING extends true
? {
all?: boolean;
enums?: boolean;
}
: {
all?: boolean;
};

@@ -89,0 +94,0 @@ interface TypeScriptPluginOptions {

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

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