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

webpack-code-inspector-plugin

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-code-inspector-plugin - npm Package Compare versions

Comparing version 0.13.0 to 0.14.0-beta.1

2

./dist/index.umd.js

@@ -1,1 +0,1 @@

(function(t,e){typeof exports=="object"&&typeof module!="undefined"?module.exports=e(require("code-inspector-core"),require("path")):typeof define=="function"&&define.amd?define(["code-inspector-core","path"],e):(t=typeof globalThis!="undefined"?globalThis:t||self,t.WebpackCodeInspectorPlugin=e(t.codeInspectorCore,t.path))})(this,function(t,e){"use strict";var _=Object.defineProperty,T=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var v=(t,e,s)=>e in t?_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,f=(t,e)=>{for(var s in e||(e={}))D.call(e,s)&&v(t,s,e[s]);if(p)for(var s of p(e))E.call(e,s)&&v(t,s,e[s]);return t},h=(t,e)=>T(t,L(e));let s="";typeof __dirname!="undefined"?s=__dirname:s=e.dirname(t.fileURLToPath(typeof document=="undefined"&&typeof location=="undefined"?require("url").pathToFileURL(__filename).href:typeof document=="undefined"?location.href:document.currentScript&&document.currentScript.src||new URL("index.umd.js",document.baseURI).href));let i=!0;const x=(r,n)=>{var u,c;if(!i)return;i=!1;const d=(n==null?void 0:n.compiler)||n,o=(u=d==null?void 0:d.options)==null?void 0:u.module;((o==null?void 0:o.rules)||(o==null?void 0:o.loaders)||[]).push(f({test:(c=r==null?void 0:r.match)!=null?c:/\.(vue|jsx|tsx|js|ts|mjs|mts)$/,exclude:/node_modules/,use:[{loader:e.resolve(s,"./loader.js"),options:r}]},r.enforcePre===!1?{}:{enforce:"pre"}),h(f({},r!=null&&r.injectTo?{resource:r==null?void 0:r.injectTo}:{test:/\.(jsx|tsx|js|ts|mjs|mts)$/,exclude:/node_modules/}),{use:[{loader:e.resolve(s,"./inject-loader.js"),options:r}],enforce:"post"}))};class m{constructor(n){this.options=n||{}}apply(n){var a,u,c,l,y,j;if(i=!0,this.options.close)return;let d;if(typeof((a=this.options)==null?void 0:a.dev)=="function"?d=(u=this.options)==null?void 0:u.dev():d=(c=this.options)==null?void 0:c.dev,d===!1||!d&&((l=n==null?void 0:n.options)==null?void 0:l.mode)!=="development"&&process.env.NODE_ENV!=="development")return;((j=(y=n==null?void 0:n.options)==null?void 0:y.cache)==null?void 0:j.type)==="filesystem"&&(n.options.cache.version="code-inspector-".concat(Date.now()));const o={port:0,entry:"",nextJsEntry:"",ssrEntry:""};x(h(f({},this.options),{record:o}),n)}}return m});
(function(t,e){typeof exports=="object"&&typeof module!="undefined"?module.exports=e(require("code-inspector-core"),require("path")):typeof define=="function"&&define.amd?define(["code-inspector-core","path"],e):(t=typeof globalThis!="undefined"?globalThis:t||self,t.WebpackCodeInspectorPlugin=e(t.codeInspectorCore,t.path))})(this,function(t,e){"use strict";var _=Object.defineProperty,T=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var v=(t,e,s)=>e in t?_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,f=(t,e)=>{for(var s in e||(e={}))D.call(e,s)&&v(t,s,e[s]);if(y)for(var s of y(e))I.call(e,s)&&v(t,s,e[s]);return t},h=(t,e)=>T(t,L(e));let s="";typeof __dirname!="undefined"?s=__dirname:s=e.dirname(t.fileURLToPath(typeof document=="undefined"&&typeof location=="undefined"?require("url").pathToFileURL(__filename).href:typeof document=="undefined"?location.href:document.currentScript&&document.currentScript.src||new URL("index.umd.js",document.baseURI).href));let i=!0;const x=(r,n)=>{var u,c;if(!i)return;i=!1;const d=(n==null?void 0:n.compiler)||n,o=(u=d==null?void 0:d.options)==null?void 0:u.module;((o==null?void 0:o.rules)||(o==null?void 0:o.loaders)||[]).push(f({test:(c=r==null?void 0:r.match)!=null?c:/\.(vue|jsx|tsx|js|ts|mjs|mts)$/,exclude:/node_modules/,use:[{loader:e.resolve(s,"./loader.js"),options:r}]},r.enforcePre===!1?{}:{enforce:"pre"}),h(f({},r!=null&&r.injectTo?{resource:r==null?void 0:r.injectTo}:{test:/\.(jsx|tsx|js|ts|mjs|mts)$/,exclude:/node_modules/}),{use:[{loader:e.resolve(s,"./inject-loader.js"),options:r}],enforce:"post"}))};class m{constructor(n){this.options=n}apply(n){var a,u,c,l,p,j;if(i=!0,this.options.close)return;let d;if(typeof((a=this.options)==null?void 0:a.dev)=="function"?d=(u=this.options)==null?void 0:u.dev():d=(c=this.options)==null?void 0:c.dev,d===!1||!d&&((l=n==null?void 0:n.options)==null?void 0:l.mode)!=="development"&&process.env.NODE_ENV!=="development")return;((j=(p=n==null?void 0:n.options)==null?void 0:p.cache)==null?void 0:j.type)==="filesystem"&&(n.options.cache.version="code-inspector-".concat(Date.now()));const o={port:0,entry:"",output:this.options.output};x(h(f({},this.options),{record:o}),n)}}return m});

