comment-variables 2.3.2 → 2.3.4

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.
@@ -1,6 +1,6 @@
1
1
  // The Comment Variables config template generated in case no config file has been found.
2
2
 
3
- /* variants */
3
+ /* variants and labels */
4
4
 
5
5
  const EN = "en";
6
6
  const ENGLISH = "English";
@@ -49,9 +49,12 @@ const myIgnoresOnly = false; // can be omitted
49
49
 
50
50
  /* composedVariablesExclusives */
51
51
 
52
- const enComposedVariablesExclusives = ["EN#COMMENTS#YES"];
53
-
54
- const frComposedVariablesExclusives = ["FR#COMMENTS#YES"];
52
+ const enComposedVariablesExclusives = /** @type {string[]} */ ([
53
+ "EN#COMMENTS#YES",
54
+ ]);
55
+ const frComposedVariablesExclusives = /** @type {string[]} */ ([
56
+ "FR#COMMENTS#YES",
57
+ ]);
55
58
 
56
59
  const composedVariablesExclusives = [
57
60
  ...enComposedVariablesExclusives,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comment-variables",
3
- "version": "2.3.2",
3
+ "version": "2.3.4",
4
4
  "description": "A CLI tool for configuring, managing and maintaining JavaScript comments as JavaScript variables.",
5
5
  "bin": {
6
6
  "comment-variables": "./library/index.js",
@@ -31,7 +31,7 @@
31
31
  "type": "module",
32
32
  "dependencies": {
33
33
  "@eslint/markdown": "^6.5.0",
34
- "comment-variables-resolve-config": "^2.3.2",
34
+ "comment-variables-resolve-config": "^2.3.4",
35
35
  "eslint": "^9.29.0",
36
36
  "prompts": "^2.4.2"
37
37
  },