@eslint-react/shared 1.5.6-next.4 → 1.5.6-next.5
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.js +1 -3
- package/dist/index.mjs +1 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -190,7 +190,7 @@ var getDocsUrl = (pluginName) => (ruleName) => {
|
|
|
190
190
|
};
|
|
191
191
|
var createRuleForPlugin = (pluginName) => utils.ESLintUtils.RuleCreator(getDocsUrl(pluginName));
|
|
192
192
|
|
|
193
|
-
// ../../node_modules/.pnpm/valibot@0.
|
|
193
|
+
// ../../node_modules/.pnpm/valibot@0.30.0/node_modules/valibot/dist/index.js
|
|
194
194
|
var ValiError = class extends Error {
|
|
195
195
|
issues;
|
|
196
196
|
/**
|
|
@@ -524,9 +524,7 @@ function safeParse(schema, input, config) {
|
|
|
524
524
|
return {
|
|
525
525
|
typed: result.typed,
|
|
526
526
|
success: !result.issues,
|
|
527
|
-
data: result.output,
|
|
528
527
|
output: result.output,
|
|
529
|
-
error: result.issues && new ValiError(result.issues),
|
|
530
528
|
issues: result.issues
|
|
531
529
|
};
|
|
532
530
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -188,7 +188,7 @@ var getDocsUrl = (pluginName) => (ruleName) => {
|
|
|
188
188
|
};
|
|
189
189
|
var createRuleForPlugin = (pluginName) => ESLintUtils.RuleCreator(getDocsUrl(pluginName));
|
|
190
190
|
|
|
191
|
-
// ../../node_modules/.pnpm/valibot@0.
|
|
191
|
+
// ../../node_modules/.pnpm/valibot@0.30.0/node_modules/valibot/dist/index.js
|
|
192
192
|
var ValiError = class extends Error {
|
|
193
193
|
issues;
|
|
194
194
|
/**
|
|
@@ -522,9 +522,7 @@ function safeParse(schema, input, config) {
|
|
|
522
522
|
return {
|
|
523
523
|
typed: result.typed,
|
|
524
524
|
success: !result.issues,
|
|
525
|
-
data: result.output,
|
|
526
525
|
output: result.output,
|
|
527
|
-
error: result.issues && new ValiError(result.issues),
|
|
528
526
|
issues: result.issues
|
|
529
527
|
};
|
|
530
528
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/shared",
|
|
3
|
-
"version": "1.5.6-next.
|
|
3
|
+
"version": "1.5.6-next.5",
|
|
4
4
|
"description": "ESLint React's Shared constants and functions.",
|
|
5
5
|
"homepage": "https://github.com/rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"type-fest": "4.11.1",
|
|
43
|
-
"valibot": "0.
|
|
43
|
+
"valibot": "0.30.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "tsup",
|