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.
angular-eha.counter
Advanced tools
Counting directive
Use the bind
attribute to bind on the current count:
<eha-counter
bind="myCtrl.count"
></eha-counter>
template-url
A custom template can be used with the template-url
attribute:
<eha-counter
bind="myCtrl.count"
template-url="/path/to/tpl.html"
></eha-counter>
Note, the default template assumes a mobile UI and depends on Bootstrap and font-awesome.
ehaCounterProvider
Exposes the increment
and decrement
callbacks (both angular.noop
by
default), which are passed corresponding count on change. Can be overridden in
an angular.config
block, for example:
angular.module('myApp')
.config(function (ehaCounterProvider) {
ehaCounterProvider.increment = function (count) {
console.log('The count is', count)
}
})
Install with npm:
npm install --save angular-eha.counter
Or alternatively bower:
bower install --save angular-eha.counter
Then simply add eha.counter
as a dependency somewhere in your project
that makes sense and you're good to go.
Released under the Apache 2.0 License.
FAQs
Counting directive
We found that angular-eha.counter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.