
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@savantly/ngx-sprout-content
Advanced tools
Provides Angular components and services to consumer the Sprout Content Module. The HAL connectivity is provided by - https://github.com/lagoshny/ngx-hal-client
Provides Angular components and services to consumer the Sprout Content Module.
The HAL connectivity is provided by - https://github.com/lagoshny/ngx-hal-client
npm install @savantly/ngx-sprout-content
Or all peer dependencies -
npm i @savantly/ngx-jsoneditor @angular/cdk @angular/common @angular/flex-layout @angular/material @lagoshny/ngx-hal-client ng2-ckeditor ngx-markdown-editor rxjs
Add ckeditor and marked modules to your index.html -
`
The Markdown Editor requires FontAwesome to be available -
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
Provide a configuration for the Spring Data Rest endpoint.
import {Injectable} from '@angular/core';
import {ExternalConfigurationHandlerInterface, ExternalConfiguration} from '@lagoshny/ngx-hal-client';
import {HttpClient} from '@angular/common/http';
@Injectable()
export class ExternalConfigurationService implements ExternalConfigurationHandlerInterface {
getProxyUri(): string {
return 'http://proxy.url/api/';
}
getRootUri(): string {
return 'https://serviceip.tomcat:8080/APP/';
}
getHttp(): HttpClient {
return this.http;
}
constructor(private http: HttpClient) {
}
getExternalConfiguration(): ExternalConfiguration {
return null;
}
setExternalConfiguration(externalConfiguration: ExternalConfiguration) {
}
}
And import in your app module -
import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {NgxHalClientModule} from '@lagoshny/ngx-hal-client';
import {SproutContentModule} from '@savantly/ngx-sprout-content'
import {AppComponent} from './app.component';
import {environment} from '../environments/environment';
import {ExternalConfigurationService} from './ExternalConfigurationService'
@NgModule({
declarations: [
AppComponent,
],
imports: [
BrowserModule,
NgxHalClientModule.forRoot(),
SproutContentModule
],
providers: [
{provide: 'ExternalConfigurationService', useClass: ExternalConfigurationService}
],
bootstrap: [AppComponent]
})
export class AppModule { }
This library was generated with Angular CLI version 10.0.6.
Run ng generate component component-name --project content-module to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project content-module.
Note: Don't forget to add
--project content-moduleor else it will be added to the default project in yourangular.jsonfile.
Run ng build content-module to build the project. The build artifacts will be stored in the dist/ directory.
After building your library with ng build content-module, go to the dist folder cd dist/content-module and run npm publish.
Run ng test content-module to execute the unit tests via Karma.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.
FAQs
Provides Angular components and services to consumer the Sprout Content Module. The HAL connectivity is provided by - https://github.com/lagoshny/ngx-hal-client
We found that @savantly/ngx-sprout-content 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.