New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@teambit/compilation.modules.babel-compiler

Package Overview
Dependencies
Maintainers
0
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teambit/compilation.modules.babel-compiler - npm Package Compare versions

Comparing version 0.0.140 to 0.0.141

dist/preview-1736711473672.js

13

dist/babel-compiler.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.replaceFileExtToJs = exports.isFileSupported = exports.transpileFilePathAsync = exports.transpileFileContent = void 0;
exports.transpileFileContent = transpileFileContent;
exports.transpileFilePathAsync = transpileFilePathAsync;
exports.isFileSupported = isFileSupported;
exports.replaceFileExtToJs = replaceFileExtToJs;
const babel = __importStar(require("@babel/core"));

@@ -74,5 +77,4 @@ const path_1 = __importDefault(require("path"));

}
exports.transpileFileContent = transpileFileContent;
function transpileFilePathAsync(filePath, options, babelModule = babel) {
return __awaiter(this, void 0, void 0, function* () {
function transpileFilePathAsync(filePath_1, options_1) {
return __awaiter(this, arguments, void 0, function* (filePath, options, babelModule = babel) {
if (!isFileSupported(filePath)) {

@@ -100,3 +102,2 @@ return null;

}
exports.transpileFilePathAsync = transpileFilePathAsync;
/**

@@ -120,3 +121,2 @@ * if it's not false, it searches for config files, which is probably not the expected behavior

}
exports.isFileSupported = isFileSupported;
function replaceFileExtToJs(filePath) {

@@ -128,3 +128,2 @@ if (!isFileSupported(filePath))

}
exports.replaceFileExtToJs = replaceFileExtToJs;
//# sourceMappingURL=babel-compiler.js.map
{
"name": "@teambit/compilation.modules.babel-compiler",
"version": "0.0.140",
"version": "0.0.141",
"homepage": "https://bit.cloud/teambit/compilation/modules/babel-compiler",

@@ -9,3 +9,3 @@ "main": "dist/index.js",

"name": "modules/babel-compiler",
"version": "0.0.140"
"version": "0.0.141"
},

@@ -20,4 +20,3 @@ "dependencies": {

"@types/jest": "26.0.20",
"@types/node": "12.20.4",
"@babel/runtime": "7.20.0"
"@types/node": "22.10.5"
},

@@ -24,0 +23,0 @@ "peerDependencies": {},

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