pacote 13.4.0 → 13.4.1

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/lib/dir.js +3 -1
  2. package/package.json +1 -1
package/lib/dir.js CHANGED
@@ -63,10 +63,12 @@ class DirFetcher extends Fetcher {
63
63
  stream.resolved = this.resolved
64
64
  stream.integrity = this.integrity
65
65
 
66
+ const { prefix, workspaces } = this.opts
67
+
66
68
  // run the prepare script, get the list of files, and tar it up
67
69
  // pipe to the stream, and proxy errors the chain.
68
70
  this[_prepareDir]()
69
- .then(() => packlist({ path: this.resolved }))
71
+ .then(() => packlist({ path: this.resolved, prefix, workspaces }))
70
72
  .then(files => tar.c(tarCreateOptions(this.package), files)
71
73
  .on('error', er => stream.emit('error', er)).pipe(stream))
72
74
  .catch(er => stream.emit('error', er))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacote",
3
- "version": "13.4.0",
3
+ "version": "13.4.1",
4
4
  "description": "JavaScript package downloader",
5
5
  "author": "GitHub Inc.",
6
6
  "bin": {