rds_ssm_connect 1.8.5 → 1.8.6

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/connect.js +4 -2
  2. package/package.json +1 -1
package/connect.js CHANGED
@@ -1100,8 +1100,10 @@ async function main() {
1100
1100
  console.log(` Port: ${portNumber}`)
1101
1101
  console.log(` Username: ${CREDENTIALS.username}`)
1102
1102
  // Copy password to clipboard without logging it in clear text
1103
- const copied = copyToClipboard(CREDENTIALS.password)
1104
- console.log(` Password: ${'*'.repeat(CREDENTIALS.password.length)}${copied ? ' (copied to clipboard)' : ''}`)
1103
+ const pw = CREDENTIALS.password
1104
+ const pwLen = pw.length
1105
+ const copied = copyToClipboard(pw)
1106
+ console.log(` Password: ${'*'.repeat(pwLen)}${copied ? ' (copied to clipboard)' : ''}`)
1105
1107
  console.log(` Database: ${projectConfig.database}`)
1106
1108
  console.log(`\n⏳ Starting port forwarding...`)
1107
1109
  console.log(' Press Ctrl+C to disconnect\n')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rds_ssm_connect",
3
- "version": "1.8.5",
3
+ "version": "1.8.6",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",