@sapphire/eslint-plugin-result 2.0.5-next.cd7e6b59 → 2.0.5-next.ceacefc4

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/CHANGELOG.md CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- # [@sapphire/eslint-plugin-result@2.0.4](https://github.com/sapphire/eslint-plugin-result/compare/@sapphire/eslint-plugin-result@2.0.3...@sapphire/eslint-plugin-result@2.0.4) - (2024-06-03)
5
+ # [@sapphire/eslint-plugin-result@2.0.4](https://github.com/sapphiredev/utilities/compare/@sapphire/eslint-plugin-result@2.0.3...@sapphire/eslint-plugin-result@2.0.4) - (2024-06-03)
6
6
 
7
7
  ## 🐛 Bug Fixes
8
8
 
9
- - **eslint-plugin-result:** Bump transient dependencies ([6d030e2](https://github.com/sapphire/eslint-plugin-result/commit/6d030e28b6f9b84b309e2729bba0597e7f5898e0))
10
- - **deps:** Update all non-major dependencies ([7dc491a](https://github.com/sapphire/eslint-plugin-result/commit/7dc491a3eebea3bd320fcc73d3b434067646c7df))
9
+ - **eslint-plugin-result:** Bump transient dependencies ([6d030e2](https://github.com/sapphiredev/utilities/commit/6d030e28b6f9b84b309e2729bba0597e7f5898e0))
10
+ - **deps:** Update all non-major dependencies ([7dc491a](https://github.com/sapphiredev/utilities/commit/7dc491a3eebea3bd320fcc73d3b434067646c7df))
11
11
 
12
12
  # [@sapphire/eslint-plugin-result@2.0.3](https://github.com/sapphiredev/utilities/compare/@sapphire/eslint-plugin-result@2.0.2...@sapphire/eslint-plugin-result@2.0.3) - (2024-03-11)
13
13
 
package/README.md CHANGED
@@ -7,7 +7,6 @@
7
7
  **A TypeScript ESLint plugin for @sapphire/result**
8
8
 
9
9
  [![GitHub](https://img.shields.io/github/license/sapphiredev/utilities)](https://github.com/sapphiredev/utilities/blob/main/LICENSE.md)
10
- [![codecov](https://codecov.io/gh/sapphiredev/utilities/branch/main/graph/badge.svg?token=OEGIV6RFDO)](https://codecov.io/gh/sapphiredev/utilities)
11
10
  [![npm bundle size](https://img.shields.io/bundlephobia/min/@sapphire/eslint-plugin-result?logo=webpack&style=flat-square)](https://bundlephobia.com/eslint-plugin-result?p=@sapphire/eslint-plugin-result)
12
11
  [![npm](https://img.shields.io/npm/v/@sapphire/eslint-plugin-result?color=crimson&logo=npm&style=flat-square)](https://www.npmjs.com/package/@sapphire/eslint-plugin-result)
13
12
 
@@ -14,8 +14,7 @@ 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")
18
- return require.apply(this, arguments);
17
+ if (typeof require !== "undefined") return require.apply(this, arguments);
19
18
  throw Error('Dynamic require of "' + x + '" is not supported');
20
19
  });
21
20
  var __esm = (fn, res) => function __init() {
@@ -117,7 +116,7 @@ var init_no_discard_result = __esm({
117
116
  schema: []
118
117
  },
119
118
  defaultOptions: [],
120
- create: (context) => {
119
+ create: /* @__PURE__ */ __name((context) => {
121
120
  return {
122
121
  CallExpression(callExpressionNode) {
123
122
  const service = utils.ESLintUtils.getParserServices(context);
@@ -130,13 +129,13 @@ var init_no_discard_result = __esm({
130
129
  }
131
130
  }
132
131
  };
133
- }
132
+ }, "create")
134
133
  });
135
134
  }
136
135
  });
137
136
 
138
137
  // src/index.ts
139
- var require_src = __commonJS({
138
+ var require_index = __commonJS({
140
139
  "src/index.ts"(exports, module) {
141
140
  init_recommended();
142
141
  init_no_discard_result();
@@ -151,6 +150,6 @@ var require_src = __commonJS({
151
150
  module.exports = eslintPluginResult;
152
151
  }
153
152
  });
154
- var index = require_src();
153
+ var index = require_index();
155
154
 
156
155
  module.exports = index;
@@ -8,8 +8,7 @@ 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")
12
- return require.apply(this, arguments);
11
+ if (typeof require !== "undefined") return require.apply(this, arguments);
13
12
  throw Error('Dynamic require of "' + x + '" is not supported');
14
13
  });
15
14
  var __esm = (fn, res) => function __init() {
@@ -111,7 +110,7 @@ var init_no_discard_result = __esm({
111
110
  schema: []
112
111
  },
113
112
  defaultOptions: [],
114
- create: (context) => {
113
+ create: /* @__PURE__ */ __name((context) => {
115
114
  return {
116
115
  CallExpression(callExpressionNode) {
117
116
  const service = ESLintUtils.getParserServices(context);
@@ -124,13 +123,13 @@ var init_no_discard_result = __esm({
124
123
  }
125
124
  }
126
125
  };
127
- }
126
+ }, "create")
128
127
  });
129
128
  }
130
129
  });
131
130
 
132
131
  // src/index.ts
133
- var require_src = __commonJS({
132
+ var require_index = __commonJS({
134
133
  "src/index.ts"(exports, module) {
135
134
  init_recommended();
136
135
  init_no_discard_result();
@@ -145,6 +144,6 @@ var require_src = __commonJS({
145
144
  module.exports = eslintPluginResult;
146
145
  }
147
146
  });
148
- var index = require_src();
147
+ var index = require_index();
149
148
 
150
149
  export { index as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire/eslint-plugin-result",
3
- "version": "2.0.5-next.cd7e6b59",
3
+ "version": "2.0.5-next.ceacefc4",
4
4
  "description": "A TypeScript ESLint plugin for @sapphire/result",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
@@ -52,18 +52,18 @@
52
52
  "access": "public"
53
53
  },
54
54
  "devDependencies": {
55
- "@favware/cliff-jumper": "^4.0.2",
56
- "@typescript-eslint/rule-tester": "^7.11.0",
57
- "@typescript-eslint/typescript-estree": "^7.11.0",
58
- "@vitest/coverage-v8": "^1.6.0",
59
- "tsup": "^8.0.2",
60
- "typedoc-json-parser": "^10.0.0",
61
- "vitest": "^1.6.0"
55
+ "@favware/cliff-jumper": "^6.0.0",
56
+ "@typescript-eslint/rule-tester": "^7.18.0",
57
+ "@typescript-eslint/typescript-estree": "^7.18.0",
58
+ "@vitest/coverage-v8": "^3.2.4",
59
+ "tsup": "^8.5.0",
60
+ "typedoc-json-parser": "^10.2.0",
61
+ "vitest": "^3.2.4"
62
62
  },
63
63
  "dependencies": {
64
- "@sapphire/result": "^2.6.6",
65
- "@typescript-eslint/utils": "^7.11.0",
64
+ "@sapphire/result": "^2.7.3",
65
+ "@typescript-eslint/utils": "^7.18.0",
66
66
  "tsutils": "^3.21.0",
67
- "typescript": "^5.4.5"
67
+ "typescript": "~5.4.5"
68
68
  }
69
69
  }