
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
ember-popout
Advanced tools
Simple popout window management. One parent route can open several child popout routes. Actions from the child popout routes can be propagated to the parent route.
ember install ember-popout
app/router.js
import Ember from 'ember';
let Router = Ember.Router.extend();
Router.map(function() {
this.route('parent');
this.route('popout');
});
export default Router;
app/routes/parent.js
import PopoutParentRouteMixin from 'ember-popout/mixins/popout-parent-route';
import Ember from 'ember';
export default Ember.Route.extend(PopoutParentRouteMixin, {
actions: {
openPopout() {
// first argument is an id used later for popout manipulation
// second argument is the path for the popout
// option argument is stringified and passed on to `window.open`
this.get('popoutParent').open(1, 'popout', {
left: _globalId * 10,
top: _globalId * 10,
width: 300,
height: 300,
scrollbars: 0,
resizable: 0,
});
},
writeHello(name) {
console.log('hello, ' + name);
}
}
});
app/templates/parent.hbs
<button {{action "openPopout"}}>Open Popout</button>
app/routes/popout.js
import PopoutChildRouteMixin from 'ember-popout/mixins/popout-child-route';
let ParentRoute = Ember.Route.extend(PopoutChildRouteMixin, {
parentActions: ['writeHello']
});
app/templates/popout.hbs
<button {{action "writeHello" "friend"}}>Print to console in parent window</button>
Clicking the button will print "hello, friend" to the parent window's console.
FAQs
ember-popout ember addon
The npm package ember-popout receives a total of 1 weekly downloads. As such, ember-popout popularity was classified as not popular.
We found that ember-popout 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.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.