@hasna/configs 0.1.4 → 0.1.5
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/cli/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -2528,7 +2528,7 @@ function redactIni(content) {
|
|
|
2528
2528
|
for (let i = 0;i < lines.length; i++) {
|
|
2529
2529
|
const line = lines[i];
|
|
2530
2530
|
const authM = line.match(/^(\/\/[^:]+:_authToken=)(.+)$/);
|
|
2531
|
-
if (authM) {
|
|
2531
|
+
if (authM && !authM[2].startsWith("{{")) {
|
|
2532
2532
|
redacted.push({ varName: "NPM_AUTH_TOKEN", line: i + 1, reason: "npm auth token" });
|
|
2533
2533
|
out.push(`${authM[1]}{{NPM_AUTH_TOKEN}}`);
|
|
2534
2534
|
continue;
|
package/dist/index.js
CHANGED
|
@@ -623,7 +623,7 @@ function redactIni(content) {
|
|
|
623
623
|
for (let i = 0;i < lines.length; i++) {
|
|
624
624
|
const line = lines[i];
|
|
625
625
|
const authM = line.match(/^(\/\/[^:]+:_authToken=)(.+)$/);
|
|
626
|
-
if (authM) {
|
|
626
|
+
if (authM && !authM[2].startsWith("{{")) {
|
|
627
627
|
redacted.push({ varName: "NPM_AUTH_TOKEN", line: i + 1, reason: "npm auth token" });
|
|
628
628
|
out.push(`${authM[1]}{{NPM_AUTH_TOKEN}}`);
|
|
629
629
|
continue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/configs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "AI coding agent configuration manager — store, version, apply, and share all your AI coding configs. CLI + MCP + REST API + Dashboard.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|