
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@3dsource/data-loader
Advanced tools
A specialized Angular library for efficient data loading, caching, and management in 3D applications. This library provides utilities for handling various data formats and sources commonly used in 3D visualization projects.
The data-loader library offers:
This library requires the following peer dependencies:
{
"@angular/core": "^19.2.0",
"@angular/common": "^19.2.0",
"@3dsource/utils": "^1.0.19",
"rxjs": "^7.8.2"
}
npm i @3dsource/data-loader
Import the DataLoaderModule in your Angular application:
import { DataLoaderModule } from '@3dsource/data-loader';
@NgModule({
imports: [
DataLoaderModule.forRoot({
// Configuration options
cacheSize: 50,
timeout: 30000,
}),
],
})
export class AppModule {}
Use the DataLoaderService to load data:
import { DataLoaderService } from '@3dsource/data-loader';
import { Component } from '@angular/core';
@Component({
selector: 'app-my-component',
template: `
<div *ngIf="data$ | async as data">
<!-- Display data -->
</div>
<div *ngIf="loading">Loading...</div>
`,
})
export class MyComponent {
data$ = this.dataLoader.load('assets/data/model.json');
loading = true;
constructor(private dataLoader: DataLoaderService) {
this.data$.subscribe(() => {
this.loading = false;
});
}
}
import { DataLoaderService } from '@3dsource/data-loader';
// ...
this.dataLoader.loadWithProgress('assets/large-model.glb').subscribe({
next: (progress) => {
if (progress.type === 'progress') {
this.loadingProgress = progress.percentage;
} else if (progress.type === 'complete') {
this.modelData = progress.data;
this.loadingComplete = true;
}
},
error: (err) => console.error('Loading failed', err),
});
import { DataLoaderService } from '@3dsource/data-loader';
// ...
const urls = ['assets/textures/texture1.jpg', 'assets/textures/texture2.jpg', 'assets/textures/texture3.jpg'];
this.dataLoader.loadBatch(urls).subscribe({
next: (results) => {
this.textures = results;
},
error: (err) => console.error('Batch loading failed', err),
});
ng build data-loader
ng test data-loader
Check the demo application for complete usage examples:
npm run demo:start
FAQs
Data loader for Angular + CLI Drive parser
We found that @3dsource/data-loader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.