File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 11'use strict'
2- const libnpm = require ( 'libnpm ' )
2+ const pacote = require ( 'pacote ' )
33
44const Packument = module . exports . Packument =
55class Packument {
@@ -12,7 +12,7 @@ class Packument {
1212}
1313
1414module . exports . getPackument = async function getNpmPackument ( packageName ) {
15- const resp = await libnpm . packument ( packageName )
15+ const resp = await pacote . packument ( packageName )
1616 return new Packument ( resp )
1717}
1818
@@ -30,6 +30,6 @@ class Manifest {
3030 }
3131}
3232module . exports . getManifest = async function getNpmManifest ( packageName ) {
33- const resp = await libnpm . manifest ( packageName )
33+ const resp = await pacote . manifest ( packageName )
3434 return new Manifest ( resp )
3535}
Original file line number Diff line number Diff line change 5151 "install" : " ^0.13.0" ,
5252 "js-yaml" : " ^3.13.1" ,
5353 "level" : " ^5.0.1" ,
54- "libnpm" : " ^2.0.1" ,
5554 "lit-element" : " ^2.2.1" ,
5655 "nighthawk" : " ^2.3.0-1" ,
57- "npm " : " ^6.10.3 " ,
56+ "pacote " : " ^20.0.0 " ,
5857 "regenerator-runtime" : " ^0.13.3" ,
5958 "yargs" : " ^13.3.0"
6059 },
You can’t perform that action at this time.
0 commit comments