Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
angular-progress
Advanced tools
entertaiment while loading your data
Download the package from GitHub.
git clone https://github.com/codekraft-studio/angular-progress.git
Or use it from the GitHub CDN:
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/codekraft-studio/angular-progress/master/dist/angular-progress.css"/>
<script type="text/javascript" src="https://cdn.rawgit.com/codekraft-studio/angular-progress/master/dist/angular-progress.min.js"></script>
Add angular-progress to your module dependencies:
angular.module('app', ['angular-progress'])
And finally and optionally add the directive to your DOM:
<progress-bar></progress-bar>
The module has a interceptor that start automatically the progress bar when a $http request is performed. If you want to disable the progress bar on a particular request, you have to specify the property ignoreProgress like in this example:
$http.({
method: 'GET',
url: 'api/feeds',
ignoreProgress: true
}).success(function(data) {
// do stuff
})
or in the short form like this:
$http.get('api/feeds', { ignoreProgress: true })
.success(function(data) {
// do stuff
})
The event are emitted from the module itself or by using one of the Progress service methods.
Include the Progress service to your controller or anywhere you want and you can use the following methods:
angular.module('app')
.controller('ProgressCtrl', function($scope, $timeout, Progress) {
Progress.start();
$timeout(function() {
Progress.complete();
}, 2000)
})
FAQs
automatic progress bar for your angular apps
The npm package angular-progress receives a total of 2 weekly downloads. As such, angular-progress popularity was classified as not popular.
We found that angular-progress 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.