Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@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 21,121 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.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.