knip 5.39.3 → 5.39.4
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/dist/WorkspaceWorker.js +1 -1
- package/dist/plugins/vitest/index.js +1 -1
- package/dist/util/input.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/WorkspaceWorker.js
CHANGED
|
@@ -266,7 +266,7 @@ export class WorkspaceWorker {
|
|
|
266
266
|
}
|
|
267
267
|
const finalEntryPaths = getFinalEntryPaths(plugin, options, configEntryPaths);
|
|
268
268
|
for (const id of finalEntryPaths)
|
|
269
|
-
addInput(id, id.containingFilePath
|
|
269
|
+
addInput(id, id.containingFilePath);
|
|
270
270
|
if (hasResolve) {
|
|
271
271
|
const dependencies = (await plugin.resolve?.(options)) ?? [];
|
|
272
272
|
for (const id of dependencies)
|
|
@@ -54,7 +54,7 @@ export const resolveEntryPaths = async (localConfig, options) => {
|
|
|
54
54
|
const dir = join(options.configFileDir, cfg.test?.root ?? '.');
|
|
55
55
|
if (cfg.test?.include) {
|
|
56
56
|
for (const dependency of cfg.test.include)
|
|
57
|
-
inputs.add(toEntry(join(dir, dependency)));
|
|
57
|
+
dependency[0] !== '!' && inputs.add(toEntry(join(dir, dependency)));
|
|
58
58
|
}
|
|
59
59
|
else {
|
|
60
60
|
for (const dependency of options.config.entry ?? entry)
|
package/dist/util/input.js
CHANGED
|
@@ -33,4 +33,4 @@ export const toDevDependency = (specifier) => ({ type: 'dependency', specifier }
|
|
|
33
33
|
export const toDeferResolve = (specifier) => ({ type: 'deferResolve', specifier });
|
|
34
34
|
export const toDeferResolveEntry = (specifier) => ({ type: 'deferResolveEntry', specifier });
|
|
35
35
|
export const isDeferResolveEntry = (input) => input.type === 'deferResolveEntry';
|
|
36
|
-
export const toDebugString = (input) => `${input.type}:${input.specifier}
|
|
36
|
+
export const toDebugString = (input) => `${input.type}:${input.specifier}${input.containingFilePath ? ` (${toRelative(input.containingFilePath)})` : ''}`;
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "5.39.
|
|
1
|
+
export declare const version = "5.39.4";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '5.39.
|
|
1
|
+
export const version = '5.39.4';
|