Socket
Socket
Sign inDemoInstall

unplugin

Package Overview
Dependencies
Maintainers
1
Versions
87
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 0.5.1 to 0.5.2

4

dist/index.js

@@ -987,3 +987,3 @@ var __create = Object.create;

var import_path3 = require("path");
var import_webpack_sources = require("webpack-sources");
var import_webpack_sources = __toESM(require("webpack-sources"));
function genContext(compilation) {

@@ -998,3 +998,3 @@ return {

if (emittedFile.source && outFileName) {
compilation.emitAsset(outFileName, sources ? new import_webpack_sources.RawSource(typeof emittedFile.source === "string" ? emittedFile.source : Buffer.from(emittedFile.source)) : {
compilation.emitAsset(outFileName, import_webpack_sources.default ? new import_webpack_sources.default.RawSource(typeof emittedFile.source === "string" ? emittedFile.source : Buffer.from(emittedFile.source)) : {
source: () => emittedFile.source,

@@ -1001,0 +1001,0 @@ size: () => emittedFile.source.length

@@ -0,4 +1,6 @@

var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;

@@ -17,2 +19,3 @@ var __export = (target, all) => {

};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

@@ -29,3 +32,3 @@

var import_path = require("path");
var import_webpack_sources = require("webpack-sources");
var import_webpack_sources = __toESM(require("webpack-sources"));
function genContext(compilation) {

@@ -40,3 +43,3 @@ return {

if (emittedFile.source && outFileName) {
compilation.emitAsset(outFileName, sources ? new import_webpack_sources.RawSource(typeof emittedFile.source === "string" ? emittedFile.source : Buffer.from(emittedFile.source)) : {
compilation.emitAsset(outFileName, import_webpack_sources.default ? new import_webpack_sources.default.RawSource(typeof emittedFile.source === "string" ? emittedFile.source : Buffer.from(emittedFile.source)) : {
source: () => emittedFile.source,

@@ -43,0 +46,0 @@ size: () => emittedFile.source.length

@@ -0,4 +1,6 @@

var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;

@@ -17,2 +19,3 @@ var __export = (target, all) => {

};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

@@ -29,3 +32,3 @@

var import_path = require("path");
var import_webpack_sources = require("webpack-sources");
var import_webpack_sources = __toESM(require("webpack-sources"));
function genContext(compilation) {

@@ -40,3 +43,3 @@ return {

if (emittedFile.source && outFileName) {
compilation.emitAsset(outFileName, sources ? new import_webpack_sources.RawSource(typeof emittedFile.source === "string" ? emittedFile.source : Buffer.from(emittedFile.source)) : {
compilation.emitAsset(outFileName, import_webpack_sources.default ? new import_webpack_sources.default.RawSource(typeof emittedFile.source === "string" ? emittedFile.source : Buffer.from(emittedFile.source)) : {
source: () => emittedFile.source,

@@ -43,0 +46,0 @@ size: () => emittedFile.source.length

{
"name": "unplugin",
"version": "0.5.1",
"version": "0.5.2",
"description": "Unified plugin system for build tools",

@@ -5,0 +5,0 @@ "repository": "unjs/unplugin",

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