Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@itrocks/property-group

Latest version: v0.0.3

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: baptistepillot
0 Stars
0 Forks
1 Versions
232 Downloads
JavaScript Repo language

Scan summary

@itrocks/property-group was last scanned on 28 Nov 2026 at version 0.0.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 28 Nov 2026.
  • Findings: No rules fired in version 0.0.3.
  • Downloads: 232 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.0.3 LATEST 28 Nov 2026 No rules fired

No rules fired in 0.0.3

Findings

Findings for v0.0.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.0.3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

npm version npm downloads GitHub issues discord

property-group

Group class properties by business topic with a shared class and property decorator.

Installation

Requires Node.js 24 or later and TypeScript with experimentalDecorators enabled.

npm i @itrocks/property-group

Constructor parameter properties use @itrocks/decorator's parameter name resolution. Compile with declaration: true and keep the generated .d.ts files beside the compiled .js files.

Usage

import { Group, groupOf } from '@itrocks/property-group'

@Group('sales', 'sellingPrice', 'salesUnit')
@Group('purchases', 'purchasePrice')
class Article
{

    purchasePrice = 0
    salesUnit = ''
    sellingPrice = 0

    @Group('logistics')
    weight = 0

    constructor(@Group('purchases') public supplier = '')
    {
    }

}

groupOf(Article)
// {
//   logistics: ['weight'],
//   purchases: ['supplier', 'purchasePrice'],
//   sales: ['sellingPrice', 'salesUnit']
// }

groupOf(Article, 'weight') // 'logistics'
groupOf(new Article(), 'supplier') // 'purchases'

Both forms write class-level group lists and property-level membership. Grouping describes business metadata; it does not render or reorder a user interface itself.

Public API

Group<T>(name: string, ...properties: Array<keyof T>)

On a class, declares a named group containing the supplied properties. Repeated declarations of the same group append properties without duplicates. Omitting the property list declares an empty group.

On a property, use @Group(name) to add that property to the named group. This also supports public, protected, private and readonly constructor parameter properties. The group name is required; there is no implicit group and false is not accepted.

A property belongs to one group. If another declaration assigns it to a different group, the last decorator executed wins and removes the property from its previous group. Empty groups are retained. Within a declaration, property order is preserved; across declarations, additions follow decorator execution order. Stacked class decorators execute bottom to top.

Subclasses inherit group metadata. Decorating a subclass copies the current inherited groups before applying changes, so its declarations do not modify its parent or siblings.

groupOf<T>(target: ObjectOrType<T>): PropertyGroups<T>

Returns a record mapping group names to property arrays for a class or instance. An undecorated class returns {}. The returned record and arrays are copies.

groupOf<T>(target: ObjectOrType<T>, property: keyof T): string | undefined

Returns the property's group name, including inherited membership, or undefined when it has no group.

PropertyGroups<T>

The group record type: Record<string, Array<keyof T>>.

Development

npm test
npm pack --dry-run

Tests compile real decorator examples, including constructor parameter properties, before running them.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @itrocks/property-group

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229