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

unplugin-detect-duplicated-deps

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unplugin-detect-duplicated-deps - npm Package Compare versions

Comparing version 0.3.5 to 0.4.0

dist/chunk-LLSKCR6D.mjs

11

dist/index.d.ts

@@ -6,2 +6,3 @@ import * as unplugin from 'unplugin';

* disable show package size can improve build speed because we get package size by api of https://bundlephobia.com/
* @default true
*/

@@ -11,5 +12,7 @@ showPkgSize?: boolean;

* useful in ci check
* @default false
*/
throwErrorWhenDuplicated?: boolean;
/**
* @default {}
* @example

@@ -24,3 +27,11 @@ * ```javascript

customErrorMessage?: (issuePackagesMap: Map<string, string[]>, duplicatedDeps: Map<string, string[]>) => string;
/**
* @default 'debug'
*/
logLevel?: 'debug' | 'error';
/**
* whether report the duplicated dep depended by another dep
* @default true
*/
deep?: boolean;
}

@@ -27,0 +38,0 @@ declare const _default: unplugin.UnpluginInstance<Options | undefined, boolean>;

4

dist/index.js
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkTM6NE22Vjs = require('./chunk-TM6NE22V.js');
var _chunkZUNCQP7Kjs = require('./chunk-ZUNCQP7K.js');
require('./chunk-AZ2QCLQH.js');
exports.default = _chunkTM6NE22Vjs.src_default;
exports.default = _chunkZUNCQP7Kjs.src_default;
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkTM6NE22Vjs = require('./chunk-TM6NE22V.js');
var _chunkZUNCQP7Kjs = require('./chunk-ZUNCQP7K.js');
require('./chunk-AZ2QCLQH.js');
// src/rollup.ts
var rollup_default = _chunkTM6NE22Vjs.src_default.rollup;
var rollup_default = _chunkZUNCQP7Kjs.src_default.rollup;

@@ -9,0 +9,0 @@

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkTM6NE22Vjs = require('./chunk-TM6NE22V.js');
var _chunkZUNCQP7Kjs = require('./chunk-ZUNCQP7K.js');
require('./chunk-AZ2QCLQH.js');
// src/vite.ts
var vite_default = _chunkTM6NE22Vjs.src_default.vite;
var vite_default = _chunkZUNCQP7Kjs.src_default.vite;

@@ -9,0 +9,0 @@

{
"name": "unplugin-detect-duplicated-deps",
"version": "0.3.5",
"version": "0.4.0",
"description": "Detect duplicate packaged dependencies",

@@ -29,2 +29,12 @@ "keywords": [

"types": "./dist/index.d.ts",
"maintainers": [
{
"name": "YuTengjing",
"email": "ytj2713151713@gmail.com"
},
{
"name": "Zhengz",
"email": "mljsgto222@gmail.com"
}
],
"exports": {

@@ -62,18 +72,18 @@ ".": {

"dependencies": {
"@rollup/pluginutils": "^5.0.4",
"axios": "^1.5.0",
"@rollup/pluginutils": "^5.0.5",
"axios": "^1.5.1",
"consola": "^3.2.3",
"picocolors": "^1.0.0",
"semver": "^7.5.4",
"unplugin": "^1.4.0",
"unplugin": "^1.5.0",
"workspace-root": "^3.2.0"
},
"devDependencies": {
"@types/node": "^18.17.12",
"@types/semver": "^7.5.1",
"@types/node": "^18.18.4",
"@types/semver": "^7.5.3",
"@yutengjing/eslint-config-typescript": "^0.4.2",
"@yutengjing/prettier-config": "^0.0.1",
"bumpp": "^9.2.0",
"eslint": "^8.48.0",
"eslint-define-config": "^1.23.0",
"eslint": "^8.51.0",
"eslint-define-config": "^1.24.1",
"execa": "^8.0.1",

@@ -83,6 +93,6 @@ "fast-glob": "^3.3.1",

"tsup": "^7.2.0",
"tsx": "^3.12.7",
"tsx": "^3.13.0",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.3"
"vite": "^4.4.11",
"vitest": "^0.34.6"
},

@@ -89,0 +99,0 @@ "scripts": {

@@ -17,2 +17,4 @@ # unplugin-detect-duplicated-deps

You can use the jsdoc to check option description and default value.
<details>

@@ -19,0 +21,0 @@ <summary>Vite</summary><br>

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

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