eslint-plugin-formatjs 6.4.8 → 6.4.9
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/index.js +1 -1
- package/package.json +3 -3
- package/util.d.ts +2 -2
package/index.js
CHANGED
|
@@ -4539,7 +4539,7 @@ var package_exports = /* @__PURE__ */ __exportAll({
|
|
|
4539
4539
|
});
|
|
4540
4540
|
var name$1 = "eslint-plugin-formatjs";
|
|
4541
4541
|
var description = "ESLint plugin for formatjs";
|
|
4542
|
-
var version$1 = "6.4.
|
|
4542
|
+
var version$1 = "6.4.9";
|
|
4543
4543
|
var license = "MIT";
|
|
4544
4544
|
var author = "Long Ho <holevietlong@gmail.com>";
|
|
4545
4545
|
var type = "module";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-formatjs",
|
|
3
3
|
"description": "ESLint plugin for formatjs",
|
|
4
|
-
"version": "6.4.
|
|
4
|
+
"version": "6.4.9",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Long Ho <holevietlong@gmail.com>",
|
|
7
7
|
"type": "module",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"@unicode/unicode-17.0.0": "^1.6.16",
|
|
16
16
|
"magic-string": "^0.30.0",
|
|
17
17
|
"picomatch": "2 || 3 || 4",
|
|
18
|
-
"@formatjs/
|
|
19
|
-
"@formatjs/
|
|
18
|
+
"@formatjs/icu-messageformat-parser": "3.5.8",
|
|
19
|
+
"@formatjs/ts-transformer": "4.4.8"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"eslint": "9 || 10"
|
package/util.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageFormatElement } from "@formatjs/icu-messageformat-parser";
|
|
2
2
|
import { Rule } from "eslint";
|
|
3
3
|
|
|
4
|
-
//#region node_modules/.aspect_rules_js/@types+estree@1.0.
|
|
4
|
+
//#region node_modules/.aspect_rules_js/@types+estree@1.0.9/node_modules/@types/estree/index.d.ts
|
|
5
5
|
// This definition file follows a somewhat unusual format. ESTree allows
|
|
6
6
|
// runtime type checks based on the `type` parameter. In order to explain this
|
|
7
7
|
// to typescript we want to use discriminated union types:
|
|
@@ -251,7 +251,7 @@ interface PrivateIdentifier extends BaseNode {
|
|
|
251
251
|
}
|
|
252
252
|
interface Property extends BaseNode {
|
|
253
253
|
type: "Property";
|
|
254
|
-
key: Expression
|
|
254
|
+
key: Expression;
|
|
255
255
|
value: Expression | Pattern; // Could be an AssignmentProperty
|
|
256
256
|
kind: "init" | "get" | "set";
|
|
257
257
|
method: boolean;
|