acaleph-eslint 1.0.7 → 1.0.8

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.cjs CHANGED
@@ -183,10 +183,9 @@ async function interopDefault(m) {
183
183
  function renameRules(rules, map) {
184
184
  return Object.fromEntries(
185
185
  Object.entries(rules).map(([key, value]) => {
186
- for (const [from, to] of Object.entries(map)) {
186
+ for (const [from, to] of Object.entries(map))
187
187
  if (key.startsWith(`${from}/`))
188
188
  return [to + key.slice(from.length), value];
189
- }
190
189
  return [key, value];
191
190
  })
192
191
  );
package/dist/index.js CHANGED
@@ -136,10 +136,9 @@ async function interopDefault(m) {
136
136
  function renameRules(rules, map) {
137
137
  return Object.fromEntries(
138
138
  Object.entries(rules).map(([key, value]) => {
139
- for (const [from, to] of Object.entries(map)) {
139
+ for (const [from, to] of Object.entries(map))
140
140
  if (key.startsWith(`${from}/`))
141
141
  return [to + key.slice(from.length), value];
142
- }
143
142
  return [key, value];
144
143
  })
145
144
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "acaleph-eslint",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",