dependency-cruiser 17.0.1 → 17.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dependency-cruiser",
3
- "version": "17.0.1",
3
+ "version": "17.0.2",
4
4
  "description": "Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.",
5
5
  "keywords": [
6
6
  "static analysis",
@@ -146,8 +146,8 @@
146
146
  "acorn-loose": "^8.5.2",
147
147
  "acorn-walk": "^8.3.4",
148
148
  "ajv": "^8.17.1",
149
- "commander": "^14.0.0",
150
- "enhanced-resolve": "^5.18.2",
149
+ "commander": "^14.0.1",
150
+ "enhanced-resolve": "^5.18.3",
151
151
  "ignore": "^7.0.5",
152
152
  "interpret": "^3.1.1",
153
153
  "is-installed-globally": "^1.0.0",
@@ -116,7 +116,9 @@ async function compileResolveOptions(
116
116
  // so we do it ourselves - either with the extensions passed
117
117
  // or with the supported ones.
118
118
  extensions:
119
- pResolveOptions.extensions || DEFAULT_RESOLVE_OPTIONS.extensions,
119
+ pResolveOptionsFromDCConfig.extensions ||
120
+ pResolveOptions.extensions ||
121
+ DEFAULT_RESOLVE_OPTIONS.extensions,
120
122
  }),
121
123
  );
122
124
  }
@@ -169,7 +171,7 @@ export default async function normalizeResolveOptions(
169
171
  : {}),
170
172
  resolveLicenses: ruleSetHasLicenseRule(lRuleSet),
171
173
  resolveDeprecations: ruleSetHasDeprecationRule(lRuleSet),
172
- ...(pResolveOptions || {}),
174
+ ...pResolveOptions,
173
175
  },
174
176
  pTSConfig || {},
175
177
  pOptions?.enhancedResolveOptions ?? {},
package/src/meta.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  /* generated - don't edit */
2
2
 
3
3
  module.exports = {
4
- version: "17.0.1",
4
+ version: "17.0.2",
5
5
  engines: {
6
6
  node: "^20.12||^22||>=24",
7
7
  },