Comparing version 1.13.0 to 1.13.1
@@ -37,2 +37,6 @@ "use strict"; | ||
// node_modules/.pnpm/tsup@8.2.4_jiti@1.21.6_typescript@5.5.4/node_modules/tsup/assets/cjs_shims.js | ||
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href; | ||
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl(); | ||
// src/webpack/context.ts | ||
@@ -42,5 +46,7 @@ var import_path = require("path"); | ||
var import_process = __toESM(require("process")); | ||
var import_webpack_sources = __toESM(require("webpack-sources")); | ||
var import_module = require("module"); | ||
var import_acorn = require("acorn"); | ||
function createBuildContext(options, compilation) { | ||
const require2 = (0, import_module.createRequire)(importMetaUrl); | ||
const sources = require2("webpack-sources"); | ||
return { | ||
@@ -65,3 +71,3 @@ parse(code, opts = {}) { | ||
outFileName, | ||
import_webpack_sources.default ? new import_webpack_sources.default.RawSource( | ||
sources ? new sources.RawSource( | ||
// @ts-expect-error types mismatch | ||
@@ -68,0 +74,0 @@ typeof emittedFile.source === "string" ? emittedFile.source : import_buffer.Buffer.from(emittedFile.source) |
@@ -37,2 +37,6 @@ "use strict"; | ||
// node_modules/.pnpm/tsup@8.2.4_jiti@1.21.6_typescript@5.5.4/node_modules/tsup/assets/cjs_shims.js | ||
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href; | ||
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl(); | ||
// src/webpack/context.ts | ||
@@ -42,5 +46,7 @@ var import_path = require("path"); | ||
var import_process = __toESM(require("process")); | ||
var import_webpack_sources = __toESM(require("webpack-sources")); | ||
var import_module = require("module"); | ||
var import_acorn = require("acorn"); | ||
function createBuildContext(options, compilation) { | ||
const require2 = (0, import_module.createRequire)(importMetaUrl); | ||
const sources = require2("webpack-sources"); | ||
return { | ||
@@ -65,3 +71,3 @@ parse(code, opts = {}) { | ||
outFileName, | ||
import_webpack_sources.default ? new import_webpack_sources.default.RawSource( | ||
sources ? new sources.RawSource( | ||
// @ts-expect-error types mismatch | ||
@@ -68,0 +74,0 @@ typeof emittedFile.source === "string" ? emittedFile.source : import_buffer.Buffer.from(emittedFile.source) |
{ | ||
"name": "unplugin", | ||
"type": "commonjs", | ||
"version": "1.13.0", | ||
"version": "1.13.1", | ||
"packageManager": "pnpm@8.15.9", | ||
@@ -84,2 +84,3 @@ "description": "Unified plugin system for build tools", | ||
"typescript": "^5.5.4", | ||
"unplugin": "workspace:*", | ||
"unplugin-unused": "^0.1.1", | ||
@@ -86,0 +87,0 @@ "vite": "^5.4.1", |
Sorry, the diff of this file is too big to display
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
187890
5198
32
15