Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
ember-reactive-helpers
Advanced tools
Collection of helpers to aid in reactive template programming with Ember.js
Collection of helpers to aid in reactive template programming with Ember.js.
(helper 'helperName')
Will resovle the helper and return resolved helper.
(closure helper arg1 arg2)
(closure
helper accepts a helper as first argument and creates a closure and curries the passed in arguments.
When you call the returned helper the helper will becalled with all passed in arguments.
{{#with (closure (helper 'contains') (array 'foo' 'bar')) as |checkContains|}}
{{compute (checkContains 'foo')}}
{{/with}}
(transition-to 'destination' model (query-params foo='bar'))
(transition-to)
helper the same argument signature as link-to
but evaluates to an action that can be called to trigger transition.
<button {{action (transtion-to 'index')}}>Go to Index</button>
{{shhh anything}}
{{shhh
helper will supress any output that's passed into it. This is useful when you want to compute a helper
without having it's output rendered.
(r/debugger)
(r/debugger)
will create a helper that will inject a debugger breakpoint into a helper pipe. It will pass through the value,
that's passed into the helper.
<button {{action (pipe (some-helper) (r/debugger) (some-other-helper))}}>Do!</button>
(r/log 'your message')
(r/log)
helper will evaluate to a function. When called, this function will log the passed in messsage and arguments that it received.
<button {{action (pipe (r/log 'before save') (action 'save') (r/log 'after save')) model}}>Save</button>
(r/get propName)
(r/get)
helper returns a function. When called, the function will return value taken from object that it receives as first argument at property propName.
ember install ember-reactive-helpers
If it is a bug please open an issue on GitHub.
FAQs
Collection of helpers to aid in reactive template programming with Ember.js
The npm package ember-reactive-helpers receives a total of 6 weekly downloads. As such, ember-reactive-helpers popularity was classified as not popular.
We found that ember-reactive-helpers 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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.