Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
ember-export-application-global
Advanced tools
Sets `window.MyAppName` up as the application instance upon boot.
Sets window.MyAppName
up as the application instance upon boot.
By default this is only done when not running in production mode, but you can fully
control when it is executed by including exportApplicationGlobal
in your config/environment.js
with true
if you want the global exported, or false
if you do not.
// config/environment.js
module.exports = function(environment) {
var ENV = {
// other configuration
exportApplicationGlobal: ['staging', 'production'].indexOf(environment) === -1
}
};
ember install ember-export-application-global
# or for ember-cli < 0.1.5
npm install --save-dev ember-export-application-global
exportApplicationGlobal
- Specify if you want the global to be exported.
A true
will export global as the application name, but a string will export
is as that string.This README outlines the details of collaborating on this Ember addon.
git clone <repository-url>
this repositorycd ember-export-application-global
npm install
bower install
ember serve
npm test
(Runs ember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit http://ember-cli.com/.
MIT
FAQs
Sets `window.MyAppName` up as the application instance upon boot.
The npm package ember-export-application-global receives a total of 46,249 weekly downloads. As such, ember-export-application-global popularity was classified as popular.
We found that ember-export-application-global 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.