
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@daffodil/dev-tools
Advanced tools
Developer tools for Daffodil e-commerce framework applications.
npm install @daffodil/dev-tools
Configure dev tools in your application bootstrap:
import { provideDaffDevTools, withDriverConfig } from '@daffodil/dev-tools';
bootstrapApplication(AppComponent, {
providers: [
provideDaffDevTools(
{
enabled: true,
startCollapsed: true,
},
withDriverConfig({
name: '@daffodil/product/driver',
currentDriver: 'in-memory',
availableDrivers: [
{
id: 'in-memory',
name: 'In-Memory Driver',
properties: new Map([
['apiKey', { type: 'input', id: 'apiKey', label: 'API Key', defaultValue: '' }],
['timeout', { type: 'input', id: 'timeout', label: 'Timeout (ms)', defaultValue: '5000' }],
]),
},
{
id: 'shopify',
name: 'Shopify Driver',
properties: new Map([
['shopUrl', { type: 'input', id: 'shopUrl', label: 'Shop URL', defaultValue: 'myshop.myshopify.com' }],
['accessToken', { type: 'input', id: 'accessToken', label: 'Access Token', defaultValue: '' }],
]),
},
{
id: 'magento',
name: 'Magento Driver',
properties: new Map([
['baseUrl', { type: 'input', id: 'baseUrl', label: 'Base URL', defaultValue: 'https://my-magento-store.com' }],
['storeCode', { type: 'input', id: 'storeCode', label: 'Store Code', defaultValue: 'default' }],
]),
},
],
}),
),
],
});
Configure multiple drivers at once using multiple withDriverConfig calls:
import { provideDaffDevTools, withDriverConfig } from '@daffodil/dev-tools';
bootstrapApplication(AppComponent, {
providers: [
provideDaffDevTools(
{ enabled: true },
withDriverConfig({
name: '@daffodil/product/driver',
currentDriver: 'in-memory',
availableDrivers: [
{
id: 'in-memory',
name: 'In-Memory Driver',
properties: new Map(),
},
{
id: 'magento',
name: 'Magento Driver',
properties: new Map([
['baseUrl', { type: 'input', id: 'baseUrl', label: 'Base URL', defaultValue: 'https://my-magento-store.com' }],
]),
},
],
}),
withDriverConfig({
name: '@daffodil/cart/driver',
currentDriver: 'magento',
availableDrivers: [
{
id: 'in-memory',
name: 'In-Memory Driver',
properties: new Map(),
},
{
id: 'magento',
name: 'Magento Driver',
properties: new Map([
['storeCode', { type: 'input', id: 'storeCode', label: 'Store Code', defaultValue: 'default' }],
]),
},
],
}),
),
],
});
import { DaffDebugBarComponent } from '@daffodil/dev-tools';
@Component({
standalone: true,
imports: [DaffDebugBarComponent],
template: `
<daff-debug-bar></daff-debug-bar>
`,
})
export class AppComponent {}
For production builds, conditionally include the debug bar:
import { isDevMode } from '@angular/core';
@Component({
template: `
@if (isDevMode) {
<daff-debug-bar></daff-debug-bar>
}
`,
})
export class AppComponent {
isDevMode = isDevMode();
}
FAQs
Developer tools for Daffodil e-commerce framework
We found that @daffodil/dev-tools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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 researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.