:fire: An extremely fast, React-like JavaScript library for building modern user interfaces
99 matches across 5 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …es/inferno-create-element/__tests__/components.spec.ts | 194 | container.firstChild.firstChild.firstChild.firstChild.getAttribute( |
| CRITICAL | …es/inferno-create-element/__tests__/components.spec.ts | 213 | container.firstChild.firstChild.firstChild.firstChild.getAttribute( |
| CRITICAL | …es/inferno-create-element/__tests__/components.spec.ts | 278 | container.firstChild.firstChild.firstChild.firstChild.getAttribute( |
| CRITICAL | …es/inferno-create-element/__tests__/components.spec.ts | 298 | container.firstChild.firstChild.firstChild.firstChild.getAttribute( |
| CRITICAL | …ges/inferno-create-element/__tests__/elements.spec.jsx | 259 | container.firstChild.firstChild.firstChild.firstChild.firstChild.getAttribute( |
| CRITICAL | …ges/inferno-create-element/__tests__/elements.spec.jsx | 296 | container.firstChild.firstChild.firstChild.firstChild.firstChild.getAttribute( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docs/uibench-lifecycle/app.js | 7 | function onComponentWillMountCounter() { |
| LOW | docs/uibench-lifecycle/app.js | 11 | function onComponentDidMountCounter() { |
| LOW | docs/uibench-lifecycle/app.js | 15 | function onComponentShouldUpdateCounter() { |
| LOW | docs/uibench-lifecycle/app.js | 20 | function onComponentWillUpdateCounter() { |
| LOW | docs/uibench-lifecycle/app.js | 24 | function onComponentDidUpdateCounter() { |
| LOW | docs/uibench-lifecycle/app.js | 28 | function onComponentWillUnmountCounter() { |
| LOW | docs/uibench-lifecycle/app.js | 32 | function onComponentDidAppearCounter() { |
| LOW | docs/uibench-lifecycle/app.js | 36 | function onComponentWillDisappearCounter(dom, props, callback) { |
| LOW | docs/event-test/app.js | 7 | function hoistedNonSyntheticEvents() { |
| LOW | docs/event-test/app.js | 21 | function hoistedLinkEventNonSynthetic() { |
| LOW | docs/event-test/app.js | 49 | function newFuncsNonSyntheticEvents() { |
| LOW | packages/inferno-mobx/src/observer.ts | 133 | function makePropertyObservableReference(propName): void { |
| LOW | packages/inferno/src/core/validate.ts | 154 | export function validateVNodeElementChildren(vNode): void { |
| LOW | packages/inferno/src/DOM/mounting.ts | 357 | function addAppearAnimationHookClass( |
| LOW | packages/inferno/src/DOM/mounting.ts | 367 | function addAppearAnimationHookFunctional( |
| LOW | packages/inferno/src/DOM/mounting.ts | 378 | export function mountClassComponentCallbacks( |
| LOW | packages/inferno/src/DOM/mounting.ts | 419 | export function mountFunctionalComponentCallbacks( |
| LOW | packages/inferno/src/DOM/patching.ts | 167 | function patchContentEditableChildren(dom, nextChildren): void { |
| LOW | packages/inferno/src/DOM/patching.ts | 391 | function replaceOneVNodeWithMultipleVNodes( |
| LOW | packages/inferno/src/DOM/patching.ts | 1006 | function patchKeyedChildrenComplex( |
| LOW | packages/inferno/src/DOM/unmounting.ts | 164 | function addDisappearAnimationHook( |
| LOW | packages/inferno/src/DOM/wrappers/processElement.ts | 28 | export function addFormElementEventHandlers( |
| LOW | packages/inferno/src/DOM/utils/componentUtil.ts | 57 | export function createClassComponentInstance( |
| LOW | packages/inferno/src/DOM/utils/componentUtil.ts | 123 | export function renderFunctionalComponent( |
| LOW | packages/inferno/src/DOM/utils/common.ts | 131 | export function callAllMoveAnimationHooks( |
| LOW | packages/inferno/src/DOM/utils/common.ts | 184 | function createDeferComponentClassRemovalCallback(vNode, parentDOM) { |
| LOW | packages/inferno/src/DOM/events/delegation.ts | 51 | function updateOrAddSyntheticEvent(name: string, dom): DelegateEventTypes { |
| LOW | packages/inferno-server/src/utils.ts | 125 | export function renderFunctionalComponent(vNode: VNode, context): InfernoNode { |
| LOW | packages/inferno-test-utils/src/index.ts | 85 | export function isRenderedClassComponentOfType( |
| LOW | packages/inferno-test-utils/src/index.ts | 171 | export function scryRenderedDOMElementsWithClass( |
| LOW | packages/inferno-test-utils/src/index.ts | 199 | export function scryRenderedDOMElementsWithTag( |
| LOW | packages/inferno-test-utils/src/index.ts | 208 | export function scryRenderedVNodesWithType( |
| LOW | packages/inferno-test-utils/src/index.ts | 225 | export function findRenderedDOMElementWithClass( |
| LOW | packages/inferno-test-utils/src/index.ts | 237 | export function findRenderedDOMElementWithTag( |
| LOW | packages/inferno-test-utils/src/index.ts | 249 | export function findRenderedVNodeWithType( |
| LOW | packages/inferno-redux/src/components/Provider.ts | 50 | function componentWillReceiveProps(nextProps) { |
| LOW | packages/inferno-router/src/Switch.ts | 33 | function extractFirstMatchFromChildren( |
| LOW | packages/inferno-router/src/resolveLoaders.ts | 262 | // function convertFormDataToSearchParams(formData: FormData): URLSearchParams { |
| LOW | packages/inferno-animation/readme.md | 137 | export function animateModalOnWillDisappear(dom, callback, onClosed) { |
| LOW | …rno-animation/__tests__/animatedMoveComponent.spec.tsx | 13 | function waitForAnimationAndContinue(condition, callback, arg1?): void { |
| LOW | …rno-animation/__tests__/animatedMoveComponent.spec.tsx | 168 | function waitForAnimationAndContinue(condition, callback, arg1?): void { |
| LOW | …erno-animation/__tests__/animatedAllComponent.spec.tsx | 18 | function waitForAnimationAndContinue(condition, callback, arg1?: any): void { |
| LOW | …erno-animation/__tests__/animatedAllComponent.spec.tsx | 173 | function waitForAnimationAndContinue(condition, callback, arg1?): void { |
| LOW | …inferno-animation/__tests__/animatedComponent.spec.tsx | 17 | function waitForAnimationAndContinue(condition, callback, arg1?): void { |
| LOW | …inferno-animation/__tests__/animatedComponent.spec.tsx | 172 | function waitForAnimationAndContinue(condition, callback, arg1?): void { |
| LOW | packages/inferno-animation/src/utils.ts | 225 | export function registerTransitionListener( |
| LOW | packages/inferno-animation/src/animationCoordinator.ts | 56 | export function consumeGlobalAnimationSource( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docs/uibench/custom-uibench.js | 261 | } |
| LOW | docs/uibench/custom-uibench.js | 281 | // } |
| LOW | docs/uibench/custom-uibench.js | 301 | // console.log = logFn; |
| LOW | docs/uibench/custom-uibench.js | 321 | // throw new Error("Spec test failed: invalid data-id attribute in the AnimBox"); |
| LOW | docs/uibench/custom-uibench.js | 341 | // } |
| LOW | docs/uibench/custom-uibench.js | 361 | // if (mainTag.length !== 1) { |
| LOW | docs/uibench/custom-uibench.js | 381 | // } |
| LOW | docs/uibench/custom-uibench.js | 401 | // onUpdate(initialState, "init"); |
| LOW | docs/uibench/custom-uibench.js | 421 | // tableRows = document.getElementsByClassName("TableRow"); |
| LOW | scripts/fakedom/uibench-reactlike/start.js | 1 | import {writeFile} from 'fs'; |
| LOW | scripts/fakedom/uibench-reactlike/start.js | 21 | // totalEverything += currentNode.selfSize; |
| LOW | …ages/inferno-compat/__tests__/ReactJSXElement.spec.jsx | 61 | expect(element.props.foo).toBe(1); |
| LOW | …ages/inferno-compat/__tests__/ReactJSXElement.spec.jsx | 81 | // var expectation = {foo:'56'}; |
| LOW | …ages/inferno-compat/__tests__/ReactJSXElement.spec.jsx | 101 | // it('overrides children if null is provided as a JSX child', function() { |
| LOW | packages/inferno-compat/__tests__/lifecycle.spec.jsx | 221 | // expect(calls.argsFor(++i)).toEqual(['UPDATE']); |
| LOW | packages/inferno-compat/__tests__/lifecycle.spec.jsx | 241 | |
| LOW | …ages/inferno-compat/__tests__/ReactMultiChild.spec.jsx | 201 | |
| LOW | …ages/inferno-compat/__tests__/ReactMultiChild.spec.jsx | 221 | // ReactDOMFeatureFlags.useCreateElement = false; |
| LOW | …ages/inferno-compat/__tests__/ReactMultiChild.spec.jsx | 241 | // // Warm the cache used by `getMarkupWrap`. |
| LOW | …ages/inferno-compat/__tests__/ReactMultiChild.spec.jsx | 261 | // expect(setInnerHTML.calls.count()).toBe(callCountOnMount + 1); |
| LOW | packages/inferno-compat/__tests__/ReactMount.spec.jsx | 121 | |
| LOW | packages/inferno-compat/__tests__/ReactMount.spec.jsx | 141 | // spyOn(console, 'error'); |
| LOW | …ckages/inferno-compat/__tests__/ReactChildren.spec.jsx | 181 | // var zero = <div key="keyZero" />; |
| LOW | …ckages/inferno-compat/__tests__/ReactChildren.spec.jsx | 221 | [<div key="banana" />, <div key="camel" />, <div key="deli" />], |
| LOW | …nferno-compat/__tests__/ReactMountDestruction.spec.jsx | 41 | // it('should warn when unmounting a non-container root node', function() { |
| LOW | …nferno-compat/__tests__/ReactMountDestruction.spec.jsx | 61 | // }); |
| LOW | …nferno-compat/__tests__/ReactMountDestruction.spec.jsx | 81 | // 'unmount was rendered by React and is not a top-level container. ' + |
| LOW | …-server/__tests__/creation-queuestream.spec.server.tsx | 401 | template: () => <input defaultValue={123} />, |
| LOW | …ferno-server/__tests__/creation-stream.spec.server.tsx | 321 | result: '<input type="text" value="foo">', |
| LOW | …ckages/inferno-create-element/__tests__/select.spec.js | 61 | |
| LOW | …ckages/inferno-create-element/__tests__/select.spec.js | 81 | // render(template(null), container); |
| LOW | …ges/inferno-redux/__tests__/components/connect.spec.js | 1421 | // } |
| LOW | …ges/inferno-redux/__tests__/components/connect.spec.js | 1441 | // renderToContainer(<ProviderMock store={store}>{makeContainer(() => 'hey', () => ({}), () => ({}))}</ProviderMoc |
| LOW | …ges/inferno-redux/__tests__/components/connect.spec.js | 1461 | // |
| LOW | packages/inferno-redux/src/connect/wrapMapToProps.ts | 21 | export const getDependsOnOwnProps = (mapToProps): boolean => |
| LOW | packages/inferno-router/src/resolveLoaders.ts | 161 | // some of the related code is commented away |
| LOW | packages/inferno-router/src/resolveLoaders.ts | 201 | inBrowser || !isUndefined(base) |
| LOW | packages/inferno-router/src/resolveLoaders.ts | 261 | |
| LOW | packages/inferno-animation/src/animationCoordinator.ts | 81 | } |
| LOW | .github/COMMIT_TEMPLATE.md | 1 | # <type>: (If applied, this commit will...) <subject> (Max 50 char) |
| LOW | .github/COMMIT_TEMPLATE.md | 21 | # Remember to |
| LOW | .github/workflows/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need |
| LOW | .github/workflows/codeql-analysis.yml | 61 | # ℹ️ Command-line programs to run using the OS shell. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .github/COMMIT_TEMPLATE.md | 20 | # -------------------- |
| MEDIUM | .github/COMMIT_TEMPLATE.md | 28 | # -------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docs/dbmonster/ENV.js | 136 | function getData(keepIdentity) { |