Socket
Socket
Sign inDemoInstall

@babel/helper-compilation-targets

Package Overview
Dependencies
Maintainers
4
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-compilation-targets - npm Package Compare versions

Comparing version 7.25.2 to 7.25.7

tsconfig.json

17

lib/index.js

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

const {
configPath = "."
configPath = ".",
onBrowserslistConfigFound
} = options;

@@ -172,7 +173,11 @@ validateBrowsers(browsers);

if (!browsers && shouldSearchForConfig) {
browsers = _browserslist.loadConfig({
config: options.configFile,
path: configPath,
env: options.browserslistEnv
});
var _options$configFile;
const configFile = (_options$configFile = options.configFile) != null ? _options$configFile : _browserslist.findConfigFile(configPath);
if (configFile != null) {
onBrowserslistConfigFound == null || onBrowserslistConfigFound(configFile);
browsers = _browserslist.loadConfig({
config: configFile,
env: options.browserslistEnv
});
}
if (browsers == null) {

@@ -179,0 +184,0 @@ {

{
"name": "@babel/helper-compilation-targets",
"version": "7.25.2",
"version": "7.25.7",
"author": "The Babel Team (https://babel.dev/team)",

@@ -28,5 +28,5 @@ "license": "MIT",

"dependencies": {
"@babel/compat-data": "^7.25.2",
"@babel/helper-validator-option": "^7.24.8",
"browserslist": "^4.23.1",
"@babel/compat-data": "^7.25.7",
"@babel/helper-validator-option": "^7.25.7",
"browserslist": "^4.24.0",
"lru-cache": "^5.1.1",

@@ -36,3 +36,3 @@ "semver": "^6.3.1"

"devDependencies": {
"@babel/helper-plugin-test-runner": "^7.24.7",
"@babel/helper-plugin-test-runner": "^7.25.7",
"@types/lru-cache": "^5.1.1",

@@ -39,0 +39,0 @@ "@types/semver": "^5.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