mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Add npmjs.com to known registries too.
This commit is contained in:
parent
41cc24d1f5
commit
e3aa2e15cb
1 changed files with 5 additions and 1 deletions
|
|
@ -11,7 +11,11 @@ import {
|
||||||
} from "./modifyNpmInfo.js";
|
} from "./modifyNpmInfo.js";
|
||||||
import { parseNpmPackageUrl } from "./parseNpmPackageUrl.js";
|
import { parseNpmPackageUrl } from "./parseNpmPackageUrl.js";
|
||||||
|
|
||||||
const knownJsRegistries = ["registry.npmjs.org", "registry.yarnpkg.com"];
|
const knownJsRegistries = [
|
||||||
|
"registry.npmjs.org",
|
||||||
|
"registry.yarnpkg.com",
|
||||||
|
"registry.npmjs.com",
|
||||||
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {string} url
|
* @param {string} url
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue