You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@babel/preset-env

Package Overview
Dependencies
Maintainers
6
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.15.0 to 7.15.4

6

lib/available-plugins.js

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

"syntax-class-properties": () => _pluginSyntaxClassProperties,
"syntax-class-static-block": () => _pluginSyntaxClassStaticBlock.default,
"syntax-class-static-block": () => _pluginSyntaxClassStaticBlock,
"syntax-dynamic-import": () => _pluginSyntaxDynamicImport,

@@ -180,4 +180,4 @@ "syntax-export-namespace-from": () => _pluginSyntaxExportNamespaceFrom,

"syntax-optional-chaining": () => _pluginSyntaxOptionalChaining,
"syntax-private-property-in-object": () => _pluginSyntaxPrivatePropertyInObject.default,
"syntax-top-level-await": () => _pluginSyntaxTopLevelAwait.default,
"syntax-private-property-in-object": () => _pluginSyntaxPrivatePropertyInObject,
"syntax-top-level-await": () => _pluginSyntaxTopLevelAwait,
"transform-arrow-functions": () => _pluginTransformArrowFunctions.default,

@@ -184,0 +184,0 @@ "transform-async-to-generator": () => _pluginTransformAsyncToGenerator.default,

@@ -10,4 +10,2 @@ "use strict";

var t = require("@babel/types");
const BABEL_POLYFILL_DEPRECATION = `

@@ -14,0 +12,0 @@ \`@babel/polyfill\` is deprecated. Please, use required parts of \`core-js\`

@@ -10,4 +10,11 @@ "use strict";

var t = require("@babel/types");
var _t = require("@babel/types");
const {
isCallExpression,
isExpressionStatement,
isIdentifier,
isStringLiteral
} = _t;
function getImportSource({

@@ -22,3 +29,3 @@ node

}) {
if (!t.isExpressionStatement(node)) return;
if (!isExpressionStatement(node)) return;
const {

@@ -28,3 +35,3 @@ expression

if (t.isCallExpression(expression) && t.isIdentifier(expression.callee) && expression.callee.name === "require" && expression.arguments.length === 1 && t.isStringLiteral(expression.arguments[0])) {
if (isCallExpression(expression) && isIdentifier(expression.callee) && expression.callee.name === "require" && expression.arguments.length === 1 && isStringLiteral(expression.arguments[0])) {
return expression.arguments[0].value;

@@ -31,0 +38,0 @@ }

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

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

"@babel/compat-data": "^7.15.0",
"@babel/helper-compilation-targets": "^7.15.0",
"@babel/helper-compilation-targets": "^7.15.4",
"@babel/helper-plugin-utils": "^7.14.5",
"@babel/helper-validator-option": "^7.14.5",
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.14.5",
"@babel/plugin-proposal-async-generator-functions": "^7.14.9",
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.15.4",
"@babel/plugin-proposal-async-generator-functions": "^7.15.4",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-class-static-block": "^7.14.5",
"@babel/plugin-proposal-class-static-block": "^7.15.4",
"@babel/plugin-proposal-dynamic-import": "^7.14.5",

@@ -38,3 +38,3 @@ "@babel/plugin-proposal-export-namespace-from": "^7.14.5",

"@babel/plugin-proposal-private-methods": "^7.14.5",
"@babel/plugin-proposal-private-property-in-object": "^7.14.5",
"@babel/plugin-proposal-private-property-in-object": "^7.15.4",
"@babel/plugin-proposal-unicode-property-regex": "^7.14.5",

@@ -58,4 +58,4 @@ "@babel/plugin-syntax-async-generators": "^7.8.4",

"@babel/plugin-transform-block-scoped-functions": "^7.14.5",
"@babel/plugin-transform-block-scoping": "^7.14.5",
"@babel/plugin-transform-classes": "^7.14.9",
"@babel/plugin-transform-block-scoping": "^7.15.3",
"@babel/plugin-transform-classes": "^7.15.4",
"@babel/plugin-transform-computed-properties": "^7.14.5",

@@ -66,3 +66,3 @@ "@babel/plugin-transform-destructuring": "^7.14.7",

"@babel/plugin-transform-exponentiation-operator": "^7.14.5",
"@babel/plugin-transform-for-of": "^7.14.5",
"@babel/plugin-transform-for-of": "^7.15.4",
"@babel/plugin-transform-function-name": "^7.14.5",

@@ -72,4 +72,4 @@ "@babel/plugin-transform-literals": "^7.14.5",

"@babel/plugin-transform-modules-amd": "^7.14.5",
"@babel/plugin-transform-modules-commonjs": "^7.15.0",
"@babel/plugin-transform-modules-systemjs": "^7.14.5",
"@babel/plugin-transform-modules-commonjs": "^7.15.4",
"@babel/plugin-transform-modules-systemjs": "^7.15.4",
"@babel/plugin-transform-modules-umd": "^7.14.5",

@@ -79,3 +79,3 @@ "@babel/plugin-transform-named-capturing-groups-regex": "^7.14.9",

"@babel/plugin-transform-object-super": "^7.14.5",
"@babel/plugin-transform-parameters": "^7.14.5",
"@babel/plugin-transform-parameters": "^7.15.4",
"@babel/plugin-transform-property-literals": "^7.14.5",

@@ -92,3 +92,3 @@ "@babel/plugin-transform-regenerator": "^7.14.5",

"@babel/preset-modules": "^0.1.4",
"@babel/types": "^7.15.0",
"@babel/types": "^7.15.4",
"babel-plugin-polyfill-corejs2": "^0.2.2",

@@ -104,3 +104,3 @@ "babel-plugin-polyfill-corejs3": "^0.2.2",

"devDependencies": {
"@babel/core": "7.15.0",
"@babel/core": "7.15.4",
"@babel/core-7.12": "npm:@babel/core@7.12.9",

@@ -107,0 +107,0 @@ "@babel/helper-plugin-test-runner": "7.14.5",

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