Socket
Socket
Sign inDemoInstall

@babel/preset-env

Package Overview
Dependencies
Maintainers
4
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/preset-env - npm Package Compare versions

Comparing version 7.24.7 to 7.24.8

2

lib/index.js

@@ -63,3 +63,3 @@ "use strict";

return opts.reduce((result, opt) => {
const target = opt.match(/^(es|es6|es7|esnext|web)\./) ? "builtIns" : "plugins";
const target = /^(es|es6|es7|esnext|web)\./.exec(opt) ? "builtIns" : "plugins";
result[target].add(opt);

@@ -66,0 +66,0 @@ return result;

@@ -47,3 +47,3 @@ "use strict";

re = new RegExp(`^${normalizePluginName(filter)}$`);
} catch (e) {
} catch (_) {
invalidFilters.push(filter);

@@ -66,3 +66,3 @@ return [];

const checkDuplicateIncludeExcludes = (include = [], exclude = []) => {
const duplicates = include.filter(opt => exclude.indexOf(opt) >= 0);
const duplicates = include.filter(opt => exclude.includes(opt));
v.invariant(duplicates.length === 0, `The plugins/built-ins '${duplicates.join(", ")}' were found in both the "include" and

@@ -69,0 +69,0 @@ "exclude" options.`);

{
"name": "@babel/preset-env",
"version": "7.24.7",
"version": "7.24.8",
"description": "A Babel preset for each environment.",

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

"dependencies": {
"@babel/compat-data": "^7.24.7",
"@babel/helper-compilation-targets": "^7.24.7",
"@babel/helper-plugin-utils": "^7.24.7",
"@babel/helper-validator-option": "^7.24.7",
"@babel/compat-data": "^7.24.8",
"@babel/helper-compilation-targets": "^7.24.8",
"@babel/helper-plugin-utils": "^7.24.8",
"@babel/helper-validator-option": "^7.24.8",
"@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.24.7",

@@ -54,5 +54,5 @@ "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.24.7",

"@babel/plugin-transform-class-static-block": "^7.24.7",
"@babel/plugin-transform-classes": "^7.24.7",
"@babel/plugin-transform-classes": "^7.24.8",
"@babel/plugin-transform-computed-properties": "^7.24.7",
"@babel/plugin-transform-destructuring": "^7.24.7",
"@babel/plugin-transform-destructuring": "^7.24.8",
"@babel/plugin-transform-dotall-regex": "^7.24.7",

@@ -70,3 +70,3 @@ "@babel/plugin-transform-duplicate-keys": "^7.24.7",

"@babel/plugin-transform-modules-amd": "^7.24.7",
"@babel/plugin-transform-modules-commonjs": "^7.24.7",
"@babel/plugin-transform-modules-commonjs": "^7.24.8",
"@babel/plugin-transform-modules-systemjs": "^7.24.7",

@@ -81,3 +81,3 @@ "@babel/plugin-transform-modules-umd": "^7.24.7",

"@babel/plugin-transform-optional-catch-binding": "^7.24.7",
"@babel/plugin-transform-optional-chaining": "^7.24.7",
"@babel/plugin-transform-optional-chaining": "^7.24.8",
"@babel/plugin-transform-parameters": "^7.24.7",

@@ -93,3 +93,3 @@ "@babel/plugin-transform-private-methods": "^7.24.7",

"@babel/plugin-transform-template-literals": "^7.24.7",
"@babel/plugin-transform-typeof-symbol": "^7.24.7",
"@babel/plugin-transform-typeof-symbol": "^7.24.8",
"@babel/plugin-transform-unicode-escapes": "^7.24.7",

@@ -103,3 +103,3 @@ "@babel/plugin-transform-unicode-property-regex": "^7.24.7",

"babel-plugin-polyfill-regenerator": "^0.6.1",
"core-js-compat": "^3.31.0",
"core-js-compat": "^3.37.1",
"semver": "^6.3.1"

@@ -111,6 +111,6 @@ },

"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/core": "^7.24.8",
"@babel/core-7.12": "npm:@babel/core@7.12.9",
"@babel/helper-plugin-test-runner": "^7.24.7",
"@babel/traverse": "^7.24.7"
"@babel/traverse": "^7.24.8"
},

@@ -117,0 +117,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc