mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 02:25:07 +00:00
deps: upgrade pacote to v11
This commit is contained in:
parent
91f056e9e7
commit
431f437d18
2 changed files with 3 additions and 3 deletions
|
|
@ -22,6 +22,7 @@
|
|||
// - Kevin van Zonneveld <kevin@transloadit.com>
|
||||
|
||||
const path = require('path')
|
||||
const { pipeline } = require('stream/promises')
|
||||
const AWS = require('aws-sdk')
|
||||
const packlist = require('npm-packlist')
|
||||
const tar = require('tar')
|
||||
|
|
@ -50,8 +51,7 @@ from npm and filtering it down to package/dist/ files.
|
|||
*/
|
||||
async function getRemoteDistFiles (packageName, version) {
|
||||
const files = new Map()
|
||||
const tarball = pacote.tarball.stream(`${packageName}@${version}`)
|
||||
.pipe(new tar.Parse())
|
||||
const tarball = await pacote.tarball.stream(`${packageName}@${version}`, stream => pipeline(stream, new tar.Parse()))
|
||||
|
||||
tarball.on('entry', (readEntry) => {
|
||||
if (readEntry.path.startsWith('package/dist/')) {
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@
|
|||
"npm-packlist": "^2.2.2",
|
||||
"npm-run-all": "4.1.5",
|
||||
"onchange": "^7.1.0",
|
||||
"pacote": "9.5.12",
|
||||
"pacote": "^11.3.4",
|
||||
"postcss": "8.2.10",
|
||||
"postcss-dir-pseudo-class": "^5.0.0",
|
||||
"postcss-logical": "^4.0.2",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue