Gathering detailed insights and metrics for inferno-vnode-flags
Gathering detailed insights and metrics for inferno-vnode-flags
Gathering detailed insights and metrics for inferno-vnode-flags
Gathering detailed insights and metrics for inferno-vnode-flags
🔥 An extremely fast, React-like JavaScript library for building modern user interfaces
npm install inferno-vnode-flags
Typescript
Module System
Node Version
NPM Version
99.6
Supply Chain
84.3
Quality
87.3
Maintenance
100
Vulnerability
100
License
JavaScript (99.5%)
HTML (0.46%)
CSS (0.04%)
Total Downloads
20,752,521
Last Day
11,600
Last Week
105,731
Last Month
557,970
Last Year
6,474,869
16,099 Stars
6,290 Commits
634 Forks
266 Watching
6 Branches
193 Contributors
Minified
Minified + Gzipped
Latest Version
8.2.3
Package Id
inferno-vnode-flags@8.2.3
Unpacked Size
20.94 kB
Size
4.23 kB
File Count
12
NPM Version
lerna/6.6.2/node@v21.4.0+x64 (linux)
Node Version
21.4.0
Publised On
10 Dec 2023
Cumulative downloads
Total Downloads
Last day
-55.8%
11,600
Compared to previous day
Last week
-19.2%
105,731
Compared to previous week
Last month
-3.3%
557,970
Compared to previous month
Last year
8.4%
6,474,869
Compared to previous year
No dependencies detected.
Inferno VNode Flags is a small utility library for Inferno.
Usage of inferno-vnode-flags
should be limited to assigning VNodeFlags
and ChildFlags
when using creating vNodes.
npm install --save inferno-vnode-flags
VNodeFlags:
VNodeFlags.HtmlElement
VNodeFlags.ComponentUnknown
VNodeFlags.ComponentClass
VNodeFlags.ComponentFunction
VNodeFlags.Text
VNodeFlags.SvgElement
VNodeFlags.InputElement
VNodeFlags.TextareaElement
VNodeFlags.SelectElement
VNodeFlags.Portal
VNodeFlags.ReCreate
(JSX $ReCreate) always re-creates the vNodeVNodeFlags.ContentEditable
VNodeFlags.Fragment
VNodeFlags.InUse
VnodeFlags.ForwardRef
VNodeFlags.Normalized
VNodeFlags Masks:
VNodeFlags.ForwardRefComponent
Functional component wrapped in forward refVNodeFlags.FormElement
- Is form elementVNodeFlags.Element
- Is vNode elementVNodeFlags.Component
- Is vNode ComponentVNodeFlags.DOMRef
- Bit set when vNode holds DOM referenceVNodeFlags.InUseOrNormalized
- VNode is used somewhere else or came from normalization processVNodeFlags.ClearInUseNormalized
- Opposite mask of InUse or NormalizedChildFlags
ChildFlags.UnknownChildren
needs NormalizationChildFlags.HasInvalidChildren
is invalid (null, undefined, false, true)ChildFlags.HasVNodeChildren
(JSX $HasVNodeChildren) is single vNode (Element/Component)ChildFlags.HasNonKeyedChildren
(JSX $HasNonKeyedChildren) is Array of vNodes non keyed (no nesting, no holes)ChildFlags.HasKeyedChildren
(JSX $HasKeyedChildren) is Array of vNodes keyed (no nesting, no holes)ChildFlags.HasTextChildren
(JSX $HasTextChildren) vNode contains only textChildFlags Masks
ChildFlags.MultipleChildren
Is ArrayYou can easily combine multiple flags, by using bitwise operators. A common use case is an element that has keyed children:
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
13 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool is run on all commits
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 2/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
24 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More