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.
scout-api-client
Advanced tools
The REST-API client for scout, powered by typescript & axios.
This is generated api client by open-api-generator.
Once you have installed that on your target project you can use scout API:
import { GeoApi } from '@akido/scout-api-client';
export const scoutApi = new GeoApi({
basePath: SCOUT_API_URL,
});
const example = async () => {
try {
const { data } = await scoutApi.fetchMapLayers();
console.log(data, 'Result from api.');
} catch (error) {
console.log('API error: ', error);
}
};
example();
Navigate to scout/apps/api
, make sure all dependencies are installed and run the server:
yarn run dev
Right after that in the same folder run:
yarn run api:generate-client
This command will generate scout-api-client
under scout/libs/scout-api-client
.
One you are ready to publish new version of package please increment package version (libs/scout-api-client/package.json
), and run npm publish
under scout/libs/scout-api-client
.
All done! Now you published new version of scout-api-client
!
yarn run api:generate-client
runningyarn run api:generate-client
output, there might be errors related to swaggerlibs/scout-api-client/package.json
and it is above version that you currently have in GitLab registryFAQs
The REST-API client for scout, powered by typescript & axios.
The npm package scout-api-client receives a total of 0 weekly downloads. As such, scout-api-client popularity was classified as not popular.
We found that scout-api-client 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
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.