comment-variables 0.8.1 → 0.8.2
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/comments.config.js +1 -1
- package/library/index.js +2 -0
- package/package.json +2 -2
package/comments.config.js
CHANGED
|
@@ -3,8 +3,8 @@ const data = {
|
|
|
3
3
|
levelOne: {
|
|
4
4
|
levelTwo: {
|
|
5
5
|
levelThree: "Level three.",
|
|
6
|
+
stillLevelThree: "LEVELONE#LEVELTWO#LEVELTHREE", // errors, value is also a normalized key // now is an alias
|
|
6
7
|
// levelthree: "Also level three.", // errors, duplicate normalized key
|
|
7
|
-
// stillLevelThree: "LEVELONE#LEVELTWO#LEVELTHREE", // errors, value is also a normalized key
|
|
8
8
|
// alsoLevelThree: "Level three.", // errors, duplicate value
|
|
9
9
|
// tooLevelThree: 2, // errors, value is invalid
|
|
10
10
|
// $levelThree: "Dollar sign", // errors, key as "$" character
|
package/library/index.js
CHANGED
|
@@ -76,6 +76,7 @@ const {
|
|
|
76
76
|
config,
|
|
77
77
|
flattenedConfigData,
|
|
78
78
|
reversedFlattenedConfigData,
|
|
79
|
+
aliases_flattenedKeys,
|
|
79
80
|
configPath,
|
|
80
81
|
passedIgnores,
|
|
81
82
|
rawConfigAndImportPaths,
|
|
@@ -88,6 +89,7 @@ skipDetails ||
|
|
|
88
89
|
"Reversed flattened config data is:",
|
|
89
90
|
reversedFlattenedConfigData
|
|
90
91
|
);
|
|
92
|
+
skipDetails || console.log("Aliases are:", aliases_flattenedKeys);
|
|
91
93
|
skipDetails || console.log("Config path is:", configPath);
|
|
92
94
|
skipDetails || console.log("Passed ignores are:", passedIgnores);
|
|
93
95
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "comment-variables",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "A CLI tool for configuring, managing and maintaining JavaScript comments as JavaScript variables.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"jscomments": "./library/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"type": "module",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@eslint/markdown": "^6.5.0",
|
|
29
|
-
"comment-variables-resolve-config": "^1.
|
|
29
|
+
"comment-variables-resolve-config": "^1.4.1",
|
|
30
30
|
"eslint": "^9.29.0",
|
|
31
31
|
"zod": "^3.25.67"
|
|
32
32
|
},
|