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

@babel/parser

Package Overview
Dependencies
Maintainers
4
Versions
241
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
8.0.0-alpha.17
to
8.0.0-beta.0
+1
-1
bin/babel-parser.js
#!/usr/bin/env node
/* eslint no-var: 0 */
/* eslint-disable no-var, unicorn/prefer-node-protocol */

@@ -4,0 +4,0 @@ var parser = require("..");

{
"name": "@babel/parser",
"version": "8.0.0-alpha.17",
"version": "8.0.0-beta.0",
"description": "A JavaScript parser",

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

"engines": {
"node": "^18.20.0 || ^20.17.0 || >=22.8.0"
"node": "^20.19.0 || >=22.12.0"
},
"# dependencies": "This package doesn't actually have runtime dependencies. @babel/types is only needed for type definitions.",
"dependencies": {
"@babel/types": "^8.0.0-alpha.17"
"@babel/types": "^8.0.0-beta.0"
},
"devDependencies": {
"@babel/code-frame": "^8.0.0-alpha.17",
"@babel/helper-check-duplicate-nodes": "^8.0.0-alpha.17",
"@babel/helper-fixtures": "^8.0.0-alpha.17",
"@babel/helper-string-parser": "^8.0.0-alpha.17",
"@babel/helper-validator-identifier": "^8.0.0-alpha.17",
"@babel/code-frame": "^8.0.0-beta.0",
"@babel/helper-check-duplicate-nodes": "^8.0.0-beta.0",
"@babel/helper-fixtures": "^8.0.0-beta.0",
"@babel/helper-string-parser": "^8.0.0-beta.0",
"@babel/helper-validator-identifier": "^8.0.0-beta.0",
"charcodes": "^0.2.0"
},
"bin": "./bin/babel-parser.js",
"type": "module",
"exports": {
".": {
"require": "./lib/index.cjs",
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./package.json": "./package.json"
},
"type": "module"
}
}

@@ -128,2 +128,7 @@ // This file is auto-generated! Do not modify it directly.

/**
* By default, yield use is not allowed outside of a generator function.
* Set this to true to accept such code.
*/
allowYieldOutsideFunction?: boolean;
/**
* By default, Babel parser JavaScript code according to Annex B syntax.

@@ -130,0 +135,0 @@ * Set this to `false` to disable such behavior.

try {
module.exports = require("./lib/index.cjs");
} catch {
module.exports = require("./lib/index.js");
}

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

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

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

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