@eslint-react/shared 1.5.31-next.0 → 1.5.31-next.2

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/index.d.mts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { ESLintUtils } from '@typescript-eslint/utils';
2
2
  import * as valibot from 'valibot';
3
3
  import { InferOutput } from 'valibot';
4
- import { ReadonlyDeep } from 'type-fest';
5
4
 
6
5
  /**
7
6
  * -----------------------------------------------------------------------------
@@ -324,9 +323,12 @@ declare const ESLintSettingsSchema: valibot.ObjectSchema<{
324
323
  }, undefined>, never>;
325
324
  }, undefined>, never>;
326
325
  }, undefined>;
327
- type ESLintReactXSettings = ReadonlyDeep<InferOutput<typeof ESLintReactXSettingsSchema>>;
328
- type ESLintSettings = ReadonlyDeep<InferOutput<typeof ESLintSettingsSchema>>;
326
+ type CustomHook = InferOutput<typeof CustomHookSchema>;
327
+ type CustomAttribute = InferOutput<typeof CustomAttributeSchema>;
328
+ type CustomComponent = InferOutput<typeof CustomComponentSchema>;
329
+ type ESLintReactXSettings = InferOutput<typeof ESLintReactXSettingsSchema>;
330
+ type ESLintSettings = InferOutput<typeof ESLintSettingsSchema>;
329
331
 
330
332
  declare function parseESLintSettings(data: unknown): ESLintSettings;
331
333
 
332
- export { CustomAttributeSchema, CustomComponentSchema, CustomHookSchema, type ESLintReactXSettings, ESLintReactXSettingsSchema, type ESLintSettings, ESLintSettingsSchema, GITHUB_URL, HOST_HTML_COMPONENT_TYPES, HOST_SVG_COMPONENT_TYPES, NPM_SCOPE, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_SNAKE_CASE, WEBSITE_URL, createRuleForPlugin, parseESLintSettings };
334
+ export { type CustomAttribute, CustomAttributeSchema, type CustomComponent, CustomComponentSchema, type CustomHook, CustomHookSchema, type ESLintReactXSettings, ESLintReactXSettingsSchema, type ESLintSettings, ESLintSettingsSchema, GITHUB_URL, HOST_HTML_COMPONENT_TYPES, HOST_SVG_COMPONENT_TYPES, NPM_SCOPE, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_SNAKE_CASE, WEBSITE_URL, createRuleForPlugin, parseESLintSettings };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { ESLintUtils } from '@typescript-eslint/utils';
2
2
  import * as valibot from 'valibot';
3
3
  import { InferOutput } from 'valibot';
4
- import { ReadonlyDeep } from 'type-fest';
5
4
 
6
5
  /**
7
6
  * -----------------------------------------------------------------------------
@@ -324,9 +323,12 @@ declare const ESLintSettingsSchema: valibot.ObjectSchema<{
324
323
  }, undefined>, never>;
325
324
  }, undefined>, never>;
326
325
  }, undefined>;
327
- type ESLintReactXSettings = ReadonlyDeep<InferOutput<typeof ESLintReactXSettingsSchema>>;
328
- type ESLintSettings = ReadonlyDeep<InferOutput<typeof ESLintSettingsSchema>>;
326
+ type CustomHook = InferOutput<typeof CustomHookSchema>;
327
+ type CustomAttribute = InferOutput<typeof CustomAttributeSchema>;
328
+ type CustomComponent = InferOutput<typeof CustomComponentSchema>;
329
+ type ESLintReactXSettings = InferOutput<typeof ESLintReactXSettingsSchema>;
330
+ type ESLintSettings = InferOutput<typeof ESLintSettingsSchema>;
329
331
 
330
332
  declare function parseESLintSettings(data: unknown): ESLintSettings;
331
333
 
332
- export { CustomAttributeSchema, CustomComponentSchema, CustomHookSchema, type ESLintReactXSettings, ESLintReactXSettingsSchema, type ESLintSettings, ESLintSettingsSchema, GITHUB_URL, HOST_HTML_COMPONENT_TYPES, HOST_SVG_COMPONENT_TYPES, NPM_SCOPE, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_SNAKE_CASE, WEBSITE_URL, createRuleForPlugin, parseESLintSettings };
334
+ export { type CustomAttribute, CustomAttributeSchema, type CustomComponent, CustomComponentSchema, type CustomHook, CustomHookSchema, type ESLintReactXSettings, ESLintReactXSettingsSchema, type ESLintSettings, ESLintSettingsSchema, GITHUB_URL, HOST_HTML_COMPONENT_TYPES, HOST_SVG_COMPONENT_TYPES, NPM_SCOPE, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_SNAKE_CASE, WEBSITE_URL, createRuleForPlugin, parseESLintSettings };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/shared",
3
- "version": "1.5.31-next.0",
3
+ "version": "1.5.31-next.2",
4
4
  "description": "ESLint React's Shared constants and functions.",
5
5
  "homepage": "https://github.com/rel1cx/eslint-react",
6
6
  "bugs": {
@@ -35,11 +35,11 @@
35
35
  "./package.json"
36
36
  ],
37
37
  "dependencies": {
38
- "@typescript-eslint/utils": "^7.16.1"
38
+ "@typescript-eslint/utils": "^7.17.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "tsup": "8.2.2",
42
- "type-fest": "4.22.1",
42
+ "type-fest": "4.23.0",
43
43
  "valibot": "0.36.0"
44
44
  },
45
45
  "scripts": {