Skip to content

Commit

Permalink
Reduce dependencies to squash security issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Jun 13, 2020
1 parent e0e0dbe commit 738d349
Show file tree
Hide file tree
Showing 3 changed files with 764 additions and 1,923 deletions.
4 changes: 2 additions & 2 deletions admin/npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const resolve = require("path").resolve;

const npm = require("libnpm");
const npmpub = require("libnpmpublish");
const semver = require("semver");

const local = require("./local");
Expand Down Expand Up @@ -60,7 +60,7 @@ async function getTarballHash(name, version) {

async function _publish(info, tarball, options) {
try {
let result = await npm.publish(info, tarball, options);
let result = await npmpub.publish(info, tarball, options);
return result;
} catch (error) {

Expand Down

0 comments on commit 738d349

Please sign in to comment.