Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rollup-plugin-esbuild

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-esbuild - npm Package Compare versions

Comparing version 6.0.1 to 6.0.2

19

dist/index.js

@@ -186,13 +186,8 @@ "use strict";

// src/tsconfig.ts
var import_promises = require("fs/promises");
var import_joycon = __toESM(require("joycon"));
var joycon = new import_joycon.default();
joycon.addLoader({
test: /\.json$/,
load: (file) => (0, import_promises.readFile)(file, "utf8")
});
var getTsconfig = async (cwd, tsconfig) => {
const { data } = await joycon.load([tsconfig || "tsconfig.json"], cwd);
return data;
};
var import_get_tsconfig = require("get-tsconfig");
var cache = /* @__PURE__ */ new Map();
function getTsconfig(searchPath, configName) {
var _a;
return (_a = (0, import_get_tsconfig.getTsconfig)(searchPath, configName, cache)) == null ? void 0 : _a.config;
}

@@ -297,3 +292,3 @@ // src/index.ts

}
const tsconfigRaw = tsconfig === false ? void 0 : await getTsconfig((0, import_path2.dirname)(id), tsconfig);
const tsconfigRaw = tsconfig === false ? void 0 : getTsconfig(id, tsconfig || "tsconfig.json");
const result = await (0, import_esbuild4.transform)(code, {

@@ -300,0 +295,0 @@ loader,

{
"name": "rollup-plugin-esbuild",
"version": "6.0.1",
"version": "6.0.2",
"packageManager": "pnpm@8.7.6",

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

"es-module-lexer": "^1.3.1",
"joycon": "^3.1.1"
"get-tsconfig": "^4.7.2"
},

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