From 4c12421afb47093e5f222696113e30275b572d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Thu, 11 May 2017 19:45:26 -0700 Subject: [PATCH] fix(manifest): _resolved is the only main field we do not overwrite --- lib/finalize-manifest.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/finalize-manifest.js b/lib/finalize-manifest.js index 7631b7f..cd303a9 100644 --- a/lib/finalize-manifest.js +++ b/lib/finalize-manifest.js @@ -162,6 +162,7 @@ function tarballedProps (pkg, spec, opts) { needsExtract && pipe(tarStream, gunzip(), extracted), (sr, mani, paths, hash) => { const extraProps = mani || {} + delete extraProps._resolved // drain out the rest of the tarball tarStream.unpipe() tarStream.on('data', () => {})