
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
co-request-manager
Advanced tools
Angular 2 REST Request manager
npm install --save co-request-form co-browser-storage co-list-view-table co-request-manager
@ngrx/store
to workco-browser-storage
first and add a browser storage param for this appmain.ts
:import {provideCoRequestManager} from '../request-manager/co-request-manager.provider'
bootstrap(MyApp, [
// NOTE it's the key without the co-browser-storage namespace here
provideCoRequestManager('requestManagerConfigBrowserStorageKey')
])
co-browser-storage.config
:export const REQUEST_MANAGER_CONFIG = 'requestManagerConfig'
...
{
key: REQUEST_MANAGER_CONFIG,
value: '{"requests":[]}',
storageType: 'localStorage',
valueType: 'text'
}
...
some.component.ts
:Note that listHeight is optional
import {Component, ViewChild} from '@angular/core'
import {CoRequestManagerComponent} from 'co-request-manager/co-request-manager'
@Component({
selector: 'app',
directives: [CoRequestManagerComponent],
template: `
<co-request-manager
[listHeight]="'300px'">
<button type="button" class="btn btn-success btn-block" (click)="makeRequest()">
Make request
</button>
</co-request-manager>
`
})
export class AppComponent {
@ViewChild(CoRequestManagerComponent) coRequestManagerComponent: CoRequestManagerComponent
public makeRequest () {
let params = this.coRequestManagerComponent.coRequestFormComponent.request()
console.log(params)
}
}
npm install
npm run typings
npm run watch
npm start
FAQs
Angular 2 - Request manager component
The npm package co-request-manager receives a total of 0 weekly downloads. As such, co-request-manager popularity was classified as not popular.
We found that co-request-manager 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.