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.
|
|
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.
|
|
150
|
-
"enhanced-resolve": "^5.18.
|
|
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
|
-
|
|
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
|
-
...
|
|
174
|
+
...pResolveOptions,
|
|
173
175
|
},
|
|
174
176
|
pTSConfig || {},
|
|
175
177
|
pOptions?.enhancedResolveOptions ?? {},
|