@plumeria/eslint-plugin 21.2.2 → 21.2.3
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/util/staticValue.js +3 -1
- package/package.json +2 -2
package/dist/util/staticValue.js
CHANGED
|
@@ -82,7 +82,9 @@ function staticValueResolver(context) {
|
|
|
82
82
|
return node.property.name;
|
|
83
83
|
}
|
|
84
84
|
const key = resolve(node.property);
|
|
85
|
-
return typeof key === 'string'
|
|
85
|
+
return typeof key === 'string' || typeof key === 'number'
|
|
86
|
+
? String(key)
|
|
87
|
+
: undefined;
|
|
86
88
|
};
|
|
87
89
|
const resolve = (node) => {
|
|
88
90
|
node = unwrap(node);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/eslint-plugin",
|
|
3
|
-
"version": "21.2.
|
|
3
|
+
"version": "21.2.3",
|
|
4
4
|
"description": "Plumeria ESLint plugin",
|
|
5
5
|
"author": "Refirst 11",
|
|
6
6
|
"license": "MIT",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"oxlint": "1.87.0",
|
|
61
61
|
"zss-engine": "3.0.1",
|
|
62
|
-
"@plumeria/compiler": "21.2.
|
|
62
|
+
"@plumeria/compiler": "21.2.3"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build": "rimraf dist && pnpm cjs",
|