Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@nanogiants/nestjs-swagger-api-exception-decorator
Advanced tools
NestJS Swagger decorator for API exceptions
NestJS Swagger decorator for API exceptions.
$ npm i @nanogiants/nestjs-swagger-api-exception-decorator
import { ApiException } from '@nanogiants/nestjs-swagger-api-exception-decorator';
@ApiException(() => UnauthorizedException)
export class Controller {
@ApiOperation({ summary: 'Changes the users password' })
@ApiException(() => [PasswordsDidNotMatchException, OldAndNewPasswordMatchException, CredentialsNotValidException])
@Patch('/password')
async changeUserPassword(@Res() res: Response): Promise<void> {
return res.sendStatus(HttpStatus.OK);
}
}
Please visit our documentation to get started.
Please visit the Release Notes in our documentation for major and minor releases. Patch releases are documentated in GitHub Releases.
FAQs
NestJS Swagger decorator for API exceptions
The npm package @nanogiants/nestjs-swagger-api-exception-decorator receives a total of 21,663 weekly downloads. As such, @nanogiants/nestjs-swagger-api-exception-decorator popularity was classified as popular.
We found that @nanogiants/nestjs-swagger-api-exception-decorator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.