eslint-plugin-svelte 3.2.0 → 3.2.1

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/lib/main.d.ts CHANGED
@@ -14,7 +14,7 @@ export declare const configs: {
14
14
  export declare const rules: Record<string, Rule.RuleModule>;
15
15
  export declare const meta: {
16
16
  name: "eslint-plugin-svelte";
17
- version: "3.2.0";
17
+ version: "3.2.1";
18
18
  };
19
19
  export declare const processors: {
20
20
  '.svelte': typeof processor;
package/lib/meta.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export declare const name = "eslint-plugin-svelte";
2
- export declare const version = "3.2.0";
2
+ export declare const version = "3.2.1";
package/lib/meta.js CHANGED
@@ -2,4 +2,4 @@
2
2
  // This file has been automatically generated,
3
3
  // in order to update its content execute "pnpm run update"
4
4
  export const name = 'eslint-plugin-svelte';
5
- export const version = '3.2.0';
5
+ export const version = '3.2.1';
@@ -267,7 +267,7 @@ export default createRule('no-unused-props', {
267
267
  .filter((v) => v.type === 'Identifier');
268
268
  for (const identifier of identifiers) {
269
269
  const paths = getUsedNestedPropertyNames(identifier);
270
- usedPaths.push(...paths);
270
+ usedPaths.push(...paths.map((path) => [identifier.name, ...path]));
271
271
  }
272
272
  }
273
273
  else if (node.id.type === 'Identifier') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-svelte",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "description": "ESLint plugin for Svelte using AST",
5
5
  "repository": "git+https://github.com/sveltejs/eslint-plugin-svelte.git",
6
6
  "homepage": "https://sveltejs.github.io/eslint-plugin-svelte",