Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@nodeteam/nestjs-pipes
Advanced tools
npm install --save @nodeteam/nestjs-pipes
// import pipes
import { WherePipe, OrderByPipe } from '@nodeteam/nestjs-pipes';
// import types
import { Pipes } from '@nodeteam/nestjs-pipes/index';
@Query('orderBy', OrderByPipe) orderBy?: Pipes.Order,
firstName
in ascending orderhttps://example.com/?sortBy=firstName:asc
lt - where=age: lt int(12)
lte - where=age: lte int(12)
gt - where=age: gt int(12)
gte - where=age: gte int(12)
equals - where=age: equals int(12)
not - where=age: not int(12)
contains - where=firstName: contains string(John)
or where=firstName: contains John
startsWith - where=firstName: startsWith string(John)
or where=firstName: startsWith John
endsWith - where=firstName: endsWith string(John)
or where=firstName: endsWith John
every - where=firstName: every string(John)
or where=firstName: every John
some - where=firstName: some string(John)
or where=firstName: some John
none - where=firstName: none string(John)
or where=firstName: none John
string - where=firstName: contains string(John)
int - where=age: gt int(12)
float - where=age: gt float(12.5)
boolean - where=active: equals boolean(true)
bool - where=active: equals boolean(true)
date - where=createdAt: gt date(2019-01-01)
datetime - where=createdAt: gt datetime(2019-01-01 12:00:00)
@Query('where', WherePipe) where?: Pipes.Where
firstName
is equal to John
https://example.com/?where=firstName:John
https://example.com/?where=createdAt: gt date(2023-01-13 12:04:27.689)
https://example.com/?where=id: not int(12)
@gmail.com
https://example.com/?where=id: gt int(1), email: contains @gmail.com
firstName
is equal to John
and sort the rows by the column firstName
in ascending orderhttps://example.com/?where=firstName:John&sortBy=firstName:asc
@Query('select', SelectPipe) select?: Pipes.Select
firstName
and lastName
https://example.com/?select=firstName,lastName
firstName
and lastName
https://example.com/?select=-firstName,-lastName
FAQs
Pipes collection for Nest.JS app
The npm package @nodeteam/nestjs-pipes receives a total of 109 weekly downloads. As such, @nodeteam/nestjs-pipes popularity was classified as not popular.
We found that @nodeteam/nestjs-pipes demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.