@@ -1,1 +0,1 @@

(function(t,e){typeof exports=="object"&&typeof module!="undefined"?module.exports=e(require("code-inspector-core"),require("path")):typeof define=="function"&&define.amd?define(["code-inspector-core","path"],e):(t=typeof globalThis!="undefined"?globalThis:t||self,t.WebpackCodeInspectorPlugin=e(t.codeInspectorCore,t.path))})(this,function(t,e){"use strict";var _=Object.defineProperty,T=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var v=(t,e,s)=>e in t?_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,f=(t,e)=>{for(var s in e||(e={}))D.call(e,s)&&v(t,s,e[s]);if(p)for(var s of p(e))E.call(e,s)&&v(t,s,e[s]);return t},h=(t,e)=>T(t,L(e));let s="";typeof __dirname!="undefined"?s=__dirname:s=e.dirname(t.fileURLToPath(typeof document=="undefined"&&typeof location=="undefined"?require("url").pathToFileURL(__filename).href:typeof document=="undefined"?location.href:document.currentScript&&document.currentScript.src||new URL("index.umd.js",document.baseURI).href));let i=!0;const x=(r,n)=>{var u,c;if(!i)return;i=!1;const d=(n==null?void 0:n.compiler)||n,o=(u=d==null?void 0:d.options)==null?void 0:u.module;((o==null?void 0:o.rules)||(o==null?void 0:o.loaders)||[]).push(f({test:(c=r==null?void 0:r.match)!=null?c:/\.(vue|jsx|tsx|js|ts|mjs|mts)$/,exclude:/node_modules/,use:[{loader:e.resolve(s,"./loader.js"),options:r}]},r.enforcePre===!1?{}:{enforce:"pre"}),h(f({},r!=null&&r.injectTo?{resource:r==null?void 0:r.injectTo}:{test:/\.(jsx|tsx|js|ts|mjs|mts)$/,exclude:/node_modules/}),{use:[{loader:e.resolve(s,"./inject-loader.js"),options:r}],enforce:"post"}))};class m{constructor(n){this.options=n||{}}apply(n){var a,u,c,l,y,j;if(i=!0,this.options.close)return;let d;if(typeof((a=this.options)==null?void 0:a.dev)=="function"?d=(u=this.options)==null?void 0:u.dev():d=(c=this.options)==null?void 0:c.dev,d===!1||!d&&((l=n==null?void 0:n.options)==null?void 0:l.mode)!=="development"&&process.env.NODE_ENV!=="development")return;((j=(y=n==null?void 0:n.options)==null?void 0:y.cache)==null?void 0:j.type)==="filesystem"&&(n.options.cache.version="code-inspector-".concat(Date.now()));const o={port:0,entry:"",nextJsEntry:"",ssrEntry:""};x(h(f({},this.options),{record:o}),n)}}return m});
(function(t,e){typeof exports=="object"&&typeof module!="undefined"?module.exports=e(require("code-inspector-core"),require("path")):typeof define=="function"&&define.amd?define(["code-inspector-core","path"],e):(t=typeof globalThis!="undefined"?globalThis:t||self,t.WebpackCodeInspectorPlugin=e(t.codeInspectorCore,t.path))})(this,function(t,e){"use strict";var _=Object.defineProperty,T=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var v=(t,e,s)=>e in t?_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,f=(t,e)=>{for(var s in e||(e={}))D.call(e,s)&&v(t,s,e[s]);if(y)for(var s of y(e))I.call(e,s)&&v(t,s,e[s]);return t},h=(t,e)=>T(t,L(e));let s="";typeof __dirname!="undefined"?s=__dirname:s=e.dirname(t.fileURLToPath(typeof document=="undefined"&&typeof location=="undefined"?require("url").pathToFileURL(__filename).href:typeof document=="undefined"?location.href:document.currentScript&&document.currentScript.src||new URL("index.umd.js",document.baseURI).href));let i=!0;const x=(r,n)=>{var u,c;if(!i)return;i=!1;const d=(n==null?void 0:n.compiler)||n,o=(u=d==null?void 0:d.options)==null?void 0:u.module;((o==null?void 0:o.rules)||(o==null?void 0:o.loaders)||[]).push(f({test:(c=r==null?void 0:r.match)!=null?c:/\.(vue|jsx|tsx|js|ts|mjs|mts)$/,exclude:/node_modules/,use:[{loader:e.resolve(s,"./loader.js"),options:r}]},r.enforcePre===!1?{}:{enforce:"pre"}),h(f({},r!=null&&r.injectTo?{resource:r==null?void 0:r.injectTo}:{test:/\.(jsx|tsx|js|ts|mjs|mts)$/,exclude:/node_modules/}),{use:[{loader:e.resolve(s,"./inject-loader.js"),options:r}],enforce:"post"}))};class m{constructor(n){this.options=n}apply(n){var a,u,c,l,p,j;if(i=!0,this.options.close)return;let d;if(typeof((a=this.options)==null?void 0:a.dev)=="function"?d=(u=this.options)==null?void 0:u.dev():d=(c=this.options)==null?void 0:c.dev,d===!1||!d&&((l=n==null?void 0:n.options)==null?void 0:l.mode)!=="development"&&process.env.NODE_ENV!=="development")return;((j=(p=n==null?void 0:n.options)==null?void 0:p.cache)==null?void 0:j.type)==="filesystem"&&(n.options.cache.version="code-inspector-".concat(Date.now()));const o={port:0,entry:"",output:this.options.output};x(h(f({},this.options),{record:o}),n)}}return m});
{
"name": "webpack-code-inspector-plugin",
"version": "0.13.0",
"version": "0.14.0-beta.1",
"main": "./dist/index.umd.js",

@@ -41,3 +41,3 @@ "module": "./dist/index.mjs",

"dependencies": {
"code-inspector-core": "0.13.0"
"code-inspector-core": "0.14.0-beta.1"
},

@@ -53,3 +53,4 @@ "devDependencies": {

"build:inject": "vite build --config vite.inject-loader.config.ts",
"build": "tsc && pnpm build:plugin && pnpm build:loader && pnpm build:inject",
"clear": "rimraf ./dist && rimraf ./types",
"build": "pnpm clear && tsc && pnpm build:plugin && pnpm build:loader && pnpm build:inject",
"pub": "pnpm publish",

@@ -56,0 +57,0 @@ "pub:beta": "pnpm publish --tag beta"

@@ -10,3 +10,3 @@ <div align="center">

[![NPM version](https://img.shields.io/npm/v/code-inspector-plugin.svg)](https://www.npmjs.com/package/code-inspector-plugin)
[![NPM Downloads](https://img.shields.io/npm/dm/code-inspector-plugin.svg)](https://npmcharts.com/compare/code-inspector-plugin?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/code-inspector-plugin.svg)](https://npmcharts.netlify.app/compare/code-inspector-plugin?minimal=true)
[![MIT-license](https://img.shields.io/npm/l/code-inspector.svg)](https://opensource.org/licenses/MIT)

@@ -13,0 +13,0 @@ [![GITHUB-language](https://img.shields.io/github/languages/top/zh-lx/code-inspector)](https://github.com/zh-lx/code-inspector)

import { CodeOptions } from 'code-inspector-core';
interface Options extends CodeOptions {
close?: boolean;
time?: number;
output: string;
}
declare class WebpackCodeInspectorPlugin {
options: Options;
constructor(options?: Options);
constructor(options: Options);
apply(compiler: any): void;
}
export default WebpackCodeInspectorPlugin;

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