
Security News
Python Adopts Standard Lock File Format for Reproducible Installs
Python has adopted a standardized lock file format to improve reproducibility, security, and tool interoperability across the packaging ecosystem.
@cape-io/rg-utils
Advanced tools
Tools and utilities for R&G + D&L item ID and Category processing.
{prefix}-{patternId}-{colorId}
Prefer using a patternSeparator
(-
) between prefix
and patternId
when creating new prefix options.
Options are defined in lib/cat-ids.js
.
prefix
valid options are [null, rg, p, l, dl, dli, dlt, pf, pft, pfi]. Max of 16 options including null
(textile). 4 bits.patternId
NUMBER must be less than 16777215. 24 bits.colorId
NUMBER must be less than 99. Note this is smaller than the 7 bit max of 127. We assume it always two digits/chars long. Id 99 is reserved for color items that are the same as (wire/sample) the pattern.getItemIdInfo(itemItemNumber)
Parsing of itemId into an object { patternId, colorId, otherId, invalidId: Boolean }
patternId
or it will not be processed.01|02
. Able to parse as 01/02
, 01_02
, or 01-02
. Will mark as invalidId if used _
or /
.otherId
is joined with underscore.hasValidIdChars()
uses a regex expression to check if the id is in a known format.Primary categories in the data should be fabric
, trim
, accessory
.
If under 14 bits just use the number 16384.
Need to fit into smaller than 24 bits. Larger numbers almost always have zeros. How to compress out the zeros?
910003 = source 910, size 6, style 3
categoryId
is a property of colorItem based on pattern.categoryId
. Used for searches.appId
is the web application id.appCode
is the backend data feed application code. Should really be dataFeedCode
or something like that.searchHashParse()
should return categoryId
when passed valid itemId
categoryId
& pattern.imageUrl
fixItemId(itemNumber) -> itemId
6.1 Return simpleSearch
prop on parse.
Switch all instances of patternNumber
to patternInt
.
dl
prefix items are not always textile
.
getCategory(item)
no longer send categories to it first, just item.
v5.4.0 pager data
5.x Includes fields and categories as code.
4.x Allows colorIds from 63 to 99.
npm run up
to update field & category data.
FAQs
Tools and utilities for R&G + D&L item processing.
The npm package @cape-io/rg-utils receives a total of 258 weekly downloads. As such, @cape-io/rg-utils popularity was classified as not popular.
We found that @cape-io/rg-utils demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Python has adopted a standardized lock file format to improve reproducibility, security, and tool interoperability across the packaging ecosystem.
Security News
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.