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.
@2gis/mapgl-gltf
Advanced tools
Plugin for the rendering glTF models with MapGL
Install @2gis/mapgl
and @2gis/mapgl-gltf
packages:
npm install @2gis/mapgl
npm install @2gis/mapgl-gltf
Import mapgl and plugin into your project:
import { load } from '@2gis/mapgl';
import { GltfPlugin } from '@2gis/mapgl-gltf';
const mapglAPI = await load();
const map = new mapglAPI.Map('container', {
center: [82.886554, 54.980988],
zoom: 18,
});
const plugin = new GltfPlugin(map);
plugin.addModels([{
modelId: '03a234cb',
coordinates: [82.886554, 54.980988],
modelUrl: 'models/cube_draco.glb',
rotateX: 90,
scale: 1000,
linkedIds: ['141373143530065', '70030076379181421'],
}]);
If you write screenshot tests, you will need run npm run docker:test
after coding.
This command runs your tests on the docker image that is used in pipeline build.
This guarantees the authenticity of the screenshots used.
You can find the more information in the official documentation.
FAQs
Plugin for the rendering glTF models with MapGL
We found that @2gis/mapgl-gltf 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.