You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this is a bit redundant, given the fact that whoever is calling
pacote already knows this by definition, it's also a huge pain to track
when kicking off a ton of requests in parallel. Much better to just
return it at the end of the process as well, to save the caller that
reassembly and bookkeeping.
Copy file name to clipboardexpand all lines: tap-snapshots/test-bin.js-TAP.test.js
+26-5
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Object {
11
11
"exitlog": Array [],
12
12
"loglog": Array [
13
13
Array [
14
-
"Pacote - The JavaScript Package Handler, v{VERSION}\\n\\nUsage:\\n\\n pacote resolve <spec>\\n Resolve a specifier and output the fully resolved target\\n\\n pacote manifest <spec>\\n Fetch a manifest and print to stdout\\n\\n pacote packument <spec>\\n Fetch a full packument and print to stdout\\n\\n pacote tarball <spec> [<filename>]\\n Fetch a package tarball and save to <filename>\\n If <filename> is missing or '-', the tarball will be streamed to stdout.\\n\\n pacote extract <spec> <folder>\\n Extract a package to the destination folder.\\n\\nConfiguration values all match the names of configs passed to npm, or options\\npassed to Pacote.\\n\\nFor example '--cache=/path/to/folder' will use that folder as the cache.\\n",
14
+
"Pacote - The JavaScript Package Handler, v{VERSION}\\n\\nUsage:\\n\\n pacote resolve <spec>\\n Resolve a specifier and output the fully resolved target\\n Returns integrity and from if '--long' flag is set.\\n\\n pacote manifest <spec>\\n Fetch a manifest and print to stdout\\n\\n pacote packument <spec>\\n Fetch a full packument and print to stdout\\n\\n pacote tarball <spec> [<filename>]\\n Fetch a package tarball and save to <filename>\\n If <filename> is missing or '-', the tarball will be streamed to stdout.\\n\\n pacote extract <spec> <folder>\\n Extract a package to the destination folder.\\n\\nConfiguration values all match the names of configs passed to npm, or\\noptions passed to Pacote. Additional flags for this executable:\\n\\n --long Print an object from 'resolve', including integrity and spec.\\n --json Print result objects as JSON rather than node's default.\\n (This is the default if stdout is not a TTY.)\\n --help -h Print this helpful text.\\n\\nFor example '--cache=/path/to/folder' will use that folder as the cache.\\n",
15
15
],
16
16
],
17
17
}
@@ -24,7 +24,7 @@ Object {
24
24
"bad command: blerg",
25
25
],
26
26
Array [
27
-
"Pacote - The JavaScript Package Handler, v{VERSION}\\n\\nUsage:\\n\\n pacote resolve <spec>\\n Resolve a specifier and output the fully resolved target\\n\\n pacote manifest <spec>\\n Fetch a manifest and print to stdout\\n\\n pacote packument <spec>\\n Fetch a full packument and print to stdout\\n\\n pacote tarball <spec> [<filename>]\\n Fetch a package tarball and save to <filename>\\n If <filename> is missing or '-', the tarball will be streamed to stdout.\\n\\n pacote extract <spec> <folder>\\n Extract a package to the destination folder.\\n\\nConfiguration values all match the names of configs passed to npm, or options\\npassed to Pacote.\\n\\nFor example '--cache=/path/to/folder' will use that folder as the cache.\\n",
27
+
"Pacote - The JavaScript Package Handler, v{VERSION}\\n\\nUsage:\\n\\n pacote resolve <spec>\\n Resolve a specifier and output the fully resolved target\\n Returns integrity and from if '--long' flag is set.\\n\\n pacote manifest <spec>\\n Fetch a manifest and print to stdout\\n\\n pacote packument <spec>\\n Fetch a full packument and print to stdout\\n\\n pacote tarball <spec> [<filename>]\\n Fetch a package tarball and save to <filename>\\n If <filename> is missing or '-', the tarball will be streamed to stdout.\\n\\n pacote extract <spec> <folder>\\n Extract a package to the destination folder.\\n\\nConfiguration values all match the names of configs passed to npm, or\\noptions passed to Pacote. Additional flags for this executable:\\n\\n --long Print an object from 'resolve', including integrity and spec.\\n --json Print result objects as JSON rather than node's default.\\n (This is the default if stdout is not a TTY.)\\n --help -h Print this helpful text.\\n\\nFor example '--cache=/path/to/folder' will use that folder as the cache.\\n",
0 commit comments