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

dependency-cruiser

Package Overview
Dependencies
Maintainers
2
Versions
536
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dependency-cruiser - npm Package Compare versions

Comparing version 14.0.0 to 14.1.0

src/cli/assert-node-environment-suitable.mjs

20

package.json
{
"name": "dependency-cruiser",
"version": "14.0.0",
"version": "14.1.0",
"description": "Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.",

@@ -179,11 +179,11 @@ "keywords": [

"devDependencies": {
"@babel/core": "7.22.20",
"@babel/plugin-transform-modules-commonjs": "7.22.15",
"@babel/preset-typescript": "7.22.15",
"@swc/core": "1.3.87",
"@babel/core": "7.23.0",
"@babel/plugin-transform-modules-commonjs": "7.23.0",
"@babel/preset-typescript": "7.23.0",
"@swc/core": "1.3.90",
"@types/lodash": "4.14.199",
"@types/node": "20.6.3",
"@types/prompts": "2.4.4",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
"@types/node": "20.8.0",
"@types/prompts": "2.4.5",
"@typescript-eslint/eslint-plugin": "6.7.3",
"@typescript-eslint/parser": "6.7.3",
"@vue/compiler-sfc": "3.3.4",

@@ -198,3 +198,3 @@ "c8": "8.0.1",

"eslint-plugin-import": "2.28.1",
"eslint-plugin-mocha": "10.1.0",
"eslint-plugin-mocha": "10.2.0",
"eslint-plugin-node": "11.1.0",

@@ -201,0 +201,0 @@ "eslint-plugin-security": "1.7.1",

@@ -9,2 +9,8 @@ export type OneShotConfigIDType = "yes" | "experimental-scripts";

/**
* Whether or not the current folder is a package is an ESM package
* by default (and resolutions of external dependencies should be
* treated as such)
*/
isTypeModule: boolean;
/**
* Whether or not you allow usage of external dependencies declared in

@@ -11,0 +17,0 @@ * package.jsons of parent folders

/* generated - don't edit */
module.exports = {
version: "14.0.0",
version: "14.1.0",
engines: {

@@ -6,0 +6,0 @@ node: "^18.17||>=20",

@@ -194,2 +194,23 @@ import { IBaselineViolations } from "./baseline-violations";

/**
* Options to tweak what dependency-cruiser considers 'built-in' modules. If
* you're targeting nodejs, or don't use any built-in modules you can probably
* leave this alone.
*/
builtInModules?: {
/**
* List of module names that are to be considered as 'built-in'. By default dependency-cruiser
* uses the list of built-ins from nodejs. If you code for another environment (e.g. the
* browser) and you use shims for nodejs builtins like 'path' from node_modules, you could
* pass an empty array here. If you want to just add a couple of extra built-ins to
* the default list, use the 'add' attribute instead.
*/
override: string[];
/**
* List of module names that are to be considered as 'built-in' in addition to the default
* list of the environment you're currently in. Use this e.g. if you're writing
* electron code and want to add 'electron' as built-in.
*/
add: string[];
};
/**
* When true includes denormalized dependents in the cruise-result, even

@@ -196,0 +217,0 @@ * though there's no rule in the rule set that requires them. Defaults to false.

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

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

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

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