
Research
npm Malware Targets Telegram Bot Developers with Persistent SSH Backdoors
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
lucene-escape-query
Advanced tools
Escape a string for a lucene query. Effectively removes all special characters.
Escape a string for a lucene query. Effectively removes all special characters.
Table of Contents generated with DocToc
npm i -S lucene-escape-query
var luceneEscapeQuery = require('lucene-escape-query')
luceneEscapeQuery.escape('+Rainbow') // \+Rainbow
(<String> string)
Returns the string passed to it, with [special characters](https://lucene.apache.org/core/2_9_4/queryparsersyntax.html#Escaping Special Characters) escaped.
Tests are in tape and code coverage is run though covert.
npm test
will run both server and browser testsnpm run test-browser
and npm run test-server
run their respective testsnpm run tdd
will run the server tests on every file change.To publish, run npm run release -- [{patch,minor,major}]
NOTE: you might need to sudo ln -s /usr/local/bin/node /usr/bin/node
to ensure node is in your path for the git hooks to work
npm i -g npm
git push --follow-tags
will work. brew install git
Artistic 2.0 © Joey Baker
v1.0.1 | 2015-02-26
FAQs
Escape a string for a lucene query. Effectively removes all special characters.
The npm package lucene-escape-query receives a total of 788 weekly downloads. As such, lucene-escape-query popularity was classified as not popular.
We found that lucene-escape-query 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.
Research
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
Security News
pip, PDM, pip-audit, and the packaging library are already adding support for Python’s new lock file format.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.