dependency-cruiser 18.4.0 → 18.5.0

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.
@@ -156,6 +156,11 @@ export interface ICruiseOptions {
156
156
  * import statements. Implies `"parser": "tsc"`. Defaults to false.'
157
157
  */
158
158
  detectJSDocImports?: boolean;
159
+ /**
160
+ * When true, dependency-cruiser will detect imports in ambient module and
161
+ * namespace declarations. Implies `"parser": "tsc"`. Defaults to false.
162
+ */
163
+ detectImportsInAmbientModules?: boolean;
159
164
  /**
160
165
  * When true, dependency-cruiser will detect calls to `process.getBuiltinModule`/
161
166
  * `globalThis.process.getBuiltinModule` as imports.
@@ -220,6 +220,11 @@ export interface IMarkdownReporterOptions {
220
220
  * Whether or not to collapse the list of violations in a <details> block. Defaults to true.
221
221
  */
222
222
  collapseDetails?: boolean;
223
+ /**
224
+ * The text to show in the <summary> section of the <details> block. E.g. 'click to see all violations'
225
+ * When left out shows a default value.
226
+ */
227
+ collapsedMessage?: string;
223
228
  /**
224
229
  * For external modules (typically those in node_modules) show the unresolved module name instead
225
230
  * of the resolved one in the error overview.
@@ -235,16 +240,36 @@ export interface IMarkdownReporterOptions {
235
240
  * Defaults to false.
236
241
  */
237
242
  showAliasedModulesUnresolved?: boolean;
238
- /**
239
- * The text to in the <summary> section of the <details> block. E.g. 'click to see all violations'
240
- * When left out shows a default value.
241
- */
242
- collapsedMessage?: string;
243
243
  /**
244
244
  * The text to show when no violations were found. E.g. 'No violations found'.
245
245
  * When left out shows a default value.
246
246
  */
247
247
  noViolationsMessage?: string;
248
+ /**
249
+ * Whether or not to show a detailed list of stale violations in the baseline (if any).
250
+ * Defaults to true
251
+ */
252
+ showStaleBaselineDetails?: boolean;
253
+ /**
254
+ * Text shown as the heading above stale baseline violations. Defaults to the
255
+ * standard stale-baseline heading.
256
+ */
257
+ staleBaselineHeader?: string;
258
+ /**
259
+ * Whether or not to wrap stale baseline violations in a collapsible
260
+ * <details> block. Defaults to true.
261
+ */
262
+ collapseStaleBaseline?: boolean;
263
+ /**
264
+ * Text shown in the <summary> element when stale baseline details are
265
+ * collapsible. Defaults to 'Stale violations in the baseline - click to expand'.
266
+ */
267
+ collapseStaleBaselineMessage?: string;
268
+ /**
269
+ * Introductory text shown before stale baseline violations. Defaults to an
270
+ * explanation of why they are stale and how to remove them.
271
+ */
272
+ staleBaselineIntro?: string;
248
273
  /**
249
274
  * Whether or not to show a footer (with version & run date) at the bottom of the report.
250
275
  * Defaults to true