Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-vitest-rule-tester

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-vitest-rule-tester - npm Package Compare versions

Comparing version 0.6.1 to 0.7.0

10

dist/index.d.ts

@@ -130,6 +130,3 @@ import { Linter } from 'eslint';

declare function normalizeTestCase(c: TestCase, languageOptions: Linter.Config['languageOptions'], defaultFilenames: DefaultFilenames, type?: 'valid' | 'invalid'): NormalizedTestCase;
declare function normalizeCaseError(error: TestCaseError | string, rule?: RuleModule): Partial<Linter.LintMessage>;
declare function isUsingTypeScriptParser(languageOptions: Linter.Config['languageOptions']): boolean;
declare function isUsingTypeScriptTypings(languageOptions: Linter.Config['languageOptions']): boolean;
declare function pickFlatConfigFromOptions(options: CompatConfigOptions): Linter.Config | undefined;

@@ -147,4 +144,7 @@ declare function createRuleTester(options: RuleTesterInitOptions): RuleTester;

declare function pickFlatConfigFromOptions(options: CompatConfigOptions): Linter.Config | undefined;
declare function normalizeTestCase(c: TestCase, languageOptions: Linter.Config['languageOptions'], defaultFilenames: DefaultFilenames, type?: 'valid' | 'invalid'): NormalizedTestCase;
declare function normalizeCaseError(error: TestCaseError | string, rule?: RuleModule): Partial<Linter.LintMessage>;
declare function isUsingTypeScriptParser(languageOptions: Linter.Config['languageOptions']): boolean;
declare function isUsingTypeScriptTypings(languageOptions: Linter.Config['languageOptions']): boolean;
export { type CompatConfigOptions, type DefaultFilenames, type InvalidTestCase, type InvalidTestCaseBase, type NormalizedTestCase, type RuleModule, type RuleTester, type RuleTesterBehaviorOptions, type RuleTesterInitOptions, type TestCase, type TestCaseError, type TestCasesOptions, type TestExecutionResult, type ValidTestCase, type ValidTestCaseBase, createRuleTester, isUsingTypeScriptParser, isUsingTypeScriptTypings, normalizeCaseError, normalizeTestCase, pickFlatConfigFromOptions, run, runClassic };
{
"name": "eslint-vitest-rule-tester",
"type": "module",
"version": "0.6.1",
"packageManager": "pnpm@9.7.1",
"version": "0.7.0",
"packageManager": "pnpm@9.14.4",
"description": "ESLint rule tester with Vitest",

@@ -55,20 +55,22 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>",

"@antfu/utils": "^0.7.10",
"@types/eslint": "^9.6.0",
"@typescript-eslint/utils": "^8.1.0"
"@types/eslint": "^9.6.1",
"@typescript-eslint/utils": "^8.17.0",
"ajv": "^6.12.6"
},
"devDependencies": {
"@antfu/eslint-config": "^2.25.2",
"@antfu/ni": "^0.22.4",
"@types/node": "^22.3.0",
"bumpp": "^9.5.1",
"eslint": "^9.9.0",
"esno": "^4.7.0",
"lint-staged": "^15.2.9",
"pnpm": "^9.7.1",
"@antfu/eslint-config": "^3.11.2",
"@antfu/ni": "^0.23.1",
"@types/node": "^22.10.1",
"bumpp": "^9.8.1",
"eslint": "^9.16.0",
"esno": "^4.8.0",
"lint-staged": "^15.2.10",
"pnpm": "^9.14.4",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.5.4",
"taze": "^0.18.0",
"typescript": "~5.6.3",
"unbuild": "^2.0.0",
"vite": "^5.4.1",
"vitest": "^2.0.5"
"vite": "^6.0.2",
"vitest": "^2.1.8"
},

@@ -75,0 +77,0 @@ "simple-git-hooks": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc