Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@ember/edition-utils
Advanced tools
Utilities to detect if a given edition is in use in an ember-cli application.
This package is the officially supported mechanism for declaring and detecting the specific edition that a given application is using.
In order to declare which edition of Ember your application (or addon) is compatible with
you would call setEdition
from within your .ember-cli.js
file. This might look something like:
const { setEdition } = require('@ember/edition-utils');
setEdition('octane');
module.exports = {
// other configuration here
}
In order to detect if the currently running application is using at least a
specific edition, you would call has
. This will most commonly be used from
within various addon's to determine which blueprint code to run. For example:
const { has } = require('@ember/edition-utils');
if (has('octane')) {
// do octane stuff
} else {
// do classic mode stuff
}
This project is licensed under the MIT License.
v1.2.0 (2019-12-11)
FAQs
Utilities to detect if a given edition is in use in an ember-cli application.
The npm package @ember/edition-utils receives a total of 95,484 weekly downloads. As such, @ember/edition-utils popularity was classified as popular.
We found that @ember/edition-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.