Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-runtime

Package Overview
Dependencies
Maintainers
4
Versions
138
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.10 to 7.23.2

10

lib/index.js

@@ -10,5 +10,5 @@ "use strict";

var _core = require("@babel/core");
var _helpers = require("./helpers");
var _getRuntimePath = require("./get-runtime-path");
var _polyfills = require("./polyfills");
var _helpers = require("./helpers.js");
var _index = require("./get-runtime-path/index.js");
var _polyfills = require("./polyfills.js");
function supportsStaticESM(caller) {

@@ -71,3 +71,3 @@ return !!(caller != null && caller.supportsStaticESM);

var _modulePath, _file$get;
(_modulePath = modulePath) != null ? _modulePath : modulePath = (0, _getRuntimePath.default)((_file$get = file.get("runtimeHelpersModuleName")) != null ? _file$get : "@babel/runtime", dirname, absoluteRuntime);
(_modulePath = modulePath) != null ? _modulePath : modulePath = (0, _index.default)((_file$get = file.get("runtimeHelpersModuleName")) != null ? _file$get : "@babel/runtime", dirname, absoluteRuntime);
{

@@ -85,3 +85,3 @@ if (!(file.availableHelper != null && file.availableHelper(name, runtimeVersion))) {

let helperPath = `${modulePath}/${helpersDir}/${name}`;
if (absoluteRuntime) helperPath = (0, _getRuntimePath.resolveFSPath)(helperPath);
if (absoluteRuntime) helperPath = (0, _index.resolveFSPath)(helperPath);
return addDefaultImport(helperPath, name, blockHoist, true);

@@ -88,0 +88,0 @@ });

{
"name": "@babel/plugin-transform-runtime",
"version": "7.22.10",
"version": "7.23.2",
"description": "Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals",

@@ -23,7 +23,7 @@ "repository": {

"dependencies": {
"@babel/helper-module-imports": "^7.22.5",
"@babel/helper-module-imports": "^7.22.15",
"@babel/helper-plugin-utils": "^7.22.5",
"babel-plugin-polyfill-corejs2": "^0.4.5",
"babel-plugin-polyfill-corejs3": "^0.8.3",
"babel-plugin-polyfill-regenerator": "^0.5.2",
"babel-plugin-polyfill-corejs2": "^0.4.6",
"babel-plugin-polyfill-corejs3": "^0.8.5",
"babel-plugin-polyfill-regenerator": "^0.5.3",
"semver": "^6.3.1"

@@ -35,8 +35,8 @@ },

"devDependencies": {
"@babel/core": "^7.22.10",
"@babel/core": "^7.23.0",
"@babel/helper-plugin-test-runner": "^7.22.5",
"@babel/helpers": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/runtime": "^7.22.10",
"@babel/runtime-corejs3": "^7.22.10",
"@babel/helpers": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@babel/runtime": "^7.23.2",
"@babel/runtime-corejs3": "^7.23.2",
"make-dir": "^2.1.0"

@@ -43,0 +43,0 @@ },

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc