Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-runtime

Package Overview
Dependencies
Maintainers
4
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-runtime - npm Package Compare versions

Comparing version 7.22.7 to 7.22.9

6

lib/helpers.js

@@ -7,9 +7,9 @@ "use strict";

exports.hasMinVersion = hasMinVersion;
var _semverV = require("@nicolo-ribaudo/semver-v6");
var _semver = require("semver");
function hasMinVersion(minVersion, runtimeVersion) {
if (!runtimeVersion) return true;
if (_semverV.valid(runtimeVersion)) runtimeVersion = `^${runtimeVersion}`;
return !_semverV.intersects(`<${minVersion}`, runtimeVersion) && !_semverV.intersects(`>=8.0.0`, runtimeVersion);
if (_semver.valid(runtimeVersion)) runtimeVersion = `^${runtimeVersion}`;
return !_semver.intersects(`<${minVersion}`, runtimeVersion) && !_semver.intersects(`>=8.0.0`, runtimeVersion);
}
//# sourceMappingURL=helpers.js.map
{
"name": "@babel/plugin-transform-runtime",
"version": "7.22.7",
"version": "7.22.9",
"description": "Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals",

@@ -25,6 +25,6 @@ "repository": {

"@babel/helper-plugin-utils": "^7.22.5",
"@nicolo-ribaudo/semver-v6": "^6.3.3",
"babel-plugin-polyfill-corejs2": "^0.4.4",
"babel-plugin-polyfill-corejs3": "^0.8.2",
"babel-plugin-polyfill-regenerator": "^0.5.1"
"babel-plugin-polyfill-regenerator": "^0.5.1",
"semver": "^6.3.1"
},

@@ -35,10 +35,8 @@ "peerDependencies": {

"devDependencies": {
"@babel/core": "^7.22.7",
"@babel/core": "^7.22.9",
"@babel/helper-plugin-test-runner": "^7.22.5",
"@babel/helpers": "^7.22.6",
"@babel/preset-env": "^7.22.7",
"@babel/preset-env": "^7.22.9",
"@babel/runtime": "^7.22.6",
"@babel/runtime-corejs3": "^7.22.6",
"@babel/template": "^7.22.5",
"@babel/types": "^7.22.5",
"make-dir": "^2.1.0"

@@ -45,0 +43,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