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

unplugin

Package Overview
Dependencies
Maintainers
2
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unplugin - npm Package Compare versions

Comparing version 1.13.0 to 1.13.1

10

dist/webpack/loaders/load.js

@@ -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)

3

package.json
{
"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

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