
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
ember-one-way-controls
Advanced tools
ember-one-way-controls was built by DockYard, contact us for expert Ember.js consulting.
This project has been deprecated. When Ember 1.13 came out it became possible to
use the native <input>
element with one-way bindings. Unfortunately, that
version contained a bug that made the cursor jump to the end of the text in the
input. This addon was built to correct that bug.
That bug has since been fixed in Ember 2.3.1. In the meantime, we had added some other form components to the addon, like a radio component, a textarea component and a select component. This kept the addon useful to us for a while.
Recently we started noticing that we only really needed the select component from this addon. This made us decide to extract this component to its own addon and deprecate this addon.
The new addon is called ember-one-way-select.
You can find the README of the old version here.
{{! old }}
{{one-way-input myValue update=(action (mut myValue))}}
{{! new }}
<input value={{myValue}} oninput={{action (mut myValue) value="target.value"}}>
{{! old }}
{{one-way-textarea myValue update=(action (mut myValue))}}
{{! new }}
<textarea value={{myValue}} oninput={{action (mut myValue) value="target.value"}}></textarea>
{{! old }}
{{one-way-checkbox myValue update=(action (mut myValue))}}
{{! new }}
<input type="checkbox" checked={{myValue}} onclick={{action (mut myValue) value="target.checked"}}>
{{! old }}
{{one-way-radio myValue option=myOption update=(action (mut myValue))}}
{{! new }}
<input type="radio" checked={{eq myValue myOption}} onclick={{action (mut myValue) myOption}}>
DockYard, Inc © 2016
FAQs
Native one way controls
The npm package ember-one-way-controls receives a total of 40,996 weekly downloads. As such, ember-one-way-controls popularity was classified as popular.
We found that ember-one-way-controls 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.