@13w/miri 1.1.18 → 1.1.19

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.
Files changed (2) hide show
  1. package/dist/cli.js +4 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -29,7 +29,7 @@ const listSshAgentKeys = async () => {
29
29
  const request = Buffer.from([0, 0, 0, 1, 0x0B]); // SSH_AGENTC_REQUEST_IDENTITIES
30
30
  conn.end(request);
31
31
  });
32
- console.log(colors.dim(' reading keys from SSH-Agent...'));
32
+ console.log(colors.gray(' reading keys from SSH-Agent...'));
33
33
  for await (const chunk of conn) {
34
34
  if (chunk.length < 5 || chunk.readUInt8(4) !== 12) {
35
35
  continue;
@@ -46,7 +46,7 @@ const listSshAgentKeys = async () => {
46
46
  }
47
47
  }
48
48
  if (keys.length) {
49
- console.log(colors.dim(` ${keys.length} loaded...`));
49
+ console.log(colors.gray(` ${keys.length} loaded...`));
50
50
  }
51
51
  return keys;
52
52
  };
@@ -152,14 +152,14 @@ const createSSHTunnel = async (opts) => {
152
152
  const agentKeys = await listSshAgentKeys();
153
153
  const publicKeyBody = await readFile(config.sshPublicKey, 'utf-8').catch(() => '');
154
154
  if (agentKeys.includes(publicKeyBody.split(' ')[1])) {
155
- console.log(colors.dim(' Using SSH-Agent'));
155
+ console.log(colors.gray(' Using SSH-Agent'));
156
156
  // key already loaded
157
157
  }
158
158
  else if (config.sshKey) {
159
159
  const privateKey = await readFile(config.sshKey).catch(() => void 0);
160
160
  if (privateKey && !isKeyPublic(privateKey)) {
161
161
  sshOptions.privateKey = privateKey;
162
- console.log(colors.dim(` Using private key: ${config.sshKey}`));
162
+ console.log(colors.gray(` Using private key: ${config.sshKey}`));
163
163
  if (isKeyEncrypted(privateKey)) {
164
164
  sshOptions.passphrase = await askPassword();
165
165
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@13w/miri",
3
3
  "description": "MongoDB patch manager",
4
- "version": "1.1.18",
4
+ "version": "1.1.19",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": "v22"