inferno-vnode-flags
Advanced tools
Comparing version
@@ -22,2 +22,5 @@ 'use strict'; | ||
VNodeFlags[VNodeFlags["ContentEditable"] = 4096] = "ContentEditable"; | ||
VNodeFlags[VNodeFlags["Fragment"] = 8192] = "Fragment"; | ||
VNodeFlags[VNodeFlags["InUse"] = 16384] = "InUse"; | ||
VNodeFlags[VNodeFlags["ForwardRef"] = 32768] = "ForwardRef"; | ||
/* Masks */ | ||
@@ -27,3 +30,3 @@ VNodeFlags[VNodeFlags["FormElement"] = 448] = "FormElement"; | ||
VNodeFlags[VNodeFlags["Component"] = 14] = "Component"; | ||
VNodeFlags[VNodeFlags["VNodeShape"] = 1565] = "VNodeShape"; | ||
VNodeFlags[VNodeFlags["DOMRef"] = 2033] = "DOMRef"; | ||
})(exports.VNodeFlags || (exports.VNodeFlags = {})); | ||
@@ -37,3 +40,4 @@ (function (ChildFlags) { | ||
ChildFlags[ChildFlags["HasKeyedChildren"] = 8] = "HasKeyedChildren"; | ||
ChildFlags[ChildFlags["HasTextChildren"] = 16] = "HasTextChildren"; | ||
ChildFlags[ChildFlags["MultipleChildren"] = 12] = "MultipleChildren"; | ||
})(exports.ChildFlags || (exports.ChildFlags = {})); |
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),function(e){e[e.HtmlElement=1]="HtmlElement",e[e.ComponentUnknown=2]="ComponentUnknown",e[e.ComponentClass=4]="ComponentClass",e[e.ComponentFunction=8]="ComponentFunction",e[e.Text=16]="Text",e[e.SvgElement=32]="SvgElement",e[e.InputElement=64]="InputElement",e[e.TextareaElement=128]="TextareaElement",e[e.SelectElement=256]="SelectElement",e[e.Void=512]="Void",e[e.Portal=1024]="Portal",e[e.ReCreate=2048]="ReCreate",e[e.ContentEditable=4096]="ContentEditable",e[e.FormElement=448]="FormElement",e[e.Element=481]="Element",e[e.Component=14]="Component",e[e.VNodeShape=1565]="VNodeShape"}(exports.VNodeFlags||(exports.VNodeFlags={})),function(e){e[e.UnknownChildren=0]="UnknownChildren",e[e.HasInvalidChildren=1]="HasInvalidChildren",e[e.HasVNodeChildren=2]="HasVNodeChildren",e[e.HasNonKeyedChildren=4]="HasNonKeyedChildren",e[e.HasKeyedChildren=8]="HasKeyedChildren",e[e.MultipleChildren=12]="MultipleChildren"}(exports.ChildFlags||(exports.ChildFlags={})); | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),function(e){e[e.HtmlElement=1]="HtmlElement",e[e.ComponentUnknown=2]="ComponentUnknown",e[e.ComponentClass=4]="ComponentClass",e[e.ComponentFunction=8]="ComponentFunction",e[e.Text=16]="Text",e[e.SvgElement=32]="SvgElement",e[e.InputElement=64]="InputElement",e[e.TextareaElement=128]="TextareaElement",e[e.SelectElement=256]="SelectElement",e[e.Void=512]="Void",e[e.Portal=1024]="Portal",e[e.ReCreate=2048]="ReCreate",e[e.ContentEditable=4096]="ContentEditable",e[e.Fragment=8192]="Fragment",e[e.InUse=16384]="InUse",e[e.ForwardRef=32768]="ForwardRef",e[e.FormElement=448]="FormElement",e[e.Element=481]="Element",e[e.Component=14]="Component",e[e.DOMRef=2033]="DOMRef"}(exports.VNodeFlags||(exports.VNodeFlags={})),function(e){e[e.UnknownChildren=0]="UnknownChildren",e[e.HasInvalidChildren=1]="HasInvalidChildren",e[e.HasVNodeChildren=2]="HasVNodeChildren",e[e.HasNonKeyedChildren=4]="HasNonKeyedChildren",e[e.HasKeyedChildren=8]="HasKeyedChildren",e[e.HasTextChildren=16]="HasTextChildren",e[e.MultipleChildren=12]="MultipleChildren"}(exports.ChildFlags||(exports.ChildFlags={})); |
@@ -15,6 +15,9 @@ export declare const enum VNodeFlags { | ||
ContentEditable = 4096, | ||
Fragment = 8192, | ||
InUse = 16384, | ||
ForwardRef = 32768, | ||
FormElement = 448, | ||
Element = 481, | ||
Component = 14, | ||
VNodeShape = 1565 | ||
DOMRef = 2033 | ||
} | ||
@@ -27,3 +30,4 @@ export declare const enum ChildFlags { | ||
HasKeyedChildren = 8, | ||
HasTextChildren = 16, | ||
MultipleChildren = 12 | ||
} |
@@ -19,2 +19,5 @@ /* If editing these values check babel-plugin-also */ | ||
VNodeFlags[VNodeFlags["ContentEditable"] = 4096] = "ContentEditable"; | ||
VNodeFlags[VNodeFlags["Fragment"] = 8192] = "Fragment"; | ||
VNodeFlags[VNodeFlags["InUse"] = 16384] = "InUse"; | ||
VNodeFlags[VNodeFlags["ForwardRef"] = 32768] = "ForwardRef"; | ||
/* Masks */ | ||
@@ -24,3 +27,3 @@ VNodeFlags[VNodeFlags["FormElement"] = 448] = "FormElement"; | ||
VNodeFlags[VNodeFlags["Component"] = 14] = "Component"; | ||
VNodeFlags[VNodeFlags["VNodeShape"] = 1565] = "VNodeShape"; | ||
VNodeFlags[VNodeFlags["DOMRef"] = 2033] = "DOMRef"; | ||
})(VNodeFlags || (VNodeFlags = {})); | ||
@@ -36,2 +39,3 @@ // Combinations are not possible, its bitwise only to reduce vNode size | ||
ChildFlags[ChildFlags["HasKeyedChildren"] = 8] = "HasKeyedChildren"; | ||
ChildFlags[ChildFlags["HasTextChildren"] = 16] = "HasTextChildren"; | ||
ChildFlags[ChildFlags["MultipleChildren"] = 12] = "MultipleChildren"; | ||
@@ -38,0 +42,0 @@ })(ChildFlags || (ChildFlags = {})); |
@@ -19,2 +19,5 @@ /* If editing these values check babel-plugin-also */ | ||
VNodeFlags[VNodeFlags["ContentEditable"] = 4096] = "ContentEditable"; | ||
VNodeFlags[VNodeFlags["Fragment"] = 8192] = "Fragment"; | ||
VNodeFlags[VNodeFlags["InUse"] = 16384] = "InUse"; | ||
VNodeFlags[VNodeFlags["ForwardRef"] = 32768] = "ForwardRef"; | ||
/* Masks */ | ||
@@ -24,3 +27,3 @@ VNodeFlags[VNodeFlags["FormElement"] = 448] = "FormElement"; | ||
VNodeFlags[VNodeFlags["Component"] = 14] = "Component"; | ||
VNodeFlags[VNodeFlags["VNodeShape"] = 1565] = "VNodeShape"; | ||
VNodeFlags[VNodeFlags["DOMRef"] = 2033] = "DOMRef"; | ||
})(VNodeFlags || (VNodeFlags = {})); | ||
@@ -36,2 +39,3 @@ // Combinations are not possible, its bitwise only to reduce vNode size | ||
ChildFlags[ChildFlags["HasKeyedChildren"] = 8] = "HasKeyedChildren"; | ||
ChildFlags[ChildFlags["HasTextChildren"] = 16] = "HasTextChildren"; | ||
ChildFlags[ChildFlags["MultipleChildren"] = 12] = "MultipleChildren"; | ||
@@ -38,0 +42,0 @@ })(ChildFlags || (ChildFlags = {})); |
@@ -24,2 +24,5 @@ (function (global, factory) { | ||
VNodeFlags[VNodeFlags["ContentEditable"] = 4096] = "ContentEditable"; | ||
VNodeFlags[VNodeFlags["Fragment"] = 8192] = "Fragment"; | ||
VNodeFlags[VNodeFlags["InUse"] = 16384] = "InUse"; | ||
VNodeFlags[VNodeFlags["ForwardRef"] = 32768] = "ForwardRef"; | ||
/* Masks */ | ||
@@ -29,3 +32,3 @@ VNodeFlags[VNodeFlags["FormElement"] = 448] = "FormElement"; | ||
VNodeFlags[VNodeFlags["Component"] = 14] = "Component"; | ||
VNodeFlags[VNodeFlags["VNodeShape"] = 1565] = "VNodeShape"; | ||
VNodeFlags[VNodeFlags["DOMRef"] = 2033] = "DOMRef"; | ||
})(exports.VNodeFlags || (exports.VNodeFlags = {})); | ||
@@ -39,2 +42,3 @@ (function (ChildFlags) { | ||
ChildFlags[ChildFlags["HasKeyedChildren"] = 8] = "HasKeyedChildren"; | ||
ChildFlags[ChildFlags["HasTextChildren"] = 16] = "HasTextChildren"; | ||
ChildFlags[ChildFlags["MultipleChildren"] = 12] = "MultipleChildren"; | ||
@@ -41,0 +45,0 @@ })(exports.ChildFlags || (exports.ChildFlags = {})); |
@@ -1,1 +0,1 @@ | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(e.Inferno=e.Inferno||{})}(this,function(e){"use strict";var n,t;(n=e.VNodeFlags||(e.VNodeFlags={}))[n.HtmlElement=1]="HtmlElement",n[n.ComponentUnknown=2]="ComponentUnknown",n[n.ComponentClass=4]="ComponentClass",n[n.ComponentFunction=8]="ComponentFunction",n[n.Text=16]="Text",n[n.SvgElement=32]="SvgElement",n[n.InputElement=64]="InputElement",n[n.TextareaElement=128]="TextareaElement",n[n.SelectElement=256]="SelectElement",n[n.Void=512]="Void",n[n.Portal=1024]="Portal",n[n.ReCreate=2048]="ReCreate",n[n.ContentEditable=4096]="ContentEditable",n[n.FormElement=448]="FormElement",n[n.Element=481]="Element",n[n.Component=14]="Component",n[n.VNodeShape=1565]="VNodeShape",(t=e.ChildFlags||(e.ChildFlags={}))[t.UnknownChildren=0]="UnknownChildren",t[t.HasInvalidChildren=1]="HasInvalidChildren",t[t.HasVNodeChildren=2]="HasVNodeChildren",t[t.HasNonKeyedChildren=4]="HasNonKeyedChildren",t[t.HasKeyedChildren=8]="HasKeyedChildren",t[t.MultipleChildren=12]="MultipleChildren",Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(e.Inferno=e.Inferno||{})}(this,function(e){"use strict";var n,t;(n=e.VNodeFlags||(e.VNodeFlags={}))[n.HtmlElement=1]="HtmlElement",n[n.ComponentUnknown=2]="ComponentUnknown",n[n.ComponentClass=4]="ComponentClass",n[n.ComponentFunction=8]="ComponentFunction",n[n.Text=16]="Text",n[n.SvgElement=32]="SvgElement",n[n.InputElement=64]="InputElement",n[n.TextareaElement=128]="TextareaElement",n[n.SelectElement=256]="SelectElement",n[n.Void=512]="Void",n[n.Portal=1024]="Portal",n[n.ReCreate=2048]="ReCreate",n[n.ContentEditable=4096]="ContentEditable",n[n.Fragment=8192]="Fragment",n[n.InUse=16384]="InUse",n[n.ForwardRef=32768]="ForwardRef",n[n.FormElement=448]="FormElement",n[n.Element=481]="Element",n[n.Component=14]="Component",n[n.DOMRef=2033]="DOMRef",(t=e.ChildFlags||(e.ChildFlags={}))[t.UnknownChildren=0]="UnknownChildren",t[t.HasInvalidChildren=1]="HasInvalidChildren",t[t.HasVNodeChildren=2]="HasVNodeChildren",t[t.HasNonKeyedChildren=4]="HasNonKeyedChildren",t[t.HasKeyedChildren=8]="HasKeyedChildren",t[t.HasTextChildren=16]="HasTextChildren",t[t.MultipleChildren=12]="MultipleChildren",Object.defineProperty(e,"__esModule",{value:!0})}); |
{ | ||
"name": "inferno-vnode-flags", | ||
"version": "5.5.0", | ||
"version": "6.0.0-alpha.0", | ||
"license": "MIT", | ||
@@ -39,3 +39,3 @@ "description": "Provides an enum of all possible VNode Flags used when calling Inferno.createVNode", | ||
"repository": "https://github.com/infernojs/inferno", | ||
"gitHead": "12b01d4ba007af4dfa277f73fae4060f954b44f9" | ||
"gitHead": "daef0cc20fde3d39e2dd1181f87659bea3fb52eb" | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
16175
8.93%209
11.17%1
Infinity%