Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/helper-compilation-targets

Package Overview
Dependencies
Maintainers
6
Versions
73
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.15.0 to 7.15.4

7

lib/index.js

@@ -167,5 +167,6 @@ "use strict";

function resolveTargets(queries) {
function resolveTargets(queries, env) {
const resolved = _browserslist(queries, {
mobileToDesktop: true
mobileToDesktop: true,
env
});

@@ -213,3 +214,3 @@

if (browsers) {
const queryBrowsers = resolveTargets(browsers);
const queryBrowsers = resolveTargets(browsers, options.browserslistEnv);

@@ -216,0 +217,0 @@ if (esmodules === "intersect") {

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

@@ -33,3 +33,3 @@ "license": "MIT",

"devDependencies": {
"@babel/core": "7.15.0",
"@babel/core": "7.15.4",
"@babel/helper-plugin-test-runner": "7.14.5",

@@ -36,0 +36,0 @@ "@types/semver": "^5.5.0"

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