File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -249,6 +249,15 @@ function assertPathIsInDefinitelyTyped(dirPath: string): void {
249249 }
250250}
251251
252+ /**
253+ * Starting at some point in time, npm has banned all new packages whose names
254+ * contain the word `download`. However, some older packages exist that still
255+ * contain this name.
256+ * @NOTE for contributors: The list of literal exceptions below should ONLY be
257+ * extended with packages for which there already exists a corresponding type
258+ * definition package in the `@types` scope. More information:
259+ * https://github.com/microsoft/DefinitelyTyped-tools/pull/381.
260+ */
252261function assertPathIsNotBanned ( dirPath : string ) {
253262 const basedir = basename ( dirPath ) ;
254263 if (
You can’t perform that action at this time.
0 commit comments