
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
furystack-core
Advanced tools
FuryStack framework, core package.
Model declaration with @PrimaryKey, @Property and @ForeignKey decorators:
class RefExample {
@PrimaryKey
public Id;
@Property
public Value: string;
}
class MyModel {
@PrimaryKey
public Id: number;
@Property
public MyPropertyA: string;
@Property
public MyPropertyB: string;
@ForeignKey(RefExample, 'RefExample')
public RefExampleId: number;
public RefExample: RefExample;
}
Accessing model metadata via Global ModelDescriptorStore, usage:
const descriptor = ModelDescriptorStore.GetDescriptor(MyModel);
/*
descriptor.Object = {constructor: class MyModel { … }}
descriptor.Entries = [
PrimaryKeyDescriptorEntry {PrimaryKey: "Id"}
ODataPropertyDesrciptorEntry {PropertyName: "MyPropertyA", EdmType: 0}
ODataPropertyDesrciptorEntry {PropertyName: "MyPropertyB", EdmType: 0}
ForeignKeyDescriptorEntry {ForeignKeyField: "RefExample", ReferenceName: "RefExample"}
]
descriptor..PrimaryKey = PrimaryKeyDescriptorEntry {PrimaryKey: "Id"}
descriptor.Properties = [
ODataPropertyDesrciptorEntry {PropertyName: "MyPropertyA", EdmType: 0}
ODataPropertyDesrciptorEntry {PropertyName: "MyPropertyB", EdmType: 0}
]
descriptor.ForeignKeys = [
ForeignKeyDescriptorEntry {ForeignKeyField: "RefExample", ReferenceName: "RefExample"}
]
*/
Setup and endpoint with the EndpointBuilder class:
const builder = new EndpointBuilder('api');
builder.EntityType(MyModel);
builder.EntityType(RefExample);
builder.EntitySet(MyModel, 'mymodels');
FAQs
FuryStack framework, Core package
The npm package furystack-core receives a total of 3 weekly downloads. As such, furystack-core popularity was classified as not popular.
We found that furystack-core 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.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.