@synkro-sh/cli 1.4.56 → 1.4.58
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/bootstrap.js +5 -16
- package/dist/bootstrap.js.map +1 -1
- package/package.json +1 -1
package/dist/bootstrap.js
CHANGED
|
@@ -146,24 +146,12 @@ function installCCHooks(settingsPath, config) {
|
|
|
146
146
|
type: "command",
|
|
147
147
|
command: config.editPrecheckScriptPath,
|
|
148
148
|
timeout: 30
|
|
149
|
-
}
|
|
150
|
-
],
|
|
151
|
-
[SYNKRO_MARKER]: true
|
|
152
|
-
});
|
|
153
|
-
settings.hooks.PreToolUse.push({
|
|
154
|
-
matcher: "Edit|Write|MultiEdit|NotebookEdit",
|
|
155
|
-
hooks: [
|
|
149
|
+
},
|
|
156
150
|
{
|
|
157
151
|
type: "command",
|
|
158
152
|
command: config.cwePrecheckScriptPath,
|
|
159
153
|
timeout: 30
|
|
160
|
-
}
|
|
161
|
-
],
|
|
162
|
-
[SYNKRO_MARKER]: true
|
|
163
|
-
});
|
|
164
|
-
settings.hooks.PreToolUse.push({
|
|
165
|
-
matcher: "Edit|Write|MultiEdit|NotebookEdit",
|
|
166
|
-
hooks: [
|
|
154
|
+
},
|
|
167
155
|
{
|
|
168
156
|
type: "command",
|
|
169
157
|
command: config.cvePrecheckScriptPath,
|
|
@@ -2020,7 +2008,8 @@ async function main() {
|
|
|
2020
2008
|
const pkg = f.package || '?';
|
|
2021
2009
|
const ver = f.version || '?';
|
|
2022
2010
|
const title = f.title || f.summary || 'vulnerable';
|
|
2023
|
-
|
|
2011
|
+
const fix = f.fixed ? ' (fix: >=' + f.fixed + ')' : ' (no safe version \u2014 use an alternative)';
|
|
2012
|
+
return '[' + id + '] ' + pkg + '@' + ver + ': ' + title + fix;
|
|
2024
2013
|
}).join('; ');
|
|
2025
2014
|
|
|
2026
2015
|
const count = findings.length;
|
|
@@ -5105,7 +5094,7 @@ function writeConfigEnv(opts) {
|
|
|
5105
5094
|
`SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
|
|
5106
5095
|
`SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
|
|
5107
5096
|
`SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
|
|
5108
|
-
`SYNKRO_VERSION=${shellQuoteSingle("1.4.
|
|
5097
|
+
`SYNKRO_VERSION=${shellQuoteSingle("1.4.58")}`
|
|
5109
5098
|
];
|
|
5110
5099
|
if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
|
|
5111
5100
|
if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
|