Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
ember-cli-pace
Advanced tools
Pace.js load progress bar for Ember apps, incl. Flash-like initial script lazy loading
Using latest Ember-cli, run the command:
ember install ember-cli-pace
or for older versions:
npm install ember-cli-pace && ember g pace
Due to application scripts loading may take some time (especially, using mobile networks or ADSL), Ember-cli-pace can load them asynchronously displaying correctly computed progress bar. To enable that feature, just change src
attribute to pace-src
in your app.html
.
<script pace-src="assets/vendor.js"></script>
<script pace-src="assets/app.js"></script>
Therefore, the scripts will be loaded via AJAX, which allows to compute loaded vs total bytes ratio. If your scripts are located on separate host, please note CORS policy.
All options, excluding color
and theme
related to the addon, are documented on http://github.hubspot.com/pace/.
var ENV = {
pace: {
// addon-specific options to configure theme
theme: 'material',
color: 'blue',
// pace-specific options
// learn more on http://github.hubspot.com/pace/#configuration
catchupTime: 50,
initialRate: .01,
minTime: 100,
ghostTime: 50,
maxProgressPerFrame: 20,
easeFactor: 1.25,
startOnPageLoad: true,
restartOnPushState: true,
restartOnRequestAfter: 500,
target: 'body',
elements: {
checkInterval: 100,
selectors: ['body', '.ember-view']
},
eventLag: {
minSamples: 10,
sampleCount: 3,
lagThreshold: 3
},
ajax: {
trackMethods: ['GET', 'POST', 'DELETE', 'OPTIONS'],
trackWebSockets: true,
ignoreURLs: []
}
}
};
This addon is bundled with Material spinner theme, which is set by default. See it on demo page.
Pace.js originally provides 14 progress bar themes in 10 colors. See the progress bars and spinners in action: http://github.hubspot.com/pace/docs/welcome/
More details on Pace events, methods and configuration could be found on http://github.hubspot.com/pace/
git clone
this repositorynpm install
bower install
ember server
For more information on using ember-cli, visit http://www.ember-cli.com/.
FAQs
Pace.js load progress bar for Ember apps, incl. Flash-like initial script lazy loading
The npm package ember-cli-pace receives a total of 53 weekly downloads. As such, ember-cli-pace popularity was classified as not popular.
We found that ember-cli-pace 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.