mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
45c03819e2
* refactor: render middleware * refactor: render middleware
20 lines
862 B
TypeScript
20 lines
862 B
TypeScript
export { match } from './middlewares/match';
|
|
export { setSecurityWebHeaders } from './middlewares/security-headers';
|
|
export { validateName, validatePackage } from './middlewares/validation';
|
|
export { media } from './middlewares/media';
|
|
export { encodeScopePackage } from './middlewares/encode-pkg';
|
|
export { expectJson } from './middlewares/json';
|
|
export { antiLoop } from './middlewares/antiLoop';
|
|
export { final } from './middlewares/final';
|
|
export { allow } from './middlewares/allow';
|
|
export { rateLimit } from './middlewares/rate-limit';
|
|
export { userAgent } from './middlewares/user-agent';
|
|
export { webMiddleware } from './middlewares/web';
|
|
export { errorReportingMiddleware, handleError } from './middlewares/error';
|
|
export {
|
|
log,
|
|
LOG_STATUS_MESSAGE,
|
|
LOG_VERDACCIO_BYTES,
|
|
LOG_VERDACCIO_ERROR,
|
|
} from './middlewares/log';
|
|
export * from './types';
|