@sapphire/eslint-plugin-result 2.0.5-next.7b747c3e → 2.0.5-next.a3da0ab0
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/cjs/index.cjs +4 -3
- package/dist/esm/index.mjs +4 -3
- package/package.json +5 -5
package/dist/cjs/index.cjs
CHANGED
|
@@ -14,7 +14,8 @@ var __name = (target, value) => __defProp(target, "name", { value, configurable:
|
|
|
14
14
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
15
15
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
16
16
|
}) : x)(function(x) {
|
|
17
|
-
if (typeof require !== "undefined")
|
|
17
|
+
if (typeof require !== "undefined")
|
|
18
|
+
return require.apply(this, arguments);
|
|
18
19
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
19
20
|
});
|
|
20
21
|
var __esm = (fn, res) => function __init() {
|
|
@@ -116,7 +117,7 @@ var init_no_discard_result = __esm({
|
|
|
116
117
|
schema: []
|
|
117
118
|
},
|
|
118
119
|
defaultOptions: [],
|
|
119
|
-
create:
|
|
120
|
+
create: (context) => {
|
|
120
121
|
return {
|
|
121
122
|
CallExpression(callExpressionNode) {
|
|
122
123
|
const service = utils.ESLintUtils.getParserServices(context);
|
|
@@ -129,7 +130,7 @@ var init_no_discard_result = __esm({
|
|
|
129
130
|
}
|
|
130
131
|
}
|
|
131
132
|
};
|
|
132
|
-
}
|
|
133
|
+
}
|
|
133
134
|
});
|
|
134
135
|
}
|
|
135
136
|
});
|
package/dist/esm/index.mjs
CHANGED
|
@@ -8,7 +8,8 @@ var __name = (target, value) => __defProp(target, "name", { value, configurable:
|
|
|
8
8
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
9
9
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
10
10
|
}) : x)(function(x) {
|
|
11
|
-
if (typeof require !== "undefined")
|
|
11
|
+
if (typeof require !== "undefined")
|
|
12
|
+
return require.apply(this, arguments);
|
|
12
13
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
13
14
|
});
|
|
14
15
|
var __esm = (fn, res) => function __init() {
|
|
@@ -110,7 +111,7 @@ var init_no_discard_result = __esm({
|
|
|
110
111
|
schema: []
|
|
111
112
|
},
|
|
112
113
|
defaultOptions: [],
|
|
113
|
-
create:
|
|
114
|
+
create: (context) => {
|
|
114
115
|
return {
|
|
115
116
|
CallExpression(callExpressionNode) {
|
|
116
117
|
const service = ESLintUtils.getParserServices(context);
|
|
@@ -123,7 +124,7 @@ var init_no_discard_result = __esm({
|
|
|
123
124
|
}
|
|
124
125
|
}
|
|
125
126
|
};
|
|
126
|
-
}
|
|
127
|
+
}
|
|
127
128
|
});
|
|
128
129
|
}
|
|
129
130
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapphire/eslint-plugin-result",
|
|
3
|
-
"version": "2.0.5-next.
|
|
3
|
+
"version": "2.0.5-next.a3da0ab0",
|
|
4
4
|
"description": "A TypeScript ESLint plugin for @sapphire/result",
|
|
5
5
|
"author": "@sapphire",
|
|
6
6
|
"license": "MIT",
|
|
@@ -53,16 +53,16 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@favware/cliff-jumper": "^4.0.2",
|
|
56
|
-
"@typescript-eslint/rule-tester": "^7.
|
|
57
|
-
"@typescript-eslint/typescript-estree": "^7.
|
|
56
|
+
"@typescript-eslint/rule-tester": "^7.11.0",
|
|
57
|
+
"@typescript-eslint/typescript-estree": "^7.11.0",
|
|
58
58
|
"@vitest/coverage-v8": "^1.6.0",
|
|
59
|
-
"tsup": "^8.
|
|
59
|
+
"tsup": "^8.0.2",
|
|
60
60
|
"typedoc-json-parser": "^10.0.0",
|
|
61
61
|
"vitest": "^1.6.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@sapphire/result": "^2.6.6",
|
|
65
|
-
"@typescript-eslint/utils": "^7.
|
|
65
|
+
"@typescript-eslint/utils": "^7.11.0",
|
|
66
66
|
"tsutils": "^3.21.0",
|
|
67
67
|
"typescript": "^5.4.5"
|
|
68
68
|
}
|