开放式跨端跨框架解决方案,支持使用 React/Vue 等框架来开发微信/京东/百度/支付宝/字节跳动/ QQ 小程序/H5/React Native 等应用。
This report summarizes scanner evidence for NervJS/taro, a TypeScript project with 37,741 GitHub stars. SynthScan examined 419,441 lines of code across 4593 source files, recording 511 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.6 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 457 finding(s).
Are imports declared and package/API names verified? 54 finding(s).
Are wrappers, guards, and repeated structures necessary? 223 finding(s).
Which changes need focused human review? 511 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 511 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/taro_init/README.md | 1 | # Taro init | COMMENT |
| LOW | crates/swc_plugin_define_config/src/lib.rs | 141 | /// if plugin need to handle low-level ptr directly via | COMMENT |
| LOW | crates/swc_plugin_compile_mode/src/lib.rs | 61 | /// `plugin_transform` macro interop pointers into deserialized structs, as well | COMMENT |
| LOW | tests/__tests__/bundled/globby/index.js | 4201 | // fatal for JavaScript regular expression, so eliminate it. | COMMENT |
| LOW | tests/__tests__/bundled/globby/index.js | 4261 | // > There are 12 characters with special meanings: | COMMENT |
| LOW | tests/__tests__/bundled/globby/index.js | 4301 | COMMENT | |
| LOW | tests/__tests__/bundled/globby/index.js | 4321 | function startingReplacer () { | COMMENT |
| LOW | tests/__tests__/bundled/globby/index.js | 4361 | COMMENT | |
| LOW | tests/__tests__/bundled/globby/index.js | 4421 | // Invalid range notaton | COMMENT |
| LOW | tests/__tests__/bundled/globby/index.js | 4641 | COMMENT | |
| LOW | examples/custom-tabbar-vue3/config/prod.js | 21 | // /** | COMMENT |
| LOW | examples/blended-taro-component-vue3/h5/config/prod.js | 21 | // /** | COMMENT |
| LOW | …lended-taro-component-vue3/taro-project/config/prod.js | 21 | // /** | COMMENT |
| LOW | examples/mini-program-example/config/prod.js | 21 | // /** | COMMENT |
| LOW | …xample/src/pages/api/device/bluetoothGeneral/index.tsx | 21 | export default class Index extends React.Component { | COMMENT |
| LOW | …xample/src/pages/api/device/bluetoothGeneral/index.tsx | 261 | // Taro.stopBluetoothDevicesDiscovery({ | COMMENT |
| LOW | …xample/src/pages/api/device/bluetoothGeneral/index.tsx | 281 | // let services: Array<string> = [] | COMMENT |
| LOW | …xample/src/pages/api/device/bluetoothGeneral/index.tsx | 301 | // }, | COMMENT |
| LOW | …xample/src/pages/api/device/bluetoothGeneral/index.tsx | 321 | // }, | COMMENT |
| LOW | …xample/src/pages/api/device/bluetoothGeneral/index.tsx | 341 | // id: 'offBluetoothDeviceFound', | COMMENT |
| LOW | …xample/src/pages/api/device/bluetoothGeneral/index.tsx | 361 | // if (deviceUuid == '') { | COMMENT |
| LOW | …xample/src/pages/api/device/bluetoothGeneral/index.tsx | 381 | // }) | COMMENT |
| LOW | …xample/src/pages/api/device/bluetoothGeneral/index.tsx | 401 | // }, | COMMENT |
| LOW | …xample/src/pages/api/device/bluetoothGeneral/index.tsx | 421 | // }, | COMMENT |
| LOW | …xample/src/pages/api/device/bluetoothGeneral/index.tsx | 441 | // ], | COMMENT |
| LOW | …xample/src/pages/api/device/bluetoothGeneral/index.tsx | 461 | // </View> | COMMENT |
| LOW | examples/input-readonly-taro4/config/prod.ts | 1 | import type { UserConfigExport } from "@tarojs/cli" | COMMENT |
| LOW | examples/input-readonly-taro4/config/prod.ts | 21 | // const path = require('path') | COMMENT |
| LOW | examples/taro-list/config/prod.ts | 1 | import type { UserConfigExport } from "@tarojs/cli"; | COMMENT |
| LOW | examples/taro-list/config/prod.ts | 21 | // const path = require('path') | COMMENT |
| LOW | examples/swiper-effect/config/prod.ts | 1 | import type { UserConfigExport } from "@tarojs/cli"; | COMMENT |
| LOW | examples/swiper-effect/config/prod.ts | 21 | // const Prerender = require('prerender-spa-plugin') | COMMENT |
| LOW | …s/external-prebundle/config/webpackDevServer.config.js | 21 | // websites from potentially accessing local content through DNS rebinding: | COMMENT |
| LOW | …s/external-prebundle/config/webpackDevServer.config.js | 41 | 'Access-Control-Allow-Methods': '*', | COMMENT |
| LOW | examples/external-prebundle/config/webpack.config.js | 541 | }, | COMMENT |
| LOW | examples/external-prebundle/config/webpack.config.js | 601 | // It will be an empty string unless you specify "homepage" | COMMENT |
| LOW | examples/external-prebundle/config/env.js | 41 | }); | COMMENT |
| LOW | examples/external-prebundle/src/setupTests.js | 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. | COMMENT |
| LOW | packages/taro-runtime/src/dom/style_properties.ts | 61 | // 'dominantBaseline', | COMMENT |
| LOW | packages/taro-runtime/src/dom/style_properties.ts | 201 | // combine('initialLetters', ['Align', 'Wrap']) | COMMENT |
| LOW | packages/taro-vite-runner/src/harmony/asset.ts | 261 | COMMENT | |
| LOW | packages/taro-vite-runner/src/harmony/style.ts | 301 | let viteConfig: ResolvedConfig | COMMENT |
| LOW | packages/taro-vite-runner/src/harmony/style.ts | 421 | // resolve asset URL placeholders to their built file URLs | COMMENT |
| LOW | packages/taro-vite-runner/src/harmony/style.ts | 441 | // 'asset', | COMMENT |
| LOW | packages/taro-vite-runner/src/harmony/style.ts | 461 | // () => `${relativePathToPublicFromCSS}/${publicUrl}`, | COMMENT |
| LOW | packages/taro-vite-runner/src/harmony/style.ts | 481 | // : chunk.name | COMMENT |
| LOW | packages/taro-rn/__tests__/geolocation.test.ts | 1 | import * as Taro from '../src/lib/getLocation' | COMMENT |
| LOW | packages/taro-rn/__tests__/geolocation.test.ts | 21 | // expect.assertions(6) | COMMENT |
| LOW | packages/taro-rn/__tests__/network.test.ts | 21 | expect(fail.mock.calls.length).toBe(0) | COMMENT |
| LOW | packages/taro-rn/__tests__/network.test.ts | 41 | // console.log("Connection type", state.type) | COMMENT |
| LOW | packages/taro-cli-convertor/src/index.ts | 461 | } | COMMENT |
| LOW | packages/taro-cli-convertor/src/index.ts | 481 | // }) | COMMENT |
| LOW | packages/taro-cli-convertor/src/util/index.ts | 401 | copyFileToTaro(matchUnconvertDir, outputFilePath) | COMMENT |
| LOW | packages/taro-plugin-http/src/index.ts | 41 | // // taro webpack4 中, 未正确识别到 axios package.json 中的 browser 字段, 以致于打包进入了 node 相关的代码(https://github.com/axios/axi | COMMENT |
| LOW | packages/taro-plugin-http/src/runtime/XMLHttpRequest.ts | 101 | } | COMMENT |
| LOW | …ckages/taro-plugin-react-devtools/src/backend/index.js | 2921 | if (!document.queryCommandEnabled("copy") && sel.isCollapsed) { | COMMENT |
| LOW | …ckages/taro-plugin-react-devtools/src/backend/index.js | 7641 | // Would show a preview of... | COMMENT |
| LOW | …ckages/taro-plugin-react-devtools/src/backend/index.js | 9221 | COMMENT | |
| LOW | …ckages/taro-plugin-react-devtools/src/backend/index.js | 12341 | // earlier than the other. We assume that the sample is longer or the same | COMMENT |
| LOW | …ckages/taro-plugin-react-devtools/src/backend/index.js | 12781 | // Bump protocol version whenever a backwards breaking change is made | COMMENT |
| 169 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/__tests__/bundled/globby/index.js | 842 | function replacePathSegmentSeparator(filepath, separator) { | CODE |
| LOW | tests/__tests__/bundled/globby/index.js | 2234 | function getNegativePatternsAsPositive(patterns, ignore) { | CODE |
| LOW | tests/__tests__/bundled/globby/index.js | 2240 | function groupPatternsByBaseDirectory(patterns) { | CODE |
| LOW | tests/__tests__/bundled/globby/index.js | 2254 | function convertPatternGroupsToTasks(positive, negative, dynamic) { | CODE |
| LOW | tests/__tests__/bundled/globby/index.js | 2260 | function convertPatternGroupToTask(base, positive, negative, dynamic) { | CODE |
| LOW | tests/__tests__/bundled/globby/index.js | 3234 | function convertWindowsPathToPattern(filepath) { | CODE |
| LOW | tests/__tests__/bundled/globby/index.js | 3240 | function convertPosixPathToPattern(filepath) { | CODE |
| LOW | tests/__tests__/bundled/globby/index.js | 3348 | function getPatternsInsideCurrentDirectory(patterns) { | CODE |
| LOW | tests/__tests__/bundled/globby/index.js | 3359 | function getPatternsOutsideCurrentDirectory(patterns) { | CODE |
| LOW | tests/__tests__/bundled/globby/index.js | 3363 | function isPatternRelatedToParentDirectory(pattern) { | CODE |
| LOW | tests/__tests__/bundled/globby/index.js | 3379 | function isAffectDepthOfReadingPattern(pattern) { | CODE |
| LOW | tests/__tests__/bundled/globby/index.js | 3384 | function expandPatternsWithBraceExpansion(patterns) { | CODE |
| LOW | tests/__tests__/bundled/globby/index.js | 3443 | function partitionAbsoluteAndRelative(patterns) { | CODE |
| LOW | tests/__tests__/bundled/globby/index.js | 3486 | function propagateCloseEventToSources(streams) { | CODE |
| LOW | …bel-plugin-transform-solid-jsx/src/shared/component.js | 15 | function convertComponentIdentifier(node) { | CODE |
| LOW | …bel-plugin-transform-solid-jsx/src/shared/component.js | 217 | function transformComponentChildren(children, config) { | CODE |
| LOW | …abel-plugin-transform-solid-jsx/src/shared/fragment.js | 7 | export default function transformFragmentChildren(children, results, config) { | CODE |
| LOW | …es/babel-plugin-transform-solid-jsx/src/dom/element.js | 222 | function detectResolvableEventHandler(attribute, handler) { | CODE |
| LOW | packages/taro-framework-vue3/src/webpack.harmony.ts | 9 | export function modifyHarmonyWebpackChain (ctx: IPluginContext, chain, data, config: IConfig) { | CODE |
| LOW | packages/taro-framework-vue3/src/utils.ts | 98 | export function getHarmonyVueLoaderOptions (ctx: IPluginContext, componentConfig, config: IConfig) { | CODE |
| LOW | …ages/taro-framework-vue3/src/runtime/connect-native.ts | 152 | export function createNativeComponentConfig (component, h: typeof createElement, componentConfig) { | CODE |
| LOW | packages/taro-runtime/src/dom-external/element.ts | 6 | export function getBoundingClientRectImpl (this: TaroElement): Promise<null> { | CODE |
| LOW | packages/taro-runtime/src/dom/nearest-ctx.ts | 47 | export function bumpNearestCtxEpochForRoot (root: TaroRootElement | null | undefined): void { | CODE |
| LOW | packages/taro-runtime/src/dom/dataset.ts | 36 | export function copyDatasetAttributeOrder (source: TaroElement, target: TaroElement) { | CODE |
| LOW | packages/taro-runtime/src/polyfill/array.ts | 30 | export function handleArrayIncludesPolyfill () { | CODE |
| LOW | …ges/taro-runtime/src/polyfill/intersection-observer.ts | 6 | export function handleIntersectionObserverPolyfill () { | CODE |
| LOW | …ges/taro-runtime/src/polyfill/intersection-observer.ts | 28 | function handleIntersectionObserverObjectPolyfill () { | CODE |
| LOW | …ges/taro-runtime/src/polyfill/intersection-observer.ts | 45 | function IntersectionObserverEntry (entry: IntersectionObserverEntryInit) { | CODE |
| LOW | packages/taro-runtime/src/polyfill/object.ts | 3 | export function handleObjectAssignPolyfill () { | CODE |
| LOW | packages/taro-runtime/src/polyfill/object.ts | 30 | export function handleObjectEntriesPolyfill () { | CODE |
| LOW | packages/taro-runtime/src/polyfill/object.ts | 53 | export function handleObjectDefinePropertyPolyfill () { | CODE |
| LOW | packages/taro-runtime/src/dsl/common.ts | 370 | export function createRecursiveComponentConfig ( | CODE |
| LOW | …ckages/taro-vite-runner/src/harmony/postcss/compile.ts | 341 | function combineSourcemapsIfExists( | CODE |
| LOW | packages/taro-vite-runner/src/harmony/postcss/build.ts | 57 | export function createToImportMetaURLBasedRelativeRuntime( | CODE |
| LOW | packages/taro-vite-runner/src/harmony/postcss/build.ts | 70 | function toOutputFilePathWithoutRuntime( | CODE |
| LOW | packages/taro-vite-runner/src/utils/createFilter.ts | 81 | export function createFilterWithCompileOptions(compile: { | CODE |
| LOW | packages/taro-vite-runner/src/utils/index.ts | 78 | export function appendVirtualModulePrefix (id: string): string { | CODE |
| LOW | …ner/src/common/babel-plugin-import-native-component.ts | 12 | return function pluginImportNativeComponent (babel: typeof BabelCore): BabelCore.PluginObj<BabelCore.PluginPass> { | CODE |
| LOW | packages/taro-components-advanced/src/utils/helper.ts | 5 | export function getOffsetForIndexAndAlignment ({ | CODE |
| LOW | …ced/src/components/water-flow/water-flow-node-cache.ts | 29 | export function createWaterFlowNodeCacheControl ( | CODE |
| LOW | …nents-advanced/src/components/water-flow/water-flow.ts | 41 | function pickControlledScrollOffset (value: unknown): number | undefined { | CODE |
| LOW | …taro-components-advanced/src/components/list/index.tsx | 131 | function resolveScrollTargetOffset( | CODE |
| LOW | …/taro-components-advanced/src/components/list/utils.ts | 15 | export function createSelectorQueryForRef ( | CODE |
| LOW | …/taro-components-advanced/src/components/list/utils.ts | 29 | export function getIntersectionObserverScopeForRef ( | CODE |
| LOW | …rc/components/list/hooks/useListScrollElementAttach.ts | 17 | export function useListScrollElementAttach( | CODE |
| LOW | …ts-advanced/src/components/list/hooks/useRefresher.tsx | 45 | function resolveTaroMeasureElement (ref: React.RefObject<any>): HTMLElement | null { | CODE |
| LOW | …mponents/list/hooks/useListScrollElementAttachWeapp.ts | 18 | export function useListScrollElementAttachWeapp( | CODE |
| LOW | …rc/components/list/hooks/useMeasureStartOffsetWeapp.ts | 18 | export function useMeasureStartOffsetWeapp( | CODE |
| LOW | packages/taro-rn/src/lib/deviceMotion.ts | 34 | function startDeviceMotionListening (object: Taro.startDeviceMotionListening.Option = {}): Promise<TaroGeneral.CallbackR | CODE |
| LOW | packages/taro-rn/src/lib/deviceMotion.ts | 60 | function stopDeviceMotionListening (object: Taro.stopDeviceMotionListening.Option = {}): Promise<TaroGeneral.CallbackRes | CODE |
| LOW | packages/taro-rn/src/lib/request/index.ts | 11 | function generateRequestUrlWithParams(url, params) { | CODE |
| LOW | …ugin-transform-react-jsx-to-rn-stylesheet/src/index.ts | 174 | function getArrayExpressionFromObjectProperty (value) { | CODE |
| LOW | packages/taro-cli-convertor/__tests__/util.ts | 5 | export function generateMinimalEscapeCode (ast: t.File) { | CODE |
| LOW | packages/taro-cli-convertor/src/util/index.ts | 560 | export function replacePluginComponentUrl (pluginComponentPath, pluginInfo) { | CODE |
| LOW | packages/taro-cli-convertor/src/util/astConvert.ts | 6 | export function generateMinimalEscapeCode (ast: t.File) { | CODE |
| LOW | packages/taro-framework-solid/src/webpack.harmony.ts | 6 | export function modifyHarmonyWebpackChain (chain) { | CODE |
| LOW | packages/taro-runner-utils/src/vite.ts | 14 | export async function getViteHarmonyCompilerContext (rollupPluginContext: PluginContext): Promise<ViteHarmonyCompilerCon | CODE |
| LOW | packages/taro-runner-utils/src/vite.ts | 22 | export function getViteMiniCompilerContext (rollupPluginContext: PluginContext): ViteMiniCompilerContext | void { | CODE |
| LOW | packages/taro-router/types/component.d.ts | 7 | export function defineCustomElementTaroTabbar() {} | CODE |
| LOW | packages/taro-helper/src/utils.ts | 303 | export function getNpmPackageAbsolutePath (npmPath: string, defaultFile = 'index'): string | null { | CODE |
| 163 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …es/babel-plugin-transform-solid-jsx/src/ssr/element.js | 193 | existingAttribute.node.value.expression.properties.push(...properties) | CODE |
| CRITICAL | …es/babel-plugin-transform-solid-jsx/src/dom/element.js | 274 | !a.node.value.expression.properties.some((p) => t.isSpreadElement(p)) | CODE |
| CRITICAL | …es/babel-plugin-transform-solid-jsx/src/dom/element.js | 279 | styleAttribute.node.value.expression.properties.slice().forEach((p, index) => { | CODE |
| CRITICAL | …es/babel-plugin-transform-solid-jsx/src/dom/element.js | 295 | styleAttribute.node.value.expression.properties.splice(index - i - 1, 1) | CODE |
| CRITICAL | …es/babel-plugin-transform-solid-jsx/src/dom/element.js | 311 | !a.node.value.expression.properties.some( | CODE |
| CRITICAL | packages/taro-transformer-wx/src/class.ts | 190 | const _constructor = this.classPath.node.body.body.find((item) => { | CODE |
| CRITICAL | packages/taro-transformer-wx/src/class.ts | 226 | this.classPath.node.body.body.push($$componentPath) | CODE |
| CRITICAL | packages/taro-transformer-wx/src/class.ts | 1077 | this.classPath.node.body.body = this.classPath.node.body.body.concat(method) | CODE |
| CRITICAL | packages/taro-transformer-wx/src/class.ts | 1101 | this.classPath.node.body.body.push( | CODE |
| CRITICAL | packages/taro-transformer-wx/src/class.ts | 1252 | this.classPath.node.body.body = this.classPath.node.body.body.filter((m) => { | CODE |
| CRITICAL | packages/taro-transformer-wx/src/utils.ts | 293 | p.node.left.property.name.startsWith('')) | CODE |
| CRITICAL | packages/taro-transformer-wx/src/render.ts | 638 | this.renderPath.node.body.body.unshift( | CODE |
| CRITICAL | packages/taro-transformer-wx/src/render.ts | 1458 | this.renderPath.node.body.body.unshift(dcl) | CODE |
| CRITICAL | packages/taro-transformer-wx/src/render.ts | 2296 | this.renderPath.node.body.body.unshift(scopeDecl) | CODE |
| CRITICAL | packages/taro-transformer-wx/src/render.ts | 2310 | this.renderPath.node.body.body.push(decl) | CODE |
| CRITICAL | packages/taro-transformer-wx/src/render.ts | 2542 | this.renderPath.node.body.body.unshift(...Array.from(this.genCompidExprs)) | CODE |
| CRITICAL | packages/taro-transformer-wx/src/render.ts | 2545 | this.renderPath.node.body.body.push( | CODE |
| CRITICAL | packages/taro-transformer-wx/src/render.ts | 2557 | this.renderPath.node.body.body = this.renderPath.node.body.body.concat( | CODE |
| CRITICAL | packages/taro-transformer-wx/src/render.ts | 2569 | this.renderPath.node.body.body.push( | CODE |
| CRITICAL | packages/taro-transformer-wx/src/render.ts | 2632 | this.renderPath.node.body.body.unshift( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …nced/src/components/virtual-waterfall/vue/waterfall.ts | 285 | getRenderItemNode (itemIndex: number, type: 'node' | 'placeholder' = 'node') { | CODE |
| LOW | …nced/src/components/virtual-waterfall/vue/waterfall.ts | 291 | if (type === 'placeholder') { | CODE |
| LOW | …nced/src/components/virtual-waterfall/vue/waterfall.ts | 354 | items.push(this.getRenderItemNode(itemIndex, 'placeholder')) | CODE |
| LOW | …ed/src/components/virtual-waterfall/react/waterfall.ts | 275 | getRenderItemNode (itemIndex: number, type: 'node' | 'placeholder' = 'node') { | CODE |
| LOW | …ed/src/components/virtual-waterfall/react/waterfall.ts | 281 | if (type === 'placeholder') { | CODE |
| LOW | …ed/src/components/virtual-waterfall/react/waterfall.ts | 344 | items.push(this.getRenderItemNode(itemIndex, 'placeholder')) | CODE |
| LOW | …nents-advanced/src/components/virtual-list/vue/list.ts | 354 | getRenderItemNode (index: number, type: 'node' | 'placeholder' = 'node') { | CODE |
| LOW | …nents-advanced/src/components/virtual-list/vue/list.ts | 360 | if (type === 'placeholder') { | CODE |
| LOW | …nents-advanced/src/components/virtual-list/vue/list.ts | 430 | items.push(this.getRenderItemNode(itemIndex, 'placeholder')) | CODE |
| LOW | …nts-advanced/src/components/virtual-list/react/list.ts | 382 | getRenderItemNode (index: number, type: 'node' | 'placeholder' = 'node') { | CODE |
| LOW | …nts-advanced/src/components/virtual-list/react/list.ts | 388 | if (type === 'placeholder') { | CODE |
| LOW | …nts-advanced/src/components/virtual-list/react/list.ts | 458 | items.push(this.getRenderItemNode(itemIndex, 'placeholder')) | CODE |
| LOW | …s/taro-components-react/src/components/input/index.tsx | 300 | 'placeholder', | CODE |
| LOW | …ages/taro-components-rn/src/components/Input/index.tsx | 220 | 'placeholder', | CODE |
| LOW | …ckages/taro-components-rn/src/__tests__/input.spec.tsx | 10 | const { getByPlaceholderText } = render(<Input onKeyDown={onKeyDown} placeholder="placeholder" />) | CODE |
| LOW | …ckages/taro-components-rn/src/__tests__/input.spec.tsx | 11 | fireEvent(getByPlaceholderText('placeholder'), 'KeyPress', { nativeEvent: { key: 'Enter' } }) | CODE |
| LOW | …ckages/taro-components-rn/src/__tests__/input.spec.tsx | 34 | const { getByPlaceholderText } = render(<Input onChange={onChange} value={'default text'} placeholder="placeholder | CODE |
| LOW | …ckages/taro-components-rn/src/__tests__/input.spec.tsx | 35 | const input = getByPlaceholderText('placeholder') | CODE |
| LOW | packages/taro-components/types/Editor.d.ts | 114 | * <editor id="editor" class="editor" :placeholder="placeholder" `@ready="editorReady"></editor> | COMMENT |
| LOW | packages/taro-components/types/ShareElement.d.ts | 164 | * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus nisl enim, sodales non augue efficitur | COMMENT |
| LOW | packages/taro-components/types/ShareElement.d.ts | 164 | * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus nisl enim, sodales non augue efficitur | COMMENT |
| LOW⚡ | packages/taro-components/__tests__/textarea.e2e.ts | 17 | expect(textarea.getAttribute('placeholder')).toBeNull() | CODE |
| LOW⚡ | packages/taro-components/__tests__/textarea.e2e.ts | 27 | el.setProperty('placeholder', placeholder) | CODE |
| LOW⚡ | packages/taro-components/__tests__/textarea.e2e.ts | 34 | expect(textarea.getAttribute('placeholder')).toEqual(placeholder) | CODE |
| LOW | packages/taro-components/__tests__/input.spec.tsx | 13 | const placeholder = 'placeholder' | CODE |
| LOW | packages/taro-components/__tests__/input.spec.tsx | 35 | expect(input?.getAttribute('placeholder')).toEqual(placeholder) | CODE |
| LOW | …n-transform-taroapi/tests/__mocks__/h5-definition.json | 2204 | "placeholder": "string", | CODE |
| LOW | …n-transform-taroapi/tests/__mocks__/h5-definition.json | 2431 | "placeholder": "string", | CODE |
| LOW | …nsform-taroapi/tests/__mocks__/harmony-definition.json | 2242 | "placeholder": "", | CODE |
| LOW | …nsform-taroapi/tests/__mocks__/harmony-definition.json | 2322 | "placeholder": "", | CODE |
| LOW | …nsform-taroapi/tests/__mocks__/harmony-definition.json | 2841 | "placeholder": "", | CODE |
| LOW | packages/taro-platform-h5/definition/definition.json | 2201 | "placeholder": "string", | CODE |
| LOW | packages/taro-platform-h5/definition/definition.json | 2393 | "placeholder": "string", | CODE |
| LOW | …ny/src/components/components-harmony/textarea/index.js | 17 | 'placeholder', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/external-prebundle/config/webpack.config.js | 751 | // Turn off performance processing because we utilize | COMMENT |
| MEDIUM | packages/eslint-config-taro/index.js | 33 | // TypeScript's `noFallthroughCasesInSwitch` option is more robust (#6906) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …components-library-vue3/src/vue-component-lib/utils.ts | 22 | * we need to check if the key exists for Vue <3.1.0 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/taro-cli-convertor/__tests__/convertor.test.ts | 258 | function getData(url) { | CODE |
| LOW | …ckages/taro-plugin-react-devtools/src/backend/index.js | 14100 | function getData(internalInstance) { | CODE |