Add pre-install npm dependency guard
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
export const DEFAULT_POLICY = Object.freeze({
|
||||
allowInstallScripts: ["fsevents"],
|
||||
allowDirectLifecycleScripts: [],
|
||||
sourceEvidenceExceptions: {},
|
||||
trustedRepositories: {},
|
||||
trustedMaintainers: {},
|
||||
minimumReleaseAgeHours: 72,
|
||||
freshReleaseAction: "warn",
|
||||
maxTarballSizeBytes: 20 * 1024 * 1024,
|
||||
maxUnpackedSizeBytes: 100 * 1024 * 1024,
|
||||
});
|
||||
|
||||
export const HTTP_TIMEOUT_MS = 15_000;
|
||||
export const COMMAND_TIMEOUT_MS = 120_000;
|
||||
export const REPORT_VERSION = 1;
|
||||
Reference in New Issue
Block a user