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.
angular2-esri-loader
Advanced tools
An Angular 2 service to help you load ArcGIS API for JavaScript Modules
An Angular 2 service to help you load ArcGIS API for JavaScript Modules
npm install angular2-esri-loader esri-loader
Example of using the loader service in a resolver to lazy load the ArcGIS API and
import { Injectable } from '@angular/core';
import { Resolve } from '@angular/router';
import { EsriLoaderService } from 'angular2-esri-loader';
@Injectable()
export class EsriMapResolveService implements Resolve<any> {
constructor(private esriLoader: EsriLoaderService) { }
resolve() {
// only load the ArcGIS API for JavaScript when we get to this route
return this.esriLoader.load({
// use a specific version of the API instead of the latest
url: '//js.arcgis.com/3.18/'
}).then(() => {
// load the map class needed to create a new map
// and make it available in the route's data
return this.esriLoader.loadModules(['esri/map']);
});
}
}
FAQs
An Angular 2 service to help you load ArcGIS API for JavaScript Modules
The npm package angular2-esri-loader receives a total of 39 weekly downloads. As such, angular2-esri-loader popularity was classified as not popular.
We found that angular2-esri-loader 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.