🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@babel/core

Package Overview
Dependencies
Maintainers
4
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/core - npm Package Compare versions

Comparing version

to
7.21.3

7

lib/config/files/configuration.js

@@ -54,9 +54,2 @@ "use strict";

var fs = require("../../gensync-utils/fs");
function _module() {
const data = require("module");
_module = function () {
return data;
};
return data;
}
var _rewriteStackTrace = require("../../errors/rewrite-stack-trace");

@@ -63,0 +56,0 @@ const debug = _debug()("babel:config:loading:files:configuration");

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

exports.default = resolve;
function _module() {
const data = require("module");
_module = function () {
return data;
};
return data;
}
var _importMetaResolve = require("../../vendor/import-meta-resolve");

@@ -16,0 +9,0 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }

@@ -23,9 +23,2 @@ "use strict";

}
function _module() {
const data = require("module");
_module = function () {
return data;
};
return data;
}
function _semver() {

@@ -32,0 +25,0 @@ const data = require("semver");

@@ -41,9 +41,2 @@ "use strict";

var _importMetaResolve = require("./import-meta-resolve");
function _module() {
const data = require("module");
_module = function () {
return data;
};
return data;
}
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }

@@ -50,0 +43,0 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }

9

lib/config/index.js

@@ -41,3 +41,6 @@ "use strict";

}
return callback ? runner.errback(arg, callback) : runner.sync(arg);
if (!callback) {
return runner.sync(arg);
}
runner.errback(arg, callback);
};

@@ -62,5 +65,5 @@ const loadPartialConfig = maybeErrback(_partial.loadPartialConfig);

if (callback !== undefined) {
return createConfigItemRunner.errback(target, options, callback);
createConfigItemRunner.errback(target, options, callback);
} else if (typeof options === "function") {
return createConfigItemRunner.errback(target, undefined, callback);
createConfigItemRunner.errback(target, undefined, callback);
} else {

@@ -67,0 +70,0 @@ return createConfigItemRunner.sync(target, options);

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

var _parse = require("./parse");
function _module() {
const data = require("module");
_module = function () {
return data;
};
return data;
}
var thisFile = require("./index");
const version = "7.21.0";
const version = "7.21.3";
exports.version = version;

@@ -238,0 +231,0 @@ const DEFAULT_EXTENSIONS = Object.freeze([".js", ".jsx", ".es6", ".es", ".mjs", ".cjs"]);

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

function transformFile(...args) {
return transformFileRunner.errback(...args);
transformFileRunner.errback(...args);
}

@@ -33,0 +33,0 @@ function transformFileSync(...args) {

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

addImport() {
return this.file.addImport();
this.file.addImport();
}

@@ -37,0 +37,0 @@ buildCodeFrameError(node, msg, _Error) {

{
"name": "@babel/core",
"version": "7.21.0",
"version": "7.21.3",
"description": "Babel compiler core.",

@@ -51,10 +51,10 @@ "main": "./lib/index.js",

"@babel/code-frame": "^7.18.6",
"@babel/generator": "^7.21.0",
"@babel/generator": "^7.21.3",
"@babel/helper-compilation-targets": "^7.20.7",
"@babel/helper-module-transforms": "^7.21.0",
"@babel/helper-module-transforms": "^7.21.2",
"@babel/helpers": "^7.21.0",
"@babel/parser": "^7.21.0",
"@babel/parser": "^7.21.3",
"@babel/template": "^7.20.7",
"@babel/traverse": "^7.21.0",
"@babel/types": "^7.21.0",
"@babel/traverse": "^7.21.3",
"@babel/types": "^7.21.3",
"convert-source-map": "^1.7.0",

@@ -70,3 +70,3 @@ "debug": "^4.1.0",

"@babel/plugin-transform-flow-strip-types": "^7.21.0",
"@babel/plugin-transform-modules-commonjs": "^7.20.11",
"@babel/plugin-transform-modules-commonjs": "^7.21.2",
"@babel/preset-env": "^7.20.2",

@@ -73,0 +73,0 @@ "@jridgewell/trace-mapping": "^0.3.17",

@@ -43,3 +43,3 @@ import gensync, { type Handler } from "gensync";

) {
return transformFileRunner.errback(...args);
transformFileRunner.errback(...args);
}

@@ -46,0 +46,0 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet