Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@boundstate/tier-one-dgeni
Advanced tools
Docs generator for *tier-one* and derivative frameworks. The docs app is built on your project source so that components can be easily demonstrated.
Docs generator for tier-one and derivative frameworks. The docs app is built on your project source so that components can be easily demonstrated.
// gulpfile.js
const gulp = require('gulp');
const docTasks = require('@boundstate/tier-one-dgeni/tasks');
docTasks.register({
gulp: gulp,
faviconPath: 'favicon.ico',
scssPath: 'scss/tier-one.scss',
iconSvgPath: 'open-iconic/sprite/sprite.svg'
});
Run docs app, watching for changes:
gulp docs:start
gulp
: gulp instance to register tasksbasePath
: base path (defaults to src
)faviconPath
: path to favicon to be used by docs app (relative to basePath
)scssPath
: path to SASS file to be used by docs app (relative to basePath
)iconSvgPath
: path to icon SVG file to be used by docs appAdd a demo for a component by creating a _demo
folder within the component folder. Create a file that exports a module with a name ending in DemoModule
(e.g. ButtonDemoModule
).
The DemoToolsModule
module exported by this library provides tools useful for demos:
demo-control-info
Renders debug information about input controls.
@Component({templateUrl: 'demo.html'})
class InputTextDemoComponent {
controls: {[key: string]: FormControl} = {
'text1': new FormControl(''),
'text2': new FormControl('', Validators.required)
};
controlsArray = _.map(this.controls, (control, name) => ({name, control}));
controlGroup = new FormGroup(this.controls);
...
}
<span class="demo-control-id">text1</span>
<bss-input-text
label="Text 1"
[control]="controlGroup.controls['text1']"></bss-input-text>
<span class="demo-control-id">text2</span>
<bss-input-text
label="Text 2"
[control]="controlGroup.controls['text2']"></bss-input-text>
<demo-control-info
[controlsArray]="controlsArray"
[controlGroup]="controlGroup"></demo-control-info>
FAQs
Docs generator for Angular frameworks.
The npm package @boundstate/tier-one-dgeni receives a total of 1 weekly downloads. As such, @boundstate/tier-one-dgeni popularity was classified as not popular.
We found that @boundstate/tier-one-dgeni demonstrated a not healthy version release cadence and project activity because the last version was released 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.
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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.