
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.
mi-angular-alert-service
Advanced tools
Alert Service for AngularJS.
A customizable alert service for AngularJS apps.
Install with npm
$ npm i mi-angular-alert-service --save
Attention, the integration of bootstrap is required for the example ...
# app.js
require('angular-bootstrap');
require('mi-angular-alert-service');
var requires = [
'ui.bootstrap',
'mi.AlertService'
];
angular.module('sample-app', requires)
// defaults for alert service
.constant('ALERT_LEVELS', {
danger: {timeout: 10000},
warning: {timeout: 5000},
success: {timeout: 3000},
info: {timeout: 3000}
})
;
angular.bootstrap(document, ['sample-app']);
# index.html
<div class="global-alerts" ng-cloak>
<div alert ng-repeat="alert in alerts" type="{{alert.type}}" close="alert.close()">{{alert.msg}}</div>
</div>
Trigger unit test with npm
$ npm run test
Every push will trigger a test run at travis-ci (node.js-versions: 0.10, 0.12, 4.0, 4.1, 4.2 and 4.3). In case of a tagged version and success (node.js 4.3) an automated pbulish to npmjs.org will be triggered by travis-ci.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)This library is under the MIT license.
FAQs
Alert Service for Angular 1
The npm package mi-angular-alert-service receives a total of 0 weekly downloads. As such, mi-angular-alert-service popularity was classified as not popular.
We found that mi-angular-alert-service 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
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.