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-cli-app-version
Advanced tools
Adds your Ember App's version to Info tab in Ember Inspector. The version is taken from your project's package.json#version. If you add build metadata to the version, this addon will automatically append SHA to the end of the version.
ember install ember-cli-app-version
This addon provides {{app-version}}
helper that allows you to show your current app version in your app.
The addon has flags to display parts of the version:
{{app-version versionOnly=true}} // => 2.0.1
{{app-version versionOnly=true showExtended=true}} // => 2.0.1-alpha.1
{{app-version shaOnly=true}} // => <git SHA>
Flags are false
by default.
When running on Heroku the .git
folder is not present, making it impossible to fetch the git SHA
. A workaround for this is adding the below in your config/environment.js
:
// Heroku Git Hash support
if (process.env.SOURCE_VERSION) {
const pkg = require('../package.json');
const hash = process.env.SOURCE_VERSION.substr(0, 7);
ENV['ember-cli-app-version'] = {
version: `${pkg.version}+${hash}`,
};
}
See the Contributing guide for details.
This project is licensed under the MIT License.
v7.0.0 (2024-06-10)
FAQs
Adds App version number to Ember Inspector Info Tab
The npm package ember-cli-app-version receives a total of 87,619 weekly downloads. As such, ember-cli-app-version popularity was classified as popular.
We found that ember-cli-app-version demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.