Skip to content

Commit b8dca23

Browse files
committed
fix: prevent arbitrary file write via symlink extraction
see ce1c013
1 parent ce1c013 commit b8dca23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const urllib = require('urllib');
169169
const targetDir = require('os').tmpdir();
170170
const compressing = require('compressing');
171171

172-
urllib.request('http://registry.npmjs.org/pedding/-/pedding-1.1.0.tgz', {
172+
urllib.request('http://registry.npmjs.org/compressing/-/compressing-2.0.0.tgz', {
173173
streaming: true,
174174
followRedirect: true,
175175
})

0 commit comments

Comments
 (0)