@babel/parser
Advanced tools
| #!/usr/bin/env node | ||
| /* eslint no-var: 0 */ | ||
| /* eslint-disable no-var, unicorn/prefer-node-protocol */ | ||
@@ -4,0 +4,0 @@ var parser = require(".."); |
+11
-11
| { | ||
| "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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
15
-11.76%1994387
-18.32%9
-18.18%16301
-45.68%Updated