Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@busy-web/ember-cli-launch-darkly
Advanced tools
Ember addon for integrating with launch darkly javascript sdk
ember install ember-cli-launch-darkly
The initialize method takes 3 params:
export default Ember.Object.extend({
launchDarkly: Ember.inject.service(),
init() {
this._super();
let user = {
key: 'some_value',
firstName: 'foo',
lastMame: 'bar',
};
let options = {
// launch darkly options here if needed
};
this.get('launchDarkly').initialize('LAUNCH_DARKLY_APP_ID', user, options);
}
});
After initialize is called then any methods on Launch Darkly's SDK can be called:
var toggle = this.get('launchDarkly').variation(key, defaultValue);
For more information refer to the launch darkly sdk launch darkly
git clone <repository-url>
cd ember-cli-launch-darkly
yarn install
yarn lint:js
yarn lint:js --fix
ember test
– Runs the test suite on the current Ember versionember test --server
– Runs the test suite in "watch mode"yarn test
– Runs ember try:each
to test your addon against multiple Ember versionsember serve
For more information on using ember-cli, visit https://ember-cli.com/.
This project is licensed under the MIT License.
FAQs
Launch Darkly javascript sdk for ember-cli.
We found that @busy-web/ember-cli-launch-darkly demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.