
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.
@angular-architects/ngrx-hateoas
Advanced tools
A library to bring hypermedia json into the ngrx signal store following the HATEOAS approach to make it easily useable within Angular.
A library to bring hypermedia json into the ngrx signal store following the HATEOAS approach to make it easily useable within Angular.
If you provide resources from your web api with hypermedia containing links to related resources as well as information about possible actions on your resource, then this library makes interacting with your web api as simple as possible.
A possible hypermedia json could look like the following example:
{
"_links": {
"self": { "href": "http://myapp.dom.tld/resource" },
"linkedResource": { "href": "http://myapp.dom.tld/linked-resource" }
},
"_actions": {
"delete": { "method": "DELETE", "href": "http://myapp.dom.tld/resource"}
},
"stringProp": "foo",
"subObj": {
"numProp": 5,
"_links": {
"subObjLinkedResource": { "href": "http://myapp.dom.tld/sub-obj-linked-resource" }
},
"_actions": {
"create": { "href": "http://myapp.dom.tld/resource/sub-obj", "method": "POST"}
}
}
}
The library helps you to use the metadata within the json structure. To create such hypermedia json you can use various libraries. For .NET we recommend to use the Fancy.ResourceLinker.Hateoas NuGet package. For Java we recommend the Spring.HATEOAS library.
There is a sample application Fancy.ResourceLinker.Sample which demonstrates end to end real world usage of hypermedia in Angular and also some other aspects of a real wold system.
Detailed documentatin is planned with the first production ready release. Until then have a look at the playground app within this repository that demonstrates the usage of the library.
FAQs
A library to bring hypermedia json into the ngrx signal store following the HATEOAS approach to make it easily useable within Angular.
We found that @angular-architects/ngrx-hateoas demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.