=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== node-preact-8.2.5/config/codemod-const.js-19- if (init.type==='Literal') { node-preact-8.2.5/config/codemod-const.js:20: // console.log(`Inlining constant: ${name}=${init.raw}`); node-preact-8.2.5/config/codemod-const.js-21- found++; ############################################## node-preact-8.2.5/config/codemod-strip-tdz.js-28- if (remove===false) { node-preact-8.2.5/config/codemod-strip-tdz.js:29: console.log(`> Skipping removal of undefined init for "${node.id.name}": within ${p.value.type}`); node-preact-8.2.5/config/codemod-strip-tdz.js-30- } ############################################## node-preact-8.2.5/debug/index.js-20- `Component's "ref" property should be a function,` + node-preact-8.2.5/debug/index.js:21: ` but [${typeof attributes.ref}] passed\n` + serializeVNode(vnode) node-preact-8.2.5/debug/index.js-22- ); ############################################## node-preact-8.2.5/debug/index.js-78- if (typeof value==='function') { node-preact-8.2.5/debug/index.js:79: value = `function ${value.displayName || value.name}() {}`; node-preact-8.2.5/debug/index.js-80- } ############################################## node-preact-8.2.5/debug/index.js-87- node-preact-8.2.5/debug/index.js:88: props += ` ${attr}=${JSON.stringify(value)}`; node-preact-8.2.5/debug/index.js-89- } ############################################## node-preact-8.2.5/debug/index.js-92- node-preact-8.2.5/debug/index.js:93: return `<${nodeName}${props}${children && children.length ? ('>..</'+nodeName+'>') : ' />'}`; node-preact-8.2.5/debug/index.js-94- }; ############################################## node-preact-8.2.5/devtools/devtools.js-103- // React DevTools exposes the `_instance` field of the selected item in the node-preact-8.2.5/devtools/devtools.js:104: // component tree as `$r` in the console. `_instance` must refer to a node-preact-8.2.5/devtools/devtools.js-105- // React Component (or compatible) class instance with `props` and `state` ############################################## node-preact-8.2.5/test/browser/devtools.js-162- // Test that the original instance is exposed via `_instance` so it can node-preact-8.2.5/test/browser/devtools.js:163: // be accessed conveniently via `$r` in devtools node-preact-8.2.5/test/browser/devtools.js-164- ############################################## node-preact-8.2.5/test/browser/lifecycle.js-545- componentWillUnmount() { node-preact-8.2.5/test/browser/lifecycle.js:546: expect(this.base, `${name}.componentWillUnmount`).to.exist; node-preact-8.2.5/test/browser/lifecycle.js-547- setTimeout( () => { node-preact-8.2.5/test/browser/lifecycle.js:548: expect(this.base, `after ${name}.componentWillUnmount`).not.to.exist; node-preact-8.2.5/test/browser/lifecycle.js-549- }, 0); ############################################## node-preact-8.2.5/test/browser/performance.js-45- hz = iterations / count / time * 1000, node-preact-8.2.5/test/browser/performance.js:46: message = `${hz|0}/s (${ticks} ticks)`; node-preact-8.2.5/test/browser/performance.js-47- callback({ iterations, noops, count, time, ticks, hz, message }); ############################################## node-preact-8.2.5/test/browser/performance.js-108- }, ({ ticks, message }) => { node-preact-8.2.5/test/browser/performance.js:109: console.log(`PERF: empty diff: ${message}`); node-preact-8.2.5/test/browser/performance.js-110- expect(ticks).to.be.below(150 * MULTIPLIER); ############################################## node-preact-8.2.5/test/browser/performance.js-191- }, ({ ticks, message }) => { node-preact-8.2.5/test/browser/performance.js:192: console.log(`PERF: repeat diff: ${message}`); node-preact-8.2.5/test/browser/performance.js-193- expect(ticks).to.be.below(2000 * MULTIPLIER); ############################################## node-preact-8.2.5/test/browser/performance.js-239- }, ({ ticks, message }) => { node-preact-8.2.5/test/browser/performance.js:240: console.log(`PERF: large VTree: ${message}`); node-preact-8.2.5/test/browser/performance.js-241- expect(ticks).to.be.below(2000 * MULTIPLIER); ############################################## node-preact-8.2.5/test/browser/performance.js-248- let counter = 0; node-preact-8.2.5/test/browser/performance.js:249: const keyLooper = n => c => c % n ? `${c}px` : c; node-preact-8.2.5/test/browser/performance.js-250- const get = (obj, i) => obj[i%obj.length]; ############################################## node-preact-8.2.5/test/browser/performance.js-260- ['display', c => c%10 ? c%2 ? 'block' : 'inline' : 'none'], node-preact-8.2.5/test/browser/performance.js:261: ['color', c => `rgba(${c%255}, ${255 - c%255}, ${50+c%150}, ${c%50/50})`], node-preact-8.2.5/test/browser/performance.js:262: ['border', c => c%5 ? `${c%10}px ${c%2?'solid':'dotted'} ${STYLEKEYS[6][1](c)}` : ''] node-preact-8.2.5/test/browser/performance.js-263- ]; ############################################## node-preact-8.2.5/test/browser/performance.js-275- <input type="checkbox" checked={index%3 == 0} /> node-preact-8.2.5/test/browser/performance.js:276: <input value={`test ${index/4|0}`} disabled={index%10 ? null : true} /> node-preact-8.2.5/test/browser/performance.js-277- <div class={get(CLASSES, index*10)}> ############################################## node-preact-8.2.5/test/browser/performance.js-289- }, ({ ticks, message }) => { node-preact-8.2.5/test/browser/performance.js:290: console.log(`PERF: style/prop mutation: ${message}`); node-preact-8.2.5/test/browser/performance.js-291- expect(ticks).to.be.below(350 * MULTIPLIER); ############################################## node-preact-8.2.5/test/browser/performance.js-357- }, ({ ticks, message }) => { node-preact-8.2.5/test/browser/performance.js:358: console.log(`PERF: SSR Hydrate: ${message}`); node-preact-8.2.5/test/browser/performance.js-359- expect(ticks).to.be.below(3000 * MULTIPLIER); ############################################## node-preact-8.2.5/test/browser/refs.js-6- let spy = sinon.spy(...args); node-preact-8.2.5/test/browser/refs.js:7: spy.displayName = `spy('${name}')`; node-preact-8.2.5/test/browser/refs.js-8- return spy; ############################################## node-preact-8.2.5/test/browser/render.js-438- let html = '<b>foo & bar</b>'; node-preact-8.2.5/test/browser/render.js:439: scratch.innerHTML = `<div>${html}</div>`; node-preact-8.2.5/test/browser/render.js-440- render(<div dangerouslySetInnerHTML={{ __html: html }} />, scratch, scratch.lastChild); ############################################## node-preact-8.2.5/test/browser/render.js-442- expect(scratch.firstChild).to.have.property('innerHTML', html); node-preact-8.2.5/test/browser/render.js:443: expect(scratch.innerHTML).to.equal(`<div>${html}</div>`); node-preact-8.2.5/test/browser/render.js-444- }); ############################################## node-preact-8.2.5/test/ts/prect-test.tsx-14- this.state = { node-preact-8.2.5/test/ts/prect-test.tsx:15: input: `x${this.props}x` node-preact-8.2.5/test/ts/prect-test.tsx-16- }