Security upgrades

This commit is contained in:
2020-07-15 19:54:48 +02:00
parent 59cc6c54cd
commit ad8ed283d2
3164 changed files with 408897 additions and 28 deletions

4
node_modules/nocache/dist/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,4 @@
/// <reference types="node" />
import { IncomingMessage, ServerResponse } from 'http';
declare const _default: () => (_req: IncomingMessage, res: ServerResponse, next: () => void) => void;
export = _default;

10
node_modules/nocache/dist/index.js generated vendored Normal file
View File

@@ -0,0 +1,10 @@
"use strict";
module.exports = function nocache() {
return function nocache(_req, res, next) {
res.setHeader('Surrogate-Control', 'no-store');
res.setHeader('Cache-Control', 'no-store, no-cache, must-revalidate, proxy-revalidate');
res.setHeader('Pragma', 'no-cache');
res.setHeader('Expires', '0');
next();
};
};