Comparing version 5.24.1 to 5.24.2
@@ -41,3 +41,3 @@ import parse from '@ericcornelissen/bash-parser'; | ||
.filter(args => args.require) | ||
.map(arg => arg.require) ?? []; | ||
.flatMap(arg => arg.require) ?? []; | ||
if (binary in KnownResolvers) { | ||
@@ -44,0 +44,0 @@ const resolver = KnownResolvers[binary]; |
@@ -52,4 +52,4 @@ import { dirname, isInternal, join, toAbsolute } from '#p/util/path.js'; | ||
const watchPlugins = config.watchPlugins?.map(watchPlugin => (typeof watchPlugin === 'string' ? watchPlugin : watchPlugin[0])) ?? []; | ||
const setupFiles = config.setupFiles ?? []; | ||
const setupFilesAfterEnv = config.setupFilesAfterEnv ?? []; | ||
const setupFiles = (config.setupFiles ?? []).map(toEntryPattern); | ||
const setupFilesAfterEnv = (config.setupFilesAfterEnv ?? []).map(toEntryPattern); | ||
const transform = config.transform | ||
@@ -64,4 +64,4 @@ ? Object.values(config.transform).map(transform => (typeof transform === 'string' ? transform : transform[0])) | ||
const testSequencer = config.testSequencer ? [config.testSequencer] : []; | ||
const globalSetup = config.globalSetup ? [config.globalSetup] : []; | ||
const globalTeardown = config.globalTeardown ? [config.globalTeardown] : []; | ||
const globalSetup = (config.globalSetup ? [config.globalSetup] : []).map(toEntryPattern); | ||
const globalTeardown = (config.globalTeardown ? [config.globalTeardown] : []).map(toEntryPattern); | ||
return [ | ||
@@ -68,0 +68,0 @@ ...presets, |
@@ -1,1 +0,1 @@ | ||
export declare const version = "5.24.1"; | ||
export declare const version = "5.24.2"; |
@@ -1,1 +0,1 @@ | ||
export const version = '5.24.1'; | ||
export const version = '5.24.2'; |
@@ -35,3 +35,3 @@ import { CacheConsultant } from './CacheConsultant.js'; | ||
negatedWorkspacePatterns: string[]; | ||
enabledPluginsMap: Record<"astro" | "angular" | "ava" | "babel" | "capacitor" | "changesets" | "commitizen" | "commitlint" | "cspell" | "cucumber" | "cypress" | "eleventy" | "eslint" | "gatsby" | "husky" | "jest" | "lefthook" | "linthtml" | "markdownlint" | "mocha" | "moonrepo" | "msw" | "netlify" | "next" | "nx" | "nyc" | "oclif" | "playwright" | "postcss" | "prettier" | "remark" | "remix" | "rollup" | "sentry" | "storybook" | "stryker" | "stylelint" | "svelte" | "syncpack" | "tailwind" | "tsup" | "typedoc" | "typescript" | "unbuild" | "unocss" | "vue" | "vite" | "vitest" | "webpack" | "wireit" | "wrangler" | "xo" | "yorkie" | "drizzle" | "githubActions" | "graphqlCodegen" | "lintStaged" | "lockfileLint" | "lostPixel" | "nodeTestRunner" | "npmPackageJsonLint" | "playwrightCt" | "releaseIt" | "semanticRelease" | "simpleGitHooks" | "sizeLimit" | "vercelOg" | "webdriverIo", boolean>; | ||
enabledPluginsMap: Record<"angular" | "astro" | "ava" | "babel" | "capacitor" | "changesets" | "commitizen" | "commitlint" | "cspell" | "cucumber" | "cypress" | "drizzle" | "eleventy" | "eslint" | "gatsby" | "githubActions" | "graphqlCodegen" | "husky" | "jest" | "lefthook" | "linthtml" | "lintStaged" | "lockfileLint" | "lostPixel" | "markdownlint" | "mocha" | "moonrepo" | "msw" | "netlify" | "next" | "nodeTestRunner" | "npmPackageJsonLint" | "nx" | "nyc" | "oclif" | "playwright" | "playwrightCt" | "postcss" | "prettier" | "releaseIt" | "remark" | "remix" | "rollup" | "semanticRelease" | "sentry" | "simpleGitHooks" | "sizeLimit" | "storybook" | "stryker" | "stylelint" | "svelte" | "syncpack" | "tailwind" | "tsup" | "typedoc" | "typescript" | "unbuild" | "unocss" | "vercelOg" | "vite" | "vitest" | "vue" | "webdriverIo" | "webpack" | "wireit" | "wrangler" | "xo" | "yorkie", boolean>; | ||
enabledPlugins: PluginName[]; | ||
@@ -56,3 +56,3 @@ enabledPluginsInAncestors: string[]; | ||
referencedDependencies: ReferencedDependencies; | ||
enabledPlugins: ("astro" | "angular" | "ava" | "babel" | "capacitor" | "changesets" | "commitizen" | "commitlint" | "cspell" | "cucumber" | "cypress" | "eleventy" | "eslint" | "gatsby" | "husky" | "jest" | "lefthook" | "linthtml" | "markdownlint" | "mocha" | "moonrepo" | "msw" | "netlify" | "next" | "nx" | "nyc" | "oclif" | "playwright" | "postcss" | "prettier" | "remark" | "remix" | "rollup" | "sentry" | "storybook" | "stryker" | "stylelint" | "svelte" | "syncpack" | "tailwind" | "tsup" | "typedoc" | "typescript" | "unbuild" | "unocss" | "vue" | "vite" | "vitest" | "webpack" | "wireit" | "wrangler" | "xo" | "yorkie" | "drizzle" | "githubActions" | "graphqlCodegen" | "lintStaged" | "lockfileLint" | "lostPixel" | "nodeTestRunner" | "npmPackageJsonLint" | "playwrightCt" | "releaseIt" | "semanticRelease" | "simpleGitHooks" | "sizeLimit" | "vercelOg" | "webdriverIo")[]; | ||
enabledPlugins: ("angular" | "astro" | "ava" | "babel" | "capacitor" | "changesets" | "commitizen" | "commitlint" | "cspell" | "cucumber" | "cypress" | "drizzle" | "eleventy" | "eslint" | "gatsby" | "githubActions" | "graphqlCodegen" | "husky" | "jest" | "lefthook" | "linthtml" | "lintStaged" | "lockfileLint" | "lostPixel" | "markdownlint" | "mocha" | "moonrepo" | "msw" | "netlify" | "next" | "nodeTestRunner" | "npmPackageJsonLint" | "nx" | "nyc" | "oclif" | "playwright" | "playwrightCt" | "postcss" | "prettier" | "releaseIt" | "remark" | "remix" | "rollup" | "semanticRelease" | "sentry" | "simpleGitHooks" | "sizeLimit" | "storybook" | "stryker" | "stylelint" | "svelte" | "syncpack" | "tailwind" | "tsup" | "typedoc" | "typescript" | "unbuild" | "unocss" | "vercelOg" | "vite" | "vitest" | "vue" | "webdriverIo" | "webpack" | "wireit" | "wrangler" | "xo" | "yorkie")[]; | ||
}>; | ||
@@ -59,0 +59,0 @@ onDispose(): void; |
{ | ||
"name": "knip", | ||
"version": "5.24.1", | ||
"version": "5.24.2", | ||
"description": "Find unused files, dependencies and exports in your TypeScript and JavaScript projects", | ||
@@ -5,0 +5,0 @@ "homepage": "https://knip.dev", |
@@ -118,2 +118,5 @@ { | ||
"properties": { | ||
"binaries": { | ||
"$ref": "#/definitions/ruleValue" | ||
}, | ||
"classMembers": { | ||
@@ -125,2 +128,8 @@ "$ref": "#/definitions/ruleValue" | ||
}, | ||
"devDependencies": { | ||
"$ref": "#/definitions/ruleValue" | ||
}, | ||
"optionalPeerDependencies": { | ||
"$ref": "#/definitions/ruleValue" | ||
}, | ||
"duplicates": { | ||
@@ -127,0 +136,0 @@ "$ref": "#/definitions/ruleValue" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
789969
17826