PHP 8.2.30
Preview: opts.js Size: 371 B
/proc/self/root/opt/alt/alt-nodejs19/root/lib/node_modules/npm/node_modules.bundled/@npmcli/git/lib/opts.js

// Values we want to set if they're not already defined by the end user
// This defaults to accepting new ssh host key fingerprints
const gitEnv = {
  GIT_ASKPASS: 'echo',
  GIT_SSH_COMMAND: 'ssh -oStrictHostKeyChecking=accept-new',
}
module.exports = (opts = {}) => ({
  stdioString: true,
  ...opts,
  shell: false,
  env: opts.env || { ...gitEnv, ...process.env },
})

Directory Contents

Dirs: 0 × Files: 13

Name Size Perms Modified Actions
4.82 KB lrw-r--r-- 2023-12-06 18:07:50
Edit Download
600 B lrw-r--r-- 2023-12-06 18:07:50
Edit Download
300 B lrw-r--r-- 2023-12-06 18:07:50
Edit Download
242 B lrw-r--r-- 2023-12-06 18:07:50
Edit Download
222 B lrw-r--r-- 2023-12-06 18:07:50
Edit Download
271 B lrw-r--r-- 2023-12-06 18:07:50
Edit Download
3.97 KB lrw-r--r-- 2023-12-06 18:07:50
Edit Download
861 B lrw-r--r-- 2023-12-06 18:07:50
Edit Download
371 B lrw-r--r-- 2023-12-06 18:07:50
Edit Download
638 B lrw-r--r-- 2023-12-06 18:07:50
Edit Download
1.27 KB lrw-r--r-- 2023-12-06 18:07:50
Edit Download
109 B lrw-r--r-- 2023-12-06 18:07:50
Edit Download
339 B lrw-r--r-- 2023-12-06 18:07:50
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).