
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
@clocklimited/cf-text-search
Advanced tools
Add full-text search functionality onto cf services. Uses mongo's full text search functionality. Requires Mongo v2.6+.
Modifies the passed in query, adding the $text
property as per http://docs.mongodb.org/manual/reference/operator/query/text/.
npm install cf-text-search
var textSearch = require('cf-text-search')
service.search = textSearch(service)
service.search('my search terms', function (err, results) {})
service
is a crud-service
searchTerms
- a string which gets pass through to mongo's full text search, can be an array of stringsquery
- optional, an additional object query to filter the resultsoptions
- optional, any search options e.g. skip, limitcb
- the callback function, gets called with (err, results)The score
of the document is returned on all documents as described here:
http://docs.mongodb.org/manual/reference/operator/projection/meta/.
If using in conjunction with schemata, you'll need to add a score
property to your schema so that it doesn't get stripped out.
Built by developers at Clock.
Licensed under the New BSD License
FAQs
Add full-text search functionality onto cf services
The npm package @clocklimited/cf-text-search receives a total of 275 weekly downloads. As such, @clocklimited/cf-text-search popularity was classified as not popular.
We found that @clocklimited/cf-text-search demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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 researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.