
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@acoustic-content-sdk/ng-app-base
Advanced tools
Module to pull in application dependencies both for preview and view mode.
Convenience module to pull in generic application dependencies that are required both in live and preview mode. You might want to use this module in the basic application module to pull in the typical SDK dependencies.
Example:
import { AcNgAppBaseModule } from '@acoustic-content-sdk/ng-app-base';
@NgModule({
declarations: [AppComponent],
imports: [
BrowserModule,
BrowserAnimationsModule,
RouterModule.forRoot(routes, { useHash: false }),
AcNgAppBaseModule,
...MODULES
]
})
export class AppModule {}
Applications on Acoustic Content can run in preview mode and in live mode. In preview mode they are augmented with inline edit capabilities and optimited for inline edit experience, in live mode they run in read-only mode optimized for size and performance.
The difference in runtime behaviour is achieved by building the application twice with different dependency providers for services that the application relies on.
Providers for preview mode are supplied by the ng-app-preview
module, for live mode via the ng-app-live
module and general purpose providers that apply to both modes by the ng-app-base
module.
Home > @acoustic-content-sdk/ng-app-base
Module that contains a default configuration to run an Angular application against Acoustic Content in live and preview mode.
Class | Description |
---|---|
AcNgAppBaseModule | Imports the modules required for basic functionality |
Variable | Description |
---|---|
MODULE | Module name |
VERSION | Version and build number of the package |
Home > @acoustic-content-sdk/ng-app-base > AcNgAppBaseModule
Imports the modules required for basic functionality
Signature:
export declare class AcNgAppBaseModule
Constructor | Modifiers | Description |
---|---|---|
(constructor)(aLoggerService) | Constructs a new instance of the AcNgAppBaseModule class |
Property | Modifiers | Type | Description |
---|---|---|---|
VERSION | WchSdkVersion | Exposes the version information of this module |
Home > @acoustic-content-sdk/ng-app-base > MODULE
Module name
Signature:
MODULE = "@acoustic-content-sdk/ng-app-base"
Home > @acoustic-content-sdk/ng-app-base > VERSION
Version and build number of the package
Signature:
VERSION: {
version: {
major: string;
minor: string;
patch: string;
branch: string;
};
build: Date;
}
Home > @acoustic-content-sdk/ng-app-base > AcNgAppBaseModule > (constructor)
Constructs a new instance of the AcNgAppBaseModule
class
Signature:
constructor(aLoggerService: LoggerService);
Parameter | Type | Description |
---|---|---|
aLoggerService | LoggerService |
Home > @acoustic-content-sdk/ng-app-base > AcNgAppBaseModule > VERSION
Exposes the version information of this module
Signature:
VERSION: WchSdkVersion;
FAQs
Module to pull in application dependencies both for preview and view mode.
We found that @acoustic-content-sdk/ng-app-base demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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 uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.