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.
@bioinsights/solr-client-updated
Advanced tools
A Solr client library for indexing, adding, deleting, committing, optimizing and searching documents within an Apache Solr installation (version>=3.2)
Install the library with:
npm install solr-client
or
yarn add solr-client
Node.js version 12+ is supported. Solr versions 3-8 are supported.
// Load dependency
const solr = require('solr-client');
// Create a client
const client = solr.createClient();
// Add a new document
const obj = await client.add({ id : 12, title_t : 'Hello' });
console.log('Solr response:', obj);
// Load dependency
const solr = require('solr-client');
// Create a client
const client = solr.createClient();
// Add a new document
const obj = await client.add({ id : 12, title_t : 'Hello' });
console.log('Solr response:', obj);
Tests are executed against a Solr instance in a Docker container.
To execute them on latest supported Solr version, run:
npm run solr:current:start
npm run test:current
If you want to execute them on oldest Solr version supported, run:
npm run solr:legacy:start
npm run test:legacy
If you have a version of Windows 10 Pro or Enterprise, simply download Docker Desktop. Ensure that Hyper-V is enabled, and virtualization is enabled in your motherboard's BIOS. It may prompt you to install updates to Windows during Docker Desktop installation and then restart the system.
If you have a version of Windows 10 Home, a little more effort is needed. By default, Hyper-V cannot be turned on for Home edition. The steps that seem to work:
Before to be able to run the command below, you will need to install jscoverage available here.
npm run-script test-cov
This command will generate a file named coverage.html
, use your browser to visualize it.
npm run-script report
(The MIT License)
Copyright 2011-2012 HipSnip Limited Copyright 2013-2014 Rémy Loubradou
FAQs
A Solr client library for indexing, adding, deleting, committing, optimizing and searching documents within an Apache Solr installation (version>=3.2)
The npm package @bioinsights/solr-client-updated receives a total of 179 weekly downloads. As such, @bioinsights/solr-client-updated popularity was classified as not popular.
We found that @bioinsights/solr-client-updated 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.
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.