Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@heartpattern/nestjs-swagger
Advanced tools
Nest - modern, fast, powerful node.js web framework (@swagger)
A progressive Node.js framework for building efficient and scalable server-side applications.
OpenAPI (Swagger) module for Nest.
$ npm i --save @nestjs/swagger
If you're currently using @nestjs/swagger@3.*
, note the following breaking/API changes in version 4.0.
The following decorators have been changed/renamed:
@ApiModelProperty
is now @ApiProperty
@ApiModelPropertyOptional
is now @ApiPropertyOptional
@ApiResponseModelProperty
is now @ApiResponseProperty
@ApiImplicitQuery
is now @ApiQuery
@ApiImplicitParam
is now @ApiParam
@ApiImplicitBody
is now @ApiBody
@ApiImplicitHeader
is now @ApiHeader
@ApiOperation({ title: 'test' })
is now @ApiOperation({ summary: 'test' })
@ApiUseTags
is now @ApiTags
DocumentBuilder
breaking changes (updated method signatures):
addTag
addBearerAuth
addOAuth2
setContactEmail
is now setContact
setHost
has been removedsetSchemes
has been removed (use the addServer
instead, e.g., addServer('http://')
)The following methods have been added:
addServer
addApiKey
addBasicAuth
addSecurity
addSecurityRequirements
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
Nest is MIT licensed.
FAQs
Nest - modern, fast, powerful node.js web framework (@swagger)
The npm package @heartpattern/nestjs-swagger receives a total of 1 weekly downloads. As such, @heartpattern/nestjs-swagger popularity was classified as not popular.
We found that @heartpattern/nestjs-swagger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.