From 25b80768113b305f8a2981ae0750f0f911ce8837 Mon Sep 17 00:00:00 2001 From: MICHAEL JACKSON Date: Thu, 10 Aug 2017 09:35:55 -0700 Subject: [PATCH] Rename blacklist file --- client/About.md | 2 +- server/{package-blacklist.json => PackageBlacklist.json} | 0 server/index.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename server/{package-blacklist.json => PackageBlacklist.json} (100%) diff --git a/client/About.md b/client/About.md index cf00adc..ca36e06 100644 --- a/client/About.md +++ b/client/About.md @@ -43,7 +43,7 @@ unpkg is not affiliated with or supported by npm, Inc. in any way. Please do not ### Abuse -unpkg blacklists some packages to prevent abuse. If you find a malicious package on npm, please take a moment to add it to [our blacklist](https://github.com/unpkg/unpkg.com/blob/master/server/package-blacklist.json). +unpkg blacklists some packages to prevent abuse. If you find a malicious package on npm, please take a moment to add it to [our blacklist](https://github.com/unpkg/unpkg.com/blob/master/server/PackageBlacklist.json). ### Feedback diff --git a/server/package-blacklist.json b/server/PackageBlacklist.json similarity index 100% rename from server/package-blacklist.json rename to server/PackageBlacklist.json diff --git a/server/index.js b/server/index.js index 9006f9e..fea1d6c 100644 --- a/server/index.js +++ b/server/index.js @@ -104,7 +104,7 @@ const defaultServerConfig = { // for the middleware registryURL: process.env.REGISTRY_URL || 'https://registry.npmjs.org', autoIndex: !process.env.DISABLE_INDEX, - blacklist: require('./package-blacklist').blacklist + blacklist: require('./PackageBlacklist').blacklist } const startServer = (serverConfig = {}) => {