From 1745d11f7b7da6363897c9f6d82ea6eb3bf34cf0 Mon Sep 17 00:00:00 2001 From: Mickael Jeanroy Date: Sun, 3 Sep 2023 21:04:44 +0200 Subject: [PATCH] fix: add missing multipleVersions option in typings --- src/index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/index.d.ts b/src/index.d.ts index df50d3d1..6fc4a8b9 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -296,6 +296,13 @@ interface ThirdPartyOptions { * } */ allow?: ThirdPartyValidator | ThirdPartyAllowOptions; + + /** + * Track each dependency version as a different dependency. + * Particularly useful when a dependency changed its licensing between versions. + * Default is `false` far backward compatibility. + */ + multipleVersions?: boolean; } export type ThirdParty = ThirdPartyOutputGeneratorFn | ThirdPartyOptions;