
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
knockout-observablemap
Advanced tools
Observable maps, sets, weak maps and weak sets.
The collections created are:
Each of the functions of the keyed collections either observes or mutates the collection.
Mutates | Observes | |
---|---|---|
Map | set, clear, delete | get, has, values, keys, entries, forEach, valueOf |
Set | add, clear, delete | entries, values, keys, has, forEach, valueOf |
WeakMap | add, delete, has | valueOf |
WeakSet | delete, set | has, get, valueOf |
The observable is always triggered asynchronously, so multiple updates will be pooled together into one change.
These functions also expose some Knockout observable functions, namely:
subscribe(callback[, thisArg])
where the callback receives the entire collection when calledvalueHasMutated()
getSubscriptionCount()
31 Mar 2017 - 🐠 3.1.0
.peek
to the observers e.g. map.values.peek()
or map.has.peek('x')
() => ...
and spreads, so may need transpiling.28 Feb 2017 - 🦐 3.0.0
KeyClass
)12 Aug 2014 – 🌵2.2.0
Array.from
Symbol
is not definedko.tasks.schedule
if available15 Jul 2015 – 🐸 2.1.1
ko.Set
and ko.WeakSet
ko.Set(...)
, etc., or new ko.Set(...)
WeakSet
and WeakMap
Run tests with karma start
.
Run tests with karma start
(or if karma is not installed globally,
./node_modules/karma/bin/karma start
).
FAQs
Observable ES6 Map for Knockout
The npm package knockout-observablemap receives a total of 0 weekly downloads. As such, knockout-observablemap popularity was classified as not popular.
We found that knockout-observablemap 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.