@putout/plugin-putout 19.3.0 → 19.3.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/README.md CHANGED
@@ -1130,7 +1130,11 @@ const {
1130
1130
  overridesPath,
1131
1131
  parserPath,
1132
1132
  rulesPath,
1133
- } = getProperties(__jsonPath, ['parser', 'rules', 'extends']);
1133
+ } = getProperties(__jsonPath, [
1134
+ 'parser',
1135
+ 'rules',
1136
+ 'extends',
1137
+ ]);
1134
1138
  ```
1135
1139
 
1136
1140
  ## License
@@ -21,6 +21,10 @@ module.exports.traverse = ({push}) => ({
21
21
 
22
22
  for (const nameProp of __cPath.get('elements')) {
23
23
  let used = false;
24
+
25
+ if (!nameProp.isStringLiteral())
26
+ break;
27
+
24
28
  const {value} = nameProp.node;
25
29
 
26
30
  for (const prop of __a.properties) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/plugin-putout",
3
- "version": "19.3.0",
3
+ "version": "19.3.1",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout plugin helps with plugins development",